]> sourceware.org Git - glibc.git/blame - ChangeLog
Only defined DEV_BSIZE if not already defined.
[glibc.git] / ChangeLog
CommitLineData
ba853947
AJ
12013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2
3 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4
8347c74c
RM
52013-05-07 Roland McGrath <roland@hack.frob.com>
6
7 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8 and _dl_skip_args_internal.
9
e8dd4791
CD
102013-05-07 Carlos O'Donell <carlos@redhat.com>
11
12 * manual/message.texi (Message Translation): Talk about users.
13 Message to key mapping impacts design.
14
c7405830
RM
152013-05-06 Roland McGrath <roland@hack.frob.com>
16
a9173057
RM
17 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18
976e2f03
RM
19 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20
9723ffc5
RM
21 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22 * sysdeps/wordsize-64/glob64.c: ... here.
23
962e6658
RM
24 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26 New macros.
27
ee586a6d
RM
28 * debug/getlogin_r_chk.c: Moved to ...
29 * login/getlogin_r_chk.c: ... here.
30 * debug/Makefile (routines): Move getlogin_r_chk to ...
31 * login/Makefile (routines): ... here.
32 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33 * login/Versions (libc: GLIBC_2.4): ... here.
34
355f9165
RM
35 * io/poll.c (__poll): Renamed from poll.
36 Add libc_hidden_def.
37 (poll): Define as weak alias.
38
bd9ffde6
RM
39 * debug/ptsname_r_chk.c: Moved to ...
40 * login/ptsname_r_chk.c: ... here.
41 * debug/Makefile (routines): Move ptsname_r_chk to ...
42 * login/Makefile (routines): ... here.
43 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44 * login/Versions (libc: GLIBC_2.4): ... here.
45
8fb16a04
RM
46 * posix/getlogin.c: Moved to ...
47 * login/getlogin.c: ... here.
48 * posix/getlogin_r.c: Moved to ...
49 * login/getlogin_r.c: ... here.
50 * posix/getlogin_r.c: Moved to ...
51 * login/getlogin_r.c: ... here.
52 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53 * login/Makefile (routines): ... here.
54 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55 * login/Versions (libc: GLIBC_2.0): ... here.
56
b99b892f
RM
57 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
58 (setrlimit): Define as weak alias.
59
c7405830
RM
60 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61 Call __ names for open, ftruncate, and close.
62 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63 (truncate): Define as weak alias.
64
5bf96de5
JM
652013-05-06 Joseph Myers <joseph@codesourcery.com>
66
9ea3513c
JM
67 * math/gen-libm-test.pl (parse_args): Initialize x before each
68 test of frexp, modf and remquo.
69
5bf96de5
JM
70 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
71 test signgam value.
72
16e616a7
AZ
732013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74
75 [BZ #15418]
76 [BZ #15419]
77 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
78 internal tests.
79 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80
d5e82754
RM
812013-05-06 Roland McGrath <roland@hack.frob.com>
82
83 * elf/dl-writev.h: New file.
84 * elf/dl-misc.c: Include it.
85 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
86 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
87
a7548d41
JM
882013-05-04 Joseph Myers <joseph@codesourcery.com>
89
b7dab1e4
JM
90 * math/libm-test.inc (noXFails): Remove variable.
91 (noXPasses): Likewise.
92 (BUILD_COMPLEX_INT): Remove macro.
93 (print_screen): Remove xfail argument.
94 (print_screen_max_error): Likewise.
95 (update_stats): Likewise.
96 (print_max_error): Likewise. Update calls to other affected
97 functions.
98 (print_complex_max_error): Likewise.
99 (test_single_exception): Update calls to print_screen.
100 (test_single_errno): Likewise.
101 (check_float_internal): Remove xfail argument. Update calls to
102 other affected functions.
103 (check_float): Likewise.
104 (check_complex): Likewise.
105 (check_int): Likewise.
106 (check_long): Likewise.
107 (check_bool): Likewise.
108 (check_longlong): Likewise.
109 (main): Don't print noXFails and noXPasses.
110 * math/gen-libm-test.pl (top level): Don't mention expected
111 failure handling in comment.
112 (new_test): Don't handle expected failures.
113 (parse_args): Don't mention expected failure handling in comment.
114 (generate_testfile): Don't handle expected failures.
115 (parse_ulps): Likewise.
116 (print_ulps_file): Likewise.
117 (get_failure): Remove function.
118 (output_test): Don't handle expected failures.
119 * make/README.libm-test: Don't mention expected failure handling.
120
a7548d41
JM
121 * math/libm-test.inc (plus_zero): Make const. Add initializer.
122 (minus_zero): Likewise.
123 (plus_infty): Likewise.
124 (minus_infty): Likewise.
125 (qnan_value): Likewise.
126 (max_value): Likewise.
127 (min_value): Likewise.
128 (min_subnorm_value): Likewise.
129 (initialize): Do not initialize those variables dynamically.
130
60bfd54c
RM
1312013-05-03 Roland McGrath <roland@hack.frob.com>
132
cc0e6ed8
RM
133 * io/open.c (__open_2): Moved to ...
134 * io/open_2.c: ... this new file.
135 * io/open64.c (__open64_2): Moved to ...
136 * io/open64_2.c: ... this new file.
137 * io/openat.c (__openat_2): Moved to ...
138 * io/openat_2.c: ... this new file.
139 * io/openat64.c (__openat64_2): Moved to ...
140 * io/openat64_2.c: ... this new file.
141 * io/Makefile (routines): Add them.
142 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
143 * sysdeps/unix/sysv/linux/open_2.c: File removed.
144 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
145 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
146 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
147 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
148 (__openat64): Add hidden_ver.
149 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
150 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
151
60bfd54c
RM
152 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
153 Separately conditionalize setting of GLRO(dl_sysinfo) so
154 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
155 as well, but the actual setting is only under [NEED_DL_SYSINFO].
156
83e7640f
AZ
1572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
161 definition.
162 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
163 * sysdeps/unix/sysv/linux/powerpc/init-first.c
164 (_libc_vdso_platform_setup): Add __vdso_time initialization.
165 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
166 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
167
d5dc2af3
JM
1682013-05-03 Joseph Myers <joseph@codesourcery.com>
169
c31a5b1e
JM
170 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
171 test signgam value.
172
d5dc2af3
JM
173 * math/libm-test.inc (hypot_test): Do not use
174 IGNORE_ZERO_INF_SIGN.
175
164fd39d
AJ
1762013-05-03 Andreas Jaeger <aj@suse.de>
177
178 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
179 Linux 3.9.
180 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
181 (PF_MAX): Adjust for VSOCK change.
182
8237f48c
AZ
1832013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184
185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
186
9df02941
CD
1872013-05-02 Carlos O'Donell <carlos@redhat.com>
188
189 [BZ #15264]
190 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
191 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
192 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
193
d422395e
DM
1942013-05-02 David S. Miller <davem@davemloft.net>
195
196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
197
a07c5731
OB
1982013-05-01 Ondřej Bílka <neleai@seznam.cz>
199
200 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
201
1324e37f
RM
2022013-05-01 Roland McGrath <roland@hack.frob.com>
203
204 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
205
0695940b
RS
2062013-05-01 Richard Smith <richard@metafoo.co.uk>
207
bb5f27ad 208 [BZ #14952]
0695940b
RS
209 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
210 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
211 Use __attribute__ ((__gnu_inline__)).
212 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
213 Don't use __attribute__ ((__gnu_inline__)).
214
10de07f5
JM
2152013-05-01 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #15423]
218 * math/s_catan.c (__catan): Handle small real or imaginary part of
219 input specially to avoid spurious underflow.
220 * math/s_catanf.c (__catanf): Likewise.
221 * math/s_catanh.c (__catanh): Likewise.
222 * math/s_catanhf.c (__catanhf): Likewise.
223 * math/s_catanhl.c (__catanhl): Likewise.
224 * math/s_catanl.c (__catanl): Likewise.
225 * math/libm-test.inc (catan_test): Add more tests.
226 (catanh_test): Likewise.
227 * sysdeps/i386/fpu/libm-test-ulps: Update.
228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229
cb4d5414
AZ
2302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231
232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
233
caf84319
JM
2342013-04-30 Joseph Myers <joseph@codesourcery.com>
235
236 [BZ #15416]
237 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
238 accurately for denominator in atan2.
239 * math/s_catanf.c (__catanf): Likewise.
240 * math/s_catanh.c (__catanh): Likewise.
241 * math/s_catanhf.c (__catanhf): Likewise.
242 * math/s_catanhl.c (__catanhl): Likewise.
243 * math/s_catanl.c (__catanl): Likewise.
244 * math/libm-test.inc (catan_test): Add more tests.
245 (catanh_test): Likewise.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248
d569c6ee
SP
2492013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
250
6dbe713d
SP
251 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
252
f0ee064b
SP
253 * benchtests/Makefile (bench): Remove slow benchmarks.
254 * benchtests/atan-inputs: Add slow benchmark inputs.
255 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
256 (BENCH_FUNC): Accept variant offset.
257 (VARIANT): Define.
258 * benchtests/bench-skeleton.c (main): Run benchmark for each
259 variant.
260 * benchtests/cos-inputs: Add slow benchmark inputs.
261 * benchtests/exp-inputs: Likewise.
262 * benchtests/pow-inputs: Likewise.
263 * benchtests/sin-inputs: Likewise.
264 * benchtests/slowatan-inputs: Remove.
265 * benchtests/slowatan.c: Remove.
266 * benchtests/slowcos-inputs: Remove.
267 * benchtests/slowcos.c: Remove.
268 * benchtests/slowexp-inputs: Remove.
269 * benchtests/slowexp.c: Remove.
270 * benchtests/slowpow-inputs: Remove.
271 * benchtests/slowpow.c: Remove.
272 * benchtests/slowsin-inputs: Remove.
273 * benchtests/slowsin.c: Remove.
274 * benchtests/slowtan-inputs: Remove.
275 * benchtests/slowtan.c: Remove.
276 * benchtests/tan-inputs: Add slow benchmark inputs.
277 * scripts/bench.pl: Parse comments and directives.
278
d569c6ee
SP
279 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
280 in CPPFLAGS.
281 ($(objpfx)bench-%.c): Remove *-ITER.
282 * benchtests/bench-modf.c: Remove definition of ITER.
283 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
284 (main): Loop for DURATION seconds instead of fixed number of
285 iterations.
286 * scripts/bench.pl: Don't expect iterations in parameters.
287
a6a242fe
RM
2882013-04-29 Roland McGrath <roland@hack.frob.com>
289
290 * io/fchdir.c (__fchdir): Renamed from fchdir.
291 (fchdir): Define as weak alias.
292
f2da7793
JM
2932013-04-29 Joseph Myers <joseph@codesourcery.com>
294
295 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
296 (ERRNO_EDOM): Likewise.
297 (ERRNO_ERANGE): Likewise.
298 (noErrnoTests): New variable.
299 (init_max_error): Set errno to 0.
300 (test_single_errno): New function.
301 (test_errno): Likewise.
302 (check_float_internal): Call test_errno. Set errno to 0.
303 (check_complex): Refer to errno tests in comment.
304 (check_int): Call test_errno. Set errno to 0.
305 (check_long): Likewise.
306 (check_bool): Likewise.
307 (check_longlong): Likewise.
308 (cos_test): Use ERRNO_* flags for errno tests instead of
309 check_int.
310 (expm1_test): Likewise.
311 (fmod_test): Likewise.
312 (ilogb_test): Likewise.
313 (lgamma_test): Likewise.
314 (pow_test): Likewise.
315 (remainder_test): Likewise.
316 (sin_test): Likewise.
317 (tan_test): Likewise.
318 (yn_test): Likewise.
319 (initialize): Set errno to 0.
320 (main): Print number of errno tests.
321 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
322
b1a36ceb
AJ
3232013-04-29 Andreas Jaeger <aj@suse.de>
324
c3ed8088
AJ
325 [BZ #15084]
326 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
327 and RES_USEVC.
328
f1a24198
AJ
329 [BZ #15085]
330 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
331 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
332 unimplemented.
333
9ce3b2cb
AJ
334 [BZ #15380]
335 * stdlib/random.c (__initstate): Return NULL if
336 __initstate fails.
337
f1a24198 338 [BZ #15086]
b1a36ceb
AJ
339 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
340 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
341 RES_SNGLKUPREOP.
342
7e7b6f36
AZ
3432013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
344
345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
346
4d14f449
JM
3472013-04-29 Joseph Myers <joseph@codesourcery.com>
348
349 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
350 of individual tests.
351 (casin_test): Likewise.
352 (casinh_test): Likewise.
353
5b4217d7
JM
3542013-04-27 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #15409]
357 * math/s_catan.c (__catan): Handle arguments with large real or
358 imaginary part separately without squaring.
359 * math/s_catanf.c (__catanf): Likewise.
360 * math/s_catanh.c (__catanh): Likewise.
361 * math/s_catanhf.c (__catanhf): Likewise.
362 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
363 and redefine.
364 (__catanhl): Handle arguments with large real or imaginary part
365 separately without squaring.
366 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
367 and redefine.
368 (__catanl): Handle arguments with large real or imaginary part
369 separately without squaring.
370 * math/libm-test.inc (catan_test): Add more tests.
371 (catanh_test): Likewise.
372 * sysdeps/i386/fpu/libm-test-ulps: Update.
373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
374
4220c3ef
AJ
3752013-04-27 Andreas Jaeger <aj@suse.de>
376
377 [BZ #15007]
378 * stdlib/stdlib.h: Update guards for qecvt.
379 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
380 <stdlib.h>.
381
4721b2d1
AM
3822013-04-27 Allan McRae <allan@archlinux.org>
383
384 * sysdeps/i386/fpu/libm-test-ulps: Update.
385
f0302940
JM
3862013-04-26 Joseph Myers <joseph@codesourcery.com>
387
9457fd95
JM
388 [BZ #15406]
389 * math/s_catan.c: Include <float.h>.
390 (__catan): Ensure underflow exception occurs for underflowed
391 result.
392 * math/s_catanf.c: Include <float.h>.
393 (__catanf): Ensure underflow exception occurs for underflowed
394 result.
395 * math/s_catanh.c: Include <float.h>.
396 (__catanh): Ensure underflow exception occurs for underflowed
397 result.
398 * math/s_catanhf.c: Include <float.h>.
399 (__catanhf): Ensure underflow exception occurs for underflowed
400 result.
401 * math/s_catanhl.c: Include <float.h>.
402 (__catanhl): Ensure underflow exception occurs for underflowed
403 result.
404 * math/s_catanl.c: Include <float.h>.
405 (__catanl): Ensure underflow exception occurs for underflowed
406 result.
407 * math/libm-test.inc (catan_test): Add more tests.
408 (catanh_test): Likewise.
409
f0302940
JM
410 [BZ #15405]
411 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
412 underflowed result.
413 * math/s_ccoshf.c (__ccoshf): Likewise.
414 * math/s_ccoshl.c (__ccoshl): Likewise.
415 * math/s_csin.c (__csin): Likewise.
416 * math/s_csinf.c (__csinf): Likewise.
417 * math/s_csinh.c (__csinh): Likewise.
418 * math/s_csinhf.c (__csinhf): Likewise.
419 * math/s_csinhl.c (__csinhl): Likewise.
420 * math/s_csinl.c (__csinl): Likewise.
421 * math/libm-test.inc (ccos_test): Add more tests.
422 (ccosh_test): Likewise.
423 (csin_test): Likewise.
424 (csinh_test): Likewise.
425
aa630f59
AZ
4262013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427
428 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
429 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
430 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
431 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
432 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
433 powerpc/power5+/fpu folders.
434 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
435
436
1b835983
MT
4372013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
438
439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
440
73709b26
JM
4412013-04-25 Joseph Myers <joseph@codesourcery.com>
442
443 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
444 additions to variable.
445 [$(config-machine) = x86_64] (modules-names): Likewise.
446 ($(objpfx)tst-audit3): Remove dependency.
447 ($(objpfx)tst-audit3.out): Likewise.
448 ($(objpfx)tst-audit4): Likewise.
449 ($(objpfx)tst-audit4.out): Likewise.
450 ($(objpfx)tst-audit5): Likewise.
451 ($(objpfx)tst-audit5.out): Likewise.
452 ($(objpfx)tst-audit6): Likewise.
453 ($(objpfx)tst-audit6.out): Likewise.
454 ($(objpfx)tst-audit7): Likewise.
455 ($(objpfx)tst-audit7.out): Likewise.
456 (tst-audit3-ENV): Remove variable.
457 (tst-audit4-ENV): Likewise.
458 (tst-audit5-ENV): Likewise.
459 (tst-audit6-ENV): Likewise.
460 (tst-audit7-ENV): Likewise.
461 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
462 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
463 addition to variable.
464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
465 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
466 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
467 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
468 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
469 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
470 tst-audit3, tst-audit4 and tst-audit5.
471 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
472 tst-audit6 and tst-audit7.
473 [$(subdir) = elf] (modules-names): Add audit modules for those
474 tests.
475 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
476 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
477 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
478 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
479 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
480 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
481 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
482 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
483 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
484 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
485 [$(subdir) = elf] (tst-audit3-ENV): New variable.
486 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
487 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
488 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
489 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
490 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
491 Likewise.
492 [$(subdir) = elf && $(config-cflags-avx) = yes]
493 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
494 [$(subdir) = elf && $(config-cflags-avx) = yes]
495 (CFLAGS-tst-auditmod4a.c): Likewise.
496 [$(subdir) = elf && $(config-cflags-avx) = yes]
497 (CFLAGS-tst-auditmod4b.c): Likewise.
498 [$(subdir) = elf && $(config-cflags-avx) = yes]
499 (CFLAGS-tst-auditmod6b.c): Likewise.
500 [$(subdir) = elf && $(config-cflags-avx) = yes]
501 (CFLAGS-tst-auditmod6c.c): Likewise.
502 [$(subdir) = elf && $(config-cflags-avx) = yes]
503 (CFLAGS-tst-auditmod7b.c): Likewise.
504 * elf/tst-audit3.c: Move to ...
505 * sysdeps/x86_64/tst-audit3.c: ... here.
506 * elf/tst-audit4.c: Move to ...
507 * sysdeps/x86_64/tst-audit4.c: ... here.
508 * elf/tst-audit5.c: Move to ...
509 * sysdeps/x86_64/tst-audit5.c: ... here.
510 * elf/tst-audit6.c: Move to ...
511 * sysdeps/x86_64/tst-audit6.c: ... here.
512 * elf/tst-audit7.c: Move to ...
513 * sysdeps/x86_64/tst-audit7.c: ... here.
514 * elf/tst-auditmod3a.c: Move to ...
515 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
516 * elf/tst-auditmod3b.c: Move to ...
517 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
518 * elf/tst-auditmod4a.c: Move to ...
519 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
520 * elf/tst-auditmod4b.c: Move to ...
521 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
522 * elf/tst-auditmod5a.c: Move to ...
523 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
524 * elf/tst-auditmod5b.c: Move to ...
525 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
526 * elf/tst-auditmod6a.c: Move to ...
527 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
528 * elf/tst-auditmod6b.c: Move to ...
529 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
530 * elf/tst-auditmod6c.c: Move to ...
531 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
532 * elf/tst-auditmod7a.c: Move to ...
533 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
534 * elf/tst-auditmod7b.c: Move to ...
535 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
536
1ef74943
PP
5372013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
538
539 [BZ #15366]
540 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
541 define unconditionally.
542 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
543 define unconditionally.
544 (INT8_C, INT16_C, etc.): Likewise.
545
93fd48c5
MR
5462013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
547
ae9552cf
MR
548 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
549 __ehdr_start with hidden visibility.
550
93fd48c5
MR
551 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
552
418601aa
CD
5532013-04-24 Carlos O'Donell <carlos@redhat.com>
554
555 * math/libm-test.inc (cos_test): Use accurate hex constants.
556 (sincost_test): Likewise.
557
2f38fbfe
JM
5582013-04-24 Joseph Myers <joseph@codesourcery.com>
559
5e221800
JM
560 * math/libm-test.inc (catan_test): Add more tests.
561 (catanh_test): Likewise.
562
77f143fd
JM
563 * math/s_catanf.c (__catanf): Use suffixed floating-point
564 constants.
565 * math/s_catanhf.c (__catanhf): Likewise.
566 * math/s_catanhl.c (__catanhl): Likewise.
567 * math/s_catanl.c (__catanl): Likewise.
568
2f38fbfe
JM
569 [BZ #15394]
570 * math/s_catan.c (__catan): Calculate imaginary part of result
571 with log1p not log unless computing log of number close to 0.
572 * math/s_catanf.c (__catanf): Likewise.
573 * math/s_catanl.c (__catanl): Likewise.
574 * math/s_catanh.c (__catanh): Calculate real part of result with
575 log1p not log unless computing log of number close to 0.
576 * math/s_catanhf.c (__catanhf): Likewise.
577 * math/s_catanhl.c (__catanhl): Likewise.
578 * math/libm-test.inc (catan_test): Add more tests.
579 (catanh_test): Likewise.
580 * sysdeps/i386/fpu/libm-test-ulps: Update.
581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
582
45d69176
SP
5832013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
584
585 * benchtests/Makefile: Mention files in which fast and slow
586 paths of math functions are implemented.
587
87f51853
RM
5882013-04-23 Roland McGrath <roland@hack.frob.com>
589
590 * sysdeps/posix/timespec_get.c: New file.
591
3c026539
AZ
5922013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593
594 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
595 POWER.
596 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
597 for POWER.
598 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
599 powerpc/power5/fpu folders.
600 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
601 * benchtests/Makefile: Add modf testcase.
602 * benchtests/bench-modf.c: New file: Benchmark test for mo
603
ff491d14
SP
6042013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
605
606 [BZ #14888]
607 * time/Makefile (tests): Add tst-strptime-whitespace.
608 * time/strptime_l.c (get_number): Use ISSPACE.
609 (__strptime_internal): Likewise.
610 * time/tst-strptime-whitespace.c: New test case.
611
7ed3f4e8
AS
6122013-04-23 Andreas Schwab <schwab@linux-m68k.org>
613
614 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
615 member.
616 (_nss_files_init): Set it here.
617
5c95f7b6
HC
6182013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
619
620 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
621 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
622 unsigned.
623
d34c9158
JBG
6242013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
625
626 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
627
2169712d
SP
6282013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
629
630 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
631 size just once.
632
29c5de99
DM
6332013-04-21 David S. Miller <davem@davemloft.net>
634
635 * po/ru.po: Update Russion translation from translation project.
636
ccdad15d
AC
6372013-04-17 Adam Conrad <adconrad@0c3.net>
638
639 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
640 and setfsgid.
641
0f122b8d
CD
6422013-04-17 Carlos O'Donell <carlos@redhat.com>
643
5c5b07da 644 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 645 * configure: Regenerate.
5c5b07da 646 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
647 Add example to error message.
648 * sysdeps/i386/configure: Regenerate.
649
037714dd
SP
6502013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
651
652 * benchtests/Makefile (bench): Add cos, tan, slowcos and
653 slowtan.
654 * benchtests/cos-inputs: New file.
655 * benchtests/slowcos-inputs: New file.
656 * benchtests/slowcos.c: New file.
657 * benchtests/slowtan-inputs: New file.
658 * benchtests/slowtan.c: New file.
659 * benchtests/tan-inputs: New file.
660
e913141d
RM
6612013-04-16 Roland McGrath <roland@hack.frob.com>
662
663 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
664 considered kosher.
665
a2964074
SP
6662013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
667
4856bcd2
SP
668 * benchtests/Makefile: Include cppflags-iterator.mk to add
669 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
670
a2964074
SP
671 * Makefile.in (bench-clean): New target.
672 * benchtests/Makefile (bench-clean): Likewise.
673
9fbf9aca
DH
6742013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
675
676 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
677
207d1e2a
TS
6782013-04-15 Thomas Schwinge <thomas@codesourcery.com>
679
680 * stdio-common/tstdiomisc.c: Fix coding-style violation.
681
306dfba9
AS
6822013-04-15 Andreas Schwab <schwab@suse.de>
683
684 * nscd/grpcache.c (cache_addgr): Properly check for short write.
685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
686 * nscd/pwdcache.c (cache_addpw): Likewise.
687 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
688 more than recsize.
689
206a6699
SP
6902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
691
692 * benchtests/Makefile (bench): Write all output to
693 bench-out.tmp together.
694
0582f6b3
AS
6952013-04-15 Andreas Schwab <schwab@suse.de>
696
697 * nscd/nscd.c (main): Don't fork again after closing files.
698
acb4325f
SP
6992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
700
5cb26d0a
SP
701 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
702
acb4325f
SP
703 * benchtests/Rules (bench-deps): Collect dependencies into a
704 single variable. Add Makefile to dependencies.
705 ($(objpfx)bench-%.c): Depend on bench-deps.
706
47792506
RM
7072013-04-12 Roland McGrath <roland@hack.frob.com>
708 Xavier Roche <roche+kml2@exalead.com>
709
710 [BZ #15361]
711 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
712 just that it's a file descriptor.
713 * manual/llio.texi (Synchronizing AIO Operations): Update description
714 for EBADF error from aio_fsync.
715
8fc1bee5
SP
7162013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
717
718 * Rules (bench): Move target definition...
719 * benchtests/Makefile: ... here.
720
aba5e333
CD
7212013-04-11 Carlos O'Donell <carlos@redhat.com>
722
723 * math/libm-test.inc (cos_test): Fix PI/2 test.
724 (sincos_test): Likewise.
725 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
726 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
727
273cdee8
AS
7282013-04-11 Andreas Schwab <schwab@suse.de>
729
6ecec3b6
AS
730 [BZ #13988]
731 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
732 accept exponent character only when digits were seen.
733 * stdio-common/Makefile (tests): Add bug26.
734 * stdio-common/bug26.c: New file.
735
273cdee8
AS
736 [BZ #14293]
737 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
738 non-freeable.
739
8da491f5
SP
7402013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
741
01dc6df9
SP
742 * Makeconfig (rtld-prefix): Define built linker prefix.
743 * Rules (run-bench): Use it.
744 * math/Makefile (run-regen-ulps): Likewise.
745
8da491f5
SP
746 * Rules (bench): Remove eval.
747
abe7f530
SP
7482013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
749 Roland McGrath <roland@hack.frob.com>
750 Ondrej Bilka <neleai@seznam.cz>
751
752 [BZ #15346]
753 * time/getdate.c: Include ctype.h and alloca.h.
754 (__getdate_r): Trim leading and trailing spaces of input.
755 * time/tst-getdate.c (tests): Add tests with leading and
756 trailing spaces.
757
61c23e62
RM
7582013-04-08 Roland McGrath <roland@hack.frob.com>
759
760 [BZ #14280]
761 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
762 when computing value.
763
7208a313
CD
7642013-04-06 Carlos O'Donell <carlos@redhat.com>
765
085b2d41
CD
766 * math/README.libm-test (How can I generate "libm-test-ulps"?):
767 Use testrun.sh to run libm tests.
768
7208a313
CD
769 [BZ #15309]
770 * elf/dl-open.c (dl_open_worker): memset all of seen array.
771
872c0acd
MM
7722013-04-06 Marko Myllynen <myllynen@redhat.com>
773
774 [BZ #15264]
775 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
776
26510bdd
CD
7772013-04-06 Carlos O'Donell <carlos@redhat.com>
778
779 * Makefile.in (regen-ulps): New target.
780 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
781 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
782 [ifneq (no,$(PERL)] (regen-ulps): New target.
783 [ifeq (no,$(PERL)] (regen-ulps): New target.
784 * math/libm-test.inc (ulps_file_name): Define.
785 (output_dir): New variable.
786 (options): Add "output-dir" option.
787 (parse_opt): Handle 'o' case.
788 (main): If output_dir is non-NULL use it as a prefix
789 otherwise use "".
790 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
791
a01f19c8
CD
7922013-04-06 Carlos O'Donell <carlos@redhat.com>
793
794 [BZ #10060, #10062]
795 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
796 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
797 fail configure if __sync_val_compare_and_swap is not inlined.
798 * sysdeps/i386/configure: Regenerate.
799 * configure.in: Build for i686 when configured for i386.
800 * configure: Regenerate.
801 * README: Remove i386 reference.
802
b7a329a5
CD
8032013-04-06 Carlos O'Donell <carlos@redhat.com>
804
805 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
806 * sysdeps/s390/s390-64/sysdep.h: Likewise.
807
bf0f50df
TS
8082013-04-05 Thomas Schwinge <thomas@codesourcery.com>
809
ee091edf
TS
810 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
811 (lmsnanval): New variables.
812 (F): Add conversion tests.
813 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
814 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
815
a8b792d6
TS
816 * stdio-common/tstdiomisc.c (F): Properly collect individual
817 tests' results.
818
a1cbf437
TS
819 [BZ #14686, #15336]
820 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
821 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
822 Instead, use input NaN values or generate a qNaN by arithmetic
823 operation. Also fix bugs to comply with the standard.
824 * math/libm-test.inc (remainder_test): Add more tests.
825
8b43a0c9
TS
826 [BZ #15335, #15342]
827 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
829 input NaN values or generate a qNaN by arithmetic operation.
830
d91da4ce
TS
831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
832 unreachable code.
833
bf0f50df
TS
834 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
835 definitions.
836
05e166c8
JM
8372013-04-03 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #14478]
840 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
841 underflowed result.
842 * math/s_cexpf.c (__cexpf): Likewise.
843 * math/s_cexpl.c (__cexpl): Likewise.
844 * math/libm-test.inc (cexp_test): Add more tests.
845
1cef1b19
AS
8462013-04-03 Andreas Schwab <schwab@suse.de>
847
848 [BZ #15330]
849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
850 order arrays from heap if bigger than alloca cutoff.
851
74d87055
TS
8522013-04-03 Thomas Schwinge <thomas@codesourcery.com>
853
854 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
855 (SNAN_TESTS_double): Refer to GCC PR56831.
856 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
857 GCC PR56828.
858
d755bba4
SP
8592013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
860
90d5d5bb
SP
861 * Rules (bench): Move bench.out after the run is complete.
862
73e0cd5d
SP
863 * Rules (bench): Echo currently running benchmark.
864
64aabd4b
SP
865 * benchtests/Makefile (bench): Add atan and slowatan.
866 * benchtests/atan-inputs: New file.
867 * benchtests/slowatan-inputs: New file.
868 * benchtests/slowatan.c: New file.
869
c871eccd
SP
870 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
872 its value.
873
d755bba4
SP
874 [BZ #15305]
875 * sysdeps/unix/sysv/linux/kernel-features.h
876 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
877 __ASSUME_XFS_RESTRICTED_CHOWN.
878 * sysdeps/unix/sysv/linux/pathconf.c
879 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
880 Save and restore errno.
881
52ce4860
JM
8822013-04-02 Joseph Myers <joseph@codesourcery.com>
883
884 [BZ #15327]
885 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
886 arguments using __kernel_casinh.
887 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
888 arguments using __kernel_casinhf.
889 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
890 arguments using __kernel_casinhl.
891 * math/libm-test.inc (cacosh_test): Add more tests.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894
81f311c2
SP
8952013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
896
e7906a47
SP
897 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
899
92e3664b
SP
900 * bench/Makefile (bench): Add sin and slowsin.
901 * benchtests/sin-inputs: New file.
902 * benchtests/slowsin-inputs: New file.
903 * benchtests/slowsin.c: New file.
904
81f311c2
SP
905 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
906 (bench): Add slowexp and slowpow.
907 (exp-ITER): Increase iterations.
908 (pow-ITER): Likewise.
909 * benchtests/exp-inputs: Change input.
910 * benchtests/pow-inputs: Likewise.
911 * benchtests/slowexp-inputs: New file.
912 * benchtests/slowexp.c: New file.
913 * benchtests/slowpow-inputs: New file.
914 * benchtests/slowpow.c: New file.
915
ab0f1aa9
AZ
9162013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917
918 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
919 instructions.
920 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
921 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
922 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
923 * benchtests/Makefile: Add rint benchtest.
924 * benchtests/rint-inputs: Input for rint benchtest.
925
57267616
TS
9262013-04-02 Thomas Schwinge <thomas@codesourcery.com>
927
928 * Versions.def (libm): Add GLIBC_2.18.
929 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
930 hidden libm prototypes.
931 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
932 * math/Makefile (libm-calls): Add s_issignaling.
933 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
934 __issignalingf, __issignalingl. Adjust all libm.abilist files.
935 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
936 declaration.
937 * math/math.h [__USE_GNU] (issignaling): New macro.
938 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
939 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
940 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
941 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
942 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
944 * manual/arith.texi (issignaling): New section.
945 * manual/libm-err-tab.pl (@all_functions): Update comment.
946 * math/gen-libm-test.pl (parse_args): Apply special handling for
947 issignaling.
948 * math/libm-test.inc (print_float, issignaling_test): New
949 functions.
950 (check_float_internal): Add issignaling checks.
951 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
952 default definition.
953 * sysdeps/powerpc/math-tests.h: New file.
954 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
955 tests.
956 * math/test-snan.c (TEST_FUNC): Likewise.
957
6142896d
DM
9582013-03-30 David S. Miller <davem@davemloft.net>
959
960 * po/de.po: Update from translation team.
961
ccc8cadf
JM
9622013-03-30 Joseph Myers <joseph@codesourcery.com>
963
964 [BZ #10357]
965 * math/k_casinh.c (__kernel_casinh): Handle arguments with
966 imaginary part less than 1.0 and real part less than 0.5
967 specially.
968 * math/k_casinhf.c (__kernel_casinhf): Likewise.
969 * math/k_casinhl.c (__kernel_casinhl): Likewise.
970 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
971 (cacos_test): Add more tests.
972 (casin_test): Likewise.
973 (casinh_test): Likewise.
974 * sysdeps/i386/fpu/libm-test-ulps: Update.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976
0f6a8d4b
SP
9772013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
978
0d1029de
SP
979 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
980 ONE with its value.
981
c2d94018
SP
982 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
983 (__pow_mp): Replace ONE and MONE with their values.
984 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
986 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
987 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
988 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
990
27ec37f1
SP
991 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
992
a64d7e0e
SP
993 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
994 (__pow_mp): Replace ZERO and MZERO with their values.
995 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
997 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
999 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1000 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1001 (__sqr): Likewise.
1002
d26dd3eb
SP
1003 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1004
0f6a8d4b
SP
1005 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1006
e57b0c61
RM
10072013-03-28 Roland McGrath <roland@hack.frob.com>
1008
1009 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1010 Declare with __attribute__ ((weak)).
1011 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1012 Call __call_tls_dtors only if it's not NULL.
1013
356b3480
RM
10142013-03-28 Roland McGrath <roland@hack.frob.com>
1015
288f7d79
RM
1016 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1017 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1018 magic __ehdr_start linker symbol if it's defined.
1019 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1020 them up here if it was already done.
1021
dc0a0263
RM
1022 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1023 (_dl_aux_init): Use const in cast when setting it.
1024 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1025 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1026 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1027
3d3436ae
RM
1028 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1029 Declare them here.
1030 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1031 * csu/libc-tls.c: Nor here.
1032 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1033
356b3480
RM
1034 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1035 (__libc_message): Never call vsyslog.
1036
b0f1246a
AM
10372013-03-28 Alan Modra <amodra@gmail.com>
1038
1039 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1040 Define as empty.
1041 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1042 Likewise.
1043
fbbe2b9a
AZ
10442013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045
1046 [BZ #15214]
1047 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1048 underflow.
1049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1050
1728ab37
SP
10512013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1052
7a86be6e
SP
1053 [BZ #15304]
1054 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1055 Don't add gid passed as argument.
1056
1728ab37
SP
1057 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1058
3a7182a1
JM
10592013-03-27 Joseph Myers <joseph@codesourcery.com>
1060
1061 [BZ #15307]
1062 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1063 imaginary part between 1.0 and 1.5 and real part less than 0.5
1064 specially.
1065 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1066 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1067 * math/libm-test.inc (cacos_test): Add more tests.
1068 (casin_test): Likewise.
1069 (casinh_test): Likewise.
1070 * sysdeps/i386/fpu/libm-test-ulps: Update.
1071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1072
6f2e90e7
SP
10732013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
5739f705
SP
1075 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1076 constants.
1077 (norm): Likewise.
1078 (denorm): Likewise.
1079 (__dbl_mp): Likewise.
1080 (add_magnitudes): Likewise.
1081 (sub_magnitudes): Likewise.
1082 (__add): Likewise.
1083 (__sub): Likewise.
1084 (__mul): Likewise.
1085 (__sqr): Likewise.
1086 (__inv): Likewise.
1087 (__dvd): Likewise.
1088
e375e83d
SP
1089 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1090 commented code.
1091 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1092 (__dubcos): Likewise.
1093 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1094 (__ieee754_acos): Likewise.
1095 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1096 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1097 (__exp1): Likewise.
1098 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1100 (log1): Likewise.
1101 (my_log2): Likewise.
1102 (checkint): Likewise.
1103 * sysdeps/ieee754/dbl-64/e_remainder.c
1104 (__ieee754_remainder): Likewise.
1105 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1107 (bsloww): Likewise.
1108 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1109
6f2e90e7
SP
1110 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1111 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1112 MANTISSA_STORE_T to store computations on mantissa. Use
1113 macros for rounding and division.
1114 (denorm): Likewise.
1115 (__dbl_mp): Likewise.
1116 (add_magnitudes): Likewise.
1117 (sub_magnitudes): Likewise.
1118 (__mul): Likewise.
1119 (__sqr): Likewise.
1120 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1121 powers of two in terms of TWOPOW macro.
1122 (mp_no): Make type of mantissa as MANTISSA_T.
1123 [!RADIXI]: Define RADIXI.
1124 [!TWO52]: Define TWO52.
1125 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1126
fce14d4e
AZ
11272013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1130 llroundl symbol when building for PPC32.
1131
9ad027fb
MW
11322013-03-24 Mark H Weaver <mhw@netris.org>
1133
1134 * manual/arith.texi (Normalization Functions): Fix prototypes for
1135 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1136
e42a38dd
AZ
11372013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 [BZ #13889]
1140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1141 high value to check if expl overflow.
1142 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1143 to check for underflow and overflow.
1144 * math/libm-test.inc: Add exp test.
1145
2e0fb521
DL
11462013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1147
1148 [BZ #11120]
1149 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1150 with NOT_IN_libc.
1151
b5784d95
AZ
11522013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153
1154 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1155 symbol.
1156
5aa4a1a1
TS
11572013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1158
bdef0be7
TS
1159 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1160 wrap blocks consisting of several statements.
1161
5aa4a1a1
TS
1162 * sysdeps/generic/math-tests.h: New file.
1163 * sysdeps/i386/fpu/math-tests.h: Likewise.
1164 * math/test-snan.c: Include it.
1165 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1166
98c48fe5
JM
11672013-03-21 Joseph Myers <joseph@codesourcery.com>
1168
1169 [BZ #15285]
1170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1171 (__ieee754_j0l): Do not improve calculations using cos of twice
1172 input for inputs above LDBL_MAX / 2.0L.
1173 (__ieee754_y0l): Likewise.
1174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1175 (__ieee754_j1l): Do not improve calculations using cos of twice
1176 input for inputs above LDBL_MAX / 2.0L.
1177 (__ieee754_y1l): Likewise.
1178 * math/libm-test.inc (j0_test): Add another test.
1179 (j1_test): Likewise.
1180 (y0_test): Likewise.
1181 (y1_test): Likewise.
1182 * sysdeps/i386/fpu/libm-test-ulps: Update.
1183
3775a8bc
SP
11842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
1186 * Rules ($(objpfx)bench-%.c): Include code from a C source
1187 file.
1188
0a1b2ae6
JM
11892013-03-21 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #15287]
1192 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1193 imaginary part 1.0 and real part less than 0.5 specially.
1194 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1195 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1196 * math/libm-test.inc (cacos_test): Add more tests.
1197 (casin_test): Likewise.
1198 (casinh_test): Likewise.
1199 * sysdeps/i386/fpu/libm-test-ulps: Update.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1201
b33d4ce4
SP
12022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1203
1204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1205 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1206
bef0b507
JM
12072013-03-20 Joseph Myers <joseph@codesourcery.com>
1208
1209 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1210 * config.make.in (config-cflags-sse4): Remove variable.
1211 (config-cflags-avx): Likewise.
1212 (config-cflags-sse2avx): Likewise.
1213 (config-cflags-novzeroupper): Likewise.
1214 (config-asflags-i686): Likewise.
1215 (have-mfma4): Likewise.
1216 (have-as-vis3): Likewise.
1217 (MIG): Likewise.
1218 * configure.in (MIG): Do not AC_SUBST.
1219 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1220 (libc_cv_cc_sse4): Do not AC_SUBST.
1221 (libc_cv_cc_avx): Likewise.
1222 (libc_cv_cc_sse2avx): Likewise.
1223 (libc_cv_cc_novzeroupper): Likewise.
1224 (libc_cv_cc_fma4): Likewise.
1225 (libc_cv_as_i686): Likewise.
1226 (libc_cv_sparc_as_vis3): Likewise.
1227 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1228 LIBC_CONFIG_VAR.
1229 (config-asflags-i686): Likewise.
1230 (config-cflags-avx): Likewise.
1231 (config-cflags-sse2avx): Likewise.
1232 (have-mfma4): Likewise.
1233 (config-cflags-novzeroupper): Likewise.
1234 * sysdeps/mach/configure.in (MIG): Likewise.
1235 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1236 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1237 LIBC_CONFIG_VAR.
1238 (config-cflags-avx): Likewise.
1239 (config-cflags-sse2avx): Likewise.
1240 (have-mfma4): Likewise.
1241 (config-cflags-novzeroupper): Likewise.
1242 * configure: Regenerated.
1243 * sysdeps/i386/configure: Likewise.
1244 * sysdeps/mach/configure: Likewise.
1245 * sysdeps/sparc/configure: Likewise.
1246 * sysdeps/x86_64/configure: Likewise.
1247
912cc4b3
RM
12482013-03-20 Roland McGrath <roland@hack.frob.com>
1249
1250 [BZ #14812]
1251 * locale/programs/localedef.c (options): Put N_ translation marker
1252 on argument names, not just descriptions.
1253
04eed2b0
MS
12542013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1255
1256 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1257
a065ceff
OB
12582013-03-20 Ondřej Bílka <neleai@seznam.cz>
1259
9bb2a810 1260 [BZ #14176]
a065ceff
OB
1261 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1262
a600e5ce
RM
12632013-03-19 Roland McGrath <roland@hack.frob.com>
1264
1265 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1266 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1267 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1268 [!BEFORE_ABORT] (before_abort): New function.
1269 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1270 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1271 (writev_for_fatal): New function.
1272 (WRITEV_FOR_FATAL): New macro; call that.
1273 (backtrace_and_maps): New function.
1274 (BEFORE_ABORT): New macro; call that.
1275 (struct str_list): Type removed.
1276 (__libc_message, __libc_fatal): Functions removed.
1277 Include <sysdeps/posix/libc_fatal.c> instead.
1278
6b18bea6
JM
12792013-03-19 Joseph Myers <joseph@codesourcery.com>
1280
1281 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1282 constants.
1283 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1284 double constants.
1285
aaa8cb4b
AS
12862013-03-19 Andreas Schwab <schwab@suse.de>
1287
44673770
AS
1288 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1289 * sysdeps/gnu/configure: Regenerate.
1290
aaa8cb4b
AS
1291 * configure.in: Substitute libc_cv_rtlddir.
1292 * configure: Regenerate.
1293 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1294 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1295 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1296 * elf/Makefile (install-others, CFLAGS-interp.c)
1297 (ldso_install, common-ldd-rewrite): Likewise.
1298 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1299 $(inst_slibdir)/$(rtld-installed-name).
1300 * scripts/rellns-sh: Add -p option.
1301 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1302 for source.
1303
d3cfc668
SP
13042013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1305
1306 * manual/nptl.texi: Renamed to ...
1307 * manual/threads.texi: ... this.
1308 * manual/Makefile (chapters): Update.
1309
0e2b9cdd
RM
13102013-03-18 Roland McGrath <roland@hack.frob.com>
1311
1312 [BZ #14812]
1313 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1314 on argument names, not just descriptions.
0e2b9cdd
RM
1315 * malloc/memusagestat.c (options): Likewise.
1316 * nss/getent.c (options): Likewise.
63270c24
RM
1317
13182013-03-18 Benno Schulenberg <bensberg@justemail.net>
1319
1320 [BZ #14812]
1321 * iconv/iconv_prog.c (options): Put N_ translation marker
1322 on argument names, not just descriptions.
1323 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1324
b2e1393c
OB
13252013-03-18 Ondrej Bilka <neleai@seznam.cz>
1326
1327 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1328 implementation which is faster on all x86_64 architectures.
1329 Tested on AMD, Intel Nehalem, SNB, IVB.
1330 * sysdeps/x86_64/strnlen.S: Likewise.
1331
1332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1333 Remove all multiarch strlen and strnlen versions.
1334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1335 Remove strlen and strnlen related parts.
1336
1337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1338 Inline strlen part.
1339 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1340
1341 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1342 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1343 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1344 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1345 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1346 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1347
ec4ff04d
CD
13482013-03-17 Carlos O'Donell <carlos@redhat.com>
1349
1350 * manual/memory.texi (Malloc Tunable Parameters):
1351 Sort parameters alphabetically. Add comments for missing entries.
1352
cd18e90a
DM
13532013-03-17 David S. Miller <davem@davemloft.net>
1354
1355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1356
2a185d32
JM
13572013-03-16 Joseph Myers <joseph@codesourcery.com>
1358
d2f9799e
JM
1359 [BZ #15283]
1360 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1361 for arguments at most half maximum finite value.
1362 * math/libm-test.inc (j0_test): Add more tests.
1363 (j1_test): Likewise.
1364 (y0_test): Likewise.
1365 (y1_test): Likewise.
1366 * sysdeps/i386/fpu/libm-test-ulps: Update.
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1368
2a185d32
JM
1369 [BZ #14155]
1370 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1371 1 / x and functions P and Q for arguments above 0x1p256L.
1372 (__ieee754_y0l): Likewise.
1373 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1374 (__ieee754_y1l): Likewise.
1375 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1376 (j1_test): Likewise.
1377 (y0_test): Likewise.
1378 (y1_test): Likewise.
1379
6cbec759
TS
13802013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1381
1382 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1383 variable.
1384
bc16e260
RM
13852013-03-15 Roland McGrath <roland@hack.frob.com>
1386
aefc9b8c
RM
1387 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1388 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1389 zero since it's initialized to EXEC_PAGESIZE.
1390
bc16e260
RM
1391 * sysdeps/unix/sysv/linux/ldsodefs.h
1392 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1393 * sysdeps/generic/ldsodefs.h: ... here.
1394
a57da955
TS
13952013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1396
af00a34d
TS
1397 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1398
495ded2c
TS
1399 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1400 math/test-snan.c.
1401 * math/test-snan.c: Renamed from
1402 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1403 * math/Makefile (tests): Add test-snan.
1404 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1405 test-powerpc-snan.
1406
777b0332
TS
1407 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1408 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1409 functions.
1410 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1411 __builtin_nan family of functions.
1412 * math/libm-test.inc (initialize): Initialize qnan_value with
1413 __builtin_nan family of functions.
1414 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1415 Remove variables.
1416 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1417 Remove functions.
1418 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1419 storage class. Initialize qNaN_var and sNaN_var with
1420 __builtin_nan and __builtin_nans families of functions,
1421 respectively.
1422
64d063b8
TS
1423 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1424 (sqrt_test): Remove duplicate test with qNaN input.
1425 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1426 (round_test, signbit_test, significand_test): Note missing +/-Inf
1427 as well as qNaN tests.
1428
67e971f1
TS
1429 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1430 qNaN_var. Fix a few strings, too.
1431 * math/libm-test.inc (nan_value): Rename to qnan_value.
1432 * math/gen-libm-test.pl (%beautify): Adjust to that.
1433 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1434 * math/test-misc.c (main): Likewise.
1435 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1436 to __qnan_bytes, and __qnan_union, respectively.
1437 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1438 Likewise.
1439 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1440 and lqnanval, respectively.
1441 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1442 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1443 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1444 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1445
64487e12
TS
1446 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1447 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1448 doubles.
1449
e015e27b
TS
1450 * math/test-misc.c (main): Fix copy'n'pastos.
1451 * misc/tst-efgcvt.c (special): Likewise.
1452
a57da955
TS
1453 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1454 Remove declarations.
1455
1e380345
SP
14562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1459 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1460 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1461 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1462
ef26eece
AZ
14632013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464
1465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1466 macro to return vdso values correctly in IFUNC implementations.
1467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1468 Optimization by using IFUNC.
1469
8cfdb7e0
SP
14702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 Richard Henderson <rth@redhat.com>
1472 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1473
1474 * Makefile.in (bench): New target.
1475 * NEWS: Mention the benchmark framework.
1476 * Rules (bench): Likewise.
1477 (binaries-bench): Generate binaries for functions to
1478 benchmark.
1479 * benchtests/Makefile: New makefile for benchmark tests.
1480 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1481 programs.
1482 * benchtests/exp-inputs: New input file for EXP function.
1483 * benchtests/pow-inputs: New input file for POW function.
1484 * scripts/bench.pl: New script to generate source files for
1485 benchmark programs.
1486
bcda9880
SP
14872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
d22ca8cd
SP
1489 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1490 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1491 computations on mantissa. Use macros for rounding and
1492 division.
1493 (denorm): Likewise.
1494 (__dbl_mp): Likewise.
1495 (add_magnitudes): Likewise.
1496 (sub_magnitudes): Likewise.
1497 (__mul): Likewise.
1498 (__sqr): Likewise.
1499 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1500 powers of two in terms of TWOPOW macro.
1501 (mp_no): Make type of mantissa as MANTISSA_T.
1502 [!RADIXI]: Define RADIXI.
1503 [!TWO52]: Define TWO52.
1504 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1505
bcda9880
SP
1506 * manual/nptl.texi (cindex): Modify threads to pthreads.
1507
06d5adfb
JM
15082013-03-15 Joseph Myers <joseph@codesourcery.com>
1509
1510 * sysdeps/x86_64/preconfigure: Regenerated.
1511
41c7328e
JM
15122013-03-14 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #14155]
1515 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1516 0x1p28 and above.
1517 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1518 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1519 0x1p28 and above.
1520 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1521 * math/libm-test.inc (j0_test): Do not allow one spurious
1522 underflow exception.
1523 (y1_test): Likewise.
1524
e25cfa60
SP
15252013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1526
0409959c
SP
1527 * manual/Makefile (chapters): Add nptl.
1528 * manual/debug.texi (Debugging Support): Add link to Threads
1529 chapter.
1530 * manual/nptl.texi: New file.
1531
e25cfa60
SP
1532 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1533
58a1335e
PB
15342013-03-14 Petr Baudis <pasky@ucw.cz>
1535
1536 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1537 for non-NULL pointer before the memory validity test. Pointed
1538 out by Holger Brunck <holger.brunck@keymile.com>.
1539
9dc7c64f
AS
15402013-03-13 Andreas Schwab <schwab@suse.de>
1541
1542 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1543 instead of .os.
1544
54206aa6
JM
15452013-03-13 Joseph Myers <joseph@codesourcery.com>
1546
1547 * timezone/zic.c: Update from tzcode 2013b.
1548
e98cdb38
CD
15492013-03-12 Carlos O'Donell <carlos@redhat.com>
1550
1551 * manual/install.texi (Configuring and compiling):
1552 Mention i686 and i586.
1553 * INSTALL: Regenerate.
1554
9967e003
RM
15552013-03-12 Roland McGrath <roland@hack.frob.com>
1556
1557 * sysdeps/init_array/elf-init.c: New file.
1558 * csu/elf-init.c
1559 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1560 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1561
1562 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1563 __gmon_start__ as global, but as static with a .preinit_array pointer.
1564 * sysdeps/init_array/gmon-start.c: New file. Use that.
1565 * sysdeps/init_array/crti.S: New file, empty except for comments.
1566 * sysdeps/init_array/crtn.S: Likewise.
1567
e6b5a293 15682013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1569
1570 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1571 definining bcopy.
80f844c9
OB
1572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1573 Remove Prefer_SSE_for_memop.
1574 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1575 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1576 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1578 memset-x86-64.
80f844c9 1579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1580 Remove bzero, memset ifunc support.
80f844c9
OB
1581 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1582 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1585
fb6b0fcb
AS
15862013-03-11 Andreas Schwab <schwab@suse.de>
1587
1588 [BZ #15234]
1589 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1590 by SHLIB_COMPAT.
1591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1592 (GLIBC_2.16): Remove pthread_atfork.
1593
3e6bd4b1
PP
15942013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1595
1596 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1597 (ptestcases.h): Likewise.
1598
222d7f00
RM
15992013-03-08 Roland McGrath <roland@hack.frob.com>
1600
1601 * Makeconfig ($(common-objpfx)config.status): Depend on
1602 sysdeps/*/preconfigure{,.in} too.
1603
1ba4f030
JM
16042013-03-08 Joseph Myers <joseph@codesourcery.com>
1605
a222d91a
JM
1606 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1607 (__free_hook): Use void * instead of __malloc_ptr_t.
1608 (__malloc_hook): Likewise.
1609 (__realloc_hook): Likewise.
1610 (__memalign_hook): Likewise.
1611 (__after_morecore_hook): Likewise.
1612 * malloc/arena.c (save_malloc_hook): Likewise.
1613 (save_free_hook): Likewise.
1614 * malloc/hooks.c (malloc_hook_ini): Likewise.
1615 (realloc_hook_ini): Likewise.
1616 (memalign_hook_ini): Likewise.
1617 * malloc/malloc.c (malloc_hook_ini): Likewise.
1618 (realloc_hook_ini): Likewise.
1619 (memalign_hook_ini): Likewise.
1620 (__free_hook): Likewise.
1621 (__malloc_hook): Likewise.
1622 (__realloc_hook): Likewise.
1623 (__memalign_hook): Likewise.
1624 (__libc_malloc): Likewise.
1625 (__libc_free): Likewise.
1626 (__libc_realloc): Likewise.
1627 (__libc_memalign): Likewise.
1628 (__libc_valloc): Likewise.
1629 (__libc_pvalloc): Likewise.
1630 (__libc_calloc): Likewise.
1631 (__posix_memalign): Likewise.
1632 * malloc/morecore.c (__sbrk): Likewise.
1633 (__default_morecore): Likewise.
1634
5cc45e10
JM
1635 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1636
dd54b864
JM
1637 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1638 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1639 __malloc_ptrdiff_t.
1640
1ba4f030
JM
1641 * malloc/malloc.h (__malloc_size_t): Remove macro.
1642 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1643 __malloc_size_t.
1644 (old_memalign_hook): Likewise.
1645 (old_realloc_hook): Likewise.
1646 (struct hdr): Likewise.
1647 (flood): Likewise.
1648 (mallochook): Likewise.
1649 (memalignhook): Likewise.
1650 (reallochook): Likewise.
1651 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1652 (tr_old_realloc_hook): Likewise.
1653 (tr_old_memalign_hook): Likewise.
1654 (tr_mallochook): Likewise.
1655 (tr_reallochook): Likewise.
1656 (tr_memalignhook): Likewise.
1657
edf66e57
AZ
16582013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659
1660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1661 default_ldbl_pack and using as default implementation.
1662 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1663 implementation.
1664 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1665 redundant definition.
1666 (ldbl_insert_mantissa): Likewise.
1667 (ldbl_canonicalize): Likewise.
1668 (ldbl_nearbyint): Likewise.
1669 (ldbl_pack): Rename to ldbl_pack_ppc.
1670 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1671 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1672 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1673
6d9145d8
SP
16742013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1675
1676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1677 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1678 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1679 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1682 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1683 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1684
4dd4e157
AJ
16852013-03-07 Andreas Jaeger <aj@suse.de>
1686
1687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1688 bits/mman-linux.h.
1689
adbb8027
SP
16902013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1691
ce544b5b
SP
1692 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1693 Include mpa.h and declare __MPEXP.
1694 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1696 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1699 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1700 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1701
4cc149fd
SP
1702 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1703 (__slowpow): Use long double EXPL and LOGL functions to
1704 compute POW.
1705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1706 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1707 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1708 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1709 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1711
e6ebd4a7
SP
1712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1713 intermediate variable to calculate exponent.
1714 (__sqr): Likewise.
1715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1716 Likewise.
1717 (__sqr): Likewise.
1718
82a9811d
SP
1719 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1720 [!NO__SQR]: Define __sqr.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1722 and NO__SQR. Remove all code except __mul and __sqr. Include
1723 sysdeps/ieee754/dbl-64/mpa.c.
1724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1725
adbb8027
SP
1726 [BZ #12723]
1727 * posix/Makefile (tests): Add tst-pathconf.
1728 * posix/tst-pathconf.c: New test case.
1729 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1730 _PC_PIPE_BUF.
1731 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1732
39120df9
PF
17332013-03-06 Patsy Franklin <pfrankli@redhat.com>
1734
1735 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1736
67525cb8
AJ
17372013-03-06 Andreas Jaeger <aj@suse.de>
1738
664a9ce4
AJ
1739 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1740 definition via __MAP_ANONYMOUS.
1741
8e39047d
AJ
1742 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1743 it's not part of Linux headers.
1744
67525cb8
AJ
1745 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1746 (MAP_HUGE_MASK): Define.
1747
1748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1749 Define.
1750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1751 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1752 Define.
1753 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1754 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1755 Define.
1756 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1758 Define.
1759 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1760
1761 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1762 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1763 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1764 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1765 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1766 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1767
1768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1769 Handle f2fs.
1770
1771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1772 Handle f2fs and efivarfs.
1773
1774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1775 f2fs.
1776
1777 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1778 (EFIVARFS_MAGIC): Add.
1779 (F2FS_LINK_MAX): Add.
1780
e1b42695
PP
17812013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1782
1783 * stdio-common/vfprintf.c: Replace __builtin_expect with
1784 __glibc_unlikely.
1785
2d67d91a
JM
17862013-03-06 Joseph Myers <joseph@codesourcery.com>
1787
1788 [BZ #13550]
1789 * sysdeps/generic/bp-sym.h: Remove file.
1790 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1791 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1792 <bp-sym.h> and <bp-asm.h>.
1793 (__longjmp): Don't use BP_SYM.
1794 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1795 and <bp-asm.h>.
1796 (memcpy): Don't use BP_SYM.
1797 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1798 <bp-sym.h> and <bp-asm.h>.
1799 (memcpy): Don't use BP_SYM.
1800 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1801 <bp-asm.h>.
1802 (memcpy): Don't use BP_SYM.
1803 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1804 <bp-asm.h>.
1805 (memset): Don't use BP_SYM.
1806 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1807 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1808 (__bzero): Don't use BP_SYM.
1809 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1810 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1812 <bp-sym.h> and <bp-asm.h>.
1813 (memcmp): Don't use BP_SYM. Remove comment about bounded
1814 pointers.
1815 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1816 <bp-sym.h> and <bp-asm.h>.
1817 (memcpy): Don't use BP_SYM.
1818 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1819 <bp-sym.h> and <bp-asm.h>.
1820 (memset): Don't use BP_SYM.
1821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1823 (__bzero): Don't use BP_SYM.
1824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1826 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (strncmp): Don't use BP_SYM. Remove comment about bounded
1829 pointers.
1830 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1831 <bp-sym.h> and <bp-asm.h>.
1832 (memcpy): Don't use BP_SYM.
1833 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1834 <bp-sym.h> and <bp-asm.h>.
1835 (memset): Don't use BP_SYM.
1836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1838 (__bzero): Don't use BP_SYM.
1839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1842 <bp-sym.h> and <bp-asm.h>.
1843 (__memchr): Don't use BP_SYM.
1844 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (memcmp): Don't use BP_SYM. Remove comment about bounded
1847 pointers.
1848 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1849 <bp-sym.h> and <bp-asm.h>.
1850 (memcpy): Don't use BP_SYM.
1851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1852 <bp-sym.h> and <bp-asm.h>.
1853 (__mempcpy): Don't use BP_SYM.
1854 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1855 <bp-sym.h> and <bp-asm.h>.
1856 (__memrchr): Don't use BP_SYM.
1857 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1858 <bp-sym.h> and <bp-asm.h>.
1859 (memset): Don't use BP_SYM.
1860 (__bzero): Likewise.
1861 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1862 <bp-sym.h> and <bp-asm.h>.
1863 (__rawmemchr): Don't use BP_SYM.
1864 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1865 <bp-sym.h> and <bp-asm.h>.
1866 (__STRCMP): Don't use BP_SYM.
1867 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1868 <bp-sym.h> and <bp-asm.h>.
1869 (strchr): Don't use BP_SYM.
1870 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1871 <bp-sym.h> and <bp-asm.h>.
1872 (__strchrnul): Don't use BP_SYM.
1873 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1874 <bp-sym.h> and <bp-asm.h>.
1875 (strlen): Don't use BP_SYM.
1876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1877 <bp-sym.h> and <bp-asm.h>.
1878 (strncmp): Don't use BP_SYM. Remove comment about bounded
1879 pointers.
1880 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1881 <bp-sym.h> and <bp-asm.h>.
1882 (__strnlen): Don't use BP_SYM.
1883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1884 <bp-sym.h> and <bp-asm.h>.
1885 (__GI__setjmp): Don't use BP_SYM.
1886 (_setjmp): Likewise.
1887 (__sigsetjmp): Likewise.
1888 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1889 (L(start_addresses)): Don't use BP_SYM.
1890 (_start): Likewise.
1891 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1892 <bp-asm.h>.
1893 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1894 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1895 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1896 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1897 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1898 <bp-asm.h>.
1899 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1900 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1901 about bounded pointers.
1902 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1903 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1904 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1905 <bp-asm.h>.
1906 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1907 about bounded pointers. Remove GKM FIXME comments.
1908 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1909 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1910 <bp-asm.h>.
1911 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1912 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1913 Remove GKM FIXME comments.
1914 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1915 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1916 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1917 <bp-asm.h>.
1918 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1919 about bounded pointers. Remove GKM FIXME comment.
1920 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1921 and <bp-asm.h>.
1922 (strncmp): Don't use BP_SYM. Remove comment about bounded
1923 pointers.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1925 <bp-sym.h> and <bp-asm.h>.
1926 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1928 <bp-sym.h> and <bp-asm.h>.
1929 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1930 comment.
1931
cdcf361f
PP
19322013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1933
1934 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1935 call free(NULL).
1936
3c4a2b15
DM
19372013-03-05 David S. Miller <davem@davemloft.net>
1938
1939 * po/es.po: Update from translation team.
1940
cdcf361f 19412013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1942
1943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1944 <bits/mman-linux.h>.
1945 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1946 is fine.
1947 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1948 <bits/mman-linux.h> to end of file.
1949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1950 is fine.
1951 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1952 <bits/mman-linux.h> to end of file.
1953 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1954 is fine.
1955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1956 <bits/mman-linux.h> to end of file.
1957
1958 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1959 (MCL_CURRENT, MCL_FUTURE): Define here.
1960
5f67c04f
AK
19612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1962
8a4473cc 1963 [BZ #15232]
5f67c04f
AK
1964 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1965 attribute_hidden.
1966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1967
c3e94a95
AK
19682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1969
1970 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1971 fourth parameter needed for rt_sigprocmask syscall.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1973 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1974 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1975 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1976 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1977 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1978
cfb6382a
JM
19792013-03-04 Joseph Myers <joseph@codesourcery.com>
1980
1981 [BZ #13550]
1982 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1983 comment about bounded pointers.
1984 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1985 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1986
539d8e01
AJ
19872013-03-04 Andreas Jaeger <aj@suse.de>
1988
1989 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1990 common definitions.
1991
1992 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1993 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1998
2e167a70 19992013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2000
2001 [BZ #15055]
2002 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2003 __ieee754_sqrl instead of __sqrl.
2004
68508633
JM
20052013-03-01 Joseph Myers <joseph@codesourcery.com>
2006
2007 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2008 * sysdeps/powerpc/fpu_control.h: ... here.
2009 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2010 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2011 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2012 * sysdeps/powerpc/bits/mathinline.h: ... here.
2013
7775448e
RM
20142013-03-01 Roland McGrath <roland@hack.frob.com>
2015
2016 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2017 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2018 to just [NEED_DL_SYSINFO_DSO].
2019 * elf/dl-support.c: Likewise.
2020 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2021 * elf/rtld.c (dl_main): Likewise.
2022 * elf/setup-vdso.h (setup_vdso): Likewise.
2023 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2024 * sysdeps/unix/sysv/linux/dl-sysdep.c
2025 (_dl_discover_osversion): Likewise.
2026
4e9b5995
CD
20272013-03-01 Carlos O'Donell <carlos@redhat.com>
2028
2029 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2030 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2031
e23872c8
SP
20322013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2033
e5c74c63
SP
2034 * NEWS: Mention libm performance improvements and non-x86 PI
2035 futex support.
2036
e23872c8
SP
2037 * csu/libc-start.c (__pthread_initialize_minimal): Change
2038 function arguments.
2039 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2040
b5510883
JM
20412013-02-28 Joseph Myers <joseph@codesourcery.com>
2042
2043 [BZ #13550]
2044 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2045 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2048 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2049 and <bp-asm.h>.
2050 (memcpy): Don't use BP_SYM.
2051 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2052 <bp-asm.h>.
2053 (__mpn_add_n): Don't use BP_SYM.
2054 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2055 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2056 and <bp-asm.h>.
2057 (__mpn_addmul_1): Don't use BP_SYM.
2058 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2059 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2060 <bp-sym.h>.
2061 (_setjmp): Don't use BP_SYM.
2062 (__novmx_setjmp): Likewise.
2063 (__GI__setjmp): Likewise.
2064 (__vmx_setjmp): Likewise.
2065 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2066 <bp-sym.h>.
2067 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2068 (__bzero): Don't use BP_SYM.
2069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2071 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2072 <bp-sym.h> and <bp-asm.h>.
2073 (memcpy): Don't use BP_SYM.
2074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2075 <bp-sym.h> and <bp-asm.h>.
2076 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2077 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2078 <bp-sym.h> and <bp-asm.h>.
2079 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2080 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2081 <bp-asm.h>.
2082 (__mpn_lshift): Don't use BP_SYM.
2083 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2084 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2085 <bp-asm.h>.
2086 (memset): Don't use BP_SYM.
2087 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2088 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2089 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2090 <bp-asm.h>.
2091 (__mpn_mul_1): Don't use BP_SYM.
2092 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2094 <bp-sym.h> and <bp-asm.h>.
2095 (memcmp): Don't use BP_SYM.
2096 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2097 <bp-sym.h> and <bp-asm.h>.
2098 (memcpy): Don't use BP_SYM.
2099 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2100 <bp-sym.h> and <bp-asm.h>.
2101 (memset): Don't use BP_SYM.
2102 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (strncmp): Don't use BP_SYM.
2105 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (memcpy): Don't use BP_SYM.
2108 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2109 <bp-sym.h> and <bp-asm.h>.
2110 (memset): Don't use BP_SYM.
2111 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2112 <bp-sym.h> and <bp-asm.h>.
2113 (__memchr): Don't use BP_SYM.
2114 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2115 <bp-sym.h> and <bp-asm.h>.
2116 (memcmp): Don't use BP_SYM.
2117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2118 <bp-sym.h> and <bp-asm.h>.
2119 (memcpy): Don't use BP_SYM.
2120 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2121 <bp-sym.h> and <bp-asm.h>.
2122 (__mempcpy): Don't use BP_SYM.
2123 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2124 <bp-sym.h> and <bp-asm.h>.
2125 (__memrchr): Don't use BP_SYM.
2126 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2127 <bp-sym.h> and <bp-asm.h>.
2128 (memset): Don't use BP_SYM.
2129 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2130 <bp-sym.h> and <bp-asm.h>.
2131 (__rawmemchr): Don't use BP_SYM.
2132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2133 <bp-sym.h> and <bp-asm.h>.
2134 (__STRCMP): Don't use BP_SYM.
2135 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2136 <bp-sym.h> and <bp-asm.h>.
2137 (strchr): Don't use BP_SYM.
2138 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2139 <bp-sym.h> and <bp-asm.h>.
2140 (__strchrnul): Don't use BP_SYM.
2141 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2142 <bp-sym.h> and <bp-asm.h>.
2143 (strlen): Don't use BP_SYM.
2144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2145 <bp-sym.h> and <bp-asm.h>.
2146 (strncmp): Don't use BP_SYM.
2147 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2148 <bp-sym.h> and <bp-asm.h>.
2149 (__strnlen): Don't use BP_SYM.
2150 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2151 <bp-asm.h>.
2152 (__mpn_rshift): Don't use BP_SYM.
2153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2154 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2155 <bp-sym.h> and <bp-asm.h>.
2156 (__sigsetjmp): Don't use BP_SYM.
2157 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2158 (L(start_addresses)): Don't use BP_SYM.
2159 (_start): Likewise.
2160 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2161 <bp-asm.h>.
2162 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2163 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2164 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2165 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2166 <bp-asm.h>.
2167 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2168 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2169 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2170 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2171 <bp-asm.h>.
2172 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2173 comments.
2174 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2175 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2176 <bp-asm.h>.
2177 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2178 FIXME comments.
2179 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2180 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2181 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2182 <bp-asm.h>.
2183 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2184 comment.
2185 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2186 and <bp-asm.h>.
2187 (strncmp): Don't use BP_SYM,
2188 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2189 <bp-asm.h>.
2190 (__mpn_sub_n): Don't use BP_SYM.
2191 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2192 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2193 and <bp-asm.h>.
2194 (__mpn_submul_1): Don't use BP_SYM.
2195 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2197 <bp-sym.h> and <bp-asm.h>.
2198 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2200 <bp-sym.h> and <bp-asm.h>.
2201 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2202 comment.
2203
8d19fe64
SP
22042013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2207 Use ZK to minimize writes to Z.
2208 (sub_magnitudes): Simplify code a bit.
2209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2210 Use ZK to minimize writes to Z.
2211 (sub_magnitudes): Simplify code a bit.
2212
85bd816a
RM
22132013-02-27 Roland McGrath <roland@hack.frob.com>
2214
2215 * csu/gmon-start.c: Add special exception to license text.
2216
b5977bf2
RH
22172013-02-27 Richard Henderson <rth@redhat.com>
2218
2219 * scripts/config.guess: Update from config.git.
2220 * scripts/config.sub: Likewise.
2221
11d6e2f2
SP
22222013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2223
09c14ed2
SP
2224 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2225
a688864e
SP
2226 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2227
6295157a
SP
2228 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2229
b8de2202
SP
2230 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2231
11d6e2f2
SP
2232 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2233
7e80ddb8
RM
22342013-02-26 Roland McGrath <roland@hack.frob.com>
2235
2236 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2237 [$(build-shared = yes].
7e80ddb8 2238
7da6d9ed
SP
22392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2240
45f05884
SP
2241 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2242 (__mul): Reduce iterations for calculating mantissa.
2243
2236d359
SP
2244 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2245 MPTWO.
2246 (__mpranred): Likewise.
2247
7da6d9ed
SP
2248 [BZ #15160]
2249 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2250 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2251
b7688c42
PE
22522013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2253
2254 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2255 Define __attribute__.
2256
53a5c423
SP
22572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2258
2259 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2260 unused.
2261 * posix/regex_internal.h (__attribute): Remove.
2262 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2263 (re_string_context_at): Likewise.
2264 (bitset_not): Use __attribute__ and mark function as possibly
2265 unused.
2266 (bitset_merge): Likewise.
2267 (bitset_mask): Likewise.
2268 (re_string_char_size_at): Likewise.
2269 (re_string_wchar_at): Likewise.
2270 (re_string_elem_size_at): Likewise.
2271
60f5a8b5
SP
22722013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
2a983a2e
SP
2274 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2275 code.
2276 (cc32): Likewise.
2277
e69804d1
SP
2278 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2279 (__acr): Likewise.
2280 (__cpy): Likewise.
2281 (norm): Likewise.
2282 (denorm): Likewise.
2283 (__dbl_mp): Likewise.
2284 (add_magnitudes): Likewise.
2285 (sub_magnitudes): Likewise.
2286 (__mul): Likewise.
2287 (__inv): Likewise.
2288
2f22a1e8
SP
2289 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2290 style.
2291
8930ddc7
SP
2292 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2293 style.
2294
dc60cb11
SP
2295 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2296 code.
2297
60f5a8b5
SP
2298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2299 up changes with default code.
2300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2301 Likewise.
2302
b4d1fd33
AM
23032013-02-24 Allan McRae <allan@archlinux.org>
2304
faf6f8bc
AM
2305 * manual/socket.texi (The Internet Namespace): Order menu items
2306 to match that in the file.
2307
b4d1fd33
AM
2308 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2309 node listing of the info page menu.
2310
2366713d
JM
23112013-02-21 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #13550]
2314 * sysdeps/i386/bp-asm.h: Remove file.
2315 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2316 (PARMS): Do not use macros from bp-asm.h.
2317 (S1): Likewise.
2318 (S2): Likewise.
2319 (SIZE): Likewise.
2320 (__mpn_add_n): Do not use BP_SYM
2321 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2322 "bp-asm.h".
2323 (PARMS): Do not use macros from bp-asm.h.
2324 (S1): Likewise.
2325 (SIZE): Likewise.
2326 (__mpn_addmul_1): Do not use BP_SYM
2327 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2328 "bp-asm.h".
2329 (PARMS): Do not use macros from bp-asm.h.
2330 (SIGMSK): Likewise.
2331 (_setjmp): Likewise. Do not use BP_SYM.
2332 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2333 "bp-asm.h".
2334 (PARMS): Do not use macros from bp-asm.h.
2335 (SIGMSK): Likewise.
2336 (setjmp): Likewise. Do not use BP_SYM.
2337 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2338 "bp-asm.h".
2339 (PARMS): Do not use macros from bp-asm.h.
2340 (__frexp): Do not use BP_SYM.
2341 (frexp): Likewise.
2342 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2343 "bp-asm.h".
2344 (PARMS): Do not use macros from bp-asm.h.
2345 (__frexpf): Do not use BP_SYM.
2346 (frexpf): Likewise.
2347 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2348 "bp-asm.h".
2349 (PARMS): Do not use macros from bp-asm.h.
2350 (__frexpl): Do not use BP_SYM.
2351 (frexpl): Likewise.
2352 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2353 "bp-asm.h".
2354 (PARMS): Do not use macros from bp-asm.h.
2355 (__remquo): Do not use BP_SYM.
2356 (remquo): Likewise.
2357 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2358 "bp-asm.h".
2359 (PARMS): Do not use macros from bp-asm.h.
2360 (__remquof): Do not use BP_SYM.
2361 (remquof): Likewise.
2362 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2363 "bp-asm.h".
2364 (PARMS): Do not use macros from bp-asm.h.
2365 (__remquol): Do not use BP_SYM.
2366 (remquol): Likewise.
2367 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2368 "bp-asm.h".
2369 (PARMS): Do not use macros from bp-asm.h.
2370 (DEST): Likewise.
2371 (SRC): Likewise.
2372 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2373 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2374 "bp-asm.h".
2375 (PARMS): Do not use macros from bp-asm.h.
2376 (strlen): Do not use BP_SYM.
2377 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2378 "bp-asm.h".
2379 (PARMS): Do not use macros from bp-asm.h.
2380 (S1): Likewise.
2381 (S2): Likewise.
2382 (SIZE): Likewise.
2383 (__mpn_add_n): Do not use BP_SYM.
2384 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2385 "bp-asm.h".
2386 (PARMS): Do not use macros from bp-asm.h.
2387 (S1): Likewise.
2388 (SIZE): Likewise.
2389 (__mpn_addmul_1): Do not use BP_SYM.
2390 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2391 weak_alias.
2392 (bzero): Likewise.
2393 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2394 "bp-asm.h".
2395 (PARMS): Do not use macros from bp-asm.h.
2396 (S): Likewise.
2397 (SIZE): Likewise.
2398 (__mpn_lshift): Do not use BP_SYM.
2399 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2400 "bp-asm.h".
2401 (PARMS): Do not use macros from bp-asm.h.
2402 (DEST): Likewise.
2403 (SRC): Likewise.
2404 (LEN): Likewise.
2405 (memcpy): Likewise. Do not use BP_SYM.
2406 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2407 libc_hidden_def and weak_alias.
2408 (mempcpy): Do not use BP_SYM in weak_alias.
2409 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2410 "bp-asm.h".
2411 (PARMS): Do not use macros from bp-asm.h.
2412 (DEST): Likewise.
2413 (LEN): Likewise.
2414 [!BZERO_P] (CHR): Likewise.
2415 (memset): Likewise. Do not use BP_SYM.
2416 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2417 "bp-asm.h".
2418 (PARMS): Do not use macros from bp-asm.h.
2419 (S1): Likewise.
2420 (SIZE): Likewise.
2421 (__mpn_mul_1): Do not use BP_SYM.
2422 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2423 "bp-asm.h".
2424 (PARMS): Do not use macros from bp-asm.h.
2425 (S): Likewise.
2426 (SIZE): Likewise.
2427 (__mpn_rshift): Do not use BP_SYM.
2428 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2429 "bp-asm.h".
2430 (PARMS): Do not use macros from bp-asm.h.
2431 (STR): Likewise.
2432 (CHR): Likewise.
2433 (strchr): Likewise. Do not use BP_SYM.
2434 (index): Do not use BP_SYM in weak_alias.
2435 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2436 "bp-asm.h".
2437 (PARMS): Do not use macros from bp-asm.h.
2438 (DEST): Likewise.
2439 (SRC): Likewise.
2440 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2441 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2442 "bp-asm.h".
2443 (PARMS): Do not use macros from bp-asm.h.
2444 (strlen): Do not use BP_SYM.
2445 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2446 "bp-asm.h".
2447 (PARMS): Do not use macros from bp-asm.h.
2448 (S1): Likewise.
2449 (S2): Likewise.
2450 (SIZE): Likewise.
2451 (__mpn_sub_n): Do not use BP_SYM.
2452 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2453 "bp-asm.h".
2454 (PARMS): Do not use macros from bp-asm.h.
2455 (S1): Likewise.
2456 (SIZE): Likewise.
2457 (__mpn_submul_1): Do not use BP_SYM.
2458 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2459 "bp-asm.h".
2460 (PARMS): Do not use macros from bp-asm.h.
2461 (S1): Likewise.
2462 (S2): Likewise.
2463 (SIZE): Likewise.
2464 (__mpn_add_n): Do not use BP_SYM.
2465 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2466 weak_alias.
2467 (bzero): Likewise.
2468 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2469 "bp-asm.h".
2470 (PARMS): Do not use macros from bp-asm.h.
2471 (BLK2): Likewise.
2472 (LEN): Likewise.
2473 (memcmp): Do not use BP_SYM.
2474 (bcmp): Do not use BP_SYM in weak_alias.
2475 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2476 "bp-asm.h".
2477 (PARMS): Do not use macros from bp-asm.h.
2478 (DEST): Likewise.
2479 (SRC): Likewise.
2480 (LEN): Likewise.
2481 (memcpy): Likewise. Do not use BP_SYM.
2482 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2483 "bp-asm.h".
2484 (PARMS): Do not use macros from bp-asm.h.
2485 (DEST): Likewise.
2486 (SRC): Likewise.
2487 (LEN): Likewise.
2488 (memmove): Likewise. Do not use BP_SYM.
2489 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2490 "bp-asm.h".
2491 (PARMS): Do not use macros from bp-asm.h.
2492 (DEST): Likewise.
2493 (SRC): Likewise.
2494 (LEN): Likewise.
2495 (__mempcpy): Likewise. Do not use BP_SYM.
2496 (mempcpy): Do not use BP_SYM in weak_alias.
2497 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2498 "bp-asm.h".
2499 (PARMS): Do not use macros from bp-asm.h.
2500 (DEST): Likewise.
2501 (LEN): Likewise.
2502 [!BZERO_P] (CHR): Likewise.
2503 (memset): Likewise. Do not use BP_SYM.
2504 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2505 "bp-asm.h".
2506 (PARMS): Do not use macros from bp-asm.h.
2507 (STR2): Likewise.
2508 (strcmp): Do not use BP_SYM.
2509 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2510 "bp-asm.h".
2511 (PARMS): Do not use macros from bp-asm.h.
2512 (STR): Likewise.
2513 (DELIM): Likewise.
2514 [USE_AS_STRTOK_R] (SAVE): Likewise.
2515 (FUNCTION): Likewise. Do not use BP_SYM.
2516 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2517 aliases.
2518 (strtok_r): Likewise.
2519 (__GI___strtok_r): Likewise.
2520 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2521 (PARMS): Do not use macros from bp-asm.h.
2522 (S): Likewise.
2523 (SIZE): Likewise.
2524 (__mpn_lshift): Do not use BP_SYM.
2525 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (STR): Likewise.
2528 (CHR): Likewise.
2529 (__memchr): Do not use BP_SYM.
2530 (memchr): Do not use BP_SYM in weak_alias.
2531 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (BLK2): Likewise.
2534 (LEN): Likewise.
2535 (memcmp): Do not use BP_SYM.
2536 (bcmp): Do not use BP_SYM in weak_alias.
2537 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2538 (PARMS): Do not use macros from bp-asm.h.
2539 (S1): Likewise.
2540 (SIZE): Likewise.
2541 (__mpn_mul_1): Do not use BP_SYM.
2542 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2543 "bp-asm.h".
2544 (PARMS): Do not use macros from bp-asm.h.
2545 (STR): Likewise.
2546 (CHR): Likewise.
2547 (__rawmemchr): Do not use BP_SYM.
2548 (rawmemchr): Do not use BP_SYM in weak_alias.
2549 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2550 (PARMS): Do not use macros from bp-asm.h.
2551 (S): Likewise.
2552 (SIZE): Likewise.
2553 (__mpn_rshift): Do not use BP_SYM.
2554 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2555 (PARMS): Do not use macros from bp-asm.h.
2556 (SIGMSK): Likewise.
2557 (__sigsetjmp): Likewise. Do not use BP_SYM.
2558 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2559 (_start): Do not use BP_SYM.
2560 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2561 (PARMS): Do not use macros from bp-asm.h.
2562 (DEST): Likewise.
2563 (SRC): Likewise.
2564 (__stpcpy): Likewise. Do not use BP_SYM.
2565 (stpcpy): Do not use BP_SYM in weak_alias.
2566 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2567 "bp-asm.h".
2568 (PARMS): Do not use macros from bp-asm.h.
2569 (DEST): Likewise.
2570 (SRC): Likewise.
2571 (LEN): Likewise.
2572 (__stpncpy): Likewise. Do not use BP_SYM.
2573 (stpncpy): Do not use BP_SYM in weak_alias.
2574 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2575 (PARMS): Do not use macros from bp-asm.h.
2576 (STR): Likewise.
2577 (CHR): Likewise.
2578 (strchr): Likewise. Do not use BP_SYM.
2579 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2580 "bp-asm.h".
2581 (PARMS): Do not use macros from bp-asm.h.
2582 (STR): Likewise.
2583 (CHR): Likewise.
2584 (__strchrnul): Likewise. Do not use BP_SYM.
2585 (strchrnul): Do not use BP_SYM in weak_alias.
2586 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2587 "bp-asm.h".
2588 (PARMS): Do not use macros from bp-asm.h.
2589 (STOP): Likewise.
2590 (strcspn): Do not use BP_SYM.
2591 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2592 "bp-asm.h".
2593 (PARMS): Do not use macros from bp-asm.h.
2594 (STR): Likewise.
2595 (STOP): Likewise.
2596 (strpbrk): Likewise. Do not use BP_SYM.
2597 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2598 "bp-asm.h".
2599 (PARMS): Do not use macros from bp-asm.h.
2600 (STR): Likewise.
2601 (CHR): Likewise.
2602 (strrchr): Likewise. Do not use BP_SYM.
2603 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2604 (PARMS): Do not use macros from bp-asm.h.
2605 (SKIP): Likewise.
2606 (strspn): Do not use BP_SYM.
2607 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2608 (PARMS): Do not use macros from bp-asm.h.
2609 (STR): Likewise.
2610 (DELIM): Likewise.
2611 (SAVE): Likewise.
2612 (FUNCTION): Likewise. Do not use BP_SYM.
2613 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2614 aliases.
2615 (strtok_r): Likewise.
2616 (__GI___strtok_r): Likewise.
2617 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2618 (PARMS): Do not use macros from bp-asm.h.
2619 (S1): Likewise.
2620 (S2): Likewise.
2621 (SIZE): Likewise.
2622 (__mpn_sub_n): Do not use BP_SYM.
2623 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2624 "bp-asm.h".
2625 (PARMS): Do not use macros from bp-asm.h.
2626 (S1): Likewise.
2627 (SIZE): Likewise.
2628 (__mpn_submul_1): Do not use BP_SYM.
2629 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2630 <bp-sym.h>.
2631 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2632 and <bp-asm.h>.
2633 (PARMS): Do not use macros from bp-asm.h.
2634 (FLAGS): Likewise.
2635 (PTID): Likewise.
2636 (TLS): Likewise.
2637 (CTID): Likewise.
2638 (__clone): Do not use BP_SYM.
2639 (clone): Do not use BP_SYM in weak_alias.
2640 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2641 and <bp-asm.h>.
2642 (PARMS): Do not use macros from bp-asm.h.
2643 (LEN): Likewise.
2644 (__mmap64): Do not use BP_SYM.
2645 (mmap64): Do not use BP_SYM in weak_alias.
2646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2647 <bp-sym.h> and <bp-asm.h>.
2648 (PARMS): Do not use macros from bp-asm.h.
2649 (__posix_fadvise64_l64): Do not use BP_SYM.
2650 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2651 (PARMS): Do not use macros from bp-asm.h.
2652 (NSOPS): Likewise.
2653 (semtimedop): Do not use BP_SYM.
2654 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2655 and <bp-asm.h>.
2656
582a3cff
AM
26572013-02-21 Allan McRae <allan@archlinux.org>
2658
2659 * manual/message.texi (Charset conversion in gettext):
2660 Move @end statement to beginning of line.
2661
bab8a695
SP
26622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
80945231
SP
2664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2665 static.
2666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2667 Likewise.
2668
bab8a695
SP
2669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2670 (denorm): Likewise.
2671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2673
e21d7aa7
AK
26742013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2675
2676 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2677 tail-call to the resolved function if pltexit isn't needed.
2678
4c7a4263
SP
26792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2682 or Y being zero as being unlikely.
2683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2684 Likewise.
2685
41f49342
CD
26862013-02-20 Carlos O'Donell <carlos@redhat.com>
2687
2688 * manual/nss.texi (System Databases and Name Service Switch):
2689 Remove frobnicate @pxref.
2690
50022a93
TS
26912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2692
2693 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2694 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2695
08cbd996
PM
26962013-02-20 Petr Machata <pmachata@redhat.com>
2697
2698 * elf/elf.h (R_ARM_TARGET1): New macro.
2699 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2700 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2701 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2702 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2703 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2704 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2705 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2706 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2707 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2708 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2709 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2710 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2711 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2712 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2713 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2714 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2715 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2716 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2717 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2718 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2719 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2720 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2721 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2722 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2723 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2724 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2725 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2726 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2727 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2728 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2729 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2730 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2731 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2732 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2733 (R_ARM_THM_GOT_BREL12): Likewise.
2734 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2735 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2736 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2737 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2738 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2739 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2740 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2741 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2742 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2743
c7b275d6
TS
27442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2745
2746 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2747 __attribute_used__ to __attribute__ ((unused)).
2748
20cd7fb3
SP
27492013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2750
2751 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2752 powerpc mpa.c.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2754 comment formatting.
2755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2756
92945b52
JM
27572013-02-19 Joseph Myers <joseph@codesourcery.com>
2758
2759 [BZ #13550]
2760 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2761 Remove macro.
2762 (ENTER): Remove both macro definitions.
2763 (LEAVE): Likewise.
2764 (CHECK_BOUNDS_LOW): Likewise.
2765 (CHECK_BOUNDS_HIGH): Likewise.
2766 (CHECK_BOUNDS_BOTH): Likewise.
2767 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2768 (RETURN_BOUNDED_POINTER): Likewise.
2769 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2770 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2771 (POP_ERRNO_LOCATION_RETURN): Likewise.
2772 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2773 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2774 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2775 macros.
2776 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2777 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2778 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2779 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2780 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2781 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2782 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2783 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2784 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2785 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2786 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2787 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2789 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2790 removed macros.
2791 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2792 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2793 macros.
2794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2795 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2796 * sysdeps/i386/i586/memset.S (memset): Likewise.
2797 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2799 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2800 macros.
2801 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2802 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2803 Change uses of L(2) to L(out).
2804 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2805 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2806 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2807 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2808 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2809 removed macros.
2810 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2812 macros.
2813 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2814 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2815 (RETURN): Do not use macro LEAVE.
2816 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2817 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2818 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2819 * sysdeps/i386/i686/memset.S (memset): Likewise.
2820 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2821 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2823 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2824 Likewise.
2825 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2826 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2827 L(1_2) and L(1_3) into L(1).
2828 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2829 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2831 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2832 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2833 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2834 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2836 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2837 macros.
2838 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2839 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2840 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2841 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2842 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2843 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2844 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2845 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2846 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2847 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2848 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2849 * sysdeps/i386/strspn.S (strspn): Likewise.
2850 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2851 conditional code.
2852 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2853 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2854 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2855 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2856 L(1_3) into L(1_1).
2857 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2858 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2859 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2860 macros.
2861 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2862
2389741a
JJ
28632013-02-19 Jakub Jelinek <jakub@redhat.com>
2864
2865 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2866 macro.
2867
2016b3cd
SP
28682013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2869
e4f22324
SP
2870 * math/atest-exp.c (exp_mpn): Remove ROUND.
2871 * math/atest-exp2.c (exp_mpn): Likewise.
2872 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2873
2016b3cd
SP
2874 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2875 * stdlib/tst-tls-atexit-lib.c: Likewise.
2876 * stdlib/tst-tls-atexit.c: Likewise.
2877
4be9b544
MF
28782013-02-18 Mike Frysinger <vapier@gentoo.org>
2879
2880 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2881 and __attribute_alloc_size__.
2882
2f62b9ee
MF
28832013-02-18 Mike Frysinger <vapier@gentoo.org>
2884
2885 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2886 __attribute_alloc_size__.
2887 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2888 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2889
6ff444c4
MF
28902013-02-18 Mike Frysinger <vapier@gentoo.org>
2891
2892 * include/programs/xmalloc.h: New file.
2893 * catgets/gencat.c: Include it.
2894 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2895 * elf/pldd.c: Likewise.
2896 * iconv/iconv_charmap.c: Likewise.
2897 * iconv/iconvconfig.c: Likewise.
2898 * iconv/strtab.c: Likewise.
2899 * locale/programs/locale.c: Likewise.
2900 * locale/programs/localedef.h: Likewise.
2901 * locale/programs/simple-hash.c: Likewise.
2902 * nscd/nscd.h: Likewise.
2903 * nss/makedb.c: Likewise.
2904 * sysdeps/generic/ldconfig.h: Likewise.
2905
be179c8a
SP
29062013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2907
ba384f6e
SP
2908 * Versions.def: Add GLIBC_2.18.
2909 * include/link.h (struct link_map): New member l_tls_dtor_count.
2910 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2911 (__call_tls_dtors): Likewise.
2912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2913 __cxa_thread_atexit_impl.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2915 Likewise.
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2917 Likewise.
2918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2919 Likewise.
2920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2921 Likewise.
2922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2929 Likewise.
2930 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2931 (tests): Add test case tst-tls-atexit.
2932 (modules-names): Add shared library for tst-tls-atexit.
2933 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2934 (GLIBC_PRIVATE): Add __call_tls_dtors.
2935 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2936 for libstdc++.
2937 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2938 * stdlib/tst-tls-atexit.c: New test case.
2939 * stdlib/tst-tls-atexit-lib.c: New test case.
2940
ffaa74cf 2941 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2942
be179c8a
SP
2943 * elf/Versions (ld): Add _dl_find_dso_for_object.
2944 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2945 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2946 (dl_open_worker): Use _dl_find_dso_for_object.
2947 * elf/dl-sym.c (do_sym): Likewise.
2948 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2949
f78b5caa
AK
29502013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2951
2952 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2953 Syntactic changes only.
2954 (_dl_runtime_profile): Do a tail-call to the resolved function.
2955
29691210
JM
29562013-02-17 Joseph Myers <joseph@codesourcery.com>
2957
2958 [BZ #13550]
2959 * sysdeps/x86_64/bp-asm.h: Remove file.
2960 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2961 <bp-sym.h> and <bp-asm.h>.
2962 (__clone): Do not use BP_SYM.
2963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2964 <bp-sym.h> and <bp-asm.h>.
2965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2966 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2967 "bp-asm.h".
2968 (_setjmp): Do not use BP_SYM.
2969 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2970 "bp-asm.h".
2971 (setjmp): Do not use BP_SYM.
2972 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2973 libc_hidden_def.
2974 (mempcpy): Do not use BP_SYM in weak_alias.
2975 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2976 "bp-asm.h".
2977 (strchr): Do not use BP_SYM.
2978 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2979 "bp-asm.h".
2980 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2981 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2982 (_start): Do not use BP_SYM.
2983 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2984 "bp-asm.h".
2985 (strcat): Do not use BP_SYM.
2986 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2987 "bp-asm.h".
2988 (STRCMP): Do not use BP_SYM.
2989 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2990 "bp-asm.h".
2991 (STRCPY): Do not use BP_SYM.
2992 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2993 "bp-asm.h".
2994 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2995 "bp-asm.h".
2996 (FUNCTION): Do not use BP_SYM.
2997 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2998 weak_alias.
2999 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3000
f238fd19
AJ
30012013-02-17 Andreas Jaeger <aj@suse.de>
3002
3003 * time/Versions: Sort entries.
3004 * string/Versions: Likewise.
3005 * resolv/Versions: Likewise.
3006 * posix/Versions: Likewise.
3007 * iconv/Versions: Likewise.
3008 * elf/Versions: Likewise.
3009 * wcsmbs/Versions: Likewise.
3010
bd07f23c 30112013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3012
22af19f9
SP
3013 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3014 loop termination condition.
3015
4709fe76
SP
3016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3017 variable to calculate EZ.
3018 (__sqr): Likewise.
2d0e0f29
SP
3019
3020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3021 the lower precision input.
3022
daaa7713
JM
30232013-02-15 Joseph Myers <joseph@codesourcery.com>
3024
3025 [BZ #13550]
3026 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3027 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3028 (run-via-rtld-prefix): Do not handle %-bp tests.
3029 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3030 (all-object-suffixes): Remove .ob.
3031 (bppfx): Remove variable.
3032 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3033 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3034 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3035 [$(build-bounded) = yes] (libtype.ob): Likewise.
3036 * Makerules (elide-routines.ob): Remove variable.
3037 (do-tests-clean): Do not handle *-bp.out.
3038 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3039 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3040 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3041 (tests): Do not include $(tests-bp.out).
3042 (xtests): Do not include $(xtests-bp.out).
3043 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3044 [$(build-bounded) = yes] ($(addprefix
3045 $(objpfx),$(binaries-bounded))): Remove rule.
3046 ($(objpfx)%-bp.out): Remove rule.
3047 * config.make.in (build-bounded): Remove variable.
3048 * crypt/Makefile [$(build-bounded) = yes]
3049 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3050 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3051 append to variable.
3052 [$(build-bounded) = yes] (install-lib): Likewise.
3053 [$(build-bounded) = yes] (generated): Likewise.
3054 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3055 Remove rule.
3056 * intl/Makefile [$(build-bounded) = yes]
3057 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3058 * math/Makefile [$(build-bounded) = yes]
3059 ($(tests:%=$(objpfx)%-bp): Likewise.
3060 * misc/Makefile [$(build-bounded) = yes]
3061 ($(objpfx)tst-tsearch-bp): Likewise.
3062 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3063 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3064 Remove dependency.
3065 * string/Makefile (o-objects.ob): Remove variable.
3066 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3067 (CFLAGS-.ob): Remove variable.
3068 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3069 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3070 both definitions of variable.
3071 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3072 (ASFLAGS-.ob): Remove variable.
3073
e97ed6dd
JM
30742013-02-14 Joseph Myers <joseph@codesourcery.com>
3075
2bdd4ca6
JM
3076 [BZ #13550]
3077 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3078 Remove __BOUNDED_POINTERS__ from condition.
3079 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3080 * string/bits/string2.h [!__NO_STRING_INLINES &&
3081 !__BOUNDED_POINTERS__]: Likewise.
3082 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3085 Remove conditional code.
3086 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3087 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3088 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3089 condition.
3090
e97ed6dd
JM
3091 [BZ #13550]
3092 * csu/libc-start.c: Do not include <bp-sym.h>.
3093 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3094 * elf/dl-open.c: Do not include <bp-sym.h>.
3095 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3096 * math/fegetenv.c: Do not include <bp-sym.h>.
3097 (fegetenv): Do not use BP_SYM in versioned symbols.
3098 * nptl/sysdeps/pthread/bits/libc-lockP.h
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3100 <bp-sym.h>.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_mutex_destroy): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3106 (__pthread_mutex_lock): Likewise.
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (__pthread_mutex_trylock): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (__pthread_mutex_unlock): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (__pthread_mutexattr_init): Likewise.
3113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3114 (__pthread_mutexattr_destroy): Likewise.
3115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3116 (__pthread_mutexattr_settype): Likewise.
3117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3118 (__pthread_rwlock_init): Likewise.
3119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3120 (__pthread_rwlock_destroy): Likewise.
3121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3122 (__pthread_rwlock_rdlock): Likewise.
3123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3124 (__pthread_rwlock_tryrdlock): Likewise.
3125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3126 (__pthread_rwlock_wrlock): Likewise.
3127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3128 (__pthread_rwlock_trywrlock): Likewise.
3129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3130 (__pthread_rwlock_unlock): Likewise.
3131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3132 (__pthread_key_create): Likewise.
3133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3134 (__pthread_setspecific): Likewise.
3135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3136 (__pthread_getspecific): Likewise.
3137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3138 Likewise.
3139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3140 (_pthread_cleanup_push_defer): Likewise.
3141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3142 (_pthread_cleanup_pop_restore): Likewise.
3143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3144 (pthread_setcancelstate): Likewise.
3145 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3146 <bp-sym.h>.
3147 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3148 (memchr): Do not use BP_SYM in weak_alias.
3149 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3150 (fegetenv): Do not use BP_SYM in versioned symbols.
3151 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3152 (fesetenv): Do not use BP_SYM in versioned symbols.
3153 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3154 (feupdateenv): Do not use BP_SYM in versioned symbols.
3155 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3157 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3158 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3159 (open64): Do not use BP_SYM in weak_alias.
3160 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3161 (fegetenv): Do not use BP_SYM in versioned symbols.
3162 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3163 (fesetenv): Do not use BP_SYM in versioned symbols.
3164 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3165 (feupdateenv): Do not use BP_SYM in versioned symbols.
3166 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3167 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3168 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3169 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3170 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3173 <bp-sym.h>.
3174 (__libc_start_main): Do not use BP_SYM.
3175
d6752ccd
SP
31762013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
cb57ce60
SP
3178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3179 redundant return line.
3180 (norm): Likewise.
3181 (denorm): Likewise.
3182 (dbl_mp): Likewise.
3183 (sub_magnitudes): Likewise.
3184 (__add): Likewise.
3185 (__sub): Likewise.
3186 (__mul): Likewise.
3187 (__inv): Likewise.
3188 (__dvd): Likewise.
3189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3190 (norm): Likewise.
3191 (denorm): Likewise.
3192 (dbl_mp): Likewise.
3193 (sub_magnitudes): Likewise.
3194 (__add): Likewise.
3195 (__sub): Likewise.
3196 (__mul): Likewise.
3197 (__inv): Likewise.
3198 (__dvd): Likewise.
3199
f414520d
SP
3200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3201 instead of __mul.
3202 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3203 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3204 (cc32): Likewise.
3205
d6752ccd
SP
3206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3207 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3209 of __mul for squares.
3210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3211 function
3212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3213 Likewise.
3214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3216
70d9946a
JM
32172013-02-13 Joseph Myers <joseph@codesourcery.com>
3218
3219 [BZ #13550]
3220 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3221 code.
3222 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3223 prototype or function definition. Rename ubp_* variables and
3224 parameters. Remove argv definitions conditional on
3225 [__BOUNDED_POINTERS__].
3226 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3227 * elf/dl-runtime.c (_dl_fixup): Likewise.
3228 * include/set-hooks.h (RUN_HOOK): Likewise.
3229 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3230 definition.
3231 * string/strcpy.c (strcpy): Do not use __unbounded.
3232 * sysdeps/generic/frame.h (struct layout): Likewise.
3233 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3234 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3235 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3236 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3237 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3238 (__backtrace): Likewise.
3239 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3240 use __ptrvalue.
3241 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3242 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3243 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3244 Likewise.
3245 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3246 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3248 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3249 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3250 Do not use __unbounded.
3251 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3252 Rename __unboundedrlimits parameter to rlimits in prototype.
3253 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3254 Do not use __unbounded.
3255 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3256 not use __ptrvalue.
3257 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3258 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3259 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3261 __ptrvalue or __unbounded.
3262 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3263 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3264 use __unbounded.
3265 (__new_msgctl): Do not use __ptrvalue.
3266 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3267 __unbounded.
3268 (__libc_msgrcv): Do not use __ptrvalue.
3269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3270 startup_info): Do not use __unbounded.
3271 (__libc_start_main): Likewise. Rename ubp_* variables and
3272 parameters. Remove argv definitions conditional on
3273 [__BOUNDED_POINTERS__].
3274 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3275 __ptrvalue.
3276 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3277 use __unbounded.
3278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3279 or __ptrvalue.
3280 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3281 use __unbounded.
3282 (__new_shmctl): Do not use __ptrvalue.
3283 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3284 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3285 Likewise.
3286 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3288 (__libc_sigaction): Likewise.
3289 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3291 Likewise.
3292 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3293
cc7834d6
OB
32942013-02-13 Ondřej Bílka <neleai@seznam.cz>
3295
ffb1ec7b 3296 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3297
3298 * string/mempcpy.c: Implement by calling memcpy.
3299
bdf02814
SP
33002013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3301
c2af38aa
SP
3302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3303
4e92d59e
SP
3304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3305 evaluation.
3306
909279a5
SP
3307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3308 values in the mantissa.
3309
bdf02814
SP
3310 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3311 minimize writes to Z.
3312 (sub_magnitudes): Simplify code a bit.
3313
cd525923
RM
33142013-02-12 Roland McGrath <roland@hack.frob.com>
3315
3316 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3317 from the message. The linker prefixes all warnings with that already.
3318
7e2f0d2d
AS
33192013-02-12 Andreas Schwab <schwab@suse.de>
3320
a445af0b
AS
3321 [BZ #15078]
3322 * posix/regexec.c (extend_buffers): Add parameter min_len.
3323 (check_matching): Pass minimum needed length.
3324 (clean_state_log_if_needed): Likewise.
3325 (get_subexp): Likewise.
3326 * posix/Makefile (tests): Add bug-regex34.
3327 (bug-regex34-ENV): Define.
3328 * posix/bug-regex34.c: New file.
3329
7e2f0d2d
AS
3330 [BZ #11561]
3331 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3332 elements compare against the byte sequence of it, not its name.
3333 * posix/Makefile (tests): Add bug-regex35.
3334 (bug-regex35-ENV): Define.
3335 * posix/bug-regex35.c: New file.
3336
a175b684
TV
33372013-02-11 Tom de Vries <tom@codesourcery.com>
3338
3339 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3340 comment.
3341 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3342 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3343 (CHECK_EOL): Add undef.
3344
310998fe 33452013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3346
3347 * bits/stdlib-bsearch.h: New file.
3348 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3349 * stdlib/stdlib.h: Likewise.
41eda41d 3350
8ded91fb
RM
33512013-02-11 Roland McGrath <roland@hack.frob.com>
3352
3353 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3354 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3355 declaration.
3356 * manual/search.texi (Array Search Function): Add missing const in
3357 lfind prototype.
3358 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3359 declaration to use rlim_t.
3360 (Basic Scheduling Functions): Remove erroneous const from
3361 sched_getparam prototype. Remove erroneous * from
3362 sched_get_priority_max and sched_get_priority_min prototypes.
3363 (Resource Usage): Fix summary @comment on vtimes to refer to
3364 sys/vtimes.h rather than vtimes.h.
3365 Add missing *s in vtimes prototype.
3366 (Limits on Resources): Fix ulimit prototype to return long int.
3367 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3368 prototypes to use long int rather than double.
3369 (BSD Random): Fix initstate and setstate to use char *, not void *.
3370 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3371 prototype to make second argument 'struct aiocb64 *const[]'.
3372 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3373 (Status of AIO Operations): Remove erroneous const in aio_return and
3374 aio_return64 prototypes.
3375 (Synchronizing I/O): Fix sync prototype to return void.
3376 * manual/startup.texi (Suboptions): Remove an erroneous const in
3377 getsubopt prototype.
3378 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3379 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3380 use size_t rather than int.
3381 (Scanning All Users): Likewise for getpwent_r.
3382 (Setting Groups): Add missing const to setgroups prototype.
3383 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3384 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3385 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3386 'const void *' rather than 'const char *'.
3387 (Host Address Functions): Likewise for inet_ntop.
3388 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3389 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3390 ssize_t for return value.
3391 (Sending Data): Likewise for send, sendto, sendmsg.
3392 (Socket Option Functions): Add a missing const in setsockopt prototype.
3393 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3394 use wchar_t for the argument.
3395 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3396 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3397 take no arguments.
3398 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3399 double/float/long double for second argument.
3400 Fix return types of significand, significandf, significandl.
3401 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3402 argument in fchmod prototype.
3403 (File Owner): Use uid_t and gid_t in fchown prototype.
3404 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3405 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3406 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3407 use 'const struct dirent **' as argument types to CMP function pointer
3408 argument.
3409 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3410 (File Times): Fix summary magic @comment for struct utimbuf and utime
3411 to refer to utime.h, not time.h.
3412 * manual/string.texi (Argz Functions): Add missing const in
3413 argz_extract and argz_next prototypes.
3414 (Finding Tokens in a String): Likewise for basename.
3415 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3416 (Copying and Concatenation): Fix typo in wmemmove prototype.
3417 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3418 (Signal Stack): Remove erroneous const in sigstack prototype.
3419 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3420 prototype.
3421 (Simple Calendar Time): Likewise for stime.
3422 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3423 prototype.
3424 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3425 say sys/sysctl.h instead.
3426 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3427 and vsyslog prototypes.
3428
fe77fe6d
TV
34292013-02-11 Tom de Vries <tom@codesourcery.com>
3430
3431 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3432 Remove.
3433
3a09b620
RM
34342013-02-11 Roland McGrath <roland@hack.frob.com>
3435
3436 * misc/sys/mman.h: Fix typo in mremap comment.
3437
550a0b89
RM
34382013-02-08 Roland McGrath <roland@hack.frob.com>
3439
3440 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3441 the '\0' terminator.
3442
a2da1673
JM
34432013-02-08 Joseph Myers <joseph@codesourcery.com>
3444
3445 [BZ #13550]
3446 * debug/segfault.c: Don't include <bp-checks.h>.
3447 * sysdeps/generic/bp-checks.h: Remove file.
3448 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3449 (__GETDENTS): Don't use CHECK_N.
3450 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3451 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3452 (__getgroups): Don't use CHECK_N.
3453 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3454 (setgroups): Don't use CHECK_N.
3455 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3456 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3457 (__libc_msgrcv): Don't use CHECK_N.
3458 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3459 (__libc_msgsnd): Don't use CHECK_N.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3461 <bp-checks.h>.
3462 (__libc_pread): Don't use CHECK_N.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3464 include <bp-checks.h>.
3465 (__libc_pread64): Don't use CHECK_N.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3467 include <bp-checks.h>.
3468 (__libc_pwrite): Don't use CHECK_N.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3470 include <bp-checks.h>.
3471 (__libc_pwrite64): Don't use CHECK_N.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3473 <bp-checks.h>.
3474 (__libc_pread): Don't use CHECK_N.
3475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3476 include <bp-checks.h>.
3477 (__libc_pread64): Don't use CHECK_N.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3479 include <bp-checks.h>.
3480 (__libc_pwrite): Don't use CHECK_N.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3482 include <bp-checks.h>.
3483 (__libc_pwrite64): Don't use CHECK_N.
3484 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3485 (do_pread): Don't use CHECK_N.
3486 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3487 (do_pread64): Don't use CHECK_N.
3488 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3489 (do_pwrite): Don't use CHECK_N.
3490 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3491 (do_pwrite64): Don't use CHECK_N.
3492 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3493 (__libc_readv): Don't use CHECK_N.
3494 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3495 (semop): Don't use CHECK_N.
3496 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3497 <bp-checks.h>.
3498 (semtimedop): Don't use CHECK_N.
3499 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3500 (__libc_pread): Don't use CHECK_N.
3501 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3502 <bp-checks.h>.
3503 (__libc_pread64): Don't use CHECK_N.
3504 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3505 <bp-checks.h>.
3506 (__libc_pwrite): Don't use CHECK_N.
3507 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3508 <bp-checks.h>.
3509 (__libc_pwrite64): Don't use CHECK_N.
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3511 <bp-checks.h>.
3512 (__libc_msgrcv): Don't use CHECK_N.
3513 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3514 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3515 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3516 (__libc_writev): Don't use CHECK_N.
3517
b84660a8
RM
35182013-02-08 Roland McGrath <roland@hack.frob.com>
3519
7f3e75f8
RM
3520 * string/strcpy.c: Removed unused variable.
3521
b84660a8
RM
3522 * Makeconfig (+sysdep-includes): Define with := rather than =.
3523 Use an existing include/ subdir of each sysdeps dir before it.
3524
471514d3
CD
35252013-02-08 Carlos O'Donell <carlos@redhat.com>
3526
3527 * nscd/connection.c (register_traced_file): Comment function.
3528 [HAVE_INOTIFY] (union __inev): Define.
3529 [HAVE_INOTIFY] (inotify_check_files): New function.
3530 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3531 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3532 clear_db_cache.
3533 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3534
b2d3c3be
CD
35352013-02-08 Carlos O'Donell <carlos@redhat.com>
3536
3537 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3538 loaded if not already and that a failure is permanent.
3539
b39949d2
CD
35402013-02-08 Carlos O'Donell <carlos@redhat.com>
3541
ddacd1db 3542 [BZ #15006]
b39949d2
CD
3543 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3544 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3545
b2c9eff4
JM
35462013-02-08 Joseph Myers <joseph@codesourcery.com>
3547
f3aae3f3
JM
3548 [BZ #13550]
3549 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3550 (CHECK_1_NULL_OK): Likewise.
3551 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3552 (__fxstat): Do not use CHECK_1.
3553 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3554 <bp-checks.h>.
3555 (___fxstat64): Do not use CHECK_1.
3556 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3557 <bp-checks.h>.
3558 (__fxstatat): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3560 <bp-checks.h>.
3561 (__fxstatat64): Do not use CHECK_1.
3562 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3563 <bp-checks.h>.
3564 (__fxstat): Do not use CHECK_1.
3565 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3566 <bp-checks.h>.
3567 (__fxstatat): Do not use CHECK_1.
3568 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3569 <bp-checks.h>.
3570 (__getresgid): Do not use CHECK_1.
3571 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3572 <bp-checks.h>.
3573 (__getresuid): Do not use CHECK_1.
3574 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3575 <bp-checks.h>.
3576 (__lxstat): Do not use CHECK_1.
3577 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3578 <bp-checks.h>.
3579 (__old_msgctl): Do not use CHECK_1.
3580 (__new_msgctl): Likewise.
3581 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3582 <bp-checks.h>.
3583 (__new_setrlimit): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3585 <bp-checks.h>.
3586 (__old_shmctl): Do not use CHECK_1.
3587 (__new_shmctl): Likewise.
3588 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3589 <bp-checks.h>.
3590 (__xstat): Do not use CHECK_1.
3591 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3592 (__lxstat): Do not use CHECK_1.
3593 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3594 <bp-checks.h>.
3595 (___lxstat64): Do not use CHECK_1.
3596 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3597 (__old_msgctl): Do not use CHECK_1.
3598 (__new_msgctl): Likewise.
3599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3600 <bp-checks.h>.
3601 (__gettimeofday): Do not use CHECK_1.
3602 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3603 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3605 <bp-checks.h>.
3606 (__gettimeofday): Do not use CHECK_1.
3607 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3608 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3609 (__new_shmctl): Do not use CHECK_1.
3610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3611 <bp-checks.h>.
3612 (do_sigtimedwait): Do not use CHECK_1.
3613 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3614 <bp-checks.h>.
3615 (do_sigwaitinfo): Do not use CHECK_1.
3616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3617 <bp-checks.h>.
3618 (msgctl): Do not use CHECK_1.
3619 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3620 <bp-checks.h>.
3621 (shmctl): Do not use CHECK_1.
3622 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3623 (ustat): Do not use CHECK_1.
3624 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3625 <bp-checks.h>.
3626 (__fxstat): Do not use CHECK_1.
3627 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3628 <bp-checks.h>.
3629 (__fxstatat): Do not use CHECK_1.
3630 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3631 <bp-checks.h>.
3632 (__lxstat): Do not use CHECK_1.
3633 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3634 <bp-checks.h>.
3635 (__xstat): Do not use CHECK_1.
3636 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3637 (__xstat): Do not use CHECK_1.
3638 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3639 (___xstat64): Do not use CHECK_1.
3640
b2c9eff4
JM
3641 [BZ #13550]
3642 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3643 definitions.
3644 (CHECK_BOUNDS_HIGH): Likewise.
3645 * string/strcpy.c: Do not include <bp-checks.h>.
3646 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3647
f1d70dad
RM
36482013-02-07 Roland McGrath <roland@hack.frob.com>
3649
3650 * nscd/nscd-client.h (__nscd_drop_map_ref):
3651 Add __attribute__ ((unused)).
3652 * nis/nss-nisplus.h (niserr2nss): Likewise.
3653
3654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3655 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3656
3657 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3658 Remove inline keyword.
3659 * include/rounding-mode.h (round_away): Likewise.
3660 * libio/wfileops.c (adjust_wide_data): Likewise.
3661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3662 (__m128i_strloadu_tolower): Likewise.
3663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3664 (__m128i_strloadu_tolower): Likewise.
3665 * time/mktime.c (ydhms_diff): Likewise.
3666 * locale/elem-hash.h (elem_hash): Likewise.
3667 * locale/setlocale.c (setdata): Likewise.
3668 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3669 (re_string_wchar_at): Likewise.
3670 (bitset_not, bitset_merge, bitset_mask): Likewise.
3671 [!(__GNUC__ > 3)] (inline): Remove macro.
3672 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3673 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3674 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3675 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3676 * string/memcmp.c (memcmp_bytes): Likewise.
3677 * locale/programs/locarchive.c (compute_hashval): Likewise.
3678 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3679 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3680 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3681 * nss/getent.c (print_rpc, print_protocols): Likewise.
3682 (print_passwd, print_group, print_aliases): Likewise.
3683 * nis/nss-nisplus.h (niserr2nss): Likewise.
3684 * nscd/connections.c (restart_p): Likewise.
3685 Change return type to bool.
3686
eab55bfb
RM
36872013-02-05 Roland McGrath <roland@hack.frob.com>
3688
7bd642f5
RM
3689 * Makeconfig (all-Depend-files): Add existing
3690 $(sorted-subdirs:=/Depend) files.
3691 (all-subdirs): Remove nss.
3692 * sysdeps/unix/inet/Subdirs: Add it here instead.
3693 * hesiod/Depend: New file.
3694
573c29b2
RM
3695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3696 instead of calling alloca.
3697
b2e25af0
RM
3698 * io/lseek.c (__lseek): Rename to __libc_lseek.
3699 Define __lseek as an alias.
3700
eab55bfb
RM
3701 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3702
9a0d1941
CD
37032013-02-04 Carlos O'Donell <carlos@redhat.com>
3704
3705 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3706 else clause and remove check for non-standard endianness.
3707
b83bbec4
DM
37082013-02-04 David S. Miller <davem@davemloft.net>
3709
3710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3711
6277fdab
JM
37122013-02-04 Joseph Myers <joseph@codesourcery.com>
3713
3714 [BZ #13550]
3715 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3716 (__ubp_memchr): Remove prototype.
3717 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3718 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3719 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3720 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3721 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3722 Remove alias.
3723 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3724 (__ubp_memchr): Likewise.
3725 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3726 (__ubp_memchr): Likewise.
3727 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3728 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3729 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3730 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3731 CHECK_STRING.
3732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3733 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3734 (__getcwd): Do not use CHECK_STRING.
3735 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3736 <bp-checks.h>.
3737 (__real_chown): Do not use CHECK_STRING.
3738 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3739 <bp-checks.h>.
3740 (fchownat): Do not use CHECK_STRING.
3741 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3742 CHECK_STRING.
3743 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3744 <bp-checks.h>.
3745 (__lchown): Do not use CHECK_STRING.
3746 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3747 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3748 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3749 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3751 include <bp-checks.h>.
3752 (truncate64): Do not use CHECK_STRING.
3753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3754 <bp-checks.h>.
3755 (__real_chown): Do not use CHECK_STRING.
3756 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3757 <bp-checks.h>.
3758 (__lchown): Do not use CHECK_STRING.
3759 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3760 <bp-checks.h>.
3761 (__chown): Do not use CHECK_STRING.
3762 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3763 <bp-checks.h>.
3764 (truncate64): Do not use CHECK_STRING.
3765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3766 Likewise.
3767 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3768 (__xmknod): Do not use CHECK_STRING.
3769 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3770 <bp-checks.h>.
3771 (__xmknodat): Do not use CHECK_STRING.
3772 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3773 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3774
903ae060
AS
37752013-02-04 Andreas Schwab <schwab@suse.de>
3776
3777 [BZ #14142]
3778 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3779 * include/netdb.h: Likewise for h_errno.
3780 * elf/tst-stackguard1.c: Include <tls.h>.
3781
542f9466
JK
37822013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3783
3784 * elf/link.h (struct link_map): Extend the l_addr comment.
3785 * include/link.h (struct link_map): Likewise.
3786
e782a927
JM
37872013-02-01 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #13550]
3790 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3791 (BOUNDED_1): Remove macro.
3792 * debug/backtrace.c: Don't include <bp-checks.h>.
3793 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3794 (__backtrace): Likewise.
3795 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3796 <bp-checks.h>.
3797 (__backtrace): Don't use BOUNDED_1.
3798 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3799 <bp-checks.h>.
3800 (__backtrace): Don't use BOUNDED_1.
3801 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3802 (__backtrace): Don't use BOUNDED_1.
3803 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3804 (shmat): Don't use BOUNDED_N.
3805
8cf28c5e
JM
38062013-01-31 Joseph Myers <joseph@codesourcery.com>
3807
3a7ac8a0
JM
3808 [BZ #13550]
3809 * sysdeps/generic/bp-start.h: Remove file.
3810 * csu/libc-start.c: Don't include <bp-start.h>.
3811 (LIBC_START_MAIN): Set up __environ directly instead of using
3812 INIT_ARGV_and_ENVIRON.
3813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3814 <bp-start.h>.
3815
f3499f95
JM
3816 [BZ #13550]
3817 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3818 definitions.
3819 (CHECK_FCNTL): Likewise.
3820 (CHECK_N_PAGES): Likewise.
3821
32a45bea
JM
3822 [BZ #13550]
3823 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3824 definitions.
3825 (CHECK_SIGSET_NULL_OK): Likewise.
3826 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3827 <bp-checks.h>.
3828 (sigpending): Don't use CHECK_SIGSET.
3829 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3830 <bp-checks.h>.
3831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3832 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3833 <bp-checks.h>.
3834 (do_sigsuspend): Don't use CHECK_SIGSET.
3835 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3836 use CHECK_SIGSET.
3837 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3838 (do_sigwait): Don't use CHECK_SIGSET.
3839 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3840 use CHECK_SIGSET.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3842 include <bp-checks.h>.
3843 (sigpending): Don't use CHECK_SIGSET.
3844 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3845 include <bp-checks.h>.
3846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3847 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3848 <bp-checks.h>.
3849 (sigpending): Don't use CHECK_SIGSET.
3850 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3851 <bp-checks.h>.
3852 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3853
2e8a5c8c
JM
3854 [BZ #13550]
3855 * sysdeps/generic/bp-semctl.h: Remove file.
3856 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3857 <bp-checks.h> and <bp-semctl.h>.
3858 (__old_semctl): Don't use CHECK_SEMCTL.
3859 (__new_semctl): Likewise.
3860 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3861 and <bp-semctl.h>.
3862 (__old_semctl): Don't use CHECK_SEMCTL.
3863 (__new_semctl): Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3865 <bp-checks.h> and <bp-semctl.h>.
3866 (__old_semctl): Don't use CHECK_SEMCTL.
3867 (__new_semctl): Likewise.
3868 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3869 <bp-checks.h> and <bp-semctl.h>.
3870 (semctl): Don't use CHECK_SEMCTL.
3871
c2d54929
JM
3872 [BZ #13550]
3873 * Makerules (elide-bp-thunks): Remove variable.
3874 (elide-routines.oS): Don't use $(elide-bp-thunks).
3875 (elide-routines.os): Likewise.
3876 (elide-routines.o): Likewise.
3877 (elide-routines.op): Likewise.
3878 (elide-routines.og): Likewise.
3879 (objects): Don't use $(bp-thunks).
3880 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3881 include.
3882 (common-generated): Do not add s-proto-bp.d.
3883 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3884 (int): Likewise.
3885 (typ): Likewise.
3886 Do not generate makefile rules for bounded-pointer thunks.
3887 * sysdeps/generic/bp-thunks.h: Remove file.
3888 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3889 * sysdeps/unix/s-proto-bp.S: Likewise.
3890
8cf28c5e
JM
3891 [BZ #15062]
3892 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3893 parts of result separately when argument is not close to line from
3894 -i to i and one part of argument is small.
3895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3897 * math/libm-test.inc (cacos_test): Add more tests.
3898 (casin_test): Likewise.
3899 (casinh_test): Likewise.
3900 * sysdeps/i386/fpu/libm-test-ulps: Update.
3901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3902
c4e33b8d
DM
39032013-01-31 David S. Miller <davem@davemloft.net>
3904
3905 * po/de.po: Update from translation team.
3906
3b60b421
MK
39072013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3908
3909 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3910
bb931195
TS
39112013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3912
b5a5da23
TS
3913 * configure.in (_AC_PROG_CC_C89): New definition.
3914 * configure: Regenerate.
3915
bb931195
TS
3916 * configure.in (AC_PROG_CPP): New definition.
3917 * configure: Regenerate.
3918
8c53a12c
JM
39192013-01-23 Joseph Myers <joseph@codesourcery.com>
3920
3921 * debug/tst-backtrace.h: New file.
3922 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3923 (ret): Remove variable.
3924 (x): Likewise.
3925 (FAIL): Remove macro.
3926 (NO_INLINE): Likewise.
3927 (fn1): Use match function instead of strstr.
3928 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3929 (ret): Remove variable.
3930 (x): Likewise.
3931 (FAIL): Remove macro.
3932 (NO_INLINE): Likewise.
3933 (fn): Use match function instead of strstr.
3934 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3935 (ret): Remove variable.
3936 (x): Likewise.
3937 (FAIL): Remove macro.
3938 (NO_INLINE): Likewise.
3939 (handle_signal): Use match function instead of strstr.
3940 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3941 (ret): Remove variable.
3942 (x): Likewise.
3943 (FAIL): Remove macro.
3944 (NO_INLINE): Likewise.
3945 (handle_signal): Use match function instead of strstr.
3946
4858fa2a
RM
39472013-01-23 Roland McGrath <roland@hack.frob.com>
3948
3949 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3950
bae8e7f5
DM
39512013-01-23 David S. Miller <davem@davemloft.net>
3952
3953 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3954 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3955 argument of CAS if possible.
3956 * sysdeps/sparc/sparc64/bits/atomic.h
3957 (__arch_compare_and_exchange_val_32_acq): Likewise.
3958 (__arch_compare_and_exchange_val_64_acq): Likewise.
3959
9cbbc4ae
PT
39602013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3961
3962 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3963 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3964 Include <limits.h>.
67b3f58c 3965 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3966
5655a0b5
AC
39672013-01-23 Adam Conrad <adconrad@0c3.net>
3968
3969 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3970 (LDFLAGS-tst-array5): Likewise.
3971
052aff95
JM
39722013-01-23 Joseph Myers <joseph@codesourcery.com>
3973
3974 [BZ #15036]
3975 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3976 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3977 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3979
7c1e01aa
DM
39802013-01-21 David S. Miller <davem@davemloft.net>
3981
3982 * sysdeps/sparc/backtrace.c: New file.
3983 * sysdeps/sparc/sparc32/backtrace.h: New file.
3984 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3985 * sysdeps/sparc/sparc64/backtrace.h: New file.
3986 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3987 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3988 -funwind-tables.
3989
ab087e0a
AS
39902013-01-21 Andreas Schwab <schwab@suse.de>
3991
3992 [BZ #15020]
3993 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3994 closed its stdout.
3995
ed689c2f
AS
39962013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3997
3998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3999 "mpa2.h".
4000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4001
31d470ac
JM
40022013-01-18 Joseph Myers <joseph@codesourcery.com>
4003 Mark Mitchell <mark@codesourcery.com>
4004 Tom de Vries <tom@codesourcery.com>
4005 Paul Pluzhnikov <ppluzhnikov@google.com>
4006
4007 * debug/tst-backtrace2.c: New file.
4008 * debug/tst-backtrace3.c: Likewise.
4009 * debug/tst-backtrace4.c: Likewise.
4010 * debug/tst-backtrace5.c: Likewise.
4011 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4012 (CFLAGS-tst-backtrace3.c): Likewise.
4013 (CFLAGS-tst-backtrace4.c): Likewise.
4014 (CFLAGS-tst-backtrace5.c): Likewise.
4015 (LDFLAGS-tst-backtrace2): Likewise.
4016 (LDFLAGS-tst-backtrace3): Likewise.
4017 (LDFLAGS-tst-backtrace4): Likewise.
4018 (LDFLAGS-tst-backtrace5): Likewise.
4019 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4020 tst-backtrace4 and tst-backtrace5.
4021
90567f30 40222013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4023 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4024
4025 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4026 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4028 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4030 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4031 "+r" and remove output regs list as redundant. Add explicit inline
4032 asm to specify register of return val to work around compiler codegen
4033 bug. Remove (int) cast on return value. Add return type parameter to
4034 use in macro so that this macro does not truncate return value for
4035 64-bit values.
4036 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4037 pass to INTERNAL_VSYSCALL_NCS.
4038 (INLINE_VSYSCALL): Add 'long int' as return type to
4039 INTERNAL_VSYSCALL_NCS macro invocation.
4040 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4041 INTERNAL_VSYSCALL_NCS macro invocation.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4043
d3b9ea61
SP
40442013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4045
0b57daeb
SP
4046 [BZ #14496]
4047 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4048 Fix application of SIMD FP exception mask.
4049
caa99d06
SP
4050 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4051 mp_no from a power of two.
4052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4053 __mpexp_twomm1. Use __pow_mp.
4054
d3b9ea61
SP
4055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4056 multiplication.
4057
1dbaee3c
DM
40582013-01-17 David S. Miller <davem@davemloft.net>
4059
4060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4061
728d7b43
JM
40622013-01-17 Joseph Myers <joseph@codesourcery.com>
4063
4064 [BZ #15023]
4065 * include/complex.h: Condition contents on [!_COMPLEX_H].
4066 (__kernel_casinhf): New prototype.
4067 (__kernel_casinh): Likewise.
4068 (__kernel_casinhl): Likewise.
4069 * math/Makefile (libm_calls): Add k_casinh.
4070 * math/k_casinh.c: New file.
4071 * math/k_casinhf.c: Likewise.
4072 * math/k_casinhl.c: Likewise.
4073 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4074 finite nonzero arguments.
4075 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4076 finite nonzero arguments.
4077 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4078 finite nonzero arguments.
4079 * math/s_casinh.c: Do not include <float.h>.
4080 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4081 * math/s_casinhf.c: Do not include <float.h>.
4082 (__casinhf): Move code for finite nonzero arguments to
4083 k_casinhf.c.
4084 * math/s_casinhl.c: Do not include <float.h>.
4085 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4086 redefine.
4087 (__casinhl): Move code for finite nonzero arguments to
4088 k_casinhl.c.
4089 * math/libm-test.inc (cacos_test): Add more tests.
4090 * sysdeps/i386/fpu/libm-test-ulps: Update.
4091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4092
2a26ef3a
PT
40932013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4094
4095 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4096 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4097 [!HAVE_MREMAP]: Remove [defined linux] case.
4098 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4099
a897655d
SP
41002013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4101
4102 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4103
881ebe89 41042013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4105
4106 * elf/elf.h (R_386_SIZE32): New relocation.
4107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4108 R_386_SIZE32.
4109 (elf_machine_rela): Likewise.
4110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4111 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4112
59981e9b
JM
41132013-01-17 Joseph Myers <joseph@codesourcery.com>
4114
4115 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4116 (FP_FAST_FMA): Do not define.
4117 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4118 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4119 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4120 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4121 !_SOFT_FLOAT]: Likewise.
4122 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4124 value.
4125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4126 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4129 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4130 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4131 file.
4132
cfa8054f
AS
41332013-01-16 Andreas Schwab <schwab@suse.de>
4134
4135 [BZ #14327]
4136 * include/stdlib.h (__mktemp): Add declaration.
4137 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4138 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4139
dd930cc5
SP
41402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
881ebe89
SP
4142 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4143 definitions.
4144 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4145 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4146 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4147 definitions here.
4148 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4149 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4150 definitions.
4151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4152 and ONE.
4153 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4154 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4156 definitions.
4157 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4158 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4159 definitions.
4160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4161
dd930cc5
SP
4162 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4163
c19a9f89
DM
41642013-01-15 David S. Miller <davem@davemloft.net>
4165
1aa61767
DM
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4167 trunc{,f} to libm-sysdep_routes.
4168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4170 file.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4173 file.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4175 file.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4182 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4184
c42d5e98
DM
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4186 nearbyint{,f} to libm-sysdep_routes.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4189 New file.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4191 file.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4193 New file.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4195 file.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4199 file.
4200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4202 file.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4204 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4205 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4206
c19a9f89
DM
4207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4208 libc_feholdexcept and libc_fesetenv.
4209
357679d2
MF
42102013-01-15 Mike Frysinger <vapier@gentoo.org>
4211
4212 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4213
65a82e3d
DM
42142013-01-14 David S. Miller <davem@davemloft.net>
4215
8b954ab9
DM
4216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4217 (SPARC_ASM_VIS2_IFUNC): Likewise.
4218 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4220 use of 'siam' instruction.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4222 Likewise.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4224 Likewise.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4226 Likewise.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4232 file.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4234 file.
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4236 file.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4238 file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4244 new VIS2 routines.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4248 Likewise.
4249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4254 routines to libm-sysdep_routines.
4255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4256
65a82e3d
DM
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4258 fdim/fdimf to libm-sysdep_routines.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4260 file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4263 file.
4264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4267 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4268 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4269 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4270 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4271
e34ab705
SP
42722013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4273
2a91b573
SP
4274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4275 to optimize copies.
4276
1066a534
SP
4277 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4280
e34ab705
SP
4281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4282 local variable MPTWO.
4283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4284 Likewise.
4285
aba5e596
MF
42862013-01-13 Mike Frysinger <vapier@gentoo.org>
4287
4288 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4289 GLOB_NOESCAPE.
4290
e557e9e5
MF
42912013-01-13 Mike Frysinger <vapier@gentoo.org>
4292
4293 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4294
0428cec9
MF
42952013-01-13 Mike Frysinger <vapier@gentoo.org>
4296
4297 * manual/pattern.texi (glob_t): Document gl_flags.
4298 (glob64_t): Likewise.
4299
8794a964
DM
43002013-01-11 David S. Miller <davem@davemloft.net>
4301
66438c3f
RM
4302 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4303 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4304 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4305 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4306 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4307 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4308 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4309 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4311 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4313 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4315
4ae4244d
DM
4316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4317 sparc V9 rather than using V8 code.
4318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4320
8794a964
DM
4321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4322 Move to...
4323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4324 Here.
4325
6270516e
RM
43262013-01-11 Roland McGrath <roland@hack.frob.com>
4327
4328 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4329 not in the main loop.
4330 * configure: Regenerated.
4331
6a57d931
JM
43322013-01-11 Joseph Myers <joseph@codesourcery.com>
4333
4334 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4335 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4336 to just #else.
4337 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4338 [!__GLIBC_HAVE_LONG_LONG] case.
4339 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4340 condition to just #else.
4341 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4342 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4343 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4344 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4345 unconditional.
4346 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4347 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4348 #elif condition to just #else.
4349 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4350 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4351 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4352 #elif condition to just #else.
4353
0e8529e9
SE
43542013-01-11 Steve Ellcey <sellcey@mips.com>
4355
4356 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4357 (EF_MIPS_ARCH_64): Fix value.
4358 (EF_MIPS_ARCH_32R2): New.
4359 (EF_MIPS_ARCH_64R2): New.
4360
740b3dbe
L
43612013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * Makeconfig (+link-pie-before-libc): New.
4364 (+link-pie-after-libc): Likewise.
4365 (+link-pie-tests): Likewise.
4366 (+link-pie): Rewritten.
4367 (link-before-libc): Remove $(config-LDFLAGS).
4368 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4369 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4370 (config-LDFLAGS): Renamed to ...
4371 (rtld-LDFLAGS): This.
4372 (rtld-tests-LDFLAGS): New macro.
4373 (link-libc-rpath-link): Likewise.
4374 (link-libc-tests-rpath-link): Likewise.
4375 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4376 (link-libc): Prepand $(link-libc-rpath-link).
4377 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4378 (test-program-prefix): New macro.
4379 (test-via-rtld-prefix): Likewise.
4380 (test-program-cmd): Likewise.
4381 (host-test-program-cmd): Likewise.
4382 * Makefile ($(common-objpfx)testrun.sh): Replace
4383 $(run-program-prefix) with $(test-program-prefix).
4384 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4385 $(rtld-LDFLAGS).
4386 ($(common-objpfx)shlib.lds): Likewise.
4387 (build-module-helper): Likewise.
4388 ($(common-objpfx)format.lds): Likewise.
4389 * Rules (binaries-pie-tests): New.
4390 (binaries-pie-notests): Likewise.
4391 (binaries-pie): Rewritten.
4392 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4393 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4394 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4395 (make-test-out): Replace $(host-built-program-cmd) with
4396 $(host-test-program-cmd).
4397 * config.make.in (build-hardcoded-path-in-tests): New variable.
4398 * configure.in (--enable-hardcoded-path-in-tests): New configure
4399 option.
4400 (hardcoded_path_in_tests): New AC_SUBST.
4401 * configure: Regenerated.
4402 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4403 $(built-program-cmd) with $(test-program-cmd).
4404 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4405 (test_program_cmd): This.
4406 * elf/Makefile ($(objpfx)order.out): Run test with
4407 $(test-program-prefix).
4408 ($(objpfx)order2.out): Likewise.
4409 ($(objpfx)tst-initorder.out): Likewise.
4410 ($(objpfx)tst-initorder2.out): Likewise.
4411 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4412 $(test-program-cmd).
4413 ($(objpfx)tst-array1-static.out): Likewise.
4414 ($(objpfx)tst-array2.out): Likewise.
4415 ($(objpfx)tst-array3.out): Likewise.
4416 ($(objpfx)tst-array4.out): Likewise.
4417 ($(objpfx)tst-array5.out): Likewise.
4418 ($(objpfx)tst-array5-static.out): Likewise.
4419 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4420 $(test-program-cmd).
4421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4422 $(run-program-prefix) with $(test-program-prefix).
4423 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4424 (test_program_prefix): This.
4425 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4426 $(run-program-prefix) with $(test-program-prefix).
4427 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4428 (test_program_prefix): This.
4429 * iconvdata/tst-tables.sh: Likewise.
4430 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4431 $(run-program-prefix) with $(test-program-prefix).
4432 ($(objpfx)tst-translit.out): Likewise.
4433 ($(objpfx)tst-gettext2.out): Likewise.
4434 ($(objpfx)tst-gettext4.out): Likewise.
4435 ($(objpfx)tst-gettext6.out): Likewise.
4436 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4437 (test_program_prefix): This.
4438 * intl/tst-gettext2.sh: Likewise.
4439 * intl/tst-gettext4.sh Likewise.
4440 * intl/tst-gettext6.sh: Likewise.
4441 * intl/tst-translit.sh: Likewise.
4442 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4443 with $(test-program-cmd).
4444 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4445 $(run-program-prefix) with $(test-program-prefix).
4446 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4447 (test_program_prefix): This.
4448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4449 $(run-program-prefix) with $(test-program-prefix).
4450 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4451 (test_program_prefix): This.
4452 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4453 * posix/Makefile ($(objpfx)globtest.out): Replace
4454 $(run-via-rtld-prefix) and $(test-wrapper) with
4455 $(test-program-prefix) and $(test-via-rtld-prefix).
4456 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4457 $(test-program-prefix).
4458 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4459 $(host-test-program-cmd).
4460 (tst-spawn-ARGS): Likewise.
4461 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4462 $(test-program-prefix).
4463 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4464 (test_via_rtld_prefix): This.
4465 (test_wrapper): Renamed to ...
4466 (test_program_prefix): This.
4467 (run_program_prefix): Replaced by test_program_prefix.
4468 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4469 (test_program_prefix): This.
4470 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4471 with $(host-test-program-cmd).
4472 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4473 $(run-program-prefix) with $(test-program-prefix).
4474 ($(objpfx)tst-printf.out): Likewise.
4475 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4476 $(test-program-cmd).
4477 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4478 (test_program_prefix): This.
4479 * stdio-common/tst-unbputc.sh: Likewise.
4480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4481 $(run-program-prefix) with $(test-program-prefix).
4482 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4483 (test_program_prefix): This.
4484 * string/Makefile ($(objpfx)tst-svc.out): Replace
4485 $(built-program-cmd) with $(test-program-cmd).
4486
c6fe55cf
AJ
44872013-01-11 Andreas Jaeger <aj@suse.de>
4488
4489 [BZ #15003]
4490 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4491 value. Sync with Linux 3.7.
4492
9e6919c8
DM
44932013-01-10 David S. Miller <davem@davemloft.net>
4494
4495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4498
1c9f1a02
RM
44992013-01-10 Roland McGrath <roland@hack.frob.com>
4500
4501 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4502 never set.
4503 * configure: Regenerated.
4504
b9de2dde
DM
45052013-01-10 David S. Miller <davem@davemloft.net>
4506
4507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4508 sparc V9 rather than using V8 code.
4509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4511
e7f68ef4
RM
45122013-01-10 Roland McGrath <roland@hack.frob.com>
4513
4514 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4515 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4516 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4517 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4518 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4519 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4520 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4521 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4522 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4523 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4524 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4525 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4526 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4527 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4528 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4529 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4530 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4531 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4532 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4533 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4534 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4535 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4536 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4537 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4538 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4539 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4540 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4541
5a47cc9c
DM
45422013-01-10 David S. Miller <davem@davemloft.net>
4543
4544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4545
4cf8f209
L
45462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * posix/Makefile (tests-static): New variable.
4549 (tests): Add $(tests-static).
4550 (tst-exec-static-ARGS): New variable.
4551 (tst-spawn-static-ARGS): Likewise.
4552 * posix/tst-exec-static.c: New file.
4553 * posix/tst-spawn-static.c: Likewise.
4554 * posix/tst-exec.c: Support run directly.
4555 * posix/tst-spawn.c: Likewise.
4556
fed0faa1
JM
45572013-01-10 Joseph Myers <joseph@codesourcery.com>
4558
828beb13
JM
4559 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4560 long.
4561 * math/bits/mathcalls.h (llrint): Likewise.
4562 (llround): Likewise.
4563 * stdlib/stdlib.h (struct drand48_data): Likewise.
4564 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4565 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4566 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4571 (elf_greg_t): Likewise.
4572 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4573 (__jmp_buf): Likewise.
4574 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4575 definitions.
4576 (llrint): Likewise, for all definitions.
4577 (llrintl): Likewise.
4578
fed0faa1
JM
4579 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4580 Remove [__GNUC__] condition.
4581 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4582 condition to just [__USE_ISOC99].
4583 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4584
1a20cb20
L
45852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 [BZ #14200]
4588 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4589 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4590 defined.
4591 (_POSIX_V6_ILP32_OFF32): Likewise.
4592 (_XBS5_ILP32_OFF32): Likewise.
4593 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4594 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4595
751b85f7
SP
45962013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4597
7490eb81
SP
4598 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4599
751b85f7
SP
4600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4601 doubles __mpexp_twomm1. Adjust usage.
4602 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4603 Remove.
4604
988197f0
AS
46052013-01-10 Andreas Schwab <schwab@suse.de>
4606
4607 [BZ #14964]
4608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4609 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4610
e83d7298
DM
46112013-01-09 David S. Miller <davem@davemloft.net>
4612
034ed64b 4613 [BZ #15003]
e83d7298
DM
4614 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4615 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4616 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4617 TCP_FASTOPEN): Define.
4618 (tcp_repair_opt): New structure.
4619 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4620 enum values.
4621 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4622 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4623 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4624 (tcp_cookie_transactions): New structure.
4625
d5e0b9bd
AB
46262013-01-09 Anton Blanchard <anton@samba.org>
4627
4628 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4629 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4632
0c07e3ea
JM
46332013-01-09 Joseph Myers <joseph@codesourcery.com>
4634
4635 * include/features.h (__USE_ANSI): Remove.
4636
232f7002
RM
46372013-01-09 Roland McGrath <roland@hack.frob.com>
4638
ad98e30c
RM
4639 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4640
232f7002
RM
4641 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4642
950c99ca
SP
46432013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
b5792741
SP
4645 * sysdeps/s390/fpu/libm-test-ulps: Update.
4646
47cf2278
SP
4647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4648
950c99ca
SP
4649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4650 (__acr): Likewise.
4651 (__cpy): Likewise.
4652 (norm): Likewise.
4653 (denorm): Likewise.
4654 (__mp_dbl): Likewise.
4655 (__dbl_mp): Likewise.
4656 (add_magnitudes): Likewise.
4657 (sub_magnitudes): Likewise.
4658 (__add): Likewise.
4659 (__sub): Likewise.
4660 (__mul): Likewise.
4661 (__inv): Likewise.
4662 (__dvd): Likewise.
4663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4664 (__acr): Likewise.
4665 (__cpy): Likewise.
4666 (norm): Likewise.
4667 (denorm): Likewise.
4668 (__mp_dbl): Likewise.
4669 (__dbl_mp): Likewise.
4670 (add_magnitudes): Likewise.
4671 (sub_magnitudes): Likewise.
4672 (__add): Likewise.
4673 (__sub): Likewise.
4674 (__mul): Likewise.
4675 (__inv): Likewise.
4676 (__dvd): Likewise.
4677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4678 (__acr): Likewise.
4679 (__cpy): Likewise.
4680 (norm): Likewise.
4681 (denorm): Likewise.
4682 (__mp_dbl): Likewise.
4683 (__dbl_mp): Likewise.
4684 (add_magnitudes): Likewise.
4685 (sub_magnitudes): Likewise.
4686 (__add): Likewise.
4687 (__sub): Likewise.
4688 (__mul): Likewise.
4689 (__inv): Likewise.
4690 (__dvd): Likewise.
4691
eede9df9
JM
46922013-01-08 Joseph Myers <joseph@codesourcery.com>
4693
4694 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4695 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4696 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4697 2 && __USE_EXTERN_INLINES]: Likewise.
4698
c40ea3d9
AJ
46992013-01-08 Andreas Jaeger <aj@suse.de>
4700
4701 [BZ# 14985]
4702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4703 Remove.
4704 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4705 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4706
2ccdea26
AB
47072013-01-07 Anton Blanchard <anton@samba.org>
4708
4709 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4710 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4711 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4712 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4713 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4714 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4715 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4725 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4732 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4734 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4736 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4739 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4747 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4752
a9708fed
JM
47532013-01-07 Joseph Myers <joseph@codesourcery.com>
4754
375607b9
JM
4755 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4756 (__MALLOC_PMT): Likewise.
4757 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4758 [__GNUC__], only on [_LIBC].
4759 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4760 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4761 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4762 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4763 forward declaration.
4764 (realloc_hook_ini): Likewise.
4765 (memalign_hook_ini): Likewise.
4766 (__libc_memalign): Do not use __MALLOC_PMT in variable
4767 declaration.
4768 (__libc_valloc): Likewise.
4769 (__libc_pvalloc): Likewise.
4770 (__libc_calloc): Likewise.
4771 (__posix_memalign): Likewise.
4772
a9708fed
JM
4773 [BZ #14996]
4774 * math/s_casinh.c: Include <float.h>.
4775 (__casinh): Do not do computation with squaring and square root
4776 for large arguments.
4777 * math/s_casinhf.c: Include <float.h>.
4778 (__casinhf): Do not do computation with squaring and square root
4779 for large arguments.
4780 * math/s_casinhl.c: Include <float.h>.
4781 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4782 (__casinhl): Do not do computation with squaring and square root
4783 for large arguments.
4784 * math/libm-test.inc (casin_test): Add more tests.
4785 (casinh_test): Likewise.
4786 * sysdeps/i386/fpu/libm-test-ulps: Update.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4788
afec409a
L
47892013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4792 (__x86_64_raw_data_cache_size): Likewise.
4793 (__x86_64_data_cache_size_half): Likewise.
4794 (__x86_64_raw_data_cache_size_half): Likewise.
4795 (__x86_64_shared_cache_size): Likewise.
4796 (__x86_64_raw_shared_cache_size): Likewise.
4797 (__x86_64_shared_cache_size_half): Likewise.
4798 (__x86_64_raw_shared_cache_size_half): Likewise.
4799 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4800 to ...
4801 (__x86_data_cache_size): This.
4802 (__x86_64_raw_data_cache_size): Renamed to ...
4803 (__x86_raw_data_cache_size): This.
4804 (__x86_64_data_cache_size_half): Renamed to ...
4805 (__x86_data_cache_size_half): This.
4806 (__x86_64_raw_data_cache_size_half): Renamed to ...
4807 (__x86_raw_data_cache_size_half): This.
4808 (__x86_64_shared_cache_size): Renamed to ...
4809 (__x86_shared_cache_size): This.
4810 (__x86_64_raw_shared_cache_size): Renamed to ...
4811 (__x86_raw_shared_cache_size): This.
4812 (__x86_64_shared_cache_size_half): Renamed to ...
4813 (__x86_shared_cache_size_half): This.
4814 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4815 (__x86_raw_shared_cache_size_half): This.
4816 * sysdeps/x86_64/memcpy.S: Updated.
4817 * sysdeps/x86_64/memset.S: Likewise.
4818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4821
0b3986d0
DM
48222013-01-04 David S. Miller <davem@davemloft.net>
4823
4824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4825
e47686e9
AS
48262013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4827
d643bac1
AS
4828 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4829 1 to avoid redefinition warning.
4830 (__USE_GNU): Don't define.
4831 (init_signaling_nan): Protoize.
4832
e47686e9
AS
4833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4834
b18decba
SP
48352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4836
fffb407f
SP
4837 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4839 (__cpymn): Likewise.
4840 (norm): Remove commented code.
4841 (denorm): Likewise.
4842 (__mp_dbl): Likewise.
4843 (__inv): Likewise.
4844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4845 (__cpymn): Likewise.
4846 (norm): Remove commented code.
4847 (denorm): Likewise.
4848 (__mp_dbl): Likewise.
4849 (__inv): Likewise.
4850
b18decba
SP
4851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4852 mp_no value for 1.0 and 2.0.
4853 (norm): Use RADIXI instead of radixi.d.
4854 (denorm): Likewise.
4855 (__mul): Use 0.0 instead of zero.d.
4856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4857 mp_no value for 1.0 and 2.0.
4858 (norm): Use RADIXI instead of radixi.d.
4859 (denorm): Likewise.
4860 (__mul): Use 0.0 instead of zero.d.
4861
cdc1c96f
JM
48622013-01-04 Joseph Myers <joseph@codesourcery.com>
4863
4864 [BZ #14994]
4865 * math/s_casinh.c (__casinh): Reduce finite argument to first
4866 quadrant then set signs of results at the end.
4867 * math/s_casinhf.c (__casinhf): Likewise.
4868 * math/s_casinhl.c (__casinhl): Likewise.
4869 * math/libm-test.inc (casin_test): Add more tests.
4870 (casinh_test): Likewise.
4871 * sysdeps/i386/fpu/libm-test-ulps: Update.
4872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4873
302913e1
SP
48742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4875
6420d207
SP
4876 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4877
a9e48ab4
SP
4878 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4879
b7837264
SP
4880 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4881 declarations.
4882 (denorm): Likewise.
4883 (__mp_dbl): Likewise.
4884 (__inv): Likewise.
4885
f8af25d2
SP
4886 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4887 and adjust the header comment.
4888
302913e1
SP
4889 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4890 variable name from declaration.
4891
5d7dd1ca
L
48922013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4895 Initialize COMMON_CPUID_INDEX_7 element.
4896 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4897 (CPUID_RTM): Likewise.
4898 (HAS_RTM): Likewise.
4899 (COMMON_CPUID_INDEX_7): New enum.
4900
2f5f40f4
AS
49012013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4902
4903 [BZ #14981]
4904 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4905 size is zero, record memory as freed.
4906
4056f4a0
AJ
49072013-01-03 Andreas Jaeger <aj@suse.de>
4908
4909 * po/ia.po: Add new Interlingua translation.
4910
ab15736f 49112012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4912
4913 * locale/programs/localedef.c: Fix description of '--posix' flag.
4914
568035b7
JM
49152013-01-02 Joseph Myers <joseph@codesourcery.com>
4916
e6898b8d
JM
4917 * NEWS: Update dates in second copyright notice.
4918 * README: Update copyright dates in example.
4919 * manual/libc.texinfo: Update copyright dates.
4920 * scripts/test-installation.pl: Update copyright date in --version
4921 output.
4922
0e2f9562
JM
4923 * hurd/ctty-input.c: Fix copyright notice formatting.
4924 * hurd/ctty-output.c: Likewise.
4925 * hurd/dtable.c: Likewise.
4926 * hurd/hurd-raise.c: Likewise.
4927 * hurd/hurdprio.c: Likewise.
4928 * hurd/msgportdemux.c: Likewise.
4929 * misc/sys/file.h: Likewise.
4930 * misc/sys/ioctl.h: Likewise.
4931 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4932 * sysdeps/mach/hurd/chdir.c: Likewise.
4933 * sysdeps/mach/hurd/fchdir.c: Likewise.
4934 * sysdeps/mach/hurd/rename.c: Likewise.
4935 * sysdeps/mach/hurd/rmdir.c: Likewise.
4936 * sysdeps/mach/hurd/seekdir.c: Likewise.
4937 * sysdeps/mach/hurd/setsid.c: Likewise.
4938 * sysdeps/posix/wait3.c: Likewise.
4939
568035b7
JM
4940 * All files with FSF copyright notices: Update copyright dates
4941 using scripts/update-copyrights.
4942 * intl/plural.c: Regenerated.
4943 * locale/programs/charmap-kw.h: Likewise.
4944 * locale/programs/locfile-kw.h: Likewise.
4945
da08f647
SP
49462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
0f5477af
SP
4948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4949 four values.
4950
44e0d4c2
SP
4951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4952 calculation loop and add branch prediction.
4953
4d55b4e5
SP
4954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4955 check access beyond bounds of m1np.
4956
da08f647
SP
4957 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4958 MPTWO.
4959 (__inv): Remove local variable MPTWO to use the global
4960 constant.
4961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4963 variable MPTWO.
4964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4965 MP3HALFS static const.
4966
8e051029
DM
49672013-01-01 David S. Miller <davem@davemloft.net>
4968
4969 * po/ca.po: Update from translation team.
4970
f4cf5f2d
JM
49712013-01-01 Joseph Myers <joseph@codesourcery.com>
4972
4973 * scripts/update-copyrights: New file.
4974 * Makeconfig: Reformat copyright notice.
4975 * ctype/ctype.h: Likewise.
4976 * debug/swprintf_chk.c: Likewise.
4977 * elf/dl-cache.c: Likewise.
4978 * elf/dl-debug.c: Likewise.
4979 * elf/dl-object.c: Likewise.
4980 * grp/initgroups.c: Likewise.
4981 * hurd/Makefile: Likewise.
4982 * hurd/hurd/signal.h: Likewise.
4983 * hurd/hurdfault.c: Likewise.
4984 * hurd/hurdioctl.c: Likewise.
4985 * hurd/hurdlookup.c: Likewise.
4986 * hurd/intr-msg.c: Likewise.
4987 * iconv/gconv_open.c: Likewise.
4988 * libio/swprintf.c: Likewise.
4989 * locale/lc-ctype.c: Likewise.
4990 * locale/nl_langinfo.c: Likewise.
4991 * mach/Machrules: Likewise.
4992 * mach/Makefile: Likewise.
4993 * malloc/obstack.h: Likewise.
4994 * manual/Makefile: Likewise.
4995 * manual/tsort.awk: Likewise.
4996 * misc/bits/stab.def: Likewise.
4997 * nis/nis_print_group_entry.c: Likewise.
4998 * nis/nis_table.c: Likewise.
4999 * nis/nss_compat/compat-pwd.c: Likewise.
5000 * nis/nss_compat/compat-spwd.c: Likewise.
5001 * po/Makefile: Likewise.
5002 * posix/fnmatch.c: Likewise.
5003 * posix/regex.h: Likewise.
5004 * resolv/Makefile: Likewise.
5005 * resolv/nss_dns/dns-network.c: Likewise.
5006 * resolv/res_hconf.c: Likewise.
5007 * scripts/gen-sorted.awk: Likewise.
5008 * soft-fp/soft-fp.h: Likewise.
5009 * stdio-common/printf.h: Likewise.
5010 * stdlib/monetary.h: Likewise.
5011 * stdlib/random.c: Likewise.
5012 * stdlib/random_r.c: Likewise.
5013 * sysdeps/generic/Makefile: Likewise.
5014 * sysdeps/gnu/Makefile: Likewise.
5015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5039 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5043 * sysdeps/mach/hurd/errnos.awk: Likewise.
5044 * sysdeps/mach/hurd/fork.c: Likewise.
5045 * sysdeps/mach/hurd/getcwd.c: Likewise.
5046 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5047 * sysdeps/mach/hurd/mmap.c: Likewise.
5048 * sysdeps/mach/hurd/utimes.c: Likewise.
5049 * sysdeps/mach/hurd/xmknod.c: Likewise.
5050 * sysdeps/posix/profil.c: Likewise.
5051 * sysdeps/posix/readdir_r.c: Likewise.
5052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5053 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5054 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5055 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5057 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5063 * sysdeps/pthread/lio_listio.c: Likewise.
5064 * sysdeps/sparc/dl-procinfo.h: Likewise.
5065 * sysdeps/unix/i386/sysdep.S: Likewise.
5066 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5067 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5068 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5069 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5071 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5072 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5073 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5074 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5075 * sysdeps/wordsize-32/divdi3.c: Likewise.
5076 * time/sys/time.h: Likewise.
5077 * wcsmbs/Makefile: Likewise.
5078
0549fbba
DM
50792013-01-01 David S. Miller <davem@davemloft.net>
5080
a141f1a7
DM
5081 * po/fr.po: Update from translation team.
5082
0549fbba
DM
5083 * catgets/gencat.c: Update copyright year.
5084 * csu/version.c: Likewise.
5085 * debug/catchsegv.sh: Likewise.
5086 * debug/pcprofiledump.c: Likewise.
5087 * debug/xtrace.sh: Likewise.
5088 * elf/ldconfig.c: Likewise.
5089 * elf/ldd.bash.in: Likewise.
5090 * elf/pldd.c: Likewise.
5091 * elf/sotruss.ksh: Likewise.
5092 * elf/sprof.c: Likewise.
5093 * iconv/iconv_prog.c: Likewise.
5094 * iconv/iconvconfig.c: Likewise.
5095 * locale/programs/locale.c: Likewise.
5096 * locale/programs/localedef.c: Likewise.
5097 * login/programs/pt_chown.c: Likewise.
5098 * malloc/memusage.sh: Likewise.
5099 * malloc/memusagestat.c: Likewise.
5100 * malloc/mtrace.pl: Likewise.
5101 * nscd/nscd.c: Likewise.
5102 * nss/getent.c: Likewise.
5103 * nss/makedb.c: Likewise.
5104 * posix/getconf.c: Likewise.
5105
18ea052c
SP
51062012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5107
5108 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5109 numbers.
5110
9c89fca6
MF
51112012-12-30 Mike Frysinger <vapier@gentoo.org>
5112
5113 * math/bits/mathcalls.h (modf): Use __nonnull.
5114
085ec079
SP
51152012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5116
5117 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5118 (split): Use macro CN instead of the bare value.
5119 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5120 could be used.
5121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5122 instead of the bare value.
5123 (power1): Likewise.
5124
6d9f97e1
SP
51252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5126
d63f73be
SP
5127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5128 __ATAN_TWOM.
5129 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5130
6d9f97e1
SP
5131 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5132 their values.
5133 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5135 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5136 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5137
4c4febf5
AJ
51382012-12-28 Andreas Jaeger <aj@suse.de>
5139
af5843ef
AJ
5140 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5141 values are from Linux 3.7.
5142
4c4febf5
AJ
5143 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5144 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5145
99136f82
SP
51462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5147
2f216c3c 5148 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5149 TRUE case.
5150
99136f82
SP
5151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5152 (norm): Likewise.
5153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5154 variables with preprocessor constants.
5155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5157 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5158
7fffbdff
BH
51592012-12-27 Bruno Haible <bruno@clisp.org>
5160
5161 [BZ #14317]
5162 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5163 only if needed.
5164
b76eb5f0
SP
51652012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5166
31a7fe5c
SP
5167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5168 and use variable directly.
5169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5170
b76eb5f0
SP
5171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5172 MPONE.
5173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5175 variable MPONE.
5176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5178 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5179 include directive. Remove local variable MPONE.
5180 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5183
2c8bfe7d
DM
51842012-12-25 David S. Miller <davem@davemloft.net>
5185
5186 * version.h (RELEASE): Set to "development".
5187 (VERSION): Set to "2.17.90".
5188 * NEWS: Add 2.18 section.
5189
147d03b0
DM
51902012-12-21 David S. Miller <davem@davemloft.net>
5191
5192 * po/hr.po: Update from translation team.
5193
a8ebb2b9
AK
51942012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5195
5196 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5197
95b4f1b6
SE
51982012-12-19 Steve Ellcey <sellcey@mips.com>
5199
b2d94007 5200 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5201
cedb2a90
MS
52022012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5203
5204 * manual/contrib.texi (Contributors): Spelling correction.
5205
bbf527d6
DM
52062012-12-15 David S. Miller <davem@davemloft.net>
5207
5208 * po/ru.po: Update from translation team.
5209
bc38c906
DM
52102012-12-13 David S. Miller <davem@davemloft.net>
5211
85429b1a
DM
5212 * NEWS: Mention IFUNC testsuite enhancements.
5213
d283e353
DM
5214 * po/pl.po: Update from translation team.
5215 * po/bg.po: Likewise.
5216
bc38c906
DM
5217 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5218 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5219
a181b0d7
DM
52202012-12-11 David S. Miller <davem@davemloft.net>
5221
4641d57e
DM
5222 * po/sv.po: Update from translation team.
5223
f7bc6495
DM
5224 * po/vi.po: Update from translation team.
5225
6fc9048f
DM
5226 * po/cs.po: Update from translation team.
5227
a181b0d7
DM
5228 * po/de.po: Update from translation team.
5229 * po/eo.po: Likewise.
5230 * po/nl.po: Likewise.
5231
f70bfe80
SP
52322012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5233
3c8b4190
SP
5234 [BZ #14246]
5235 * manual/argp.texi (Argp Helper Functions): Move node to follow
5236 Argp Parsing State.
5237
f70bfe80
SP
5238 [BZ #14872]
5239 * manual/conf.texi (Limits on File System Capacity): Mention if
5240 terminating null is included in the max size.
5241
188f0adf
AJ
52422012-12-10 Andreas Jaeger <aj@suse.de>
5243
5244 * po/cs.po: Update from translation team.
5245
56e7d3ad
SP
52462012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5249 void pointer and cast to uintptr_t.
5250 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5251 path.
5252 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5253 * sysdeps/s390/s390-64/memset.S: Likewise.
5254
76f2d2ea 52552012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5256
5257 [BZ #14833]
5258 * menual/message.texi (Message Translation): Fix typos.
5259 (Helper programs for gettext): Likewise.
5260
67cbf9a2
AS
52612012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5262
5263 [BZ #14898]
5264 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5265 Change to -1.
5266
682d0e9a
DM
52672012-12-07 David S. Miller <davem@davemloft.net>
5268
5269 * po/libc.pot: Update.
5270
573cd484
RH
52712012-12-07 Richard Henderson <rth@redhat.com>
5272
7e9da188 5273 [BZ #10114]
573cd484
RH
5274 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5275 normal/normal case to before the switch.
5276 (_FP_DIV): Likewise.
5277
e933a943
MF
52782012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5279 Mike Frysinger <vapier@gentoo.org>
5280
5281 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5282 check for __NR_fadvise64_64.
5283
82123268
CM
52842012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5285
5286 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5287 0, not just to plain "0" as a statement.
5288 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5289 with cw.
5290
d9814526
JM
52912012-12-06 Joseph Myers <joseph@codesourcery.com>
5292
5293 * NEWS: Use sourceware.org in Bugzilla URL.
5294
7728c574
SP
52952012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5296
f16946dd
SP
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5298 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5299
5704bbcb
SP
5300 * stdio-common/tst-put-error.c (do_test): Add newline to the
5301 padded test to ensure flush.
5302
17aa0516
JL
53032012-12-05 Jeff Law <law@redhat.com>
5304
5305 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5306
363313b5
JM
53072012-12-05 Joseph Myers <joseph@codesourcery.com>
5308
effbd42a
JM
5309 * README: Don't refer to ports add-on as distributed separately.
5310 Mention AArch64 in list of systems supported in the ports add-on.
5311
87600365
JM
5312 * LICENSES: Add more non-FSF copyright and license notices.
5313
a0d7066a
JM
5314 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5315 ((unused)).
5316
66ca5a5b
JM
5317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5318
363313b5
JM
5319 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5320 10000 as width of padded output.
5321
b37984ad
JM
53222012-12-04 Joseph Myers <joseph@codesourcery.com>
5323
9003570a
JM
5324 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5325
b37984ad
JM
5326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5327 variable LX with __attribute__ ((unused)).
5328 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5329 Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5333 with __attribute__ ((unused)).
5334
c8df52ec
DM
53352012-12-04 David S. Miller <davem@abraco.davemloft.net>
5336
5337 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5338
b3b099af
JM
53392012-12-04 Joseph Myers <joseph@codesourcery.com>
5340
c33aa6e3
JM
5341 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5342 (CFLAGS-nldbl-acos.c): New variable.
5343 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5415 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5416 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5421 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5422 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5423 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5424 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5425 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5426 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5427 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5428 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5429 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5430 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5431 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5432 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5433 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5434 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5435 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5436 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5437 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5438 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5439 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5440
20f0018d
JM
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5442 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5443
b3b099af
JM
5444 [BZ #14914]
5445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5446 whole low double instead of just low 47 bits when splitting values
5447 into two parts.
5448
029264d1
AM
54492012-12-03 Allan McRae <allan@archlinux.org>
5450
5451 * manual/stdio.texi (Predefined Printf Handlers): Remove
5452 @hsep and @vsep usage.
5453
c9d6789e
MF
54542012-12-03 Mike Frysinger <vapier@gentoo.org>
5455
5456 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5457 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5458
4b7634a5
JL
54592012-12-03 Jeff Law <law@redhat.com>
5460
5461 * time/sys/time.h (settimeofday): Do not mark TV argument
5462 as __nonnull.
5463
eb6cbd24
MF
54642012-12-01 Mike Frysinger <vapier@gentoo.org>
5465
5466 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5467 when currently writing and seek to current position when not.
5468 * libio/Makefile (tests): Remove bug-fclose1.
5469 * libio/bug-fclose1.c: Delete.
5470
f638872a
JM
54712012-12-01 Joseph Myers <joseph@codesourcery.com>
5472
5473 * manual/arith.texi (feenableexcept): Fix typo.
5474 (fedisableexcept): Likewise.
5475
48085d14
RM
54762012-11-30 Roland McGrath <roland@hack.frob.com>
5477
5478 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5479 second, differently-typed declaration, rather than a cast.
5480
1a538b9f
SP
54812012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5482
5483 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5484 * include/rpc/svc.h: ... here.
5485
d07f2ff1 54862012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5487
5488 [BZ #13013]
5489 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5490 depending n and resplen2 to catch cases where answer
5491 equals answerp2.
5492
c93ec1f0
CD
54932012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5494
5495 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5496 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5497
37db69de
MF
54982012-11-29 Mike Frysinger <vapier@gentoo.org>
5499
5500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5501
e10c4e4f
RM
55022012-11-29 Roland McGrath <roland@hack.frob.com>
5503
5504 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5505
2af1b328
JL
55062012-11-28 Jeff Law <law@redhat.com>
5507
5508 [BZ #13761]
5509 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5510 dataset_temporary. Track alloca usage into alloca_used.
5511 If dataset is large allocate and release it via malloc/free.
5512
111db5b1
FW
55132012-06-04 Florian Weimer <fweimer@redhat.com>
5514
f06cc227 5515 [BZ #14197]
111db5b1
FW
5516 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5517
dd694abd
DM
55182012-11-28 David S. Miller <davem@davemloft.net>
5519
5520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5521
9984dd01
JM
55222012-11-28 Joseph Myers <joseph@codesourcery.com>
5523
5524 [BZ #14803]
5525 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5526 of pi/2 rounded to nearest to 64 bits.
5527 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5528 nearest to 64 bits.
5529 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5530 bits.
5531
14bc93a9
JL
55322012-11-28 Jeff Law <law@redhat.com>
5533 Martin Osvald <mosvald@redhat.com>
5534
5535 [BZ #14889]
5536 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5537 * sunrpc/svc.c: Include time.h.
5538 (__svc_accept_failed): New function.
5539 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5540 any reason other than EINTR, call __svc_accept_failed.
5541 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5542 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5543
e3c6aa3a
AS
55442012-11-28 Andreas Schwab <schwab@suse.de>
5545
5546 * scripts/abilist.awk: Also handle indirect functions in .opd
5547 section.
5548
1bead169
JM
55492012-11-28 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #13881]
5552 * sysdeps/x86/fpu/powl_helper.c: New file.
5553 * sysdeps/x86/fpu/Makefile: Likewise.
5554 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5555 (p3): New object.
5556 (__ieee754_powl): Use __powl_helper for finite arguments except
5557 integer exponents below 8.
5558 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5559 (p3): New object.
5560 (__ieee754_powl): Use __powl_helper for finite arguments except
5561 integer exponents below 8.
5562 * math/libm-test.inc (pow_test): Add more tests and enable some
5563 previously disabled tests.
5564 * sysdeps/i386/fpu/libm-test-ulps: Update.
5565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5566
0817d63d
SP
55672012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5568 Carlos O'Donell <carlos_odonell@mentor.com>
5569
5570 * nss/makedb.c (is_prime): Assert that input is odd and greater
5571 than 4. Note that fact in a comment too.
5572 (next_prime): Add 4 to input.
5573
de2fd463
SP
55742012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5575
5576 [BZ #11741]
5577 * libio/Makefile (tests): Add test case tst-fwrite-error.
5578 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5579 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5580 * libio/tst-fwrite-error.c: New test case.
5581
c515fb51
L
55822012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5585 before casting to void *.
5586 * include/libc-internal.h (__pointer_type): New macro.
5587 (__integer_if_pointer_type_sub): Likewise.
5588 (__integer_if_pointer_type): Likewise.
5589 (cast_to_integer): Likewise.
5590 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5591 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5592 before casting to atomic64_t.
5593 (atomic_exchange_acq): Likewise.
5594 (__arch_exchange_and_add_body): Likewise.
5595 (__arch_add_body): Likewise.
5596 (atomic_add_negative): Likewise.
5597 (atomic_add_zero): Likewise.
5598
4cf77aa9
JM
55992012-11-26 Joseph Myers <joseph@codesourcery.com>
5600
5601 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5602 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5603 (add_fdes): Likewise.
5604 (linear_search_fdes): Likewise.
5605 (binary_search_unencoded_fdes): Likewise.
5606
d260b3b4
AS
56072012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5608
5609 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5610
67060746
AC
56112012-11-24 Adam Conrad <adconrad@0c3.net>
5612
5613 * configure.in: Autodetect C++ header directories.
5614 * configure: Regenerated.
5615
800938a1
MF
56162012-11-23 Mike Frysinger <vapier@gentoo.org>
5617
5618 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5619
4e6e34e6
AS
56202012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5621
5622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5623
7c7feb47
JM
56242012-11-22 Joseph Myers <joseph@codesourcery.com>
5625
7184dcdf
JM
5626 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5627 LDBL_MANT_DIG == 106]: Disable some tests.
5628 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5629 Likewise.
5630 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5631 Likewise.
5632
0a42601f
JM
5633 [BZ #14871]
5634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5635 input for small inputs. Return +/- pi/2 for large inputs.
5636 * math/libm-test.inc (atan_test): Add more tests.
5637
79c9b9fe
JM
5638 * sysdeps/generic/unwind-dw2-fde-glibc.c
5639 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5640 __attribute__ ((unused)).
5641
c60d3bf2
JM
5642 [BZ #14645]
5643 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5644 x * y if x and y are nonzero and z is zero.
5645
ef1e0867
JM
5646 [BZ #14811]
5647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5648 nonzero exponents with absolute value below 0x1p-117 to +/-
5649 0x1p-117.
5650
1468ded3
JM
5651 [BZ #14869]
5652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5653 up arguments below 2**-450, not just those below 2**-500.
5654 * math/libm-test.inc (hypot_test): Add another test.
5655
8e27e3cc
JM
5656 [BZ #14868]
5657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5658 Return a+b for ratio over 2**120, not 2**60.
5659 * math/libm-test.inc (hypot_test): Add another test.
5660
c9c0279b
JM
5661 * math/libm-test.inc (clog_test): Use
5662 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5663 (clog10_test): Likewise.
5664
7c7feb47
JM
5665 [BZ #6778]
5666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5667
fff1530e
AS
56682012-11-22 Andreas Schwab <schwab@suse.de>
5669
5670 * sysdeps/i386/fpu/libm-test-ulps: Update.
5671
94558d30
PT
56722012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5673
5674 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5675 printf output with newline.
5676
7e1be741
L
56772012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5678
6bfea974
L
5679 [BZ #14865]
5680 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5681 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5682 -z nodlopen, -z initfirst and -z execstack support.
5683 * configure: Regenerated.
5684
7e1be741
L
5685 * elf/elf.h (DF_1_NODIRECT): New macro.
5686 (DF_1_IGNMULDEF): Likewise.
5687 (DF_1_NOKSYMS): Likewise.
5688 (DF_1_NOHDR): Likewise.
5689 (DF_1_EDITED): Likewise.
5690 (DF_1_NORELOC): Likewise.
5691 (DF_1_SYMINTPOSE): Likewise.
5692 (DF_1_GLOBAUDIT): Likewise.
5693 (DF_1_SINGLETON): Likewise.
5694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5695 DT_1_SUPPORTED_MASK bits.
5696 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5697
105ce2ce
CD
56982012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5699
5700 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5701
123be9de
TS
57022012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5703
d072f3f7
TS
5704 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5705 macro.
5706
123be9de
TS
5707 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5708 (sendmmsg): Move declarations...
5709 * socket/sys/socket.h: ... here.
5710 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5711 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5712 include it from...
5713 * socket/recvmmsg.c: ... this new file.
5714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5715 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5716 definition of __sendmmsg hidden.
5717 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5718 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5719 Move ENOSYS stub into and include it from...
5720 * socket/sendmmsg.c: ... this new file.
5721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5722 (sysdep_routines): Move recvmmsg and sendmmsg...
5723 * socket/Makefile (routines): ... here.
5724 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5725 (GLIBC_PRIVATE): Add __sendmmsg.
5726 * include/sys/socket.h (__sendmmsg): Add declarations.
5727 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5728 sendmmsg.
5729
cf9a5d18
JM
57302012-11-20 Joseph Myers <joseph@codesourcery.com>
5731
5732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5733 variable I1 with __attribute__ ((unused)).
5734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5735
ecd4caf9
JM
57362012-11-19 Joseph Myers <joseph@codesourcery.com>
5737
be14d48f
JM
5738 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5739 DUMMY variables with __attribute__ ((unused)).
5740
ecd4caf9
JM
5741 * bits/byteswap.h: Include <bits/types.h>.
5742 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5743
986cab95
PT
57442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5745
5746 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5747 string_t. Do not manually set errno.
5748 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5749 length with __strnlen. Make sure to both set errno and return it on
5750 failure.
5751
6d33cc9d
DM
57522012-11-19 David S. Miller <davem@davemloft.net>
5753
5754 With help from Joseph Myers.
5755 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5756 very large arguments properly.
5757 * math/libm-test.inc (atan_test): New tests.
5758 (atan2_test): New tests.
5759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5761
ee663277
JM
57622012-11-19 Joseph Myers <joseph@codesourcery.com>
5763
877f2d8e
JM
5764 [BZ #14856]
5765 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5766 Define to 3.
5767
116fc08a
JM
5768 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5769 [POSIX] (EADDRNOTAVAIL): Likewise.
5770 [POSIX] (EAFNOSUPPORT): Likewise.
5771 [POSIX] (EALREADY): Likewise.
5772 [POSIX] (ECONNABORTED): Likewise.
5773 [POSIX] (ECONNREFUSED): Likewise.
5774 [POSIX] (ECONNRESET): Likewise.
5775 [POSIX] (EDESTADDRREQ): Likewise.
5776 [POSIX] (EDQUOT): Likewise.
5777 [POSIX] (EHOSTUNREACH): Likewise.
5778 [POSIX] (EIDRM): Likewise.
5779 [POSIX] (EISCONN): Likewise.
5780 [POSIX] (ELOOP): Likewise.
5781 [POSIX] (EMULTIHOP): Likewise.
5782 [POSIX] (ENETDOWN): Likewise.
5783 [POSIX] (ENETUNREACH): Likewise.
5784 [POSIX] (ENOBUFS): Likewise.
5785 [POSIX] (ENODATA): Likewise.
5786 [POSIX] (ENOLINK): Likewise.
5787 [POSIX] (ENOMSG): Likewise.
5788 [POSIX] (ENOPROTOOPT): Likewise.
5789 [POSIX] (ENOSR): Likewise.
5790 [POSIX] (ENOSTR): Likewise.
5791 [POSIX] (ENOTCONN): Likewise.
5792 [POSIX] (ENOTSOCK): Likewise.
5793 [POSIX] (EOPNOTSUPP): Likewise.
5794 [POSIX] (EOVERFLOW): Likewise.
5795 [POSIX] (EPROTO): Likewise.
5796 [POSIX] (EPROTONOSUPPORT): Likewise.
5797 [POSIX] (EPROTOTYPE): Likewise.
5798 [POSIX] (ESTALE): Likewise.
5799 [POSIX] (ETIME): Likewise.
5800 [POSIX] (ETXTBSY): Likewise.
5801 [POSIX] (EWOULDBLOCK): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5803 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5804 [POSIX] (SEEK_CUR): Likewise.
5805 [POSIX] (SEEK_END): Likewise.
5806 [POSIX || UNIX98] (mode_t): Do not require.
5807 [POSIX] (off_t): Likewise.
5808 [POSIX] (pid_t): Likewise.
5809 [POSIX] (sys/stat.h): Do not allow header.
5810 [POSIX] (unistd.h): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5812 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5814 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5815 require.
5816 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5817 sigevent): Specify elements.
5818 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5819 entry.
5820 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5821 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5822
a483863f
JM
5823 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5824 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5825 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5826 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5827 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5828 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5829 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5830 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5833 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5835 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5837 Likewise.
5838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5839 Likewise.
5840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5841 Likewise.
5842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5843 Likewise.
5844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5845 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5846 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5847 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5849 Specify lower bound on value.
5850 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5856 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5858 value.
5859 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5860 as optional.
5861 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5868 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5869 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5876 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5877 entry.
5878 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5879 optional.
5880 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5883 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5886 Likewise.
5887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5892 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5894 as optional.
5895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5899 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5900 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5901 specify as optional.
5902 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5903 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5904 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5905 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5906 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5907 [XPG3] (NL_LANGMAX): Likewise.
5908 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5909 [POSIX || XPG3] (NL_NMAX): Likewise.
5910 [POSIX || XPG3] (NL_SETMAX): Likewise.
5911 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5912 [XPG3] (NZERO): Likewise.
5913 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5914 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5915 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5916 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5917 (REG_ERANGE): Expect.
5918 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5919 optional-constant.
5920 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5921 Use (void) in prototype.
5922 [POSIX] (*_t): Allow.
5923 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5924 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5925 (WRDE_BADVAL): Expect.
5926
5ba924e3
JM
5927 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5928 expect.
5929 [XPG3 || XPG4] (O_RSYNC): Likewise.
5930 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5931 Likewise.
5932 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5933 [XPG3 || XPG4] (sigqueue): Likewise.
5934 [XPG3 || XPG4] (sigtimedwait): Likewise.
5935 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5936 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5937 [XPG3 || XPG4] (vsnprintf): Likewise.
5938 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5939 Likewise.
5940 [XPG3 || XPG4] (blksize_t): Likewise.
5941 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5942 Likewise.
5943 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5944 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5945 [XPG3 || XPG4] (struct itimerspec): Likewise.
5946 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5947 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5948 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5949 [XPG3 || XPG4] (clockid_t): Likewise.
5950 [XPG3 || XPG4] (timer_t): Likewise.
5951 [XPG3 || XPG4] (clock_getres): Likewise.
5952 [XPG3 || XPG4] (clock_gettime): Likewise.
5953 [XPG3 || XPG4] (clock_settime): Likewise.
5954 [XPG3 || XPG4] (nanosleep): Likewise.
5955 [XPG3 || XPG4] (timer_create): Likewise.
5956 [XPG3 || XPG4] (timer_delete): Likewise.
5957 [XPG3 || XPG4] (timer_gettime): Likewise.
5958 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5959 [XPG3 || XPG4] (timer_settime): Likewise.
5960 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5961 [XPG3 || XPG4] (getlogin_r): Likewise.
5962 [XPG3 || XPG4] (pread): Likewise.
5963 [XPG3 || XPG4] (pthread_atfork): Likewise.
5964 [XPG3 || XPG4] (pwrite): Likewise.
5965
ee663277
JM
5966 [BZ #14835]
5967 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5968 <bits/siginfo.h>.
5969
942caa16
PT
59702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5971
e19af380
PT
5972 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5973 finalizing MALLSTREAM.
5974
942caa16
PT
5975 * sysdeps/mach/hurd/syncfs.c: New file.
5976
cfde9b46
SP
59772012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
5979 [BZ #14719]
5980 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5981 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5982 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5983 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5984 (_nss_dns_gethostbyname4_r): Likewise.
5985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5986 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5987
f6da27e5
PH
59882012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5989
5990 [BZ #13763]
5991 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5992
6665d4a2
SM
59932012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5994
1f51ee92
SM
5995 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5996 * elf/cache.c (print_entry): Print ",AArch64" for
5997 FLAG_AARCH64_LIB64
5998
6665d4a2
SM
5999 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6000 * elf/cache.c (print_entry): Print ",hard-float" for
6001 FLAG_ARM_LIBHF.
6002
05b227bd
DM
60032012-11-18 David S. Miller <davem@davemloft.net>
6004
6005 With help from Joseph Myers.
6006 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6007 cutoff to 2**-13.
6008 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6009 cutoff to 2**-25.
6010 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6011 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6012 small.
6013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6014 * math/libm-test.inc (y0_test): New tests.
6015 (y1_test): New tests.
6016 * sysdeps/i386/fpu/libm-test-ulps: Update.
6017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6019
786b0b67
AS
60202012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6023 64-bit targets.
6024 * configure: Regenerated.
6025
8e18b86d
DM
60262012-11-17 David S. Miller <davem@davemloft.net>
6027
6028 [BZ #14811]
6029 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6030 nonzero exponents with absolute value below 0x1p-128 to +/-
6031 0x1p-128.
6032
531f1ae0
JM
60332012-11-17 Joseph Myers <joseph@codesourcery.com>
6034
12df29e2
JM
6035 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6036
150dc1a0
JM
6037 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6038
531f1ae0
JM
6039 * posix/getconf-speclist.c: New file.
6040 * posix/posix-envs.def: Likewise.
6041 * posix/confstr.c (START_ENV_GROUP): New macro.
6042 (END_ENV_GROUP): Likewise.
6043 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6044 (KNOWN_PRESENT_ENV_STRING): Likewise.
6045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6046 (UNKNOWN_ENVIRONMENT): Likewise.
6047 (confstr): Include posix-envs.def instead of handling
6048 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6049 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6050 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6051 (END_ENV_GROUP): Likewise.
6052 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6053 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6054 (UNKNOWN_ENVIRONMENT): Likewise.
6055 (__sysconf): Include posix-envs.def instead of handling associated
6056 cases directly here.
6057 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6058 preprocessing getconf-speclist.c rather than running getconf or
6059 generating empty file.
6060
a93f9cbc
PT
60612012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6062
6063 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6064
d64d9f87
AL
60652012-11-16 Andrej Lajovic <natrij@gmail.com>
6066
6067 [BZ #14672]
6068 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6069
447885eb
DM
60702012-11-16 David S. Miller <davem@davemloft.net>
6071
6072 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6073 smaller than LDBL_EPSILON/2.0L, just return xm1.
6074
bcbf9830
L
60752012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 * elf/tst-array1.c (init): Set constructor priority to 1000.
6078 (fini): Set destructor priority to 1000.
6079 * elf/tst-array2dep.c: Likewise.
6080
2b766585
SP
60812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6082
6083 [BZ #11741]
6084 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6085 (_IO_new_file_xsputn): Also return EOF if none of the input
6086 data was written when overflow failed.
6087 * libio/iopadn.c (_IO_padn): Likewise.
6088 * libio/iowpadn.c (_IO_wpadn): Likewise.
6089 * stdio-common/tst-put-error.c: Add copyright notice.
6090 (do_test): Add case for printing padded string.
6091 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6092 _IO_padn returned error.
6093 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6094 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6095 return EOF.
6096
b1848fde
SP
60972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6098
6099 * libio/libioP.h: Add comment note that the references to C++
6100 bits are now obsolete.
6101
2fd89785
MS
61022012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6103
6104 * math/libm-test.inc (check_complex): Use asprintf.
6105
e3ea5409
JM
61062012-11-14 Joseph Myers <joseph@codesourcery.com>
6107
6108 * debug/pcprofiledump.c (print_version): Update copyright year.
6109 * malloc/memusagestat.c (print_version): Likewise.
6110
2e64d265
L
61112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6112
6113 [BZ #14831]
6114 * elf/Makefile (tests): Add tst-audit8.
6115 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6116 ($(objpfx)tst-audit8.out): New target.
6117 (tst-audit8-ENV): New variable.
6118 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6119 audit if l_reloc_result is NULL.
6120 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6121 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6122 * elf/tst-audit8.c: New file.
6123
c485e4d2
MS
61242012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6125
6126 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6127 * misc/Makefile (CFLAGS-select.c): Define.
6128 * posix/Makefile (CFLAGS-pause.c): Define.
6129
3a0d900a
DM
61302012-11-13 David S. Miller <davem@davemloft.net>
6131
6132 * crypt/Makefile: Move test targets after toplevel Rules
6133 inclusion. Grab any necessary sysdep routines when linking.
6134 * crypt/md5.c (md5_process_block): Remove define, we will always
6135 name it __md5_process_block.
6136 (md5_finish_ctx): Update md5_process_block call.
6137 (md5_stream): Likewise.
6138 (md5_process_bytes): Likewise.
6139 (md5_process_block): Rename to __md5_process_block and move to ...
6140 * crypt/md5-block.c: ... here.
6141 * crypt/sha256.c (sha256_process_block): Move to ...
6142 * crypt/sha256-block.c: ... here.
6143 * crypt/sha512.c (sha512_process_block): Move to ...
6144 * crypt/sha512-block.c: ... here.
6145 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6146 path.
6147 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6148 * sysdeps/sparc/sparc64/multiarch/Makefile
6149 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6150 crypt subdir.
6151 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6152 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6153 multiarch changes.
6154 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6155 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6156 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6157 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6158 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6159 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6160 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6161 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6163 file.
6164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6165 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6166 file.
6167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6168
8ca89318
JM
61692012-11-13 Joseph Myers <joseph@codesourcery.com>
6170
e27d476a
JM
6171 * timezone/tzselect.ksh: Update from tzcode git revision
6172 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6173 * timezone/zdump.c: Likewise.
6174 * timezone/zic.c: Likewise.
6175 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6176 in TZVERSION setting, not $(PKGVERSION).
6177 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6178 REPORT_BUGS_TO settings.
6179
8ca89318
JM
6180 [BZ #14838]
6181 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6182 macro.
6183
47594329
MS
61842012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6185
6186 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6187 detection to immediately after _FP_ROUND().
6188 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6189 bits are 0.
6190
640ac3f1
DM
61912012-11-11 David S. Miller <davem@davemloft.net>
6192
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6194 inttypes.h
6195 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6196 __close rather than their public counterparts.
6197
3d2577bb
JM
61982012-11-10 Joseph Myers <joseph@codesourcery.com>
6199
6200 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6201 file.
6202 [UNIX98] (sem_timedwait): Do not expect.
6203 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6204 [XPG4 || UNIX98] (sockatmark): Do not expect.
6205 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6206 (clock_getcpuclockid): Do not expect.
6207 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6208 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6209 Do not expect.
6210 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6211 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6212 [UNIX98] (vwscanf): Likewise.
6213 [UNIX98] (vswscanf): Likewise.
6214
fb1ae1ee
JM
62152012-11-09 Joseph Myers <joseph@codesourcery.com>
6216
9ec6f8bd
JM
6217 * timezone/version.h: Remove file.
6218 * timezone/README: Do not refer to version.h.
6219 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6220 $(objpfx)version.h.
6221 ($(objpfx)zdump.o): Likewise.
c3f81911 6222 ($(objpfx)version.h): New target.
9ec6f8bd 6223
0aa8f8a1
JM
6224 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6225 2012i.
6226 * timezone/README: Don't mention modification to tzselect.ksh.
6227 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6228 work on unmodified tzselect.ksh. Substitute version numbers in
6229 tzselect.ksh.
6230
4e87147f
JM
6231 * Makefile (format-me): Remove.
6232 (INSTALL): Adjust indentation. Use commands directly instead of
6233 using $(format-me).
6234
8b748aed
JM
6235 * aclocal.m4 (ACX_PKGVERSION): New macro.
6236 (ACX_BUGURL): Likewise.
6237 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6238 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6239 (REPORT_BUGS_TO): Likewise.
6240 * configure: Regenerated.
6241 * config.h.in (PKGVERSION): New macro.
6242 (REPORT_BUGS_TO): Likewise.
6243 * config.make.in (PKGVERSION): New variable.
6244 (PKGVERSION_TEXI): Likewise.
6245 (REPORT_BUGS_TO): Likewise.
6246 (REPORT_BUGS_TEXI): Likewise.
6247 * Makefile (format-me): Use -I$(common-objpfx)manual.
6248 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6249 ($(common-objpfx)manual/%): New target.
6250 (manual/%): Remove target.
6251 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6252 (print_version): Use PKGVERSION.
6253 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6254 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6255 and REPORT_BUGS_TO.
6256 ($(objpfx)xtrace): Likewise.
6257 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6258 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6259 (print_version): Use PKGVERSION.
6260 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6261 (do_version): Use PKGVERSION.
6262 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6263 REPORT_BUGS_TO.
6264 (common-ldd-rewrite): Likewise.
6265 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6266 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6267 (print_version): Use PKGVERSION.
6268 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6269 * elf/pldd.c (argp_program_bug_address): Remove variable.
6270 (more_help): New function.
6271 (argp): Use more_help.
6272 (print_version): Use PKGVERSION.
6273 * elf/sln.c (main): Use PKGVERSION.
6274 (usage): Use REPORT_BUGS_TO.
6275 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6276 (top level): Use PKGVERSION.
6277 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6278 (print_version): Use PKGVERSION.
6279 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6280 (print_version): Use PKGVERSION.
6281 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6282 (print_version): Use PKGVERSION.
6283 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6284 (print_version): Use PKGVERSION.
6285 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6286 (print_version): Use PKGVERSION.
6287 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6288 (print_version): Use PKGVERSION.
6289 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6290 and BUGURL.
6291 ($(objpfx)memusage): Likewise.
6292 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6293 (do_version): Use PKGVERSION.
6294 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6295 (print_version): Use PKGVERSION.
6296 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6297 ($PKGVERSION): New variable.
6298 ($REPORT_BUGS_TO): Likewise.
6299 (usage): Use $REPORT_BUGS_TO.
6300 (top level): Use $PKGVERSION.
6301 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6302 ($(objpfx)pkgvers.texi): New rule.
6303 ($(objpfx)stamp-pkgvers): Likewise.
6304 * manual/install.texi: Include pkgvers.texi.
6305 (--with-pkgversion): Document new configure option.
6306 (--with-bugurl): Likewise.
6307 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6308 than necessarily for this particular distribution. Use
6309 REPORT_BUGS_TO for where to report bugs.
6310 * INSTALL: Regenerated.
6311 * manual/libc.texinfo: Include pkgvers.texi.
6312 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6313 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6314 (print_version): Use PKGVERSION.
6315 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6316 (print_version): Use PKGVERSION.
6317 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6318 (print_version): Use PKGVERSION.
6319 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6320 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6321 macro.
6322 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6323 (print_version): Use PKGVERSION.
6324 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6325 (print_version): Use PKGVERSION.
6326 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6327 and PKGVERSION.
6328
92e4b6a9
JM
6329 * timezone/checktab.awk: Update from tzcode 2012i.
6330 * timezone/ialloc.c: Likewise.
6331 * timezone/private.h: Likewise.
6332 * timezone/scheck.c: Likewise.
6333 * timezone/tzfile.h: Likewise.
6334 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6335 (TZVERSION): Hardcode tzcode version number.
6336 * timezone/zdump.c: Update from tzcode 2012i.
6337 * timezone/zic.c: Likewise.
6338 * timezone/version.h: New file.
6339 * timezone/README: Describe version.h. Update upstream location.
6340
9bde902c
JM
6341 [BZ #14824]
6342 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6343 (mktemp): Enable declaration.
6344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6348 Likewise.
6349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6350 Likewise.
6351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6352 Likewise.
6353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6354 Likewise.
6355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6356 Likewise.
6357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6358 Likewise.
6359
fb1ae1ee
JM
6360 [BZ #14821]
6361 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6362 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6363 for copies of such integer values.
6364 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6365 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6366
2c1adbcb
AJ
63672012-11-09 Andreas Jaeger <aj@suse.de>
6368
6369 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6370 definitions and declarations that are provided by
6371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6372
d0f8457e
AK
63732012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6374
3a235abb 6375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6376 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6377 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6378 definition.
6379
57241e26
MS
63802012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6381
6382 * elf/elf.h: Update comment before AArch64 relocations.
6383
60e8270d
DM
63842012-11-07 David S. Miller <davem@davemloft.net>
6385
6386 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6387 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6388 (__start_context): Declare.
6389 (__makecontext_ret): Delete.
6390 (__makecontext): Hook up __start_context instead of
6391 __makecontext_ret.
6392 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6393 (sysdep_routines): Add __start_context when in stdlib.
6394
0fbb0fbc
JM
63952012-11-07 Joseph Myers <joseph@codesourcery.com>
6396
6397 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6398 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6399 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6400 hardcoded "nm".
6401 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6402 (READELF): New variable. Use it instead of hardcoded "readelf".
6403
eb48db7e
L
64042012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6407 * sysdeps/x86/Makefile: Here.
6408 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6409 * sysdeps/x86/tst-xmmymm.sh: This.
6410
05bcf62a
JM
64112012-11-07 Joseph Myers <joseph@codesourcery.com>
6412
c4b6cf53
JM
6413 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6414 expectations.
6415 [UNIX98] (pthread_barrier_t): Do not expect.
6416 [UNIX98] (pthread_barrierattr_t): Likewise.
6417 [UNIX98] (pthread_spinlock_t): Likewise.
6418 [UNIX98] (pthread_barrier_destroy): Likewise.
6419 [UNIX98] (pthread_barrier_init): Likewise.
6420 [UNIX98] (pthread_barrier_wait): Likewise.
6421 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6422 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6423 [UNIX98] (pthread_barrierattr_init): Likewise.
6424 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6425 [UNIX98] (pthread_getcpuclockid): Likewise.
6426 [UNIX98] (pthread_mutex_timedlock): Likewise.
6427 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6428 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6429 [UNIX98] (pthread_sigmask): Likewise.
6430 [UNIX98] (pthread_spin_destroy): Likewise.
6431 [UNIX98] (pthread_spin_init): Likewise.
6432 [UNIX98] (pthread_spin_lock): Likewise.
6433 [UNIX98] (pthread_spin_trylock): Likewise.
6434 [UNIX98] (pthread_spin_unlock): Likewise.
6435 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6436 Do not expect.
6437 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6439 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6440 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6441 [XPG3 || XPG4] (pthread_key_t): Likewise.
6442 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6443 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6444 [XPG3 || XPG4] (pthread_once_t): Likewise.
6445 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6446 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6448 [XPG3 || XPG4] (pthread_t): Likewise.
6449
cbe6e120
JM
6450 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6451 not expect.
6452 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6453
1b126443
JM
6454 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6455 Change function return type to int.
6456
b961a573
JM
6457 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6458 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6459 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6460 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6461 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6462 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6463 [!POSIX] (posix_madvise): Likewise.
6464 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6465 && !UNIX98].
6466 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6467 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6468 (mode_t): Likewise.
6469 (posix_mem_offset): Likewise.
6470 (posix_typed_mem_get_info): Likewise.
6471 (posix_typed_mem_open): Likewise.
6472
9e188909
JM
6473 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6474 Change condition to [XOPEN2K8].
6475
05bcf62a
JM
6476 * conform/conformtest.pl: Preprocess allow-header data with -x c
6477 instead of from stdin.
6478 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6479 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6480 [C99-based standards] (cerfc): Likewise.
6481 [C99-based standards] (cexp2): Likewise.
6482 [C99-based standards] (cexpm1): Likewise.
6483 [C99-based standards] (clog10): Likewise.
6484 [C99-based standards] (clog1p): Likewise.
6485 [C99-based standards] (clog2): Likewise.
6486 [C99-based standards] (clgamma): Likewise.
6487 [C99-based standards] (ctgamma): Likewise.
6488 [C99-based standards] (cerff): Likewise.
6489 [C99-based standards] (cerfcf): Likewise.
6490 [C99-based standards] (cexp2f): Likewise.
6491 [C99-based standards] (cexpm1f): Likewise.
6492 [C99-based standards] (clog10f): Likewise.
6493 [C99-based standards] (clog1pf): Likewise.
6494 [C99-based standards] (clog2f): Likewise.
6495 [C99-based standards] (clgammaf): Likewise.
6496 [C99-based standards] (ctgammaf): Likewise.
6497 [C99-based standards] (cerfl): Likewise.
6498 [C99-based standards] (cerfcl): Likewise.
6499 [C99-based standards] (cexp2l): Likewise.
6500 [C99-based standards] (cexpm1l): Likewise.
6501 [C99-based standards] (clog10l): Likewise.
6502 [C99-based standards] (clog1pl): Likewise.
6503 [C99-based standards] (clog2l): Likewise.
6504 [C99-based standards] (clgammal): Likewise.
6505 [C99-based standards] (ctgammal): Likewise.
6506 * conform/data/inttypes.h-data [C99-based standards]: Include
6507 stdint.h-data. Remove all expectations for stdint.h contents.
6508 [C99-based standards] (PRI*): Do not allow.
6509 [C99-based standards] (SCN*): Likewise.
6510 [C99-based standards] (*_t): Likewise.
6511 [C99-based-standards] (PRId8): Expect macro.
6512 [C99-based-standards] (PRIi8): Likewise.
6513 [C99-based-standards] (PRIo8): Likewise.
6514 [C99-based-standards] (PRIu8): Likewise.
6515 [C99-based-standards] (PRIx8): Likewise.
6516 [C99-based-standards] (PRIX8): Likewise.
6517 [C99-based-standards] (SCNd8): Likewise.
6518 [C99-based-standards] (SCNi8): Likewise.
6519 [C99-based-standards] (SCNo8): Likewise.
6520 [C99-based-standards] (SCNu8): Likewise.
6521 [C99-based-standards] (SCNx8): Likewise.
6522 [C99-based-standards] (PRIdLEAST8): Likewise.
6523 [C99-based-standards] (PRIiLEAST8): Likewise.
6524 [C99-based-standards] (PRIoLEAST8): Likewise.
6525 [C99-based-standards] (PRIuLEAST8): Likewise.
6526 [C99-based-standards] (PRIxLEAST8): Likewise.
6527 [C99-based-standards] (PRIXLEAST8): Likewise.
6528 [C99-based-standards] (SCNdLEAST8): Likewise.
6529 [C99-based-standards] (SCNiLEAST8): Likewise.
6530 [C99-based-standards] (SCNoLEAST8): Likewise.
6531 [C99-based-standards] (SCNuLEAST8): Likewise.
6532 [C99-based-standards] (SCNxLEAST8): Likewise.
6533 [C99-based-standards] (PRIdFAST8): Likewise.
6534 [C99-based-standards] (PRIiFAST8): Likewise.
6535 [C99-based-standards] (PRIoFAST8): Likewise.
6536 [C99-based-standards] (PRIuFAST8): Likewise.
6537 [C99-based-standards] (PRIxFAST8): Likewise.
6538 [C99-based-standards] (PRIXFAST8): Likewise.
6539 [C99-based-standards] (SCNdFAST8): Likewise.
6540 [C99-based-standards] (SCNiFAST8): Likewise.
6541 [C99-based-standards] (SCNoFAST8): Likewise.
6542 [C99-based-standards] (SCNuFAST8): Likewise.
6543 [C99-based-standards] (SCNxFAST8): Likewise.
6544 [C99-based-standards] (PRId16): Likewise.
6545 [C99-based-standards] (PRIi16): Likewise.
6546 [C99-based-standards] (PRIo16): Likewise.
6547 [C99-based-standards] (PRIu16): Likewise.
6548 [C99-based-standards] (PRIx16): Likewise.
6549 [C99-based-standards] (PRIX16): Likewise.
6550 [C99-based-standards] (SCNd16): Likewise.
6551 [C99-based-standards] (SCNi16): Likewise.
6552 [C99-based-standards] (SCNo16): Likewise.
6553 [C99-based-standards] (SCNu16): Likewise.
6554 [C99-based-standards] (SCNx16): Likewise.
6555 [C99-based-standards] (PRIdLEAST16): Likewise.
6556 [C99-based-standards] (PRIiLEAST16): Likewise.
6557 [C99-based-standards] (PRIoLEAST16): Likewise.
6558 [C99-based-standards] (PRIuLEAST16): Likewise.
6559 [C99-based-standards] (PRIxLEAST16): Likewise.
6560 [C99-based-standards] (PRIXLEAST16): Likewise.
6561 [C99-based-standards] (SCNdLEAST16): Likewise.
6562 [C99-based-standards] (SCNiLEAST16): Likewise.
6563 [C99-based-standards] (SCNoLEAST16): Likewise.
6564 [C99-based-standards] (SCNuLEAST16): Likewise.
6565 [C99-based-standards] (SCNxLEAST16): Likewise.
6566 [C99-based-standards] (PRIdFAST16): Likewise.
6567 [C99-based-standards] (PRIiFAST16): Likewise.
6568 [C99-based-standards] (PRIoFAST16): Likewise.
6569 [C99-based-standards] (PRIuFAST16): Likewise.
6570 [C99-based-standards] (PRIxFAST16): Likewise.
6571 [C99-based-standards] (PRIXFAST16): Likewise.
6572 [C99-based-standards] (SCNdFAST16): Likewise.
6573 [C99-based-standards] (SCNiFAST16): Likewise.
6574 [C99-based-standards] (SCNoFAST16): Likewise.
6575 [C99-based-standards] (SCNuFAST16): Likewise.
6576 [C99-based-standards] (SCNxFAST16): Likewise.
6577 [C99-based-standards] (PRId32): Likewise.
6578 [C99-based-standards] (PRIi32): Likewise.
6579 [C99-based-standards] (PRIo32): Likewise.
6580 [C99-based-standards] (PRIu32): Likewise.
6581 [C99-based-standards] (PRIx32): Likewise.
6582 [C99-based-standards] (PRIX32): Likewise.
6583 [C99-based-standards] (SCNd32): Likewise.
6584 [C99-based-standards] (SCNi32): Likewise.
6585 [C99-based-standards] (SCNo32): Likewise.
6586 [C99-based-standards] (SCNu32): Likewise.
6587 [C99-based-standards] (SCNx32): Likewise.
6588 [C99-based-standards] (PRIdLEAST32): Likewise.
6589 [C99-based-standards] (PRIiLEAST32): Likewise.
6590 [C99-based-standards] (PRIoLEAST32): Likewise.
6591 [C99-based-standards] (PRIuLEAST32): Likewise.
6592 [C99-based-standards] (PRIxLEAST32): Likewise.
6593 [C99-based-standards] (PRIXLEAST32): Likewise.
6594 [C99-based-standards] (SCNdLEAST32): Likewise.
6595 [C99-based-standards] (SCNiLEAST32): Likewise.
6596 [C99-based-standards] (SCNoLEAST32): Likewise.
6597 [C99-based-standards] (SCNuLEAST32): Likewise.
6598 [C99-based-standards] (SCNxLEAST32): Likewise.
6599 [C99-based-standards] (PRIdFAST32): Likewise.
6600 [C99-based-standards] (PRIiFAST32): Likewise.
6601 [C99-based-standards] (PRIoFAST32): Likewise.
6602 [C99-based-standards] (PRIuFAST32): Likewise.
6603 [C99-based-standards] (PRIxFAST32): Likewise.
6604 [C99-based-standards] (PRIXFAST32): Likewise.
6605 [C99-based-standards] (SCNdFAST32): Likewise.
6606 [C99-based-standards] (SCNiFAST32): Likewise.
6607 [C99-based-standards] (SCNoFAST32): Likewise.
6608 [C99-based-standards] (SCNuFAST32): Likewise.
6609 [C99-based-standards] (SCNxFAST32): Likewise.
6610 [C99-based-standards] (PRId64): Likewise.
6611 [C99-based-standards] (PRIi64): Likewise.
6612 [C99-based-standards] (PRIo64): Likewise.
6613 [C99-based-standards] (PRIu64): Likewise.
6614 [C99-based-standards] (PRIx64): Likewise.
6615 [C99-based-standards] (PRIX64): Likewise.
6616 [C99-based-standards] (SCNd64): Likewise.
6617 [C99-based-standards] (SCNi64): Likewise.
6618 [C99-based-standards] (SCNo64): Likewise.
6619 [C99-based-standards] (SCNu64): Likewise.
6620 [C99-based-standards] (SCNx64): Likewise.
6621 [C99-based-standards] (PRIdLEAST64): Likewise.
6622 [C99-based-standards] (PRIiLEAST64): Likewise.
6623 [C99-based-standards] (PRIoLEAST64): Likewise.
6624 [C99-based-standards] (PRIuLEAST64): Likewise.
6625 [C99-based-standards] (PRIxLEAST64): Likewise.
6626 [C99-based-standards] (PRIXLEAST64): Likewise.
6627 [C99-based-standards] (SCNdLEAST64): Likewise.
6628 [C99-based-standards] (SCNiLEAST64): Likewise.
6629 [C99-based-standards] (SCNoLEAST64): Likewise.
6630 [C99-based-standards] (SCNuLEAST64): Likewise.
6631 [C99-based-standards] (SCNxLEAST64): Likewise.
6632 [C99-based-standards] (PRIdFAST64): Likewise.
6633 [C99-based-standards] (PRIiFAST64): Likewise.
6634 [C99-based-standards] (PRIoFAST64): Likewise.
6635 [C99-based-standards] (PRIuFAST64): Likewise.
6636 [C99-based-standards] (PRIxFAST64): Likewise.
6637 [C99-based-standards] (PRIXFAST64): Likewise.
6638 [C99-based-standards] (SCNdFAST64): Likewise.
6639 [C99-based-standards] (SCNiFAST64): Likewise.
6640 [C99-based-standards] (SCNoFAST64): Likewise.
6641 [C99-based-standards] (SCNuFAST64): Likewise.
6642 [C99-based-standards] (SCNxFAST64): Likewise.
6643 [C99-based-standards] (PRIdMAX): Likewise.
6644 [C99-based-standards] (PRIiMAX): Likewise.
6645 [C99-based-standards] (PRIoMAX): Likewise.
6646 [C99-based-standards] (PRIuMAX): Likewise.
6647 [C99-based-standards] (PRIxMAX): Likewise.
6648 [C99-based-standards] (PRIXMAX): Likewise.
6649 [C99-based-standards] (SCNdMAX): Likewise.
6650 [C99-based-standards] (SCNiMAX): Likewise.
6651 [C99-based-standards] (SCNoMAX): Likewise.
6652 [C99-based-standards] (SCNuMAX): Likewise.
6653 [C99-based-standards] (SCNxMAX): Likewise.
6654 [C99-based-standards] (PRIdPTR): Likewise.
6655 [C99-based-standards] (PRIiPTR): Likewise.
6656 [C99-based-standards] (PRIoPTR): Likewise.
6657 [C99-based-standards] (PRIuPTR): Likewise.
6658 [C99-based-standards] (PRIxPTR): Likewise.
6659 [C99-based-standards] (PRIXPTR): Likewise.
6660 [C99-based-standards] (SCNdPTR): Likewise.
6661 [C99-based-standards] (SCNiPTR): Likewise.
6662 [C99-based-standards] (SCNoPTR): Likewise.
6663 [C99-based-standards] (SCNuPTR): Likewise.
6664 [C99-based-standards] (SCNxPTR): Likewise.
6665 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6666 allow.
6667 * conform/data/stdint.h-data: Update comments to clarify
6668 requirements.
6669 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6670 type.
6671 [C99-based standards] (INT8_MAX): Likewise.
6672 [C99-based standards] (INT16_MIN): Likewise.
6673 [C99-based standards] (INT16_MAX): Likewise.
6674 [C99-based standards] (INT32_MIN): Likewise.
6675 [C99-based standards] (INT32_MAX): Likewise.
6676 [C99-based standards] (INT64_MIN): Likewise.
6677 [C99-based standards] (INT64_MAX): Likewise.
6678 [C99-based standards] (UINT8_MAX): Likewise.
6679 [C99-based standards] (UINT16_MAX): Likewise.
6680 [C99-based standards] (UINT32_MAX): Likewise.
6681 [C99-based standards] (UINT64_MAX): Likewise.
6682 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6683 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6684 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6685 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6686 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6687 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6688 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6689 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6690 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6691 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6692 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6693 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6694 [C99-based standards] (INT_FAST8_MIN): Likewise.
6695 [C99-based standards] (INT_FAST8_MAX): Likewise.
6696 [C99-based standards] (INT_FAST16_MIN): Likewise.
6697 [C99-based standards] (INT_FAST16_MAX): Likewise.
6698 [C99-based standards] (INT_FAST32_MIN): Likewise.
6699 [C99-based standards] (INT_FAST32_MAX): Likewise.
6700 [C99-based standards] (INT_FAST64_MIN): Likewise.
6701 [C99-based standards] (INT_FAST64_MAX): Likewise.
6702 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6703 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6704 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6705 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6706 [C99-based standards] (INTPTR_MIN): Likewise.
6707 [C99-based standards] (INTPTR_MAX): Likewise.
6708 [C99-based standards] (UINTPTR_MAX): Likewise.
6709 [C99-based standards] (INTMAX_MIN): Likewise.
6710 [C99-based standards] (INTMAX_MAX): Likewise.
6711 [C99-based standards] (UINTMAX_MAX): Likewise.
6712 [C99-based standards] (PTRDIFF_MIN): Likewise.
6713 [C99-based standards] (PTRDIFF_MAX): Likewise.
6714 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6715 [C99-based standards] (SIZE_MAX): Likewise.
6716 [C99-based standards] (WCHAR_MAX): Likewise.
6717 [C99-based standards] (WINT_MAX): Likewise.
6718 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6719 constraint on value.
6720 [C99-based standards] (WCHAR_MIN): Likewise.
6721 [C99-based standards] (WINT_MIN): Likewise.
6722 [C99-based standards] (*_t): Allow.
6723 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6724 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6725 Include math.h-data and complex.h-data. Remove all expectations
6726 of math.h and complex.h contents.
6727 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6728 at end of line.
6729 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6730 (struct tm): Expect tag.
6731 [C99-based-standards] (wcstof): Expect function.
6732 [C99-based-standards] (wcstold): Likewise.
6733 [C99-based-standards] (wcstoll): Likewise.
6734 [C99-based-standards] (wcstoull): Likewise.
6735 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6736 macro-int-constant. Specify type.
6737 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6738 constraint on value.
6739 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6740 Specify type.
6741 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6742 Specify value.
6743 [ISO C standards]: Do not allow headers.
6744 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6745 wcs[abcdefghijklmnopqrstuvwxyz]*.
6746 [ISO C standards] (*_t): Do not allow.
6747 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6748 Expect function.
6749 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6750 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6751 Specify type.
6752 [ISO C standards]: Do not allow headers.
6753 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6754 is[abcdefghijklmnopqrstuvwxyz]*.
6755 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6756 to[abcdefghijklmnopqrstuvwxyz]*.
6757 [ISO C standards] (*_t): Do not allow.
6758 * conform/data/stdalign.h-data: New file.
6759 * conform/data/stdbool.h-data: Likewise.
6760 * conform/data/stdnoreturn.h-data: Likewise.
6761
7514feb8
RM
67622012-11-07 Roland McGrath <roland@hack.frob.com>
6763
6764 [BZ #14815]
6765 * manual/filesys.texi (Directory Entries): Typo fix.
6766 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6767
19b2ecfc
MS
67682012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6769
6770 * elf/elf.h (EM_AARCH64): New macro.
6771 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6772 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6773 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6774 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6775 (R_AARCH64_TLSDESC): Likewise.
6776 (NT_ARM_TLS): Likewise.
6777 (NT_ARM_HW_BREAK): Likewise.
6778 (NT_ARM_HW_WATCH): Likewise.
6779
60e235ee
JM
67802012-11-07 Joseph Myers <joseph@codesourcery.com>
6781
6782 [BZ #14811]
6783 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6784 (__ieee754_powl): Saturate nonzero exponents with absolute value
6785 below 0x1p-79 to +/- 0x1p-79.
6786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6787 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6788 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6789 nonzero exponents with absolute value below 0x1p-32 to +/-
6790 0x1p-32.
6791 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6792 (__ieee754_powl): Saturate nonzero exponents with absolute value
6793 below 0x1p-79 to +/- 0x1p-79.
6794 * math/libm-test.inc (pow_test): Add more tests.
6795
0ab234b7
AK
67962012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6797
6798 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6799 _dl_s390_cap_flags with kernel. Increase string length.
6800 (_dl_s390_platforms): Add z196 and zEC12.
6801
45832f74
JM
68022012-11-07 Joseph Myers <joseph@codesourcery.com>
6803
6804 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6805 Change XOPEN21K to XOPEN2K.
6806
19218757
MK
68072012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6808
6809 * string/memmove.c: Use memcpy when possible.
6810
c5f45721
AJ
68112012-11-06 Andreas Jaeger <aj@suse.de>
6812
6813 * po/eo.po: Update from translation team.
6814
82477c28
JM
68152012-11-06 Joseph Myers <joseph@codesourcery.com>
6816
6817 [BZ #14793]
6818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6819 exponent and small x and y exponents, scale x or y up. Increase
6820 by 2 the exponent used in scaling up.
6821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6823 * math/libm-test.inc (fma_test): Add more tests.
6824 (fma_test_towardzero): Likewise.
6825 (fma_test_downward): Likewise.
6826 (fma_test_upward): Likewise.
6827
99252c8c
JM
68282012-11-05 Joseph Myers <joseph@codesourcery.com>
6829
acfa885f
JM
6830 [BZ #14805]
6831 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6832 fenv_t *.
6833
99252c8c
JM
6834 [BZ #14801]
6835 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6836 namespace for names of struct fields.
6837 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6838 fenv_t fields.
6839 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6840 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6841
d6d98dea
ST
68422012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6843
6844 [BZ #3665]
6845 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6846
e10bb107
TS
68472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6848
6849 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6850 PTR_DEMANGLE.
6851
6852 [BZ #5246]
6853 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6854 PTR_DEMANGLE.
6855
a0c2940d
JM
68562012-11-04 Joseph Myers <joseph@codesourcery.com>
6857
6858 [BZ #14797]
6859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6860 definitely overflow as x * y not x * y + z.
6861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6863 * math/libm-test.inc (fma_test): Add more tests.
6864 (fma_test_towardzero): Likewise.
6865 (fma_test_downward): Likewise.
6866 (fma_test_upward): Likewise.
6867
b830319d
TS
68682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6869
6870 [BZ #157]
6871
6872 * include/stub-tag.h: Remove file.
6873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6874 '#include' of it.
6875 * manual/maint.texi (Porting): Don't reference it.
6876 * Makerules ($(objpfx)stubs): Likewise.
6877 * dirent/closedir.c: Don't include <stub-tag.h>.
6878 * dirent/dirfd.c: Likewise.
6879 * dirent/fdopendir.c: Likewise.
6880 * dirent/getdents.c: Likewise.
6881 * dirent/getdents64.c: Likewise.
6882 * dirent/opendir.c: Likewise.
6883 * dirent/readdir.c: Likewise.
6884 * dirent/readdir64.c: Likewise.
6885 * dirent/readdir64_r.c: Likewise.
6886 * dirent/readdir_r.c: Likewise.
6887 * dirent/rewinddir.c: Likewise.
6888 * dirent/seekdir.c: Likewise.
6889 * dirent/telldir.c: Likewise.
6890 * gmon/profil.c: Likewise.
6891 * grp/setgroups.c: Likewise.
6892 * inet/if_index.c: Likewise.
6893 * io/access.c: Likewise.
6894 * io/chdir.c: Likewise.
6895 * io/chmod.c: Likewise.
6896 * io/chown.c: Likewise.
6897 * io/close.c: Likewise.
6898 * io/dup.c: Likewise.
6899 * io/dup2.c: Likewise.
6900 * io/dup3.c: Likewise.
6901 * io/euidaccess.c: Likewise.
6902 * io/faccessat.c: Likewise.
6903 * io/fchdir.c: Likewise.
6904 * io/fchmod.c: Likewise.
6905 * io/fchmodat.c: Likewise.
6906 * io/fchown.c: Likewise.
6907 * io/fchownat.c: Likewise.
6908 * io/fcntl.c: Likewise.
6909 * io/flock.c: Likewise.
6910 * io/fstatfs.c: Likewise.
6911 * io/fstatfs64.c: Likewise.
6912 * io/fstatvfs.c: Likewise.
6913 * io/fstatvfs64.c: Likewise.
6914 * io/futimens.c: Likewise.
6915 * io/fxstat.c: Likewise.
6916 * io/fxstat64.c: Likewise.
6917 * io/fxstatat.c: Likewise.
6918 * io/fxstatat64.c: Likewise.
6919 * io/getcwd.c: Likewise.
6920 * io/isatty.c: Likewise.
6921 * io/lchmod.c: Likewise.
6922 * io/lchown.c: Likewise.
6923 * io/link.c: Likewise.
6924 * io/linkat.c: Likewise.
6925 * io/lseek.c: Likewise.
6926 * io/lseek64.c: Likewise.
6927 * io/lxstat64.c: Likewise.
6928 * io/mkdir.c: Likewise.
6929 * io/mkdirat.c: Likewise.
6930 * io/mkfifo.c: Likewise.
6931 * io/mkfifoat.c: Likewise.
6932 * io/open.c: Likewise.
6933 * io/open64.c: Likewise.
6934 * io/openat.c: Likewise.
6935 * io/openat64.c: Likewise.
6936 * io/pipe.c: Likewise.
6937 * io/pipe2.c: Likewise.
6938 * io/poll.c: Likewise.
6939 * io/posix_fadvise.c: Likewise.
6940 * io/posix_fadvise64.c: Likewise.
6941 * io/posix_fallocate.c: Likewise.
6942 * io/posix_fallocate64.c: Likewise.
6943 * io/read.c: Likewise.
6944 * io/readlink.c: Likewise.
6945 * io/readlinkat.c: Likewise.
6946 * io/rmdir.c: Likewise.
6947 * io/sendfile.c: Likewise.
6948 * io/sendfile64.c: Likewise.
6949 * io/statfs.c: Likewise.
6950 * io/statfs64.c: Likewise.
6951 * io/statvfs.c: Likewise.
6952 * io/statvfs64.c: Likewise.
6953 * io/symlink.c: Likewise.
6954 * io/symlinkat.c: Likewise.
6955 * io/ttyname.c: Likewise.
6956 * io/ttyname_r.c: Likewise.
6957 * io/umask.c: Likewise.
6958 * io/unlink.c: Likewise.
6959 * io/unlinkat.c: Likewise.
6960 * io/utime.c: Likewise.
6961 * io/utimensat.c: Likewise.
6962 * io/write.c: Likewise.
6963 * io/xmknod.c: Likewise.
6964 * io/xmknodat.c: Likewise.
6965 * io/xstat.c: Likewise.
6966 * io/xstat64.c: Likewise.
6967 * login/getpt.c: Likewise.
6968 * login/grantpt.c: Likewise.
6969 * login/unlockpt.c: Likewise.
6970 * math/e_acoshl.c: Likewise.
6971 * math/e_acosl.c: Likewise.
6972 * math/e_asinl.c: Likewise.
6973 * math/e_atan2l.c: Likewise.
6974 * math/e_atanhl.c: Likewise.
6975 * math/e_coshl.c: Likewise.
6976 * math/e_expl.c: Likewise.
6977 * math/e_fmodl.c: Likewise.
6978 * math/e_gammal_r.c: Likewise.
6979 * math/e_hypotl.c: Likewise.
6980 * math/e_j0l.c: Likewise.
6981 * math/e_j1l.c: Likewise.
6982 * math/e_jnl.c: Likewise.
6983 * math/e_lgammal_r.c: Likewise.
6984 * math/e_log10l.c: Likewise.
6985 * math/e_log2l.c: Likewise.
6986 * math/e_logl.c: Likewise.
6987 * math/e_powl.c: Likewise.
6988 * math/e_rem_pio2l.c: Likewise.
6989 * math/e_sinhl.c: Likewise.
6990 * math/e_sqrtl.c: Likewise.
6991 * math/fclrexcpt.c: Likewise.
6992 * math/fedisblxcpt.c: Likewise.
6993 * math/feenablxcpt.c: Likewise.
6994 * math/fegetenv.c: Likewise.
6995 * math/fegetexcept.c: Likewise.
6996 * math/fegetround.c: Likewise.
6997 * math/feholdexcpt.c: Likewise.
6998 * math/fesetenv.c: Likewise.
6999 * math/fesetround.c: Likewise.
7000 * math/feupdateenv.c: Likewise.
7001 * math/fgetexcptflg.c: Likewise.
7002 * math/fraiseexcpt.c: Likewise.
7003 * math/fsetexcptflg.c: Likewise.
7004 * math/ftestexcept.c: Likewise.
7005 * math/k_cosl.c: Likewise.
7006 * math/k_rem_pio2l.c: Likewise.
7007 * math/k_sinl.c: Likewise.
7008 * math/k_tanl.c: Likewise.
7009 * math/s_asinhl.c: Likewise.
7010 * math/s_atanl.c: Likewise.
7011 * math/s_cbrtl.c: Likewise.
7012 * math/s_erfl.c: Likewise.
7013 * math/s_expm1l.c: Likewise.
7014 * math/s_log1pl.c: Likewise.
7015 * math/s_tanhl.c: Likewise.
7016 * misc/acct.c: Likewise.
7017 * misc/brk.c: Likewise.
7018 * misc/chflags.c: Likewise.
7019 * misc/chroot.c: Likewise.
7020 * misc/fchflags.c: Likewise.
7021 * misc/fgetxattr.c: Likewise.
7022 * misc/flistxattr.c: Likewise.
7023 * misc/fremovexattr.c: Likewise.
7024 * misc/fsetxattr.c: Likewise.
7025 * misc/fsync.c: Likewise.
7026 * misc/ftruncate.c: Likewise.
7027 * misc/futimes.c: Likewise.
7028 * misc/futimesat.c: Likewise.
7029 * misc/getdomain.c: Likewise.
7030 * misc/getdtsz.c: Likewise.
7031 * misc/gethostid.c: Likewise.
7032 * misc/gethostname.c: Likewise.
7033 * misc/getloadavg.c: Likewise.
7034 * misc/getpagesize.c: Likewise.
7035 * misc/getsysstats.c: Likewise.
7036 * misc/getxattr.c: Likewise.
7037 * misc/gtty.c: Likewise.
7038 * misc/ioctl.c: Likewise.
7039 * misc/lgetxattr.c: Likewise.
7040 * misc/listxattr.c: Likewise.
7041 * misc/llistxattr.c: Likewise.
7042 * misc/lremovexattr.c: Likewise.
7043 * misc/lsetxattr.c: Likewise.
7044 * misc/lutimes.c: Likewise.
7045 * misc/madvise.c: Likewise.
7046 * misc/mincore.c: Likewise.
7047 * misc/mlock.c: Likewise.
7048 * misc/mlockall.c: Likewise.
7049 * misc/mmap.c: Likewise.
7050 * misc/mprotect.c: Likewise.
7051 * misc/msync.c: Likewise.
7052 * misc/munlock.c: Likewise.
7053 * misc/munlockall.c: Likewise.
7054 * misc/munmap.c: Likewise.
7055 * misc/preadv.c: Likewise.
7056 * misc/preadv64.c: Likewise.
7057 * misc/ptrace.c: Likewise.
7058 * misc/pwritev.c: Likewise.
7059 * misc/pwritev64.c: Likewise.
7060 * misc/readv.c: Likewise.
7061 * misc/reboot.c: Likewise.
7062 * misc/remap_file_pages.c: Likewise.
7063 * misc/removexattr.c: Likewise.
7064 * misc/revoke.c: Likewise.
7065 * misc/select.c: Likewise.
7066 * misc/setdomain.c: Likewise.
7067 * misc/setegid.c: Likewise.
7068 * misc/seteuid.c: Likewise.
7069 * misc/sethostid.c: Likewise.
7070 * misc/sethostname.c: Likewise.
7071 * misc/setregid.c: Likewise.
7072 * misc/setreuid.c: Likewise.
7073 * misc/setxattr.c: Likewise.
7074 * misc/sstk.c: Likewise.
7075 * misc/stty.c: Likewise.
7076 * misc/swapoff.c: Likewise.
7077 * misc/swapon.c: Likewise.
7078 * misc/sync.c: Likewise.
7079 * misc/syncfs.c: Likewise.
7080 * misc/syscall.c: Likewise.
7081 * misc/truncate.c: Likewise.
7082 * misc/ualarm.c: Likewise.
7083 * misc/usleep.c: Likewise.
7084 * misc/ustat.c: Likewise.
7085 * misc/utimes.c: Likewise.
7086 * misc/vhangup.c: Likewise.
7087 * misc/writev.c: Likewise.
7088 * posix/_exit.c: Likewise.
7089 * posix/alarm.c: Likewise.
7090 * posix/execve.c: Likewise.
7091 * posix/fexecve.c: Likewise.
7092 * posix/fork.c: Likewise.
7093 * posix/fpathconf.c: Likewise.
7094 * posix/getaddrinfo.c: Likewise.
7095 * posix/getegid.c: Likewise.
7096 * posix/geteuid.c: Likewise.
7097 * posix/getgid.c: Likewise.
7098 * posix/getgroups.c: Likewise.
7099 * posix/getlogin.c: Likewise.
7100 * posix/getlogin_r.c: Likewise.
7101 * posix/getpgid.c: Likewise.
7102 * posix/getpid.c: Likewise.
7103 * posix/getppid.c: Likewise.
7104 * posix/getresgid.c: Likewise.
7105 * posix/getresuid.c: Likewise.
7106 * posix/getsid.c: Likewise.
7107 * posix/getuid.c: Likewise.
7108 * posix/glob64.c: Likewise.
7109 * posix/nanosleep.c: Likewise.
7110 * posix/pathconf.c: Likewise.
7111 * posix/pause.c: Likewise.
7112 * posix/posix_madvise.c: Likewise.
7113 * posix/pread.c: Likewise.
7114 * posix/pread64.c: Likewise.
7115 * posix/pwrite.c: Likewise.
7116 * posix/pwrite64.c: Likewise.
7117 * posix/sched_getaffinity.c: Likewise.
7118 * posix/sched_getp.c: Likewise.
7119 * posix/sched_gets.c: Likewise.
7120 * posix/sched_primax.c: Likewise.
7121 * posix/sched_primin.c: Likewise.
7122 * posix/sched_rr_gi.c: Likewise.
7123 * posix/sched_setaffinity.c: Likewise.
7124 * posix/sched_setp.c: Likewise.
7125 * posix/sched_sets.c: Likewise.
7126 * posix/sched_yield.c: Likewise.
7127 * posix/setgid.c: Likewise.
7128 * posix/setlogin.c: Likewise.
7129 * posix/setpgid.c: Likewise.
7130 * posix/setresgid.c: Likewise.
7131 * posix/setresuid.c: Likewise.
7132 * posix/setsid.c: Likewise.
7133 * posix/setuid.c: Likewise.
7134 * posix/sleep.c: Likewise.
7135 * posix/spawni.c: Likewise.
7136 * posix/sysconf.c: Likewise.
7137 * posix/times.c: Likewise.
7138 * posix/wait.c: Likewise.
7139 * posix/wait3.c: Likewise.
7140 * posix/wait4.c: Likewise.
7141 * posix/waitpid.c: Likewise.
7142 * resolv/gai_sigqueue.c: Likewise.
7143 * resource/getpriority.c: Likewise.
7144 * resource/getrlimit.c: Likewise.
7145 * resource/getrusage.c: Likewise.
7146 * resource/nice.c: Likewise.
7147 * resource/setpriority.c: Likewise.
7148 * resource/setrlimit.c: Likewise.
7149 * resource/ulimit.c: Likewise.
7150 * rt/aio_cancel.c: Likewise.
7151 * rt/aio_fsync.c: Likewise.
7152 * rt/aio_read.c: Likewise.
7153 * rt/aio_sigqueue.c: Likewise.
7154 * rt/aio_suspend.c: Likewise.
7155 * rt/aio_write.c: Likewise.
7156 * rt/clock_getres.c: Likewise.
7157 * rt/clock_gettime.c: Likewise.
7158 * rt/clock_nanosleep.c: Likewise.
7159 * rt/clock_settime.c: Likewise.
7160 * rt/lio_listio.c: Likewise.
7161 * rt/mq_close.c: Likewise.
7162 * rt/mq_getattr.c: Likewise.
7163 * rt/mq_notify.c: Likewise.
7164 * rt/mq_open.c: Likewise.
7165 * rt/mq_receive.c: Likewise.
7166 * rt/mq_send.c: Likewise.
7167 * rt/mq_setattr.c: Likewise.
7168 * rt/mq_timedreceive.c: Likewise.
7169 * rt/mq_timedsend.c: Likewise.
7170 * rt/mq_unlink.c: Likewise.
7171 * rt/shm_open.c: Likewise.
7172 * rt/shm_unlink.c: Likewise.
7173 * rt/timer_create.c: Likewise.
7174 * rt/timer_delete.c: Likewise.
7175 * rt/timer_getoverr.c: Likewise.
7176 * rt/timer_gettime.c: Likewise.
7177 * rt/timer_settime.c: Likewise.
7178 * setjmp/__longjmp.c: Likewise.
7179 * setjmp/setjmp.c: Likewise.
7180 * signal/kill.c: Likewise.
7181 * signal/killpg.c: Likewise.
7182 * signal/raise.c: Likewise.
7183 * signal/sigaction.c: Likewise.
7184 * signal/sigaltstack.c: Likewise.
7185 * signal/sigblock.c: Likewise.
7186 * signal/sigignore.c: Likewise.
7187 * signal/sigintr.c: Likewise.
7188 * signal/signal.c: Likewise.
7189 * signal/sigpause.c: Likewise.
7190 * signal/sigpending.c: Likewise.
7191 * signal/sigqueue.c: Likewise.
7192 * signal/sigreturn.c: Likewise.
7193 * signal/sigset.c: Likewise.
7194 * signal/sigsetmask.c: Likewise.
7195 * signal/sigstack.c: Likewise.
7196 * signal/sigsuspend.c: Likewise.
7197 * signal/sigtimedwait.c: Likewise.
7198 * signal/sigvec.c: Likewise.
7199 * signal/sigwait.c: Likewise.
7200 * signal/sigwaitinfo.c: Likewise.
7201 * signal/sysv_signal.c: Likewise.
7202 * socket/accept.c: Likewise.
7203 * socket/accept4.c: Likewise.
7204 * socket/bind.c: Likewise.
7205 * socket/connect.c: Likewise.
7206 * socket/getpeername.c: Likewise.
7207 * socket/getsockname.c: Likewise.
7208 * socket/getsockopt.c: Likewise.
7209 * socket/isfdtype.c: Likewise.
7210 * socket/listen.c: Likewise.
7211 * socket/recv.c: Likewise.
7212 * socket/recvfrom.c: Likewise.
7213 * socket/recvmsg.c: Likewise.
7214 * socket/send.c: Likewise.
7215 * socket/sendmsg.c: Likewise.
7216 * socket/sendto.c: Likewise.
7217 * socket/setsockopt.c: Likewise.
7218 * socket/shutdown.c: Likewise.
7219 * socket/sockatmark.c: Likewise.
7220 * socket/socket.c: Likewise.
7221 * socket/socketpair.c: Likewise.
7222 * stdio-common/ctermid.c: Likewise.
7223 * stdio-common/cuserid.c: Likewise.
7224 * stdio-common/remove.c: Likewise.
7225 * stdio-common/rename.c: Likewise.
7226 * stdio-common/renameat.c: Likewise.
7227 * stdio-common/tempname.c: Likewise.
7228 * stdlib/getcontext.c: Likewise.
7229 * stdlib/makecontext.c: Likewise.
7230 * stdlib/setcontext.c: Likewise.
7231 * stdlib/swapcontext.c: Likewise.
7232 * stdlib/system.c: Likewise.
7233 * streams/fattach.c: Likewise.
7234 * streams/fdetach.c: Likewise.
7235 * streams/getmsg.c: Likewise.
7236 * streams/getpmsg.c: Likewise.
7237 * streams/putmsg.c: Likewise.
7238 * streams/putpmsg.c: Likewise.
7239 * sysdeps/unix/bsd/getpt.c: Likewise.
7240 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7241 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7244 Likewise.
7245 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7246 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7247 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7248 * sysvipc/msgctl.c: Likewise.
7249 * sysvipc/msgget.c: Likewise.
7250 * sysvipc/msgrcv.c: Likewise.
7251 * sysvipc/msgsnd.c: Likewise.
7252 * sysvipc/semctl.c: Likewise.
7253 * sysvipc/semget.c: Likewise.
7254 * sysvipc/semop.c: Likewise.
7255 * sysvipc/semtimedop.c: Likewise.
7256 * sysvipc/shmat.c: Likewise.
7257 * sysvipc/shmctl.c: Likewise.
7258 * sysvipc/shmdt.c: Likewise.
7259 * sysvipc/shmget.c: Likewise.
7260 * termios/tcdrain.c: Likewise.
7261 * termios/tcflow.c: Likewise.
7262 * termios/tcflush.c: Likewise.
7263 * termios/tcgetattr.c: Likewise.
7264 * termios/tcgetpgrp.c: Likewise.
7265 * termios/tcsendbrk.c: Likewise.
7266 * termios/tcsetattr.c: Likewise.
7267 * termios/tcsetpgrp.c: Likewise.
7268 * time/adjtime.c: Likewise.
7269 * time/clock.c: Likewise.
7270 * time/getitimer.c: Likewise.
7271 * time/gettimeofday.c: Likewise.
7272 * time/setitimer.c: Likewise.
7273 * time/settimeofday.c: Likewise.
7274 * time/stime.c: Likewise.
7275 * time/time.c: Likewise.
7276
72772012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7278
a20492cf
PT
7279 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7280 /usr/old/bin.
7281
72e182e3
PT
7282 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7283 instead of spaces.
7284 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7285
fbeafede
JM
72862012-11-03 Joseph Myers <joseph@codesourcery.com>
7287
5b5b04d6
JM
7288 [BZ #14796]
7289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7290 FE_TONEAREST before applying Dekker multiplication and Knuth
7291 addition. Clear inexact exceptions and check for exact zero
7292 results afterwards.
7293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7296 * math/libm-test.inc (fma_test): Add more tests.
7297 (fma_test_towardzero): Likewise.
7298 (fma_test_downward): Likewise.
7299 (fma_test_upward): Likewise.
7300 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7301 function.
7302 (libc_fesetround): New macro.
7303 (libc_fesetroundf): Likewise.
7304 (libc_fesetroundl): Likewise.
7305 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7306 function.
7307 (libc_fesetround_387): Likewise.
7308 (libc_fesetroundf): New macro.
7309 (libc_fesetround): Likewise.
7310 (libc_fesetroundl): Likewise.
7311 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7312 function.
7313 (libc_fesetroundf): New macro.
7314 (libc_fesetround): Likewise.
7315 (libc_fesetroundl): Likewise.
7316 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7317 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7318 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7319 libm_hidden_ver.
7320 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7321 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7322 libm_hidden_def.
7323 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7324 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7325 libm_hidden_ver.
7326 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7327 libm_hidden_def.
7328
fbeafede
JM
7329 [BZ #3439]
7330 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7331 integer constant usable in #if and use that to give value to enum
7332 constant.
7333 (FE_DIVBYZERO): Likewise.
7334 (FE_UNDERFLOW): Likewise.
7335 (FE_OVERFLOW): Likewise.
7336 (FE_INVALID): Likewise.
7337 (FE_INVALID_SNAN): Likewise.
7338 (FE_INVALID_ISI): Likewise.
7339 (FE_INVALID_IDI): Likewise.
7340 (FE_INVALID_ZDZ): Likewise.
7341 (FE_INVALID_IMZ): Likewise.
7342 (FE_INVALID_COMPARE): Likewise.
7343 (FE_INVALID_SOFTWARE): Likewise.
7344 (FE_INVALID_SQRT): Likewise.
7345 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7346 (FE_TONEAREST): Likewise.
7347 (FE_TOWARDZERO): Likewise.
7348 (FE_UPWARD): Likewise.
7349 (FE_DOWNWARD): Likewise.
7350 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7351 (FE_DIVBYZERO): Likewise.
7352 (FE_OVERFLOW): Likewise.
7353 (FE_UNDERFLOW): Likewise.
7354 (FE_INEXACT): Likewise.
7355 (FE_TONEAREST): Likewise.
7356 (FE_DOWNWARD): Likewise.
7357 (FE_UPWARD): Likewise.
7358 (FE_TOWARDZERO): Likewise.
7359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7360 (FE_UNDERFLOW): Likewise.
7361 (FE_OVERFLOW): Likewise.
7362 (FE_DIVBYZERO): Likewise.
7363 (FE_INVALID): Likewise.
7364 (FE_TONEAREST): Likewise.
7365 (FE_TOWARDZERO): Likewise.
7366 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7367 (FE_OVERFLOW): Likewise.
7368 (FE_UNDERFLOW): Likewise.
7369 (FE_DIVBYZERO): Likewise.
7370 (FE_INEXACT): Likewise.
7371 (FE_TONEAREST): Likewise.
7372 (FE_TOWARDZERO): Likewise.
7373 (FE_UPWARD): Likewise.
7374 (FE_DOWNWARD): Likewise.
7375 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7376 (FE_DIVBYZERO): Likewise.
7377 (FE_OVERFLOW): Likewise.
7378 (FE_UNDERFLOW): Likewise.
7379 (FE_INEXACT): Likewise.
7380 (FE_TONEAREST): Likewise.
7381 (FE_DOWNWARD): Likewise.
7382 (FE_UPWARD): Likewise.
7383 (FE_TOWARDZERO): Likewise.
7384
105ca950
CM
73852012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7386
7387 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7388
a542b389
AS
73892012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7390
7391 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7392 commands. Quote $PWD.
7393 (blacklist_exports): Don't use remove_newlines. Replace "declare
7394 -x" by "export".
7395 (remove_newlines): Remove.
7396
f62c8abc
L
73972012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7400 * stdlib/stdlib.h (atof): Moved to ...
7401 * include/bits/stdlib-float.h: Here. New file.
7402 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7403 * stdlib/bits/stdlib-float.h: New file.
7404 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7405 -mno-sse -mno-mmx.
7406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7407 <xmmintrin.h>.
7408
0155d5b2
JM
74092012-11-02 Joseph Myers <joseph@codesourcery.com>
7410
a68d0680
JM
7411 * conform/conformtest.pl (@headers): Add fenv.h.
7412 * conform/data/fenv.h-data: New file.
7413 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7414 include of <math/fenv.h>.
7415
caf7f573
JM
7416 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7417 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7418 && !UNIX98]. Enables tests for XOPEN2K8.
7419 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7420 POSIX2008]: Likewise.
7421
6c073ad6
JM
7422 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7423 (struct rusage): Do not expect type or its members.
7424
0155d5b2
JM
7425 [BZ #3439]
7426 * math/math.h (FP_NAN): Define macro to integer constant usable in
7427 #if and use that to give value to enum constant.
7428 (FP_INFINITE): Likewise.
7429 (FP_ZERO): Likewise.
7430 (FP_SUBNORMAL): Likewise.
7431 (FP_NORMAL): Likewise.
7432
b5dcacb4
AS
74332012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7434
7435 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7436 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7437 arguments.
7438
f7934be8
RM
74392012-11-02 Roland McGrath <roland@hack.frob.com>
7440
7441 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7442 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7443 autoconf-time if not.
7444 * configure.in: Remove AC_PREREQ.
7445
d7d08bde
TMQMF
74462012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7447
7448 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7449 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7450 of the internal implementation.
7451
dcdae19a
JM
74522012-11-02 Joseph Myers <joseph@codesourcery.com>
7453
7454 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7455 except include of <misc/sys/syslog.h>.
7456
d6cffd3e
AS
74572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7458
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7460 function returns with a NULL context exit with zero.
7461
b3563932
TMQMF
74622012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7463
7464 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7465
b288a93d
L
74662012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7467
7468 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7469 (run_program_cmd): This.
7470 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7471 (tst_langinfo): New variable. Use it.
7472
a2421a68
SAS
74732012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7474
7475 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7476 floating point opcodes.
7477
6f796e1b
TS
74782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7479
7402596b
TS
7480 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7481 variable.
7482
d0d4f868
TS
7483 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7484
6f796e1b
TS
7485 * sysdeps/mach/hurd/powerpc: Remove directory.
7486 * sysdeps/mach/powerpc: Likewise.
7487
4da224a2
AS
74882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7489
7490 * scripts/check-local-headers.sh: Ignore c++ headers.
7491
341dd673
TS
74922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7493
7494 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7495 __libc_cleanup_region_start argument.
7496
473611b2
JM
74972012-11-01 Joseph Myers <joseph@codesourcery.com>
7498
7499 [BZ #14784]
7500 [BZ #14785]
7501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7502 x * y using scaling, not as x * y + z.
7503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7505 * math/libm-test.inc (fma_test): Add more tests.
7506 (fma_test_towardzero): Likewise.
7507 (fma_test_downward): Likewise.
7508 (fma_test_upward): Likewise.
7509
4078da3d
TS
75102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7511
7512 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7513
903252aa
JM
75142012-10-31 Joseph Myers <joseph@codesourcery.com>
7515
7516 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7517 New variable.
7518
cbc818d0
TS
75192012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7520
7521 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7522
5a03cb1e
AS
75232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7524
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7526 Fix sort order.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7528 Likewise.
7529
90aff2ff
TMQMF
75302012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7531
7532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7533 Fix the order of the list for glibc 2.17.
7534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7535 Likewise.
7536
1818fcb7
AS
75372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7538
7539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7540
ef82f4da
JM
75412012-10-31 Joseph Myers <joseph@codesourcery.com>
7542
16a0e2ec
JM
7543 [BZ #14610]
7544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7545 for low part of x being zero before using __atanl (y).
7546 * math/libm-test.inc (atan2_test): Add another test.
7547
0eb69512
JM
7548 * manual/install.texi (Configuring and compiling): Document
7549 general use of test-wrapper and test-wrapper-env.
7550 * INSTALL: Regenerated.
7551
ef82f4da
JM
7552 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7553 (__fma): Do not extract and scale down low bits on after-rounding
7554 systems when result rounded to normal precision would have normal
7555 exponent.
7556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7557 (__fmal): Do not extract and scale down low bits on after-rounding
7558 systems when result rounded to normal precision would have normal
7559 exponent.
7560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7561 (__fmal): Do not extract and scale down low bits on after-rounding
7562 systems when result rounded to normal precision would have normal
7563 exponent.
7564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7565 macro.
7566 (fma_test): Add more tests.
7567 (fma_test_towardzero): Likewise.
7568 (fma_test_downward): Likewise.
7569 (fma_test_upward): Likewise.
7570
954ef0d9
L
75712012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 * sysdeps/i386/tininess.h: Renamed to ...
7574 * sysdeps/x86/tininess.h: This.
7575 * sysdeps/x86_64/tininess.h: Removed.
7576
df61ffb2
JM
75772012-10-30 Joseph Myers <joseph@codesourcery.com>
7578
7579 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7580 input. Use $(build-program-cmd).
7581 ($(objpfx)tst-array1-static.out): Likewise.
7582 ($(objpfx)tst-array2.out): Likewise.
7583 ($(objpfx)tst-array3.out): Likewise.
7584 ($(objpfx)tst-array4.out): Likewise.
7585 ($(objpfx)tst-array5.out): Likewise.
7586 ($(objpfx)tst-array5-static.out): Likewise.
7587
01767843
CM
75882012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7589
47cc1490
CM
7590 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7591 if defined.
7592
01767843
CM
7593 * nss/nsswitch.h (nss_interface_function): Provide new
7594 macro for use with NSS functions.
7595 * grp/initgroups.c: Use new macro.
7596 * nss/getXXbyYY.c: Likewise.
7597 * nss/getXXbyYY_r.c: Likewise.
7598 * nss/getXXent.c: Likewise.
7599 * nss/getXXent_r.c: Likewise.
7600 * sysdeps/posix/getaddrinfo.c: Likewise.
7601
8321aa97
AJ
76022012-10-30 Andreas Jaeger <aj@suse.de>
7603
7604 * po/ru.po: Update Russion translation from translation project.
7605
2a27fd6d
JM
76062012-10-30 Joseph Myers <joseph@codesourcery.com>
7607
8627a232
JM
7608 [BZ #14152]
7609 [BZ #14783]
7610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7611 result and shift together with sticky bit instead of replicating
7612 round-to-nearest rounding.
7613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7615 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7616 missing underflow exceptions.
7617 (fma_test_towardzero): Add more tests.
7618 (fma_test_downward): Likewise.
7619 (fma_test_upward): Likewise.
7620
2a27fd6d
JM
7621 [BZ #14047]
7622 * sysdeps/generic/tininess.h: New file.
7623 * sysdeps/i386/tininess.h: Likewise.
7624 * sysdeps/sh/tininess.h: Likewise.
7625 * sysdeps/x86_64/tininess.h: Likewise.
7626 * stdlib/tst-strtod-underflow.c: Likewise.
7627 * stdlib/tst-tininess.c: Likewise.
7628 * stdlib/strtod_l.c: Include <tininess.h>.
7629 (round_and_return): Do not set errno for exact underflow cases.
7630 Force an underflow exception when setting errno for underflow.
7631 Determine underflow based on rounding to normal precision if
7632 TININESS_AFTER_ROUNDING.
7633 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7634 ERANGE for exact underflow cases.
7635 * stdlib/Makefile (tests): Add tst-tininess and
7636 tst-strtod-underflow.
7637 ($(objpfx)tst-tininess): Use $(link-libm).
7638 ($(objpfx)tst-strtod-underflow): Likewise.
7639
e7170363
AJ
76402012-10-30 Andreas Jaeger <aj@suse.de>
7641
e5088dc6
AJ
7642 [BZ#14767]
7643 * elf/Makefile (tests): Remove conditional for have-initfini-array
7644 since this is now always required and the variable does not exist
7645 anymore.
7646 (tests-static): Likewise.
7647 (modules-names): Likewise.
7648
e7170363 7649 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7650
7651 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7652 merged with constructor/destructor.
7653 (init_array): Likewise.
7654 * elf/tst-array2dep.c (fini_array): Likewise.
7655 (init_array): Likewise.
7656
60457d8a
MF
76572012-10-29 Mike Frysinger <vapier@gentoo.org>
7658
7659 * manual/message.texi: Delete @cartouche tags.
7660
8bece752
PT
76612012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7662
94ce799f
PT
7663 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7664 EOPNOTSUPP.
7665 * sysdeps/mach/hurd/fsync.c: Likewise.
7666
8bece752
PT
7667 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7668 [_POSIX_REALTIME_SIGNALS]: Change condition to
7669 [_POSIX_REALTIME_SIGNALS > 0].
7670
86ebe6b1
AJ
76712012-10-27 Andreas Jaeger <aj@suse.de>
7672
7673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7674 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7676 [__WORDSIZE != 64]: Likewise.
7677
54399c08
L
76782012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * iconvdata/tst-table.sh: Remove ${SHELL}.
7681 * iconvdata/tst-tables.sh: Likewise.
7682
e2211bed
DM
76832012-10-25 David S. Miller <davem@davemloft.net>
7684
7685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7686 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7687 of strtoull.
7688
f303f97c
DM
7689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7690 ifunc-impl-list.c
7691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7692 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7693 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7694 file.
7695
1e9d84cd
RM
76962012-10-25 Roland McGrath <roland@hack.frob.com>
7697
7698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7699 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7700 __getdirentries.
7701
df381762
JM
77022012-10-25 Joseph Myers <joseph@codesourcery.com>
7703 Jim Blandy <jimb@codesourcery.com>
7704
7705 * scripts/cross-test-ssh.sh: New file.
7706 * manual/install.texi (Configuring and compiling): Document use of
7707 cross-test-ssh.sh.
7708 * INSTALL: Regenerated.
7709
bff64913
PT
77102012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7711
7712 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7713 EOPNOTSUPP.
7714
25fe8932
JM
77152012-10-25 Joseph Myers <joseph@codesourcery.com>
7716
7717 * Makeconfig (run-program-prefix): Fix comment.
7718
cc1290d0
JM
77192012-10-24 Joseph Myers <joseph@codesourcery.com>
7720 Jim Blandy <jimb@codesourcery.com>
7721
7722 * Makeconfig (test-wrapper): New variable,
7723 (test-wrapper-env): Likewise.
7724 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7725 (run-built-tests): Define to yes.
7726 (run-program-prefix): Use $(test-wrapper).
7727 (built-program-cmd): Likewise.
7728 * Rules (make-test-out): Use $(test-wrapper-env) and
7729 $(host-built-program-cmd).
7730 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7731 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7732 tst-pathopt.sh.
7733 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7734 $(test-wrapper-env) to tst-rtld-load-self.sh.
7735 ($(objpfx)order2.out): Use $(test-wrapper).
7736 ($(objpfx)tst-initorder.out): Likewise.
7737 ($(objpfx)tst-initorder2.out): Likewise.
7738 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7739 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7740 (test_wrapper_env): New variable. Use it to run ld.so.
7741 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7742 Use it to run ld.so.
7743 (test_wrapper_env): Likewise.
7744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7745 $(test-wrapper) to run-iconv-test.sh.
7746 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7747 (ICONV): Use $test_wrapper.
7748 * posix/Makefile ($(objpfx)globtest.out): Pass
7749 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7750 globtest.sh, not $(run-program-prefix).
7751 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7752 (test_wrapper): Likewise.
7753 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7754 set together with run_via_rtld_prefix.
7755 (run_program_prefix): Define in terms of test_wrapper and
7756 run_via_rtld_prefix.
7757
6e6249d0
RM
77582012-10-24 Roland McGrath <roland@hack.frob.com>
7759
7760 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7761 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7762 Targets removed.
7763
7764 [BZ #14743]
7765 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7766 Declare __clock_getres, __clock_gettime, __clock_settime,
7767 __clock_nanosleep, and __clock_getcpuclockid.
7768 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7769 Remove librt_hidden_def (clock_gettime).
7770 * sysdeps/unix/clock_gettime.c: Likewise.
7771 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7773 * rt/clock_getres.c: Define __clock_getres as an alias.
7774 * sysdeps/posix/clock_getres.c: Likewise.
7775 * rt/clock_settime.c: Define __clock_settime as an alias.
7776 * sysdeps/unix/clock_settime.c: Likewise.
7777 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7778 * sysdeps/unix/clock_nanosleep.c: Likewise.
7779 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7780 * rt/clock-compat.c: New file.
7781 * rt/Makefile (librt-routines): Add clock-compat and move
7782 $(clock-routines) to ...
7783 (routines): ... here, new variable.
7784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7785 Don't add get_clockfreq here.
7786 * rt/Versions (libc: GLIBC_2.17): New version set.
7787 Add clock_* symbols here.
7788 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7790 (GLIBC_2.17): Add clock_* symbols.
7791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7795 Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7802 * NEWS: Mention the move.
7803
7804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7805 Use __open, __read, __close rather than their public counterparts.
7806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7807 (__get_clockfreq_via_cpuinfo): Likewise.
7808 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7809 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7810
7811 * config.h.in (HAVE_IFUNC): New #undef.
7812 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7813 was successful.
7814 * configure: Regenerated.
7815
0cae3f4b
MF
78162012-10-24 Mike Frysinger <vapier@gentoo.org>
7817
7818 * configure.in: Move READELF check to start of file.
7819 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7820 libc_cv_asm_gnu_indirect_function in the process.
7821 * configure: Regenerated.
7822
8175a253
MF
78232012-10-24 Mike Frysinger <vapier@gentoo.org>
7824
7825 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7826 send the output to /dev/null.
7827 (libc_cv_cc_with_libunwind): Likewise.
7828 (libc_cv_as_noexecstack): Likewise.
7829 * configure: Regenerate.
7830
0708a7d1
JM
78312012-10-24 Joseph Myers <joseph@codesourcery.com>
7832
10b40d85
JM
7833 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7834
0708a7d1
JM
7835 * posix/globtest.sh (TMPDIR): Do not set.
7836 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7837 (testout): Likewise.
7838
9fddec1a
AJ
78392012-10-24 Andreas Jaeger <aj@suse.de>
7840
3a8db22f
AJ
7841 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7842 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7843 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7844 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7845 posix_fadvise64, posix_fallocate64.
7846
9fddec1a
AJ
7847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7848 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7849 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7850 Likewise.
7851 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7852 Likewise.
7853 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7854
7855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7856 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7857 <bits/fcntl-linux.h>.
7858 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7859
7860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7861 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7862 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7863 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7864 [__WORDSIZE != 64]: Likewise.
7865
ebfd1bbd
JM
78662012-10-23 Joseph Myers <joseph@codesourcery.com>
7867
03ac099f
JM
7868 * Makeconfig (run-built-tests): New variable.
7869 * Rules [$(cross-compiling) = yes]: Change condition to
7870 [$(run-built-tests) = no].
7871 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7872 to [$(run-built-tests) = yes].
7873 * elf/Makefile [$(cross-compiling) = no]: Likewise
7874 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7875 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7876 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7877 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7878 * io/Makefile [$(cross-compiling) = no]: Likewise.
7879 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7880 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7881 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7882 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7883 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7884 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7885 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7886 * string/Makefile [$(cross-compiling) = no]: Likewise.
7887
ebfd1bbd
JM
7888 * posix/Makefile ($(objpfx)globtest.out): Pass
7889 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7890 $(rtld-installed-name).
7891 * posix/globtest.sh (elf_objpfx): Remove variable.
7892 (rtld_installed_name): Likewise.
7893 (library_path): Likewise.
7894 (run_program_prefix): New variable. Use for running globtest
7895 binary.
7896
166bca24
JB
78972012-10-23 Jim Blandy <jimb@codesourcery.com>
7898 Joseph Myers <joseph@codesourcery.com>
7899
7900 * Makeconfig (host-built-program-cmd): New variable.
7901 * elf/Makefile (tst-stackguard1-ARGS): Use
7902 $(host-built-program-cmd).
7903 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7904 (tst-spawn-ARGS): Likewise.
7905 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7906
88866099
JM
79072012-10-23 Joseph Myers <joseph@codesourcery.com>
7908 Jim Blandy <jimb@codesourcery.com>
7909
7910 * Makeconfig (run-via-rtld-prefix): New variable.
7911 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7912 (built-program-cmd): Likewise.
7913
b4b4c296
AJ
79142012-10-22 Andreas Jaeger <aj@suse.de>
7915
7916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7917 __O_RSYNC if it exists, otherwise to O_SYNC.
7918
6fb54a22
JB
79192012-10-22 Jim Blandy <jimb@codesourcery.com>
7920 Joseph Myers <joseph@codesourcery.com>
7921
7922 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7923 /dev/null.
7924 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7925 from /dev/null
7926 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7927 /dev/null.
7928
481b90b9
AJ
79292012-10-22 Andreas Jaeger <aj@suse.de>
7930
2a0e2669
AJ
7931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7932 Define always.
7933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7934
76e38f9a
AJ
7935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7936 bits/fcntl-linux.h.
7937
7cd37b43
AJ
7938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7939 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7940
481b90b9
AJ
7941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7942 to __O_LARGEFILE.
7943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7944 to __O_LARGEFILE.
7945
aba75984
JB
79462012-10-21 Jim Blandy <jimb@codesourcery.com>
7947 Joseph Myers <joseph@codesourcery.com>
7948
7949 * config.make.in (NM): New variable.
7950
88d4247f
AJ
79512012-10-21 Andreas Jaeger <aj@suse.de>
7952
7953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7954 definitions and declarations that are provided by
7955 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7956
f2eed205
L
79572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 [BZ #14683]
7960 * elf/Makefile (tests-static): Add tst-leaks1-static.
7961 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7962 ($(objpfx)tst-leaks1-static): New rule.
7963 ($(objpfx)tst-leaks1-static-mem): Likewise.
7964 (tst-leaks1-static-ENV): New macro.
7965 * elf/dl-open.c (dl_open_worker): Check the main application
7966 only if SHARED is defined.
7967 * elf/tst-leaks1-static.c: New file.
7968
335e6931
AJ
79692012-10-20 Andreas Jaeger <aj@suse.de>
7970
7971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7972 generic values for Linux.
7973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7974 and declarations that are provided by <bits/fcntl-linux.h> and
7975 include <bits/fcntl-linux.h>.
7976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7978
ac5c94d3
RM
79792012-10-20 Roland McGrath <roland@hack.frob.com>
7980
7981 * io/fcntl.h: Move include of <bits/types.h> to the top and
7982 include it unconditionally.
7983
de54b33a
L
79842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7985
228cfb01
L
7986 * wcsmbs/Makefile (tests-ifunc): New variable.
7987 (tests): Add $(tests-ifunc).
7988 * wcsmbs/test-wcschr-ifunc.c: New file.
7989 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7990 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7991 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7992 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7993 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7994
69f07e5f
L
7995 * string/Makefile (tests-ifunc): New variable.
7996 (tests): Add $(tests-ifunc).
7997 * string/test-memccpy.c (TEST_NAME): New macro.
7998 * string/test-memchr.c (TEST_NAME): Likewise.
7999 * string/test-memcmp.c (TEST_NAME): Likewise.
8000 * string/test-memcpy.c (TEST_NAME): Likewise.
8001 * string/test-memmem.c (TEST_NAME): Likewise.
8002 * string/test-memmove.c (TEST_NAME): Likewise.
8003 * string/test-memset.c (TEST_NAME): Likewise.
8004 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8005 * string/test-stpcpy.c (TEST_NAME): Likewise.
8006 * string/test-stpncpy.c (TEST_NAME): Likewise.
8007 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8008 * string/test-strcasestr.c (TEST_NAME): Likewise.
8009 * string/test-strcat.c (TEST_NAME): Likewise.
8010 * string/test-strchr.c (TEST_NAME): Likewise.
8011 * string/test-strcmp.c(TEST_NAME): Likewise.
8012 * string/test-strcpy.c (TEST_NAME): Likewise.
8013 * string/test-strcspn.c (TEST_NAME): Likewise.
8014 * string/test-strlen.c (TEST_NAME): Likewise.
8015 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8016 * string/test-strncmp.c (TEST_NAME): Likewise.
8017 * string/test-strncpy.c (TEST_NAME): Likewise.
8018 * string/test-strnlen.c (TEST_NAME): Likewise.
8019 * string/test-strpbrk.c (TEST_NAME): Likewise.
8020 * string/test-strrchr.c (TEST_NAME): Likewise.
8021 * string/test-strspn.c (TEST_NAME): Likewise.
8022 * string/test-strstr.c (TEST_NAME): Likewise.
8023 * string/test-bcopy-ifunc.c: New file.
8024 * string/test-bzero-ifunc.c: Likewise.
8025 * string/test-memccpy-ifunc.c: Likewise.
8026 * string/test-memchr-ifunc.c: Likewise.
8027 * string/test-memcmp-ifunc.c: Likewise.
8028 * string/test-memcpy-ifunc.c: Likewise.
8029 * string/test-memmem-ifunc.c: Likewise.
8030 * string/test-memmove-ifunc.c: Likewise.
8031 * string/test-mempcpy-ifunc.c: Likewise.
8032 * string/test-memset-ifunc.c: Likewise.
8033 * string/test-rawmemchr-ifunc.c: Likewise.
8034 * string/test-stpcpy-ifunc.c: Likewise.
8035 * string/test-stpncpy-ifunc.c: Likewise.
8036 * string/test-strcasecmp-ifunc.c: Likewise.
8037 * string/test-strcasestr-ifunc.c: Likewise.
8038 * string/test-strcat-ifunc.c: Likewise.
8039 * string/test-strchr-ifunc.c: Likewise.
8040 * string/test-strchrnul-ifunc.c: Likewise.
8041 * string/test-strcmp-ifunc.c: Likewise.
8042 * string/test-strcpy-ifunc.c: Likewise.
8043 * string/test-strcspn-ifunc.c: Likewise.
8044 * string/test-strlen-ifunc.c: Likewise.
8045 * string/test-strncasecmp-ifunc.c: Likewise.
8046 * string/test-strncat-ifunc.c: Likewise.
8047 * string/test-strncmp-ifunc.c: Likewise.
8048 * string/test-strncpy-ifunc.c: Likewise.
8049 * string/test-strnlen-ifunc.c: Likewise.
8050 * string/test-strpbrk-ifunc.c: Likewise.
8051 * string/test-strrchr-ifunc.c: Likewise.
8052 * string/test-strspn-ifunc.c: Likewise.
8053 * string/test-strstr-ifunc.c: Likewise.
8054
de54b33a
L
8055 * debug/Makefile (tests-ifunc): New variable.
8056 (tests): Add $(tests-ifunc).
8057 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8058 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8059 * debug/test-stpcpy_chk-ifunc.c: New file.
8060 * debug/test-strcpy_chk-ifunc.c: Likewise.
8061
88481c16
SP
80622012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
8064 [BZ #13601]
8065 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8066 header is not read in.
8067
135948bd
JM
80682012-10-19 Joseph Myers <joseph@codesourcery.com>
8069
89f1c388
JM
8070 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8071 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8072 directly. Pass built executable to script as
8073 $(built-program-cmd).
8074 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8075 $testprogram without using LD_LIBRARY_PATH and $ldso.
8076
e40a0d21
JM
8077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8078 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8079 $(rtld-installed-name).
8080 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8081 (rtld_installed_name): Likewise.
8082 (library_path): Likewise.
8083 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8084 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8085 $(run-program-prefix) to tst-tables.sh.
8086 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8087 it to run tst-table-from and tst-table-to.
8088 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8089 Pass it to tst-table.sh.
8090 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8091 $(run-program-prefix) to tst-gettext.sh.
8092 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8093 tst-translit.sh.
8094 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8095 tst-gettext2.sh.
8096 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8097 to run tst-gettext.
8098 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8099 to run tst-gettext2.
8100 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8101 to run tst-translit.
8102 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8103 $(run-program-prefix) to tst-mtrace.sh.
8104 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8105 to run tst-mtrace.
8106 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8107 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8108 $(rtld-installed-name).
8109 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8110 (rtld_installed_name): Likewise.
8111 (run_program_prefix): New variable. Use it to run wordexp-test.
8112
728e272a
JM
8113 * Makeconfig (ARCH): Remove all definitions.
8114 (machine): Likewise.
8115 [ARCH]: Remove conditional code.
8116 [!objdir]: Give error.
8117 [!objdir] (objpfx): Remove.
8118 [!objdir] (common-objpfx): Likewise.
8119 [!objdir] (common-objdir): Likewise.
8120 * configure.in (config_makefile): Remove. Hardcode Makefile in
8121 AC_CONFIG_FILES call.
8122 * configure: Regenerated.
8123
d528cdcf
JM
8124 [BZ #13888]
8125 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8126 or TMPDIR.
8127 (testout): Likewise.
8128
135948bd
JM
8129 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8130 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8131 $(rtld-installed-name).
8132 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8133 (rtld_installed_name): Likwise.
8134 (runit): Remove function.
8135 (run_getconf): New variable, Use it for running getconf binary.
8136
38c78296
L
81372012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8138
8139 [BZ #14716]
8140 * string/test-memmem.c (check_result): New function.
8141 (do_one_test): Use it.
8142 (check1): New function.
8143 (test_main): Use it.
8144
d077f65f
MT
81452012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8146
8147 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8148
ced52c71
JM
81492012-10-18 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8152 (_G_LSEEK64): Likewise.
8153 (_G_MMAP64): Likewise.
8154 (_G_FSTAT64): Likewise.
8155 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8156 (_G_LSEEK64): Likewise.
8157 (_G_MMAP64): Likewise.
8158 (_G_FSTAT64): Likewise.
8159 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8160 unconditional. Call __mmap64 directly.
8161 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8162 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8163 __lseek64 directly.
8164 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8165 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8166 __mmap64 directly.
8167 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8168 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8169 __lseek64 directly.
8170 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8171 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8172 __lseek64 directly.
8173 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8174 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8175 __lseek64 directly.
8176 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8177 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8178 __fxstat64 directly.
8179 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8180 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8181 unconditional.
8182 (freopen64) [!_G_OPEN64]: Remove conditional code.
8183 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8184 unconditional.
8185 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8186 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8187 unconditional.
8188 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8189 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8190 unconditional.
8191 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8192 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8193 unconditional.
8194 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8195 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8196 unconditional.
8197 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8198 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8199 unconditional.
8200 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8201 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8202 unconditional.
8203 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8204
b741de23
SP
82052012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8206
8207 [BZ #12140]
8208 * manual/memory.texi (Malloc Tunable Parameters): Add note
8209 about free list pointers overwriting some perturb bytes.
8210 Wording suggested by Roland McGrath.
8211
f9b9d9c9
JM
82122012-10-17 Joseph Myers <joseph@codesourcery.com>
8213
8214 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8215 (lgamma_test): Likewise.
8216 (tgamma_test): Likewise.
8217
172a631a
FW
82182012-10-16 Florian Weimer <fweimer@redhat.com>
8219
8220 [BZ #14700]
8221 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8222 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8223
e9f37252
MK
82242012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8225
8226 * NEWS: Mention BZ #14716.
8227 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8228 when removing AVAILABLE1_USES_J macro.
8229
d394eb74
L
82302012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8231
8232 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8233 (__bswap_64): __uint64_t for unsigned 64-bit int.
8234
ca38dc17
AS
82352012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8236
8237 * include/string.h (memmem): Declare libc hidden alias.
8238 * string/memmem.c (memmem): Define libc hidden alias.
8239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8240 __read, __close instead of open, read, close.
8241
9a387d1f
L
82422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8243
ac49ecaf
L
8244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8245 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8246 global and hidden.
8247 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8248 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8249 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8250 Likewise.
8251 (__rawmemchr_sse2): Likewise.
8252 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8253 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8254 (__strchr_sse2): Likewise.
8255 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8256 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8257 (__strcasecmp_sse2): Likewise.
8258 (__strncasecmp_sse2): Likewise.
8259 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8260 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8261 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8262 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8263 (__strrchr_sse2): Likewise.
8264 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8265 ifunc-impl-list.c.
8266 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8267 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8268 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8270 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8271 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8274 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8275 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8276 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8279 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8280 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8281 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8282 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8283 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8284 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8285 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8286 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8287 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8288 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8289 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8290 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8292 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8294 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8295 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8296
b090e8ea
L
8297 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8298 global and hidden.
8299 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8300 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8301 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8302 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8303 Likewise.
8304 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8305 Likewise.
8306 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8307 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8308 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8309 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8310 ifunc-impl-list.c.
8311 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8341 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8348 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8349 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8350 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8351 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8352
11dd4af6
L
8353 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8354 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8355 * include/ifunc-impl-list.h: New file.
8356 * misc/ifunc-impl-list.c: Likewise.
8357 * misc/Makefile (routines): Add ifunc-impl-list.
8358 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8359 * string/test-string.h: Include <ifunc-impl-list.h>.
8360 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8361 impl_array): New variables.
8362 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8363 are defined.
8364 (test_init): Call __libc_ifunc_impl_list to initialize
8365 func_list if TEST_IFUNC and TEST_NAME are defined.
8366
9a387d1f
L
8367 * string/Makefile (strop-tests): Add bcopy and bzero.
8368 * string/test-bcopy.c: New file.
8369 * string/test-bzero.c: Likewise.
8370 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8371 defined.
8372 * string/test-memset.c: Support bzero test if TEST_BZERO is
8373 defined.
8374 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8375 __libc_memmove.
8376 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8377 __libc_memset.
8378 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8379 of memset.
8380
472371b9
JM
83812012-10-10 Joseph Myers <joseph@codesourcery.com>
8382
1e4a9536
JM
8383 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8384 * configure: Regenerated.
8385
d173d12e
JM
8386 * Makeconfig (+link-static-before-libc): Don't include
8387 $(link-static-libc).
8388
472371b9
JM
8389 * libio/libio.h (_IO_pos_t): Remove.
8390
89a3ad0b
AO
83912012-10-10 Alexandre Oliva <aoliva@redhat.com>
8392
8393 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8394 McGrath.
8395
e7451425
AO
83962012-10-10 Alexandre Oliva <aoliva@redhat.com>
8397
8398 * crypt/crypt-entry.c: Include fips-private.h.
8399 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8400 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8401 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8402 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8403
4ba74a35
AO
84042012-10-10 Alexandre Oliva <aoliva@redhat.com>
8405
8406 * crypt/crypt-private.h: Include stdbool.h.
8407 (_ufc_setup_salt_r): Return bool.
8408 * crypt/crypt-entry.c: Include errno.h.
8409 (__crypt_r): Return NULL with EINVAL for bad salt.
8410 * crypt/crypt_util.c (bad_for_salt): New.
8411 (_ufc_setup_salt_r): Check that salt is long enough and within
8412 the specified alphabet.
8413 * crypt/badsalttest.c: New file.
8414 * crypt/Makefile (tests): Add it.
8415 ($(objpfx)badsalttest): New.
8416
f96f1242
MK
84172012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8418
8419 * NEWS: Add entry for BZ #14602.
8420
0e8e0c1c
JM
84212012-10-09 Joseph Myers <joseph@codesourcery.com>
8422
8423 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8424 type-generic.
8425 * math/libm-test.inc: Update comment listing what functions and
8426 macros are tested.
8427 (isgreater_test): New function.
8428 (isgreaterequal_test): Likewise.
8429 (isless_test): Likewise.
8430 (islessequal_test): Likewise.
8431 (islessgreater_test): Likewise.
8432 (isunordered_test): Likewise.
8433 (main): Call the new functions.
8434
273edc5e
RM
84352012-10-09 Roland McGrath <roland@hack.frob.com>
8436
b8493de0
RM
8437 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8438 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8439 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8440 * sysdeps/i386/configure: Regenerated.
8441 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8442 * sysdeps/mach/configure: Regenerated.
8443 * sysdeps/mach/hurd/configure: Regenerated.
8444 * sysdeps/powerpc/configure: Regenerated.
8445 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8446 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8447 * sysdeps/s390/s390-32/configure: Regenerated.
8448 * sysdeps/s390/s390-64/configure: Regenerated.
8449 * sysdeps/sh/configure: Regenerated.
8450 * sysdeps/sparc/configure: Regenerated.
8451 * sysdeps/unix/sysv/linux/configure: Regenerated.
8452 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8453 * sysdeps/x86_64/configure: Regenerated.
8454
273edc5e
RM
8455 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8456 defined. Don't check if MAP is NULL.
8457
c8450f70
JM
84582012-10-09 Joseph Myers <joseph@codesourcery.com>
8459
8460 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8461 (_G_stat64): Likewise.
8462 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8463 (_G_stat64): Likewise.
8464 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8465 instead of struct _G_stat64.
8466 * libio/fileops.c (mmap_remap_check): Likewise.
8467 (decide_maybe_mmap): Likewise.
8468 (_IO_new_file_seekoff): Likewise.
8469 (_IO_file_stat): Likewise.
8470 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8471 _G_off64_t.
8472 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8473 instead of struct _G_stat64.
8474 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8475
57e605ba
MK
84762012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8477
8478 [BZ #14602]
8479 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8480 Replace with ...
8481 (CHECK_EOL): New macro.
8482 (two_way_short_needle): Check beginning of haystack for EOL. Use
8483 CHECK_EOL.
8484 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8485 Replace with CHECK_EOL.
8486 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8487 Replace with CHECK_EOL.
8488
ef1bb361
JM
84892012-10-08 Joseph Myers <joseph@codesourcery.com>
8490
8491 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8492 type-generic.
8493 * math/libm-test.inc: Update comment listing what functions and
8494 macros are tested.
8495 (finite_test): New function.
8496 (isinf_test): Likewise.
8497 (isnan_test): Likewise.
8498 (fpclassify_test): Test subnormal input.
8499 (isfinite_test): Likewise.
8500 (isnormal_test): Likewise.
8501 (main): Call the new functions.
8502
55f11534
JN
85032012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8504
8505 [BZ #14660]
8506 * Makerules (%.dynsym): Force C locale when running
8507 $(OBJDUMP) --dynamic-syms.
8508
1ab29350
AS
85092012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8510
8511 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8512 <stdint.h>.
8513
f1ecb7ef
DM
85142012-10-06 David S. Miller <davem@davemloft.net>
8515
8516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8517 upper 32-bits of the length value in %o2 since we use branch-on-register
8518 tests which consider the entire 64-bit register.
8519
5d41d91a
L
85202012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8521
8522 * string/test-strstr.c (check2): Add a test for page boundary.
8523
3baddb72
DM
85242012-10-05 David S. Miller <davem@davemloft.net>
8525
8526 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8528 file.
8529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8530 sysdep_routines.
8531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8532 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8533 and bzero when HWCAP_SPARC_CRYPTO is present.
8534
9cee5585
L
85352012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8536
d7e0dab9
L
8537 [BZ #14602]
8538 * string/test-strstr.c (check2): New function.
8539 (test_main): Call check2.
8540
03759f47
L
8541 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8542 and bug-strchr1.
8543 * string/bug-strcasestr1.c (do_test): Moved to ...
8544 * string/test-strcasestr.c (check1): Here. New function.
8545 (do_one_test): Break out result checking code into ...
8546 (check_result): This. New function.
8547 (do_one_test): Call check_result.
8548 (test_main): Call check1.
8549 * string/bug-strchr1.c (do_test): Moved to ...
8550 * string/test-strchr.c (check1): Here. New function.
8551 (do_one_test): Break out result checking code into ...
8552 (check_result): This. New function.
8553 (do_one_test): Call check_result.
8554 (test_main): Call check1.
8555 * string/bug-strstr1.c (main): Moved to ...
046f153e 8556 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8557 (do_one_test): Break out result checking code into ...
8558 (check_result): This. New function.
8559 (do_one_test): Call check_result.
8560 (test_main): Call check1.
8561 * string/bug-strcasestr1.c: Removed.
8562 * string/bug-strchr1.c: Likewise.
8563 * string/bug-strstr1.c: Likewise.
8564
53cea63e
L
8565 * elf/Makefile (dl-routines): Add hwcaps.
8566 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8567 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8568 (_dl_important_hwcaps): Moved to ...
8569 * elf/dl-hwcaps.c: Here. New file.
8570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8571
9cee5585 8572 [BZ #14557]
bb859b06
L
8573 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8574 if IS_IN_rtld isn't defined.
8575
9cee5585
L
8576 * elf/dl-support.c (_dl_sysinfo_map): New.
8577 Include "get-dynamic-info.h" and "setup-vdso.h".
8578 (_dl_non_dynamic_init): Call setup_vdso.
8579 * elf/dynamic-link.h: Don't include <assert.h>.
8580 (elf_get_dynamic_info): Moved to ...
8581 * elf/get-dynamic-info.h: Here. New file.
8582 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8583 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8584 * elf/setup-vdso.h: Here. New file.
8585 * elf/rtld.c: Include "setup-vdso.h".
8586 (dl_main): Call setup_vdso.
8587
23c31b76
JM
85882012-10-05 Joseph Myers <joseph@codesourcery.com>
8589
28234b07
JM
8590 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8591 creal in comment listing functions tested. List finite, isinf,
8592 isnan, isless, islessequal, isgreater, isgreaterequal,
8593 islessgreater, isunordered, lgamma_r and pow10 as functions and
8594 macros not tested. Mention which functions not tested are aliases
8595 for other functions. Fix typo. Note that signs of NaNs are not
8596 tested.
8597
23c31b76
JM
8598 * scripts/config.guess: Update from config.git.
8599 * scripts/config.sub: Likewise.
8600
9043e228
RM
86012012-10-04 Roland McGrath <roland@hack.frob.com>
8602
8603 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8604 * misc/madvise.c (madvise): Renamed to __madvise.
8605 Make madvise a weak alias.
8606 * include/sys/mman.h: Declare __madvise.
8607 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8608 * sysdeps/unix/syscalls.list
8609 (madvise): Make __madvise the strong name, and madvise a weak alias.
8610 * sysdeps/unix/sysv/linux/syscalls.list
8611 (madvise, mmap): Remove redundant entries.
8612 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8613 * malloc/malloc.c (mtrim): Likewise.
8614 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8615
f57f8055
RM
86162012-10-03 Roland McGrath <roland@hack.frob.com>
8617
8618 * sysdeps/mach/hurd/dl-cache.c: File removed.
8619 * config.h.in (USE_LDCONFIG): New #undef.
8620 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8621 * configure: Regenerated.
8622 * elf/Makefile (dl-routines): Add dl-cache only under
8623 [$(use-ldconfig) = yes].
8624 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8625 cache on [USE_LDCONFIG].
8626 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8627 [USE_LDCONFIG].
8628 * elf/rtld.c (dl_main): Likewise.
8629
5bb0c10a
PT
86302012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8631
8632 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8633 _SC_LEVEL4_CACHE_LINESIZE.
8634
010188c6
RM
86352012-10-03 Roland McGrath <roland@hack.frob.com>
8636
8637 * sysdeps/unix/bsd/confstr.h: File removed.
8638
b6c5ec07
AO
86392012-10-02 Alexandre Oliva <aoliva@redhat.com>
8640
8641 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8642 sys/sdt-config.h.
8643
408223d4
RM
86442012-10-02 Roland McGrath <roland@hack.frob.com>
8645
8646 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8647 Make 'mapoff' field ElfW(Off) rather than off_t.
8648
bb9510dc
DL
86492012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8650
fc997c6e
DL
8651 * nscd/Makefile: Remove nscd-cflags and all its users.
8652 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8653 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8654
bb9510dc
DL
8655 [BZ #10631]
8656 * malloc.c (malloc_printerr): Clarify error message.
8657
05699367
L
86582012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 [BZ #14648]
8661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8662 Set bit_FMA_Usable if FMA is supported.
8663 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8664 macro.
8665 (bit_FMA4_Usable): Updated.
8666 (index_FMA_Usable): New macro.
8667 (CPUID_FMA): Likewise
8668 (HAS_FMA): Defined with bit_FMA_Usable.
8669
51367701
RM
86702012-10-01 Roland McGrath <roland@hack.frob.com>
8671
8672 * bits/types.h (__swblk_t): Type removed.
8673 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8674 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8676 (__SWBLK_T_TYPE): Likewise.
8677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8678 (__SWBLK_T_TYPE): Likewise.
8679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8680 (__SWBLK_T_TYPE): Likewise.
8681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8682 (__SWBLK_T_TYPE): Likewise.
8683
4d57bf63 86842012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8685 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8686
8687 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8688 (xdr_mapname): Use YPMAXMAP as maxsize.
8689 (xdr_peername): Use YPMAXPEER as maxsize.
8690 (xdr_keydat): Use YPAXRECORD as maxsize.
8691 (xdr_valdat): Use YPMAXRECORD as maxsize.
8692
93c65d43
RM
86932012-10-01 Roland McGrath <roland@hack.frob.com>
8694
497a03d6
RM
8695 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8696
93c65d43
RM
8697 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8698 * csu/init-first.c: ... here.
8699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8700 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8703 * sysdeps/i386/init-first.c: File removed.
8704 * sysdeps/sh/init-first.c: File removed.
8705
bec749fd
JM
87062012-10-01 Joseph Myers <joseph@codesourcery.com>
8707
8708 [BZ #14645]
8709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8710 if x * y might underflow to zero and z is zero.
8711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8713 * math/libm-test.inc (min_subnorm_value): New variable.
8714 (fma_test): Add more tests.
8715 (fma_test_towardzero): Likewise.
8716 (fma_test_downward): Likewise
8717 (fma_test_upward): Likewise.
8718 (initialize): Set min_subnorm_value.
8719
8ec5b013
JM
87202012-09-29 Joseph Myers <joseph@codesourcery.com>
8721
8722 [BZ #14638]
8723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8724 0 + 0.
8725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8726 mode for addition resulting in exact zero.
8727 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8729 exact 0 + 0.
8730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8732 * math/libm-test.inc (fma_test): Add more tests.
8733 (fma_test_towardzero): New function.
8734 (fma_test_downward): Likewise.
8735 (fma_test_upward): Likewise.
8736 (main): Call the new functions.
8737
b1fa802e
DM
87382012-09-28 David S. Miller <davem@davemloft.net>
8739
8740 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8741
d3b9fd9e
RM
87422012-09-28 Roland McGrath <roland@hack.frob.com>
8743
ea4d37b3
RM
8744 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8745 instead of SIGALRM.
8746
ac51c949
RM
8747 * sysdeps/gnu/_G_config.h: Moved to ...
8748 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8749 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8750 * sysdeps/generic/_G_config.h: ... here.
8751
28c195f7
RM
8752 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8753
848917f9
RM
8754 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8755
6bacf05b
RM
8756 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8757 Conditionalize target on [libnss_test1.so-version].
8758
91363dbb
RM
8759 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8760
cc87f7d8
RM
8761 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8762 (elfobjdir): Move out of conditionals.
8763
b1c608fe
RM
8764 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8765 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8766 (__nss_lookup_function): Conditionalize label remove_from_tree on
8767 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8768
1d9a6d96
DM
87692012-09-28 David S. Miller <davem@davemloft.net>
8770
8771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8773 file.
8774 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8775 sysdep_routines.
8776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8778 when HWCAP_SPARC_CRYPTO is present.
8779
72581615
PT
87802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8781
8782 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8783
715a900c
JL
87842012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8785
8786 [BZ #6530]
8787 * stdio-common/vfprintf.c (process_string_arg): Revert
8788 2000-07-22 change.
8789
87902011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8791
8792 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8793 for testcase.
8794 * stdio-common/tst-sprintf.c: Include <locale.h>
8795 (main): Test sprintf's handling of incomplete multibyte
8796 characters.
8797
9bac1d86
L
87982012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 * elf/dl-runtime.c (VERSYMIDX): Removed.
8801 * elf/dl-version.c (VERSYMIDX): Likewise.
8802 * elf/do-rel.h (VERSYMIDX): Likewise.
8803 (VALIDX): Likewise.
8804 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8805 * elf/rtld.c (VALIDX): Likewise.
8806 (ADDRIDX): Likewise.
9bac1d86
L
8807 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8808 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8809 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8810 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8811 (VALIDX): Likewise.
8812 (ADDRIDX): Likewise.
9bac1d86 8813
b31606c0
PT
88142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8815
8816 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8817
11541177
JL
88182012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8819
8820 [BZ #11438]
8821 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8822 to global scope.
8823 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8824 addresses are in the same scope as 192.0.2/24.
8825 * posix/gai.conf: Document new scope table defaults.
8826
adb26fae
SP
88272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 [BZ #5298]
8830 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8831 for ftell. Compute offsets from write pointers instead.
8832 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8833
4573c6b0
SP
88342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
8836 [BZ #14543]
8837 * libio/Makefile (tests): New test case tst-fseek.
8838 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8839 combination works in wide mode.
8840 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8841 state when the external buffer state changes.
8842
aa9bbfe6
DM
88432012-09-27 David S. Miller <davem@davemloft.net>
8844
8845 [BZ #14376]
8846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8847 pass reloc->r_addend in as the 'high' argument to
8848 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8849
784421e7
DM
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8851
c39bc8b8
PT
88522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8853
8854 * rt/tst-aio2.c: Include <pthread.h>.
8855 * rt/tst-aio3.c: Likewise.
8856
1ccc2399
SE
88572012-09-27 Steve Ellcey <sellcey@mips.com>
8858
8859 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8860
31ed4153
L
88612012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8862
25f5f885
L
8863 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8864 contents on [SHARED].
31ed4153 8865
b7bfe116
MP
88662012-09-26 Marek Polacek <polacek@redhat.com>
8867
8868 [BZ #14530]
8869 [BZ #13741]
8870 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8871 for C++ and GCC <4.3 as well as for non GCC compilers.
8872
43c4edba
MT
88732012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8874
8875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8876
6a1bf82f
RM
88772012-09-25 Roland McGrath <roland@hack.frob.com>
8878
8879 * Makefile.in (all, install): Declare with .PHONY.
8880 Reported by Michael Hope <michael.hope@linaro.org>.
8881
8ad11b9a
TMQMF
88822012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8883
8884 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8885 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8886 system header.
8887 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8888 Likewise.
8889 (sydep_routines): Add the new and the internal functions.
8890 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8891 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8893 (GLIBC_2.17): Add the new function.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8895 (GLIBC_2.17): Likewise.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8897 (GLIBC_2.17): Likewise.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8899 (GLIBC_2.17): Likewise.
8900 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8901
7e2fca8d
AM
89022012-09-25 Alan Modra <amodra@gmail.com>
8903
8904 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8905 Add release barrier before setting once_control to say
8906 initialisation is done. Add hints on lwarx. Use macro in
8907 place of isync.
8908 (clear_once_control): Add release barrier.
8909
b87c4b24
JM
89102012-09-25 Joseph Myers <joseph@codesourcery.com>
8911
d032e0d2
JM
8912 [BZ #13629]
8913 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8914 specially.
8915 * math/s_clog10.c (__clog10): Likewise.
8916 * math/s_clog10f.c (__clog10f): Likewise.
8917 * math/s_clog10l.c (__clog10l): Likewise.
8918 * math/s_clogf.c (__clogf): Likewise.
8919 * math/s_clogl.c (__clogl): Likewise.
8920 * math/Makefile (libm-calls): Add x2y2m1.
8921 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8922 (__x2y2m1): Likewise.
8923 (__x2y2m1l): Likewise.
8924 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8925 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8928 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8930 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8933
b87c4b24
JM
8934 [BZ #14621]
8935 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8936 int as type of variable DEPTH.
8937 (glob): Use size_t instead of int as type of variables NEWCOUNT
8938 and OLD_PATHC.
8939
6d3bf199
LD
89402012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8941
22bf5c17
LD
8942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8943 Add s_sincosf-sse2.
8944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8945 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8946 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8947 macros for using routine as __sincosf_ia32.
8948 Use macro for function declaration and weak_alias.
8949 * sysdeps/i386/fpu/libm-test-ulps: Update.
8950
8951 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8953
8954 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8955 subnormal argument.
8956 * math/s_cexpf.c (__cexpf): Likewise.
8957 * math/s_csinf.c (__csinf): Likewise.
8958 * math/s_csinhf.c (__csinhf): Likewise.
8959 * math/s_ctanf.c (__ctanf): Likewise.
8960 * math/s_ctanhf.c (__ctanhf): Likewise.
8961 * math/s_ccosh.c (__ccoshf): Likewise.
8962 * math/s_cexp.c (__cexpl): Likewise.
8963 * math/s_csin.c (__csin): Likewise.
8964 * math/s_csinh.c (__csinh): Likewise.
8965 * math/s_ctan.c (__ctan): Likewise.
8966 * math/s_ctanh.c (ctanh): Likewise.
8967 * math/s_ccoshl.c (__ccoshl): Likewise.
8968 * math/s_cexpl.c (__cexpl): Likewise.
8969 * math/s_csinl.c (__csinl): Likewise.
8970 * math/s_csinhl.c (__csinhl): Likewise.
8971 * math/s_ctanl.c (__ctanl): Likewise.
8972 * math/s_ctanhl.c (__ctanhl): Likewise.
8973
203e5603
JM
89742012-09-25 Joseph Myers <joseph@codesourcery.com>
8975
8976 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8977 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8978 (_IO_off_t): Define to __off_t, not _G_off_t.
8979 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8980 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8981 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8982 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8983 type of __dummy and __dummy2 fields.
8984 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8985 (_G_ssize_t): Likewise.
8986 (_G_off_t): Likewise.
8987 (_G_pid_t): Likewise.
8988 (_G_uid_t): Likewise.
8989 (_G_wchar_t): Likewise.
8990 (_G_wint_t): Likewise.
8991 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8992 (_G_ssize_t): Likewise.
8993 (_G_off_t): Likewise.
8994 (_G_pid_t): Likewise.
8995 (_G_uid_t): Likewise.
8996 (_G_wchar_t): Likewise.
8997 (_G_wint_t): Likewise.
8998 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8999 (_G_ssize_t): Likewise.
9000 (_G_off_t): Likewise.
9001 (_G_pid_t): Likewise.
9002 (_G_uid_t): Likewise.
9003 (_G_wchar_t): Likewise.
9004 (_G_wint_t): Likewise.
9005
9fab36eb
SP
90062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9007
9008 * malloc/arena.c: Include malloc-sysdep.h.
9009 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9010 is sufficient to shrink the heap or an unmap is needed.
9011 * sysdeps/generic/malloc-sysdep.h: New file. Define
9012 new function check_may_shrink_heap.
9013 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9014 new function check_may_shrink_heap.
9015
2b4f00d1
SP
90162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9019 comments.
9020
9a9028b1
DL
90212012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9022
57c69bef
DL
9023 * catgets/test-gencat.sh: Add "set -e".
9024 * elf/tst-pathopt.sh: Likewise.
9025 * grp/tst_fgetgrent.sh: Likewise.
9026 * iconvdata/run-iconv-test.sh: Likewise.
9027 * intl/tst-gettext.sh: Likewise.
9028 * intl/tst-gettext2.sh: Likewise.
9029 * intl/tst-gettext4.sh: Likewise.
9030 * intl/tst-gettext6.sh: Likewise.
9031 * intl/tst-translit.sh: Likewise.
9032 * io/ftwtest-sh: Likewise.
9033 * libio/test-freopen.sh: Likewise.
9034 * malloc/tst-mtrace.sh: Likewise.
9035 * posix/globtest.sh: Likewise.
9036 * posix/tst-getconf.sh: Likewise.
9037 * posix/wordexp-tst.sh: Likewise.
9038 * stdio-common/tst-printf.sh: Likewise.
9039 * stdio-common/tst-unbputc.sh: Likewise.
9040 * stdlib/tst-fmtmsg.sh: Likewise.
9041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9042 * catgets/Makefile: Do not specify -e option when running
9043 testsuite shell scripts.
9044 * elf/Makefile: Likewise.
9045 * grp/Makefile: Likewise.
9046 * iconvdata/Makefile: Likewise.
9047 * intl/Makefile: Likewise.
9048 * io/Makefile: Likewise.
9049 * libio/Makefile: Likewise.
9050 * malloc/Makefile: Likewise.
9051 * posix/Makefile: Likewise.
9052 * stdio-common/Makefile: Likewise.
9053 * stdlib/Makefile: Likewise.
9054 * sysdeps/x86_64/Makefile: Likewise.
9055
9a9028b1
DL
9056 * io/ftwtest-sh: Add copyright header.
9057 * posix/globtest.sh: Likewise.
9058 * posix/tst-getconf.sh: Likewise.
9059 * posix/wordexp-tst.sh: Likewise.
9060 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9061
ced6f16e
L
90622012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9063
94b32c39
L
9064 [BZ #13679]
9065 * Makeconfig (+link): Defined as $(+link-static) if
9066 $(build-shared) isn't yes.
9067 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9068 isn't yes.
9069 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9070
189e935b
L
9071 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9072
ced6f16e
L
9073 [BZ #14562]
9074 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9075 new chunk size with MALLOC_ALIGN_MASK.
9076
a9f8e53a
JM
90772012-09-24 Joseph Myers <joseph@codesourcery.com>
9078
9079 [BZ #5044]
9080 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9081 <rounding-mode.h>.
9082 (__printf_fphex): Determine rounding using get_rounding_mode and
9083 round_away.
9084 * stdio-common/tst-printf-round.c (struct hex_test): New
9085 structure.
9086 (hex_tests): New variable.
9087 (test_hex_in_one_mode): New function.
9088 (do_test): Also run tests for hex float output.
9089
43153109
JM
90902012-09-21 Joseph Myers <joseph@codesourcery.com>
9091
9092 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9094 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9095 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9096 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9097 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9098 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9099 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9100
8a26625d
JM
91012012-09-20 Joseph Myers <joseph@codesourcery.com>
9102
9103 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9104 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9105 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9106 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9107
f3fd569c
DL
91082012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9109
9110 [BZ #14579]
9111 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9112 mode only.
9113 * elf/tst-rtld-load-self.sh: New test.
9114 * elf/Makefile: Run it.
9115
63bbedd4
JM
91162012-09-18 Joseph Myers <joseph@codesourcery.com>
9117
9118 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9119 (tst-writev-ENV): Remove.
9120 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9121
626f8b6a
CM
91222012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9123
9124 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9125
b7aaa4d6
JM
91262012-09-17 Joseph Myers <joseph@codesourcery.com>
9127
9128 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9129 unconditional.
9130 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9131 Likewise.
9132 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9133 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9135 Likewise.
9136
65513990
L
91372012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 [BZ #14587]
9140 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9141 * config.make.in (have-cpp-asm-debuginfo): Removed.
9142 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9143 * configure: Regenerated.
9144
784761be
JM
91452012-09-14 Joseph Myers <joseph@codesourcery.com>
9146
9147 [BZ #5044]
9148 * stdio-common/printf_fp.c: Include <stdbool.h> and
9149 <rounding-mode.h>.
9150 (___printf_fp): Determine rounding using get_rounding_mode and
9151 round_away.
9152 * stdio-common/tst-printf-round.c: New file.
9153 * stdio-common/Makefile (tests): Add tst-printf-round.
9154 (link-libm): New variable.
9155 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9156
9503345f
L
91572012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9158
9159 [BZ #14576]
9160 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9161 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9162 Likewise.
9163 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9164 Likewise.
9165
ad35fc00
JM
91662012-09-13 Joseph Myers <joseph@codesourcery.com>
9167
9168 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9169 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9170 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9172
6c9b0f68
JM
91732012-09-12 Joseph Myers <joseph@codesourcery.com>
9174
9175 [BZ #14518]
9176 * include/rounding-mode.h: New file.
9177 * sysdeps/generic/get-rounding-mode.h: Likewise.
9178 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9179 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9180 (MAX_VALUE): New macro.
9181 (MIN_VALUE): Likewise.
9182 (overflow_value): New function.
9183 (underflow_value): Likewise.
9184 (round_and_return): Use overflow_value and underflow_value to
9185 determine return values in overflow and underflow cases. Use
9186 round_away to determine rounding depending on rounding mode.
9187 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9188 determine return values in overflow and underflow cases.
9189 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9190 (struct test_results): New structure.
9191 (struct test): Use struct test_results to store expected results
9192 for all rounding modes.
9193 (TEST): Include expected results for all rounding modes.
9194 (test_in_one_mode): New function.
9195 (do_test): Use test_in_one_mode to compute and check results.
9196 Check results for all rounding modes.
9197 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9198 $(link-libm).
9199
19fcedd5
AM
92002012-12-09 Allan McRae <allan@archlinux.org>
9201
1e9d84cd 9202 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9203
8bbfd2f1
JM
92042012-09-11 Joseph Myers <joseph@codesourcery.com>
9205
9206 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9207 (_G_int32_t): Likewise.
9208 (_G_uint16_t): Likewise.
9209 (_G_uint32_t): Likewise.
9210 (_G_HAVE_BOOL): Likewise.
9211 (_G_HAVE_ATEXIT): Likewise.
9212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9213 (_G_HAVE_IO_FILE_OPEN): Likewise.
9214 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9215 (_G_int32_t): Likewise.
9216 (_G_uint16_t): Likewise.
9217 (_G_uint32_t): Likewise.
9218 (_G_HAVE_BOOL): Likewise.
9219 (_G_HAVE_ATEXIT): Likewise.
9220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9221 (_G_HAVE_IO_FILE_OPEN): Likewise.
9222 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9223 (_G_int32_t): Likewise.
9224 (_G_uint16_t): Likewise.
9225 (_G_uint32_t): Likewise.
9226 (_G_HAVE_BOOL): Likewise.
9227 (_G_HAVE_ATEXIT): Likewise.
9228 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9229 (_G_HAVE_IO_FILE_OPEN): Likewise.
9230
b1dc5912
L
92312012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9232
9233 * csu/libc-tls.c: Update copyright years.
9234
0e886ef9
JM
92352012-09-10 Joseph Myers <joseph@codesourcery.com>
9236
28361c5e
JM
9237 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9238 [!_G_USING_THUNKS]: Remove conditional code.
9239 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9240 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9241
0e886ef9
JM
9242 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9243 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9244 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9245 (_G_VTABLE_LABEL_PREFIX): Likewise.
9246 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9247 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9249 (_G_VTABLE_LABEL_PREFIX): Likewise.
9250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9251 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9253 (_G_VTABLE_LABEL_PREFIX): Likewise.
9254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9255
bcba7aa2
L
92562012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 * libio/Makefile: Include ../Makeconfig before tests.
9259 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9260 only if $(build-shared) is yes.
9261
06585ee8
L
9262 * iconv/gconv_db.c: Update copyright years.
9263
80ccd52c
LD
92642012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9265
9266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9267 unwind info if defined PIC. Fix special cases description.
9268 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9269
9270 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9271 DP_HI_MASK entry.
9272 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9273
691bc9c1
L
92742012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9275
3d9b46b3
L
9276 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9277
de2139a9
L
9278 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9279 is NULL.
9280
5ca78dd0
L
9281 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9282 (LDLIBS-tst-chk4): This.
9283 (LDFLAGS-tst-chk5): Renamed to ...
9284 (LDLIBS-tst-chk5): This.
9285 (LDFLAGS-tst-chk6): Renamed to ...
9286 (LDLIBS-tst-chk6): This.
9287 (LDFLAGS-tst-lfschk4): Renamed to ...
9288 (LDLIBS-tst-lfschk4): This.
9289 (LDFLAGS-tst-lfschk5): Renamed to ...
9290 (LDLIBS-tst-lfschk5): This.
9291 (LDFLAGS-tst-lfschk6): Renamed to ...
9292 (LDLIBS-tst-lfschk6): This.
9293
691bc9c1
L
9294 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9295 on $(common-objpfx)soversions.mk.
9296
65cafb1c
JM
92972012-09-07 Joseph Myers <joseph@codesourcery.com>
9298
9299 [BZ #10014]
9300 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9301 example host name.
9302
c78ab094
SP
93032012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9304
9305 * malloc/arena.c (arena_get_retry): New function that gets
9306 another arena for the caller to try its request on.
9307 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9308 current arena cannot fulfill the request.
9309 (__libc_memalign): Likewise.
9310 (__libc_memalign): Likewise.
9311 (__libc_pvalloc): Likewise.
9312 (__libc_calloc): Likewise.
9313
01f49f59
JT
93142012-09-05 John Tobey <john.tobey@gmail.com>
9315
9316 [BZ #13542]
9317 * manual/arith.texi (Operations on Complex): Fix description
9318 of carg branch cut.
9319
4c23fed5
JM
93202012-09-06 Joseph Myers <joseph@codesourcery.com>
9321
1d3c8572
JM
9322 [BZ #10014]
9323 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9324 host name.
9325
4c23fed5
JM
9326 [BZ #10038]
9327 * manual/memory.texi (Memory): Make order of menu items match
9328 order of sections.
9329
04570aaa
L
93302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9333 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9334 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9335
b80af2f4
L
93362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9337
9338 * csu/libc-tls.c (static_dtv): Renamed to ...
9339 (_dl_static_dtv): This. Make it global.
9340 (_dl_initial_dtv): Removed.
9341 (__libc_setup_tls): Updated.
9342 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9343 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9344 DL_INITIAL_DTV.
9345
2abe9f15
PM
93462012-09-06 Petr Machata <pmachata@redhat.com>
9347
9348 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9349 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9350 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9351 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9352
0948c3af
L
93532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 [BZ #14545]
9356 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9357 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9358 freeing dtv[-1].
9359
a5055ad1
L
93602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 [BZ #14544]
9363 * Makeconfig (link-static-before-libc): Replace $(+prector)
9364 with $(+prectorT).
9365 (link-static-after-libc): Replace $(+postctor) with
9366 $(+postctorT).
9367 (link-bounded): Replace $(+prector)/$(+postctor) with
9368 $(+prectorT)/$(+postctorT).
9369 (+prectorT): New macro.
9370 (+postctorT): Likewise.
9371
ed8c2ecd
JM
93722012-09-06 Joseph Myers <joseph@codesourcery.com>
9373
9374 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9375 (round_str): Handle values above the maximum for IBM long double
9376 as inexact.
9377 * stdlib/tst-strtod-round.c (tests): Regenerated.
9378
14c996c8
AK
93792012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9380
9381 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9382 assembler flag.
9383 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9384 zarch_nohighgprs around the zarch optimized routines.
9385 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9386 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9388 for zarch.
9389
430d6ce6
DM
93902012-09-05 David S. Miller <davem@davemloft.net>
9391
9392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9393
ff04dda4
DM
9394 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9395 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9396 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9397 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9398 entries.
9399
24d4e01b
AO
94002012-09-05 Alexandre Oliva <aoliva@redhat.com>
9401
9402 * malloc/arena.c: Fold copyright years.
9403 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9404
61d58174
AO
94052012-09-05 Alexandre Oliva <aoliva@redhat.com>
9406
9407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9408
20196a5e
AO
94092012-09-05 Alexandre Oliva <aoliva@redhat.com>
9410
9411 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9412
5c447383
AO
94132012-09-05 Alexandre Oliva <aoliva@redhat.com>
9414
9415 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9416 change internal state upon failure.
9417
fad64255
AO
94182012-09-05 Alexandre Oliva <aoliva@redhat.com>
9419
9420 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9421 * malloc/memusage.c (mmap): Likewise.
9422 (mmap64, mremap): Likewise. Adjust name in comment.
9423
1ffb8c90
SP
94242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9425
9426 * libio/fileops.c: Fix typos in comments.
9427 * libio/oldfileops.c: Likewise.
9428 * libio/wfileops.c: Likewise.
9429
6ef9cc37
SP
94302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
9432 [BZ #1349]
9433 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9434 (tst-malloc-usable-ENV): Set environment for test case.
9435 * malloc/hooks.c (malloc_check_get_size): New function to get
9436 requested size.
9437 * malloc/malloc.c (musable): Use malloc_check_get_size.
9438 * malloc/tst-malloc-usable.c: New test case.
9439
4d038ae3
AS
94402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9441
9442 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9443
c4e85184
AM
94442012-09-05 Allan McRae <allan@archlinux.org>
9445
b9dafc56 9446 [BZ #13966]
c4e85184
AM
9447 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9448 determine header location.
9449 * configure: Regenerated.
9450
e1343020
AS
94512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9452
9453 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9454 float format.
9455 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9456 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9457 format.
e1343020
AS
9458 (test): Regenerate.
9459
0a9f1987
DM
94602012-09-04 David S. Miller <davem@davemloft.net>
9461
9462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9465
29237804
FW
94662012-09-04 Florian Weimer <fweimer@redhat.com>
9467
9468 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9469 failures.
9470
edb3cb88
FW
9471 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9472
60160d83
JM
94732012-09-04 Joseph Myers <joseph@codesourcery.com>
9474
9475 [BZ #9914]
9476 * libio/iogetdelim.c: Include <limits.h>.
9477 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9478 + len + 1 would overflow.
9479
bcd6c8dc
AJ
94802012-09-03 Andreas Jaeger <aj@suse.de>
9481
9482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9483 * sysdeps/i386/fpu/libm-test-ulps: Update.
9484
4ffffbd2
LD
94852012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9486
9487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9488 Add s_sinf-sse2, s_conf-sse2.
9489
9490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9491 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9492 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9493 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9494
9495 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9496 for using routine as __sinf_ia32.
9497 Use macro for function declaration and weak_alias.
9498 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9499 for using routine as __cosf_ia32.
9500 Use macro for function declaration and weak_alias.
9501
9502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9503 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9504
9505 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9506 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9508
9509 * math/libm-test.inc (cos_test): Add more test cases.
9510 (sin_test): Likewise.
9511 (sincos_test): Likewise.
9512
511fa286
AK
95132012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9514
9515 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9516 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9517 hidden.
9518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9519
5f30cfec
L
95202012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9521
9522 [BZ #14538]
9523 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9524 first element of the GOT.
9525 (elf_machine_load_address): Return the difference between
9526 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9527
0786794f
AM
95282012-09-01 Allan McRae <allan@archlinux.org>
9529
5f30cfec
L
9530 [BZ #13412]
9531 * configure.in (AWK): Require gawk version 3.0 or later.
9532 * configure: Regenerated.
0786794f 9533
26889eac
JM
95342012-09-01 Joseph Myers <joseph@codesourcery.com>
9535
9536 * sysdeps/unix/sysv/linux/kernel-features.h
9537 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9539 [__NR_clock_getres]: Make code unconditional.
9540 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9541 (clock_getcpuclockid): Remove code left unreachable by removal of
9542 conditionals.
9543 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9544 code unconditional.
9545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9547 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9548 Make code unconditional.
9549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9551 * sysdeps/unix/sysv/linux/clock_settime.c
9552 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9553 conditional code.
9554 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9556
d22e28b0
L
95572012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9558
9559 [BZ #14476]
9560 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9561 scripts/test-installation.pl.
9562
9563 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9564 and $ld_so_version if it is set.
9565
050af9c4
SP
95662012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
9568 [BZ #14516]
9569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9570 failure if reading from procfs failed.
9571 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9572
ad845c0b
JM
95732012-08-27 Joseph Myers <joseph@codesourcery.com>
9574
9575 * sysdeps/unix/sysv/linux/kernel-features.h
9576 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9577 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9578 Remove conditional code.
9579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9580 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9581 Remove conditional code.
9582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9583 * sysdeps/unix/sysv/linux/i386/fxstat.c
9584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9586 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9589 * sysdeps/unix/sysv/linux/i386/lxstat.c
9590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9592 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9593 Remove conditional code.
9594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9595 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9596 Remove conditional code.
9597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9598 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9599 <kernel-features.h>.
9600 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9601 Remove.
9602 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9603 Remove conditional code.
9604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9605 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9606 Remove conditional.
9607
5dbf56af
MF
96082012-08-27 Mike Frysinger <vapier@gentoo.org>
9609
9610 [BZ #5400]
9611 * NEWS: Add fixed bug number.
9612
d6e70f43
JM
96132012-08-27 Joseph Myers <joseph@codesourcery.com>
9614
7efb4737
JM
9615 [BZ #14519]
9616 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9617 underflowing exponent in case of negative sign.
9618 * stdlib/tst-strtod-round-data: Add more tests.
9619 * stdlib/tst-strtod-round.c (tests): Regenerated.
9620
af92131a
JM
9621 [BZ #3479]
9622 * stdlib/strtod_l.c (NDIG): Remove.
9623 (HEXNDIG): Likewise.
9624 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9625 smallest representable value.
9626 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9627 lie within an exact representation of 1/2 ulp of the result.
9628 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9629 unconditionally.
9630 (TENS_P9_IDX): Define unconditionally.
9631 (TENS_P9_SIZE): Likewise.
9632 (TENS_P10_IDX): Likewise.
9633 (TENS_P10_SIZE): Likewise.
9634 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9635 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9636 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9637 entries for 10^2^13 and 10^2^14.
9638 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9639 (TENS_P13_IDX): Define.
9640 (TENS_P13_SIZE): Likewise.
9641 (TENS_P14_IDX): Likewise.
9642 (TENS_P14_SIZE): Likewise.
9643 (_fpioconst_pow10): Change array size to
9644 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9645 unconditional.
9646 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9647 1024]: Add entries for 10^2^13 and 10^2^14.
9648 [LAST_POW10 > _LAST_POW10]: Remove #error.
9649 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9650 (_fpioconst_pow10): Change array size to
9651 FPIOCONST_POW10_ARRAY_SIZE.
9652 * stdlib/gen-fpioconst.c: New file.
9653 * stdlib/gen-tst-strtod-round.c: Likewise.
9654 * stdlib/tst-strtod-round-data: Likewise.
9655 * stdlib/tst-strtod-round.c: Likewise.
9656 * stdlib/Makefile (tests): Add tst-strtod-round.
9657
d6e70f43
JM
9658 [BZ #14459]
9659 * stdlib/strtod_l.c: Include <stdint.h>.
9660 (NDEBUG): Do not define.
9661 (round_and_return): Change EXPONENT parameter to type intmax_t.
9662 Rearrange calculations to avoid internal overflow possibilities.
9663 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9664 Rearrange calculations to avoid internal overflow possibilities.
9665 Assert that number fits inside MPNSIZE limbs.
9666 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9667 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9668 calculations and add assertions to avoid internal overflow
9669 possibilities. Add casts to avoid signed/unsigned operations.
9670 * stdlib/tst-strtod-overflow.c: New file.
9671 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9672
1f529f7d
MP
96732012-08-25 Marek Polacek <polacek@redhat.com>
9674
9675 * time/time.h: Fix some typos in comments.
9676
59a629f1
RM
96772012-08-23 Roland McGrath <roland@hack.frob.com>
9678
9679 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9680 * posix/tst-rfc3484-2.c: Likewise.
9681 * posix/tst-rfc3484-3.c: Likewise.
9682
d3bafbc9
SM
96832012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9684
9685 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9686 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9687
4efcc022
JM
96882012-08-23 Joseph Myers <joseph@codesourcery.com>
9689
9690 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9691 #include of fxstatat64.c.
9692
3cc3ef96
RM
96932012-08-22 Roland McGrath <roland@hack.frob.com>
9694
f04e2132
RM
9695 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9696 * shadow/getspent_r.c: Likewise.
9697 * shadow/getspnam.c: Likewise.
9698 * shadow/getspnam_r.c: Likewise.
9699 * gshadow/getsgent.c: Likewise.
9700 * gshadow/getsgent_r.c: Likewise.
9701 * gshadow/getsgnam.c: Likewise.
9702 * gshadow/getsgnam_r.c: Likewise.
9703 * inet/getnetbyad.c: Likewise.
9704 * inet/getnetbyad_r.c: Likewise.
9705 * inet/getnetbynm.c: Likewise.
9706 * inet/getnetbynm_r.c: Likewise.
9707 * inet/getnetent.c: Likewise.
9708 * inet/getnetent_r.c: Likewise.
9709 * inet/getproto.c: Likewise.
9710 * inet/getproto_r.c: Likewise.
9711 * inet/getprtent.c: Likewise.
9712 * inet/getprtent_r.c: Likewise.
9713 * inet/getprtname.c: Likewise.
9714 * inet/getprtname_r.c: Likewise.
9715 * inet/getrpcbyname.c: Likewise.
9716 * inet/getrpcbyname_r.c: Likewise.
9717 * inet/getrpcbynumber.c: Likewise.
9718 * inet/getrpcbynumber_r.c: Likewise.
9719 * inet/getrpcent.c: Likewise.
9720 * inet/getrpcent_r.c: Likewise.
9721 * inet/getaliasent.c: Likewise.
9722 * inet/getaliasent_r.c: Likewise.
9723 * inet/getaliasname.c: Likewise.
9724 * inet/getaliasname_r.c: Likewise.
9725 * nscd/getgrgid_r.c: Likewise.
9726 * nscd/getgrnam_r.c: Likewise.
9727 * nscd/gethstbyad_r.c: Likewise.
9728 * nscd/gethstbynm3_r.c: Likewise.
9729 * nscd/getpwnam_r.c: Likewise.
9730 * nscd/getpwuid_r.c: Likewise.
9731 * nscd/getsrvbynm_r.c: Likewise.
9732 * nscd/getsrvbypt_r.c: Likewise.
9733 * nscd/gai.c: Likewise.
9734
c53d909c
RM
9735 * configure.in (build_nscd): New substituted variable, set
9736 by --disable-build-nscd and defaults to $use_nscd.
9737 * configure: Regenerated.
9738 * config.make.in (build-nscd): New substituted variable.
9739 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9740 Change conditional to require [$(build-nscd) = yes] as well.
9741 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9742
3cc3ef96
RM
9743 [BZ# 13696]
9744 * configure.in (use_nscd): New substituted variable, set by
9745 --disable-nscd. If enabled, define USE_NSCD.
9746 * configure: Regenerated.
9747 * config.h.in: Add USE_NSCD.
9748 * config.make.in (use-nscd): New substituted variable.
9749 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9750 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9751 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9752 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9753 (CFLAGS-getgrnam_r.c): Likewise.
9754 (CFLAGS-initgroups.c): Likewise.
9755 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9756 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9757 Variables removed.
9758 * inet/getnetgrent_r.c
9759 (nscd_setnetgrent): New function, broken out of ...
9760 (setnetgrent): ... here. Call it.
9761 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9762 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9763 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9764 * nscd/Makefile (routines, aux): Move definitions after include of
9765 Makeconfig. Conditionalize on [$(use-nscd) != no].
9766 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9767 Conditionalize on [USE_NSCD].
9768 (is_nscd, nscd_init_cb): Likewise.
9769 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9770 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9771 * nss/nss_db/db-init.c: Likewise.
9772 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9773 [USE_NSCD].
9774 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9775 (make_request): Use it.
9776 (cache_valid_p): New function.
9777 (__check_pf): Use it.
9778 * NEWS: Add item for --disable-nscd.
9779
07e51550
DL
97802012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9781
9782 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9783 to support sed >= 4.2.1-20-ga9bf076.
9784 * configure: Regenerated.
9785
35a5b08b
RM
97862012-08-22 Roland McGrath <roland@hack.frob.com>
9787
9788 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9789 Conditionalize whole body on [IREL].
9790
8479f23a
JL
97912012-08-22 Jeff Law <law@redhat.com>
9792
9793 [BZ #14505]
9794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9795 if the family is PF_UNSPEC.
9796
48da0b21
MF
97972012-08-22 Mike Frysinger <vapier@gentoo.org>
9798
9799 * Makerules (lib-version): Rename from V.
9800 (install-lib-nosubdir): Change V to lib-version.
9801
15d0da8c
WS
98022012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9803
9804 [BZ #14252]
9805 * powerpc32/power6/wcschr.c: New file.
9806 * powerpc32/power6/wcscpy.c: New file.
9807 * powerpc32/power6/wcsrchr.c: New file.
9808 * powerpc64/power6/wcschr.c: New file.
9809 * powerpc64/power6/wcscpy.c: New file.
9810 * powerpc64/power6/wcsrchr.c: New file.
9811
bcca0895
MK
98122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9813
9814 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9815 (two_way_short_needle): Use it.
5a4aaa33
RM
9816 * string/strstr.c (AVAILABLE1_USES_J): Define.
9817 * string/strcasestr.c: Likewise.
99677e57
MK
9818
9819 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9820 array references.
9821 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9822
400726de
MK
9823 [BZ #11607]
9824 * NEWS: Add an entry.
9825 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9826 define their defaults.
9827 (two_way_short_needle): Detect end-of-string on-the-fly.
9828 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9829 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9830 * string/bug-strcasestr1.c: New test.
9831 * string/Makefile: Run it.
9832
20a71f2c
MK
98332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9834
9835 [BZ #11607]
9836 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9837 the first character.
9838
21ad0558
RM
98392012-08-21 Roland McGrath <roland@hack.frob.com>
9840
9841 * csu/elf-init.c (__libc_csu_irel): Function removed.
9842 * csu/libc-start.c (apply_irel): New function.
9843 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9844
0e1d9911
JM
98452012-08-21 Joseph Myers <joseph@codesourcery.com>
9846
9847 * sysdeps/unix/sysv/linux/kernel-features.h
9848 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9850 <kernel-features.h>.
9851 [__NR_fadvise64_64]: Make code unconditional.
9852 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9853 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9854 !__NR_fadvise64_64)]: Likewise.
9855 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9856 !__NR_fadvise64_64))]: Likewise.
9857 [__NR_fadvise64]: Make code unconditional.
9858 [!__NR_fadvise64]: Remove conditional code.
9859 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9860 <kernel-features.h>.
9861 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9862 unconditional.
9863 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9864 conditional code.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9866 not include <kernel-features.h>.
9867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9868 unconditional.
9869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9870 conditional code.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9872 include <kernel-features.h>.
9873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9874 unconditional.
9875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9876 conditional code.
9877
14a50c9d
WS
98782012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9879
9880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9881 slight instruction rearrangements per scrollpipe analysis.
9882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9883
c0f4faf0
RM
98842012-08-20 Roland McGrath <roland@hack.frob.com>
9885
696da859
RM
9886 * manual/syslog.texi (syslog; vsyslog, closelog):
9887 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9888 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9889
c0f4faf0
RM
9890 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9891 DSOCAPS to match condition on defining it.
9892
348363b2
JM
98932012-08-20 Joseph Myers <joseph@codesourcery.com>
9894
a35cbf28
JM
9895 * sysdeps/unix/sysv/linux/kernel-features.h
9896 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9906
445f7ecd
JM
9907 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9908 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9909
348363b2
JM
9910 * sysdeps/unix/sysv/linux/kernel-features.h
9911 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9912 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9913 unconditional.
9914 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9915 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9919 Make code unconditional.
9920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9921 (__mmap64) [!__NR_mmap2]: Likewise.
9922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9923 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9924 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9926 [__NR_mmap2]: Make code unconditional.
9927 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9928 (__mmap64) [!__NR_mmap2]: Likewise.
9929
bc5bc0e5
AK
99302012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9931
9932 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9933
88d506de
AJ
99342012-08-18 Andreas Jaeger <aj@suse.de>
9935
9936 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9937
493387d2
MF
99382012-08-18 Mike Frysinger <vapier@gentoo.org>
9939
9940 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9941 * include/unistd.h (__have_sock_cloexec): Likewise.
9942 (__have_pipe2): Likewise.
9943 (__have_dup3): Likewise.
9944
a277af22
MF
99452012-08-18 Mike Frysinger <vapier@gentoo.org>
9946
9947 [BZ #9685]
9948 * include/unistd.h (__have_pipe2): Change define into an extern int.
9949 (__have_dup3): Likewise.
9950 * socket/have_sock_cloexec.c: Include fcntl.h.
9951 (__have_pipe2): New variable.
9952 (__have_dup3): Likewise.
9953
fdab8fd3
MF
99542012-08-17 Mike Frysinger <vapier@gentoo.org>
9955
9956 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9957
31035e80
MP
99582012-08-17 Marek Polacek <polacek@redhat.com>
9959
9960 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9961 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9962
3bd9e993
RM
99632012-08-17 Roland McGrath <roland@hack.frob.com>
9964
c91c505f
RM
9965 * configure.in: Add AC_SUBST for sysheaders.
9966 * configure: Regenerated.
9967 * config.make.in (sysheaders): New substituted variable.
9968
7c6f9d53
RM
9969 * sysdeps/unix/mkfifo.c: Moved ...
9970 * sysdeps/posix/mkfifo.c: ... here.
9971 * sysdeps/unix/mkfifoat.c: Moved ...
9972 * sysdeps/posix/mkfifoat.c: ... here.
9973
9974 * sysdeps/unix/utime.c: Moved ...
9975 * sysdeps/posix/utime.c: ... here.
9976
9977 * sysdeps/unix/time.c: Moved ...
9978 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9979 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9980 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9981
9982 * sysdeps/unix/nice.c: Moved ...
9983 * sysdeps/posix/nice.c: ... here.
9984
9985 * sysdeps/unix/alarm.c: Moved ...
9986 * sysdeps/posix/alarm.c: ... here.
9987
3bd9e993
RM
9988 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9989
d1f09384
JL
99902012-08-17 Jeff Law <law@redhat.com>
9991
9992 * intl/Makefile (codeset_mo): New variable.
9993 ($(codeset_mo)): New target.
9994 (tst-codeset.out): Depend on that. Remove explicit rule.
9995 (tst-gettext3.out, tst-gettext5.out): Likewise.
9996 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9997 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9998 * intl/tst-codeset.sh: Remove.
9999 * intl/tst-gettext3.sh: Likewise.
10000 * intl/tst-gettext5.sh: Likewise.
10001
2ae1ae5c
RM
100022012-08-17 Roland McGrath <roland@hack.frob.com>
10003
c31fdb83
RM
10004 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10005 * sysdeps/unix/syscalls.list: ... here.
10006
a0844057
RM
10007 * sysdeps/posix/getaddrinfo.c
10008 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10009 (gaiconf_init, gaiconf_reload): Use them.
10010 [!_STATBUF_ST_NSEC]
10011 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10012 Define using time_t rather than struct timespec.
10013
750c1f2a
RM
10014 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10015 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10016 Macros removed.
10017 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10018 [!NO_THREADS].
10019 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10020 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10021 Likewise.
10022
2ae1ae5c
RM
10023 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10024 __libc_cleanup_push argument.
10025
e66a42f5
RM
10026 * bits/param.h: New file.
10027 * misc/sys/param.h: New file.
10028 * include/sys/param.h: New file.
10029 * misc/Makefile (headers): Add bits/param.h.
10030 * sysdeps/generic/sys/param.h: File removed.
10031 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10032 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10033 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10034 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10035
b7c08a66
RM
10036 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10037 last change.
10038
b2e1c562
RM
10039 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10040 [_IO_MTSAFE_IO].
10041 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10042 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10043 New macros.
10044
c75ccd4c
RM
10045 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10046 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10047 rather than -D_IO_MTSAFE_IO conditionally.
10048 * stdio-common/Makefile (CPPFLAGS): Likewise.
10049 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10050 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10051 Use $(libio-mtsafe).
10052 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10053 of -D_IO_MTSAFE_IO.
10054 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10055 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10056 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10057 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10058 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10059 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10060 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10061 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10062 (CFLAGS-fread_u_chk.c): Likewise.
10063 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10064 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10065 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10066 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10067 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10068 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10069 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10070 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10071 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10072
10073 * libio/Makefile: Test [$(libc-reentrant) = yes]
10074 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10075
10076 * Makeconfig
10077 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10078 * sysdeps/pthread/configure: File removed.
10079 * sysdeps/pthread/Makeconfig: New file.
10080 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10081 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10082
d9195db8
GB
100832012-08-16 Gary Benson <gbenson@redhat.com>
10084
10085 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10086 unmapping the first object in a namespace.
10087
86466cd9
RM
100882012-08-16 Roland McGrath <roland@hack.frob.com>
10089
10090 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10091 (__internal_setnetgrent): ... this. Add internal_function to
10092 definition. Add libc_hidden_def.
10093 (setnetgrent): Update caller.
10094 (internal_endnetgrent): Renamed to ...
10095 (__internal_endnetgrent): ... this. Add internal_function to
10096 definition. Add libc_hidden_def.
10097 (endnetgrent): Update caller.
10098 (internal_getnetgrent_r): Renamed to ...
10099 (__internal_getnetgrent_r): ... this. Add internal_function to
10100 definition. Add libc_hidden_def.
10101 (__getnetgrent_r): Update caller.
10102 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10103
c3c8283c
JM
101042012-08-16 Joseph Myers <joseph@codesourcery.com>
10105
10106 * stdlib/longlong.h: Update from GCC.
10107
db1ee0a8
RM
101082012-08-16 Roland McGrath <roland@hack.frob.com>
10109
10110 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10111 on _QL, which is set by umul_ppmm but never used.
10112 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10113 variables, which are set by GMP macros but never used.
10114 * stdio-common/_itowa.c (_itowa): Likewise.
10115 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10116 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10117
30f69637
CD
101182012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10119
10120 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10121 struct La_sh_regs is not constant.
10122 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10123 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10124 and struct La_sparc64_regs are not constant.
10125
93a78ac4
JM
101262012-08-16 Joseph Myers <joseph@codesourcery.com>
10127
10128 * sysdeps/unix/sysv/linux/kernel-features.h
10129 (__ASSUME_POSIX_TIMERS): Remove.
10130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10132 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10133 Make code unconditional.
10134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10136 Make code unconditional.
10137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10138 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10139 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10141 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10142 Make code unconditional.
10143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10144 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10145 (__libc_missing_posix_timers): Remove.
10146
dd924cd7
RM
101472012-08-15 Roland McGrath <roland@hack.frob.com>
10148
4b4f2771
RM
10149 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10150 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10151
601c888b
RM
10152 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10153
176790a7
RM
10154 * elf/dl-sym.c: Include <stdlib.h>.
10155
329bc018
RM
10156 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10157 constants, which avoids warnings in 32-bit builds.
10158
e04e272d
RM
10159 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10160 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10161
952bf94a
RM
10162 * misc/lseek.c: File moved to ...
10163 * io/lseek.c: ... here.
10164
7c99b50a
RM
10165 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10166
dd924cd7
RM
10167 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10168 shifting LEN more than 31 bits at once.
10169
b3f479a8
LD
101702012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10171
10172 [BZ #14195]
8c4ae0d4
RM
10173 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10174 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10175 * string/test-strncasecmp.c (check1): Renamed to...
10176 (bz12205): ...this.
10177 (bz14195): Add new testcase for two empty input strings and N > 0.
10178 (test_main): Call new testcase, adapt for renamed function.
10179
9c55864e
AJ
101802012-08-15 Andreas Jaeger <aj@suse.de>
10181
10182 [BZ #14090]
10183 * crypt/md5test2.c: New test, based on test supplied by Serge
10184 Belyshev <belyshev@depni.sinp.msu.ru>.
10185 * crypt/Makefile (xtests): Add md5test-giant..
10186 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10187
02dcb6c5
PE
101882012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10189
10190 [BZ #14090]
10191 * crypt/md5.c (md5_process_block): Don't assume the buffer
10192 length is less than 2**32.
10193 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10194 length is less than 2**64.
10195
a3f95dcc
RM
101962012-08-15 Roland McGrath <roland@hack.frob.com>
10197
be75d758
RM
10198 * string/str-two-way.h: Include <sys/param.h>.
10199 (MAX): Macro removed.
10200
7312ca90
RM
10201 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10202 Move #define and #undef of memmove to just before and after
10203 including <string.h>.
10204
9a0a5486
RM
10205 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10206 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10207 and after including <string.h>. Move declarations of
10208 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10209 to before #include "string/memmove.c".
10210
67cc348d
RM
10211 * include/dirent.h: Declare __getdirentries.
10212
a3f95dcc
RM
10213 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10214 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10215
ca98e171
MF
102162012-08-14 Mike Frysinger <vapier@gentoo.org>
10217
10218 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10219 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10220 * sysdeps/i386/configure: Regenerated.
10221 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10222 STABS_CURRENT_FILE, and STABS_FUN.
10223 (END): Remove call to STABS_FUN_END.
10224 (STABS_CURRENT_FILE1): Delete.
10225 (STABS_CURRENT_FILE): Likewise.
10226 (STABS_FUN): Likewise.
10227 (STABS_FUN_END): Likewise.
10228 (STABS_FUN2): Likewise.
10229 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10230 * sysdeps/x86_64/configure: Regenerated.
10231
5908bf46
RM
102322012-08-14 Roland McGrath <roland@hack.frob.com>
10233
10234 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10235 * elf/dl-lookup.c: Likewise.
5908bf46 10236
f2c05b9e
JM
102372012-08-14 Joseph Myers <joseph@codesourcery.com>
10238
10239 * sysdeps/unix/sysv/linux/kernel-features.h
10240 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10241 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10242 unconditionally.
10243 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10244 unconditionally.
10245 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10246 condition on __ASSUME_CLONE_THREAD_FLAGS.
10247
e11f5155
AJ
102482012-08-14 Andreas Jaeger <aj@suse.de>
10249
10250 * sysdeps/i386/fpu/libm-test-ulps: Update.
10251
51a9ba86
MK
102522012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10253
2fdd4f78
AJ
10254 * include/atomic.h (atomic_exchange_and_add): Split into ...
10255 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10256 New atomic macros.
51a9ba86 10257
ba6cba9e
MT
102582012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10259
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10261
42443a47
JL
102622012-08-13 Jeff Law <law@redhat.com>
10263
10264 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10265 null byte in the output string.
10266
121dce05
JM
102672012-08-10 Joseph Myers <joseph@codesourcery.com>
10268
10269 * sysdeps/unix/sysv/linux/kernel-features.h
10270 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10271 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10272 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10273 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10274 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10275 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10276 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10277
bf51f568
JL
102782012-08-09 Jeff Law <law@redhat.com>
10279
10280 [BZ #13939]
10281 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10282 When avoid_arena is set, don't retry in the that arena. Pick the
10283 next one, whatever it might be.
10284 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10285 (arena_lock): Pass in new parameter to arena_get2.
10286 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10287 arena_get2.
10288 (__libc_malloc): Unify retrying after main arena failure with
10289 __libc_memalign version.
10290 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10291
f85fa270
L
102922012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 [BZ #14166]
10295 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10296 to __redirect_strstr.
10297 (__strstr_sse42): Use typeof __redirect_strstr.
10298 (__strstr_ia32): Likewise.
10299 (__libc_strstr): New prototype.
10300 (strstr): Renamed to ...
10301 (__libc_strstr): This.
10302 (strstr): New strong alias of __libc_strstr.
10303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10304 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10305 __redirect_time.
10306 Include <time.h>.
10307 (__libc_time): New prototype.
10308 (time_ifunc): Replace time with __libc_time.
10309 (time): New strong alias and hidden definition of __libc_time.
10310 (__GI_time): Remove strong alias.
10311 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10312 Include <stddef.h>.
10313 (memmove): Redefined to __redirect_memmove.
10314 (__memmove_sse2): Use typeof __redirect_memmove.
10315 (__memmove_ssse3): Likewise.
10316 (__memmove_ssse3_back): Likewise.
10317 (__libc_memmove): New prototype.
10318 (memmove): Renamed to ...
10319 (__libc_memmove): This.
10320 (memmove): New strong alias of __libc_memmove.
10321
33b4a91e
MS
103222012-08-08 Mark Salter <msalter@redhat.com>
10323
10324 * elf/elf.h
10325 (R_MN10300_TLS_GD): Define.
10326 (R_MN10300_TLS_LD): Likewise.
10327 (R_MN10300_TLS_LDO): Likewise.
10328 (R_MN10300_TLS_GOTIE): Likewise.
10329 (R_MN10300_TLS_IE): Likewise.
10330 (R_MN10300_TLS_LE): Likewise.
10331 (R_MN10300_TLS_DTPMOD): Likewise.
10332 (R_MN10300_TLS_DTPOFF): Likewise.
10333 (R_MN10300_TLS_TPOFF): Likewise.
10334 (R_MN10300_SYM_DIFF): Likewise.
10335 (R_MN10300_ALIGN): Likewise.
10336 (R_MN10300_NUM): Update.
10337
b36137f1
JM
103382012-08-08 Joseph Myers <joseph@codesourcery.com>
10339
10340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10341 Remove.
10342
cdd915fd
RM
103432012-08-08 Roland McGrath <roland@hack.frob.com>
10344
a2433aac
RM
10345 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10346
cdd915fd
RM
10347 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10348 sysdeps/unix -> sysdeps/posix move.
10349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10350
bf9b740a
AM
103512012-08-07 Allan McRae <allan@archlinux.org>
10352
10353 [BZ #14303]
10354 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10355 (SUNOS_CPP): Likewise.
10356 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10357 not found.
10358 (open_input): Call CPP using execvp.
10359
93df14ee
JM
103602012-08-07 Joseph Myers <joseph@codesourcery.com>
10361
10362 * sysdeps/unix/sysv/linux/kernel-features.h
10363 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10364 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10365 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10366 (__ASSUME_WAITID_SYSCALL): Likewise.
10367 * sysdeps/unix/sysv/linux/dl-execstack.c
10368 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10369 code unconditional.
10370 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10371 conditional code.
10372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10373 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10374 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10375 code.
10376 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10377 unconditional.
10378 [__ASSUME_WAITID_SYSCALL]: Likewise.
10379 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10380
d34689de
RM
103812012-08-07 Roland McGrath <roland@hack.frob.com>
10382
a281decc
RM
10383 * sysdeps/unix/closedir.c: Renamed to ...
10384 * sysdeps/posix/closedir.c: ... here.
10385 * sysdeps/unix/dirfd.c: Renamed to ...
10386 * sysdeps/posix/dirfd.c: ... here.
10387 * sysdeps/unix/dirstream.h: Renamed to ...
10388 * sysdeps/posix/dirstream.h: ... here.
10389 * sysdeps/unix/fdopendir.c: Renamed to ...
10390 * sysdeps/posix/fdopendir.c: ... here.
10391 * sysdeps/unix/opendir.c: Renamed to ...
10392 * sysdeps/posix/opendir.c: ... here.
10393 * sysdeps/unix/readdir.c: Renamed to ...
10394 * sysdeps/posix/readdir.c: ... here.
10395 * sysdeps/unix/readdir_r.c: Renamed to ...
10396 * sysdeps/posix/readdir_r.c: ... here.
10397 * sysdeps/unix/rewinddir.c: Renamed to ...
10398 * sysdeps/posix/rewinddir.c: ... here.
10399 * sysdeps/unix/seekdir.c: Renamed to ...
10400 * sysdeps/posix/seekdir.c: ... here.
10401 * sysdeps/unix/telldir.c: Renamed to ...
10402 * sysdeps/posix/telldir.c: ... here.
10403 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10404 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10405 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10406 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10407
22895b47
RM
10408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10409 * bits/fcntl.h: ... here.
10410
707a53b6
RM
10411 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10412 not 0.
10413 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10414 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10415 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10416 (struct flock): Move l_start, l_len to the beginning.
10417 Use __pid_t for l_pid.
10418 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10419 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10420 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10421 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10422 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10423 [__USE_LARGEFILE64] (struct flock64): New type.
10424 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10425
f0bd3e25
RM
10426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10427 * bits/dirent.h: ... here.
10428
d34689de
RM
10429 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10430 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10431
6dad2c06
JM
104322012-08-07 Joseph Myers <joseph@codesourcery.com>
10433
10434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10435 Change from 2.6.0 to 2.6.16.
10436 * sysdeps/unix/sysv/linux/configure: Regenerated.
10437 * sysdeps/unix/sysv/linux/kernel-features.h
10438 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10439 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10440 version.
10441 (__ASSUME_UTIMES): Likewise.
10442 (__ASSUME_CLONE_STOPPED): Remove.
10443 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10444 architectures, not kernel version.
10445 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10448 (__ASSUME_WAITID_SYSCALL): Likewise.
10449 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10450 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10451 * README: State 2.6.16 as minimum Linux kernel version. Do not
10452 refer to older versions.
10453
03af9520
RM
104542012-08-06 Roland McGrath <roland@hack.frob.com>
10455
8e49df1d
RM
10456 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10457 Define alphasort64 as an alias.
10458 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10459 Define versionsort64 as an alias.
10460 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10461 Define scandir64 as an alias.
10462 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10463 Define scandirat64 as an alias.
10464 * dirent/alphasort64.c (alphasort64):
10465 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10466 * dirent/versionsort64.c: Likewise.
10467 * dirent/scandir64.c: Likewise.
10468 * dirent/scandirat64.c: Likewise.
10469 * sysdeps/wordsize-64/alphasort.c: File removed.
10470 * sysdeps/wordsize-64/alphasort64.c: File removed.
10471 * sysdeps/wordsize-64/scandir.c: File removed.
10472 * sysdeps/wordsize-64/scandir64.c: File removed.
10473 * sysdeps/wordsize-64/scandirat.c: File removed.
10474 * sysdeps/wordsize-64/scandirat64.c: File removed.
10475 * sysdeps/wordsize-64/versionsort.c: File removed.
10476 * sysdeps/wordsize-64/versionsort64.c: File removed.
10477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10485
10486 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10488 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10490 [defined __arch64__ || defined __sparcv9]
10491 (__INO_T_MATCHES_INO64_T): New macro.
10492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10493 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10494 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10495 * sysdeps/unix/sysv/linux/bits/dirent.h
10496 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10497 (_DIRENT_MATCHES_DIRENT64): New macro.
10498
03af9520
RM
10499 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10500 Define lockf64 as an alias.
10501 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10502 Define fseeko64 as an alias.
10503 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10504 Define ftello64 as an alias.
10505 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10506 Define _IO_fgetpos64 and fgetpos64 as aliases.
10507 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10508 Define _IO_fsetpos64 and fsetpos64 as aliases.
10509 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10510 Conditionalize body on this.
10511 * libio/fseeko64.c: Likewise.
10512 * libio/ftello64.c: Likewise.
10513 * libio/iofgetpos64.c: Likewise.
10514 * libio/iofsetpos64.c: Likewise.
10515 * sysdeps/wordsize-64/lockf.c: File removed.
10516 * sysdeps/wordsize-64/lockf64.c: File removed.
10517 * sysdeps/wordsize-64/fseeko.c: File removed.
10518 * sysdeps/wordsize-64/fseeko64.c: File removed.
10519 * sysdeps/wordsize-64/ftello.c: File removed.
10520 * sysdeps/wordsize-64/ftello64.c: File removed.
10521 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10522 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10523 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10524 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10532 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10535
10536 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10538 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10540 [defined __arch64__ || defined __sparcv9]
10541 (__OFF_T_MATCHES_OFF64_T): New macro.
10542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10543 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10545 (__OFF_T_MATCHES_OFF64_T): New macro.
10546
c5757acd
L
105472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10548
10549 * stdlib/secure-getenv.c (__secure_getenv): Replace
10550 GLIBC_2_16 with GLIBC_2_17.
10551
3a31811e
L
105522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10555 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10556
faa2bccb
DM
105572012-08-03 David S. Miller <davem@davemloft.net>
10558
10559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10560
85fe1997
JM
105612012-08-03 Joseph Myers <joseph@codesourcery.com>
10562
10563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10564 Remove.
10565 (__ASSUME_CORRECT_SI_PID): Likewise.
10566 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10567 (__ASSUME_TMPFS_NAME): Likewise.
10568 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10569 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10570 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10571 (HAVE_AUX_SECURE): Make definition unconditional.
10572 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10573 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10574
4f75b7a0
RM
105752012-08-03 Roland McGrath <roland@hack.frob.com>
10576
10577 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10578 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10579 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10580 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10581 __eloop_threshold instead of SYMLOOP_MAX.
10582
10583 * sysdeps/generic/eloop-threshold.h: New file.
10584 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10585 of MAXSYMLINKS.
10586 * elf/chroot_canon.c (chroot_canon): Likewise.
10587
7aab07e4
JM
105882012-08-03 Joseph Myers <joseph@codesourcery.com>
10589
10590 [BZ #13717]
10591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10592 Change to 2.6.0 everywhere.
10593 * sysdeps/unix/sysv/linux/configure: Regenerated.
10594 * sysdeps/unix/sysv/linux/kernel-features.h
10595 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10596 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10597 kernel versions.
10598 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10599 (__ASSUME_FUTEX_REQUEUE): Remove.
10600 (__ASSUME_STATFS64): Define unconditionally.
10601 (__ASSUME_AT_SECURE): Likewise.
10602 (__ASSUME_CORRECT_SI_PID): Likewise.
10603 (__ASSUME_TGKILL): Define without depending on kernel version for
10604 i386.
10605 (__ASSUME_UTIMES): Likewise.
10606 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10607 kernel version.
10608 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10609 (__ASSUME_TMPFS_NAME): Likewise.
10610 * README: Update reference to Linux kernel versions.
10611
b67e9372
MP
106122012-08-02 Marek Polacek <polacek@redhat.com>
10613
1f529f7d 10614 [BZ# 14150]
b67e9372
MP
10615 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10616 libc_cv_asm_type_prefix with %.
10617 * configure: Regenerated.
d2441631
RM
10618 * include/libc-symbols.h: Remove comment about
10619 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10620 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10621 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10622 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10623 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10624 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10625 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10626 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10627 * elf/tst-unique2mod1.c: Likewise.
10628 * elf/tst-unique1mod2.c: Likewise.
10629 * elf/tst-unique1mod1.c: Likewise.
10630 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10631 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10632 Replace ASM_TYPE_DIRECTIVE with .type.
10633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10634 * sysdeps/i386/sysdep.h: Likewise.
10635 * sysdeps/x86_64/sysdep.h: Likewise.
10636 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10638 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10639 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10640 * sysdeps/powerpc/powerpc32/sysdep.h:
10641 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10644 * sysdeps/i386/fpu/e_powf.S: Likewise.
10645 * sysdeps/i386/fpu/e_expl.S: Likewise.
10646 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10648 * sysdeps/i386/fpu/e_pow.S: Likewise.
10649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10653 * sysdeps/i386/fpu/e_log2.S: Likewise.
10654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10656 * sysdeps/i386/fpu/e_powl.S: Likewise.
10657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10659 * sysdeps/i386/fpu/e_logl.S: Likewise.
10660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10665 * sysdeps/i386/fpu/e_log.S: Likewise.
10666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10667 * sysdeps/i386/fpu/e_logf.S: Likewise.
10668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10670 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10671 * sysdeps/i386/fpu/e_log10.S: Likewise.
10672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10678 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10679 * sysdeps/i386/i686/strtok.S: Likewise.
10680 * sysdeps/i386/i386-mcount.S: Likewise.
10681 * sysdeps/i386/strtok.S: Likewise.
10682 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10686 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10691 * sysdeps/x86_64/_mcount.S: Likewise.
10692 * sysdeps/x86_64/strtok.S: Likewise.
10693 * sysdeps/sh/_mcount.S: Likewise.
10694
2747bf9a
RM
106952012-08-01 Roland McGrath <roland@hack.frob.com>
10696
10697 * libio/iofopen.c: Include <fcntl.h>.
10698 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10699 (_IO_fopen64, fopen64): Define as aliases.
10700 * libio/iofopen64.c: Include <fcntl.h>.
10701 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10702 Conditionalize body on this.
10703 * sysdeps/wordsize-64/iofopen.c: File removed.
10704 * sysdeps/wordsize-64/iofopen64.c: File removed.
10705
3fb791b8
MP
107062012-08-01 Marek Polacek <polacek@redhat.com>
10707
10708 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10709 Use dlfcn directly instead of a variable.
10710 (binfmt-subdir): Do not define.
10711 (dlfcn): Likewise.
10712
a9f1039f
JM
107132012-08-01 Joseph Myers <joseph@codesourcery.com>
10714
23bddc06
JM
10715 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10716 Remove all definitions.
10717 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10718 <kernel-features.h>.
10719 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10720 (miss_F_GETOWN_EX): Remove all definitions.
10721 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10722 macro definition.
10723 [!__ASSUME_FCNTL64]: Remove conditional code.
10724 [__ASSUME_FCNTL64]: Make code unconditional.
10725 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10726 <kernel-features.h>.
10727 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10728 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10729 (lockf64) [__NR_fcntl64]: Make code unconditional.
10730 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10731
a9f1039f
JM
10732 * sysdeps/unix/sysv/linux/kernel-features.h
10733 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10734 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10735 Make code unconditional.
10736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10739 [__NR_vfork]: Make code unconditional.
10740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10743 [__NR_vfork]: Make code unconditional.
10744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10746
09c0ee5f
RM
107472012-08-01 Roland McGrath <roland@hack.frob.com>
10748
48aec5b9
RM
10749 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10750 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10751
cd97c966
RM
10752 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10753 Define mkstemp64 as an alias.
3f55550c
RM
10754 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10755 Define mkstemps64 as an alias.
cd97c966
RM
10756 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10757 Define mkostemp64 as an alias.
b8625cfc
RM
10758 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10759 Define mkostemps64 as an alias.
cd97c966
RM
10760 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10761 Conditionalize body on this.
10762 * misc/mkostemp64.c: Likewise.
b8625cfc 10763 * misc/mkostemps64.c: Likewise.
3f55550c 10764 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10765 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10766 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10767 * sysdeps/wordsize-64/mkostemp.c: File removed.
10768 * sysdeps/wordsize-64/mkstemp.c: File removed.
10769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10773
09c0ee5f
RM
10774 [BZ #14138]
10775 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10777 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10778 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10779
10780 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10781 compat_symbol macros from <shlib-compat.h> rather than the underlying
10782 default_symbol_version and symbol_version macros, so that DEFAULT
10783 lines in shlib-versions are respected.
10784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10785
7e66ee51
FW
107862012-08-01 Florian Weimer <fweimer@redhat.com>
10787
10788 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10789 Declare with warn_unused_result.
10790 (setgid, setregid, setegid, setresgid): Likewise.
10791 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10792 Likewise.
10793 * WUR-REPORT: Remove set*id functions.
10794
d2a54255
PT
107952012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10796
10797 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10798
7ecdb005
RM
107992012-07-31 Roland McGrath <roland@hack.frob.com>
10800
789bd351
RM
10801 * include/sys/socket.h (__libc_accept, __libc_accept4):
10802 Add attribute_hidden.
10803 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10804
40ce302d
RM
10805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10806 use of PTR_MANGLE.
10807 * inet/getnetgrent_r.c (setup): Likewise.
10808
7ecdb005
RM
10809 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10810
e2eabb2c
DM
108112012-07-31 David S. Miller <davem@davemloft.net>
10812
10813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10814
d0419dbf
JM
108152012-07-31 Joseph Myers <joseph@codesourcery.com>
10816
10817 [BZ #13629]
10818 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10819 value between 1.0 and 2.0 and smaller part has absolute value less
10820 than 1.0.
10821 * math/s_clog10.c (__clog10): Likewise.
10822 * math/s_clog10f.c (__clog10f): Likewise.
10823 * math/s_clog10l.c (__clog10l): Likewise.
10824 * math/s_clogf.c (__clogf): Likewise.
10825 * math/s_clogl.c (__clogl): Likewise.
10826 * math/libm-test.inc (clog_test): Add more tests.
10827 (clog10_test): Likewise.
10828 * sysdeps/i386/fpu/libm-test-ulps: Update.
10829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830
2bc13872
FW
108312012-07-31 Florian Weimer <fweimer@redhat.com>
10832
10833 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10834 Exit with zero in case no suitable GID is found, and write a
10835 message to standard error.
10836
bea9b193
RM
108372012-07-30 Roland McGrath <roland@hack.frob.com>
10838
10839 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10840 rather than to 1.
10841 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10842 (MAXPATHLEN): Removed.
10843 (NOGROUP, NODEV): New macros.
10844 (setbit, clrbit, isset, isclr): New macros.
10845 (howmany, roundup, powerof2): New macros.
10846 (DEV_BSIZE): New macro.
10847
10848 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10849 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10850
10851 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10852 definition on [!__NO_LONG_DOUBLE_MATH].
10853
10854 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10855 PTR_MANGLE and PTR_DEMANGLE.
10856
10857 * socket/accept4.c (accept4): Rename to __libc_accept4.
10858 Define accept4 as a weak alias.
10859
10860 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10861 on [_DIRENT_HAVE_D_TYPE].
10862 * io/ftw.c (ftw_dir): Likewise.
10863
10864 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10865
10866 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10867
10868 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10869 Use the BSD numbers rather than the arbitrary ones we had.
10870 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10871 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10872 (SIGXCPU, SIGXFSZ): New macros.
10873 (_NSIG): Now 32.
10874
10875 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10876 initializer on [_LIBC_REENTRANT].
10877
10878 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10879 definitions inside [_POSIX_MAPPED_FILES].
10880
10881 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10882
10883 * dirent/opendir.c: Include <fcntl.h>.
10884
10885 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10886 (__libc_getspecific): Likewise.
10887 (__libc_key_create): Likewise.
10888
10889 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10890 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10891 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10892 (tmpfile64): Define as alias.
10893 * sysdeps/wordsize-64/tmpfile.c: File removed.
10894 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10897
10898 * stdio-common/vfscanf.c: Include <stdbool.h>.
10899 * nss/makedb.c: Likewise.
10900 * stdio-common/_i18n_number.h: Likewise.
10901 * argp/argp-help.c: Likewise.
10902 * posix/wordexp.c: Likewise.
10903 * sysdeps/posix/spawni.c: Likewise.
10904 * nss/nss_files/files-initgroups.c: Likewise.
10905 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10906 * nss/nss_files/files-initgroups.c: Likewise.
10907 * nss/nss_db/db-netgrp.c: Likewise.
10908 * nss/nss_db/db-initgroups.c: Likewise.
10909 * io/fchmodat.c: Include <sys/stat.h>.
10910
10911 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10912 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10913
10914 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10915 [HAVE_MMAP].
10916
10917 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10918 Add multiple inclusion protection.
10919
e5abc686
DM
109202012-07-27 David S. Miller <davem@davemloft.net>
10921
10922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10923
815e6fa3
GB
109242012-07-27 Gary Benson <gbenson@redhat.com>
10925
10926 [BZ #14298]
10927 * elf/rtld.c: Include <stap-probe.h>.
10928 (dl_main): Added static probes "init_start" and "init_complete".
10929 * elf/dl-load.c: Include <stap-probe.h>.
10930 (lose): Take new parameter "nsid".
10931 Added static probe "map_failed".
10932 (_dl_map_object_from_fd): Pass namespace id to lose.
10933 Added static probe "map_start".
10934 (open_verify): Pass namespace id to lose.
10935 * elf/dl-open.c: Include <stap-probe.h>.
10936 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10937 and "reloc_complete".
10938 * elf/dl-close.c: Include <stap-probe.h>.
10939 (_dl_close_worker): Added static probes "unmap_start" and
10940 "unmap_complete".
10941 * elf/rtld-debugger-interface.txt: New file documenting the above.
10942
9f98c16c
RM
109432012-07-26 Roland McGrath <roland@hack.frob.com>
10944
10945 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10946 rather than a string variable.
10947 * sunrpc/rpc_main.c (h_output): Likewise.
10948 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10949
f3c22df3
PT
109502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10951
10952 * inet/check_native.c: New file.
10953
3129cfc6
JM
109542012-07-26 Joseph Myers <joseph@codesourcery.com>
10955
da865e95
JM
10956 [BZ #13629]
10957 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10958 if larger part has absolute value 1.0.
10959 * math/s_clog10.c (__clog10): Likewise.
10960 * math/s_clog10f.c (__clog10f): Likewise.
10961 * math/s_clog10l.c (__clog10l): Likewise.
10962 * math/s_clogf.c (__clogf): Likewise.
10963 * math/s_clogl.c (__clogl): Likewise.
10964 * math/libm-test.inc (clog_test): Add more tests.
10965 (clog10_test): Likewise.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968
3129cfc6
JM
10969 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10970 (pltexit): Likewise.
10971 (La_regs): Likewise.
10972 (La_retval): Likewise.
10973 (int_retval): Likewise.
10974 Update #error for removed macros to refer only to definitions in
10975 tst-audit.h.
10976 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10977 macro.
10978 (pltexit): Likewise.
10979 (La_regs): Likewise.
10980 (La_retval): Likewise.
10981 (int_retval): Likewise.
10982 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10983 macro.
10984 (pltexit): Likewise.
10985 (La_regs): Likewise.
10986 (La_retval): Likewise.
10987 (int_retval): Likewise.
10988 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10989 macro.
10990 (pltexit): Likewise.
10991 (La_regs): Likewise.
10992 (La_retval): Likewise.
10993 (int_retval): Likewise.
10994 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10995 macro.
10996 (pltexit): Likewise.
10997 (La_regs): Likewise.
10998 (La_retval): Likewise.
10999 (int_retval): Likewise.
11000 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11001 macro.
11002 (pltexit): Likewise.
11003 (La_regs): Likewise.
11004 (La_retval): Likewise.
11005 (int_retval): Likewise.
11006 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11007 macro.
11008 (pltexit): Likewise.
11009 (La_regs): Likewise.
11010 (La_retval): Likewise.
11011 (int_retval): Likewise.
11012 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11013 macro definitions in tst-audit.h.
11014 * sysdeps/i386/tst-audit.h: New file.
11015 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11016 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11017 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11018 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11019 * sysdeps/sh/tst-audit.h: Likewise.
11020 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11021 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11022 * sysdeps/x86_64/tst-audit.h: Likewise.
11023
bfc07087
AJ
110242012-07-26 Andreas Jaeger <aj@suse.de>
11025
b1b2aaf8
AJ
11026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11027 ptrace.
11028
11029 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11030 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11031 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11032 PTRACE_O_MASK.
11033 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11034 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11036
bfc07087
AJ
11037 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11038 value.
11039
11040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11041 _sigsys.
11042 (si_call_addr, si_syscall, si_arch): Define new macro.
11043 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11044 _sigsys.
11045 (si_call_addr, si_syscall, si_arch): Define new marcro.
11046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11047 _sigsys.
11048 (si_call_addr, si_syscall, si_arch): Define new macro.
11049 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11050 _sigsys.
11051 (si_call_addr, si_syscall, si_arch): Define new macro.
11052
89b4b02f
JM
110532012-07-25 Joseph Myers <joseph@codesourcery.com>
11054
11055 [BZ #13717]
11056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11057 Change to 2.4.21 where previously 2.4.1.
11058 * sysdeps/unix/sysv/linux/configure: Regenerated.
11059 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11060 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11061 Linux kernel version.
11062 (__ASSUME_STD_AUXV): Remove.
11063 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11064 kernel version.
11065 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11066 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11067 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11068 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11069 (__ASSUME_NETLINK_SUPPORT): Likewise.
11070 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11071 (__no_netlink_support): Remove conditional definition.
11072 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11073 Remove.
11074 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11075 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11076 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11077 (if_nameindex_ioctl): Remove.
11078 (if_nameindex_netlink): Do not handle __no_netlink_support.
11079 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11080 code.
11081 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11082 Remove conditional code.
11083 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11084 code.
11085 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11086 unconditional.
11087 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11088 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11089 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11090 Remove.
11091 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11092 [!__ASSUME_STD_AUXV]: Remove conditional code.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11094 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11095 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11097 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11099 code.
11100 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11104 conditional code.
11105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11107 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11108 code.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11110 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11111 conditional code.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11113 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11114 code unconditional.
11115 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11116 conditional code.
11117 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11118 unconditional.
11119 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11120 conditional code.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11122 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11123 unconditional.
11124 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11125 conditional code.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11127 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11128 code unconditional.
11129 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11130 conditional code.
11131 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11132 unconditional.
11133 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11134 conditional code.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11136 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11137 code unconditional.
11138 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11139 conditional code.
11140 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11141 unconditional.
11142 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11143 conditional code.
11144
842a39cd
AS
111452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11146
11147 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11149 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11150 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11151 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11152 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11153 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11154 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11155 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11156 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11157 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11158 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11159 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11160 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11161 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11167 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11168 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11170
84b3fd84
FW
111712012-07-25 Florian Weimer <fweimer@redhat.com>
11172
11173 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11174 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11175 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11176 Introduce __libc_secure_getenv.
0c7936d5
FW
11177 * stdlib/Versions (2.17): Add secure_getenv
11178 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11179 * stdlib/secure-getenv.c: Rename __secure_getenv to
11180 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11181 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11182 * stdlib/tst-secure-getenv.c: New.
11183 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11184 * manual/startup.texi (Environment Access): Document
11185 secure_getenv.
84b3fd84
FW
11186 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11187 __libc_secure_getenv.
11188 * inet/ruserpass.c (ruserpass): Likewise.
11189 * malloc/mtrace.c (mtrace): Likewise.
11190 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11191 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11192 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11193 * sysdeps/posix/tempname.c: Likewise. Evaluate
11194 HAVE_SECURE_GETENV.
11195 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11196 __secure_getenv to __libc_secure_getenv.
84b3fd84 11197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11199 Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11201 Likewise.
11202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11209
56e49b71
JM
112102012-07-25 Joseph Myers <joseph@codesourcery.com>
11211
11212 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11213 (struct La_i86_retval): Likewise.
11214 (struct La_x86_64_regs): Likewise.
11215 (struct La_x86_64_retval): Likewise.
11216 (struct La_x32_regs): Likewise.
11217 (struct La_x32_retval): Likewise.
11218 (struct La_ppc32_regs): Likewise.
11219 (struct La_ppc32_retval): Likewise.
11220 (struct La_ppc64_regs): Likewise.
11221 (struct La_ppc64_retval): Likewise.
11222 (struct La_sh_regs): Likewise.
11223 (struct La_sh_retval): Likewise.
11224 (struct La_s390_32_regs): Likewise.
11225 (struct La_s390_32_retval): Likewise.
11226 (struct La_s390_64_regs): Likewise.
11227 (struct La_s390_64_retval): Likewise.
11228 (struct La_sparc32_regs): Likewise.
11229 (struct La_sparc32_retval): Likewise.
11230 (struct La_sparc64_regs): Likewise.
11231 (struct La_sparc64_retval): Likewise.
11232 (struct audit_ifaces): Remove architecture-specific pltenter and
11233 pltexit members.
11234 * sysdeps/i386/ldsodefs.h: New file.
11235 * sysdeps/powerpc/ldsodefs.h: Likewise.
11236 * sysdeps/s390/ldsodefs.h: Likewise.
11237 * sysdeps/sh/ldsodefs.h: Likewise.
11238 * sysdeps/sparc/ldsodefs.h: Likewise.
11239 * sysdeps/x86_64/ldsodefs.h: Likewise.
11240
354691b7
MP
112412012-07-25 Marek Polacek <polacek@redhat.com>
11242
11243 [BZ #6808]
11244 * math/libm-test.inc (yn_test): Add another test.
11245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11246 to ERANGE when the result is +-Inf.
11247 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11248 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11249 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11251
bf9e2071
JM
112522012-07-24 Joseph Myers <joseph@codesourcery.com>
11253
11254 * conform/data/time.h-data (NULL): Use macro-constant. Require
11255 equal to 0.
11256 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11257 clock_t.
11258 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11259
57633811
TS
112602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11261
11262 * configure.in <sysdeps resolving>: Correct printing
11263 Implies_before.
11264 * configure: Regenerate.
11265
c23c33b0
TS
112662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11267
11268 * math/w_ilogb.c: Include <limits.h>.
11269 * math/w_ilogbl.c: Likewise.
11270
b5982523
JM
112712012-07-20 Joseph Myers <joseph@codesourcery.com>
11272
11273 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11274 va_copy. Document allowing for unavailable va_copy only as
11275 pre-C99 compatibility.
11276 * manual/string.texi (Copying and Concatenation): Use va_copy
11277 instead of __va_copy in concat example.
11278
ac4ea442
PT
112792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11280
11281 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11282 (__sendto): Use create_address_port. Initialize APORT and deallocate
11283 it if not null.
11284
f98eafbd
PT
11285 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11286 with O_NOLINK passed to __file_name_lookup.
11287
898c7aab
PT
11288 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11289 with O_NOLINK passed to __file_name_lookup.
11290
0ced335a
PT
11291 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11292 negative N or less than NGIDS.
11293
b3404dbd
PT
11294 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11295 type to string_t. Set ERANGE as errno and return it if NAME is not big
11296 enough. Use memcpy instead of strncpy.
11297
0f48659e
JM
112982012-07-20 Joseph Myers <joseph@codesourcery.com>
11299
11300 * elf/Makefile (check-data): Remove.
11301 (localplt.data): New vpath directive.
11302 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11303 instead of $(check-data).
11304 * scripts/data/localplt-generic.data: Move to ...
11305 * sysdeps/generic/localplt.data: ... here.
11306 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11307 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11308 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11310 ... here.
11311 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11313 ... here.
11314 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11316 ... here.
11317 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11319 ... here.
11320 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11322 ... here.
11323 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11325 ... here.
11326
d37cbdaa
AZ
113272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11328
11329 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11330 PPC32 and PPC64 files.
11331 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11332 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11333
46f85fc2
AK
113342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11335
11336 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11337 __makecontext_ret to ...
11338 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11339 ... here and call exit if uc_link is NULL. New file.
11340 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11341 __makecontext_ret.S.
11342 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11343 __makecontext_ret to ...
11344 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11345 ... here and call exit if uc_link is NULL. New file.
11346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11347 __makecontext_ret.S.
11348
08f43f9b
AK
113492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11350
11351 * elf/elf.h (R_390_IRELATIVE): New definition.
11352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11353 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11354 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11356 (elf_machine_lazy_rel): Likewise.
11357 * sysdeps/s390/dl-irel.h: New file.
11358 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11359 * sysdeps/s390/s390-64/memset.S: New asm code.
11360 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11361 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11363 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11364 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11365 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11367 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11368 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11369 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11370 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11371 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11372 * sysdeps/s390/s390-32/memset.S: New asm code.
11373 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11374
3b05db33
MP
113752012-07-17 Marek Polacek <polacek@redhat.com>
11376
11377 [BZ #14349]
11378 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11379 * sysdeps/s390/s390-64/configure.in: Likewise.
11380 * sysdeps/sparc/configure.in: Likewise.
11381 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11382 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11383 * sysdeps/i386/configure.in: Likewise.
11384 * sysdeps/x86_64/configure.in: Likewise.
11385 * sysdeps/sh/configure.in: Likewise.
11386 * sysdeps/s390/s390-32/configure: Regenerated.
11387 * sysdeps/s390/s390-64/configure: Likewise.
11388 * sysdeps/x86_64/configure: Likewise.
11389 * sysdeps/sh/configure: Likewise.
11390 * sysdeps/powerpc/powerpc64/configure: Likewise.
11391 * sysdeps/powerpc/powerpc32/configure: Likewise.
11392 * sysdeps/sparc/configure: Likwise.
11393 * sysdeps/i386/configure: Likewise.
11394
a66877c6
MP
11395 * elf/dl-open.c: Comment fixes.
11396
cfc82fd8
JM
113972012-07-17 Joseph Myers <joseph@codesourcery.com>
11398
bd29910a
JM
11399 * Makefile [CXX] (check-data): Remove.
11400 [CXX] (c++-types.data): New vpath directive.
11401 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11402 vpath. Do not allow for C++ type data being missing.
11403 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11404 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11405 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11406 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11407 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11409 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11411 ... here.
11412 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11414 ... here.
11415 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11417 ... here.
11418 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11420 ... here.
11421 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11423 ... here.
11424 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11426 ... here.
11427 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11429 ... here.
11430 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11432
cfc82fd8
JM
11433 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11434 definitions to architecture-specific files.
11435 (TLS_IE): Likewise.
11436 (TLS_LD): Likewise.
11437 (TLS_GD): Likewise.
11438 * sysdeps/i386/tls-macros.h: New file.
11439 * sysdeps/powerpc/tls-macros.h: Likewise.
11440 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11441 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11442 * sysdeps/sh/tls-macros.h: Likewise.
11443 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11444 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11445 * sysdeps/x86_64/tls-macros.h: Likewise.
11446
f7db3170
TS
114472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11448
07cbfc23
TS
11449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11450 zero value for regular exit case.
11451
f7db3170
TS
11452 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11453 (__start_context): Preserve zero value for regular exit case.
11454
dc97c227
TS
114552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11456 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11457
11458 * manual/setjmp.texi (setcontext): Clarify normal process
11459 termination when uc_link is the null pointer.
11460 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11461 exit call.
11462
d0cd7d02
AS
114632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11464
11465 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11466 preprocessor. Test for each exception mask separately.
11467
dd318934
AJ
114682012-07-16 Andreas Jaeger <aj@suse.de>
11469
11470 * po/ru.po: Update from translation team.
11471
8048311a
JM
114722012-07-15 Joseph Myers <joseph@codesourcery.com>
11473
11474 * conform/data/string.h-data (NULL): Use macro-constant. Require
11475 equal to 0.
11476 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11477 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11478 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11479 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11481
b637d46e
AJ
114822012-07-13 Andreas Jaeger <aj@suse.de>
11483
11484 * po/fr.po: Update from translation team.
11485
541428fe
MP
114862012-07-12 Marek Polacek <polacek@redhat.com>
11487
11488 [BZ #14173]
11489 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11491 loop condition.
11492
ec332e94
JM
114932012-07-12 Joseph Myers <joseph@codesourcery.com>
11494
11495 [BZ #13717]
11496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11497 Change to 2.4.1 where previously 2.4.0.
11498 * sysdeps/unix/sysv/linux/configure: Regenerated.
11499 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11500 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11501 version.
11502 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11503 (__ASSUME_AT_CLKTCK): Remove.
11504 (__ASSUME_AT_PAGESIZE): Likewise.
11505 (__ASSUME_AT_XID): Likewise.
11506 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11507 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11508 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11509 unconditionally.
11510 (HAVE_AUX_PAGESIZE): Likewise.
11511 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11512 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11513 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11514
7b6e99be
JB
115152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11516
11517 [BZ #14307]
11518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11519 the temporary buffer used to invoke __gethostbyname2_r,
11520 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11521 host_data / struct gaih_addrtuple.
11522 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11523 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11524 header file nss/nsswitch.h.
11525 * nss/nsswitch.h (global scope): Add definition of implementation
11526 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11527 resolv/nss_dns/dns-host.c).
11528
608404eb
AJ
115292012-07-11 Andreas Jaeger <aj@suse.de>
11530
11531 * po/fr.po: Update from translation team.
11532
71220aca
AJ
11533 * po/sv.po: Update from translation team
11534 * po/fr.po: Another update from translation team.
11535
28cfe843
AZ
115362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11537
11538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11539 for subnormals or multiply small sinh result by itself.
11540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11542
6b90f981
DM
115432012-07-11 David S. Miller <davem@davemloft.net>
11544
11545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11546
c6825772
AS
115472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11548
11549 [BZ #14347]
11550 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11551 (INTERNAL_MARK): Shift it here.
11552
7b8e0d49
MP
115532012-07-10 Marek Polacek <polacek@redhat.com>
11554
11555 [BZ #14151]
11556 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11557 libc_cv_asm_global_directive with .globl.
11558 * configure: Regenerated.
11559 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11560 with .globl.
11561 * sysdeps/i386/configure: Regenerated.
11562 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11563 with .globl.
11564 * sysdeps/x86_64/configure: Regenerated.
11565 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11566 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11567 * elf/tst-unique2mod2.c: Likewise.
11568 * elf/tst-unique2mod1.c: Likewise.
11569 * elf/tst-unique1mod2.c: Likewise.
11570 * elf/tst-unique1mod1.c: Likewise.
11571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11574 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11575 * sysdeps/mach/sysdep.h: Likewise.
11576 * sysdeps/i386/sysdep.h: Likewise.
11577 * sysdeps/i386/i386-mcount.S: Likewise.
11578 * sysdeps/x86_64/_mcount.S: Likewise.
11579 * sysdeps/x86_64/sysdep.h: Likewise.
11580 * sysdeps/sh/_mcount.S: Likewise.
11581 * sysdeps/sh/sysdep.h: Likewise.
11582 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11584 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11586 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11587 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11588 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11589 * locale/localeinfo.h: Likewise.
11590 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11591 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11592
6c55cda3
RM
115932012-07-09 Roland McGrath <roland@hack.frob.com>
11594
11595 [BZ #14336]
11596 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11597 system".
11598 * manual/message.texi (The Uniforum approach): Likewise.
11599 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11600 (glibc iconv Implementation): Likewise.
11601
638a572e
JM
116022012-07-09 Joseph Myers <joseph@codesourcery.com>
11603
11604 [BZ #14337]
11605 * math/s_clog.c (__clog): Avoid scaling a value down where that
11606 could result in underflow.
11607 * math/s_clog10.c (__clog10): Likewise.
11608 * math/s_clog10f.c (__clog10f): Likewise.
11609 * math/s_clog10l.c (__clog10l): Likewise.
11610 * math/s_clogf.c (__clogf): Likewise.
11611 * math/s_clogl.c (__clogl): Likewise.
11612 * math/libm-test.inc (clog_test): Add more tests.
11613 (clog10_test): Likewise.
11614 * sysdeps/i386/fpu/libm-test-ulps: Update.
11615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11616
261f4859
AS
116172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11618
0abaf3e4
AS
11619 [BZ #14283]
11620 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11621 by 7 not 8 to examine high bit of fractional part.
11622
261f4859
AS
11623 [BZ #14042]
11624 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11625 for call to __mcount_internal.
11626 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11627 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11628 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11629
f17ac40d
JM
116302012-07-06 Joseph Myers <joseph@codesourcery.com>
11631
9ad63c23
JM
11632 [BZ #14154]
11633 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11634 approximation for values within 0x1p-13f of an odd multiple of
11635 pi/4.
11636 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11637 exception. Add more tests.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639
f17ac40d
JM
11640 [BZ #6778]
11641 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11642 inputs and return -1 for them. Do not check for +Inf in case not
11643 reachable for +Inf.
11644 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11645 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11647 and return -1 for them. Do not check for +Inf in case not
11648 reachable for +Inf.
11649 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11650 define.
11651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11652 and return -1 for them. Do not check for +Inf in case not
11653 reachable for +Inf.
11654 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11655 spurious underflow.
11656 * sysdeps/i386/fpu/libm-test-ulps: Update.
11657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11658
fb21f89b
MF
116592012-07-06 Mike Frysinger <vapier@gentoo.org>
11660
11661 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11662
cdfe2c5e
JM
116632012-07-05 Joseph Myers <joseph@codesourcery.com>
11664
11665 [BZ #14157]
11666 [BZ #14331]
11667 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11668 could result in spurious underflow. Scale down values above
11669 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11670 * math/s_csqrtf.c (__csqrtf): Likewise.
11671 * math/s_csqrtl.c (__csqrtl): Likewise.
11672 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11673 spurious underflow.
11674 * sysdeps/i386/fpu/libm-test-ulps: Update.
11675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11676
70d35b67
AS
116772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11678
704bc459
AS
11679 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11680 xopen-msg.sed.
11681 * catgets/xopen-msg.awk: New file.
11682 * catgets/xopen-msg.sed: Removed.
11683
70d35b67
AS
11684 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11685 po2text.sed.
11686 * intl/po2test.awk: New file.
11687 * intl/po2test.sed: Removed.
11688
ca61cf32
JM
116892012-07-04 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #14328]
11692 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11693 or multiply small sinh result by itself.
11694 * math/s_ctanf.c (__ctanf): Likewise.
11695 * math/s_ctanh.c (__ctanh): Likewise.
11696 * math/s_ctanhf.c (__ctanhf): Likewise.
11697 * math/s_ctanhl.c (__ctanhl): Likewise.
11698 * math/s_ctanl.c (__ctanl): Likewise.
11699 * math/libm-test.inc (ctan_test_tonearest): New function.
11700 (ctan_test_towardzero): Likewise.
11701 (ctan_test_downward): Likewise.
11702 (ctan_test_upward): Likewise.
11703 (ctanh_test_tonearest): Likewise.
11704 (ctanh_test_towardzero): Likewise.
11705 (ctanh_test_downward): Likewise.
11706 (ctanh_test_upward): Likewise.
11707 (main): Call these new functions.
11708 * sysdeps/i386/fpu/libm-test-ulps: Update.
11709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11710
ca48a46a
MF
117112012-07-03 Mike Frysinger <vapier@gentoo.org>
11712
11713 * .gitignore: Delete /ports entry.
11714
9d63d37d
AJ
117152012-07-03 Andreas Jaeger <aj@suse.de>
11716
11717 * po/bg.po: Update from translation team.
11718 * po/cs.po: Likewise.
11719 * po/de.po: Likewise.
11720 * po/hr.po: Likewise.
11721 * po/nl.pl: Likewise.
11722 * po/pl.po: Likewise.
11723 * po/vi.po: Likewise.
11724
370ca3d2
JM
117252012-07-03 Joseph Myers <joseph@codesourcery.com>
11726
95f5a9a8
JM
11727 * Makeconfig [!+link] (+link-before-libc): New variable.
11728 [!+link] (+link-after-libc): Likewise.
11729 [!+link] (+link-tests): Likewise.
11730 [!+link] (+link): Define in terms of $(+link-before-libc) and
11731 $(+link-after-libc).
11732 [!+link-static] (+link-static-before-libc): New variable.
11733 [!+link-static] (+link-static-after-libc): Likewise.
11734 [!+link-static] (+link-static-tests): Likewise.
11735 [!+link-static] (+link-static): Define in terms of
11736 $(+link-static-before-libc) and $(+link-static-after-libc).
11737 [build-shared] (link-libc-before-gnulib): New variable.
11738 [build-shared] (link-libc-tests): Likewise.
11739 [build-shared] (link-libc): Define in terms of
11740 $(link-libc-before-gnulib).
11741 [!build-shared] (link-libc-tests): New variable.
11742 (link-libc-static-tests): New variable.
11743 [!gnulib] (gnulib-arch): New variable.
11744 [!gnulib] (gnulib-tests): Likewise.
11745 [!gnulib] (static-gnulib-arch): Likewise.
11746 [!gnulib] (static-gnulib-tests): Likewise.
11747 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11748 Define with "=" instead of ":=".
11749 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11750 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11751 * Rules (binaries-all-notests): New variable.
11752 (binaries-all-tests): Likewise.
11753 (binaries-static-notests): Likewise.
11754 (binaries-static-tests): Likewise.
11755 (binaries-all): Define using $(binaries-all-notests) and
11756 $(binaries-all-tests).
11757 (binaries-static): Define using $(binaries-static-notests) and
11758 $(binaries-static-tests).
11759 (binaries-shared-tests): New variable.
11760 (binaries-shared-notests): Likewise.
11761 (binaries-shared): Remove variable.
11762 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11763 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11764 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11765 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11766 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11767 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11768 * elf/Makefile (sln-modules): New variable.
11769 (extra-objs): Add $(sln-modules:=.o).
11770 (ldconfig-modules): Add static-stubs.
11771 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11772 * elf/static-stubs.c: New file.
11773
7a845b2c
JM
11774 [BZ #14283]
11775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11776 by 7 not 8 to examine high bit of fractional part. Use volatile
11777 variables when splitting into final array of floats if
11778 __FLT_EVAL_METHOD__ != 0.
11779 * math/libm-test.inc (cos_test): Add another test.
11780 (sin_test): Likewise.
11781 * sysdeps/i386/fpu/libm-test-ulps: Update.
11782
e2283f38
JM
11783 [BZ #14273]
11784 * math/libm-test.inc (cosh_test): Add more tests.
11785
370ca3d2
JM
11786 * version.h (RELEASE): Set to "development".
11787 (VERSION): Set to "2.16.90".
11788
ee9247c3
CD
117892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11790
11791 * NEWS: Update copyright. Remove last-updated date.
11792 Mention math library bug fixes and timezone data changes.
11793 * README: Mention GNU/Hurd, x32, and HPPA support status.
11794
4648c381
TS
117952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11796
11797 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11798
aac78a43
AJ
117992012-06-27 Andreas Jaeger <aj@suse.de>
11800
11801 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11802
ed3dbfad
AJ
118032012-06-25 Andreas Jaeger <aj@suse.de>
11804
11805 * sysdeps/s390/fpu/libm-test-ulps: Update.
11806
4d0ee855
AS
118072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11808 Thomas Schwinge <thomas@codesourcery.com>
11809
11810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11811 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11813 fanotify_mark.
11814
af1bce34
TS
118152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11816
a9fa33ba
TS
11817 * sysdeps/mach/start.c: Remove file.
11818 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11819 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11820 * sysdeps/sh/init-first.c: Likewise.
11821
58f902b8
TS
11822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11823 registers for frame unwinding purposes, add CFI directives.
11824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11825 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11826 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11827 Likewise.
11828
1518f58b
TS
11829 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11830 __fortify_fail returning.
11831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11832
db9b5059
TS
11833 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11834 sysdeps/sh/____longjmp_chk.S.
11835 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11836 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11837 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11838 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11839
967705fe
TS
11840 * sysdeps/sh/abort-instr.h: New file.
11841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11842 process in case exit returns.
11843
a9def8c4
TS
11844 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11845 initialize the GOT register before use.
11846
2a649725
TS
11847 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11848 calculation of ARGC > 4.
11849
af1bce34
TS
11850 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11851 meaningful names to some local labels.
11852
d230f50a
KK
118532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11854 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11855
11856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11857 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11858 (__arch_compare_and_exchange_val_16_acq): Likewise.
11859 (__arch_compare_and_exchange_val_32_acq): Likewise.
11860 (atomic_exchange_and_add): Fix gUSA sequence.
11861 (atomic_add): Likewise.
11862 (atomic_add_negative): Likewise.
11863 (atomic_add_zero): Likewise.
11864 (atomic_bit_test_set): Likewise.
11865
0479b305
AS
118662012-06-22 Andreas Schwab <schwab@redhat.com>
11867
11868 [BZ #13579]
11869 * include/link.h (struct link_map): Add l_free_initfini.
11870 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11871 l_initfini.
11872 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11873 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11874 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11875 set.
11876
0e3933b9
CD
118772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11878
11879 * configure.in: Use AC_LANG_SOURCE.
11880 * configure: Regenerate.
11881
4248b1b1
RM
118822012-06-22 Roland McGrath <roland@hack.frob.com>
11883
11884 * configure.in (libc_cv_localstatedir): New substituted variable.
11885 * configure: Regenerated.
11886 * config.make.in (localstatedir): New variable, substituted from
11887 libc_cv_localstatedir.
11888 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11889 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11890 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11891 * sysdeps/gnu/configure: Regenerated.
11892
006dd861
JL
118932012-06-21 Jeff Law <law@redhat.com>
11894
11895 [BZ #14277]
11896 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11897 free. Simplify list management for _LIBC case.
11898
79662d42
JM
118992012-06-21 Joseph Myers <joseph@codesourcery.com>
11900
b7abb4bf
JM
11901 [BZ #14273]
11902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11903 Clear sign bit of 64-bit integer value before comparing against
11904 overflow value.
11905
79662d42
JM
11906 * sysdeps/mach/configure: Regenerated.
11907
1f150908
L
119082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11909
11910 [BZ #14278]
11911 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11912
28363bbf
JL
119132012-06-21 Jeff Law <law@redhat.com>
11914
11915 [BZ #13882]
11916 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11917 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11918 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11919 * elf/dl-open.c (dl_open_worker): Likewise.
11920
09615db4
CD
119212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11922
11923 * scripts/list-sources.sh: Scan PORTS for translations.
11924 * po/libc.pot: Regenerated.
11925
2174c6dd
AJ
119262012-06-21 Andreas Jaeger <aj@suse.de>
11927
11928 [BZ #12194]
11929 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11930 warning.
11931 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11932 * bits/byteswap-16.h (__bswap_16): Likewise.
11933 * bits/byteswap.h (__bswap_constant_16): Likewise.
11934
3ee947b1
L
119352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 [BZ #14117]
a2f34833
L
11938 * sysdeps/i386/fpu_control.h: Removed.
11939 * sysdeps/x86_64/fpu_control.h: Moved to ...
11940 * sysdeps/x86/fpu_control.h: Here.
11941
3ee947b1
L
11942 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11943 (_FPU_SETCW): Likewise.
11944
ed1825f8
L
119452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11946
25f1282a
L
11947 [BZ #14117]
11948 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11949 * sysdeps/x86/fpu/bits/mathinline.h: This.
11950 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11951
ed1825f8
L
11952 [BZ #14050]
11953 [BZ #14117]
11954 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11955 functions if __x86_64__ is defined.
11956
36d54b74
CLT
119572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11958
11959 * string/endian.h: Add !__ASSEMBLER__ condition for including
11960 conversion interfaces.
11961
10285c21
JM
119622012-06-15 Joseph Myers <joseph@codesourcery.com>
11963
11964 [BZ #14241]
11965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11966 of ABS(x) in calculating zero to negative powers other than odd
11967 integers.
11968 * math/libm-test.inc (pow_test): Add more tests.
11969
06c5abbd
AJ
119702012-06-15 Andreas Jaeger <aj@suse.de>
11971
11972 * manual/contrib.texi (Contributors): Update entry of Liubov
11973 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11974 Machado Filho.
11975
a3aeac40
CH
119762012-06-15 Cyril Hrubis <metan@ucw.cz>
11977
11978 * string/string.h: Add __wur to GNU version of strerror_r.
11979
49bdf4c1
L
119802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11981
11982 [BZ #14229]
11983 * string/Makefile (tests): Add tst-strtok_r.
11984 * string/tst-strtok_r.c: New file.
11985 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11986 RAX_LP/RDX_LP on SAVE_PTR.
11987
834f9b8d
RM
119882012-06-14 Roland McGrath <roland@hack.frob.com>
11989
11990 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11991
75fa1921
JM
119922012-06-14 Joseph Myers <joseph@codesourcery.com>
11993
11994 * libm_test.inc (csqrt_test): Allow more spurious underflow
11995 exceptions.
11996 (j0_test): Likewise.
11997 (j1_test): Likewise.
11998 (y0_test): Likewise.
11999 (y1_test): Likewise.
12000
771766df
CD
120012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12002
12003 * po/Makefile (libc.pot): Use UTF-8 charset.
12004
ceb9e56b
PP
120052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12006
12007 [BZ #14210]
12008 Suppress sign-conversion warning from FD_SET.
12009 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12010 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12011 not unsigned long int.
12012 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12013
ddb28975
L
120142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 [BZ #14050]
12017 [BZ #14117]
12018 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12019 __extern_always_inline instead of __extern_inline.
12020 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12021 (__signbit): Likewise.
12022 (__signbitl): Support C++ namespace.
12023 (lrintf): New inline function.
12024 (lrint): Likewise.
12025 (llrintf): Likewise.
12026 (llrint): Likewise.
12027 (fmaxf): Likewise.
12028 (fmax): Likewise.
12029 (fminf): Likewise.
12030 (fmin): Likewise.
12031 (rint): Likewise.
12032 (rintf): Likewise.
12033 (ceil): Likewise.
12034 (ceilf): Likewise.
12035 (floor): Likewise.
12036 (floorf): Likewise.
12037 (nearbyint): Likewise.
12038 (nearbyintf): Likewise.
12039
d7b4fb26
TS
120402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12041
12042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12043 non-default versions.
12044
eb55f5c2
RM
120452012-06-11 Roland McGrath <roland@hack.frob.com>
12046
12047 [BZ #14218]
12048 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12049
366af02c
TS
120502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12051
99ff6e5c
TS
12052 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12053 (FE_UPWARD, FE_DOWNWARD): Don't define.
12054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12056
366af02c
TS
12057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12058 reading it.
12059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12061
793ea851
KK
120622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12063
12064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12067 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12068
a728a38f
L
120692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 [BZ #14117]
c08010c7
L
12072 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12073 * sysdeps/i386/fpu/Implies: New file.
12074 * sysdeps/x86_64/fpu/Implies: Likewise.
12075 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12076 * sysdeps/x86/fpu/bits/fenv.h: This.
12077
a728a38f
L
12078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12079 __SSE_MATH__.
12080
6e230d11
SP
120812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12082
12083 [BZ #14134]
12084 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12085 character 0xffff that matches the last element of the
12086 conversion table.
12087
1b671feb
AZ
120882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12089
12090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12091 fmodl commit.
12092
6043738b
AZ
120932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12094
12095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12096 values higher than 25.6283.
12097
34ae0b32
AZ
120982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12099
12100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12101 subnormal exponent extraction and add some __builtin_expect.
12102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12103 Fix for subnormal mantissa calculation.
12104
1214ec8f
MF
121052012-06-04 Mike Frysinger <vapier@gentoo.org>
12106
12107 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12108 cpu2 is -1 and errno is not ENOSYS.
12109
f3d1f93c
L
121102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12111
12112 [BZ #14117]
0e4a3cd7
L
12113 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12114 * sysdeps/x86/bits/string.h: This.
12115 * sysdeps/x86_64/bits/string.h: Removed.
12116
6704c645
L
12117 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12118 if not compiling for x86-64, but compiling for >= i486.
12119
48495318
L
12120 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12121 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12122
14adcbfc
L
12123 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12124 New macro from Linux kernel 3.4.0.
12125 (FP_XSTATE_MAGIC2): Likewise.
12126 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12127 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12128 (struct _fpx_sw_bytes): New struct.
12129 (struct _xsave_hdr): Likewise.
12130 (struct _ymmh_state): Likewise.
12131 (struct _xstate): Likewise.
12132
68e408ab
L
12133 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12134 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12136 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12138 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12139
f3d1f93c
L
12140 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12141 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12142 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12143 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12144 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12145 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12146
d9dc34cd
TMQMF
121472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12148
12149 [BZ #13743]
12150 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12151 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12152 (sysdep_headers): Include sys/platform/ppc.h.
12153 * sysdeps/powerpc/test-gettimebase.c: Test for
12154 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12155 * manual/Makefile (appendices): Include platform.texi.
12156 * manual/contrib.texi (Contributors): Update @node pointers.
12157 * manual/maint.texi (Maintenance): Likewise.
12158 (Platform): New node.
12159 * manual/platform.texi: New file. Document the new features.
12160
4af3879c
SP
121612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12162 Jakub Jelinek <jakub@redhat.com>
12163
12164 [BZ #14188]
12165 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12166 where __builtin_expect is unavailable.
12167
2fd6ff13
DM
121682012-06-03 David S. Miller <davem@davemloft.net>
12169
12170 * stdlib/longlong.h: Updated from GCC.
12171
173f7220
AS
121722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12173
12174 [BZ #14042]
12175 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12176 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12177 __mcount_internal.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12179 (GLIBC_2.16): Likewise.
12180
f34a1c6f
L
121812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12184
88a4576f
JM
121852012-06-01 Joseph Myers <joseph@codesourcery.com>
12186
ea32bcdd
JM
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12188 (default-abi): New variable.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12191 variable.
12192 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12193 Likewise.
12194 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12195 Likewise.
12196 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12197 Likewise.
12198
88a4576f
JM
12199 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12200 definition. Document in comment.
12201
402fe938
DM
122022012-06-01 David S. Miller <davem@davemloft.net>
12203
12204 * stdlib/longlong.h: Updated from GCC.
12205
3553723f
L
122062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12207
12208 [BZ #14117]
3bd872c4
L
12209 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12210 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12211 sys/debugreg.h sys/io.h here.
12212 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12213 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12214 sys/io.h.
12215 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12216 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12217 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12218 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12219 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12220 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12221
3553723f
L
12222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12223 Define only if __x86_64__ is defined.
12224
4842e4fe
JM
122252012-06-01 Joseph Myers <joseph@codesourcery.com>
12226
c5bfe3d5
JM
12227 [BZ #14048]
12228 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12229 Use int64_t for variable i.
12230 * math/libm-test.inc (fmod_test): Add more tests.
12231
4842e4fe
JM
12232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12233 z computation is not scheduled after fetestexcept.
12234 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12235 Use math_force_eval instead of asm to ensure calculation scheduled
12236 before exception test.
12237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12238 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12239
efb73488
AJ
122402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12241
12242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12243 computation is not scheduled after fetestexcept.
12244
29bcce7c
L
122452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12246
12247 [BZ #14117]
12248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12250
73a68f94
AZ
122512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12252
12253 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12255
67b6df78
L
122562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12257
edf2933a 12258 [BZ #14117]
ebc64a18
L
12259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12260 <bits/wordsize.h>.
12261 (__WCHAR_MIN): Support __WORDSIZE == 64.
12262 (__WCHAR_MAX): Likewise.
12263
edf2933a
L
12264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12266
57c6cf40
L
12267 [BZ #14183]
12268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12269 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12270
67b6df78 12271 [BZ #14117]
8eb6281e
L
12272 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12274
aac639f4
L
12275 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12276 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12277
67b6df78
L
12278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12279 Defined to 1 if __x86_64__ isn't defined.
12280 (_STAT_VER_LINUX_OLD): New.
12281 (st_atime): Remove duplicate.
12282 (st_mtime): Likewise.
12283 (st_ctime): Likewise.
12284
1c2cfe81
DM
122852012-05-31 David S. Miller <davem@davemloft.net>
12286
12287 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12288 entries.
12289
5be8418c
AS
122902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12291
e7725326
AS
12292 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12293 gen-libm-test.pl.
12294
5be8418c
AS
12295 [BZ #14132]
12296 * elf/dl-reloc.c: Include <_itoa.h>.
12297 (_dl_reloc_bad_type): Remove use of INTUSE.
12298 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12299 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12300 * stdio-common/psiginfo.c (psiginfo): Likewise.
12301 * stdio-common/psignal.c (psignal): Likewise.
12302 * string/strsignal.c (strsignal): Likewise.
12303 * include/signal.h (_sys_siglist): Declare hidden proto.
12304 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12305 INTVARDEF with libc_hidden_data_def.
12306 * stdio-common/itoa-udigits.c: Likewise.
12307 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12308 (_itoa_lower_digits_internal): Remove declaration.
12309 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12310 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12311 (_sys_sigabbrev_internal): Remove aliases.
12312 (_sys_siglist): Define hidden alias.
12313
507352f1
MT
123142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12315
12316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12317 bits/sysctl.h.
12318
42bbb1c3
L
123192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 [BZ #14117]
6bd784b6
L
12322 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12323 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12324
8bca20f0
L
12325 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12326 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12327 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12328 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12330 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12331
f9e890a9
L
12332 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12335
471101a1
L
12336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12337 with __addr.
12338 (insw): Likewise.
12339 (insl): Likewise.
12340 (outsb): Likewise.
12341 (outsw): Likewise.
12342 (outsl): Likewise.
12343
6451c862
L
12344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12347
a254b8c9
L
12348 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12349 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12350 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12351 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12352 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12353 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12354
b8dfdd92
L
12355 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12356 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12357
578cd270
L
12358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12359 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12360
de662f5f
L
12361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12364
25653439
L
12365 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12366 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12367 to ...
12368 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12369
6bad24a0
L
12370 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12371 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12372 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12373
42bbb1c3
L
12374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12375 for x86-64.
12376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12377
2d10d547
JM
123782012-05-31 Joseph Myers <joseph@codesourcery.com>
12379
12380 * math/math.h (M_El): Use two more decimal places.
12381 (M_LOG2El): Likewise.
12382 (M_LOG10El): Likewise.
12383 (M_LN2l): Likewise.
12384 (M_LN10l): Likewise.
12385 (M_PIl): Likewise.
12386 (M_PI_2l): Likewise.
12387 (M_PI_4l): Likewise.
12388 (M_1_PIl): Likewise.
12389 (M_2_PIl): Likewise.
12390 (M_2_SQRTPIl): Likewise.
12391 (M_SQRT2l): Likewise.
12392 (M_SQRT1_2l): Likewise.
12393
f230c29b
DM
123942012-05-31 David S. Miller <davem@davemloft.net>
12395
12396 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12397 values between float registers.
12398 * sysdeps/sparc/sparc64/memset.S: Likewise.
12399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12400
fed806c3
MF
124012012-05-31 Mike Frysinger <vapier@gentoo.org>
12402
12403 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12404 -D_FORTIFY_SOURCE=1.
12405 (CPPFLAGS-tst-longjmp_chk.c): Define.
12406 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12407 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12408 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12409 CFLAGS-tst-wchar-h.c.
12410
30917259
MP
124112012-05-31 Marek Polacek <polacek@redhat.com>
12412
12413 [BZ #14132]
12414 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12415 __endmntent_internal): Remove declaration.
12416 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12417 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12418 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12419
1c58d5dc
DM
124202012-05-30 David S. Miller <davem@davemloft.net>
12421
12422 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12423 (___Q_simulate_exceptions): Use real FP ops rather than writing
12424 into the %fsr.
12425 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12426 Likewise.
12427
7dc00e0d
L
124282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12429
12430 [BZ #14117]
0bd53985
L
12431 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12432 * sysdeps/x86/bits/xtitypes.h: This.
12433
3a257e66
L
12434 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12435 * sysdeps/x86/bits/wordsize.h: This.
12436
62f62904
L
12437 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12438 * sysdeps/x86/bits/huge_vall.h: This.
12439
404fe9d9
L
12440 * sysdeps/i386/bits/select.h: Removed.
12441 * sysdeps/x86_64/bits/select.h: Renamed to ...
12442 * sysdeps/x86/bits/select.h: This.
12443
d48d0446
L
12444 * sysdeps/i386/bits/setjmp.h: Removed.
12445 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12446 * sysdeps/x86/bits/setjmp.h: This.
12447
7dc00e0d
L
12448 * sysdeps/i386/bits/mathdef.h: Removed.
12449 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12450 * sysdeps/x86/bits/mathdef.h: This.
12451
03277f8f
AS
124522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12453
12454 [BZ #14132]
12455 * include/sys/socket.h (__connect_internal)
12456 (__libc_sa_len_internal): Remove declaration.
12457 (__connect, __libc_sa_len): Declare hidden_proto.
12458 (SA_LEN): Remove use of INTUSE.
12459 * socket/connect.c: Add libc_hidden_def.
12460 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12461 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12462 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12463 alias.
12464 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12466 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12467 of adding _internal alias.
12468
13764867
L
124692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12470
12471 [BZ #14117]
6bd97696
L
12472 * sysdeps/i386/bits/link.h: Removed.
12473 * sysdeps/i386/bits/linkmap.h: Likewise.
12474 * sysdeps/x86_64/bits/link.h: Renamed to ...
12475 * sysdeps/x86/bits/link.h: This.
12476 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12477 * sysdeps/x86/bits/linkmap.h: This.
12478
f726f0bb
L
12479 * sysdeps/i386/bits/endian.h: Removed.
12480 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12481 * sysdeps/x86/bits/endian.h: This.
12482
13764867
L
12483 * sysdeps/i386/bits/byteswap.h: Removed.
12484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12485 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12486 * sysdeps/x86/bits/byteswap.h: This.
12487 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12488 * sysdeps/x86/bits/byteswap-16.h: This.
12489 * sysdeps/i386/Implies: Add x86.
12490 * sysdeps/x86_64/Implies: Likewise.
12491
ae251b0b
DM
124922012-05-30 David S. Miller <davem@davemloft.net>
12493
12494 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12495 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12497 (FP_TRAPPING_EXCEPTIONS): Define.
12498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12499 (FP_TRAPPING_EXCEPTIONS): Define.
12500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12501 subnormals only when inexact has been signalled or underflow
12502 exceptions are enabled.
12503 (_FP_PACK_CANONICAL): Likewise.
12504
d5c90867
L
125052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 [BZ #14183]
12508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12509 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12510
63f1549e
RH
125112012-05-30 Richard Henderson <rth@twiddle.net>
12512
8d8f2279
RH
12513 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12514 with #ifndef NOT_IN_libc.
12515
63f1549e
RH
12516 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12517 marked to avoid plt entry.
12518
0ab0291b
L
125192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12520
12521 [BZ #14112]
12522 * Makeconfig (default-abi): New macro.
12523 (abi-includes): Likewise.
12524 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12525 $(abi-$(default-abi)-lib-soname) for soname if defined.
12526 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12527 abi-variants.
12528 * Makefile (installed-stubs): Likewise.
12529 * include/stubs-biarch.h: Removed.
12530 * scripts/lib-names.awk: Only handle one library at a time.
12531 * scripts/soversions.awk: Remove WORDSIZE support.
12532 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12533 entries.
12534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12535 Removed.
12536 (syscall-list-default-condition): Likewise.
12537 (syscall-list-default-condition): Likewise.
12538 (syscall-list-includes): Likewise.
12539 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12540 syscall-list-* with abi-*. Handle undefined abi-variants.
12541 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12542 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12543 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12544 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12546 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12547 Removed.
12548 (syscall-list-32-options): Likewise.
12549 (syscall-list-32-condition): Likewise.
12550 (syscall-list-64-options): Likewise.
12551 (syscall-list-64-condition): Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12553 macro.
12554 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12555 Renamed to ...
12556 (abi-*): This.
12557 (abi-64-ld-soname): New macro.
12558 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12559 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12560 Renamed to ...
12561 (abi-*): This.
12562 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12563 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12564
4da0431d
JM
125652012-05-30 Joseph Myers <joseph@codesourcery.com>
12566
3a85279c
JM
12567 * sysdeps/unix/sysv/linux/kernel-features.h
12568 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12569 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12570 include <kernel-features.h>.
12571 [!__NR_ftruncate64]: Remove conditional code.
12572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12573 [__NR_ftruncate64]: Make code unconditional.
12574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12575 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12576 include <kernel-features.h>.
12577 [!__NR_ftruncate64]: Remove conditional code.
12578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12579 [__NR_ftruncate64]: Make code unconditional.
12580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12582 include <kernel-features.h>.
12583 [!__NR_ftruncate64]: Remove conditional code.
12584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12585 [__NR_ftruncate64]: Make code unconditional.
12586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12588 include <kernel-features.h>.
12589 [!__NR_ftruncate64]: Remove conditional code.
12590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12591 [__NR_ftruncate64]: Make code unconditional.
12592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12593
4da0431d
JM
12594 * configure.in (libc_cv_fpie): Weaken to a compile test using
12595 LIBC_TRY_CC_OPTION.
12596 * configure: Regenerated.
12597
11ef492c
AK
125982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12599
12600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12604 Refreshed.
12605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12611 Refreshed.
12612
d66ef399
DM
126132012-05-27 David S. Miller <davem@davemloft.net>
12614
12615 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12616 (___Q_zero): New.
12617 (__Q_simulate_exceptions): Return void. Change to simulate
12618 exceptions by writing into the %fsr.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12620 (__Qp_handle_exceptions): Likewise.
12621 (numbers): Delete.
12622 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12623 __Qp_handle_exceptions.
12624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12625 __Qp_handle_exceptions.
12626 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12627 as unused and give dummy FP_RND_NEAREST initializer.
12628 (FP_INHIBIT_RESULTS): Define.
12629 (___Q_simulate_exceptions): Update declaration.
12630 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12631 formatting.
12632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12633 as unused and give dummy FP_RND_NEAREST initializer.
12634 (__Qp_handle_exceptions): Update declaration.
12635 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12636 formatting.
12637
04fb54b5
TS
126382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12639
12640 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12641 the temporary FPU control word.
12642 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12643 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12645 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12648 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12651 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12653
3f99608f
KK
126542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12655
12656 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12657 fields.
12658
65a4de4e
CLT
126592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12660
12661 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12662 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12663 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12664 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12665 Likewise.
12666 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12667 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12668 Likewise.
12669
15749d40
UD
126702012-05-27 Ulrich Drepper <drepper@gmail.com>
12671
12672 * po/h.po: Update from translation team.
12673
25dbcb27
AS
126742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12675
3d3f8e55
AS
12676 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12677
25dbcb27
AS
12678 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12679 handling of denormals.
12680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12687 Likewise.
12688
7ad47a80 126892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12690
12691 [BZ #14152]
12692 * math/libm-test.inc (fma_test): Don't always expect underflow
12693 exception.
12694
9c6ea9fa
SP
126952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12696
12697 [BZ #12416]
12698 * elf/tst-execstack.c: Include stackinfo.h.
12699 (do_test): Adjust test case to ensure that pthread_getattr_np
12700 behaviour remains the same after marking stack executable.
12701
a8239222
JM
127022012-05-25 Joseph Myers <joseph@codesourcery.com>
12703
12704 * sysdeps/unix/sysv/linux/kernel-features.h
12705 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12707 kernel-features.h.
12708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12710 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12711 kernel-features.h.
12712 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12713 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12714
918b5606
L
127152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12716
12717 * configure.in: Define the default includes to being none.
12718 * configure: Regenerated.
12719
3a097cc7
RM
127202012-05-25 Roland McGrath <roland@hack.frob.com>
12721
8422c9a5
RM
12722 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12723 * sysdeps/x86_64/setjmp.S: Likewise.
12724 * sysdeps/i386/bsd-setjmp.S: Likewise.
12725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12726 * sysdeps/i386/setjmp.S: Likewise.
12727 * sysdeps/i386/__longjmp.S: Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12730
3a097cc7
RM
12731 * include/stap-probe.h: New file.
12732 * configure.in: Handle --enable-systemtap.
12733 * configure: Regenerated.
12734 * config.h.in (USE_STAP_PROBE): New #undef.
12735 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12736 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12737 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12738
21708942
JM
127392012-05-25 Joseph Myers <joseph@codesourcery.com>
12740
12741 [BZ #13717]
12742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12743 to 2.4.0 where earlier.
12744 * sysdeps/unix/sysv/linux/configure: Regenerated.
12745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12746 <kernel-features.h>.
12747 [__ASSUME_32BITUIDS]: Make code unconditional.
12748 [!__ASSUME_32BITUIDS]: Remove conditional code.
12749 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12750 <kernel-features.h>.
12751 [__ASSUME_32BITUIDS]: Make code unconditional.
12752 [!__ASSUME_32BITUIDS]: Remove conditional code.
12753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12754 [__ASSUME_32BITUIDS]: Make code unconditional.
12755 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12757 <kernel-features.h>.
12758 [__ASSUME_32BITUIDS]: Make code unconditional.
12759 [!__ASSUME_32BITUIDS]: Remove conditional code.
12760 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12761 <kernel-features.h>.
12762 [__ASSUME_32BITUIDS]: Make code unconditional.
12763 [!__ASSUME_32BITUIDS]: Remove conditional code.
12764 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12765 <kernel-features.h>.
12766 [__ASSUME_32BITUIDS]: Make code unconditional.
12767 [!__ASSUME_32BITUIDS]: Remove conditional code.
12768 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12769 <kernel-features.h>.
12770 [__ASSUME_32BITUIDS]: Make code unconditional.
12771 [!__ASSUME_32BITUIDS]: Remove conditional code.
12772 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12773 <kernel-features.h>.
12774 [__ASSUME_32BITUIDS]: Make code unconditional.
12775 [!__ASSUME_32BITUIDS]: Remove conditional code.
12776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12777 <kernel-features.h>.
12778 [__ASSUME_32BITUIDS]: Make code unconditional.
12779 [!__ASSUME_32BITUIDS]: Remove conditional code.
12780 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12781 <kernel-features.h>.
12782 [__ASSUME_32BITUIDS]: Make code unconditional.
12783 [!__ASSUME_32BITUIDS]: Remove conditional code.
12784 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12785 <kernel-features.h>.
12786 [__ASSUME_32BITUIDS]: Make code unconditional.
12787 [!__ASSUME_32BITUIDS]: Remove conditional code.
12788 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12793 <kernel-features.h>.
12794 [__ASSUME_32BITUIDS]: Make code unconditional.
12795 [!__ASSUME_32BITUIDS]: Remove conditional code.
12796 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12797 <kernel-features.h>.
12798 [__NR_setresgid] (__setresgid): Do not declare.
12799 [__ASSUME_32BITUIDS]: Make code unconditional.
12800 [!__ASSUME_32BITUIDS]: Remove conditional code.
12801 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12802 <kernel-features.h>.
12803 [__NR_setresuid] (__setresuid): Do not declare.
12804 [__ASSUME_32BITUIDS]: Make code unconditional.
12805 [!__ASSUME_32BITUIDS]: Remove conditional code.
12806 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12807 <kernel-features.h>.
12808 [__ASSUME_32BITUIDS]: Make code unconditional.
12809 [!__ASSUME_32BITUIDS]: Remove conditional code.
12810 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12811 <kernel-features.h>.
12812 [__ASSUME_32BITUIDS]: Make code unconditional.
12813 [!__ASSUME_32BITUIDS]: Remove conditional code.
12814 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12815 <kernel-features.h>.
12816 [__ASSUME_32BITUIDS]: Make code unconditional.
12817 [!__ASSUME_32BITUIDS]: Remove conditional code.
12818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12819 <kernel-features.h>.
12820 [__ASSUME_32BITUIDS]: Make code unconditional.
12821 [!__ASSUME_32BITUIDS]: Remove conditional code.
12822 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12823 <kernel-features.h>.
12824 [__ASSUME_32BITUIDS]: Make code unconditional.
12825 [!__ASSUME_32BITUIDS]: Remove conditional code.
12826 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12827 <kernel-features.h>.
12828 [__ASSUME_32BITUIDS]: Make code unconditional.
12829 [!__ASSUME_32BITUIDS]: Remove conditional code.
12830 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12831 <kernel-features.h>.
12832 [__ASSUME_32BITUIDS]: Make code unconditional.
12833 [!__ASSUME_32BITUIDS]: Remove conditional code.
12834 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12835 <kernel-features.h>.
12836 [__ASSUME_32BITUIDS]: Make code unconditional.
12837 [!__ASSUME_32BITUIDS]: Remove conditional code.
12838 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12839 <kernel-features.h>.
12840 [__ASSUME_32BITUIDS]: Make code unconditional.
12841 [!__ASSUME_32BITUIDS]: Remove conditional code.
12842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12843 <kernel-features.h>.
12844 [__ASSUME_32BITUIDS]: Make code unconditional.
12845 [!__ASSUME_32BITUIDS]: Remove conditional code.
12846 * sysdeps/unix/sysv/linux/kernel-features.h
12847 (__ASSUME_SETRESUID_SYSCALL): Remove.
12848 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12849 (__ASSUME_32BITUIDS): Likewise.
12850 (__ASSUME_LDT_WORKS): Likewise.
12851 (__ASSUME_O_DIRECTORY): Likewise.
12852 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12853 architecture but not kernel version.
12854 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12855 (__ASSUME_MMAP2_SYSCALL): Likewise.
12856 (__ASSUME_STAT64_SYSCALL): Likewise.
12857 (__ASSUME_IPC64): Likewise.
12858 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12859 <kernel-features.h>.
12860 [__ASSUME_32BITUIDS]: Make code unconditional.
12861 [!__ASSUME_32BITUIDS]: Remove conditional code.
12862 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12863 <kernel-features.h>.
12864 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12865 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12866 132096]: Remove conditional code.
12867 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12868 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12869 <kernel-features.h>.
12870 [__ASSUME_32BITUIDS]: Make code unconditional.
12871 [!__ASSUME_32BITUIDS]: Remove conditional code.
12872 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12873 <kernel-features.h>.
12874 [__ASSUME_32BITUIDS]: Make code unconditional.
12875 [!__ASSUME_32BITUIDS]: Remove conditional code.
12876 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12877 <kernel-features.h>.
12878 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12879 unconditional.
12880 (__setresgid): Do not declare.
12881 [__ASSUME_32BITUIDS]: Make code unconditional.
12882 [!__ASSUME_32BITUIDS]: Remove conditional code.
12883 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12884 <kernel-features.h>.
12885 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12886 unconditional.
12887 (__setresuid): Do not declare.
12888 [__ASSUME_32BITUIDS]: Make code unconditional.
12889 [!__ASSUME_32BITUIDS]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12891 <kernel-features.h>.
12892 [__ASSUME_32BITUIDS]: Make code unconditional.
12893 [!__ASSUME_32BITUIDS]: Remove conditional code.
12894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12895 <kernel-features.h>.
12896 [__ASSUME_32BITUIDS]: Make code unconditional.
12897 [!__ASSUME_32BITUIDS]: Remove conditional code.
12898
a386f1cc
RH
128992012-05-25 Richard Henderson <rth@twiddle.net>
12900
12901 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12902 dl_hwcap to ifunc resolver.
12903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12904 elf_ifunc_invoke.
12905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12906 dl_hwcap to ifunc resolver.
12907 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12908
b6550497
JM
129092012-05-24 Joseph Myers <joseph@codesourcery.com>
12910
12911 [BZ #14153]
12912 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12913 for |x| <= 2**-26, not 2**-57.
12914 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12915 exception.
12916
b0bc23a1
JL
129172012-05-24 Jeff Law <law@redhat.com>
12918
12919 * stdio-common/Makefile (tests): Add bug25.
12920 * stdio-common/bug25.c: New test.
12921
347c92e9
L
129222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 [BZ #13576]
12925 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12926 multiple of MALLOC_ALIGNMENT in size.
12927 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12928
6bcc8b3f
JM
129292012-05-24 Joseph Myers <joseph@codesourcery.com>
12930
12931 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12932 Require >= 256.
12933 (FILENAME_MAX): Use macro-int-constant.
12934 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12935 (_IOFBF): Use macro-int-constant.
12936 (_IOLBF): Likewise.
12937 (_IONBF): Likewise.
12938 (SEEK_CUR): Likewise.
12939 (SEEK_END): Likewise.
12940 (SEEK_SET): Likewise.
12941 (TMP_MAX): Likewise.
12942 (EOF): Use macro-int-constant. Require < 0.
12943 (NULL): Use macro-constant. Require == 0.
12944 (stdin): Require type to be FILE *.
12945 (stdout): Likewise.
12946 (stderr): Likewise.
12947 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12948 macro-int-constant.
12949 (EXIT_SUCCESS): Likewise.
12950 (NULL): Use macro-constant. Require == 0.
12951 (RAND_MAX): Use macro-int-constant.
12952 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12953 [C99-based standards] (strtof): Require function.
12954 [C99-based standards] (strtold): Likewise.
12955 [C99-based standards] (strtoll): Likewise.
12956 [C99-based standards] (strtoull): Likewise.
12957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12958 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12959 [ISO || ISO99 || ISO11] (math.h): Likewise.
12960 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12961 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12963
d18ea0c5
AS
129642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12965
12966 [BZ #14132]
56d25bb8
AS
12967 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12968 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12969 * intl/dgettext.c (DCGETTEXT): Likewise.
12970 * intl/gettext.c (DCGETTEXT): Likewise.
12971 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12972 * posix/regex_internal.h (gettext): Likewise.
12973 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12974 Remove declaration.
12975 * include/argz.h (__argz_count_internal)
12976 (__argz_stringify_internal): Remove declaration.
12977 (__argz_count, __argz_stringify): Declare hidden proto.
12978 * intl/dcgettext.c: Remove use of INTDEF.
12979 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12980 * string/argz-stringify.c: Likewise.
12981 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12982 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12983 Declare hidden proto.
d18ea0c5
AS
12984 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12985 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12986 Declare hidden proto.
12987 * include/stdio.h (__asprintf_internal): Don't declare.
12988 (__asprintf): Don't define as macro. Declare hidden proto.
12989 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12990 (__fsetlocking): Declare hidden proto.
12991 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12992 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12993 hidden proto.
12994 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12995 (_IO_setlinebuf): Remove use of INTUSE.
12996 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12997 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12998 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12999 Remove declaration.
13000 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13001 (_IO_do_flush): Remove use of INTUSE.
13002 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13003 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13004 (_IO_adjust_column, _IO_least_wmarker)
13005 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13006 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13007 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13008 (_IO_default_doallocate, _IO_wdefault_doallocate)
13009 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13010 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13011 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13012 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13013 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13014 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13015 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13016 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13017 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13018 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13019 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13020 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13021 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13022 proto.
13023 (_IO_flush_all_internal, _IO_adjust_column_internal)
13024 (_IO_default_uflow_internal, _IO_default_finish_internal)
13025 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13026 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13027 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13028 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13029 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13030 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13031 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13032 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13033 (_IO_file_close_internal, _IO_file_close_it_internal)
13034 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13035 (_IO_file_init_internal, _IO_file_attach_internal)
13036 (_IO_file_fopen_internal, _IO_file_read_internal)
13037 (_IO_file_sync_internal, _IO_file_seek_internal)
13038 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13039 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13040 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13041 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13042 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13043 (_IO_list_all_internal, _IO_link_in_internal)
13044 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13045 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13046 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13047 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13048 (_IO_do_write_internal, _IO_padn_internal)
13049 (_IO_getline_info_internal, _IO_getline_internal)
13050 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13051 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13052 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13053 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13054 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13055 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13056 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13057 with libc_hidden_ver, remove use of INTUSE.
13058 * libio/genops.c: Likewise.
13059 * libio/freopen.c: Likewise.
13060 * libio/freopen64.c: Likewise.
13061 * libio/iofclose.c: Likewise.
13062 * libio/iofdopen.c: Likewise.
13063 * libio/iofflush.c: Likewise.
13064 * libio/iofflush_u.c: Likewise.
13065 * libio/iofgets.c: Likewise.
13066 * libio/iofgets_u.c: Likewise.
13067 * libio/iofopen.c: Likewise.
13068 * libio/iofopncook.c: Likewise.
13069 * libio/iofread.c: Likewise.
13070 * libio/iofread_u.c: Likewise.
13071 * libio/ioftell.c: Likewise.
13072 * libio/iofwrite.c: Likewise.
13073 * libio/iogetline.c: Likewise.
13074 * libio/iogets.c: Likewise.
13075 * libio/iogetwline.c: Likewise.
13076 * libio/iopadn.c: Likewise.
13077 * libio/iopopen.c: Likewise.
13078 * libio/ioseekoff.c: Likewise.
13079 * libio/ioseekpos.c: Likewise.
13080 * libio/iosetbuffer.c: Likewise.
13081 * libio/iosetvbuf.c: Likewise.
13082 * libio/ioungetc.c: Likewise.
13083 * libio/ioungetwc.c: Likewise.
13084 * libio/iovdprintf.c: Likewise.
13085 * libio/iovsprintf.c: Likewise.
13086 * libio/iovsscanf.c: Likewise.
13087 * libio/memstream.c: Likewise.
13088 * libio/obprintf.c: Likewise.
13089 * libio/oldfileops.c: Likewise.
13090 * libio/oldiofclose.c: Likewise.
13091 * libio/oldiofdopen.c: Likewise.
13092 * libio/oldiofopen.c: Likewise.
13093 * libio/oldiopopen.c: Likewise.
13094 * libio/oldstdfiles.c: Likewise.
13095 * libio/putc.c: Likewise.
13096 * libio/setbuf.c: Likewise.
13097 * libio/setlinebuf.c: Likewise.
13098 * libio/stdfiles.c: Likewise.
13099 * libio/strops.c: Likewise.
13100 * libio/vasprintf.c: Likewise.
13101 * libio/vscanf.c: Likewise.
13102 * libio/vsnprintf.c: Likewise.
13103 * libio/vswprintf.c: Likewise.
13104 * libio/wfiledoalloc.c: Likewise.
13105 * libio/wfileops.c: Likewise.
13106 * libio/wgenops.c: Likewise.
13107 * libio/wmemstream.c: Likewise.
13108 * libio/wstrops.c: Likewise.
13109 * libio/__fpurge.c: Likewise.
13110 * libio/__fsetlocking.c: Likewise.
13111 * assert/assert.c: Likewise.
13112 * debug/fgets_chk.c: Likewise.
13113 * debug/fgets_u_chk.c: Likewise.
13114 * debug/fread_chk.c: Likewise.
13115 * debug/fread_u_chk.c: Likewise.
13116 * debug/gets_chk.c: Likewise.
13117 * debug/obprintf_chk.c: Likewise.
13118 * debug/vasprintf_chk.c: Likewise.
13119 * debug/vdprintf_chk.c: Likewise.
13120 * debug/vsnprintf_chk.c: Likewise.
13121 * debug/vsprintf_chk.c: Likewise.
13122 * malloc/mtrace.c: Likewise.
13123 * misc/error.c: Likewise.
13124 * misc/syslog.c: Likewise.
13125 * stdio-common/asprintf.c: Likewise.
13126 * stdio-common/fxprintf.c: Likewise.
13127 * stdio-common/getw.c: Likewise.
13128 * stdio-common/isoc99_fscanf.c: Likewise.
13129 * stdio-common/isoc99_scanf.c: Likewise.
13130 * stdio-common/isoc99_vfscanf.c: Likewise.
13131 * stdio-common/isoc99_vscanf.c: Likewise.
13132 * stdio-common/isoc99_vsscanf.c: Likewise.
13133 * stdio-common/printf-prs.c: Likewise.
13134 * stdio-common/printf_fp.c: Likewise.
13135 * stdio-common/printf_fphex.c: Likewise.
13136 * stdio-common/printf_size.c: Likewise.
13137 * stdio-common/putw.c: Likewise.
13138 * stdio-common/scanf.c: Likewise.
13139 * stdio-common/sprintf.c: Likewise.
13140 * stdio-common/tmpfile.c: Likewise.
13141 * stdio-common/vfprintf.c: Likewise.
13142 * stdio-common/vfscanf.c: Likewise.
13143 * stdlib/strfmon_l.c: Likewise.
13144 * sunrpc/openchild.c: Likewise.
13145 * sunrpc/xdr_stdio.c: Likewise.
13146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13147 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13148
d6c33fda
RM
131492012-05-24 Roland McGrath <roland@hack.frob.com>
13150
c1487492
RM
13151 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13152
13153 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13154 in the third column, to generate for the shared library an IFUNC
13155 that uses _dl_vdso_vsym.
13156 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13157 * Makeconfig (object-suffixes-noshared): New variable.
13158
13159 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13160 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13161 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13162 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13163
d6c33fda
RM
13164 [BZ #14132]
13165 * include/sys/time.h (__gettimeofday): Remove macro.
13166 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13167 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13168 Remove INTDEF.
13169 (__gettimeofday): Add libc_hidden_def.
13170 (gettimeofday): Add libc_hidden_weak.
13171 * sysdeps/mach/gettimeofday.c: Likewise.
13172 * sysdeps/posix/gettimeofday.c: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13174 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13176 (__gettimeofday_internal): Remove strong_alias.
13177 (__gettimeofday): Add libc_hidden_def.
13178 (gettimeofday): Add libc_hidden_weak.
13179 * sysdeps/unix/syscalls.list (gettimeofday):
13180 Remove __gettimeofday_internal alias.
13181
b5a2bbe6
L
131822012-05-24 Daniel Jacobowitz <drow@false.org>
13183 H.J. Lu <hongjiu.lu@intel.com>
13184
13185 [BZ #12495]
13186 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13187 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13188 (largebin_index_32_big): New.
13189 (largebin_index): Use it for 16-byte alignment.
13190 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13191 correction with front_misalign.
13192
cfba4fda
L
131932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13194
7f907421
L
13195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13205 Likewise.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13209 Likewise.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13211 Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13213 Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13215 Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13217 Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13219 Likewise.
13220
cfba4fda
L
13221 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13222 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13223
80bad0cc
JM
132242012-05-24 Joseph Myers <joseph@codesourcery.com>
13225
7a25eb06
JM
13226 [BZ #10846]
13227 [BZ #14036]
13228 * math/libm-test.inc (exp_test): Add test from bug 14036.
13229 (pow_test): Add test from bug 10846.
13230
795405f9
JM
13231 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13232 and other flags.
13233 (special_function): Do not include flags in test name.
13234 (parse_args): Likewise.
13235 * sysdeps/i386/fpu/libm-test-ulps: Update.
13236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13240
80bad0cc
JM
13241 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13242 exceptions.
13243 * math/libm-test.inc ("Philosophy"): Update comment about
13244 exception testing.
13245 (UNDERFLOW_EXCEPTION): New macro.
13246 (UNDERFLOW_EXCEPTION_OK): Likewise.
13247 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13248 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13249 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13250 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13251 (INVALID_EXCEPTION_OK): Update value.
13252 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13253 (OVERFLOW_EXCEPTION_OK): Likewise.
13254 (IGNORE_ZERO_INF_SIGN): Likewise.
13255 (test_exceptions): Handle underflow exceptions.
13256 (acos_test): Update for underflow exception expectations.
13257 (cexp_test): Likewise.
13258 (clog_test): Likewise.
13259 (clog10_test): Likewise.
13260 (csqrt_test): Likewise.
13261 (ctan_test): Likewise.
13262 (ctanh_test): Likewise.
13263 (exp_test): Likewise.
13264 (exp10_test): Likewise.
13265 (exp2_test): Likewise.
13266 (expm1_test): Likewise.
13267 (fma_test): Likewise.
13268 (j0_test): Likewise.
13269 (jn_test): Likewise.
13270 (nexttoward_test): Likewise.
13271 (pow_test): Likewise.
13272 (scalbn_test): Likewise.
13273 (scalbln_test): Likewise.
13274 (tan_test): Likewise.
13275 (y1_test): Likewise.
13276 * sysdeps/i386/fpu/libm-test-ulps: Update.
13277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278
9e0e3d0b
DM
132792012-05-23 David S. Miller <davem@davemloft.net>
13280
13281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13282 (__libc_sigaction): Remove unused local variables.
13283
ccd0a08f
L
132842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13285
13286 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13287
62bdf9a6
PE
132882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13289
f8591f80
PE
13290 mktime: avoid signed integer overflow
13291 * time/mktime.c (__mktime_internal): Do not mishandle the case
13292 where diff == INT_MIN.
13293
94c7d826
PE
13294 mktime: simplify computation of average
13295 * time/mktime.c (ranged_convert): Use new time_t_avg function
13296 instead of rolling our own (probably-slower) code.
13297
ce73d683
PE
13298 mktime: do not assume signed right shift propagates sign bit
13299 * time/mktime.c (isdst_differ): New static function.
13300 (__mktime_internal): No need to normalize tm_isdst now.
13301 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13302 tm_isdst values.
13303
72a22e59
PE
13304 mktime: merge another wrapv change from gnulib
13305 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13306 from some compilers.
13307
68605433
PE
13308 mktime: remove incorrect attempt at unusual arithmetics
13309 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13310 The code didn't really work on such machines anyway.
13311 (TYPE_MINIMUM): Assume two's complement.
13312 (twos_complement_arithmetic): Verify that long_int and time_t
13313 are two's complement (or unsigned, in the latter case).
13314
03cf7fe3
PE
13315 mktime: check signed shifts on long_int and time_t, too
13316 * time/mktime.c (SHR): Check that shifts work as desired
13317 on the types long_int and time_t too, as SHR is used on
13318 such types.
13319
f04dfbc2
PE
13320 mktime: do not assume 'long' is wide enough
13321 * time/mktime.c (verify): Move decl up.
13322 (long_int): New type.
13323 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13324 to remove assumption in the code that 'long' is wide enough to
13325 store year values. This assumption is not true on x32 and on
13326 some non-glibc platforms.
13327
62bdf9a6
PE
13328 mktime: merge wrapv change from gnulib
13329 * time/mktime.c (WRAPV): New macro.
13330 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13331 (guess_time_tm, __mktime_internal): Do not assume that signed
13332 integer overflow wraps around; modern compilers generate code
13333 where this assumption is no longer valid.
13334
5e292e4f
L
133352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13338 Replace "jmp L(pseudo_end)" with "ret".
13339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13340 Likewise.
13341
8caf8c87
AJ
133422012-05-23 Andreas Jaeger <aj@suse.de>
13343
13344 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13345 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13346
1a09dc56
AJ
133472012-05-23 Andreas Jaeger <aj@suse.de>
13348 Maximilian Attems <max@stro.at>
13349
13350 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13351 New macros.
13352
1c87aba0
L
133532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13354
13355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13356 code so that pseudo_end is just ret and the stack pointer is
13357 correct also for static library in error case.
13358
40e45bd5
JM
133592012-05-23 Joseph Myers <joseph@codesourcery.com>
13360
c2670533
JM
13361 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13362 move to syscalls.list.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13367
40e45bd5
JM
13368 * manual/install.texi (Running make install): Do not mention Linux
13369 kernel version for which pt_chown is not needed.
13370 (Linux): Do not mention problems with nscd with 2.0 kernels.
13371 * INSTALL: Regenerated.
13372
be08eda5
AJ
133732012-05-23 Andreas Jaeger <aj@suse.de>
13374
13375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13376 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13377 macro.
13378 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13380 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13382 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13388 * sysdeps/unix/sysv/linux/bits/in.h
13389 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13390
a6a056bb
RM
133912012-05-22 Roland McGrath <roland@hack.frob.com>
13392
13393 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13394 (PREPARE_VERSION): Just use assert instead, it will be elided
13395 under [NDEBUG] anyway.
13396
c9009328
L
133972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/unix/sysv/linux/Makefile: Include
13400 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13401 (sysdep_routines): Remove sysctl.
c9009328
L
13402 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13403 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13406 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13407
73338355
AJ
134082012-05-22 Andreas Jaeger <aj@suse.de>
13409
13410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13411 that pseudo_end is just ret and the stack pointer is correct also
13412 for static library in error case.
13413
d44638b0
PP
134142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13415
13416 [BZ #14122]
13417 * nss/nsswitch.c (defconfig_entries): New variable.
13418 (__nss_database_lookup): Don't leak defconfig entries.
13419 (nss_parse_service_list): Don't leak on error paths.
13420 (free_database_entries): New function.
13421 (free_defconfig): New function.
13422 (free_mem): Move common code to free_database_entries.
13423
31a39bd8
L
134242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13425
da0331a8
L
13426 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13427 Add arch_prctl.
13428 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13429
31a39bd8
L
13430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13431 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13433 New macro.
13434 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13435 (INTERNAL_SYSCALL_TYPES): Likewise.
13436 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13437 (LOAD_REGS_TYPES_[1-6]): Likewise.
13438 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13439 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13440
45470df3
AZ
134412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13442
13443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13444 copysignl for GLIBC_2_0.
13445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13446 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13448 logbl for GLIBC_2_0.
13449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13450 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13451
98a61bcb
L
134522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13453
a4f6e481
L
13454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13455 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13456
f63d5db6
L
13457 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13458 Use "neg %eax".
13459
98a61bcb
L
13460 * time/mktime.c: Update copyright years.
13461
95770f14
PE
134622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13463
6226efbd
PE
13464 mktime: merge comment-quoting-style change from gnulib
13465 * time/mktime.c: Quote 'like this' in comments.
13466 The GNU coding standards suggest that we no longer quote `like this',
13467 as "`" and "'" are typically rendered asymmetrically nowadays.
13468 The typical gnulib style is to quote 'like this' when quoting
13469 code, and "like this" when quoting English.
13470
b99e4f78
PE
13471 * time/mktime.c (compile-command): Add "-I.".
13472
643e01e6
PE
13473 mktime: merge mktime-internal.h change from gnulib
13474 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13475
2554247d
PE
13476 mktime: merge time_r change from gnulib
13477 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13478
826dd0ab
PE
13479 mktime: merge DEBUG change from gnulib
13480 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13481 case system <time.h> has a #define.
13482
bd83aabe
PE
13483 mktime: merge <sys/types.h> change from gnulib
13484 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13485 since <time.t> is now guaranteed to define time_t.
13486
95770f14
PE
13487 mktime: merge HAVE_CONFIG_H change from gnulib
13488 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13489
5e1a27a9
L
134902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13491
0e44a77e
L
13492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13493 Use "neg %eax".
13494
5e1a27a9
L
13495 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13496 __rlim_t cast.
13497 (struct rusage): Use anonymous union to pad each field to
13498 __syscall_slong_t.
13499
46259bec
DM
135002012-05-21 David S. Miller <davem@davemloft.net>
13501
13502 * Makefules (o-iterator): Remove .s cases.
13503 (compile-command.s): Delete.
13504 (COMPILE.s): Delete.
13505 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13506
59f0c22e
JM
135072012-05-21 Joseph Myers <joseph@codesourcery.com>
13508
13509 * configure.in (libc_cv_predef_stack_protector): Only consider
13510 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13511 * configure: Regenerated.
13512
20c07380
L
135132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13514
bbb3154b
L
13515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13516 New macro. Use R*LP on int and pointer.
13517 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13518 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13519 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13520 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13521
20c07380
L
13522 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13523 [__WORDSIZE_TIME64_COMPAT32] instead of
13524 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13525 (struct utmp): Likewise.
13526 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13527 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13528 Renamed to ...
13529 (__WORDSIZE_TIME64_COMPAT32): This.
13530 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13531 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13532 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13533 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13535 (__WORDSIZE_TIME64_COMPAT32): New macro.
13536
d8d1017e
AJ
135372012-05-21 Andreas Jaeger <aj@suse.de>
13538
13539 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13540 only if [SHARED]. Add prototype for __wcschr_ia32.
13541
6c7fb145
RM
135422012-05-21 Roland McGrath <roland@hack.frob.com>
13543
13544 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13545 of %rbp unmolested in the jmp_buf while mangling the low bits.
13546 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13547 unmolested high bits of %rbp while demangling the low bits.
13548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13549
66274218
AJ
135502012-05-21 Andreas Jaeger <aj@suse.de>
13551
07c58f8f
AJ
13552 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13553 * sunrpc/svc_simple.c: Use it for registerrpc.
13554 * sunrpc/xcrypt.c: Use it for passwd2des.
13555
66274218
AJ
13556 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13557
61f65140
L
135582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13559
13560 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13561 Don't define if [__SYSCALL_WORDSIZE != 32].
13562 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13563 New macro.
13564
5fefb436
AJ
135652012-05-21 Bruno Haible <bruno@clisp.org>
13566 Andreas Jaeger <aj@suse.de>
13567
13568 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13569 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13570 inptr and inend for must_buffer_ch.
13571 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13572 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13573 * stdio-common/Makefile (tests): Remove bug15.
13574 (bug15-ENV): Remove macro.
13575 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13576 anymore.
13577
d8e272ab
AJ
135782012-05-19 Andreas Jaeger <aj@suse.de>
13579 Roland McGrath <roland@hack.frob.com>
13580
13581 * manual/contrib.texi: Completely rewritten. It contains now an
13582 alphabetical list of contributors and their contributions.
13583
4a56a162
RH
135842012-05-21 Richard Henderson <rth@twiddle.net>
13585
13586 * misc/getauxval.c (__getauxval): Use unsigned long int.
13587 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13588 (getauxval): Use unsigned long int.
13589
d024d23c
L
135902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13591
13592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13593
cbc00a03
RM
135942012-05-21 Roland McGrath <roland@hack.frob.com>
13595
13596 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13597 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13598 __alignof__ (long double).
13599
478143fa
AZ
136002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13601
13602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13603
c7683a6d
RH
136042012-05-20 Richard Henderson <rth@twiddle.net>
13605
13606 * misc/getauxval.c: New file.
13607 * misc/sys/auxv.h: New file.
13608 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13609 (routines): Add getauxval.
13610 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13611 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13612 * elf/dl-sysdep.c (_dl_auxv): Remove.
13613 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13614 * elf/dl-support.c (_dl_auxv): New variable.
13615 (_dl_aux_init): Initialize it.
13616 * manual/startup.texi (Auxiliary Vector): New node.
13617 * sysdeps/generic/bits/hwcap.h: New file.
13618 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13619 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13620 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13621 * sysdeps/sparc/sysdep.h: ... here. Include it.
13622 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13625 Update.
c7683a6d
RH
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13634
a6f1845d
AZ
136352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13636
13637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13638
cbcbe830
DM
136392012-05-19 David S. Miller <davem@davemloft.net>
13640
13641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13642
e0b16cc2
JM
136432012-05-19 Joseph Myers <joseph@codesourcery.com>
13644
13645 [BZ #14123]
13646 * math/s_ccosh.c: Include <float.h>
13647 (__ccosh): Avoid internal overflow calculating sinh and cosh
13648 values before multiplying by sin and cos values.
13649 * math/s_ccoshf.c: Likewise.
13650 * math/s_ccoshl.c: Likewise.
13651 * math/s_csin.c: Likewise.
13652 * math/s_csinf.c: Likewise.
13653 * math/s_csinl.c: Likewise.
13654 * math/s_csinh.c: Likewise.
13655 * math/s_csinhf.c: Likewise.
13656 * math/s_csinhl.c: Likewise.
13657 * math/libm-test.inc (ccos_test): Add more tests.
13658 (ccosh_test): Likewise.
13659 (csin_test): Likewise.
13660 (csinh_test): Likewise.
13661 * sysdeps/i386/fpu/libm-test-ulps: Update.
13662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13663
6ad13e08
L
136642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13665
f66f0ce8
L
13666 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13667 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13668
6ad13e08
L
13669 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13670
b1d072a7
JM
136712012-05-19 Joseph Myers <joseph@codesourcery.com>
13672
13673 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13674 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13675 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13676 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13677 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13678 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13679 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13680 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13681 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13682 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13683 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13684 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13685 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13686 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13687 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13688 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13689 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13690 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13691 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13692 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13693 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13694 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13695 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13696 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13697 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13698 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13699 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13700 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13701 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13702 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13703 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13704
9eae47cb
AJ
137052012-05-18 Andreas Jaeger <aj@suse.de>
13706
13707 * csu/.gitignore: Delete.
13708
bb07f69f
L
137092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13710
13711 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13712 (timex): Use __syscall_slong_t.
13713
e6bdb741
AJ
137142012-05-18 Andreas Jaeger <aj@suse.de>
13715 Carlos O'Donell <carlos_odonell@mentor.com>
13716
13717 * manual/install.texi (Configuring and compiling): Update
13718 description about files modified in the source directory.
d6c33fda 13719 * INSTALL: Regenerated.
e6bdb741 13720
1b74487e
L
137212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13722
13723 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13724 value. Use "or" to set return value to -1.
13725 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13726 negate return value.
13727
a88b64b9
TMQMF
137282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13729
13730 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13731 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13732 failure if the compiler has Graphite support disabled.
13733 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13734 Likewise.
13735 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13736 CFLAGS-memmove.c): Likewise.
13737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13738 Likewise.
13739
3707636e
L
137402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13741
610b8622
L
13742 * sysdeps/x86_64/x32/_itoa.h: New file.
13743
7cd195df
L
13744 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13745 getdents system call only if kernel and user dirents have the
13746 same d_ino and d_off.
13747
94b07d20
L
13748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13749 LLONG_MAX != LONG_MAX.
13750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13751 (_fitoa_word): Likewise.
13752
18298070
L
13753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13754 years.
13755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13758
553c7ea4
L
13759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13760 include <bits/wordsize.h>. Check __x86_64__ instead of
13761 __WORDSIZE.
13762 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13763 if __x86_64__ is defined. Use anonymous union on fpstate.
13764
3707636e
L
13765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13766 anonymous union.
13767
b53ef01a
AS
137682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13769
37fb1dc0
AS
13770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13771 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13773 Refer to _rtld_local_ro instead of _rtld_global_ro.
13774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13775 Likewise.
13776 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13777 Likewise.
13778 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13779 Likewise.
13780 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13781 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13782 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13783
b53ef01a
AS
13784 * sysdeps/powerpc/powerpc32/dl-machine.c
13785 (__elf_machine_runtime_setup) [PROF]: Don't reference
13786 _dl_prof_resolve.
13787
7a185db2
AJ
137882012-05-18 Andreas Jaeger <aj@suse.de>
13789
13790 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13791 function only available for GCCs before 3.4 since GCC 3.4
13792 introduced a builtin.
13793 (lrint): Likewise.
13794 (llrintf): Likewise.
13795 (llrint): Likewise.
13796 (fmaxf): Likewise.
13797 (fmax): Likewise.
13798 (fminf): Likewise.
13799 (fmin): Likewise.
13800 (rint): Likewise.
13801 (rintf): Likewise.
13802 (nearbyint): Likewise.
13803 (nearbyintf): Likewise.
13804 (ceil): Likewise.
13805 (ceilf): Likewise.
13806 (floor): Likewise.
13807 (floorf): Likewise.
13808
3e5aef87
L
138092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13810
428bd707
L
13811 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13812 on both fields and cast pointer to __syscall_ulong_t.
13813
3e5aef87
L
13814 * bits/types.h (__fsword_t): New type.
13815 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13816 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13818 (__FSWORD_T_TYPE): Likewise.
13819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13820 (__FSWORD_T_TYPE): Likewise.
13821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13822 (__FSWORD_T_TYPE): Likewise.
13823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13824 (__FSWORD_T_TYPE): Likewise.
13825 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13826 __SWORD_TYPE with __fsword_t.
13827 (statfs64): Likewise.
13828
1ba7c3dc
DM
138292012-05-17 David S. Miller <davem@davemloft.net>
13830
13831 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13832
59910343
AJ
138332012-05-17 Andreas Jaeger <aj@suse.de>
13834
13835 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13836 warning.
13837
2e4c1e9e
L
138382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13841
de7f5ce7
AJ
138422012-05-17 Andreas Jaeger <aj@suse.de>
13843
13844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13845 when it is used.
13846
286abc3d
CM
138472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13848
13849 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13850
477cc68e
L
138512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13854 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13855
1a0994f5
CD
138562012-05-17 Andreas Jaeger <aj@suse.de>
13857 Carlos O'Donell <carlos_odonell@mentor.com>
13858
13859 [BZ #14059]
13860 * sysdeps/x86_64/multiarch/init-arch.h
13861 (bit_YMM_Usable): Rename to...
13862 (bit_AVX_Usable): ... this.
13863 (bit_FMA4_Usable): New macro.
13864 (bit_XMM_state): New macro.
13865 (bit_YMM_state): New macro.
13866 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13867 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13868 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13869 (CPUID_OSXSAVE): New macro.
13870 (CPUID_AVX): New macro.
13871 (CPUID_FMA4): New macro.
13872 (index_YMM_Usable): Rename to...
13873 (index_AVX_Usable): ... this.
13874 (HAS_AVX): Use HAS_ARCH_FEATURE.
13875 (HAS_FMA4): Likewise.
13876 (HAS_YMM_USABLE): Remove.
13877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13878 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13879 are present.
13880 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13881 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13882 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13883 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13884 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13885
0af797de
CM
138862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13887
13888 * math/libm-test.c: Support platforms without multiple rounding modes.
13889 * math/bug-nextafter.c: Support platforms without FP exceptions.
13890 * math/bug-nexttoward.c: Likewise.
13891 * math/test-fenv.c: Likewise.
13892 * math/test-misc.c: Likewise.
13893 * stdlib/bug-getcontext.c: Likewise.
13894
e39745ff
AJ
138952012-05-17 Andreas Jaeger <aj@suse.de>
13896
13897 * manual/examples/search.c (critter_cmp): Change signature to
13898 avoid warnings.
13899 * manual/string.texi (Collation Functions): Likewise.
13900
48970aba
L
139012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13902
13903 * bits/types.h: Fold copyright years.
13904 * bits/typesizes.h: Likewise.
13905 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13909 * time/time.h: Likewise.
13910
bedee953
PP
139112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13912
13913 [BZ #208]
13914 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13915 in instead of returning them. Return void.
13916 (__libc_mallinfo): Accumulate over all arenas.
13917 (__malloc_stats): Adjust for change in int_mallinfo interface.
13918
61653dfb
RM
139192012-05-16 Roland McGrath <roland@hack.frob.com>
13920
30b99d79
RM
13921 [BZ #10375]
13922 * configure.in (NM): Add AC_CHECK_TOOL for it.
13923 (libc_extra_cflags): New substituted variable.
13924 Check for -fstack-protector being used implicitly.
13925 * configure: Regenerated.
13926 * config.make.in (config-extra-cflags): New variable,
13927 gets @libc_extra_cflags@.
13928 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13929
61653dfb
RM
13930 [BZ #10375]
13931 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13932 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13933 * configure: Regenerated.
13934 * config.make.in (CPPUNDEFS): New substituted variable.
13935 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13936 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13937 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13938
661768bb
L
139392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13942 (mq_attr): Use __syscall_slong_t.
13943
d4261567
L
139442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13947 Check __x86_64__ instead of __WORDSIZE.
13948 (_STAT_VER_LINUX): Likewise.
13949 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13950 __syscall_ulong_t and __syscall_slong_t.
13951 (stat64): Likewise.
13952
cf3ff365
L
139532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13956
76cf3e4d
L
139572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13958
13959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13960
a637753a
L
139612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13962
13963 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13964 __syscall_ulong_t.
13965
d5e05119
L
13966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13967 include <bits/wordsize.h>. Check __x86_64__ instead of
13968 __WORDSIZE.
13969 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13970 defined.
13971 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13972
f62ee380
L
13973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13974 include <bits/wordsize.h>. Check __x86_64__ instead of
13975 __WORDSIZE.
13976 (user_regs_struct): Use "__extension__ unsigned long long"
13977 instead of "unsigned long" if __x86_64__ is defined.
13978 (user): Likewise. Pad after pointer field if __ILP32__ is
13979 defined.
13980
4e124ced
JM
139812012-05-16 Joseph Myers <joseph@codesourcery.com>
13982
6a3951a0
JM
13983 * configure.in (makeinfo): Require version 4.5 or later. Allow
13984 versions 5 to 9.
13985 * configure: Regenerated.
13986 * manual/install.texi (texinfo): Increase version requirement to
13987 4.5 or later.
13988 * INSTALL: Regenerated.
13989
4e124ced
JM
13990 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13991
953ca31a
L
139922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13993
13994 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13995
617aca05
L
13996 * sysdeps/x86_64/x32/ffs.c: New file.
13997
5762f7ae
L
13998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13999 __syscall_ulong_t.
14000 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14001 defined. Use __syscall_ulong_t.
14002 (shminfo): Use __syscall_ulong_t.
14003 (shm_info): Likewise.
14004
a26b6856
L
14005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14006 __syscall_ulong_t.
14007
cb2b9ef7
L
14008 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14009 <bits/wordsize.h>.
14010 (msgqnum_t): Use __syscall_ulong_t.
14011 (msglen_t): Likewise.
14012 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14013 __syscall_ulong_t.
14014
34683bb0
L
14015 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14017
84a68786
L
14018 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14019
48baa5f1
L
14020 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14021 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14022
180be88b
L
14023 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14024 __syscall_slong_t.
14025
5e90c8ad
L
14026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14027 include <bits/wordsize.h>. Check __x86_64__ instead of
14028 __WORDSIZE.
14029
23dfb58b
L
14030 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14031 "unsigned long long int" if __x86_64__ is defined.
14032 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14033
ce5d54b0
L
14034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14036 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14037
13dc9eac
L
14038 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14039 <stdint.h>.
14040 (GET_PC): Cast to uintptr_t first.
14041 (GET_FRAME): Likewise.
14042 (GET_STACK): Likewise.
14043
a7895d15
L
14044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14059 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14065 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14069 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14073
656416c9
AS
140742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14075
5bd66283
AS
14076 * Makerules (+depfiles): Also collect depfiles from .oS in
14077 $(extra-objs).
14078 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14079 .oS, $(libnldbl-routines)).
14080
656416c9
AS
14081 * Makerules (native-compile-mkdep-flags): Define.
14082 * sunrpc/Makefile (extra-objs): Add $(addprefix
14083 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14084 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14085 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14086 calling $(make-target-directory).
14087
a46f2169
L
140882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14089
14090 * bits/types.h (__snseconds_t): Removed.
14091 * time/time.h (struct timespec): Replace __snseconds_t with
14092 __syscall_slong_t.
14093 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14094 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14095 Likewise.
14096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14097 (__SNSECONDS_T_TYPE): Likewise.
14098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14099 (__SNSECONDS_T_TYPE): Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14101 (__SNSECONDS_T_TYPE): Likewise.
14102
6af6528b
L
141032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14104
14105 * sysdeps/mach/hurd/bits/typesizes.h
14106 (__SYSCALL_SLONG_TYPE): New macro.
14107 (__SYSCALL_ULONG_TYPE): Likewise.
14108
de986b56
L
141092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14110
14111 * bits/types.h (__syscall_slong_t): New type.
14112 (__syscall_ulong_t): Likewise.
14113
14114 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14115 (__SYSCALL_ULONG_TYPE): Likewise.
14116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14117 (__SYSCALL_SLONG_TYPE): Likewise.
14118 (__SYSCALL_ULONG_TYPE): Likewise.
14119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14120 (__SYSCALL_SLONG_TYPE): Likewise.
14121 (__SYSCALL_ULONG_TYPE): Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14123 (__SYSCALL_SLONG_TYPE): Likewise.
14124 (__SYSCALL_ULONG_TYPE): Likewise.
14125
85736dc7
L
141262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14129 Add sigaltstack-offsets.sym.
14130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14131 <sigaltstack-offsets.h>.
14132 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14133 longjmp_msg pointer.
14134 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14135 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14136 signal stack.
14137 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14138
cc03b296
JM
141392012-05-15 Joseph Myers <joseph@codesourcery.com>
14140
a9538892
JM
14141 * elf/stackguard-macros.h: Remove file.
14142 * sysdeps/generic/stackguard-macros.h: New file.
14143 * sysdeps/i386/stackguard-macros.h: Likewise.
14144 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14145 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14146 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14147 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14148 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14149 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14150 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14151 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14152 <elf/stackguard-macros.h>.
14153
cc03b296
JM
14154 [BZ #14109]
14155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14156 __aligned__ in attribute.
14157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14158 (gregset_t): Likewise.
14159
93171016
L
141602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14161
14162 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14163 * sysdeps/x86_64/64/Implies-after: Here. New file.
14164 * sysdeps/x86_64/x32/Implies-after: New file.
14165
d86813a0
L
141662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14167
14168 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14169 and access return value for _dl_profile_fixup. Use R10_LP to
14170 load frame size.
14171
2953ec75
L
141722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14173
14174 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14175
3b550e9e
L
141762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14177
14178 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14179 * sysdeps/x86_64/x32/sysdep.h: New file.
14180
eda41706
L
141812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14184 * sysdeps/x86_64/setjmp.S: Likewise.
14185
9ea01d93
AZ
141862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14187
14188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14189 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14190 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14192 remove unused global constant.
14193
02a91938
CM
141942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14195
14196 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14197 include of <not-cancel.h>.
14198
6540185f
RM
141992012-05-15 Roland McGrath <roland@hack.frob.com>
14200
14201 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14202
509072a0
AJ
142032012-05-15 Jeff Law <law@redhat.com>
14204 Andreas Jaeger <aj@suse.de>
14205
14206 [BZ #13594]
14207 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14208 out from...
14209 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14210 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14212 code changing __hst_map_handle.map.
14213
ba75122d
RM
142142012-05-15 Roland McGrath <roland@hack.frob.com>
14215
14216 * configure.in (sysnames): Look for Implies-before and Implies-after
14217 files.
14218 * configure: Regenerated.
14219
890d8bd8
L
142202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14223 8-byte data alignment with LP_SIZE alignment.
14224
f6ee6623
L
142252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14228 into R10_LP.
14229
ea2626f6
L
142302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14233
085f715e
L
142342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14239 Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14241
be8498fc
L
142422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14243
14244 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14245 (stackinfo_sub_sp): Likewise.
14246
70bc83b9
L
142472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14250 RAX_LP.
14251
9bc0b730
L
142522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14255 into R*_LP.
14256
6d2850e7
L
142572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14258
14259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14260 sizes into R*_LP.
14261
3cb84561
L
142622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14263
14264 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14265
54e2ed81
L
142662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14267
14268 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14269 into R11_LP and load __x86_64_shared_cache_size_half into
14270 R8_LP.
14271
8a17f349
L
142722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14273
14274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14275 R8_LP.
14276
777b1eea
AZ
142772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14278
14279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14280 logb for POWER7.
14281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14282 logbf for POWER7.
14283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14284 logbl for POWER7.
14285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14286 powerpc32/power7/fpu/s_logb.c via #include.
14287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14288 powerpc32/power7/fpu/s_logbf.c via #include.
14289 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14290 powerpc32/power7/fpu/s_logbl.c via #include.
14291
d20d4ac2
JM
142922012-05-15 Joseph Myers <joseph@codesourcery.com>
14293
14294 * README.libm: Remove file.
14295
6cdef1ab
L
142962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14297
14298 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14299 count for x32. Use R*_LP and omit operand-size suffix.
14300
0b254d8f
L
143012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14304 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14305 * sysdeps/x86_64/x32/shlib-versions: New file.
14306
ceb809dc
RM
143072012-05-14 Roland McGrath <roland@hack.frob.com>
14308
14309 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14310 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14311 Use _dl_fatal_printf instead.
14312
37f1abd4
JM
143132012-05-14 Joseph Myers <joseph@codesourcery.com>
14314
14315 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14316 set if not set by the user. Do not allow for being unset.
14317 * sysdeps/unix/sysv/linux/configure: Regenerated.
14318
11de3a33
L
143192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14322 the `q' suffix from lea and replace .quad with ASM_ADDR.
14323
e02f153a
L
143242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14325
14326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14327 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14328 instead of $17.
14329 (PTR_DEMANGLE): Likewise.
14330
520ae0fd
L
143312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14334 (LP_OP): Likewise.
14335 (ASM_ADDR): Likewise.
14336 (RAX_LP): Likewise.
14337 (RBP_LP): Likewise.
14338 (RBX_LP): Likewise.
14339 (RCX_LP): Likewise.
14340 (RDI_LP): Likewise.
14341 (RSI_LP): Likewise.
14342 (RSP_LP): Likewise.
14343 (R8_LP): Likewise.
14344 (R9_LP): Likewise.
14345 (R10_LP): Likewise.
14346 (R10_LP): Likewise.
14347 (R11_LP): Likewise.
14348 (R12_LP): Likewise.
14349 (R13_LP): Likewise.
14350 (R14_LP): Likewise.
14351 (R15_LP): Likewise.
14352
b985be81
L
143532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * sysdeps/x86_64/x32/dl-machine.h: New file.
14356
6a4888ff
AJ
143572012-05-14 Andreas Jaeger <aj@suse.de>
14358
14359 * manual/Makefile (subdir): Remove export of subdir.
14360 (all): Remove target.
14361 (.PHONY): Remove all from list.
14362 (mkinstalldirs): Remove.
14363 (.PHONY): Remove installdirs from list.
14364 ($(inst_infodir)/libc.info): Use make-target-directory.
14365 (installdirs): Remove.
14366 (subdir_%): Remove.
14367 (glibc-targets): Remove.
14368 (lib): Remove.
14369 (stubs): Remove.
14370 ($(objpfx)stubs ../po/manual.pot): Remove.
14371 ($(objpfx)stamp%): Remove.
14372 (make-target-directory): Remove.
14373 (subdir_install): Remove.
14374 (routines): Remove.
14375 (aux): Remove.
14376 (sources): Remove.
14377 (objects): Remove.
14378 (headers): Remove.
14379
14380 [BZ #13750]
14381 * manual/.gitignore: Remove, it's not needed anymore.
14382 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14383 all files in it.
14384 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14385 directory.
14386 (texis): Renamed to $(objpfx)texis.
14387 (texis-path): New, contains path to generated files.
14388 (chapters.%): Use texis-path for complete path, add extra argument
14389 libc-texinfo.sh.
14390 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14391 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14392 (summary,texi, stamp-summary): Use complete path of
14393 files. Generate files in build dir.
14394 (dir-add.texi): Build in build dir.
14395 (libm-err.texi,stamp-libm-err): Likewise.
14396 (version.texi, stamp-version): Likewise.
14397 (.%c.texi): Likewise.
14398 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14399 (mostlyclean): Remove target.
14400 (realclean): Remove target.
14401 (generated): Add new variable with contents from mostlyclean and
14402 realclean, remove entries duplicated in common-mostlyclean, add
14403 stamp-libm-err and stamp-version.
14404 (generated-dirs): Add libc directory.
14405 ($(inst_infodir)/libc.info): Install files from build dir.
14406
14407 * manual/install.texi (Configuring and compiling): Adjust since
14408 the info files are not part of the tar ball anymore.
14409
7ac77294
AJ
144102012-05-14 Andreas Jaeger <aj@suse.de>
14411
14412 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14413 variable.
14414
ffb7875d
JM
144152012-05-14 Joseph Myers <joseph@codesourcery.com>
14416
14417 [BZ #13717]
14418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14419 to 2.2.0 where earlier.
14420 * sysdeps/unix/sysv/linux/configure: Regenerated.
14421 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14422 Remove conditional code.
14423 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14424 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14425 Remove conditional code.
14426 [!__NR_lchown]: Likewise.
14427 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14428 [__NR_lchown]: Likewise.
14429 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14430 comment referencing __ASSUME_LCHOWN_SYSCALL.
14431 * sysdeps/unix/sysv/linux/i386/sigaction.c
14432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14434 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14435 Remove conditional code.
14436 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14437 (__protocol_available): Remove #if 0 code.
14438 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14439 conditional code.
14440 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14441 * sysdeps/unix/sysv/linux/kernel-features.h
14442 (__ASSUME_GETCWD_SYSCALL): Don't define.
14443 (__ASSUME_REALTIME_SIGNALS): Likewise.
14444 (__ASSUME_PREAD_SYSCALL): Likewise.
14445 (__ASSUME_PWRITE_SYSCALL): Likewise.
14446 (__ASSUME_POLL_SYSCALL): Likewise.
14447 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14448 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14449 non-SPARC.
14450 (__ASSUME_SIOCGIFNAME): Don't define.
14451 (__ASSUME_MSG_NOSIGNAL): Likewise.
14452 (__ASSUME_SENDFILE): Define unconditionally.
14453 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14454 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14455 conditional code.
14456 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14457 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14458 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14459 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14461 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14462 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14487 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14488 Remove conditional code.
14489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14490 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14491 Remove conditional code.
14492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14493 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14494 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14495 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14496 Remove conditional code.
14497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14498 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14499 Remove conditional code.
14500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14501 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14502 Remove conditional code.
14503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14504 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14505 Remove conditional code.
14506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14507 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14508 Remove conditional code.
14509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14510 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14513 * sysdeps/unix/sysv/linux/sigaction.c
14514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14516 * sysdeps/unix/sysv/linux/sigpending.c
14517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14519 * sysdeps/unix/sysv/linux/sigprocmask.c
14520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14522 * sysdeps/unix/sysv/linux/sigsuspend.c
14523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14526 (__libc_missing_rt_sigs): Remove.
14527 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14528 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14529 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14530 Remove conditional code.
14531 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14532 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14533 return 1.
14534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14537 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14538
1bfb7291
AJ
145392012-05-14 Andreas Jaeger <aj@suse.de>
14540
caae5a81
AJ
14541 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14542 it's not used in glibc.
14543 (__coshm1): Likewise.
14544 (__acosh1p): Likewise.
14545 (__sgn): Likewise.
14546
1bfb7291
AJ
14547 * manual/string.texi (Copying and Concatenation): Add missing
14548 variable in concat example.
14549 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14550
c044d724
L
145512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14552
144c5467 14553 [BZ #14103]
c044d724
L
14554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14555 __builtin_clzl with __builtin_clzll.
14556
2523c62b
L
145572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14558
14559 [BZ #14104]
14560 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14561 libc_freeres_ptr.
14562
d7bb4c42
LD
145632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14564
14565 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14566 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14567 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14569
9dc4e1fb
MF
145702012-05-14 Mike Frysinger <vapier@gentoo.org>
14571
14572 * NEWS: Update ia64 info.
14573
c7df0112
AS
145742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14575
14576 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14577 used as bcopy.
14578
dc70356c
TS
145792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14580
14581 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14582 * sysdeps/unix/syscalls.list (dup3): Likewise.
14583 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14584 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14585
9fb1a21f
L
145862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14587
14588 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14589 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14590
4822a2a5
L
145912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14592
14593 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14594 thread pointer.
14595 (TLS_IE): Use mov/add instead of movq/addq to load thread
14596 pointer.
14597 (TLS_GD_PREFIX): New.
14598 (TLS_GD): Use it.
14599
842b81d6
DM
146002012-05-11 David S. Miller <davem@davemloft.net>
14601
14602 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14603 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14604 (_FPU_SETCW): Likewise.
14605
1cf463cd
L
146062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14607
14608 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14609 is 32-byte aligned.
14610
60cc4a18
AS
146112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14612
14613 [BZ #11837]
14614 * iconvdata/gb18030.c: Update tables.
14615 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14616 characters specially.
14617 (BODY for TO_LOOP): Add encoding of missing ranges.
14618
febb44a4
TS
146192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14620
14621 [BZ #13673]
14622 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14623 * sysdeps/mach/hurd/dup3.c: Likewise.
14624 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14625 * sysdeps/powerpc/memmove.c:: Likewise.
14626
0a10fb9e
L
146272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14630 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14631
df8a552f
L
146322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14633
14634 * elf/elf.h (R_X86_64_RELATIVE64): New.
14635 (R_X86_64_NUM): Updated.
14636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14637 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14638 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14639 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14640 tst-quad1pie tst-quad2pie
14641 (modules-names): Add tst-quadmod1 tst-quadmod2.
14642 ($(objpfx)tst-quad1): New dependency.
14643 ($(objpfx)tst-quad2): Likewise.
14644 ($(objpfx)tst-quad1pie): Likewise.
14645 ($(objpfx)tst-quad2pie): Likewise.
14646 * sysdeps/x86_64/tst-quad1.c: New file.
14647 * sysdeps/x86_64/tst-quad1pie.c: New file.
14648 * sysdeps/x86_64/tst-quad2.c: Likewise.
14649 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14650 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14651 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14652 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14653 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14654
f34d6f84
ST
146552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14656
f42d41d1
ST
14657 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14658 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14659 * streams/stropts.h (t_scalar_t): Define type.
14660
3c3571fc
ST
14661 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14662 (_PATH_PRESERVE): Set to "/var/lib".
14663 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14664
61f06bd3
ST
14665 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14666 instead of int.
14667
918d4d71
ST
14668 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14669 if __dir_mkfile succeeded.
14670
f34d6f84
ST
14671 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14672 checking for _hurd_dtablesize. Unlock it right after having
14673 finished _hurd_dtable allocation.
14674
10589b4a
TS
146752012-05-10 Thomas Schwinge <thomas@schwinge.name>
14676
674cdbc7
TS
14677 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14678 * sysdeps/mach/hurd/configure: Regenerated.
14679 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14680 special-casing to...
14681 * sysdeps/gnu/configure.in: ... this new file.
14682 * sysdeps/unix/sysv/linux/configure: Regenerated.
14683 * sysdeps/gnu/configure: New generated file.
14684
8e41b99f
TS
14685 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14686 for Linux: use nsec instead of usec, as well as:
14687 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14688 members of type struct timespec.
14689 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14690 New macros.
14691 (struct stat64): Likewise.
14692 (_STATBUF_ST_NSEC): New macro.
14693 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14694
10589b4a
TS
14695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14696 __strtoul_internal rather than strtoul.
14697
63643c85
PT
146982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14699
14700 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14701 and reject them.
14702
3faebe6a
ST
147032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14704
14705 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14706 which preserves existing values.
14707 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14708
c6474b07
PT
147092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14710
14711 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14712 TIMEOUT values. Return EINVAL for NFDS values either negative or
14713 greater than FD_SETSIZE.
14714
1043890b
ST
147152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14716
14717 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14718 allocated, call __vm_protect to finish enabling the existing space, and
14719 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14720 allocate the remainder.
14721
37ed8b9b
PT
147222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14723
14724 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14725 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14726
db653660
ST
147272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14728
37ed8b9b
PT
14729 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14730 sysdeps/mach/hurd/readlink.c.
b29d4053 14731
db653660
ST
14732 * posix/tst-sysconf.c (posix_options): Only use
14733 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14734 _POSIX_SYNCHRONIZED_IO when they are defined
14735 * sysdeps/mach/hurd/bits/posix_opt.h:
14736 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14737 (_XOPEN_REALTIME): Undefine macro.
14738 (_XOPEN_REALTIME_THREADS): Undefine macro.
14739 (_XOPEN_SHM): Undefine macro.
14740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14741 macro to -1.
14742 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14743 macro to -1.
14744 (_POSIX_ASYNC_IO): Undefine macro.
14745 (_POSIX_PRIORITIZED_IO): Undefine macro.
14746 (_POSIX_SPIN_LOCKS): Define macro to -1.
14747
ee16e894
ST
14748 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14749 SA_NODEFER, SA_RESETHAND.
14750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14751 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14752 F_DUPFD_CLOEXEC.
14753
6103ae3b
TS
147542012-05-10 Thomas Schwinge <thomas@schwinge.name>
14755
14756 * elf/Makefile (pldd-modules): Define unconditionally.
14757
80b4e5f3
TS
147582012-05-10 Thomas Schwinge <thomas@schwinge.name>
14759
14760 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14761
edadcbd6
ST
147622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14763
14764 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14765 Return ENOENT when name is empty.
14766 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14767
80694780
TS
147682012-05-10 Thomas Schwinge <thomas@schwinge.name>
14769
1792c087
TS
14770 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14771
80694780
TS
14772 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14773
6b645f0d
ST
147742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775
80694780
TS
14776 Fix mlock in all cases except non-readable pages.
14777 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14778 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14779
6b645f0d
ST
14780 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14781 (__mkdir): When path is `/', just fail with EEXIST.
14782 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14783
e468f8a3
TS
147842012-05-10 Thomas Schwinge <thomas@schwinge.name>
14785
14786 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14787 <sys/uio.h> (for writev).
14788 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14789 and <sys/param.h> (for MIN).
14790
a4186cff
PT
147912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14792
14793 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14794 REQUESTED_TIME. Properly set the remaining time and return EINTR
14795 if interrupted.
14796
510bbf14
TS
147972012-05-10 Thomas Schwinge <thomas@schwinge.name>
14798
14799 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14800 Depend on against $(link-rpcuserlibs).
14801
5d5722e8
ST
148022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14803
a4186cff
PT
14804 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14805 (__libc_stack_end): Do not use attribute_relro.
14806 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14807 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14808 to libthread-provided value.
a4186cff
PT
14809 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14810 attribute_relro.
5d5722e8 14811
37233df9
TS
148122012-05-10 Thomas Schwinge <thomas@schwinge.name>
14813
be971a2b
TS
14814 [BZ #3748]
14815 * bits/libc-lock.h (__libc_once_get): New macro.
14816 * sysdeps/mach/bits/libc-lock.h: Likewise.
14817 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14819 instead of using implementation details.
14820
37233df9
TS
14821 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14822 * libio/freopen.c: Likewise.
14823 * libio/freopen64.c: Likewise.
14824 * misc/syslog.c: Likewise.
14825 * nscd/connections.c: Likewise.
14826 * nscd/netgroupcache.c: Likewise.
14827 * sysdeps/posix/getcwd.c: Likewise.
14828
38de94a5
RM
148292012-05-10 Roland McGrath <roland@hack.frob.com>
14830
14831 * math/w_ilogbf.c: Add #include <limits.h>.
14832
67530489
ST
148332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14834
a4186cff 14835 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14836 path instead of returning without unlocking.
14837
67530489
ST
14838 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14839 immediate-write ioctls.
14840 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14841
5aa3a74a
TS
148422012-05-10 Thomas Schwinge <thomas@schwinge.name>
14843
18bad2ae
TS
14844 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14845 __builtin_frame_address instead of making assumptions about the
14846 location of the return address relative to DATA. Force early load of
14847 the return address.
14848 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14849 __builtin_frame_address.
14850
5aa3a74a
TS
14851 dup3 for GNU Hurd.
14852 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14853 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14854 implement dup3 and do some further code clean-ups.
14855 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14856 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14857
ecd0de9a
ST
148582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14859
cd9fa985
ST
14860 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14861
a4186cff
PT
14862 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14863 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14864 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14865 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14866 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14867 d->port.lock.
802ca5a5 14868
a4186cff
PT
14869 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14870 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14871 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14872
bcf55240
TS
148732012-05-10 Thomas Schwinge <thomas@schwinge.name>
14874
6960eb42
TS
14875 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14876 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14877 definitions.
14878
eb43375f
TS
14879 accept4 for GNU Hurd.
14880 * include/sys/socket.h (__libc_accept4): New prototype.
14881 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14882 to implement __libc_accept4.
14883 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14884 __libc_accept4.
14885 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14886
bcf55240
TS
14887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14888 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14889 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14890 signal-defines.sym.
14891
6178c55b
ST
148922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14893
a4186cff 14894 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14895
6f080c2f
TS
148962012-05-10 Thomas Schwinge <thomas@schwinge.name>
14897
14898 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14899 assertion on O_CLOEXEC flag.
14900 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14901 * hurd/intern-fd.c: Likewise.
14902 * hurd/port2fd.c: Likewise.
14903
bcfe3a54
ST
149042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14905
14906 [BZ #3906]
14907 * bits/in.h (IPV6_PKTINFO): Define new macro.
14908 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14909
89c9aa49
AZ
149102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14911
14912 [BZ #13954]
14913 [BZ #13955]
14914 [BZ #13956]
14915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14917 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14920 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14921 * math/libm-test.inc (logb_test) : Additional logb tests.
14922
021db4be
AJ
149232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14924 Andreas Jaeger <aj@suse.de>
14925
14926 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14927 * configure: Regenerated.
14928 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14929 * config.make.in (link-obsolete-rpc): New substituted variable.
14930 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14931 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14932 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14933 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14934 so that libc.a contains the symbols.
14935 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14936 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14937 * sunrpc/auth_none.c: Likewise.
14938 * sunrpc/auth_unix.c: Likewise.
14939 * sunrpc/authdes_prot.c: Likewise.
14940 * sunrpc/authuxprot.c: Likewise.
14941 * sunrpc/clnt_gen.c: Likewise.
14942 * sunrpc/clnt_perr.c: Likewise.
14943 * sunrpc/clnt_raw.c: Likewise.
14944 * sunrpc/clnt_simp.c: Likewise.
14945 * sunrpc/clnt_tcp.c: Likewise.
14946 * sunrpc/clnt_udp.c: Likewise.
14947 * sunrpc/clnt_unix.c: Likewise.
14948 * sunrpc/des_crypt.c: Likewise.
14949 * sunrpc/des_soft.c: Likewise.
14950 * sunrpc/get_myaddr.c: Likewise.
14951 * sunrpc/key_call.c: Likewise.
14952 * sunrpc/key_prot.c: Likewise.
14953 * sunrpc/netname.c: Likewise.
14954 * sunrpc/pm_getmaps.c: Likewise.
14955 * sunrpc/pm_getport.c: Likewise.
14956 * sunrpc/pmap_clnt.c: Likewise.
14957 * sunrpc/pmap_prot.c: Likewise.
14958 * sunrpc/pmap_prot2.c: Likewise.
14959 * sunrpc/pmap_rmt.c: Likewise.
14960 * sunrpc/publickey.c: Likewise.
14961 * sunrpc/rpc_cmsg.c: Likewise.
14962 * sunrpc/rpc_common.c: Likewise.
14963 * sunrpc/rpc_dtable.c: Likewise.
14964 * sunrpc/rpc_prot.c: Likewise.
14965 * sunrpc/rpc_thread.c: Likewise.
14966 * sunrpc/rtime.c: Likewise.
14967 * sunrpc/svc.c: Likewise.
14968 * sunrpc/svc_auth.c: Likewise.
14969 * sunrpc/svc_raw.c: Likewise.
14970 * sunrpc/svc_run.c: Likewise.
14971 * sunrpc/svc_tcp.c: Likewise.
14972 * sunrpc/svc_udp.c: Likewise.
14973 * sunrpc/svc_unix.c: Likewise.
14974 * sunrpc/svcauth_des.c: Likewise.
14975 * sunrpc/xcrypt.c: Likewise.
14976 * sunrpc/xdr.c: Likewise.
14977 * sunrpc/xdr_array.c: Likewise.
14978 * sunrpc/xdr_float.c: Likewise.
14979 * sunrpc/xdr_intXX_t.c: Likewise.
14980 * sunrpc/xdr_mem.c: Likewise.
14981 * sunrpc/xdr_rec.c: Likewise.
14982 * sunrpc/xdr_ref.c: Likewise.
14983 * sunrpc/xdr_sizeof.c: Likewise.
14984 * sunrpc/xdr_stdio.c: Likewise.
14985
b5c086a2
RM
149862012-05-10 Roland McGrath <roland@hack.frob.com>
14987
14988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14989 change. Update copyright years.
14990
6d74dd09
JM
149912012-05-10 Joseph Myers <joseph@codesourcery.com>
14992
14993 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14994
28e72501
MK
149952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14996 Joseph Myers <joseph@codesourcery.com>
14997 Paul Pluzhnikov <ppluzhnikov@google.com>
14998
14999 [BZ #14012]
15000 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15001 requiring rpcgen.
15002 [cross-compiling] (extra-libs): Likewise.
15003 [cross-compiling] (extra-libs-others): Likewise.
15004 [cross-compiling] (librpcsvc-routines): Likewise.
15005 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15006 [cross-compiling] (omit-deps): Likewise.
15007 (sunrpc-CPPFLAGS): New variable.
15008 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15009 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15010 (cross-rpcgen-objs): New variable.
15011 (extra-objs): Append $(cross-rpcgen-objs).
15012 ($(cross-rpcgen-objs)): New rule.
15013 ($(objpfx)cross-rpcgen): Likewise.
15014 (rpcgen-cmd): Define to use $(built-program-file). Expand
15015 comment.
15016 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15017 ($(objpfx)x%.stmp): Likewise.
15018 * sunrpc/proto.h [IS_IN_build] (_): Define.
15019 [IS_IN_build] (_libc_intl_domainname): Likewise.
15020
c8c59454
L
150212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15022
15023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15024 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15025 and R_X86_64_TPOFF64.
15026
6f27cd16
JM
150272012-05-10 Joseph Myers <joseph@codesourcery.com>
15028
15029 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15030 sysdeps/unix/sysv/syscalls.list.
15031 (stime): Likewise.
15032 (utime): Likewise.
15033 * sysdeps/unix/sysv/syscalls.list: Remove file.
15034
02467e1c
PE
150352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15036
15037 [BZ #3440]
15038 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15039 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15040 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15041 (__LC_IDENTIFICATION): Make these macros useful in #if
15042 expressions, as required by C99.
15043
da392631
AS
150442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15045
15046 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15047 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15048 after this.
15049
8115f29b
L
150502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15051
15052 * stdlib/longlong.h: Updated from GCC.
15053
bdd74070
AJ
150542012-05-09 Andreas Jaeger <aj@suse.de>
15055
edfe0dbe
AJ
15056 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15057 default is first entry.
15058 (run_mode): Set type.
15059 (main): Remove informal message about syslog.
15060 (options): Fix typo.
15061
bcfe3a54
ST
15062 [BZ #14053]
15063 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15064 to asm.
bcfe3a54
ST
15065 (lrint): Likewise.
15066 (llrintf): Likewise.
15067 (llrint): Likewise.
15068 (rint): Likewise.
15069 (rintf): Likewise.
15070 (nearbyint): Likewise.
15071 (nearbyintf): Likewise.
bdd74070 15072
91d8d69e
AJ
150732012-05-09 Andreas Jaeger <aj@suse.de>
15074 Pedro Alves <palves@redhat.com>
15075
15076 * nscd/nscd.c (run_mode): Use enum.
15077 (main): Cleanup coding style issue.
15078
bb90b80b
AJ
150792012-05-09 Alexandre Oliva <aoliva@redhat.com>
15080 Andreas Jaeger <aj@suse.de>
15081
bcfe3a54
ST
15082 * nscd/nscd.c (go_background): Replaced with...
15083 (run_mode): ... this.
bb90b80b 15084 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15085 (options): Add -F --foreground.
15086 (main): Implement it.
15087 (parse_opt): Parse it.
bb90b80b 15088
1a4b75a1
AJ
150892012-05-09 Andreas Jaeger <aj@suse.de>
15090
15091 [BZ #14083]
15092 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15093 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15094 -Wconversion warning.
15095 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15096 Likewise.
15097
b1cc2472
JM
150982012-05-09 Joseph Myers <joseph@codesourcery.com>
15099
15100 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15101 == 0.
15102 (LC_ALL): Use macro-int-constant.
15103 (LC_COLLATE): Likewise.
15104 (LC_CTYPE): Likewise.
15105 (LC_MESSAGES): Likewise.
15106 (LC_MONETARY): Likewise.
15107 (LC_NUMERIC): Likewise.
15108 (LC_TIME): Likewise.
15109 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15110 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15112 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15113 Specify type.
15114 [C99-based standards] (float_t): Expect type.
15115 [C99-based standards] (double_t): Expect type.
15116 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15117 type.
15118 [C99-based standards] (HUGE_VALL): Likewise.
15119 [C99-based standards] (INFINITY): Likewise.
15120 [C99-based standards] (NAN): Likewise.
15121 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15122 [C99-based standards] (FP_NAN): Likewise.
15123 [C99-based standards] (FP_NORMAL): Likewise.
15124 [C99-based standards] (FP_SUBNORMAL): Likewise.
15125 [C99-based standards] (FP_ZERO): Likewise.
15126 [C99-based standards] (FP_FAST_FMA): Use
15127 optional-macro-int-constant. Specify type. Require == 1.
15128 [C99-based standards] (FP_FAST_FMAF): Likewise.
15129 [C99-based standards] (FP_FAST_FMAL): Likewise.
15130 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15131 [C99-based standards] (FP_ILOGBNAN): Likewise.
15132 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15133 Specify type.
15134 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15135 [C99-based standards] (math_errhandling): Specify type.
15136 [ISO99 || ISO11] (signgam): Do not allow.
15137 [non-C99-based standards] (copysignf): Do not allow.
15138 [non-C99-based standards] (exp2f): Likewise.
15139 [non-C99-based standards] (log2f): Likewise.
15140 [non-C99-based standards] (modff): Allow.
15141 [non-C99-based standards] (erff): Do not allow.
15142 [non-C99-based standards] (erfcf): Likewise.
15143 [non-C99-based standards] (gammaf): Likewise.
15144 [non-C99-based standards] (hypotf): Likewise.
15145 [non-C99-based standards] (j0f): Likewise.
15146 [non-C99-based standards] (j1f): Likewise.
15147 [non-C99-based standards] (jnf): Likewise.
15148 [non-C99-based standards] (lgammaf): Likewise.
15149 [non-C99-based standards] (tgammaf): Likewise.
15150 [non-C99-based standards] (y0f): Likewise.
15151 [non-C99-based standards] (y1f): Likewise.
15152 [non-C99-based standards] (ynf): Likewise.
15153 [non-C99-based standards] (isnanf): Likewise.
15154 [non-C99-based standards] (acoshf): Likewise.
15155 [non-C99-based standards] (asinhf): Likewise.
15156 [non-C99-based standards] (atanhf): Likewise.
15157 [non-C99-based standards] (cbrtf): Likewise.
15158 [non-C99-based standards] (expm1f): Likewise.
15159 [non-C99-based standards] (ilogbf): Likewise.
15160 [non-C99-based standards] (log1pf): Likewise.
15161 [non-C99-based standards] (logbf): Likewise.
15162 [non-C99-based standards] (nextafterf): Likewise.
15163 [non-C99-based standards] (remainderf): Likewise.
15164 [non-C99-based standards] (rintf): Likewise.
15165 [non-C99-based standards] (scalbf): Likewise.
15166 [non-C99-based standards] (copysignl): Likewise.
15167 [non-C99-based standards] (exp2l): Likewise.
15168 [non-C99-based standards] (log2l): Likewise.
15169 [non-C99-based standards] (modfl): Allow.
15170 [non-C99-based standards] (erfl): Do not allow.
15171 [non-C99-based standards] (erfcl): Likewise.
15172 [non-C99-based standards] (gammal): Likewise.
15173 [non-C99-based standards] (hypotl): Likewise.
15174 [non-C99-based standards] (j0l): Likewise.
15175 [non-C99-based standards] (j1l): Likewise.
15176 [non-C99-based standards] (jnl): Likewise.
15177 [non-C99-based standards] (lgammal): Likewise.
15178 [non-C99-based standards] (tgammal): Likewise.
15179 [non-C99-based standards] (y0l): Likewise.
15180 [non-C99-based standards] (y1l): Likewise.
15181 [non-C99-based standards] (ynl): Likewise.
15182 [non-C99-based standards] (isnanl): Likewise.
15183 [non-C99-based standards] (acoshl): Likewise.
15184 [non-C99-based standards] (asinhl): Likewise.
15185 [non-C99-based standards] (atanhl): Likewise.
15186 [non-C99-based standards] (cbrtl): Likewise.
15187 [non-C99-based standards] (expm1l): Likewise.
15188 [non-C99-based standards] (ilogbl): Likewise.
15189 [non-C99-based standards] (log1pl): Likewise.
15190 [non-C99-based standards] (logbl): Likewise.
15191 [non-C99-based standards] (nextafterl): Likewise.
15192 [non-C99-based standards] (remainderl): Likewise.
15193 [non-C99-based standards] (rintl): Likewise.
15194 [non-C99-based standards] (scalbl): Likewise.
15195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15196 [non-C99-based standards] (FP_*): Do not allow.
15197 [C99-based standards] (FP_*): Change to
15198 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15199 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15200 allow.
15201 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15202 (SIG_ERR): Likewise.
15203 [X/Open-based standards] (SIG_HOLD): Likewise.
15204 (SIG_IGN): Likewise.
15205 (SIGABRT): Use macro-int-constant. Specify type. Require
15206 positive value.
15207 (SIGFPE): Likewise.
15208 (SIGILL): Likewise.
15209 (SIGINT): Likewise.
15210 (SIGSEGV): Likewise.
15211 (SIGTER): Likewise.
15212 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15213 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15216 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15217 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15218 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15219 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15220 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15221 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15222 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15223 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15224 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15225 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15226 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15227 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15228 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15229 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15230 [X/Open-based standards] (SIGTRAP): Likewise.
15231 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15232 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15233 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15234 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15235 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15236 allow.
15237
b9f1922d
IW
152382012-05-08 Ian Wienand <ianw@vmware.com>
15239
15240 [BZ #14080]
15241 * time/tzset.c (__tzset_parse_tz): Update default rules for
15242 daylight time changes in the Energy Policy Act of 2005.
15243
1db86e88
AJ
152442012-05-09 Andreas Jaeger <aj@suse.de>
15245
15246 [BZ #13983]
15247 * elf/ldconfig.c (parse_conf): Change string to make clear that
15248 ldconfig only issued a warning if ld.so.conf does not exist.
15249
dee4a4e3
DM
152502012-05-08 David S. Miller <davem@davemloft.net>
15251
ee0db190
DM
15252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15253 movxtod instead of popping the value on the stack.
15254
dee4a4e3
DM
15255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15256
6a43ec98
CD
152572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15258
15259 * config.h.in: Add HAVE_ARM_PCS_VFP.
15260
05c2c961
RMG
152612012-05-08 Roland Mc Grath <roland@hack.frob.com>
15262
bcfe3a54
ST
15263 [BZ #13979]
15264 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15265 checking but the checks are disabled for any reason.
05c2c961 15266
4b30f61a
L
152672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15270 and ELF64_R_TYPE with ELFW(R_TYPE).
15271
eee2bc67
JM
152722012-05-08 Joseph Myers <joseph@codesourcery.com>
15273
7ea5391a
JM
15274 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15275 (ulimit): Likewise.
15276
eee2bc67
JM
15277 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15278 (settimeofday): Likewise.
15279
abb66a67
MF
152802012-05-08 Mike Frysinger <vapier@gentoo.org>
15281
15282 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15283 a struct th_u2 inside the union, and move tu_block/tu_code into
15284 a new th_u3 union of tu_block/tu_code inside of that. Move
15285 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15286 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15287 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15288 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15289 (th_stuff): Change to th_u1.tu_stuff.
15290 (th_data): Define.
15291 (th_msg): Change to th_u1.th_u2.tu_data.
15292
7f18b530
DM
152932012-05-07 David S. Miller <davem@davemloft.net>
15294
05760585
DM
15295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15296
7f18b530
DM
15297 [BZ #14074]
15298 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15299 (SETUP_PIC_REG): Use it.
15300 (SETUP_PIC_REG_LEAF): Use it.
15301
495fd99f
JM
153022012-05-07 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #13885]
15305 [BZ #13923]
15306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15307 USE_AS_EXPM1L.
15308 (EXPL_FINITE): Likewise.
15309 (FLDLOG): Likewise.
15310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15311 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15312 e_expl.S.
15313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15314 USE_AS_EXPM1L.
15315 (EXPL_FINITE): Likewise.
15316 (FLDLOG): Likewise.
15317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15318 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15319 e_expl.S.
15320 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15321 test of -max_value argument for long double.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324
6693d694
DM
153252012-05-06 David S. Miller <davem@davemloft.net>
15326
15327 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15328 quad soft-float symbols whose references which are compiler
15329 generated.
15330 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15331
6c23e11c
JM
153322012-05-06 Joseph Myers <joseph@codesourcery.com>
15333
d8b82cad
JM
15334 [BZ #13884]
15335 [BZ #13914]
15336 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15337 USE_AS_EXP10L.
15338 (EXPL_FINITE): Likewise.
15339 (FLDLOG): Likewise.
15340 (c0): Likewise.
15341 (c1): Likewise.
15342 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15343 Adjust comments for base varying.
15344 (__expl_finite): Change alias to EXPL_FINITE.
15345 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15346 e_expl.S.
15347 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15348 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15350 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15352 USE_AS_EXP10L.
15353 (EXPL_FINITE): Likewise.
15354 (FLDLOG): Likewise.
15355 (c0): Likewise.
15356 (c1): Likewise.
15357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15358 Adjust comments for base varying.
15359 (__expl_finite): Change alias to EXPL_FINITE.
15360 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15361 tests for bugs.
15362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15363
6c23e11c
JM
15364 [BZ #14064]
15365 * math/libm-test.inc (check_float_internal): Correct ulp
15366 calculation for subnormal expected results.
15367
29ba805c
AJ
153682012-05-06 Andreas Jaeger <aj@suse.de>
15369
15370 * Makeconfig (+math-flags): New, set to -frounding-math.
15371 (+cflags): Add +math-flags so that all of glibc gets compiled with
15372 it.
15373
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15375
7b17aeda
JM
153762012-05-05 Joseph Myers <joseph@codesourcery.com>
15377
5779f134
JM
15378 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15379 Disable one test.
15380
41498f4d
JM
15381 [BZ #13787]
15382 [BZ #13922]
15383 [BZ #14036]
15384 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15385 (__ieee754_expl): Allow for and saturate large arguments.
15386 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15387 (u_threshold): Likewise.
15388 (__exp): Call __ieee754_exp before checking for overflow and
15389 underflow.
15390 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15391 (u_threshold): Likewise.
15392 (__expf): Call __ieee754_expf before checking for overflow and
15393 underflow.
15394 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15395 (u_threshold): Likewise.
15396 (__expl): Call __ieee754_expl before checking for overflow and
15397 underflow.
15398 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15399 (__ieee754_expl): Allow for and saturate large arguments.
15400 * math/libm-test.inc (exp_test): Add another test. Do not allow
15401 missing overflow exception on overflow.
15402 (expm1_test): Do not allow missing overflow exception on overflow.
15403
6698b8bf
JM
15404 * sysdeps/i386/fpu/e_expl.c: Move to ...
15405 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15406 rather than using inline asm.
15407 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15408 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15409 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15410
7b17aeda
JM
15411 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15412 (nice): Likewise.
15413 (poll): Likewise.
15414 (signal): Likewise.
15415 (time): Likewise.
15416 (times): Likewise.
15417
f7c85819
JM
154182012-05-04 Joseph Myers <joseph@codesourcery.com>
15419
15420 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15421 sysdeps/unix/common/syscalls.list.
15422 (fchmod): Likewise.
15423 (fchown): Likewise.
15424 (ftruncate): Likewise.
15425 (getrusage): Likewise.
15426 (gettimeofday): Likewise.
15427 (setpgid): Likewise.
15428 (setregid): Likewise.
15429 (setreuid): Likewise.
15430 (sigaction): Likewise.
15431 (truncate): Likewise.
15432 (vhangup): Likewise.
15433 * sysdeps/unix/common/syscalls.list: Remove file.
15434 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15435 * sysdeps/unix/sysv/linux/Implies: Likewise.
15436
336270d0
L
154372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15438
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15442 Moved to ...
15443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15444 Here.
15445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15446 to ...
15447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15449 to ...
15450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15452 to ...
15453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15455 to ...
15456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15458 to ...
15459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15461 to ...
15462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15464 to ...
15465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15466 Here.
15467 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15468 to ...
15469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15470 Here.
15471 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15472 to ...
15473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15474 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15475 Moved to ...
15476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15477 Here.
15478 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15479 to ...
15480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15481
d128e450
JM
154822012-05-04 Joseph Myers <joseph@codesourcery.com>
15483
fa8ee516
JM
15484 * sysdeps/unix/common/bits/dirent.h: Remove file.
15485 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15486
d128e450
JM
15487 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15488 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15489 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15490 * sysdeps/unix/bsd/isatty.c: Likewise.
15491 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15492 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15493 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15494
ff8faaf0 154952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15496
62881be4 15497 [BZ #13563]
31dc8730
AZ
15498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15499 long double comparison inaccuracies.
15500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15502
6fef930c
AS
155032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15504
15505 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15507
8f203e6c
JM
155082012-05-04 Joseph Myers <joseph@codesourcery.com>
15509
15510 [BZ #14049]
15511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15512 nonzero digits before rounding a hex value.
15513 * stdlib/tst-strtod.c (tests): Add another test.
15514
5197d9c2
AK
155152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15516
15517 * sysdeps/s390/fpu/libm-test-ulps: Update.
15518
f0c1dedf
AJ
155192012-05-03 Andreas Jaeger <aj@suse.de>
15520
15521 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15522 does not get optimized out.
15523 (malloc_opt_barrier): New.
15524
a65ef2ae 155252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15526 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15527
2b942cb7 15528 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15529 intermediate file deletion.
2b942cb7 15530 (generated): Add .symlist files.
a65ef2ae 15531
54b71e02
JM
155322012-05-03 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #13775]
15535 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15536 Redirect under this condition.
15537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15538 [__USE_GNU] (__dprintf_chk): Not under this condition.
15539 [__USE_GNU] (__vdprintf_chk): Likewise.
15540 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15541 under this condition.
15542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15543 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15544 [__USE_XOPEN2K8] (vdprintf): Likewise.
15545 [__USE_GNU] (__dprintf_chk): Not under this condition.
15546 [__USE_GNU] (__vdprintf_chk): Likewise.
15547 [__USE_GNU] (dprintf): Likewise.
15548 [__USE_GNU] (vdprintf): Likewise.
15549
d3dfcc41
RM
155502012-05-03 Roland McGrath <roland@hack.frob.com>
15551
15552 * elf/Makefile (common-generated): Set this instead of generated for
15553 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15554 $(all-built-dso)-derived lists.
15555
7ac30cc5
AJ
155562012-05-03 Andreas Jaeger <aj@suse.de>
15557
0c51e550
AJ
15558 * sysdeps/i386/fpu/libm-test-ulps: Update.
15559
7ac30cc5
AJ
15560 * FAQ: Removed.
15561 * FAQ.in: Likewise.
15562 * scripts/gen-FAQ.pl: Likewise.
15563 * manual/install.texi (Installation): Point to online location of
15564 FAQ.
15565 * Makefile (files-for-dist): Remove FAQ.
15566 (FAQ): Remove.
15567
d4c2917f
AM
155682012-05-02 Allan McRae <allan@archlinux.org>
15569
15570 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15571 (LDFLAGS-reldepmod5.so): Likewise.
15572 (LDFLAGS-reldep6mod1.so): Likewise.
15573 (LDFLAGS-reldep6mod4.so): Likewise.
15574 (LDFLAGS-reldep8mod3.so): Likewise.
15575 (LDFLAGS-unload4mod1.so): Likewise.
15576 (LDFLAGS-unload4mod2.so): Likewise.
15577 (LDFLAGS-tst-initorder): Likewise.
15578 (LDFLAGS-tst-initordera2.so): Likewise.
15579 (LDFLAGS-tst-initordera3.so): Likewise.
15580 (LDFLAGS-tst-initordera4.so): Likewise.
15581 (LDFLAGS-tst-initorderb2.so): Likewise.
15582 (LDFLAGS-noload): Likewise.
15583 (LDFLAGS-next): Likewise.
15584 (LDFLAGS-order2mod1.so): Likewise.
15585 (LDFLAGS-order2mod2.so): Likewise.
15586 (LDFLAGS-tst-initorder2): Likewise.
15587 (LDFLAGS-tst-initorder2a.so): Likewise.
15588 (LDFLAGS-tst-initorder2b.so): Likewise.
15589 (LDFLAGS-tst-initorder2c.so): Likewise.
15590 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15591
d77f993f
DM
155922012-05-02 David S. Miller <davem@davemloft.net>
15593
15594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15595
171a70b4
PP
155962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15597
15598 [BZ #14055]
15599 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15600
0be196ad
AJ
156012012-05-02 Andreas Jaeger <aj@suse.de>
15602
15603 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15604 since we manipulate rounding mode.
15605 (CPPFLAGS-test-idouble.c): Likewise.
15606 (CPPFLAGS-test-ifloat.c): Likewise.
15607 (CFLAGS-test-ldouble.c): Likewise.
15608 (CFLAGS-test-double.c): Likewise.
15609 (CFLAGS-test-float.c): Likewise.
15610 (CFLAGS-test-misc.c): Likewise.
15611 (CFLAGS-test-test-fenv.c): Likewise.
15612
4f9d04aa
AZ
156132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15614
2b942cb7
RM
15615 [BZ #2550]
15616 [BZ #2570]
15617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15618 comparisons to determine direction to adjust input.
4f9d04aa 15619
82a79e7d
RM
156202012-05-01 Roland McGrath <roland@hack.frob.com>
15621
f5a01ca9
RM
15622 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15623 output to the target.
15624
90fe4186
RM
15625 * scripts/localplt.awk: New file.
15626 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15627 (check-localplt-CFLAGS): Variable removed.
15628 ($(all-built-dso:=.jmprel)): New static pattern rule.
15629 (generated): Add those targets.
15630 (localplt-built-dso): New variable.
15631 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15632
15633 * elf/check-localplt.c: File removed.
15634
82397ed6
RM
15635 * scripts/check-execstack.awk: New file.
15636 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15637 (check-execstack-CFLAGS): Variable removed.
15638 ($(objpfx)check-execstack.h): Target removed.
15639 ($(objpfx)execstack-default): New target.
15640 (generated): Add that instead of check-execstack.h.
15641 ($(all-built-dso:=.phdr)): New static pattern rule.
15642 (generated): Add those targets.
15643 * elf/check-execstack.c: File removed.
15644
82a79e7d
RM
15645 * scripts/check-textrel.awk: New file.
15646 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15647 (check-textrel-CFLAGS): Variable removed.
15648 (all-built-dso): Use := to define.o
15649 ($(all-built-dso:=.dyn)): New static pattern rule.
15650 (generated): Add those targets.
15651 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15652 * config.make.in (READELF): New substituted variable.
15653 * elf/check-textrel.c: File removed.
15654
62fde54f 156552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15656
615605c9
JM
15657 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15658 allow.
15659 * conform/data/ctype.h-data [C99-based standards] (isblank):
15660 Expect function.
15661 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15662 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15664 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15665 Specify type. Require positive value.
15666 (EILSEQ): Likewise.
15667 (ERANGE): Likewise.
15668 [ISO || POSIX] (EILSEQ): Do not expect.
15669 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15670 Specify type. Require positive value.
15671 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15720 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15722 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15723 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15724 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15725 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15726 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15727 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15728 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15729 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15730 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15731 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15732 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15733 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15734 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15735 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15736 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15737 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15738 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15739 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15740 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15741 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15742 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15743 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15744 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15745 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15746 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15747 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15748 Require >= 2.
15749 (FLT_ROUNDS): Expect as macro, not constant.
15750 (FLT_MANT_DIG): Use macro-int-constant.
15751 (DBL_MANT_DIG): Likewise.
15752 (LDBL_MANT_DIG): Likewise.
15753 (FLT_DIG): Likewise.
15754 (DBL_DIG): Likewise.
15755 (LDBL_DIG): Likewise.
15756 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15757 (DBL_MIN_EXP): Likewise.
15758 (LDBL_MIN_EXP): Likewise.
15759 (FLT_MAX_EXP): Use macro-int-constant.
15760 (DBL_MAX_EXP): Likewise.
15761 (LDBL_MAX_EXP): Likewise.
15762 (FLT_MAX_10_EXP): Likewise.
15763 (DBL_MAX_10_EXP): Likewise.
15764 (LDBL_MAX_10_EXP): Likewise.
15765 (FLT_MAX): Use macro-constant.
15766 (DBL_MAX): Likewise.
15767 (LDBL_MAX): Likewise.
15768 (FLT_EPSILON): Use macro-constant. Give upper bound.
15769 (DBL_EPSILON): Likewise.
15770 (LDBL_EPSILON): Likewise.
15771 (FLT_MIN): Likewise.
15772 (DBL_MIN): Likewise.
15773 (LDBL_MIN): Likewise.
15774 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15775 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15776 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15777 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15778 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15779 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15780 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15781 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15782 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15783 [ISO11] (FLT_TRUE_MIN): Likewise.
15784 [ISO11] (LDBL_TRUE_MIN): Likewise.
15785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15786 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15787 (SCHAR_MIN): Use macro-int-constant. Specify type.
15788 (SCHAR_MAX): Likewise.
15789 (UCHAR_MAX): Likewise.
15790 (CHAR_MIN): Likewise.
15791 (CHAR_MAX): Likewise.
15792 (MB_LEN_MAX): Use macro-int-constant.
15793 (SHRT_MIN): Use macro-int-constant. Specify type.
15794 (SHRT_MAX): Likewise.
15795 (USHRT_MAX): Likewise.
15796 (INT_MAX): Likewise.
15797 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15798 bound negative.
15799 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15800 bound with "U".
15801 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15802 bound with "L".
15803 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15804 bound negative. Suffix upper bound with "L".
15805 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15806 bound with "UL".
15807 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15808 Specify type.
15809 [C99-based standards] (LLONG_MAX): Likewise.
15810 [C99-based standards] (ULLONG_MAX): Likewise.
15811 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15812 == 0.
15813 [ISO11] (max_align_t): Require type.
15814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15815
c9140a62
JM
15816 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15817 from $CFLAGS, without defining away __attribute__ calls.
15818 (checknamespace): Use $CFLAGS_namespace.
15819
9af0bf29
JM
15820 * conform/conformtest.pl (@keywords): Only include C99 keywords
15821 for standards based on C99 or C11.
15822
343222a2
JM
15823 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15824 Disable tests.
15825 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15826 UNIX98]: Likewise.
15827
661f8cf0
JM
15828 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15829 usability of symbols in #if.
15830
ee74b9cb
JM
15831 * conform/conformtest.pl: If macro or constant types start
15832 "promoted:", expect the symbol to be of the following type
15833 promoted by the integer promotions.
62fde54f 15834
aafc49b3
JM
15835 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15836 in one place. Also handle "macro-constant".
15837
fefdf574
JM
15838 * conform/conformtest.pl: Only accept expected macro values with
15839 "==". Parse all "macro" lines in one place.
15840 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15841
f2d922fe
JM
15842 * conform/conformtest.pl: Handle braced types on "constant" lines
15843 instead of handling "typed-constant".
15844 * conform/data/signal.h-data: Use "constant" instead of
15845 "typed-constant".
15846
d22956c9
JM
15847 * conform/conformtest.pl: Handle "optional-" at start of lines in
15848 one place rather than duplicating several cases. Handle each
15849 format of "macro" line with initial "optional-".
15850
028e2e38
JM
15851 * conform/conformtest.pl: Only accept expected constant or
15852 optional-constant values with "==". Parse all "constant" lines in
15853 one place. Parse all "optional-constant" lines in one place.
15854 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15855 * conform/data/fmtmsg.h-data: Likewise.
15856 * conform/data/netinet/in.h-data: Likewise.
15857 * conform/data/tar.h-data: Likewise.
15858 * conform/data/limits.h-data: Use "==" form on "constant" and
15859 "optional-constant" lines.
15860
1b8f2850
JM
15861 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15862 Use -std=c99 for XOPEN2K.
15863 (@knownproblems): Remove.
15864 (newtoken): Don't check %isknown.
15865
a05a144b
JM
15866 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15867 Do not expect macro.
15868 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15880 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15881 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15898 [XPG3] (acosh): Likewise.
15899 [XPG3] (asinh): Likewise.
15900 [XPG3] (atanh): Likewise.
15901 [XPG3] (cbrt): Likewise.
15902 [XPG3] (expm1): Likewise.
15903 [XPG3] (ilogb): Likewise.
15904 [XPG3] (log1p): Likewise.
15905 [XPG3] (logb): Likewise.
15906 [XPG3] (nextafter): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15909 [XPG3] (remainder): Likewise.
15910 [XPG3] (rint): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15918 [UNIX98 || XOPEN2K] (scalb): Expect.
15919 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15920 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16056
73c5ebe3
JM
16057 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16058 _XOPEN_SOURCE_EXTENDED for XPG4.
16059
39c33b6c
JM
16060 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16061
62fde54f
JM
16062 * Makeconfig (localtime): Remove variable.
16063 (inst_localtime-file): Likewise.
16064
0741d64c
AS
160652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16066
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16068 Update.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16070 Update.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16072 Update.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16074 Update.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16076 Update.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16078 Update.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16080 Update.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16082 Update.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16084 Update.
16085
7cb029ee
JM
160862012-05-01 Joseph Myers <joseph@codesourcery.com>
16087
16088 [BZ #2550]
16089 [BZ #2570]
16090 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16091 comparisons to determine direction to adjust input.
16092 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16093 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16094 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16095 Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16097 Likewise.
16098 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16099 Likewise.
16100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16102 Likewise.
16103 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16104 Likewise.
16105 * math/libm-test.inc (nexttoward_test): Add more tests.
16106
412bd966
AS
161072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16108
16109 [BZ #14040]
16110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16111 in version GLIBC_2.1, not GLIBC_2.0.
16112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16113 Likewise.
16114
9568c0c2
JM
161152012-04-30 Joseph Myers <joseph@codesourcery.com>
16116
adfbc8ac
JM
16117 [BZ #13942]
16118 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16119 (1 - x) * (1 + x).
16120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16121 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16122 * math/libm-test.inc (acos_test): Add more tests.
16123 (asin_test): Likewise.
16124 * sysdeps/i386/fpu/libm-test-ulps: Update.
16125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16126
5ba3cc69
JM
16127 [BZ #14034]
16128 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16129 of square root.
16130 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16132 * math/libm-test.inc (acos_test_tonearest): New function.
16133 (acos_test_towardzero): Likewise.
16134 (acos_test_downward): Likewise.
16135 (acos_test_upward): Likewise.
16136 (asin_test_tonearest): Likewise.
16137 (asin_test_towardzero): Likewise.
16138 (asin_test_downward): Likewise.
16139 (asin_test_upward): Likewise.
16140 (main): Call the new functions.
16141 * sysdeps/i386/fpu/libm-test-ulps: Update.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16143
9568c0c2
JM
16144 [BZ #13884]
16145 [BZ #13924]
16146 * math/e_exp10.c: Include <float.h>.
16147 (__ieee754_exp10): Handle underflow here rather than multiplying
16148 large negative argument by M_LN10.
16149 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16150 of __ieee754_expf.
16151 * math/e_exp10l.c: Include <float.h>.
16152 (__ieee754_exp10l): Handle underflow here rather than multiplying
16153 large negative argument by M_LN10l.
16154 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16155 spurious overflow exception on underflow.
16156
5ac3ea17
MP
161572012-04-29 Marek Polacek <polacek@redhat.com>
16158
16159 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16160 (__fortify_function): New macro.
16161 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16162 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16163 __extern_always_inline.
16164 * libio/bits/stdio2.h: Likewise.
16165 * libio/bits/stdio.h: Likewise.
16166 * string/string.h: Likewise.
16167 * string/bits/string3.h: Likewise.
16168 * include/stdio.h: Likewise.
16169 * stdlib/bits/stdlib.h: Likewise.
16170 * stdlib/stdlib.h: Likewise.
16171 * rt/bits/mqueue2.h: Likewise.
16172 * rt/mqueue.h: Likewise.
16173 * posix/bits/unistd.h: Likewise.
16174 * posix/unistd.h: Likewise.
16175 * io/bits/poll2.h: Likewise.
16176 * io/bits/fcntl2.h: Likewise.
16177 * io/fcntl.h: Likewise.
16178 * io/sys/poll.h: Likewise.
16179 * misc/bits/syslog.h: Likewise.
16180 * misc/bits/syslog-ldbl.h: Likewise.
16181 * misc/sys/syslog.h: Likewise.
16182 * socket/bits/socket2.h: Likewise.
16183 * socket/sys/socket.h: Likewise.
16184 * debug/tst-chk1.c: Likewise.
16185 * wcsmbs/bits/wchar2.h: Likewise.
16186 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16187 * wcsmbs/wchar.h: Likewise.
16188
ecf0ebfb
AJ
161892012-04-29 Andreas Jaeger <aj@suse.de>
16190
16191 * Makerules (tests): Remove enable-check-abi protection.
16192 (check-abi-warn): Remove.
16193 (check-abi-%): Remove check-abi-warn usage.
16194
16195 * configure.in: Remove check-abi configure option.
16196 * configure: Regenerated.
16197 * config.make.in (enable-check-abi): Remove.
16198
6d5c57fa
AS
161992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16200
24c5d07e 16201 [BZ #14033]
ded5180a
AS
16202 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16203 double functions to double *_finite functions.
16204
7e0d315d
AS
16205 [BZ #13941]
16206 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16207 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16208 LDBL_MIN_EXP.
16209 * stdio-common/Makefile (tests): Add tst-sprintf3.
16210 * stdio-common/tst-sprintf3.c: New file.
16211
6d5c57fa
AS
16212 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16213 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16214
0749ff8b
JM
162152012-04-28 Joseph Myers <joseph@codesourcery.com>
16216
16217 * conform/conformtest.pl: Remove duplicate typed-constant
16218 handling.
16219
8dbd5d7b
DM
162202012-04-28 David S. Miller <davem@davemloft.net>
16221
16222 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16223 (check-abi-%): Remove AWK script prerequisite and explicit
16224 abilist directory.
16225 (check-abi): Rewrite to just diff the symlist with the abilist.
16226 (config-tls, config-abi-config): Delete, no longer used.
16227 (update-abi-%): Remove AWK script and explicit abilist directory.
16228 (update-abi): Rewrite to simply compare and conditionally copy the
16229 symlist and the sysdep abilist file. Remove update-abi-config
16230 checks.
16231 * abilist/ld.abilist: Remove.
16232 * abilist/libBrokenLocale.abilist: Remove.
16233 * abilist/libanl.abilist: Remove.
16234 * abilist/libcrypt.abilist: Remove.
16235 * abilist/libdl.abilist: Remove.
16236 * abilist/librt.abilist: Remove.
16237 * abilist/libthread_db.abilist: Remove.
16238 * abilist/libutil.abilist: Remove.
16239 * scripts/extract-abilist.awk: Remove.
16240 * scripts/merge-abilist.awk: Remove.
16241 * sysdeps/generic/libcidn.abilist: New file.
16242 * sysdeps/generic/libnss_compat.abilist: New file.
16243 * sysdeps/generic/libnss_db.abilist: New file.
16244 * sysdeps/generic/libnss_dns.abilist: New file.
16245 * sysdeps/generic/libnss_files.abilist: New file.
16246 * sysdeps/generic/libnss_hesiod.abilist: New file.
16247 * sysdeps/generic/libnss_nis.abilist: New file.
16248 * sysdeps/generic/libnss_nisplus.abilist: New file.
16249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16252 file.
16253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16256 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16257 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16259 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16261 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16262 file.
16263 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16265 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16267 file.
16268 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16271 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16272 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16273 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16274 file.
16275 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16276 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16278 file.
16279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16281 New file.
16282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16283 New file.
16284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16285 New file.
16286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16287 New file.
16288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16289 New file.
16290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16291 New file.
16292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16293 New file.
16294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16295 New file.
16296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16297 New file.
16298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16299 New file.
16300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16301 New file.
16302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16303 New file.
16304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16305 New file.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16307 file.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16309 New file.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16311 New file.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16313 file.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16315 New file.
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16317 New file.
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16319 file.
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16321 New file.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16323 New file.
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16325 New file.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16327 New file.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16329 New file.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16331 New file.
16332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16334 file.
16335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16336 New file.
16337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16338 file.
16339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16340 file.
16341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16342 file.
16343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16344 file.
16345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16346 file.
16347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16348 New file.
16349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16350 file.
16351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16352 file.
16353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16354 New file.
16355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16356 file.
16357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16359 file.
16360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16361 New file.
16362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16363 file.
16364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16365 file.
16366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16369 file.
16370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16371 file.
16372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16373 New file.
16374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16375 file.
16376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16377 file.
16378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16379 New file.
16380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16381 file.
16382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16383 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16384 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16385 file.
16386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16387 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16388 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16390 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16391 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16392 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16393 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16394 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16395 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16398 file.
16399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16404 file.
16405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16406 file.
16407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16408 file.
16409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16410 file.
16411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16416 file.
16417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16418 New file.
16419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16420 file.
16421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16423 file.
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16425 New file.
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16427 file.
16428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16429 file.
16430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16431 file.
16432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16433 file.
16434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16435 file.
16436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16437 New file.
16438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16439 New file.
16440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16441 file.
16442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16443 New file.
16444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16445 file.
16446
41d73a1b
JM
164472012-04-28 Joseph Myers <joseph@codesourcery.com>
16448
16449 * conform/conformtest.pl: Fix typo in handling typed-constant from
16450 allow-header.
16451
28aeeda4
JM
164522012-04-27 Joseph Myers <joseph@codesourcery.com>
16453
adae8f5e
JM
16454 * README: Cut down references to pre-2.6 Linux kernels and
16455 Linuxthreads. Update lists of configurations in libc and ports
16456 and sort alphabetically. Say "or newer" with Linux kernel version
16457 requirements.
16458
28aeeda4
JM
16459 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16460
a462cb63
RA
164612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16462
16463 [BZ #887]
16464 * math/libm-test.inc (logb_test_downward): New test to expose
16465 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16466 rounding mode.
16467
6ad3493e
JM
164682012-04-27 Joseph Myers <joseph@codesourcery.com>
16469
16470 [BZ #14027]
16471 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16472 to be done.
16473 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16474 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16475
2ce4f015
JM
164762012-04-26 Joseph Myers <joseph@codesourcery.com>
16477
5aeb141a
JM
16478 * sysdeps/unix/i386/brk.S: Remove file.
16479 * sysdeps/unix/i386/dl-brk.S: Likewise.
16480 * sysdeps/unix/i386/pipe.S: Likewise.
16481 * sysdeps/unix/i386/sigreturn.S: Likewise.
16482 * sysdeps/unix/i386/syscall.S: Likewise.
16483 * sysdeps/unix/i386/vfork.S: Likewise.
16484 * sysdeps/unix/i386/wait.S: Likewise.
16485
7143acae
JM
16486 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16487 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16488
2ce4f015
JM
16489 * configure.in (arm*-none*): Do not allow without
16490 --enable-hacker-mode.
16491 (netbsd*): Remove case setting base_os.
16492 (386bsd*): Likewise.
16493 (freebsd*): Likewise.
16494 (bsdi*): Likewise.
16495 (osf*): Likewise.
16496 (sunos*): Likewise.
16497 (ultrix*): Likewise.
16498 (newsos*): Likewise.
16499 (dynix*): Likewise.
16500 (*bsd*): Likewise.
16501 (sysv*): Likewise.
16502 (isc*): Likewise.
16503 (esix*): Likewise.
16504 (sco*): Likewise.
16505 (minix*): Likewise.
16506 (irix4*): Likewise.
16507 (irix6*): Likewise.
16508 (solaris[2-9]*): Likewise.
16509 (none): Likewise.
16510 * configure: Regenerated.
16511
0ac229c8
AZ
165122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16513
16514 [BZ #11521]
16515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16516 overflow or cancellation in calculating denominator.
16517 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16519 down expression to avoid unexpected rounding in newer GCCs.
16520 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16521
33f244f4
DM
165222012-04-26 David S. Miller <davem@davemloft.net>
16523
16524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16525 long-double compat symbols.
16526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16539
cfa1f3e8
DM
165402012-04-25 David S. Miller <davem@davemloft.net>
16541
16542 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16543 HWCAP_* values only after the memory barriers have been defined.
16544 (atomic_full_barrier): Define.
16545 (atomic_read_barrier): Define.
16546 (atomic_write_barrier): Define.
16547
6e236b92
SP
165482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 * shlib-versions: Add libgcc_s version information.
16551 * sysdeps/generic/libgcc_s.h: Remove.
16552 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16553 libgcc_s.h.
16554 * sysdeps/gnu/unwind-resume.c: Likewise.
16555 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16556
aab39a09
DM
165572012-04-25 David S. Miller <davem@davemloft.net>
16558
16559 * sysdeps/unix/sparc/brk.S: Delete.
16560 * sysdeps/unix/sparc/dl-brk.S: Delete.
16561 * sysdeps/unix/sparc/pipe.S: Delete.
16562 * sysdeps/unix/sparc/sysdep.S: Delete.
16563 * sysdeps/unix/sparc/sysdep.h: Delete.
16564 * sysdeps/unix/sparc/vfork.S: Delete.
16565 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16566 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16568 ret_ERRVAL, r0, r1, MOVE): Define.
16569 (JUMPTARGET): Remove.
16570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16571 sysdeps/unix/sparc/sysdep.h
16572 (ENTRY, END): Remove.
16573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16574
a3cc4f48
JM
165752012-04-25 Joseph Myers <joseph@codesourcery.com>
16576
2ed8cda2
JM
16577 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16578 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16579 -DIS_IN_build.
16580
35d76d59
JM
16581 * timezone/README: Update upstream location and email address for
16582 tzcode and tzdata.
16583 * timezone/zdump.c: Update from tzcode 2012b.
16584 * timezone/zic.c: Likewise.
16585
a3cc4f48
JM
16586 * configure.in (libc_cv_as_needed): Remove test.
16587 * configure: Regenerated.
16588 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16589 conditional definition.
16590 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16591 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16592 * config.make.in (have-as-needed): Remove variable.
16593
ceab42c3
SP
165942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16595 Paul Pluzhnikov <ppluzhnikov@google.com>
16596
16597 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16598 strings correctly.
16599
3ce2865f
CLT
166002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16601
16602 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16603 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16604 * sysdeps/sh/strlen.S: Likewise.
16605
f37e0d68
JM
166062012-04-24 Joseph Myers <joseph@codesourcery.com>
16607
ae186e9a
JM
16608 * sysdeps/unix/fork.S: Remove file.
16609 * sysdeps/unix/i386/fork.S: Likewise.
16610 * sysdeps/unix/sparc/fork.S: Likewise.
16611
b96914af
JM
16612 * sysdeps/unix/system.c: Remove file.
16613 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16614
f37e0d68
JM
16615 * sysdeps/unix/getegid.S: Remove file.
16616 * sysdeps/unix/geteuid.S: Likewise.
16617
87ef29ca
RM
166182012-04-24 Roland McGrath <roland@hack.frob.com>
16619
83bcd236
RM
16620 * scripts/check-localplt.awk: New file.
16621 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16622 of diff.
16623 * scripts/data/localplt-generic.data: Add a comment.
16624
87ef29ca
RM
16625 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16626 NODE when __dir_mkfile failed.
16627 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16628 Reported by Ludovic Courtès <ludo@gnu.org>.
16629
e5a6e567
AJ
166302012-04-24 Andreas Jaeger <aj@suse.de>
16631
16632 * Makerules (common-clean): Also remove gen-as-const-headers
16633 files.
16634
c1820385
JM
166352012-04-24 Joseph Myers <joseph@codesourcery.com>
16636
16637 * Makerules (native-compile): Do not change working directory for
16638 build. Use $(OUTPUT_OPTION) in command.
16639 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16640
94e02fc4
AZ
166412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16642
16643 [BZ #13886]
16644 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16645 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16646 * math/libm-test.inc (floor_test): Add more tests.
16647 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16648
3a533ca3
JM
166492012-04-24 Joseph Myers <joseph@codesourcery.com>
16650
940ab4b3
JM
16651 * sysdeps/unix/getdents.c: Remove file.
16652 * sysdeps/unix/sysv/getdents.c: Likewise.
16653 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16654
90e037bd
JM
16655 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16656 sysdeps/unix/mman/syscalls.list.
16657 (mmap): Likewise.
16658 (mprotect): Likewise.
16659 (msync): Likewise.
16660 (munmap): Likewise.
16661 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16662 * sysdeps/unix/mman/syscalls.list: Remove.
16663 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16664
3a533ca3
JM
16665 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16666 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16667 * configure: Regenerated.
16668 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16669 $(libgcc_s_suffix).
16670 * config.make.in (libgcc_s_suffix): Remove variable.
16671
1ad743de
JM
166722012-04-23 Joseph Myers <joseph@codesourcery.com>
16673
4ad451e2
JM
16674 * sysdeps/unix/sysv/gethostname.c: Move to ...
16675 * sysdeps/posix/gethostname.c: ... here.
16676
5e37ce39
JM
16677 * sysdeps/unix/execve.S: Remove file.
16678
1ad743de
JM
16679 * sysdeps/unix/_exit.S: Remove file.
16680
4e681b5b
AJ
166812012-04-23 Andreas Jaeger <aj@suse.de>
16682
16683 [BZ #13739]
16684 * manual/Makefile: Remove make dist support, there's no
16685 need for a stand-alone documentation tar ball.
16686 (TEXI2DVI): Define always, it's not in Makeconfig.
16687 (dist): Removed.
16688 (tar-it): Removed.
16689 (edition): Removed.
16690 (glibc-doc-$(edition).tar): Removed
16691 (%.Z): Removed.
16692 (%.gz): Removed.
16693 (%.uu): Removed.
16694 (ETAGS): Remove, it's in Makeconfig.
16695 (move-if-change): Remove, it's in Makeconfig.
16696
38686a03 166972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16698
16699 [BZ #13970]
16700 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16701 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16702 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16703 (strtod_l, strtof_l, strtold_l): Remove __wur.
16704 It is not necessarily an error to ignore strtol's return value.
16705 One can reliably look at the stored endptr to decide whether
16706 the number had valid syntax.
16707
7c0616fa
AJ
167082012-04-21 Andreas Jaeger <aj@suse.de>
16709
803cb6b7 16710 [BZ #13739]
7c0616fa
AJ
16711 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16712
b0fe253f
JM
167132012-04-21 Joseph Myers <joseph@codesourcery.com>
16714
16715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16716 * sysdeps/unix/sysv/Versions: Remove file.
16717
8280f22d
MT
167182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16719
16720 [BZ #13927]
16721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16722
75ce411f 167232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16724
16725 [BZ #7064]
16726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16727 version from __vm86.
16728
097d59fa
JM
167292012-04-20 Joseph Myers <joseph@codesourcery.com>
16730
a90f3bcb
JM
16731 * sysdeps/unix/common/lxstat.c: Remove file.
16732 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16733
edc7ea78
JM
16734 * sysdeps/unix/sysv/Makefile: Remove file.
16735
cb78c221
JM
16736 * sysdeps/unix/sysv/direct.h: Remove file.
16737
efa6a45f
JM
16738 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16739 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16740 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16741 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16742 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16743 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16744 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16745
9c9f2d0c
JM
16746 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16747
4541c83b
JM
16748 * sysdeps/unix/xmknod.c: Remove file.
16749 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16750
f5d153a0
JM
16751 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16752
aa746595
JM
16753 * sysdeps/unix/sysv/i386/time.S: Remove file.
16754
cce5905e
JM
16755 * sysdeps/unix/fxstat.c: Remove file.
16756 * sysdeps/unix/xstat.c: Likewise.
16757 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16758
37fa3841
JM
16759 * sysdeps/unix/sysv/sigaction.c: Remove file.
16760
ff1962a3
JM
16761 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16762 (sysdep_headers): Remove variable.
16763 [termio.h not in sysdep_headers] (generated): Likewise.
16764 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16765 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16766 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16767 * sysdeps/unix/sysv/tcflow.c: Likewise.
16768 * sysdeps/unix/sysv/tcflush.c: Likewise.
16769 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16770 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16771 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16772 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16773 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16774
e7740d31
JM
16775 * sysdeps/unix/siglist.c: Remove file.
16776
ee06f18b
JM
16777 * sysdeps/unix/getppid.S: Remove file.
16778
097d59fa
JM
16779 * sysdeps/unix/mkdir.c: Remove file.
16780 * sysdeps/unix/rmdir.c: Likewise.
16781
ff3d51ec
AS
167822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16783
16784 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16785 ERR_MAX value.
16786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16787 errlist-compat value.
16788
50f81fd7
DM
167892012-04-18 David S. Miller <davem@davemloft.net>
16790
16791 * sysdeps/generic/memcopy.h (reg_char): Delete.
16792 * debug/strcat_chk.c: Use char, not reg_char.
16793 * debug/strcpy_chk.c: Likewise.
16794 * debug/strncat_chk.c: Likewise.
16795 * debug/strncpy_chk.c: Likewise.
16796 * string/memchr.c: Likewise.
16797 * string/memrchr.c: Likewise.
16798 * string/rawmemchr.c: Likewise.
16799 * string/strcat.c: Likewise.
16800 * string/strchr.c: Likewise.
16801 * string/strchrnul.c: Likewise.
16802 * string/strcmp.c: Likewise.
16803 * string/strcpy.c: Likewise.
16804 * string/strncat.c: Likewise.
16805 * string/strncmp.c: Likewise.
16806 * string/strncpy.c: Likewise.
16807
8ff41c46
WS
168082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16809
16810 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16811 __builtin_memcopy is called when src and dest ranges are known to not
16812 overlap.
16813
6b652f46
WS
168142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16815
16816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16817 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16818 fwd_align_merge macro call.
16819 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16820 bwd_align_merge macro call.
16821 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16822
b282631e
WS
168232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16824
16825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16826 bwd_align_merge macros.
16827 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16828 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16830
95aa737c
DM
168312012-04-18 David S. Miller <davem@davemloft.net>
16832
16833 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16834
7a99a614
AJ
168352012-04-18 Andreas Jaeger <aj@suse.de>
16836
16837 [BZ# 6794]
16838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16839 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16841
16842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16843 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16844 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16845
16846 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16847 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16848 Adjust for changed ldbl-128 files.
16849
16850 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16851 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16852 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16853
e5270c23
DM
168542012-04-17 David S. Miller <davem@davemloft.net>
16855
16856 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16857
fb5e92c9
AS
168582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16859
16860 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16861 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16862 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16863 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16864 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16865 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16866
76da7265
AZ
168672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868
16869 [BZ #6794]
16870 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16871 * math/libm-test.inc: Add ilogb errno and exception tests.
16872 * math/w_ilogb.c: New file: ilogb wrapper.
16873 * math/w_ilogbf.c: New file: ilogbf wrapper.
16874 * math/w_ilogbl.c: New file: ilogbl wrapper.
16875 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16876 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16877 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16878 exception being thrown with 0.0 as argument.
16879 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16880 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16881 exception being thrown with 0.0 as argument.
16882 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16883 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16884 exception being thrown with 0.0 as argument.
16885 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16886 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16887 exception being thrown with 0.0 as argument.
16888 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16889 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16891 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16893 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16894 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16895 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16896 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16897
0396e69d
PB
168982012-04-17 Petr Baudis <pasky@ucw.cz>
16899
16900 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16901 with altivec.
16902
750b5926
MP
169032012-04-16 Marek Polacek <polacek@redhat.com>
16904
16905 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16906
751728a1
MP
169072012-04-16 Marek Polacek <polacek@redhat.com>
16908
16909 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16910 operands of fdivp instruction.
16911
34a27407
L
169122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16915 * elf/tst-auditmod3b.c: Likewise.
16916 * elf/tst-auditmod4b.c: Likewise.
16917 * elf/tst-auditmod5b.c: Likewise.
16918 * elf/tst-auditmod6b.c: Likewise.
16919 * elf/tst-auditmod6c.c: Likewise.
16920 * elf/tst-auditmod7b.c: Likewise.
16921 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16922 * sysdeps/x86_64/preconfigure.in: Likewise.
16923 * sysdeps/x86_64/preconfigure: Regenerated.
16924
7e73e17d
L
169252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16926
16927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16928 __ILP32__.
16929
c7a6ab72
AB
169302012-04-13 Antoine Balestrat <merkil33@gmail.com>
16931
16932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16933 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16934
a9e8e0e0
CL
169352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16936
16937 [BZ #13973]
16938 * locale/iso-639.def: Fix gl language name. Spotted by
16939 Yaron Shahrabani.
16940
ec98af7d
RM
169412012-04-12 Roland McGrath <roland@hack.frob.com>
16942
16943 [BZ #2074]
16944 * libio/libio.h (__io_write_fn): Update comment.
16945
247c3ede
PB
169462012-04-12 Petr Baudis <pasky@ucw.cz>
16947
16948 [BZ #2074]
16949 * stdio.texi (Hook Functions): The user provided writer function
16950 is not allowed to return -1.
16951
55939d6d
DM
169522012-04-11 David S. Miller <davem@davemloft.net>
16953
16954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16955
90020f5a
MF
169562012-04-11 Mike Frysinger <vapier@gentoo.org>
16957
16958 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16959 Add a leading slash to rtkaio.
16960
288f9098
JM
169612012-04-11 Jim Meyering <meyering@redhat.com>
16962
90020f5a
MF
16963 [BZ #11959]
16964 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16965 It is not necessarily an error to ignore fwrite's return
16966 value. One can reliably use ferror to test for errors after
16967 the fact.
288f9098 16968
4be2b570
L
169692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16970
16971 * bits/types.h (__snseconds_t): New type.
16972 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16973
16974 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16976 (__SNSECONDS_T_TYPE): Likewise.
16977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16978 (__SNSECONDS_T_TYPE): Likewise.
16979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16980 (__SNSECONDS_T_TYPE): Likewise.
16981
288f9098 169822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16983
16984 [BZ #2636]
16985 * manual/time.texi (Processor Time): Return type of times is
16986 elapsed real time since an arbitrary point in the past.
16987 (CPU Time): Move CLK_TCK from here...
16988 (Processor Time): ...to here. Correct description.
16989 * manual/conf.texi (Constants for Sysconf): Correct description of
16990 _SC_CLK_TCK.
16991
d7dd4413
DM
169922012-04-10 David S. Miller <davem@davemloft.net>
16993
16994 [BZ #13967]
16995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16996 where the is a gap between DT_REL(A) and DT_JMPREL.
16997
b46068fc
L
169982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16999
17000 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17003
73d65cc3
SP
170042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17005
17006 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17007 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17008 (dl_main): Handle --inhibit-cache.
17009 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17010 _dl_inhibit_cache.
17011 * elf/dl-load.c (_dl_map_object): Use it.
17012 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17013
bcc8d661
JM
170142012-04-09 Joseph Myers <joseph@codesourcery.com>
17015
8f9a2fae
JM
17016 [BZ #13872]
17017 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17018 (__ieee754_powl): Saturate large exponents rather than testing for
17019 overflow of y*log2(x).
17020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17021 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17022 exceptions.
17023
bcc8d661
JM
17024 [BZ #11521]
17025 * math/s_ctan.c: Include <float.h>.
17026 (__ctan): Avoid internal overflow or cancellation in calculating
17027 denominator.
17028 * math/s_ctanf.c: Likewise.
17029 * math/s_ctanl.c: Likewise.
17030 * math/s_ctanh.c: Likewise.
17031 * math/s_ctanhf.c: Likewise.
17032 * math/s_ctanhl.c: Likewise.
17033 * math/libm-test.inc (ctan_test): Add more tests.
17034 (ctanh_test): Likewise.
17035 * sysdeps/i386/fpu/libm-test-ulps: Update.
17036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17037
823fbbb4
AJ
170382012-04-09 Andreas Jaeger <aj@suse.de>
17039
03879793
AJ
17040 [BZ #6894]
17041 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17042 is an optional BSD extension.
17043
823fbbb4
AJ
17044 [BZ #10254]
17045 * manual/stdio.texi (Opening Streams): Document additional fopen
17046 parameters.
17047
8de131cb
RM
170482012-04-09 Roland McGrath <roland@hack.frob.com>
17049
17050 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17051 %eax without telling the compiler.
17052
c0ed9d7d
CD
170532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17054
17055 [BZ # 13963]
17056 * manual/install.texi: Use sourceware.org.
17057
c483f6b4
JM
170582012-04-09 Joseph Myers <joseph@codesourcery.com>
17059
d7dd9453
JM
17060 [BZ #13873]
17061 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17062 (__ieee754_pow): Generate overflow and underflow using huge*huge
17063 and tiny*tiny rather than just returning constant infinity or zero
17064 for large exponents.
17065 * math/libm-test.inc (pow_test): Require overflow exceptions for
17066 applicable cases of large exponents.
17067
c483f6b4
JM
17068 [BZ #706]
17069 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17070 (__ieee754_pow): Use iterative multiplication algorithm only for
17071 integer exponents with absolute value below 1024. Check for odd
17072 integer exponents when using algorithm for real exponents.
17073 * math/libm-test.inc (pow_test): Add more tests.
17074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17075
d2de7579
JM
170762012-04-08 Joseph Myers <joseph@codesourcery.com>
17077
17078 [BZ #13705]
17079 * math/libm-test.inc (exp_test): Do not allow overflow exception
17080 on underflow test.
17081
f77f1232
AJ
170822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17083
17084 [BZ #13705]
17085 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17086 instead of __kernel_standard_f.
17087
3884932b
MF
170882012-04-08 Mike Frysinger <vapier@gentoo.org>
17089
17090 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17091 * sysdeps/x86_64/memset_chk.S: Likewise.
17092
54472e9c
AJ
170932012-04-08 Andreas Jaeger <aj@suse.de>
17094
6ab0fbfc
AJ
17095 [BZ #10153]
17096 * manual/startup.texi (Environment Access): Describe return value
17097 for putenv and setenv.
17098
61efba8c
AJ
17099 [BZ #6895]
17100 * manual/filesys.texi (Directory Entries): Add description for
17101 DT_LNK.
17102
95c3f29a
AJ
17103 [BZ #6890]
17104 * manual/filesys.texi (Directory Entries): Clarify that it's file
17105 system not operating system in the description of DT_UNKNOWN.
17106
54472e9c
AJ
17107 [BZ #6578]
17108 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17109
624254b1
SC
171102012-04-08 Stephen Compall <s11@member.fsf.org>
17111
17112 [BZ #6649]
17113 * manual/llio.texi (Opening and Closing Files): Add cross
17114 reference to explain mode argument.
17115
1e4920e0
MF
171162012-04-07 Mike Frysinger <vapier@gentoo.org>
17117
17118 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17119 * sysdeps/x86_64/memset_chk.S: Likewise.
17120
5ed848f3
DM
171212012-04-07 David S. Miller <davem@davemloft.net>
17122
17123 * elf/elf.h (R_SPARC_WDISP10): Define.
17124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17125 R_SPARC_SIZE32.
17126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17127 R_SPARC_SIZE64 and R_SPARC_H34.
17128
96154cd8
CD
171292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17130
17131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17132 conditions and remove no longer applicable assertion.
17133
9904dc47
L
171342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17135
17136 * bits/byteswap.h: Include <features.h>.
17137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17139
f8887d0a
L
171402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 * bits/byteswap.h (__bswap_16): Removed.
17143 Include <bits/byteswap-16.h> to get __bswap_16.
17144 * sysdeps/i386/bits/byteswap.h: Likewise.
17145 * sysdeps/s390/bits/byteswap.h: Likewise.
17146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17147 * bits/byteswap-16.h: New file.
17148 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17149 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17150 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17151 * string/Makefile (headers): Add bits/byteswap-16.h.
17152
62470f60
PP
171532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17154
17155 [BZ #13895]
17156 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17157 extra indirection.
17158 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17159 * nss/tst-nss-static.c: New.
17160
4dad7bab
RM
171612012-04-06 Robert Millan <rmh@gnu.org>
17162
17163 [BZ #6486]
17164 * manual/llio.texi (File Position Primitive): lseek
17165 refers to WHENCE when it really means OFFSET.
17166
e9142a17
AJ
171672012-04-06 Andreas Jaeger <aj@suse.de>
17168
2c040eff
AJ
17169 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17170 strncmp declarations.
17171
e9142a17
AJ
17172 * abilist/libc.abilist: Add __poll and __ppoll.
17173
ff9f1c5f
DM
171742012-04-05 David S. Miller <davem@davemloft.net>
17175
dcd2ae90
DM
17176 * scripts/check-local-headers.sh: Accept a host triplet in the
17177 path matched by the exclude regexp.
17178
993eb054
DM
17179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17180 definition.
17181 * sysdeps/powerpc/powerpc32/dl-machine.h
17182 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17183 * sysdeps/s390/s390-32/dl-machine.h
17184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17185 * sysdeps/sparc/sparc32/dl-machine.h
17186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17187 * sysdeps/sparc/sparc64/dl-machine.h
17188 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17189
ff9f1c5f
DM
17190 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17191 lazy binding.
48e2e132 17192 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17193 undefined symbol errors.
17194
48e2e132 17195 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17196 DT_NEEDED entries.
17197
e80d6f94
MM
171982012-04-05 Michael Matz <matz@suse.de>
17199
17200 [BZ #13592]
17201 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17202
349fa79f
AJ
172032012-04-05 Andreas Jaeger <aj@suse.de>
17204
17205 [BZ #13908]
17206 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17207 comment.
17208
f402708f
KK
172092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17210
17211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17212 which ROUND is no valid rounding mode.
17213
2ecccfc9
KK
172142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17215
17216 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17217 read again.
17218 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17219
8a53f50f
KK
172202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17221
17222 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17223 an exception using FPU order intentionally.
17224
172252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17226
17227 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17228 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17229 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17230 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17231
d653abb7
SJ
172322012-04-05 Simon Josefsson <simon@josefsson.org>
17233
17234 [BZ #12340]
17235 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17236 EINVAL when BUFLEN is too smal.
17237
c3b1bf7d
TS
172382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17239
17240 [BZ #13553]
17241 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17242 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17243
b1aa60f3
AJ
172442012-04-03 Andreas Jaeger <aj@suse.de>
17245
c3b1bf7d 17246 [BZ #13938]
67f60a26
AJ
17247 * manual/setjmp.texi (System V contexts): Fix sentence.
17248
b1aa60f3
AJ
17249 [BZ #13926]
17250 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17251 New macro for this case.
17252 [!__GNUC__] (__bswap_64): New inline function for this case.
17253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17254 * bits/byteswap.h: Likewise.
17255 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17256 ull, guard with __GLIBC_HAVE_LONG_LONG.
17257
17258 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17259 __GLIBC_HAVE_LONG_LONG.
17260
17261 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17262 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17263
39c59c35
TMQMF
172642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17265
17266 [BZ #13691]
17267 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17268 inptr and inend, rather than using last_ch.
17269
135ffda8
DM
172702012-04-02 David S. Miller <davem@davemloft.net>
17271
17272 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17273 * stdio-common/printf-parse.h (read_int): Change return type to
17274 'int', return -1 on INT_MAX overflow.
17275 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17276 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17277 overflows INT_MAX. Check for overflow of in-format-string precision
17278 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17279 SIZE_MAX not INT_MAX for integer overflow test.
17280 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17281 skip the construct in the format string but do not record anything.
17282 * stdio-common/bug22.c: Adjust to test both width/prevision
17283 INT_MAX overflow as well as total length INT_MAX overflow. Check
17284 explicitly for proper errno values.
17285
228c019e
TS
172862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17287
302cadd3
TS
17288 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17289 CHAR_MAX.
17290 * string/test-strcmp.c [! WIDE]: Likewise.
17291 * time/tst-mktime2.c: Likewise for INT_MAX.
17292 * string/test-string.h: #include <sys/param.h> for MIN.
17293
228c019e
TS
17294 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17295 * sysdeps/i386/init-first.c (init): Likewise.
17296 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17297 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17298 * sysdeps/sh/init-first.c (init): Likewise.
17299
cfa633f5
UD
173002012-04-01 Ulrich Drepper <drepper@gmail.com>
17301
17302 * po/ru.po: Update from translation team.
d1635ef8 17303 * po/vi.po: Likewise.
cfa633f5 17304
6cd0a5ea
SP
173052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17306
17307 * resolv/nss_dns/dns-host.c: Merge copyright years.
17308
4b43400f
LD
173092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17310
17311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17312 Optimize memcpy with prefetch if
17313 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17314 src, dst pointers have unequal 16 byte alignments.
17315
48c41d04
SP
173162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17317
17318 [BZ #13928]
17319 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17320 from a CNAME entry and return the minimum ttl for the query.
17321 (gaih_getanswer_slice): Likewise.
17322
b8dc394d
JL
173232012-03-30 Jeff Law <law@redhat.com>
17324
17325 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17326 due to long keys.
17327 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17328 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17329
2f5a5ed0
JL
17330 * resolv/nss_dns/dns-host.c: Update copyright year.
17331
1d39e359
UD
173322012-03-30 Ulrich Drepper <drepper@gmail.com>
17333
c030f70c 17334 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17335 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17336
1d39e359
UD
17337 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17338 comments for sendmmsg.
17339
173402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17341
17342 [BZ #13691]
17343 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17344 with only 1 character between 0x0041 and 0x01b0.
17345 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17346 * wcsmbs/tst-mbsnrtowcs.c: New file.
17347
20fde227
DM
173482012-03-29 David S. Miller <davem@davemloft.net>
17349
17350 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17351 small copies by hand.
17352
984a4237
JL
173532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17354
17355 [BZ #13761]
17356 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17357 _nss_compat_initgroups_dyn): Fall back to malloc/free
17358 for large group memberships.
17359
18c9d62b
DM
173602012-03-28 David S. Miller <davem@davemloft.net>
17361
88d85d4f
DM
17362 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17363 that branches into memcpy.
17364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17367 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17369 bits.
17370 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17371 implementation too.
17372 * sysdeps/sparc/mempcpy.S: New file.
17373
e5aa83e1
DM
17374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17375 the IFUNC routine in the libc case.
17376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17377
88570753
DM
17378 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17379 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17380 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17381 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17382 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17383 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17384 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17385 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17386
249d7567
DM
17387 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17388 loop to 256 bytes instead of 64 bytes and fix test signedness.
17389
18c9d62b
DM
17390 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17391 * sysdeps/sparc/sparc32/Makefile: rather than here...
17392 * sysdeps/sparc/sparc64/Makefile: and here.
17393
05f3d1f6
UD
173942012-03-28 Ulrich Drepper <drepper@gmail.com>
17395
17396 * malloc/mallocbug.c: Avoid warnings about unused variables.
17397
86ae07a8
JL
173982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17399
17400 [BZ #13760]
17401 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17402 in the right place. Discard and retry query if response is
17403 larger than input buffer size.
17404
41bf21a1
JM
174052012-03-28 Joseph Myers <joseph@codesourcery.com>
17406
d6270972
JM
17407 [BZ #369]
17408 [BZ #2678]
17409 [BZ #3866]
17410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17411 x for large integer exponent.
17412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17413 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17414 sign of result as needed afterwards.
17415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17417 result for underflowing pow the same as for overflow.
17418 (__kernel_standard_l): Handle powl overflow and underflow here
17419 rather than calling __kernel_standard.
17420 * math/libm-test.inc (pow_test): Add more tests.
17421
414fca03 17422 [BZ #3868]
41bf21a1
JM
17423 [BZ #13879]
17424 [BZ #13910]
17425 [BZ #13911]
17426 [BZ #13912]
17427 [BZ #13913]
17428 [BZ #13915]
17429 [BZ #13916]
17430 [BZ #13917]
17431 [BZ #13918]
17432 [BZ #13919]
17433 [BZ #13920]
17434 [BZ #13921]
17435 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17436 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17437 (__kernel_standard_l): New function.
17438 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17439 __kernel_standard.
17440 * math/w_acosl.c (__acosl): Likewise.
17441 * math/w_asinl.c (__asinl): Likewise.
17442 * math/w_atan2l.c (__atan2l): Likewise.
17443 * math/w_atanhl.c (__atanhl): Likewise.
17444 * math/w_coshl.c (__coshl): Likewise.
17445 * math/w_exp10l.c (__exp10l): Likewise.
17446 * math/w_exp2l.c (__exp2l): Likewise.
17447 * math/w_fmodl.c (__fmodl): Likewise.
17448 * math/w_hypotl.c (__hypotl): Likewise.
17449 * math/w_j0l.c (__j0l, __y0l): Likewise.
17450 * math/w_j1l.c (__j1l, __y1l): Likewise.
17451 * math/w_jnl.c (__jnl, __ynl): Likewise.
17452 * math/w_lgammal.c (__lgammal): Likewise.
17453 * math/w_log10l.c (__log10l): Likewise.
17454 * math/w_log2l.c (__log2l): Likewise.
17455 * math/w_logl.c (__logl): Likewise.
17456 * math/w_powl.c (__powl): Likewise.
17457 * math/w_remainderl.c (__remainderl): Likewise.
17458 * math/w_scalbl.c (sysv_scalbl): Likewise.
17459 * math/w_sinhl.c (__sinhl): Likewise.
17460 * math/w_sqrtl.c (__sqrtl): Likewise.
17461 * math/w_tgammal.c (__tgammal): Likewise.
17462 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17463 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17464 * math/libm-test.inc (acos_test): Add more tests.
17465 (acosh_test): Likewise.
17466 (asin_test): Likewise.
17467 (atanh_test): Likewise.
17468 (exp_test): Likewise.
17469 (exp10_test): Likewise.
17470 (exp2_test): Likewise.
17471 (expm1_test): Likewise.
17472 (lgamma_test): Likewise.
17473 (log_test): Likewise.
17474 (log10_test): Likewise.
17475 (log1p_test): Likewise.
17476 (log2_test): Likewise.
17477 (pow_test): Do not allow some spurious overflow exceptions.
17478 (sqrt_test): Add more tests.
17479 (tgamma_test): Likewise.
17480 (y0_test): Likewise.
17481 (y1_test): Likewise.
17482 (yn_test): Likewise.
17483
dd62fda6
AB
174842012-03-27 Anton Blanchard <anton@samba.org>
17485
17486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17487 MAP_HUGETLB.
17488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17489 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17491
1e3cdfda
AJ
174922012-03-27 David S. Miller <davem@davemloft.net>
17493
b855ab85
DM
17494 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17495
1e3cdfda
AJ
17496 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17497 have-as-vis3 check.
17498
174992012-03-27 Andreas Jaeger <aj@suse.de>
17500
17501 * sysdeps/x86_64/elf/configure.in: Moved to ...
17502 * sysdeps/x86_64/configure.in: ... here.
17503 * sysdeps/x86_64/elf/start.S: Moved to ...
17504 * sysdeps/x86_64/start.S: ... here.
17505 * sysdeps/x86_64/elf/configure: Delete.
17506
17507 * sysdeps/x86_64/configure.in: Merge contents from
17508 sysdeps/i386/configure.in (without i686 check).
17509
17510 * sysdeps/i386/elf/Versions: Merge into ...
17511 * sysdeps/i386/Versions: ... this.
17512 * sysdeps/i386/elf/Versions: Delete file.
17513 * sysdeps/i386/elf/start.S: Moved to ...
17514 * sysdeps/i386/start.S: ...here.
17515 * sysdeps/i386/elf/configure.in: Merge into...
17516 * sysdeps/i386/configure.in: ...here.
17517 * sysdeps/i386/elf/configure.in: Delete file.
17518 * sysdeps/i386/elf/configure: Delete file.
17519
17520 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17521 * debug/backtracesyms.c: ... here.
17522 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17523 * debug/backtracesymsfd.c: ... here.
17524 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17525 * sysdeps/generic/ifunc-sel.h: ... here.
17526
17527 * sysdeps/unix/i386/start.c: Delete file.
17528 * sysdeps/unix/sparc/start.c: Delete file.
17529 * sysdeps/unix/start.c: Delete file.
17530
17531 * sysdeps/sh/elf/configure.in: Moved to ...
17532 * sysdeps/sh/configure.in: ... here.
17533 * sysdeps/sh/elf/start.S: Moved to ...
17534 * sysdeps/sh/start.S: ... here.
17535 * sysdeps/sh/elf/configure: Delete file.
17536
17537 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17538 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17539 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17540 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17541 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17542 * sysdeps/powerpc/powerpc64/start.S: here.
17543 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17544 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17545 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17546 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17547 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17548
17549 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17550 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17551 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17552 * sysdeps/powerpc/powerpc32/start.S: ... here.
17553 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17554 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17555 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17556
17557 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17558 * sysdeps/powerpc/ifunc-sel.h: ... here.
17559 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17560 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17561
17562 * sysdeps/sparc/elf/configure.in: Moved to ...
17563 * sysdeps/sparc/configure.in: ... here.
17564 * sysdeps/sparc/elf/configure: Delete file.
17565 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17566 * sysdeps/sparc/sparc32/start.S: ... here.
17567 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17568 * sysdeps/sparc/sparc64/start.S: ... here.
17569 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17570 * sysdeps/sparc/sparc32/Makefile: ... this.
17571 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17572 * sysdeps/sparc/sparc64/Makefile: ... this.
17573
17574 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17575 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17576 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17577 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17578 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17579 * sysdeps/s390/s390-32/setjmp.S: ... here.
17580 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17581 * sysdeps/s390/s390-32/configure.in: ... here.
17582 * sysdeps/s390/s390-32/elf/configure: Delete file.
17583 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17584 * sysdeps/s390/s390-32/start.S: ... here.
17585
17586 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17587 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17588 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17589 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17590 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17591 * sysdeps/s390/s390-64/setjmp.S: ... here.
17592 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17593 * sysdeps/s390/s390-64/configure.in: ... here
17594 * sysdeps/s390/s390-64/elf/configure: Delete file.
17595 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17596 * sysdeps/s390/s390-64/start.S: ... here.
17597 * sysdeps/s390/s390-64/elf/configure: Delete.
17598
17599 * configure.in: Remove support for elf directories in sysdeps.
17600
17601 * configure: Regenerated.
17602 * sysdeps/i386/configure: Regenerated.
17603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17604 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17605 * sysdeps/s390/s390-32/configure: Regenerated.
17606 * sysdeps/s390/s390-64/configure: Regenerated.
17607 * sysdeps/sh/configure: Regenerated.
17608 * sysdeps/sparc/configure: Regenerated.
17609 * sysdeps/x86_64/configure: Regenerated.
17610
a3f61311
AS
176112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17612
c876e002
AS
17613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17614
a3f61311
AS
17615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17616 denormal result into account.
17617
ac4c54f0
RM
176182012-03-25 Roland McGrath <roland@hack.frob.com>
17619
17620 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17621 Reported by Allan McRae <allan@archlinux.org>.
17622
6a9b9c02
JL
176232012-03-23 Jeff Law <law@redhat.com>
17624
17625 * nss/getnssent.c (__nss_getent): Fix typo.
17626
4c42a0c1
DM
176272012-03-23 David S. Miller <davem@davemloft.net>
17628
17629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17630
1532c7ac
L
176312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17634 to pad to uint64_t for each field.
17635 (dl_tls_index): Replace unsigned long with uint64_t.
17636
3ff42526
PP
176372012-03-23 Daniel Jacobowitz <dmj@google.com>
17638 Paul Pluzhnikov <ppluzhnikov@google.com>
17639
17640 [BZ #6528]
17641 * grp/Makefile (otherlibs): Don't set it.
17642 * inet/Makefile (otherlibs): Likewise.
17643 * login/Makefile (otherlibs): Likewise.
17644 * nscd/Makefile (otherlibs): Likewise.
17645 * posix/Makefile (otherlibs): Likewise.
17646 * pwd/Makefile (otherlibs): Likewise.
17647 * rt/Makefile (otherlibs): Likewise.
17648 * sunrpc/Makefile (otherlibs): Likewise.
17649 * nss/Makefile (otherlibs): Likewise.
17650 Add libnss_files to routines and static-only-routines.
17651 ($(objpfx)getent): Remove rule.
17652 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17653 static-only-routines.
17654
7c69cd14
JM
176552012-03-22 Joseph Myers <joseph@codesourcery.com>
17656
17657 [BZ #13892]
17658 * math/s_cexp.c: Include <float.h>.
17659 (__cexp): Handle exp result overflowing not necessarily
17660 overflowing both real and imaginary parts of result.
17661 * math/s_cexpf.c: Likewise.
17662 * math/s_cexpl.c: Likewise.
17663 * math/libm-test.inc (cexp_test): Add more tests.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666
81b035fe
L
176672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17668
17669 * include/link.h (ELFW): New macro.
17670 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17671 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17672
1da7940c
L
176732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17674
17675 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17676 with uint64_t.
17677
b749dbb9
L
176782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17679
17680 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17681 declaration.
17682 (struct La_x32_retval): Likewise.
17683
2ff87f3f
L
176842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 * sysdeps/x86_64/preconfigure.in: New file.
17687 * sysdeps/x86_64/preconfigure: New generated file.
17688
c0df8e69
JM
176892012-03-22 Joseph Myers <joseph@codesourcery.com>
17690
48e44791
JM
17691 [BZ #13824]
17692 * math/e_exp2l.c: Include <float.h>.
17693 (__ieee754_exp2l): Handle overflow and underflow cases
17694 separately. Only pass fractional part of argument to
17695 __ieee754_expl.
17696 * math/libm-test.inc (exp2_test): Add more tests.
17697
c0df8e69
JM
17698 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17699 negating x to take absolute value.
17700 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17701 Likewise.
17702 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17703 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17704 Likewise.
17705 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17706 computing low part if x was negated.
17707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17708
c8e43ba7
L
177092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17712 la_x32_gnu_pltexit.
17713 (pltexit): Cast int_retval to ptrdiff_t.
17714 * elf/tst-auditmod3b.c: Likewise.
17715 * elf/tst-auditmod4b.c: Likewise.
17716 * elf/tst-auditmod5b.c: Likewise.
17717 * elf/tst-auditmod6b.c: Likewise.
17718 * elf/tst-auditmod6c.c: Likewise.
17719 * elf/tst-auditmod7b.c: Likewise.
17720
17721 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17722 and x32_gnu_pltexit.
17723
17724 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17725 __ELF_NATIVE_CLASS.
17726 (La_x32_regs): New macro.
17727 (La_x32_retval): Likewise.
17728 (la_x32_gnu_pltenter): New function prototype.
17729 (la_x32_gnu_pltexit): Likewise.
17730
7998fa78
AS
177312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17732
dcb33988
AS
17733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17734 exponent.
17735
233fc563
AS
17736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17737
7998fa78
AS
17738 * configure.in (libc_cv_cc_nofma): Check for option to disable
17739 generation of FMA instructions.
17740 * configure: Regenerate.
17741 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17742 * sysdeps/ieee754/dbl-64/Makefile: New file.
17743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17744 Remove brandred-fma4.
17745 (CFLAGS-brandred-fma4.c): Remove.
17746 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17748 define.
17749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17750 define.
17751
8e95c99a
L
177522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17753
17754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17755 LLONG_MAX != LONG_MAX.
17756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17757 (_fitoa_word): Likewise.
17758 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17759 LLONG_MAX != LONG_MAX.
17760 * stdio-common/_itowa.h: Include <_itoa.h>.
17761 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17762 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17763 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17764 only if not defined.
17765 (_ITOA_WORD_TYPE): Likewise.
17766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17767 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17768
6f4db457
DM
177692012-03-21 David S. Miller <davem@davemloft.net>
17770
17771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17772
7785fe5a
L
177732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17776 of x86_64 when setting libc_cv_slibdir, libdir and
17777 libc_cv_localedir.
17778 * sysdeps/unix/sysv/linux/configure: Regenerated.
17779
4535cd55
JM
177802012-03-21 Joseph Myers <joseph@codesourcery.com>
17781
17782 * manual/lang.texi (Old Varargs): Remove section.
17783 (How Variadic): Update menu.
17784 (va_start): Do not mention varargs.h.
17785
17228132
TS
177862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17787 Joseph Myers <joseph@codesourcery.com>
17788
17789 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17790 link test.
17791 * configure: Regenerated.
17792
8149f976
TS
177932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17794
05f3d1f6
UD
17795 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17796 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17797 conformtest.pl
8149f976 17798
1a4ac776
JM
177992012-03-21 Joseph Myers <joseph@codesourcery.com>
17800
be22ce65
JM
17801 * NOTES: Remove.
17802 * Makefile (files-for-dist): Remove NOTES.
17803 (NOTES): Remove rule.
17804 * README: Don't refer to NOTES.
17805 * manual/creature.texi: Don't include macros.texi.
17806 * manual/intro.texi (creature.texi): Remove comment referring to
17807 NOTES.
17808
40b601fb
JM
17809 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17810 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17811 * configure: Regenerated.
17812 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17813 LIBC_TRY_CC_OPTION.
17814 (libc_cv_as_i686): Likewise.
17815 (libc_cv_cc_avx): Likewise.
17816 (libc_cv_cc_sse2avx): Likewise.
17817 (libc_cv_cc_fma4): Likewise.
17818 (libc_cv_cc_novzeroupper): Likewise.
17819 * sysdeps/i386/configure: Regenerated.
17820
1a4ac776
JM
17821 [BZ #13883]
17822 * sysdeps/i386/fpu/s_cexp.S: Remove.
17823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17825 * math/libm-test.inc (cexp_test): Add more tests.
17826 * sysdeps/i386/fpu/libm-test-ulps: Update.
17827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17828
a458e7fe
AM
178292012-03-21 Allan McRae <allan@archlinux.org>
17830
17831 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17832
0cb7efc5
JM
178332012-03-21 Joseph Myers <joseph@codesourcery.com>
17834
17835 [BZ #13871]
17836 * math/w_exp2.c: Do not include <float.h>.
17837 (o_threshold, u_threshold): Remove.
17838 (__exp2): Calculate result before checking finiteness and calling
17839 __kernel_standard.
17840 * math/w_exp2f.c: Likewise.
17841 * math/w_exp2l.c: Likewise.
17842 * math/libm-test.inc (exp2_test): Require overflow exception for
17843 1e6 input.
2460d3aa
JM
17844
17845 [BZ #3866]
17846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17847 range of signed 64-bit integers before using fistpll. Remove
17848 checks for whether integers fit in mantissa bits.
17849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17850 the range of signed 32-bit integers before using fistpl. Remove
17851 checks for whether integers fit in mantissa bits.
17852 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17853 (__ieee754_powl): Test for y outside the range of signed 64-bit
17854 integers before using fistpll. Reduce 64-bit values to 63-bit
17855 ones as needed.
17856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17857 divide-by-zero is raised for zero to large negative powers.
17858 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17859 (__ieee754_powl): Test for y outside the range of signed 64-bit
17860 integers before using fistpll. Reduce 64-bit values to 63-bit
17861 ones as needed.
17862 * math/libm-test.inc (pow_test): Add more tests.
17863
eb96ffb0
L
178642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17867 <stdio-common/_itoa.h>.
17868 * debug/segfault.c: Likewise.
17869 * elf/dl-cache.c: Likewise.
17870 * elf/dl-minimal.c: Likewise.
17871 * elf/dl-misc.c: Likewise.
17872 * elf/dl-sysdep.c: Likewise.
17873 * elf/dl-version.c: Likewise.
17874 * elf/rtld.c: Likewise.
17875 * hurd/hurdsock.c: Likewise.
17876 * hurd/lookup-retry.c: Likewise.
17877 * malloc/malloc.c: Likewise.
17878 * malloc/mtrace.c: Likewise.
17879 * nscd/nscd_getgr_r.c: Likewise.
17880 * nscd/nscd_getpw_r.c: Likewise.
17881 * nscd/nscd_getserv_r.c: Likewise.
17882 * posix/getopt_init.c: Likewise.
17883 * posix/wordexp.c: Likewise.
17884 * stdio-common/_itoa.c: Likewise.
17885 * stdio-common/printf_fphex.c: Likewise.
17886 * stdio-common/vfprintf.c: Likewise.
17887 * string/_strerror.c: Likewise.
17888 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17889 * sysdeps/i386/i686/hp-timing.h: Likewise.
17890 * sysdeps/mach/_strerror.c: Likewise.
17891 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17892 * sysdeps/mach/hurd/sethostid.c: Likewise.
17893 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17894 * sysdeps/mach/xpg-strerror.c: Likewise.
17895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17897 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17898 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17900 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17902 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17903 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17904 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17905 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17906 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17907 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17908 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17909 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17910 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17912 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17913 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17914 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17916
17917 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17918
17919 * stdio-common/_itoa.h: Moved to ...
17920 * sysdeps/generic/_itoa.h: Here.
17921
17922 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17923
17924 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17925 instead of "_itoa.h" and "_itowa.h".
17926 * stdio-common/vfprintf.: Likewise.
17927
d1af992d
L
179282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17931 <bits/wordsize.h>.
17932 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17933 (__signbit): Likwise.
17934 (llrintf): Likwise.
17935 (llrint): Likwise.
17936
114883e0
L
179372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17940 __WORDSIZE != 64.
17941
c135cc1b
JM
179422012-03-20 Joseph Myers <joseph@codesourcery.com>
17943
17944 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17945 OVERFLOW_EXCEPTION_OK.
17946 * math/libm-test.inc ("Philosophy"): Update comment about
17947 exception testing.
17948 (OVERFLOW_EXCEPTION): Define.
17949 (OVERFLOW_EXCEPTION_OK): Likewise.
17950 (INVALID_EXCEPTION_OK): Renumber.
17951 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17952 (IGNORE_ZERO_INF_SIGN): Likewise.
17953 (test_exceptions): Handle FE_OVERFLOW.
17954 (exp10_test): Expect overflow exceptions.
17955 (exp2_test): Likewise.
17956 (expm1_test): Likewise.
17957 (nextafter_test): Likewise.
17958 (pow_test): Likewise.
17959 (scalbn_test): Likewise.
17960 (scalbln_test): Likewise.
17961
95443d88
L
179622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * sysdeps/x86_64/bits/atomic.h
17965 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17966 64bit integer.
17967 (atomic_exchange_acq): Likewise.
17968 (__arch_exchange_and_add_body): Likewise.
17969 (__arch_add_body): Likewise.
17970 (atomic_add_negative): Likewise.
17971 (atomic_add_zero): Likewise.
17972
490df6c4
L
179732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17974
c2722551 17975 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17976 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17977
5e52b189
L
179782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17981 Check __x86_64__ instead of __WORDSIZE.
17982
a9879d4c
L
179832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17984
17985 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17986
5df98260
DM
179872012-03-19 David S. Miller <davem@davemloft.net>
17988
e1497744
DM
17989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17990
5df98260
DM
17991 * sysdeps/sparc/fpu/fenv_private.h: New file.
17992 * sysdeps/sparc/fpu/math_private.h: Use it.
17993 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17994 Remove.
17995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17996 (libc_feholdexcept_setroundl): Remove.
17997 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17998 Remove.
17999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18001
b4c35121
L
180022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18005 int64_t instead of long int.
18006 (INSERT_WORDS64): Likwise.
18007
56965fd7
L
180082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18009
18010 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18011 _Unwind_GetCFA return to _Unwind_Ptr first.
18012
83d1aec8
JM
180132012-03-19 Joseph Myers <joseph@codesourcery.com>
18014
1897ad44
JM
18015 [BZ #13629]
18016 * math/s_clog.c: Include <float.h>.
18017 (__clog): Scale large or subnormal inputs.
18018 * math/s_clogf.c: Likewise.
18019 * math/s_clogl.c: Likewise.
18020 * math/s_clog10.c: Include <float.h>.
18021 (M_LOG10_2): Define.
18022 (__clog10): Scale large or subnormal inputs.
18023 * math/s_clog10f.c: Likewise.
18024 * math/s_clog10l.c: Likewise.
18025 * math/libm-test.inc (clog_test): Add more tests.
18026 (clog10_test): Likewise.
18027 * sysdeps/i386/fpu/libm-test-ulps: Update.
18028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18029
7726d6a9
JM
18030 [BZ #11451]
18031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18032 x and y.
18033 * math/libm-test.inc (atan2_test): Add another test.
18034
83d1aec8
JM
18035 * Makerules (common-objdir-compile): Remove.
18036 * sysdeps/unix/Makefile (config-generated): Do not add
18037 $(unix-generated) to variable.
18038 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18039 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18040 Remove rule.
18041 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18042 Likewise.
18043 [generic bits/local_lim.h] (before-compile): Do not append to
18044 variable.
18045 [generic bits/local_lim.h] (common-generated): Likewise.
18046 [generic sys/param.h] (before-compile): Do not append to variable.
18047 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18048 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18049 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18050 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18051 include.
18052 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18053 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18054 [generic sys/param.h] ($(addprefix
18055 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18056 [generic sys/param.h] (common-generated): Do not append to
18057 variable.
18058 [generic sys/param.h] (sysdep_headers): Likewise.
18059 [generic bits/errno.h] (before-compile): Do not append to
18060 variable.
18061 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18062 rule.
18063 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18064 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18065 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18066 [generic bits/errno.h] (common-generated): Do not append to
18067 variable.
18068 [generic bits/ioctls.h] (before-compile): Do not append to
18069 variable.
18070 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18071 rule.
18072 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18073 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18075 rule.
18076 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18077 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18078 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18079 [generic bits/ioctls.h] (common-generated): Do not append to
18080 variable.
18081 [generic sys/syscall.h] (syscall.h): Remove variable.
18082 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18083 rule.
18084 [generic sys/syscall.h] (before-compile): Do not append to
18085 variable.
18086 [generic sys/syscall.h] (common-generated): Likewise.
18087 * sysdeps/unix/errnos-tmpl.c: Remove file.
18088 * sysdeps/unix/errnos.awk: Likewise.
18089 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18090 * sysdeps/unix/ioctls.awk: Likewise.
18091 * sysdeps/unix/mk-local_lim.c: Likewise.
18092 * sysdeps/unix/snarf-ioctls: Likewise.
18093
4851a949
RH
180942012-03-19 Richard Henderson <rth@twiddle.net>
18095
bd37f2ee
RH
18096 * sysdeps/i386/fpu/fenv_private.h: New file.
18097 * sysdeps/i386/fpu/math_private.h: Use it.
18098 (math_opt_barrier, math_force_eval): Remove.
18099 (libc_feholdexcept_setround_53bit): Remove.
18100 (libc_feupdateenv_53bit): Remove.
18101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18102 (math_opt_barrier, math_force_eval): Remove.
18103 (libc_feholdexcept): Remove.
18104 (libc_feholdexcept_setround): Remove.
18105 (libc_fetestexcept, libc_fesetenv): Remove.
18106 (libc_feupdateenv_test): Remove.
18107 (libc_feupdateenv, libc_feholdsetround): Remove.
18108 (libc_feresetround): Remove.
18109
d0adc922
RH
18110 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18111 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18112
0fe0f1f8
RH
18113 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18114 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18115 (libc_feupdateenv_testl): New.
18116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18117 (libc_feupdateenv_testf): New.
18118 (libc_feupdateenv): Use libc_feupdateenv_test.
18119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18121
eb92c487
RH
18122 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18123 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18124 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18125 (libc_feresetround_noex): New.
18126 (libc_feresetround_noexf): New.
18127 (libc_feresetround_noexl): New.
18128 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18129 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18130 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18131 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18132 SET_RESTORE_ROUND.
18133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18135 (__cos): Likewise.
18136 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18137 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18138 SET_RESTORE_ROUND_NOEX.
18139 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18140 SET_RESTORE_ROUND_NOEXF.
18141 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18142 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18143 (libc_feholdsetroundf): New.
18144 (libc_feresetround, libc_feresetroundf): New.
18145
7d2e8012
RH
18146 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18147 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18148 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18149
b4dabbb4
RH
18150 * sysdeps/generic/math_private.h: Include <fenv.h>.
18151 (default_libc_feholdexcept): New.
18152 (default_libc_feholdexcept_setround): New.
18153 (default_libc_fesetenv, default_libc_feupdateenv): New.
18154 (libc_feholdexcept): Only define if undefined.
18155 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18156 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18157 (libc_feholdexcept_setroundl): Likewise.
18158 (libc_feholdexcept_setround_53bit): Likewise.
18159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18160 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18161 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18162 (libc_feupdateenv_53bit): Likewise.
18163 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18164 (libc_feholdexcept): Convert from macro to inline function.
18165 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18166 (libc_fesetenv, libc_feupdateenv): Likewise.
18167
4851a949
RH
18168 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18169 not previously defined.
18170 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18171 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18172 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18173 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18174 * sysdeps/ieee754/flt-32/math_private.h: New file.
18175 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18176 math_private.h below SET_FLOAT_WORD.
18177 (__isnan, __isinf_ns, __finite): Remove.
18178 (__isnanf, __isinf_nsf, __finitef): Remove.
18179
e79d442e
AS
181802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18181
18182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18183
90b80344
DM
181842012-03-17 David S. Miller <davem@davemloft.net>
18185
18186 [BZ #6471]
18187 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18188 for 2.16.
18189
edc21804
DM
181902012-03-16 David S. Miller <davem@davemloft.net>
18191
77e927af
DM
18192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18193 warnings.
18194
374976dd
DM
18195 [BZ #6471]
18196 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18197 properly.
18198 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18199 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18200 sysdep_routines when subdir is sysvipc.
18201 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18202 __getshmlba helper.
18203
edc21804
DM
18204 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18205
473c3ef3
L
182062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18209 [__LP64__].
18210
eb0f39b6
L
182112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18212
18213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18214 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18215 (__lround): Renamed to ...
18216 (__llround): This. Replace long int with long long int.
18217 Define lround functions as aliases of llround functions.
18218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18219
6b6cd74b
L
182202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18221
18222 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18223 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18224 adresses to uintptr_t. Replace "long int" and "unsigned long
18225 int" with "greg_t" on va_arg.
18226
f1a77b01
L
182272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18228
18229 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18230 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18231
18232 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18233 Move e_machine check before EI_CLASS check. Handle x32
18234 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18235 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18236 SKIP_EM_IA_64 and include
18237 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18238
18239 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18240 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18241 (add_system_dir): New macro.
18242
18243 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18244 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18245
11b90b9f
JM
182462012-03-16 Joseph Myers <joseph@codesourcery.com>
18247
c36e1d23
JM
18248 [BZ #2551]
18249 [BZ #2552]
18250 [BZ #2553]
18251 [BZ #2554]
18252 [BZ #2562]
18253 [BZ #2563]
18254 [BZ #2565]
18255 [BZ #2566]
18256 [BZ #2576]
18257 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18258 (y0): Likewise.
18259 * math/w_j0f.c (j0f): Likewise.
18260 (y0f): Likewise.
18261 * math/w_j0l.c (__j0l): Likewise.
18262 (__y0l): Likewise.
18263 * math/w_j1.c (j1): Likewise.
18264 (y1): Likewise.
18265 * math/w_j1f.c (j1f): Likewise.
18266 (y1f): Likewise.
18267 * math/w_j1l.c (__j1l): Likewise.
18268 (__y1l): Likewise.
18269 * math/w_jn.c (jn): Likewise.
18270 (yn): Likewise.
18271 * math/w_jnf.c (jnf): Likewise.
18272 (ynf): Likewise.
18273 * math/w_jnl.c (__jnl): Likewise.
18274 (__ynl): Likewise.
18275 * math/libm-test.inc (j0_test): Add more tests.
18276 (j1_test): Likewise.
18277 (jn_test): Likewise. Add trailing semicolon to existing test.
18278 (y0_test): Likewise.
18279 (y1_test): Likewise.
18280 * sysdeps/i386/fpu/libm-test-ulps: Update.
18281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18282
11b90b9f
JM
18283 [BZ #13851]
18284 [BZ #13854]
18285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18286 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18287 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18289 (__tanl): Set errno for infinite argument.
18290 * sysdeps/i386/fpu/mptan.c: Remove.
18291 * sysdeps/i386/fpu/s_tan.S: Likewise.
18292 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18293 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18294 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18295 * math/libm-test.inc (tan_test): Add more tests and enable more
18296 tests for double and long double.
18297 * sysdeps/i386/fpu/libm-test-ulps: Update.
18298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18299
6a1bd2a1
JK
183002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18301
18302 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18303 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18304
10a803e0
RM
183052012-03-16 Roland McGrath <roland@hack.frob.com>
18306
18307 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18308 * configure.in: Use it for both main tree and add-ons.
18309 * configure: Regenerated.
18310
f196c7f7
L
183112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18312
18313 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18314
8848d99d
JM
183152012-03-16 Joseph Myers <joseph@codesourcery.com>
18316
96cbe7f4
JM
18317 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18318 in comment.
18319
8848d99d
JM
18320 [BZ #13851]
18321 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18322 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18326 infinite argument.
18327 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18329 != 0 for prec == 2.
18330 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18331 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18332 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18333 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18334 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18335 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18336 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18337 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18338 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18339 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18340 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18341 * math/libm-test.inc (cos_test): Add more tests and enable more
18342 tests for long double.
18343 (sin_test): Likewise.
18344 (sincos_test): Likewise.
18345 * sysdeps/i386/fpu/libm-test-ulps: Update.
18346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18347
dd7f4703
DM
183482012-03-16 David S. Miller <davem@davemloft.net>
18349
18350 * sysdeps/sparc/fpu/math_private.h: New file.
18351
006f1daa
DM
183522012-03-15 David S. Miller <davem@davemloft.net>
18353
c0c83bc8
DM
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18355 file.
e6a62e18 18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18358 file.
e6a62e18
DM
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18365 sysdep routines.
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18367
88cb87d9
DM
18368 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18369 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18370
006f1daa 18371 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18373 sparc-ifunc.h
006f1daa 18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18376 Likewise.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18378 Likewise.
006f1daa
DM
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18383 Likewise.
006f1daa
DM
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18389 Likewise.
18390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18391 Likewise.
006f1daa
DM
18392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18416
11e0098e
AS
184172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18418
18419 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18420 scaling.
18421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18422
e85b09d0
AJ
184232012-03-15 Andreas Jaeger <aj@suse.de>
18424
18425 [BZ #13852]
18426 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18427 ieee754/flt-32 implementation for sin, cos and sincos.
18428 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18429 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18430 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18431 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18432 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18433 ieee754/flt-32 implementation for tan.
18434
18435 * math/libm-test.inc (cos_test): Enable some large input tests for
18436 float as well
18437 (sin_test): Likewise.
18438 (sincos_test): Likewise.
18439 (tan_test): Add tests for large input.
18440
18441 * sysdeps/i386/fpu/libm-test-ulps: Update.
18442
81c64153
AJ
184432012-03-15 Andreas Jaeger <aj@suse.de>
18444
18445 [BZ #13658]
18446 * math/libm-test.inc (cos_test): Add more test cases.
18447 (sin_test): Likewise.
18448 (sincos_test): Likewise.
18449
7bbfa5c6
AJ
184502012-03-15 Andreas Jaeger <aj@suse.de>
18451
18452 [BZ #13837]
18453 * math/libm-test.inc (cos_test): Add a test case for large input
18454 value.
18455 (sin_test): Likewise.
18456 (sincos_test): Likewise.
18457
184582012-03-15 Andreas Jaeger <aj@suse.de>,
18459 Joseph Myers <joseph@codesourcery.com>
18460
18461 [BZ #13658]
0671f479 18462 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18463 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18464 * sysdeps/i386/fpu/branred.c: Likewise.
18465 * sysdeps/i386/fpu/dosincos.c: Likewise.
18466 * sysdeps/i386/fpu/mpa.c: Likewise.
18467 * sysdeps/i386/fpu/s_cos.S: Likewise.
18468 * sysdeps/i386/fpu/s_sin.S: Likewise.
18469 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18470 * sysdeps/i386/fpu/sincos32.c: Likewise.
18471
18472 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18473 Define.
18474 (libc_feupdateenv_53bit): Define.
18475 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18476 Define.
18477 (libc_feupdateenv_53bit): Define.
18478
18479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18480 53 bit (without extend i386 double precision).
18481
18482 * math/libm-test.inc (sincos_test): Add tests for large input.
18483 (sin): Likewise.
18484 (cos): Likewise.
18485
18486 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18487
9cad04ea
AS
184882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18489
18490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18491
f7062b9a
DM
184922012-03-15 David S. Miller <davem@davemloft.net>
18493
18494 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18495 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18496 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18497 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18510 file.
f7062b9a 18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18513 file.
f7062b9a 18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18516 file.
f7062b9a 18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18519 file.
f7062b9a
DM
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18522 fmin/fmax sysdep routines.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18524
7bd951ff
DM
185252012-03-14 David S. Miller <davem@davemloft.net>
18526
559398ab
DM
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18549 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18556 routines.
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18558 file.
559398ab 18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18561 file.
559398ab 18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18564 file.
559398ab 18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18567 file.
559398ab 18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18570 file.
559398ab 18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18573 file.
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18575 file.
18576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18577 file.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18579 file.
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18581 New file.
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18583 file.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18585 file.
559398ab 18586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18588 file.
559398ab 18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18591 file.
559398ab 18592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18594 file.
559398ab 18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18597 VIS3 routines.
559398ab
DM
18598
18599 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18600 New file.
18601
5a1c1e32
DM
18602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18603
eae47a36
DM
18604 * sysdeps/sparc/configure.in: New file.
18605 * sysdeps/sparc/configure: Generate.
18606 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18607 * configure: Regenerate.
18608 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18609 * config.make.in (have-as-vis3): New.
18610 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18611 available use -Av9d instead of -Av9a.
18612 * sysdeps/sparc/sparc64/Makefile: Likewise.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18615 New file.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18617 file.
18618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18619 New file.
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18621 file.
eae47a36
DM
18622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18627
c0c83bc8
DM
18628 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18629 fzeros/fnegs to load 0x80000000 into a float register instead of
18630 using the stack.
7bd951ff
DM
18631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18632
bd951ccb
JM
186332012-03-14 Joseph Myers <joseph@codesourcery.com>
18634
18635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18636 bits/syscall.h.
18637 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18638 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18639 ($(inst_includedir)/bits/syscall.h): Remove rule.
18640 ($(objpfx)bits/syscall.d): Include instead of
18641 $(objpfx)syscall-list.d.
18642 (generated): Change syscall-list.h and syscall-list.d to
18643 bits/syscall.h and bits/syscall.d.
18644
bb4e6db2
RM
186452012-03-14 Roland McGrath <roland@hack.frob.com>
18646
18647 [BZ #13846]
18648 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18649
aa4a2ae1
JM
186502012-03-14 Joseph Myers <joseph@codesourcery.com>
18651
e456826d
JM
18652 [BZ #13841]
18653 * math/s_csqrt.c: Include <float.h>.
18654 (__csqrt): Scale large or subnormal inputs.
18655 * math/s_csqrtf.c: Likewise.
18656 * math/s_csqrtl.c: Likewise.
18657 * math/libm-test.inc (csqrt_test): Add more tests.
18658 * sysdeps/i386/fpu/libm-test-ulps: Update.
18659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660
aa4a2ae1
JM
18661 [BZ #13840]
18662 * math/libm-test.inc (hypot_test): Add more tests.
18663
7c10fd35
DM
186642012-03-13 David S. Miller <davem@davemloft.net>
18665
18666 [BZ #13840]
18667 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18668 double-precision for the calculation instead of scaling.
18669
f453b98b
JM
186702012-03-13 Joseph Myers <joseph@codesourcery.com>
18671
18672 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18673 manipulate bits before adding and subtracting TWO52[sx].
18674 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18676 Likewise.
18677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18678
09a3453f
DM
186792012-03-13 David S. Miller <davem@davemloft.net>
18680
8e59da90
DM
18681 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18682 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18684 rtld-global-offsets.h
18685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18686
2a8ab7f2
DM
18687 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18688 large parameters.
18689
10f62770
DM
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18691
5f0bdb18
DM
18692 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18693 'err' in the ifdef scope in which it is actually used.
18694
09a3453f
DM
18695 * nss/nss_db/db-init.c: Include string.h
18696
b4b2eb5e
DM
186972012-03-12 David S. Miller <davem@davemloft.net>
18698
98bb2f1c
DM
18699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18700 masking out of the most significant byte of random value used.
18701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18702 Fix coding style in previous change.
18703
b4b2eb5e
DM
18704 * sysdeps/unix/sysv/linux/kernel-features.h
18705 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18706 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18707 expression.
18708 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18709 later.
18710
6e226b09
DM
187112012-03-11 David S. Miller <davem@davemloft.net>
18712
a1bcbd40
DM
18713 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18714 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18716 for 'resultvar' otherwise things get truncated on 64-bit.
18717
cb9d6174
DM
18718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18719 Fix masking out of the most significant byte of random value used.
18720
6e226b09
DM
18721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18722
058c132d
AS
187232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18724
18725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18726
2d2cd515
DM
187272012-03-09 David S. Miller <davem@davemloft.net>
18728
18729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18730 variables with appropriate CPP guards.
18731 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18732 frame pointer, not the stack pointer. Correct layout comments. Fix test
18733 on resulting framesize and the management of the outregs buffer for pltexit.
18734 Preserve floating point return values across _dl_call_pltexit call.
18735 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18736 framesize and the management of the outregs buffer for pltexit.
18737 Preserve floating point return values across _dl_call_pltexit
18738 call.
18739 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18740 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18741 (print_exit): Fix format string for return register value.
18742
9a07f9d0
JM
187432012-03-10 Joseph Myers <joseph@codesourcery.com>
18744
18745 * sunrpc/Makefile (others): Add rpcgen.
18746 ($(objpfx)rpcgen): Remove special build rule and dependency on
18747 libc.
18748 * sunrpc/rpcgen.c: New file.
18749
547b5e30
PE
187502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18751
c524201a
PE
18752 [BZ #13673]
18753 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18754 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18755 * sysdeps/i386/crti.S: Likewise.
18756 * sysdeps/i386/crtn.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18759 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18760 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18761 * sysdeps/sh/crti.S: Likewise.
18762 * sysdeps/sh/crtn.S: Likewise.
18763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18764
7b6235f2
PE
18765 [BZ #13673]
18766 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18767 with URL.
18768 * locale/programs/locfile-kw.gperf: Likewise.
18769 * locale/programs/charmap-kw.h: Regenerated.
18770 * locale/programs/locfile-kw.h: Likewise.
18771
547b5e30
PE
18772 [BZ #13673]
18773 * intl/plural.y: Replace FSF snail mail address with URL.
18774 * intl/plural.c: Regenerated.
18775
5f0a5dae
RH
187762012-03-09 Richard Henderson <rth@twiddle.net>
18777
18778 * include/math_private.h: Remove file.
18779 * math/math_private.h: Move file ...
18780 * sysdeps/generic/math_private.h: ... here.
18781
b8c03620
RH
18782 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18783 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18784 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18785
4e234f5d 18786 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18787 and <math_private.h>.
18788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18884 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18888 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18889 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18890 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18921 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18922 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18926 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18931 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18932 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18936 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18937 * sysdeps/ieee754/k_standard.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19098 * sysdeps/ieee754/s_lib_version.c: Likewise.
19099 * sysdeps/ieee754/s_matherr.c: Likewise.
19100 * sysdeps/ieee754/s_signgam.c: Likewise.
19101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19104 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19107 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19108 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19109 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19110 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19111 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19115 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19116 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19122
1991fa03
JM
191232012-03-09 Joseph Myers <joseph@codesourcery.com>
19124
19125 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19126 * sunrpc/rpc_main.c: Likewise.
19127 * sunrpc/rpc_svcout.c: Likewise.
19128
60d6f5a6
DM
191292012-03-09 David S. Miller <davem@davemloft.net>
19130
19131 * include/math_private.h: New file.
19132
4962050e
JM
191332012-03-09 Joseph Myers <joseph@codesourcery.com>
19134
02a6f887
JM
19135 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19136 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19137 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19138 from <bits/socket_type.h>.
19139 (enum __socket_type): Don't define here.
19140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19142 bits/socket_type.h.
19143
c6e013c1
JM
19144 [BZ #13566]
19145 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19146 checking __USE_GNU.
19147
4962050e
JM
19148 * Makerules ($(inst_includedir)/%.h): New rule.
19149 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19150 (install-others): Remove variable setting.
19151 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19152
38842f45
RH
191532012-03-08 Richard Henderson <rth@twiddle.net>
19154
67bb6da6
RH
19155 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19156 from macro to inline function; merge with the
19157 !__LIBC_INTERNAL_MATH_INLINES version.
19158 (__ieee754_sqrtf): Likewise.
19159
15194b4b
RH
19160 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19161 to inline function.
19162 (__rintf, __floor, __floorf): Likewise.
19163
64e21ede
RH
19164 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19165 macro to inline function.
19166 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19167
38842f45
RH
19168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19169 not <math/math_private.h>.
19170
c64bf5fe
DM
191712012-03-08 David S. Miller <davem@davemloft.net>
19172
19173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19174 copyright year.
19175 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19176
82d86f28
TS
191772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19178
19179 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19180 normalization.
19181 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19182 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19183
aea5d727
UD
191842012-03-08 Ulrich Drepper <drepper@gmail.com>
19185
19186 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19187 be defined individually, they must be defined as a block. Define
19188 S for printing a string instead of hidint the different by using a
19189 macro for adding the 'l'.
19190 * stdio-common/tst-fphex-wide.c: Adjust.
19191
70bca0a3
MP
191922012-03-07 Marek Polacek <polacek@redhat.com>
19193
19194 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19195
65b81130
MP
191962012-03-08 Marek Polacek <polacek@redhat.com>
19197
19198 [BZ #13806]
19199 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19200 * stdio-common/tst-fphex.c: Define a few macros to make the
19201 test reusable. Use them.
19202 * stdio-common/tst-fphex-wide.c: New file.
19203
07037eeb
JM
192042012-03-08 Joseph Myers <joseph@codesourcery.com>
19205
a7a93d50
JM
19206 [BZ #6911]
19207 * manual/macros.texi (gnusystems): New macro.
19208 (nongnusystems): Likewise.
19209 (gnulinuxhurdsystems): Likewise.
19210 (gnuhurdsystems): Likewise..
19211 (gnulinuxsystems): Likewise.
19212 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19213 variants of the GNU system, not "GNU system".
19214 * manual/conf.texi: Likewise.
19215 * manual/errno.texi: Likewise. Update example of errno macro
19216 expansion.
19217 * manual/filesys.texi: Likewise.
19218 (getumask): Document as specific to GNU/Hurd.
19219 * manual/install.texi: Likewise. Reword some references to
19220 GNU/Linux.
19221 * manual/intro.texi: Likewise.
19222 * manual/io.texi: Likewise.
19223 (File Name Portability): Detail which constraints are inapplicable
19224 to all GNU systems and which are only inapplicable to GNU/Hurd.
19225 * manual/job.texi: Likewise.
19226 * manual/llio.texi: Likewise.
19227 (O_NOCTTY): Document as present on GNU/Linux.
19228 * manual/maint.texi: Likewise.
19229 * manual/memory.texi: Likewise.
19230 * manual/pattern.texi: Likewise.
19231 * manual/pipe.texi: Likewise.
19232 * manual/process.texi: Likewise.
19233 * manual/resource.texi: Likewise.
19234 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19235 child on GNU/Hurd.
19236 * manual/setjmp.texi: Likewise.
19237 * manual/signal.texi: Likewise.
19238 * manual/startup.texi: Likewise.
19239 * manual/stdio.texi: Likewise.
19240 * manual/terminal.texi: Likewise.
19241 (ONLCR): Document as POSIX.
19242 (OXTABS): Document availability on GNU/Linux as XTABS.
19243 (ONOEOT): Document availability separately from other bits.
19244 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19245 * manual/time.texi: Likewise.
19246 * manual/users.texi: Likewise.
19247 * INSTALL: Regenerated.
19248 * sysdeps/gnu/errlist.c: Regenerated.
19249
07037eeb
JM
19250 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19251 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19252 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19253 puts.
19254 * configure: Regenerated.
19255
d1d3431a
JM
192562012-03-07 Joseph Myers <joseph@codesourcery.com>
19257
af6a1e37
JM
19258 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19259 default includes instead of AC_HEADER_CHECK.
19260 * sysdeps/i386/configure: Regenerated.
19261
d1d3431a
JM
19262 [BZ #10716]
19263 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19264 * math/s_cacoshf.c (__cacoshf): Likewise.
19265 * math/s_cacoshl.c (__cacoshl): Likewise.
19266 * math/s_casinh.c (__casinh): Set signs of result from argument.
19267 * math/s_casinhf.c (__casinhf): Likewise.
19268 * math/s_casinhl.c (__casinhl): Likewise.
19269 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19270 (casinh_test): Add more tests.
19271 * sysdeps/i386/fpu/libm-test-ulps: Update.
19272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19273
482ff4da
UD
192742012-03-07 Ulrich Drepper <drepper@gmail.com>
19275
872fda05
UD
19276 * po/zh_TW.po: Update from translation team.
19277
a4300c7a
UD
19278 * login/Makefile (distribute): Remove variable.
19279 * catgets/Makefile: Likewise.
19280 * mach/Makefile: Likewise.
19281 * malloc/Makefile: Likewise.
19282 * misc/Makefile: Likewise.
19283 * iconv/Makefile: Likewise.
19284 * nscd/Makefile: Likewise.
19285 * hurd/Makefile: Likewise.
19286 * manual/Makefile: Likewise.
19287 * locale/Makefile: Likewise.
19288 * intl/Makefile: Likewise.
19289 * conform/Makefile: Likewise.
19290 * nss/Makefile: Likewise.
19291 * time/Makefile: Likewise.
19292 * soft-fp/Makefile: Likewise.
19293 * dirent/Makefile: Likewise.
19294 * gmon/Makefile: Likewise.
19295 * po/Makefile: Likewise.
19296 * rt/Makefile: Likewise.
19297 * socket/Makefile: Likewise.
19298 * math/Makefile: Likewise.
19299 * signal/Makefile: Likewise.
19300 * debug/Makefile: Likewise.
19301 * elf/Makefile: Likewise.
19302 * timezone/Makefile: Likewise.
19303 * stdlib/Makefile: Likewise.
19304 * iconvdata/Makefile: Likewise.
19305 * sunrpc/Makefile: Likewise.
19306 * io/Makefile: Likewise.
19307 * argp/Makefile: Likewise.
19308 * inet/Makefile: Likewise.
19309 * hesiod/Makefile: Likewise.
19310 * grp/Makefile: Likewise.
19311 * csu/Makefile: Likewise.
19312 * wctype/Makefile: Likewise.
19313 * crypt/Makefile: Likewise.
19314 * libio/Makefile: Likewise.
19315 * string/Makefile: Likewise.
19316 * nis/Makefile: Likewise.
19317 * resolv/Makefile: Likewise.
19318 * stdio-common/Makefile: Likewise.
19319 * wcsmbs/Makefile: Likewise.
19320 * dlfcn/Makefile: Likewise.
19321 * posix/Makefile: Likewise.
19322
3b7c4e74 19323 [BZ #6959]
482ff4da
UD
19324 * timezone/Makefile: Don't install timezone files, just the programs
19325 and scripts.
19326
f72ed77d
UD
193272012-03-06 Ulrich Drepper <drepper@gmail.com>
19328
a000466f
UD
19329 * nss/databases.def: Add missing gshadow entry.
19330
f72ed77d
UD
19331 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19332
a53b7a4e
MP
193332012-03-06 Marek Polacek <polacek@redhat.com>
19334
19335 [BZ #13726]
19336 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19337 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19338 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19339 * stdio-common/tst-long-dbl-fphex.c: New file.
19340
e9258400
DM
193412012-03-06 David S. Miller <davem@davemloft.net>
19342
19343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19344 (set_obp_int): New function.
19345 (get_obp_int): New function.
19346 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19348 Avoid unused variable warnings on 'val' and use builtin_expect.
19349 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19350 __builtin_expect.
e9258400
DM
19351 (INLINE_CLONE_SYSCALL): Likewise.
19352
3bd2c723
DM
193532012-03-05 David S. Miller <davem@davemloft.net>
19354
19355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19356
bbb78d03
AS
193572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19358
884c5db4
AS
19359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19360
bbb78d03
AS
19361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19362 only for |x| >= 40.
19363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19364
1c9f702a 193652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19366
19367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19368 Replace gettimeofday with __vdso_gettimeofday.
19369
7be16f82
RM
19370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19371 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19372 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19373
19374 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19375 time with __vdso_time.
19376
ed58a00f
JM
193772012-03-05 Joseph Myers <joseph@codesourcery.com>
19378
19379 * manual/lang.texi (size_t): Note types to which size_t may be
19380 equivalent with the GNU C Library, but do not describe when
19381 differences between them are significant.
19382
30ee4ced
AJ
193832012-03-05 Andreas Jaeger <aj@suse.de>
19384
19385 * sysdeps/i386/fpu/libm-test-ulps: Update.
19386
b7cd39e8
JM
193872012-03-05 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #3976]
19390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19391 (__ieee754_pow): Save and restore rounding mode and use
19392 round-to-nearest for main computations.
19393 * math/libm-test.inc (pow_test_tonearest): New function.
19394 (pow_test_towardzero): Likewise.
19395 (pow_test_downward): Likewise.
19396 (pow_test_upward): Likewise.
19397 (main): Call the new functions.
19398 * sysdeps/i386/fpu/libm-test-ulps: Update.
19399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19400
19401 [BZ #3976]
19402 * math/libm-test.inc (cosh_test_tonearest): New function.
19403 (cosh_test_towardzero): Likewise.
19404 (cosh_test_downward): Likewise.
19405 (cosh_test_upward): Likewise.
19406 (sinh_test_tonearest): Likewise.
19407 (sinh_test_towardzero): Likewise.
19408 (sinh_test_downward): Likewise.
19409 (sinh_test_upward): Likewise.
19410 (main): Call the new functions.
19411 * sysdeps/i386/fpu/libm-test-ulps: Update.
19412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413
6c6a98c9
TV
194142012-03-05 Tom de Vries <tom@codesourcery.com>
19415
19416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19417 default stack guard is set in last bytes.
19418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19419
21bb2d2e 194202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19421
21bb2d2e 19422 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19423
21bb2d2e
AJ
19424 [BZ #13656]
19425 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19426 possibly allocate from heap instead of stack.
19427 * stdio-common/bug-vfprintf-nargs.c: New file.
19428 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19429
c6922934
AS
194302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19431
19432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19433
bc957d53
MP
194342012-03-03 Marek Polacek <polacek@redhat.com>
19435
19436 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19437 * math/math_private.h: Likewise.
19438 * stdlib/tst-strtod.c: Likewise.
19439 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19440 * sysdeps/x86_64/bits/atomic.h: Likewise.
19441
6358490d
DM
194422012-03-02 David S. Miller <davem@davemloft.net>
19443
19444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19448 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19449 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19450 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19451 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19452
01ae168d
RM
194532012-03-02 Roland McGrath <roland@hack.frob.com>
19454
d9a17c07
RM
19455 [BZ #13792]
19456 * manual/examples/README: New file, says the example source files
19457 can be used under GPL>=2.
19458 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19459 line containing just "*/".
19460 * manual/examples/add.c: Add copyright header (GPL>=2).
19461 * manual/examples/argp-ex1.c: Likewise.
19462 * manual/examples/argp-ex2.c: Likewise.
19463 * manual/examples/argp-ex3.c: Likewise.
19464 * manual/examples/argp-ex4.c: Likewise.
19465 * manual/examples/atexit.c: Likewise.
19466 * manual/examples/db.c: Likewise.
19467 * manual/examples/dir.c: Likewise.
19468 * manual/examples/dir2.c: Likewise.
19469 * manual/examples/execinfo.c: Likewise.
19470 * manual/examples/filecli.c: Likewise.
19471 * manual/examples/filesrv.c: Likewise.
19472 * manual/examples/fmtmsgexpl.c: Likewise.
19473 * manual/examples/genpass.c: Likewise.
19474 * manual/examples/inetcli.c: Likewise.
19475 * manual/examples/inetsrv.c: Likewise.
19476 * manual/examples/isockad.c: Likewise.
19477 * manual/examples/longopt.c: Likewise.
19478 * manual/examples/memopen.c: Likewise.
19479 * manual/examples/memstrm.c: Likewise.
19480 * manual/examples/mkfsock.c: Likewise.
19481 * manual/examples/mkisock.c: Likewise.
19482 * manual/examples/mygetpass.c: Likewise.
19483 * manual/examples/pipe.c: Likewise.
19484 * manual/examples/popen.c: Likewise.
19485 * manual/examples/rprintf.c: Likewise.
19486 * manual/examples/search.c: Likewise.
19487 * manual/examples/select.c: Likewise.
19488 * manual/examples/setjmp.c: Likewise.
19489 * manual/examples/sigh1.c: Likewise.
19490 * manual/examples/sigusr.c: Likewise.
19491 * manual/examples/stpcpy.c: Likewise.
19492 * manual/examples/strdupa.c: Likewise.
19493 * manual/examples/strftim.c: Likewise.
19494 * manual/examples/strncat.c: Likewise.
19495 * manual/examples/subopt.c: Likewise.
19496 * manual/examples/swapcontext.c: Likewise.
19497 * manual/examples/termios.c: Likewise.
19498 * manual/examples/testopt.c: Likewise.
19499 * manual/examples/testpass.c: Likewise.
19500 * manual/examples/timeval_subtract.c: Likewise.
19501
01ae168d
RM
19502 [BZ #13792]
19503 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19504 function to ...
19505 * manual/timeval_subtract.c.texi: ... here, new file.
19506
49efa33d
DM
195072012-03-02 David S. Miller <davem@davemloft.net>
19508
19509 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19510
28afd92d
JM
195112012-03-02 Joseph Myers <joseph@codesourcery.com>
19512
804360ed
JM
19513 [BZ #3976]
19514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19515 (__sin): Save and restore rounding mode and use round-to-nearest
19516 for all computations.
19517 (__cos): Save and restore rounding mode and use round-to-nearest
19518 for all computations.
19519 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19520 <fenv.h>.
19521 (tan): Save and restore rounding mode and use round-to-nearest for
19522 all computations.
19523 * math/libm-test.inc (cos_test_tonearest): New function.
19524 (cos_test_towardzero): Likewise.
19525 (cos_test_downward): Likewise.
19526 (cos_test_upward): Likewise.
19527 (sin_test_tonearest): Likewise.
19528 (sin_test_towardzero): Likewise.
19529 (sin_test_downward): Likewise.
19530 (sin_test_upward): Likewise.
19531 (tan_test_tonearest): Likewise.
19532 (tan_test_towardzero): Likewise.
19533 (tan_test_downward): Likewise.
19534 (tan_test_upward): Likewise.
19535 (main): Call the new functions.
19536 * sysdeps/i386/fpu/libm-test-ulps: Update.
19537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19538
a6d06d7b
JM
19539 [BZ #10135]
19540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19541 small n, then large n, before computing and testing k+n.
19542 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19544 Likewise.
19545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19546 Likewise.
19547 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19548 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19554 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19555 * math/libm-test.inc (scalbn_test): Add more tests.
19556 (scalbln_test): Likewise.
19557
07e12bb3
JM
19558 * manual/filesys.texi (mode_t): Describe constraints on size and
19559 signedness, not exact equivalence to a particular type.
19560 (ino_t): Likewise.
19561 (ino64_t): Likewise.
19562 (dev_t): Likewise.
19563 (nlink_t): Likewise.
19564 (blkcnt_t): Likewise.
19565 (blkcnt64_t): Likewise.
19566 * manual/llio.texi (off_t): Likewise.
19567
28afd92d
JM
19568 [BZ #3976]
19569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19570 (__ieee754_exp): Save and restore rounding mode and use
19571 round-to-nearest for all computations.
19572 * math/libm-test.inc (exp_test_tonearest): New function.
19573 (exp_test_towardzero): Likewise.
19574 (exp_test_downward): Likewise.
19575 (exp_test_upward): Likewise.
19576 (main): Call the new functions.
19577 * sysdeps/i386/fpu/libm-test-ulps: Update.
19578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19579
b1eeb65d
CD
195802012-03-01 Chris Demetriou <cgd@google.com>
19581
19582 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19583 have predictable order.
19584
53362a4b
DM
195852012-03-01 David S. Miller <davem@davemloft.net>
19586
3c969083
DM
19587 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19588
759707de
DM
19589 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19590 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19591 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19592 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19593
dfdb8ff2
DM
19594 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19595 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19596 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19598 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19599 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19600 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19601 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19602 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19603
ead89f96
DM
19604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19605
7f66bd07
DM
19606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19607 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19609
53362a4b
DM
19610 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19619 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19620 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19626 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19627 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19628 * sysdeps/sparc/elf/configure: Regenerated.
19629
7b1902cb
JM
196302012-03-01 Joseph Myers <joseph@codesourcery.com>
19631
bec039bc
JM
19632 * configure.in (AS, LD): Require binutils 2.20 or later.
19633 * configure: Regenerated.
19634 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19635 as required minimum version.
19636 * INSTALL: Regenerated.
19637
7b1902cb
JM
19638 [BZ #2541]
19639 [BZ #4108]
19640 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19641 before squaring exponent.
19642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19643 bottom long double and 27 bits of top long double before squaring
19644 exponent.
19645 * math/libm-test.inc (erfc_test): Add more tests.
19646 * sysdeps/i386/fpu/libm-test-ulps: Update.
19647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19649
f775c276
KT
196502012-03-01 Kai Tietz <ktietz@redhat.com>
19651
19652 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19653 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19654 containing bit-fields.
19655 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19656 * soft-fp/single.h (_FP_UNION_S): Likewise.
19657 * soft-fp/double.h (_FP_UNION_D): Likewise.
19658
5b8a4d4a
JM
196592012-02-29 Joseph Myers <joseph@codesourcery.com>
19660
0bab47b6
JM
19661 [BZ #13786]
19662 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19663 not include ../strcmp.S.
19664 [USE_AS_STRNCASECMP_L]: Likewise.
19665 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19666 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19667 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19668 (__strncasecmp_l_ia32): Define as alias to
19669 __strncasecmp_l_nonascii.
19670
0fcad3e2
JM
19671 [BZ #5794]
19672 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19673 * sysdeps/i386/fpu/libm-test-ulps: Update.
19674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19675
5b8a4d4a
JM
19676 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678
8fdceb2e
JL
196792012-02-29 Jeff Law <law@redhat.com>
19680
19681 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19682 out of bounds read.
19683
1f393a11
MP
196842012-02-29 Marek Polacek <polacek@redhat.com>
19685
19686 [BZ #13706]
19687 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19688 * elf/Makefile: Add rules to run tst-unused-dep.out.
19689
8847f037
DM
196902012-02-28 David S. Miller <davem@davemloft.net>
19691
19692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19696 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19697 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19698
169d7f11
JM
196992012-02-29 Joseph Myers <joseph@codesourcery.com>
19700
19701 * math/libm-test.inc (llround_test): Move one test from
19702 lround_test. Use TEST_f_L in moved test.
19703 (lround_test): Move misplaced test to llround_test. Add testcase
19704 from bug 2561.
19705
39adf059
UD
197062012-02-28 Ulrich Drepper <drepper@gmail.com>
19707
19708 * sysdeps/x86_64/fpu/e_expf.S: New file.
19709 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19710
71b5d1c5
SB
197112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19712
19713 [BZ #13637]
19714 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19715 of remain_len that may cause incomplete multi-byte character and
19716 false match.
19717 * posix/bug-regex33.c: New file.
19718 * posix/Makefile (tests): Add bug-regex33.
19719
1f77f049
JM
197202012-02-28 Joseph Myers <joseph@codesourcery.com>
19721
19722 * manual/macros.texi: New file.
19723 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19724 * manual/libc.texinfo: Include macros.texi.
19725 * manual/creatute.texi: Likewise.
19726 * manual/install.texi: Likewise.
19727 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19728 @glibcadj{} in references to the GNU C Library.
19729 * manual/charset.texi: Likewise.
19730 * manual/conf.texi: Likewise.
19731 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19732 when not using those macros.
19733 * manual/creature.texi: Likewise.
19734 * manual/crypt.texi: Likewise.
19735 * manual/errno.texi: Likewise.
19736 * manual/filesys.texi: Likewise.
19737 * manual/header.texi: Likewise.
19738 * manual/install.texi: Likewise.
19739 * manual/intro.texi: Likewise.
19740 * manual/io.texi: Likewise.
19741 * manual/job.texi: Likewise.
19742 * manual/lang.texi: Likewise.
19743 * manual/libc.texiinfo: Likewise.
19744 * manual/llio.texi: Likewise.
19745 * manual/locale.texi: Likewise.
19746 * manual/maint.texi: Likewise.
19747 * manual/math.texi: Likewise.
19748 * manual/memory.texi: Likewise.
19749 * manual/message.texi: Likewise.
19750 * manual/nss.texi: Likewise.
19751 * manual/pattern.texi: Likewise.
19752 * manual/process.texi: Likewise.
19753 * manual/resource.texi: Likewise.
19754 * manual/search.texi: Likewise.
19755 * manual/setjmp.texi: Likewise.
19756 * manual/signal.texi: Likewise.
19757 * manual/socket.texi: Likewise.
19758 * manual/startup.texi: Likewise.
19759 * manual/stdio.texi: Likewise.
19760 * manual/string.texi: Likewise.
19761 * manual/sysinfo.texi: Likewise.
19762 * manual/syslog.texi: Likewise.
19763 * manual/terminal.texi: Likewise.
19764 * manual/time.texi: Likewise.
19765 * manual/users.texi: Likewise.
19766 * INSTALL: Regenerated.
19767 * NOTES: Regenerated.
d40c5d54 19768 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19769
450bf206
AS
197702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19771
19772 * include/dirent.h: Include <dirstream.h> before
19773 <dirent/dirent.h>.
19774
741a235b
DM
197752012-02-28 David S. Miller <davem@davemloft.net>
19776
19777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19778 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19779 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19780 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19781
d6b5aa58
DM
197822012-02-27 David S. Miller <davem@davemloft.net>
19783
1aff59a3
DM
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19786 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19787 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19788
d6b5aa58
DM
19789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19790 frame pointer instead of stack pointer relative arg slot.
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19794
433f48bf
CD
197952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19796
19797 [BZ #3992]
19798 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19799
d674b76d
DM
198002012-02-27 David S. Miller <davem@davemloft.net>
19801
19802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19810
0e7727f7
JM
198112012-02-27 Joseph Myers <joseph@codesourcery.com>
19812
19813 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19814 later. Allow versions 5-9.
43be4ca2 19815 * configure: Regenerated.
0e7727f7
JM
19816 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19817 required minimum version and 4.6 as recommended version. Do not
19818 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19819 * INSTALL: Regenerated.
0e7727f7 19820
a78bc654
DM
198212012-02-27 David S. Miller <davem@davemloft.net>
19822
428d5830
DM
19823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19829 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19831
a78bc654
DM
19832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19833 manipulate bits before adding and subtracting TWO112[sx].
19834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19835
4579f81c
RM
198362012-02-27 Roland McGrath <roland@hack.frob.com>
19837
36c8acb4
RM
19838 [BZ #13775]
19839 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19840 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19841 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19842 being in POSIX, because they are in 1003.1-2008.
19843
84ad622b
RM
19844 * rt/tst-aio.c: Include <fcntl.h>.
19845 * rt/tst-aio7.c: Likewise.
19846 * rt/tst-aio64.c: Likewise.
19847
4579f81c
RM
19848 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19849
abd923db
JM
198502012-02-27 Joseph Myers <joseph@codesourcery.com>
19851
19852 * manual/install.texi (--with-headers): Describe headers as
19853 interface headers, not private headers.
19854 (Specific advice for GNU/Linux systems): Describe use of headers
19855 from "make headers_install", not private headers from older
19856 kernels.
43be4ca2 19857 * INSTALL: Regenerated.
abd923db
JM
19858 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19859 Change to 2.6.19.
19860 * sysdeps/unix/sysv/linux/configure: Regenerated.
19861
6664049b
JM
19862 * manual/llio.texi (fclean): Remove documentation.
19863
bb8b6697
JM
19864 * manual/Makefile (libc-texi-generated): New variable. Include
19865 version.texi.
19866 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19867 $(libc-texi-generated), not duplicated list of files.
19868 (version.texi, stamp-version): New rules.
19869 (realclean): Remove $(libc-texi-generated), not individual files
19870 from that list. Do not remove dir-add.texinfo.
19871 * manual/libc.texinfo: Comment out uses of edition numbers and
19872 references to printed manual. Remove last-updated dates.
19873 (EDITION): Comment out.
19874 (ISBN): Likewise.
19875 (VERSION, UPDATED): Remove.
19876 (version.texi): Include.
19877
12e5c3b9
AS
198782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19879
19880 * sysdeps/posix/spawni.c: Include <signal.h>.
19881 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19882 * sysdeps/pthread/aio_fsync.c: Likewise.
19883
4efeffc1 198842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19885
ba63ba08
UD
19886 * conform/Makefile (tests): Run only when not cross-compiling and
19887 when fast-check is not defined.
19888
d94a4670
UD
19889 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19890 * conform/data/limits.h-data: Fixes for POSIX2008.
19891 * conform/run-conformtest.sh: Run all tests.
19892 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19893 headers.
19894 * include/bits/dlfcn.h: Likewise.
19895 * include/langinfo.h: Likewise.
19896 * include/monetary.h: Likewise.
19897 * include/sys/poll.h: Likewise.
19898
19899 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19900 for __USE_GNU.
19901 * posix/spawn.h: Define __need_sigset_t.
19902 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19903 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19904 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19905 to get sigevent_t only.
19906 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19907 only for __USE_GNU.
19908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19910 process_vm_writev only for __USE_GNU.
19911 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19912
19913 * conform/Makefile: For now ignore errors from run-conformtest.
19914 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19915 POSIX to avoid namespace pollution. Don't prepend headers.
19916 * conform/data/aio.h-data: Fixes for POSIX testing.
19917 * conform/data/fcntl.h-data: Likewise.
19918 * conform/data/glob.h-data: Likewise.
19919 * conform/data/grp.h-data: Likewise.
19920 * conform/data/pthread.h-data: Likewise.
19921 * conform/data/pwd.h-data: Likewise.
19922 * conform/data/signal.h-data: Likewise.
19923 * conform/data/spawn.h-data: Likewise.
19924 * conform/data/stdio.h-data: Likewise.
19925 * conform/data/stdlib.h-data: Likewise.
19926 * conform/data/stropts.h-data: Likewise.
19927 * conform/data/sys/mman.h-data: Likewise.
19928 * conform/data/sys/stat.h-data: Likewise.
19929 * conform/data/sys/types.h-data: Likewise.
19930 * conform/data/sys/wait.h-data: Likewise.
19931 * conform/data/time.h-data: Likewise.
19932 * conform/data/unistd.h-data: Likewise.
19933 * conform/data/utime.h-data: Likewise.
19934
19935 * io/sys/stat.h: fchmod was always in POSIX.
19936 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19937 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19938 * rt/aio.h: Define __need_timespec before including <time.h>.
19939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19940 struct. Add forward declaration of pthread_attr_t and use it in
19941 sigevent.
19942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19944 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19945 always remove CLK_TCK definition.
19946
c20105c3
AS
199472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19948
19949 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19950
7a270350
UD
199512012-02-25 Ulrich Drepper <drepper@gmail.com>
19952
31341567
UD
19953 * conform/run-conformtest.sh: New file.
19954 * conform/Makefile: Run run-conformtest for tests.
19955 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19956 support.
19957
19958 * conform/data/uchar.h-data: New file.
19959 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19960 * conform/data/arpa/inet.h-data: Likewise.
19961 * conform/data/assert.h-data: Likewise.
19962 * conform/data/complex.h-data: Likewise.
19963 * conform/data/cpio.h-data: Likewise.
19964 * conform/data/ctype.h-data: Likewise.
19965 * conform/data/dirent.h-data: Likewise.
19966 * conform/data/dlfcn.h-data: Likewise.
19967 * conform/data/errno.h-data: Likewise.
19968 * conform/data/fcntl.h-data: Likewise.
19969 * conform/data/float.h-data: Likewise.
19970 * conform/data/fmtmsg.h-data: Likewise.
19971 * conform/data/fnmatch.h-data: Likewise.
19972 * conform/data/ftw.h-data: Likewise.
19973 * conform/data/glob.h-data: Likewise.
19974 * conform/data/grp.h-data: Likewise.
19975 * conform/data/iconv.h-data: Likewise.
19976 * conform/data/inttypes.h-data: Likewise.
19977 * conform/data/langinfo.h-data: Likewise.
19978 * conform/data/libgen.h-data: Likewise.
19979 * conform/data/limits.h-data: Likewise.
19980 * conform/data/locale.h-data: Likewise.
19981 * conform/data/math.h-data: Likewise.
19982 * conform/data/monetary.h-data: Likewise.
19983 * conform/data/mqueue.h-data: Likewise.
19984 * conform/data/ndbm.h-data: Likewise.
19985 * conform/data/net/if.h-data: Likewise.
19986 * conform/data/netdb.h-data: Likewise.
19987 * conform/data/netinet/in.h-data: Likewise.
19988 * conform/data/nl_types.h-data: Likewise.
19989 * conform/data/poll.h-data: Likewise.
19990 * conform/data/pthread.h-data: Likewise.
19991 * conform/data/pwd.h-data: Likewise.
19992 * conform/data/regex.h-data: Likewise.
19993 * conform/data/sched.h-data: Likewise.
19994 * conform/data/search.h-data: Likewise.
19995 * conform/data/semaphore.h-data: Likewise.
19996 * conform/data/setjmp.h-data: Likewise.
19997 * conform/data/signal.h-data: Likewise.
19998 * conform/data/spawn.h-data: Likewise.
19999 * conform/data/stdarg.h-data: Likewise.
20000 * conform/data/stdio.h-data: Likewise.
20001 * conform/data/stdlib.h-data: Likewise.
20002 * conform/data/string.h-data: Likewise.
20003 * conform/data/strings.h-data: Likewise.
20004 * conform/data/stropts.h-data: Likewise.
20005 * conform/data/sys/ipc.h-data: Likewise.
20006 * conform/data/sys/mman.h-data: Likewise.
20007 * conform/data/sys/msg.h-data: Likewise.
20008 * conform/data/sys/resource.h-data: Likewise.
20009 * conform/data/sys/select.h-data: Likewise.
20010 * conform/data/sys/sem.h-data: Likewise.
20011 * conform/data/sys/shm.h-data: Likewise.
20012 * conform/data/sys/socket.h-data: Likewise.
20013 * conform/data/sys/stat.h-data: Likewise.
20014 * conform/data/sys/statvfs.h-data: Likewise.
20015 * conform/data/sys/time.h-data: Likewise.
20016 * conform/data/sys/timeb.h-data: Likewise.
20017 * conform/data/sys/times.h-data: Likewise.
20018 * conform/data/sys/types.h-data: Likewise.
20019 * conform/data/sys/uio.h-data: Likewise.
20020 * conform/data/sys/un.h-data: Likewise.
20021 * conform/data/sys/utsname.h-data: Likewise.
20022 * conform/data/sys/wait.h-data: Likewise.
20023 * conform/data/syslog.h-data: Likewise.
20024 * conform/data/tar.h-data: Likewise.
20025 * conform/data/termios.h-data: Likewise.
20026 * conform/data/utime.h-data: Likewise.
20027 * conform/data/utmpx.h-data: Likewise.
20028 * conform/data/varargs.h-data: Likewise.
20029 * conform/data/wchar.h-data: Likewise.
20030 * conform/data/wctype.h-data: Likewise.
20031 * conform/data/wordexp.h-data: Likewise.
20032
20033 * include/stropts.h: New file.
20034 * include/uchar.h: New file.
20035 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20036 * include/assert.h: Likewise.
20037 * include/ctype.h: Likewise.
20038 * include/dirent.h: Likewise.
20039 * include/dlfcn.h: Likewise.
20040 * include/fcntl.h: Likewise.
20041 * include/fnmatch.h: Likewise.
20042 * include/glob.h: Likewise.
20043 * include/grp.h: Likewise.
20044 * include/libio.h: Likewise.
20045 * include/locale.h: Likewise.
20046 * include/math.h: Likewise.
20047 * include/net/if.h: Likewise.
20048 * include/netdb.h: Likewise.
20049 * include/netinet/in.h: Likewise.
20050 * include/pthread.h: Likewise.
20051 * include/pwd.h: Likewise.
20052 * include/regex.h: Likewise.
20053 * include/sched.h: Likewise.
20054 * include/search.h: Likewise.
20055 * include/setjmp.h: Likewise.
20056 * include/signal.h: Likewise.
20057 * include/stdio.h: Likewise.
20058 * include/stdlib.h: Likewise.
20059 * include/string.h: Likewise.
20060 * include/sys/cdefs.h: Likewise.
20061 * include/sys/mman.h: Likewise.
20062 * include/sys/msg.h: Likewise.
20063 * include/sys/resource.h: Likewise.
20064 * include/sys/select.h: Likewise.
20065 * include/sys/socket.h: Likewise.
20066 * include/sys/stat.h: Likewise.
20067 * include/sys/statvfs.h: Likewise.
20068 * include/sys/time.h: Likewise.
20069 * include/sys/times.h: Likewise.
20070 * include/sys/uio.h: Likewise.
20071 * include/sys/utsname.h: Likewise.
20072 * include/sys/wait.h: Likewise.
20073 * include/termios.h: Likewise.
20074 * include/time.h: Likewise.
20075 * include/ulimit.h: Likewise.
20076 * include/unistd.h: Likewise.
20077 * include/utime.h: Likewise.
20078 * include/wchar.h: Likewise.
20079 * include/wctype.h: Likewise.
20080 * include/wordexp.h: Likewise.
20081
20082 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20083
7a270350
UD
20084 * time/time.h: TIME_UTC must be a macro.
20085 Make timespec_get available for ISO C11 only as well.
20086
7724defc
UD
200872012-02-24 Ulrich Drepper <drepper@gmail.com>
20088
20089 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20090 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20091
6b1d1d46
JM
200922012-02-24 Joseph Myers <joseph@codesourcery.com>
20093
20094 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20095
0f8bbd69
JM
200962012-02-24 Joseph Myers <joseph@codesourcery.com>
20097
20098 * manual/texinfo.tex: Update to version 2012-01-19.16.
20099
66ab80bc
JM
201002012-02-24 Joseph Myers <joseph@codesourcery.com>
20101
20102 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20103
74981cc5
RM
201042012-02-24 Roland McGrath <roland@hack.frob.com>
20105
ee968201
RM
20106 [BZ #13738]
20107 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20108 * manual/fdl-1.3.texi: New file.
20109 * manual/fdl-1.1.texi: File removed.
20110
74981cc5
RM
20111 [BZ #13738]
20112 * manual/libc.texinfo (FDL_VERSION): New @set.
20113 Use it for mention of FDL in cover text.
20114 (Documentation License): Use it in @include file name.
20115
7bb764bc
JM
201162012-02-22 Joseph Myers <joseph@codesourcery.com>
20117 Roland McGrath <roland@hack.frob.com>
20118
20119 [BZ #5461]
20120 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20121 not LONG_LONG_MAX and LONG_LONG_MIN.
20122 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20123 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20124 name.
20125 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20126
6cbeae47
JM
201272012-02-22 Joseph Myers <joseph@codesourcery.com>
20128
20129 [BZ #2547]
20130 [BZ #11365]
20131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20132 manipulate bits before adding and subtracting TWO23[sx].
20133 * math/libm-test.inc (nearbyint_test): Add more tests.
20134
fe45ce09
JM
201352012-02-22 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #2548]
20138 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20139 bits before adding and subtracting TWO23[sx].
20140 * math/libm-test.inc (rint_test): Add more tests.
20141 (rint_test_tonearest): Likewise.
20142 (rint_test_towardzero): Likewise.
20143 (rint_test_downward): Likewise.
20144 (rint_test_upward: Likewise.
20145
ff3b3d82
JM
201462012-02-22 Joseph Myers <joseph@codesourcery.com>
20147
20148 [BZ #10110]
20149 * include/stdc-predef.h: New file. Extracted from features.h.
20150 * include/features.h: Include stdc-predef.h.
20151 * Makefile (headers): Add stdc-predef.h.
20152 * CONFORMANCE (Compiler limitations): Update.
20153
ef0aab35
JM
201542012-02-22 Joseph Myers <joseph@codesourcery.com>
20155
20156 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20157
58639409
DM
201582012-02-21 David S. Miller <davem@davemloft.net>
20159
20160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20162
c0e70b25
DM
201632012-02-20 David S. Miller <davem@davemloft.net>
20164
20165 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20166 using a normal save/restore sequence, rather than allocating a
20167 dummy stack frame just to store a frame pointer and restore.
20168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20169
fb06851d
JM
201702012-02-21 Joseph Myers <joseph@codesourcery.com>
20171
20172 * manual/install.texi: Fix stray word in line-wrapped comment.
20173
7a8b71c3
DM
201742012-02-20 David S. Miller <davem@davemloft.net>
20175
d510c123
DM
20176 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20177 both binutils and gcc support GOTDATA.
20178
0722d7c2
DM
20179 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20180 "rd %pc" in the PIC register setup sequences.
20181
3d2b3019
DM
20182 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20184 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20191 (SYSCALL_ERROR_HANDLER): Likewise.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20195 (SYSCALL_ERROR_HANDLER): Likewise.
20196
c80098a9
DM
20197 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20198 (HAVE_GCC_GOTDATA): New.
20199 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20200 relocation support in both binutils and gcc.
20201 * sysdeps/sparc/elf/configure: Regenerate.
20202
3a2545a0
DM
20203 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20204 * sysdeps/sparc/sparc32/elf/configure: Delete.
20205 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20206 * sysdeps/sparc/sparc64/elf/configure: Delete.
20207 * sysdeps/sparc/elf/configure.in: New file.
20208 * sysdeps/sparc/elf/configure: Generate.
20209
7a8b71c3
DM
20210 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20211 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20213 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20214 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20215
f1e86fca
JM
202162012-02-21 Joseph Myers <joseph@codesourcery.com>
20217
20218 * manual/install.texi: Do not mention specific glibc version
20219 numbers.
20220 * manual/libc.texinfo (VERSION, UPDATED): Update.
20221 (@copying): Use @copyright{} and range of years.
20222
0e7dfaef
JM
202232012-02-21 Joseph Myers <joseph@codesourcery.com>
20224
20225 [BZ #13695]
20226 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20227 [crti.S not in sysdirs] (generated): Do not append.
20228 [crti.S not in sysdirs] (omit-deps): Likewise.
20229 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20230 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20231 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20232 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20233 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20234 Likewise.
20235 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20236 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20237 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20238 * csu/defs.awk: Remove file.
20239 * sysdeps/generic/initfini.c: Likewise.
20240 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20241 variable.
20242 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20243 Likewise.
20244
599af3ca
JM
202452012-02-20 Joseph Myers <joseph@codesourcery.com>
20246
20247 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20252 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20253 <bits/epoll.h>.
20254 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20255 (__EPOLL_PACKED): Define to empty if not defined by
20256 <bits/epoll.h>.
20257 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20259 bits/epoll.h.
20260
0e499750
JM
202612012-02-20 Joseph Myers <joseph@codesourcery.com>
20262
20263 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20264 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20267 <bits/timerfd.h>.
20268 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20270 bits/timerfd.h.
20271
5ad91f6e
JM
202722012-02-20 Joseph Myers <joseph@codesourcery.com>
20273
20274 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20275 in C locale.
20276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20280
06b99b02
AJ
202812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20282
20283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20285
7638c0fd
AS
202862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20287
20288 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20289 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20290 defined.
20291 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20292 Likewise.
20293 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20294 entry for 2.16.
20295
92221550
AJ
202962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20297
20298 * math/w_acos.c: Use non-signaling floating-point comparisons.
20299 * math/w_acosf.c: Likewise.
20300 * math/w_acosh.c: Likewise.
20301 * math/w_acoshf.c: Likewise.
20302 * math/w_acoshl.c: Likewise.
20303 * math/w_acosl.c: Likewise.
20304 * math/w_asin.c: Likewise.
20305 * math/w_asinf.c: Likewise.
20306 * math/w_asinl.c: Likewise.
20307 * math/w_atanh.c: Likewise.
20308 * math/w_atanhf.c: Likewise.
20309 * math/w_atanhl.c: Likewise.
20310 * math/w_exp2.c: Likewise.
20311 * math/w_exp2f.c: Likewise.
20312 * math/w_exp2l.c: Likewise.
20313 * math/w_j0.c: Likewise.
20314 * math/w_j0f.c: Likewise.
20315 * math/w_j0l.c: Likewise.
20316 * math/w_j1.c: Likewise.
20317 * math/w_j1f.c: Likewise.
20318 * math/w_j1l.c: Likewise.
20319 * math/w_jn.c: Likewise.
20320 * math/w_jnf.c: Likewise.
20321 * math/w_log.c: Likewise.
20322 * math/w_log10.c: Likewise.
20323 * math/w_log10f.c: Likewise.
20324 * math/w_log10l.c: Likewise.
20325 * math/w_log2.c: Likewise.
20326 * math/w_log2f.c: Likewise.
20327 * math/w_log2l.c: Likewise.
20328 * math/w_logf.c: Likewise.
20329 * math/w_logl.c: Likewise.
20330 * math/w_sqrt.c: Likewise.
20331 * math/w_sqrtf.c: Likewise.
20332 * math/w_sqrtl.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20338
ebaf36eb
JM
203392012-02-19 Joseph Myers <joseph@codesourcery.com>
20340
20341 [BZ #9739]
20342 * manual/string.texi (strnlen): Use correct parameter name in
20343 equivalent expression.
20344
71c254a6
JM
203452012-02-19 Joseph Myers <joseph@codesourcery.com>
20346
20347 [BZ #11174]
20348 * manual/users.texi (seteuid): Consistently use neweuid for
20349 argument name.
20350
16d2c631
JM
203512012-02-19 Joseph Myers <joseph@codesourcery.com>
20352
20353 [BZ #13704]
20354 * manual/nss.texi (Services in the NSS configuration): Correct
20355 list of services in example configuration file.
20356
cd837b09
NB
203572012-02-19 Nick Bowler <nbowler@draconx.ca>
20358
20359 [BZ #11322]
20360 * manual/arith.texi: Remove statements about negative zero
20361 behaving identically to zero.
20362
02c4bbad
JM
203632012-02-18 Joseph Myers <joseph@codesourcery.com>
20364
20365 [BZ #5993]
20366 * manual/install.texi: Do not document upgrading from libc5.
20367
366842e7
JM
203682012-02-18 Joseph Myers <joseph@codesourcery.com>
20369
20370 [BZ #4596]
20371 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20372
dd54084d
DM
203732012-02-18 David S. Miller <davem@davemloft.net>
20374
20375 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20376 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20377 %o7 across the call.
20378 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20379 instead.
20380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20381 SETUP_PIC_REG_LEAF.
20382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20383 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20384 * sysdeps/sparc/crtn.S: Likewise.
20385
2bcc53a3
UD
203862012-02-17 Ulrich Drepper <drepper@gmail.com>
20387
20388 * aout/Makefile: Remove.
20389
09c093b5
RK
203902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20391
20392 [BZ #13058]
20393 * manual/examples/argp-ex1.c (main): Format definition in GNU
20394 style.
20395 * manual/examples/argp-ex2.c (main): Likewise.
20396 * manual/examples/argp-ex3.c (main): Likewise.
20397 * manual/examples/argp-ex4.c (main): Likewise.
20398 * manual/examples/longopt.c (main): Use new-style prototype
20399 definition.
20400 * manual/examples/strncat.c (main): Specify return type and use
20401 (void) for arguments.
20402 * manual/examples/subopt.c (main): Use char **argv argument.
20403
2ee633a2
JM
204042012-02-17 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #5077]
20407 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20408 rounding modes.
20409
0520adde
FB
204102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20411
20412 [BZ #6907]
20413 * manual/string.texi (strchr): Change when strchrnul is
20414 recommended.
20415
3f4081cd
DGM
204162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20417
20418 [BZ #174]
20419 * manual/locale.texi (setlocale): Document LOCPATH.
20420
d1b10e78
JM
204212012-02-17 Joseph Myers <joseph@codesourcery.com>
20422
20423 [BZ #10210]
20424 * manual/process.texi (execle): Move @dots{} before last argument.
20425
79c6869c
PB
204262012-02-17 Paul Bolle <pebolle@tiscali.nl>
20427
20428 [BZ #12047]
20429 * manual/charset.texi (Generic Charset Conversion): Fix typo
20430 (LC_TYPE -> LC_CTYPE).
20431
cc6e48bc
NB
204322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20433
20434 [BZ #5805]
20435 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20436 (scalbnf): Likewise.
20437 (scalbnl): Likewise.
20438 (scalbln): Likewise.
20439 (scalblnf): Likewise.
20440 (scalblnl): Likewise.
20441 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20442 (vwarnx): Likewise.
20443 (verr): Likewise.
20444 (verrx): Likewise.
20445 * manual/filesys.texi (telldir): Use braces around return type.
20446 * manual/llio.texi (mmap): Add space after comma.
20447 (mmap64): Likewise.
20448 * manual/math.texi (jn): Use @var{} on parameter names.
20449 (jnf): Likewise.
20450 (jnl): Likewise.
20451 (yn): Likewise.
20452 (ynf): Likewise.
20453 (ynl): Likewise.
20454 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20455 line.
20456 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20457 "...".
20458 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20459 (sched_get_priority_max): Likewise.
20460 * manual/signal.texi (sigvec): Add space after comma.
20461 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20462 names.
20463 (if_indextoname): Likewise.
20464 (if_freenameindex): Likewise.
20465 (sendto): Use ',' instead of '.' in prototype.
20466 * manual/startup.texi (syscall): Use @dots{} instead of literal
20467 "...".
20468 * manual/stdio.texi (__fpending): Separate initial words of
20469 paragraph from @deftypefun line.
20470 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20471 "...".
20472 (vsyslog): Use @var{} on parameter names.
20473 * manual/terminal.texi (stty): Use @var{} on parameter names.
20474 * manual/users.texi (getutmp): Use @var{} on parameter names.
20475 (getutmpx): Likewise.
20476
5b23062f
JM
204772012-02-17 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #6884]
20480 * manual/stdio.texi (fopen): Fix typos in description of
20481 ",ccs=STRING".
20482
8dee4833
AJ
204832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20484
20485 [BZ #4026]
20486 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20487 get clock_id definition.
20488
9078ce93
TS
204892012-02-17 Thomas Schwinge <thomas@schwinge.name>
20490
20491 [BZ #4822]
20492 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20493 (madvise): Cast every argument to void on its own.
20494
3835c55f
JM
204952012-02-17 Joseph Myers <joseph@codesourcery.com>
20496
20497 [BZ #9902]
20498 * manual/startup.texi (Exit Status): Fix typo.
20499
35c47e37
JM
205002012-02-17 Joseph Myers <joseph@codesourcery.com>
20501
20502 [BZ #10140]
20503 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20504 * manual/examples/argp-ex2.c: Likewise.
20505 * manual/examples/argp-ex3.c: Likewise.
20506
e3b69ca7
RH
205072012-02-16 Richard Henderson <rth@redhat.com>
20508
20509 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20510 * sysdeps/s390/s390-32/initfini.c: Remove.
20511 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20512 * sysdeps/s390/s390-64/initfini.c: Remove.
20513
df83af67
KK
205142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20515
20516 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20517 compiler output for sysdeps/generic/initfini.c.
20518 * sysdeps/sh/elf/initfini.c: Remove file.
20519
f63f3380
DM
205202012-02-16 David S. Miller <davem@davemloft.net>
20521
fb59b3a4
DM
20522 [BZ #11494]
20523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20524
f63f3380
DM
20525 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20526 * sysdeps/sparc/crti.S: New file.
20527 * sysdeps/sparc/crtn.S: New file.
20528 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20529 * sysdeps/sparc/sparc64/Makefile: Likewise.
20530
df6a4a4a
MF
205312012-02-15 Mike Frysinger <vapier@gentoo.org>
20532
6dd8f3dc 20533 [BZ #3335]
df6a4a4a
MF
20534 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20535
1cac7236
RM
205362012-02-15 Roland McGrath <roland@hack.frob.com>
20537
d2c736f8
RM
20538 [BZ #4822]
20539 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20540
1cac7236
RM
20541 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20542 (write, read, close): Likewise.
20543 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20544
8e475601
JM
205452012-02-15 Joseph Myers <joseph@codesourcery.com>
20546
20547 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20548 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20549 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20550 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20551 <bits/signalfd.h>.
20552 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20554 bits/signalfd.h.
20555
ed656b40
MP
205562012-02-14 Marek Polacek <polacek@redhat.com>
20557
20558 * sysdeps/x86_64/crti.S: New file.
20559 * sysdeps/x86_64/crtn.S: New file.
20560 * sysdeps/x86_64/elf/initfini.c: Remove file.
20561
2a979d3a
JM
205622012-02-13 Joseph Myers <joseph@codesourcery.com>
20563
20564 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20565 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20566 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20567 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20568 <bits/inotify.h>.
20569 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20571 bits/inotify.h.
20572
2a418ac3
JM
205732012-02-13 Joseph Myers <joseph@codesourcery.com>
20574
20575 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20576 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20577 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20578 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20579 <bits/eventfd.h>.
20580 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20582 bits/eventfd.h.
20583
fb779be7
TS
205842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20585
e19e83c5
RM
20586 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20587 __feraiseexcept instead of feraiseexcept.
7c35ffed 20588
fb779be7
TS
20589 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20590 nanosleep invocations.
20591 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20592 strings, and add error checking for a nanosleep invocations.
20593
59ba27a6
PE
205942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20595
20596 Replace FSF snail mail address with URLs, as per GNU coding standards.
20597 Most of the snail mail addresses were wrong anyway, and omitting
20598 them makes the source code easier to maintain. Almost all of the
20599 changes are to license notices and to locale LC_IDENTIFICATION
20600 addresses, except for this one:
20601 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20602 not its snail mail address.
20603
57b957eb
RH
206042012-02-09 Richard Henderson <rth@twiddle.net>
20605
af850b1c
RH
20606 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20607 of kernel-features.h.
20608
57b957eb
RH
20609 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20610
6b73181a
MP
206112012-02-08 Marek Polacek <polacek@redhat.com>
20612
20613 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20614 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20615 * sysdeps/gnu/_G_config.h: Likewise.
20616 * sysdeps/generic/_G_config.h: Likewise.
20617
26ecc33a
AS
206182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20619
6c6dbc63
AS
20620 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20621 tests.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623
e216c012
AS
20624 * sysdeps/powerpc/powerpc32/crti.S: New file.
20625 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20626 * sysdeps/powerpc/powerpc64/crti.S: New file.
20627 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20628
26ecc33a
AS
20629 * Makeconfig (have-initfini): Don't set.
20630 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20631 * configure.in (nopic_initfini): Don't substitute.
20632 * config.h.in (HAVE_INITFINI): Don't #undef.
20633 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20634 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20635
3add8e13
JM
206362012-02-08 Joseph Myers <joseph@codesourcery.com>
20637
20638 Support crti.S and crtn.S provided directly by architectures.
20639 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20640 [crti.S in sysdirs] (omit-deps): Likewise.
20641 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20642 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20643 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20644 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20645 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20646 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20647 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20648 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20649 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20650 compiler output for sysdeps/generic/initfini.c.
20651 * sysdeps/i386/elf/Makefile: Remove file.
20652 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20653
a22f12b4
MP
206542012-02-07 Marek Polacek <polacek@redhat.com>
20655
20656 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20657 * sysdeps/gnu/_G_config.h: Likewise.
20658 * sysdeps/mach/hurd/_G_config.h: Likewise.
20659
148cf100
MP
206602012-02-07 Marek Polacek <polacek@redhat.com>
20661
20662 * math/Makefile (tests): Add tst-CMPLX2.
20663 * math/tst-CMPLX2.c: New file.
20664
cfdc0dd7
AS
206652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20666
84ba42c4
AS
20667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20668
cfdc0dd7
AS
20669 * math/libm-test.inc (jn_test): Add missing L suffix.
20670
622c86f4
MP
206712012-02-06 Marek Polacek <polacek@redhat.com>
20672
20673 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20674 * sysdeps/i386/fpu/e_powf.S: Likewise.
20675 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20678 * sysdeps/i386/fpu/e_pow.S: Likewise.
20679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20683 * sysdeps/i386/fpu/e_log2.S: Likewise.
20684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20686 * sysdeps/i386/fpu/e_powl.S: Likewise.
20687 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20690 * sysdeps/i386/fpu/e_logl.S: Likewise.
20691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20692 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20697 * sysdeps/i386/fpu/e_log.S: Likewise.
20698 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20700 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20701 * sysdeps/i386/fpu/e_logf.S: Likewise.
20702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20704 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20706 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20707 * sysdeps/i386/fpu/e_log10.S: Likewise.
20708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20714 * sysdeps/i386/asm-syntax.h: Likewise.
20715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20718 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20719 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20724 * sysdeps/powerpc/sysdep.h: Likewise.
20725 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20727
d4a54ac6
JM
207282012-02-06 Joseph Myers <joseph@codesourcery.com>
20729
20730 [BZ #411]
20731 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20732
314054ea
JM
207332012-02-06 Joseph Myers <joseph@codesourcery.com>
20734
20735 * sysdeps/i386/sysdep.h: Include <features.h>.
20736 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20737 version.
20738
d8e0ca50
JM
207392012-02-05 Joseph Myers <joseph@codesourcery.com>
20740
20741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20742 Define.
20743 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20744 LOAD_PIC_REG_STR.
20745
b1da7dd9
JM
207462012-02-03 Joseph Myers <joseph@codesourcery.com>
20747
20748 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20749 (SETUP_PIC_REG): Use GET_PC_THUNK.
20750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20751 macro.
20752
9a1d9254
JM
207532012-02-03 Joseph Myers <joseph@codesourcery.com>
20754
20755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20756 for non-PIC compilation.
20757 (SETUP_PIC_REG): Add .p2align directive.
20758 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20759 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20775 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20776 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20777 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20786 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20787 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20788 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20790 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20799
65dc3b75
JM
208002012-02-03 Joseph Myers <joseph@codesourcery.com>
20801
20802 * math/tst-CMPLX.c: Include <stdio.h>.
20803
d55bf177
JM
208042012-01-31 Joseph Myers <joseph@codesourcery.com>
20805
20806 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20807 float.
20808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20809 * sysdeps/sparc/bits/mathdef.h: Likewise.
20810
69db4f8f
MP
208112012-01-31 Marek Polacek <polacek@redhat.com>
20812
20813 * libio/libio.h: Don't define _PARAMS.
20814 * locale/programs/config.h: Don't define PARAMS.
20815 * stdlib/strtol_l.c: Likewise.
20816 (__strtol_l): Remove PARAMS from the prototype.
20817
41b81892
UD
208182012-01-31 Ulrich Drepper <drepper@gmail.com>
20819
3b49edc0
UD
20820 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20821 names. Just use the correct names. Remove unnecessary wrapper
20822 functions.
20823 * malloc/arena.c: Likewise.
20824 * malloc/hooks.c: Likewise.
20825
41b81892
UD
20826 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20827 ARENA_TEST says not to. Simplify test for creation of a new arena.
20828 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20829
27a25b6e
UD
208302012-01-30 Ulrich Drepper <drepper@gmail.com>
20831
20832 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20833 into tail calls.
20834 (update_get_addr): New function.
20835 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20836 GET_ADDR_MODULE parameter.
20837
c8a89e7d
JM
208382012-01-30 Joseph Myers <joseph@codesourcery.com>
20839
20840 * crypt/cert.c: Remove __STDC__ conditionals.
20841 * crypt/crypt-entry.c: Likewise.
20842 * crypt/crypt_util.c: Likewise.
20843 * libio/filedoalloc.c: Likewise.
20844 * libio/fileops.c: Likewise.
20845 * libio/genops.c: Likewise.
20846 * libio/iofclose.c: Likewise.
20847 * libio/iofdopen.c: Likewise.
20848 * libio/iofopen.c: Likewise.
20849 * libio/iofopen64.c: Likewise.
20850 * libio/iogetdelim.c: Likewise.
20851 * libio/iopopen.c: Likewise.
20852 * libio/obprintf.c: Likewise.
20853 * libio/oldfileops.c: Likewise.
20854 * libio/oldiofclose.c: Likewise.
20855 * libio/oldiofdopen.c: Likewise.
20856 * libio/oldiofopen.c: Likewise.
20857 * libio/oldiopopen.c: Likewise.
20858 * libio/wfiledoalloc.c: Likewise.
20859 * libio/wgenops.c: Likewise.
20860 * locale/programs/xmalloc.c: Likewise.
20861 * misc/syslog.c: Likewise.
20862 * stdio-common/xbug.c: Likewise.
20863 * string/memchr.c: Likewise.
20864 * string/memcmp.c: Likewise.
20865 * string/memrchr.c: Likewise.
20866 * string/rawmemchr.c: Likewise.
20867 * sysdeps/posix/getcwd.c: Likewise.
20868 * time/strftime_l.c: Likewise.
20869
3b100462
JM
208702012-01-30 Joseph Myers <joseph@codesourcery.com>
20871
20872 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20873 * config.make.in (config-cflags-sse2avx): Define.
20874 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20875 Fix typo.
20876
607998af
CM
208772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20878
20879 * scripts/config.guess: Update from upstream config git repository.
20880 * scripts/config.sub: Likewise.
20881
3601428f
CM
208822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20883
3ac8b282
CM
20884 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20885 (EM_NUM): Update.
20886 (R_TILEPRO_*, R_TILEGX_*): New macros.
20887
e034841e
CM
20888 * scripts/firstversions.awk: Fix bug in version range handling.
20889
540d7568
CM
20890 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20891
3601428f
CM
20892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20893
463de862
CM
20894 * include/sys/epoll.h: New file.
20895 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20896 libc_hidden_def.
20897
73139a76
UD
208982012-01-28 Ulrich Drepper <drepper@gmail.com>
20899
96bc5b45
UD
20900 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20901 Avoid unnecessary __WORDSIZE == 64 test.
20902 (fmaxf): Use VEX format if possible.
20903 (fmax): Likewise.
20904 (fminf): Likewise.
20905 (fmin): Likewise.
20906
56f6f6a2
UD
20907 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20908 * math/math_private.h: Remove libc_fegetround* and
20909 libc_fesetround*.
20910 * sysdeps/i386/configure.in: Check for -msse2avx.
20911 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20912 also if SSE2AVX is defined.
20913 Remove libc_fegetround* and libc_fesetround*.
20914 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20915 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20917 of HAS_YMM_USABLE.
20918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20923
73139a76
UD
20924 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20925
d73f93a4
AZ
209262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20927
20928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20929 size is not set.
20930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20931
6ee65ed6
UD
209322012-01-27 Ulrich Drepper <drepper@gmail.com>
20933
20934 [BZ #13618]
20935 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20936 relocation.
20937 * Makeconfig (libm): Define.
20938 * elf/Makefile: Add rules to build and run tst-relsort1.
20939 * elf/tst-relsort1.c: New file.
20940 * elf/tst-relsort1mod1.c: New file.
20941 * elf/tst-relsort1mod2.c: New file.
20942
8db21882
JM
209432012-01-27 Joseph Myers <joseph@codesourcery.com>
20944
20945 * math/s_ldexp.c: Remove __STDC__ conditionals.
20946 * math/s_ldexpf.c: Likewise.
20947 * math/s_ldexpl.c: Likewise.
20948 * math/s_nextafter.c: Likewise.
20949 * math/s_nexttowardf.c: Likewise.
20950 * math/s_significand.c: Likewise.
20951 * math/s_significandf.c: Likewise.
20952 * math/s_significandl.c: Likewise.
20953 * math/w_jnl.c: Likewise.
20954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20982 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20991 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20992 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20993 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20994 * sysdeps/ieee754/k_standard.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21074 * sysdeps/ieee754/s_matherr.c: Likewise.
21075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21079
965a54a4
JM
210802012-01-26 Joseph Myers <joseph@codesourcery.com>
21081
21082 * crypt/md5.h: Remove __STDC__ conditionals.
21083 * libio/libioP.h: Likewise.
21084 * locale/programs/config.h: Likewise.
21085 * sysdeps/generic/sysdep.h: Likewise.
21086 * sysdeps/i386/asm-syntax.h: Likewise.
21087 * sysdeps/s390/asm-syntax.h: Likewise.
21088 * sysdeps/unix/sysdep.h: Likewise.
21089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21091
7071ad79
JM
210922012-01-26 Joseph Myers <joseph@codesourcery.com>
21093
21094 * libio/libio.h: Remove __STDC__ conditionals.
21095 * malloc/obstack.h: Likewise.
21096 * math/complex.h: Likewise.
21097 * math/math.h: Likewise.
21098 * sysdeps/generic/_G_config.h: Likewise.
21099 * sysdeps/gnu/_G_config.h: Likewise.
21100 * sysdeps/mach/hurd/_G_config.h: Likewise.
21101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21103 * sysdeps/sparc/bits/mathdef.h: Likewise.
21104
afc5ed09
UD
211052012-01-26 Ulrich Drepper <drepper@gmail.com>
21106
21107 [BZ #13583]
21108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21109 Clean up HAS_* macros.
afc5ed09 21110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21111 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21112 possible.
21113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21114 HAS_AVX.
21115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21120
bdb6de1d
JM
211212012-01-25 Joseph Myers <joseph@codesourcery.com>
21122
21123 * elf/tst-unique3.cc (gets): Remove declaration.
21124 * elf/tst-unique3lib.cc (gets): Likewise.
21125 * elf/tst-unique3lib2.cc (gets): Likewise.
21126 * elf/tst-unique4.cc (gets): Likewise.
21127
b15549e6
UD
211282012-01-24 Ulrich Drepper <drepper@gmail.com>
21129
21130 * include/stdio.h: Add C++ protection. Add gets declarations and
21131 definitions.
21132 * debug/tst-chk1.c: Don't declare gets here.
21133 * stdio-common/tst-gets.c: Likewise.
21134
a037381f
JM
211352012-01-24 Joseph Myers <joseph@codesourcery.com>
21136
21137 * posix/glob: Remove directory.
21138
f1d4aa75
JM
211392012-01-24 Joseph Myers <joseph@codesourcery.com>
21140
21141 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21142
81c0c964
PT
211432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21144
21145 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21146 of the non-standard EPFNOSUPPORT.
21147
0ea698ae
ST
211482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21149
21150 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21151 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21152 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21153
d220b117
UD
211542012-01-21 Ulrich Drepper <drepper@gmail.com>
21155
21156 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21157
3e1aa84e
UD
211582012-01-20 Ulrich Drepper <drepper@gmail.com>
21159
21160 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21161 transient errors.
21162 * nscd/grpcache.c (cache_addgr): Likewise.
21163 * nscd/hstcache.c (cache_addhst): Likewise.
21164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21165 * nscd/pwdcache.c (cache_addpw): Likewise.
21166 * nscd/servicescache.c (cache_addserv): Likewise.
21167
400aa020
UD
211682012-01-16 Ulrich Drepper <drepper@gmail.com>
21169
d77e7869
UD
21170 * malloc/malloc.c: Various cleanups.
21171 * malloc/hooks.c: Likewise.
21172
400aa020
UD
21173 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21174 * stdlib/bug-fmtmsg1.c: New file.
21175
21176 * stdlib/fmtmsg.c (init): Add missing unlock.
21177 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21178
e0a309cf
MP
211792012-01-12 Marek Polacek <polacek@redhat.com>
21180
21181 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21182 and _GNU_SOURCE.
21183
929d11c7
WS
211842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21185
21186 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21188 macro to ensure uniqueness of label name.
21189 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21190 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21191
41d0e869
UD
211922012-01-11 Ulrich Drepper <drepper@gmail.com>
21193
0cc5ed3b
UD
21194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21195
41d0e869
UD
21196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21200
a47a831a
UD
212012012-01-10 Ulrich Drepper <drepper@gmail.com>
21202
daa891c0
UD
21203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21204
21205 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21208
e58ef0f2
UD
21209 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21210
a47a831a 21211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21215
21216 * math/bits/math-finite.h: Add ldexp support.
21217
a0bfc9c7
MP
212182012-01-10 Marek Polacek <polacek@redhat.com>
21219
21220 * locale/programs/localedef.h (show_archive_content): Add noreturn
21221 attribute.
21222
d6e97a1d
UD
212232012-01-09 Ulrich Drepper <drepper@gmail.com>
21224
21225 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21226
d5835c26
UD
212272012-01-08 Ulrich Drepper <drepper@gmail.com>
21228
e5f484c6
UD
21229 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21230
d5835c26
UD
21231 * io/Makefile (headers): Add bits/poll2.h.
21232
d1f741e9
WS
212332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21234
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21236 typo #include statement.
21237
ec09c1c4
UD
212382012-01-08 Ulrich Drepper <drepper@gmail.com>
21239
21240 * include/sys/cdefs.h: Define __attribute_alloc_size.
21241 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21242 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21243 * elf/pldd.c: Likewise.
21244 * iconv/iconv_charmap.c: Likewise.
21245 * iconv/iconvconfig.c: Likewise.
21246 * iconv/strtab.c: Likewise.
21247 * locale/programs/locale.c: Likewise.
21248 * locale/programs/localedef.h: Likewise.
21249 * locale/programs/simple-hash.c: Likewise.
21250 * nscd/nscd.h: Likewise.
21251 * nss/makedb.c: Likewise.
21252 * sysdeps/generic/ldconfig.h: Likewise.
21253 * locale/programs/localedef.c: Remove xmalloc prototype.
21254 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21255
20b38e03
PP
212562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21257
21258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21259 appropriate.
21260
a0da5fe1
UD
212612012-01-08 Ulrich Drepper <drepper@gmail.com>
21262
1d5a644a 21263 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21264 * math/tst-CMPLX.c: New file.
1d5a644a 21265
8784a6db
UD
21266 * math/complex.h (CMPLXL): Fix typo.
21267
d9a216c0
UD
21268 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21269 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21270 GLIBC_2.16.
21271 * debug/tst-chk1.c: Add poll and ppoll tests.
21272 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21273 * include/sys/poll.h: Add hidden proto for ppoll.
21274 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21275 * sysdeps/mach/hurd/ppoll.c: Likewise.
21276 * io/ppoll.c: Likewise.
21277 * debug/poll_chk.c: New file.
21278 * debug/ppoll_chk.c: New file.
21279 * include/bits/poll2.h: New file.
21280 * io/bits/poll2.h: New file.
21281
ac097f5c
UD
21282 [BZ #1350]
21283 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21284
2119dcfa
UD
21285 * configure.in: static is always set to yes. Remove.
21286 * config.make.in: Don't set build-static.
21287 * Makeconfig: Remove use of build-static.
21288 * dlfcn/Makefile: Likewise.
21289 * elf/Makefile: Likewise.
21290 * math/Makefile: Likewise.
21291 * misc/Makefile: Likewise.
21292 * nptl/Makefile: Likewise.
21293 * sysdeps/mach/hurd/Makefile: Likewise.
21294
121766a9
UD
21295 * configure.in: PWD_P is not used anymore.
21296 * config.make.in: Remove PWD_P entry.
21297
51a1d39c 21298 * configure.in: Remove last remnants of RANLIB.
8720d066 21299 No need to check for signed size_t anymore.
215f4bdc
UD
21300 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21301 and IA-64.
3857022a 21302 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21303 * aclocal.m4: Likewise.
21304
d3ed7225
UD
21305 * wcsmbs/mbrtoc16.c: Implement using towc function.
21306 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21307 * wcsmbs/wcsmbsload.c: Likewise.
21308 * iconv/gconv_simple.c: Likewise.
21309 * iconv/gconv_int.h: Likewise.
21310 * iconv/gconv_builtin.h: Likewise.
21311 * iconv/iconv_prog.c: Remove CHAR16 handling.
21312
21313 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21314
21315 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21316
a0da5fe1
UD
21317 * configure.in: Remove --with-elf and --enable-bounded options.
21318 Dont set base_machine for ia64. More non-ELF conditions removed.
21319 Remove testing and setting of leading underscore information.
21320 * config.make.in (build-bounded): Set to no.
21321 * config.h.in: Remove NO_UNDERSCORES entry.
21322 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21323 them.
21324 * csu/start.c: Remove !NO_UNDERSCORE code.
21325 * locale/localeinfo.h: Likewise.
21326 * sysdeps/generic/machine-gmon.h: Likewise.
21327 * sysdeps/generic/sysdep.h: Likewise.
21328 * sysdeps/i386/sysdep.h: Likewise.
21329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21330 * sysdeps/mach/sysdep.h: Likewise.
21331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21333 * sysdeps/sh/sysdep.h: Likewise.
21334 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21335 * sysdeps/unix/i386/sysdep.S: Likewise.
21336 * sysdeps/unix/sparc/start.c: Likewise.
21337 * sysdeps/unix/sparc/sysdep.S: Likewise.
21338 * sysdeps/unix/sparc/sysdep.h: Likewise.
21339 * sysdeps/unix/start.c: Likewise.
21340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21341 * sysdeps/x86_64/sysdep.h: Likewise.
21342
df78418a
UD
213432012-01-07 Ulrich Drepper <drepper@gmail.com>
21344
a784e502
UD
21345 [BZ #13553]
21346 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21347 for non-gcc.
21348 * argp/argp-fmtstream.h: Use const instead __const.
21349 * argp/argp.h: Likewise.
21350 * assert/assert.h: Likewise.
21351 * bits/fenv.h: Likewise.
21352 * bits/sched.h: Likewise.
21353 * bits/sigset.h: Likewise.
21354 * bits/sigthread.h: Likewise.
21355 * catgets/nl_types.h: Likewise.
21356 * conform/data/pthread.h-data: Likewise.
21357 * crypt/crypt-private.h: Likewise.
21358 * crypt/crypt.h: Likewise.
21359 * crypt/crypt_util.c: Likewise.
21360 * ctype/ctype.h: Likewise.
21361 * debug/execinfo.h: Likewise.
21362 * debug/mbsnrtowcs_chk.c: Likewise.
21363 * debug/mbsrtowcs_chk.c: Likewise.
21364 * debug/wcsnrtombs_chk.c: Likewise.
21365 * debug/wcsrtombs_chk.c: Likewise.
21366 * debug/wcstombs_chk.c: Likewise.
21367 * dirent/dirent.h: Likewise.
21368 * dlfcn/dlfcn.h: Likewise.
21369 * elf/neededtest4.c: Likewise.
21370 * grp/grp.h: Likewise.
21371 * gshadow/gshadow.h: Likewise.
21372 * iconv/gconv.h: Likewise.
21373 * iconv/gconv_int.h: Likewise.
21374 * iconv/gconv_simple.c: Likewise.
21375 * iconv/iconv.h: Likewise.
21376 * iconv/loop.c: Likewise.
21377 * iconv/skeleton.c: Likewise.
21378 * include/aio.h: Likewise.
21379 * include/aliases.h: Likewise.
21380 * include/argz.h: Likewise.
21381 * include/arpa/inet.h: Likewise.
21382 * include/assert.h: Likewise.
21383 * include/dirent.h: Likewise.
21384 * include/dlfcn.h: Likewise.
21385 * include/execinfo.h: Likewise.
21386 * include/fcntl.h: Likewise.
21387 * include/fenv.h: Likewise.
21388 * include/glob.h: Likewise.
21389 * include/grp.h: Likewise.
21390 * include/libintl.h: Likewise.
21391 * include/mntent.h: Likewise.
21392 * include/netdb.h: Likewise.
21393 * include/pwd.h: Likewise.
21394 * include/rpc/netdb.h: Likewise.
21395 * include/sched.h: Likewise.
21396 * include/search.h: Likewise.
21397 * include/shadow.h: Likewise.
21398 * include/signal.h: Likewise.
21399 * include/stdio.h: Likewise.
21400 * include/stdlib.h: Likewise.
21401 * include/string.h: Likewise.
21402 * include/sys/socket.h: Likewise.
21403 * include/sys/stat.h: Likewise.
21404 * include/sys/statfs.h: Likewise.
21405 * include/sys/statvfs.h: Likewise.
21406 * include/sys/syslog.h: Likewise.
21407 * include/sys/time.h: Likewise.
21408 * include/sys/uio.h: Likewise.
21409 * include/time.h: Likewise.
21410 * include/unistd.h: Likewise.
21411 * include/utmp.h: Likewise.
21412 * include/wchar.h: Likewise.
21413 * include/wctype.h: Likewise.
21414 * inet/aliases.h: Likewise.
21415 * inet/arpa/inet.h: Likewise.
21416 * inet/netinet/ether.h: Likewise.
21417 * inet/netinet/in.h: Likewise.
21418 * intl/libintl.h: Likewise.
21419 * io/bits/fcntl2.h: Likewise.
21420 * io/fcntl.h: Likewise.
21421 * io/ftw.h: Likewise.
21422 * io/sys/poll.h: Likewise.
21423 * io/sys/stat.h: Likewise.
21424 * io/sys/statfs.h: Likewise.
21425 * io/sys/statvfs.h: Likewise.
21426 * io/utime.h: Likewise.
21427 * libio/bits/stdio.h: Likewise.
21428 * libio/bits/stdio2.h: Likewise.
21429 * libio/libio.h: Likewise.
21430 * libio/libioP.h: Likewise.
21431 * libio/stdio.h: Likewise.
21432 * locale/lc-ctype.c: Likewise.
21433 * locale/locale.h: Likewise.
21434 * login/utmp.h: Likewise.
21435 * malloc/arena.c: Likewise.
21436 * malloc/malloc.c: Likewise.
21437 * malloc/malloc.h: Likewise.
21438 * malloc/mcheck.c: Likewise.
21439 * malloc/mtrace.c: Likewise.
21440 * math/bits/mathcalls.h: Likewise.
21441 * math/fenv.h: Likewise.
21442 * math/math_private.h: Likewise.
21443 * misc/bits/error.h: Likewise.
21444 * misc/bits/syslog.h: Likewise.
21445 * misc/err.h: Likewise.
21446 * misc/error.h: Likewise.
21447 * misc/fstab.h: Likewise.
21448 * misc/mntent.h: Likewise.
21449 * misc/regexp.h: Likewise.
21450 * misc/search.h: Likewise.
21451 * misc/sgtty.h: Likewise.
21452 * misc/sys/mman.h: Likewise.
21453 * misc/sys/syslog.h: Likewise.
21454 * misc/sys/uio.h: Likewise.
21455 * misc/sys/xattr.h: Likewise.
21456 * misc/ttyent.h: Likewise.
21457 * nis/rpcsvc/ypclnt.h: Likewise.
21458 * nss/nss.h: Likewise.
21459 * posix/bits/unistd.h: Likewise.
21460 * posix/fnmatch.h: Likewise.
21461 * posix/glob.h: Likewise.
21462 * posix/sched.h: Likewise.
21463 * posix/spawn.h: Likewise.
21464 * posix/sys/wait.h: Likewise.
21465 * posix/unistd.h: Likewise.
21466 * posix/wordexp.h: Likewise.
21467 * pwd/pwd.h: Likewise.
21468 * resolv/netdb.h: Likewise.
21469 * resource/sys/resource.h: Likewise.
21470 * rt/aio.h: Likewise.
21471 * rt/bits/mqueue2.h: Likewise.
21472 * rt/mqueue.h: Likewise.
21473 * shadow/shadow.h: Likewise.
21474 * signal/signal.h: Likewise.
21475 * socket/send.c: Likewise.
21476 * socket/sendto.c: Likewise.
21477 * socket/sys/socket.h: Likewise.
21478 * stdio-common/printf.h: Likewise.
21479 * stdlib/bits/stdlib.h: Likewise.
21480 * stdlib/fmtmsg.h: Likewise.
21481 * stdlib/monetary.h: Likewise.
21482 * stdlib/stdlib.h: Likewise.
21483 * stdlib/ucontext.h: Likewise.
21484 * streams/stropts.h: Likewise.
21485 * string/argz.h: Likewise.
21486 * string/bits/string2.h: Likewise.
21487 * string/string.h: Likewise.
21488 * string/strings.h: Likewise.
21489 * sunrpc/rpc/auth.h: Likewise.
21490 * sunrpc/rpc/auth_des.h: Likewise.
21491 * sunrpc/rpc/clnt.h: Likewise.
21492 * sunrpc/rpc/netdb.h: Likewise.
21493 * sunrpc/rpc/pmap_clnt.h: Likewise.
21494 * sunrpc/rpc/xdr.h: Likewise.
21495 * sysdeps/generic/inttypes.h: Likewise.
21496 * sysdeps/generic/net/if.h: Likewise.
21497 * sysdeps/generic/sys/swap.h: Likewise.
21498 * sysdeps/gnu/net/if.h: Likewise.
21499 * sysdeps/gnu/utmpx.h: Likewise.
21500 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21501 * sysdeps/i386/i486/bits/string.h: Likewise.
21502 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21503 * sysdeps/s390/bits/string.h: Likewise.
21504 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21505 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21507 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21508 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21509 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21511 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21512 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21513 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21515 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21516 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21517 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21518 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21519 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21520 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21525 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21526 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21527 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21528 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21529 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21532 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21534 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21535 * sysvipc/sys/ipc.h: Likewise.
21536 * sysvipc/sys/msg.h: Likewise.
21537 * sysvipc/sys/sem.h: Likewise.
21538 * sysvipc/sys/shm.h: Likewise.
21539 * termios/termios.h: Likewise.
21540 * time/sys/time.h: Likewise.
21541 * time/time.h: Likewise.
21542 * wcsmbs/bits/wchar2.h: Likewise.
21543 * wcsmbs/uchar.h: Likewise.
21544 * wcsmbs/wchar.h: Likewise.
21545 * wctype/wctype.h: Likewise.
21546
0269750c
UD
21547 [BZ #13551]
21548 * Makeconfig: Remove all but ELF support including AIX support.
21549 * Makerules: Likewise.
21550 * config.h.in: Likewise.
21551 * config.make.in: Likewise.
21552 * configure: Likewise.
21553 * configure.in: Likewise.
21554 * csu/Makefile: Likewise.
21555 * csu/version.c: Likewise.
21556 * debug/Makefile: Likewise.
21557 * dlfcn/Makefile: Likewise.
21558 * elf/Makefile: Likewise.
21559 * extra-lib.mk: Likewise.
21560 * iconv/Makefile: Likewise.
21561 * include/libc-symbols.h: Likewise.
21562 * include/shlib-compat.h: Likewise.
21563 * resolv/Makefile: Likewise.
21564 * resolv/res_libc.c: Likewise.
21565 * rt/Makefile: Likewise.
21566 * sysdeps/i386/asm-syntax.h: Likewise.
21567 * sysdeps/i386/sysdep.h: Likewise.
21568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21569 * sysdeps/mach/sysdep.h: Likewise.
21570 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21571 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21572 * sysdeps/s390/asm-syntax.h: Likewise.
21573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21575 * sysdeps/sh/sysdep.h: Likewise.
21576 * sysdeps/unix/sparc/sysdep.h: Likewise.
21577 * sysdeps/wordsize-32/divdi3.c: Likewise.
21578 * sysdeps/x86_64/sysdep.h: Likewise.
21579
00bbd29b
UD
21580 * argp/Versions: Remove _argp_unlock_xxx.
21581
21582 [BZ #13559]
21583 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21584 * abilist/libBrokenLocale.abilist: Likewise.
21585 * abilist/libanl.abilist: Likewise.
21586 * abilist/libc.abilist: Likewise.
21587 * abilist/libcrypt.abilist: Likewise.
21588 * abilist/libdl.abilist: Likewise.
21589 * abilist/libm.abilist: Likewise.
21590 * abilist/libnsl.abilist: Likewise.
21591 * abilist/libpthread.abilist: Likewise.
21592 * abilist/libresolv.abilist: Likewise.
21593 * abilist/librt.abilist: Likewise.
21594 * abilist/libthread_db.abilist: Likewise.
21595 * abilist/libutil.abilist: Likewise.
21596 * abilist/libnss_db.abilist: New file.
21597
21598 * scripts/abilist.awk: Add support for indirect functions.
21599
a2693a0e
UD
21600 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21601
3f05895f
UD
21602 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21603
ecb6fb48
UD
21604 * shlib-versions: Remove entries for ports architectures.
21605
664f8cb9
UD
21606 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21607 files in ports.
21608 * elf/stackguard-macros.h: Remove support for IA-64.
21609 * elf/tst-auditmod1.c: Likewise.
21610 * sysdeps/generic/ldsodefs.h: Likewise.
21611
7ae81d88
UD
21612 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21613 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21614 configure files.
21615
bdeba135
UD
21616 [BZ #13552]
21617 * configure.in: Remove --enable-omitfp support.
21618 * FAQ.in: Adjust.
21619 * config.make.in: Likewise.
21620 * Makeconfig: Likewise.
21621 * manual/install.texi: Likewise.
21622
d75a0a62
UD
21623 In case anyone cares, the IA-64 architecture could move to ports.
21624 * sysdeps/ia64/*: Removed.
21625 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21626 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21627
dcc9756b
UD
21628 [BZ #13555]
21629 * configure.in: Remove entries for unsupported architectures.
21630
d3761ebc 21631 [BZ #13533]
9954432e
UD
21632 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21633 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21634 routines.
21635 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21636 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21637 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21638 fall back to using wcrtomb.
21639 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21640 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21641 renaming.
21642 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21643 * wcsmbs/tst-c16c32-1.c: New file.
21644
21645 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21646 local variable.
21647
c3a87236
UD
21648 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21649
28926a1b
UD
21650 * elf/tst-unique3.cc: Add explicit declaration of gets.
21651 * elf/tst-unique3lib.cc: Likewise.
21652 * elf/tst-unique3lib2.cc: Likewise.
21653 * elf/tst-unique4.cc: Likewise.
21654
df78418a
UD
21655 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21656
8ecd6b2a
JM
216572012-01-06 Joseph Myers <joseph@codesourcery.com>
21658
21659 [BZ #13566]
21660 * assert/assert.h (static_assert): Don't define for C++.
21661 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21662 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21663
9f115170
UD
216642012-01-03 Ulrich Drepper <drepper@gmail.com>
21665
5e0d0300
UD
21666 * iconv/loop.c (single loop): Fix assertion in storing of
21667 remaining bytes.
21668
9f115170
UD
21669 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21670
81fb02b0
UD
216712012-01-01 Ulrich Drepper <drepper@gmail.com>
21672
21673 * posix/getconf.c: Update copyright year.
21674 * nss/getent.c: Likewise.
a316c1f6 21675 * nss/makedb.c: Likewise.
81fb02b0
UD
21676 * iconv/iconvconfig.c: Likewise.
21677 * iconv/iconv_prog.c: Likewise.
21678 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21679 * elf/pldd.c: Likewise.
21680 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21681 * catgets/gencat.c: Likewise.
21682 * csu/version.c: Likewise.
21683 * elf/ldd.bash.in: Likewise.
21684 * elf/sprof.c (print_version): Likewise.
21685 * locale/programs/locale.c: Likewise.
21686 * locale/programs/localedef.c: Likewise.
a316c1f6 21687 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21688 * nscd/nscd.c (print_version): Likewise.
21689 * debug/xtrace.sh: Likewise.
21690 * malloc/memusage.sh: Likewise.
21691 * malloc/mtrace.pl: Likewise.
21692 * debug/catchsegv.sh: Likewise.
21693
2ba92745
JJ
216942011-12-30 Jakub Jelinek <jakub@redhat.com>
21695
21696 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21697 pure attribute.
21698
dadebdae
UD
216992011-12-24 Ulrich Drepper <drepper@gmail.com>
21700
d3761ebc 21701 [BZ #13533]
db6af3eb
UD
21702 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21703 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21704 transformations.
21705 * iconv/gconv_int.h: Likewise.
21706 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21707 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21708 from libc for GLIBC_2.16.
21709 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21710 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21711 * wcsmbs/uchar.h: Really define mbstate_t.
21712 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21713 * wcsmbs/c16rtomb.c: New file.
21714 * wcsmbs/mbrtoc16.c: New file.
21715 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21716 for C/POSIX locale.
21717 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21718 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21719
dadebdae
UD
21720 * wcsmbs/wchar.h: Add missing __restrict.
21721
67371b56
UD
217222011-12-23 Ulrich Drepper <drepper@gmail.com>
21723
74033a25
UD
21724 [BZ #13532]
21725 * time/Makefile (routines): Add timespec_get.
21726 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21727 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21728 timespec for ISO C11.
21729 * time/timespec_get.c: New file.
21730 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21731 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21732
380d7e87
UD
21733 [BZ #13531]
21734 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21735 * stdlib/stdlib.h: Declare aligned_alloc.
21736 * Versions.def: Add GLIBC_2.16 for libc.
21737 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21738
4e9e7a35
UD
21739 [BZ 13527]
21740 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21741 ISO C11.
21742
380d7e87 21743 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21744 code.
21745
03a71829
UD
21746 [BZ #13528]
21747 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21748
839e283e
UD
21749 [BZ #13529]
21750 * assert/assert.h (static_assert): Define.
21751
ce5294e2 21752 * version.h: Update for 2.16 development version.
90fa7312 21753
8d44e150 21754 [BZ #13526]
d7809905
UD
21755 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21756 _ISOC11_SOURCE.
21757
c0da14cd
UD
21758 * version.h (RELEASE): Bump for 2.15 release.
21759 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21760
530a3249
MP
21761 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21762 Patch by Marek Polacek <mpolacek@redhat.com>.
21763
67371b56
UD
21764 * bits/byteswap.h: Protect long long constants with __extension__.
21765 * sysdeps/i386/bits/byteswap.h: Likewise.
21766 * sysdeps/ia64/bits/byteswap.h: Likewise.
21767 * sysdeps/s390/bits/byteswap.h: Likewise.
21768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21769
15db4de1
LD
217702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21771
21772 [BZ #13540]
bbe315ea
LD
21773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21774 destination buffer.
15db4de1
LD
21775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21776
2b2596b1
MP
217772011-12-23 Marek Polacek <polacek@redhat.com>
21778
21779 * elf/dl-addr.c (determine_info): Add inline keyword.
21780 * elf/tst-auditmod4b.c (check_avx): Likewise.
21781 * elf/tst-auditmod6b.c (check_avx): Likewise.
21782 * elf/tst-auditmod6c.c (check_avx): Likewise.
21783 * elf/tst-auditmod7b.c (check_avx): Likewise.
21784
70c6c246
UD
217852011-12-23 Ulrich Drepper <drepper@gmail.com>
21786
21787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21788 !__SSE_MATH__.
21789
c044cf14
LD
217902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21791
15db4de1 21792 [BZ #13540]
c044cf14
LD
21793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21794 processing for last bytes.
21795
6b13d9d9
BH
217962011-08-06 Bruno Haible <bruno@clisp.org>
21797
d455f537
BH
21798 [BZ #13061]
21799 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21800 U+0385, not to U+1FEE.
21801
6b13d9d9
BH
21802 [BZ #13062]
21803 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21804 entry for U+00A5 U+0301.
21805
db910efd
UD
218062011-12-22 Ulrich Drepper <drepper@gmail.com>
21807
27deeafc
UD
21808 [BZ #13166]
21809 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21810 buffer for the output is too small.
21811
aed9d171
UD
21812 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21813 optimization.
21814
db910efd
UD
21815 [BZ #13185]
21816 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21817 SSE flags if possible.
21818
2bd779ae
LD
218192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21820
e7f9dac3 21821 [BZ #13540]
2bd779ae
LD
21822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21823 processing for last bytes.
21824
154bfc16
JM
218252011-12-22 Joseph Myers <joseph@codesourcery.com>
21826
21827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21828 (syscall-list-default-options, syscall-list-default-condition)
21829 (syscall-list-includes): Define.
21830 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21831 list of ABIs and options and #if conditions for each ABI. Do not
21832 handle common syscalls between ABIs specially.
21833 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21834 Remove.
21835 (syscall-list-variants, syscall-list-32bit-options)
21836 (syscall-list-32bit-condition, syscall-list-64bit-options)
21837 (syscall-list-64bit-condition): Define.
21838 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21839 (syscall-list-variants, syscall-list-32bit-options)
21840 (syscall-list-32bit-condition, syscall-list-64bit-options)
21841 (syscall-list-64bit-condition): Define.
21842 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21843 Remove.
21844 (syscall-list-variants, syscall-list-32bit-options)
21845 (syscall-list-32bit-condition, syscall-list-64bit-options)
21846 (syscall-list-64bit-condition): Define.
21847 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21848 Remove.
21849 (syscall-list-variants, syscall-list-32bit-options)
21850 (syscall-list-32bit-condition, syscall-list-64bit-options)
21851 (syscall-list-64bit-condition): Define.
21852
21eaf3a5
UD
218532011-12-22 Ulrich Drepper <drepper@gmail.com>
21854
16c6f992
UD
21855 * locale/iso-639.def: Add brx entry.
21856
41043168
UD
21857 [BZ #13328]
21858 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21859 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21860
21eaf3a5
UD
21861 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21862 __feraiseexcept_renamed.
21863
e3a851a2
UD
218642011-12-21 Ulrich Drepper <drepper@gmail.com>
21865
4920765e
UD
21866 [BZ #13538]
21867 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21868 EPOLLET with unsigned values.
21869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21871
e3a851a2
UD
21872 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21873 to large cancellation.
21874 * math/s_cacoshf.c: Likewise.
21875 * math/s_cacoshl.c: Likewise.
21876
b27e24b8
RK
218772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21878
21879 [BZ #13305]
aebefeee 21880 [BZ #12786]
b27e24b8
RK
21881 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21882 * math/s_cacoshf.c: Likewise.
21883 * math/s_cacoshl.c: Likewise.
21884
ee190f67
UD
218852011-12-21 Ulrich Drepper <drepper@gmail.com>
21886
21887 [BZ #13439]
21888 * iconv/gconv.h: Define __GCONV_SWAP.
21889 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21890 * iconvdata/utf-16.c: Likewise.
21891 * iconvdata/utf-32.c: Likewise.
21892
707f25df
AS
218932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21894
21895 [BZ #13524]
21896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21897 numerator after shifting it by one limb.
21898
d2daaa1e
RÁE
218992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21900
21901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21902 under [__USE_EXTERN_INLINES].
21903
a4647e72
UD
219042011-12-17 Ulrich Drepper <drepper@gmail.com>
21905
21906 [BZ #13446]
21907 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21908
f0b264f1
AZ
219092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21910
21911 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21912 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21913 optimized code.
21914 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21916 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21917 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21918 for strncasecmp/strncasecmp_l compilation.
21919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21920 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21921
8ef4f244
MP
219222011-12-08 Marek Polacek <mpolacek@redhat.com>
21923
21924 [BZ #13484]
21925 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21926 of __asm__.
21927
97ac2654
UD
219282011-12-17 Ulrich Drepper <drepper@gmail.com>
21929
21930 [BZ #13506]
21931 * time/tzfile.c (__tzfile_read): Check values from file header.
21932
91d2a845
WS
219332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21934
21935 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21936 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21937 * powerpc/powerpc32/dl-start.S: Likewise.
21938 * powerpc/powerpc32/elf/start.S: Likewise.
21939 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21940 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21941 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21942 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21943 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21944 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21945 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21946 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21947 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21948 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21949 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21950 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21951 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21952 * powerpc/powerpc32/memset.S: Likewise.
21953 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21954 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21955 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21956 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21957 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21958 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21959 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21960 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21961 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21962 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21966
a1267ba1
AZ
219672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21968
21969 * math/libm-test.inc: Added more nearbyint tests.
21970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21974
ad8ac1bd
RL
219752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21976
21977 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21978 FD_CLOEXEC.
21979
1d3e4b61
UD
219802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21981
21982 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21983 Add wcscpy-ssse3 wcscpy-c.
21984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21985 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21986 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21987 * sysdeps/x86_64/wcschr.S: New file.
21988 * sysdeps/x86_64/wcsrchr.S: New file.
21989 * string/test-strcmp.c: Remove checking of wcscmp function for
21990 wrong alignments.
21991 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21992 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21993 wcsrchr-sse2 wcsrchr-c.
21994 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21995 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21996 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21997 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22000 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22001 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22003 * wcsmbc/wcschr.c (WCSCHR): New macro.
22004
5b330a2d
UD
220052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22006
22007 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22008 * wcsmbs/test-wcsrchr.c: New file.
22009 * string/test-strrchr.c: Add wcsrchr support.
22010 (WIDE): New macro.
22011 * wcsmbs/test-wcscpy.c: New file.
22012 * string/test-strcpy.c: Add wcscpy support.
22013 (WIDE): New macro.
26428b7c 22014
f039c043
UD
220152011-12-10 Ulrich Drepper <drepper@gmail.com>
22016
22017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22018 the inner loop.
22019
850fb039
AS
220202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22021
22022 [BZ #13472]
22023 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22024
4efbd5cb
UD
220252011-12-04 Ulrich Drepper <drepper@gmail.com>
22026
52ff5dd0 22027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22028 Minor optimizations.
52ff5dd0 22029
4efbd5cb
UD
22030 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22031 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22032 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22033
8a426e12
UD
220342011-12-03 Ulrich Drepper <drepper@gmail.com>
22035
aff2453d
UD
22036 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22037 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22038 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22039 for gcc to avoid warnings.
22040 * inet/Makefile (tests): Add tst-checks.
22041 * inet/tst-checks.c: New file.
22042
22043 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22044 warning.
22045
22046 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22047 __wmemcmp_sse2.
22048
22049 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22050 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22051
8a426e12
UD
22052 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22053
9bea3473
UD
220542011-12-02 Ulrich Drepper <drepper@gmail.com>
22055
3a965496
UD
22056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22057 problem.
22058
9bea3473
UD
22059 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22060
f101631b
UD
220612011-11-29 Joseph Myers <joseph@codesourcery.com>
22062
22063 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22064 conditional on GCC version.
22065 (__arch_compare_and_exchange_val_8_acq)
22066 (__arch_compare_and_exchange_val_16_acq)
22067 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22068 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22069 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22070
a98275aa
UD
220712011-12-02 Joseph Myers <joseph@codesourcery.com>
22072
22073 * sysdeps/sh/backtrace.c: New file.
22074
d4cc29a2
AS
220752011-12-02 Andreas Schwab <schwab@redhat.com>
22076
22077 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22078 parenthesis.
22079
6257af2d
AS
220802011-12-01 Andreas Schwab <schwab@redhat.com>
22081
22082 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22083 falling back to utime.
22084
b5f44c1a
AS
220852011-11-30 Andreas Schwab <schwab@redhat.com>
22086
22087 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22088 expectations for float.
22089
f3a6cc0a
AS
220902011-11-29 Andreas Schwab <schwab@redhat.com>
22091
22092 * locale/weight.h (findidx): Add parameter len.
22093 * locale/weightwc.h (findidx): Likewise.
22094 * posix/fnmatch_loop.c (FCT): Adjust caller.
22095 * posix/regcomp.c (build_equiv_class): Likewise.
22096 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22097 * posix/regexec.c (check_node_accept_bytes): Likewise.
22098 * string/strcoll_l.c (STRCOLL): Likewise.
22099 * string/strxfrm_l.c (STRXFRM): Likewise.
22100
9d65ea3a
UD
221012011-11-17 Ulrich Drepper <drepper@gmail.com>
22102
22103 * Makefile.in: Remove CVSOPT handling.
22104 * configure.in: Remove use of AC_REVISION.
22105 * iconvdata/Makefile (distribute): No need to filter out CVS.
22106 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22107 handling.
22108
5583a086
AS
221092011-11-16 Andreas Schwab <schwab@redhat.com>
22110
22111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22112 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22113 [USE_AS_STRNCASECMP_L]: Likewise.
22114 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22115 NO_TLS_DIRECT_SEG_REFS.
22116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22117 Fix argument offsets for non-PIC.
22118 [USE_AS_STRNCASECMP_L]: Likewise.
22119 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22120 NO_TLS_DIRECT_SEG_REFS.
22121
d62a8200
UD
221222011-11-15 Ulrich Drepper <drepper@gmail.com>
22123
9d65ea3a 22124 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22125 O_CLOEXEC.
22126 * locale/loadlocale.c (_nl_load_locale): Likewise.
22127
09f93bd3
AS
221282011-11-15 Andreas Schwab <schwab@redhat.com>
22129
446514f9
AS
22130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22131 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22133 (SYSCALL_GETTIME): Set errno on error.
22134
09f93bd3
AS
22135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22136 count references to noai6ai_cached.
22137
312be3f9
UD
221382011-11-15 Ulrich Drepper <drepper@gmail.com>
22139
22140 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22141
22142 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22143 FD_CLOEXEC for /proc/self/maps.
22144
22145 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22146 FD_CLOEXEC for /proc/meminfo.
22147
22148 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22149 gai.conf.
22150
22151 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22152 FD_CLOEXEC for given file.
22153
22154 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22155
22156 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22157 FD_CLOEXEC for /etc/hosts.
22158 (_gethtent): Likewise.
22159
22160 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22161
22162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22163 cancellation and set FD_CLOEXEC for /etc/netgroup.
22164
22165 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22166 reading /etc/publickey.
22167
22168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22169 allow cancellation when reading /etc/group.
22170
22171 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22172 cancellation.
22173 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22174
22175 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22176 when using data file.
22177
22178 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22179
22180 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22181 (write_nis_obj): Use "c" and "e" in fopen.
22182
22183 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22184
22185 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22186
22187 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22188
22189 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22190
22191 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22192 locale.alias.
22193
22194 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22195
22196 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22197
22198 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22199
22200 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22201 file parsing and set FD_CLOEXEC.
22202
82af0fa8
UD
222032011-11-14 Ulrich Drepper <drepper@gmail.com>
22204
22205 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22206
a5fb313c
AS
222072011-11-14 Andreas Schwab <schwab@redhat.com>
22208
22209 * malloc/arena.c (arena_get2): Don't call reused_arena when
22210 _int_new_arena failed.
22211
6abf3465
UD
222122011-11-14 Ulrich Drepper <drepper@gmail.com>
22213
22214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22215 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22220 to compile strcasecmp and strncasecmp.
22221 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22222 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22223
22224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22225
76e3966e
UD
222262011-11-13 Ulrich Drepper <drepper@gmail.com>
22227
22228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22229 locale-defines.sym to gen-as-const-headers.
22230 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22231 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22233 to compile strcasecmp and strncasecmp.
22234 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22235 strcasecmp_l and strncasecmp_l.
22236 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22237 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22238 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22240 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22242 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22243 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22244 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22245 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22246 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22247
ab26144e
UD
222482011-11-12 Ulrich Drepper <drepper@gmail.com>
22249
7edb22ef
UD
22250 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22251 result of SYSDEP_GETTIME_CPU to retval.
22252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22253 parameter list to macro. Remove trailing semicolon. Adjust users.
22254
9694fc44
UD
22255 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22256 variable.
22257
8ad89ef8
UD
22258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22259 mantissa words.
22260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22261
0c822ef9
UD
22262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22263 from unused variable.
22264
874e0564
UD
22265 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22266 DWARF definitions.
22267 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22268 for assembling.
22269
3a2edc79
UD
22270 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22271 over namespaces.
22272
f3c2577f
UD
22273 * sunrpc/rpc_prot.c (rejected): Fix case value.
22274
294ce126
UD
22275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22276 unsigned long long int to avoid warnings in shift.
22277
5e2b63c6
UD
22278 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22279 of use of trans.
22280 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22281 variable tmp.
22282
e7f4b08e
UD
22283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22284 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22286
ab26144e
UD
22287 * nis/nis_table.c (nis_list): Use variable of correct type for
22288 result of __follow_path call.
22289
8a6d5255
AZ
222902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22291
22292 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22293 of math functions ceil, trunc, floor, round, and sqrt, when
22294 avaliable on the platform.
22295 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22296 name clash.
22297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22300
aaddc98c
MP
223012011-10-30 Marek Polacek <mpolacek@redhat.com>
22302
22303 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22305
95b7042b
RM
223062011-11-11 Roland McGrath <roland@hack.frob.com>
22307
22308 * include/unistd.h: Fix __readlink return type.
22309 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22310
57769839
UD
223112011-11-11 Ulrich Drepper <drepper@gmail.com>
22312
22313 * stdlib/ucontext.h: Undo last change for makecontext.
22314
edc5984d
AS
223152011-11-11 Andreas Schwab <schwab@redhat.com>
22316
98591e58
AS
22317 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22318
edc5984d
AS
22319 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22320 * setjmp/setjmp.h: Mark functions as non-leaf.
22321 * setjmp/bits/setjmp2.h: Likewise.
22322 * stdlib/ucontext.h: Likewise.
22323
77cdc054
AS
223242011-11-10 Andreas Schwab <schwab@redhat.com>
22325
22326 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22327 (reused_arena): Don't check arena limit.
22328 (arena_get2): Atomically check arena limit.
22329
fe72eebd
UD
223302011-11-08 Ulrich Drepper <drepper@gmail.com>
22331
5f078c32
UD
22332 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22333 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22334
fe72eebd
UD
22335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22336 instructions.
22337
ae1bc2fa
AS
223382011-11-07 Andreas Schwab <schwab@redhat.com>
22339
7583a88d
AS
22340 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22341 handler when locking.
22342
ae1bc2fa
AS
22343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22344 Fix size of allocated buffer.
22345
10fb0bfa
AS
223462011-11-04 Andreas Schwab <schwab@redhat.com>
22347
998832a4
AS
22348 [BZ #10103]
22349 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22350 declarations for long double functions.
22351 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22352
10fb0bfa
AS
22353 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22354
3d7ba52b
AS
223552011-11-03 Andreas Schwab <schwab@redhat.com>
22356
a9ae54a1
AS
22357 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22358 installed.
22359
3d7ba52b
AS
22360 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22361 is disabled.
22362
bc8db248
ST
223632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22364
22365 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22366
45b96dd6
AS
223672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22368
647776f6
AS
22369 * include/alloca.h (stackinfo_alloca_round): Define.
22370 (extend_alloca): Use it.
22371 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22372 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22373 here.
22374
d91a8b93
AS
22375 * scripts/check-local-headers.sh: Ignore libaudit.h.
22376
45b96dd6
AS
22377 * nscd/Makefile (extra-objs): Make recursively expanded.
22378
432d41ce
UD
223792011-11-01 Ulrich Drepper <drepper@gmail.com>
22380
34372fc6
UD
22381 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22383
fadb59f8
UD
22384 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22385 * posix/tst-rfc3484-2.c: Likewise.
22386 * posix/tst-rfc3484-3.c: Likewise.
22387
78239589
UD
22388 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22389 process_vm_writev.
22390 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22391 process_vm_writev.
22392 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22393 process_vm_writev from libc using GLIBC_2.15 version.
22394
432d41ce
UD
22395 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22396
02f9c6cf
PP
223972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22398
22399 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22400 stack usage.
22401
3a2c0242
UD
224022011-10-31 Ulrich Drepper <drepper@gmail.com>
22403
f4ec4833
UD
22404 [BZ #13367]
22405 * nss/getent.c (initgroups_keys): Show error message in case no group
22406 names are given.
22407
3a2c0242
UD
22408 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22409 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22410 __bump_nl_timestamp.
22411 * nscd/connections (nscd_init): When host database is served open
22412 netlink socket and request notification about configuration changes.
22413 (main_loop_poll): Track netlink file descriptor and bump timestamp
22414 in case data becomes available.
22415 (main_loop_epoll): Likewise.
22416 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22417 (database_pers_head): Add extra_data fileds.
22418 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22420 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22421 Adjust caller.
22422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22423 in6ai data, call __free_in6ai.
22424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22425 Add -DHAVE_NETLINK.
22426 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22427 interface information. Reuse previous data if netlink timestamp
22428 is not changed.
22429 (__bump_nl_timestamp): New function.
22430 (__free_in6ai): New function.
22431
636064eb
UD
224322011-10-30 Ulrich Drepper <drepper@gmail.com>
22433
22434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22435 close_not_cancel_no_status here.
22436 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22437
9beb2334
UD
224382011-10-29 Ulrich Drepper <drepper@gmail.com>
22439
6ef76f3b
UD
22440 [BZ #13276]
22441 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22442 return value.
22443
0ffc4f3e 22444 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22445 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22446 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22447
cb95113e
UD
224482011-07-03 Andreas Jaeger <aj@suse.de>
22449
22450 [BZ #10709]
22451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22452 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22453 * math/libm-test.inc (sin_test): Add test case.
22454
a1b560ff
UD
224552011-10-29 Ulrich Drepper <drepper@gmail.com>
22456
c9aaface
UD
22457 [BZ #13337]
22458 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22460
d272e7f1
UD
22461 * elf/chroot_canon.c (chroot_canon): Cleanups.
22462
1bc33071
UD
22463 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22464
1760874d
TJ
22465 [BZ #13335]
22466 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22468
51d91b18
UD
22469 * string/test-strchr.c: Make usable for strchrnul testing.
22470 * string/test-strchrnul.c: New file.
22471 * string/Makefile (strop-tests): Add strchrnul.
22472
a1b560ff 22473 * po/it.po: Update from translation team.
b611fb81 22474 * po/es.po: Likewise.
a1b560ff 22475
a5b81e1f
UD
224762011-10-28 Ulrich Drepper <drepper@gmail.com>
22477
fd52bc6d
UD
22478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22479 the three constants needed as parameters. Drop the others.
22480 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22481 __m128i_strloadu_tolower.
52e4b9eb
UD
22482 Create and initialize variable zero and use it in all the places
22483 where _mm_setzero_si128 was used.
fd52bc6d 22484
a5b81e1f
UD
22485 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22486 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22487 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22489 anymore.
22490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22491 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22492 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22493 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22495 __mpranred, __mptan.
22496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22505
b4343346
AS
225062011-10-28 Andreas Schwab <schwab@redhat.com>
22507
0c92d8a8
AS
22508 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22509 redefine if SHARED.
22510 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22511
b4343346
AS
22512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22513 wide char related routines to wcsmbs subdir.
22514
3871f58f
AS
225152011-10-27 Andreas Schwab <schwab@redhat.com>
22516
22517 [BZ #13344]
22518 * misc/sys/cdefs.h (__THROWNL): Define.
22519 * posix/unistd.h: Use __THREADNL instead of __THREAD
22520 for memory synchronization functions.
22521
94d44d9f
RM
225222011-10-26 Roland McGrath <roland@hack.frob.com>
22523
21b64b15 22524 [BZ #13349]
94d44d9f
RM
22525 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22526 doesn't exist.
22527 * manual/stdio.texi (Obstack Streams): Node removed.
22528
f6ce9294
AS
225292011-10-26 Andreas Schwab <schwab@redhat.com>
22530
80479147
AS
22531 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22534
f6ce9294
AS
22535 * math/math_private.h (math_force_eval): Allow non-addressable
22536 arguments.
22537 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22538
618280a1
UD
225392011-10-25 Ulrich Drepper <drepper@gmail.com>
22540
e0016b11
UD
22541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22542 file is not needed.
22543
22544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22551 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22552 Add AVX variants.
22553 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22554 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22555 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22556 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22557 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22559 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22561 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22562 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22563 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22564 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22571 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22572
22573 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22574 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22575
618280a1
UD
22576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22577 place. Use VEX encoding when compiling for AVX.
22578
37822576
AS
225792011-10-25 Andreas Schwab <schwab@redhat.com>
22580
1f1e1947
AS
22581 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22583
37822576
AS
22584 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22585
31ea014d
UD
225862011-10-25 Ulrich Drepper <drepper@gmail.com>
22587
d7826aa1 22588 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22589 useless if() expression.
d7826aa1
UD
22590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22609
31ea014d
UD
22610 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22611
16437fec
AS
226122011-10-25 Andreas Schwab <schwab@redhat.com>
22613
22614 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22615 condition.
22616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22617
31d3cc00
UD
226182011-10-25 Ulrich Drepper <drepper@gmail.com>
22619
22620 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22621 .text section. Avoid duplicate constants.
22622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22634 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22667
58985aa9
UD
226682011-10-24 Ulrich Drepper <drepper@gmail.com>
22669
202c9deb
UD
22670 * sysdeps/x86_64/dla.h: Move to ...
22671 * sysdeps/x86_64/fpu/dla.h: ...here.
22672 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22673 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22674
af968f62
UD
22675 * config.make.in: Add have-mfma4 entry.
22676 * configure.in: Substitute libc_cv_cc_fma4.
22677 * math/Makefile (dbl-only-routines): Add sincostab.
22678 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22679 Use __sincostab not sincos.
22680 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22681 name is a macro.
22682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22686 using __copysign.
22687 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22688 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22689 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22690 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22691 and __inv.
22692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22693 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22694 __copysign.
22695 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22696 define aliases when function name is a macro.
22697 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22698 sysdeps/ieee754/dbl-64/sincos.tbl.
22699 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22700 fma4-enabled routines.
22701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22706 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22711 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22714 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22719 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22721 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22724 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22731
58985aa9
UD
22732 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22733 rename.
22734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22742
a201fbcf
AS
227432011-10-24 Andreas Schwab <schwab@redhat.com>
22744
22745 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22746
fc2ee42a
LD
227472011-10-23 Ulrich Drepper <drepper@gmail.com>
22748
bb3129bd
UD
22749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22750
0275fff8
UD
22751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22752 prediction.
22753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22754
2fa2ae85
UD
22755 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22756 Remove unused variable magic_bits.
22757 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22758
fc2ee42a
LD
22759 * string/strnlen.c: Define and use STRNLEN macro.
22760 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22761 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22763 * wcsmbs/wcslen.c: Define and use WCSLEN.
22764 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22765 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22766 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22767 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22768 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22769 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22771
ce7dd29f
LD
227722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22773
22774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22775 strnlen-sse2-no-bsf.
22776 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22779 Add strnlen support.
22780 (USE_AS_STRNLEN): New macro.
22781 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22783 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22784 * sysdeps/x86_64/wcslen.S: New file.
22785
979c70a3
MZ
227862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22787
22788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22789 XMM-moves are used for copying on small sizes.
22790
2d09f82f
LD
227912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22792
22793 * wcsmbs/Makefile (strop-tests): Add wcschr.
22794 * wcsmbs/test-wcschr.c: New file.
22795 * string/test-strchr.c: Update.
22796 Add wcschr support.
22797 (WIDE): New macro.
22798
619fccca
LD
227992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22800
2d09f82f 22801 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22802 * wcsmbs/test-wcslen.c: New file.
22803 * string/test-strlen.c: Update.
22804 Add wcslen support.
22805 (WIDE): New macro.
22806
09f699ea
UD
228072011-10-23 Ulrich Drepper <drepper@gmail.com>
22808
22809 * po/it.po: Update from translation team.
22810
95584d3b
LD
228112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22812
22813 * sysdeps/x86_64/wcscmp.S: Update.
22814 Fix wrong comparison semantics.
22815 wcscmp shall use signed comparison not unsigned.
22816 Don't use substraction to avoid overflow bug.
22817 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22818 * wcsmbc/wcscmp.c: Likewise.
22819 * string/test-strcmp.c: Likewise.
22820 Add new tests to check cases with negative values.
22821
c8b3296b
UD
228222011-10-23 Ulrich Drepper <drepper@gmail.com>
22823
22824 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22825 * sysdeps/x86_64/dla.h: ...here. New file.
22826 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22835
246ad57a
AS
228362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22837
22838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22839 __ynl_finite aliases.
22840
a1a87169
UD
228412011-10-22 Ulrich Drepper <drepper@gmail.com>
22842
0d355eb7
UD
22843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22844
a1a87169
UD
22845 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22846 define DLA_FMA.
22847 [DLA_FMA] (EMULV): Use DLA_FMA.
22848 [DLA_FMA] (MUL12): Use EMULV.
22849 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22850 that are not needed.
22851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22858
ee2aafe0
AS
228592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22860
22861 * math/s_nan.c: Undef __nan.
22862 * math/s_nanf.c: Undef __nanf.
22863 * math/s_nanl.c: Undef __nanl.
22864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22865 "math_private.h".
22866
bc62c2fb
UD
228672011-10-22 Ulrich Drepper <drepper@gmail.com>
22868
77425c63
UD
22869 * math/s_catan.c: Add branch predictions.
22870 * math/s_catanf.c: Likewise.
22871 * math/s_catanh.c: Likewise.
22872 * math/s_catanhf.c: Likewise.
22873 * math/s_catanhl.c: Likewise.
22874 * math/s_catanl.c: Likewise.
22875 * math/s_cexp.c: Likewise.
22876 * math/s_cexpf.c: Likewise.
22877 * math/s_cexpl.c: Likewise.
22878 * math/s_clog.c: Likewise.
22879 * math/s_clog10.c: Likewise.
22880 * math/s_clog10f.c: Likewise.
22881 * math/s_clog10l.c: Likewise.
22882 * math/s_clogf.c: Likewise.
22883 * math/s_clogl.c: Likewise.
22884 * math/s_csqrt.c: Likewise.
22885 * math/s_csqrtf.c: Likewise.
22886 * math/s_csqrtl.c: Likewise.
22887 * math/s_ctanf.c: Likewise.
22888 * math/s_ctanh.c: Likewise.
22889 * math/s_ctanhf.c: Likewise.
22890 * math/s_ctanhl.c: Likewise.
22891 * math/s_ctanl.c: Likewise.
22892
bc62c2fb
UD
22893 * math/math_private.h: Define __nan, __nanf, __nanl.
22894 * math/s_cacosh.c: Include <math_private.h>.
22895 * math/s_cacoshl.c: Likewise.
22896 * math/s_casinh.c: Likewise.
22897 * math/s_casinhf.c: Likewise.
22898 * math/s_casinhl.c: Likewise.
22899 * math/s_ccos.c: Rely entire on ccosh.
22900 * math/s_ccosf.c: Rely entire on ccoshf.
22901 * math/s_ccosl.c: Rely entirely on ccoshl.
22902 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22903 Remove tests for FE_INVALID.
22904 * math/s_ccoshf.c: Likewise.
22905 * math/s_ccoshl.c: Likewise.
22906 * math/s_csin.c: Likewise.
22907 * math/s_csinf.c: Likewise.
22908 * math/s_csinh.c Likewise.
22909 * math/s_csinhf.c: Likewise.
22910 * math/s_csinhl.c: Likewise.
22911 * math/s_csinl.c: Likewise.
22912 * math/s_ctan.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22914 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22915 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22916
8ec250a4
UD
229172011-10-21 Ulrich Drepper <drepper@gmail.com>
22918
c196fed8
UD
22919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22920 compilation problems.
22921
8ec250a4
UD
22922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22923 __builtin_expect.
22924
8d4f46c6
UD
229252011-10-20 Ulrich Drepper <drepper@gmail.com>
22926
ed72b654
UD
22927 * sysdeps/i386/configure.in: Test for -mfma4 option.
22928 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22929 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22930 COMMON_CPUID_INDEX_80000001.
22931 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22933 use it if FMA3 is not supported.
22934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22935
8d4f46c6
UD
22936 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22937 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22938
d45c60c2
AS
229392011-10-20 Andreas Schwab <schwab@redhat.com>
22940
22941 [BZ #12892]
22942 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22943 it would create a cycle with a link time dependency.
22944
d9a4d2ab
UD
229452011-10-19 Ulrich Drepper <drepper@gmail.com>
22946
855d1560
UD
22947 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22948 instruction.
22949 * string/Makefile (strop-tests): Add rawmemchr.
22950 * string/test-rawmemchr.c: New file.
22951
d9a4d2ab
UD
22952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22954 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22955 when compiling str{,n}casecmp and when AVX is available. Hook up
22956 new optimized code in initializers.
22957
8f3b1ffe
AS
229582011-10-19 Andreas Schwab <schwab@redhat.com>
22959
22960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22961 __feraiseexcept instead of feraiseexcept.
22962
d38f1dba
UD
229632011-10-18 Ulrich Drepper <drepper@gmail.com>
22964
d9a8d0ab
UD
22965 * math/math_private.h: Define defaults for libc_fetestexcept and
22966 libc_feupdateenv.
22967 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22970 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22972 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22973 libc_fetestexcept and libc_feupdateenv.
22974
4855e3dd
UD
22975 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22976 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22977 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22978 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22979 libc_feholdexcept_setround.
22980
581d30e3
UD
22981 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22982 Add s_nearbyint-c and s_nearbyintf-c.
22983 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22984 nearbyintf inlines.
22985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22989
d38f1dba
UD
22990 * math/math_private.h: Define defaults for libc_fegetround,
22991 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22992 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22993 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22995 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22996 standard functions.
22997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22998 Remove comments and hacks for old compiler versions.
22999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23000 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23001 libc_feholdexceptl.
23002
caa6c9d8
AS
230032011-10-18 Andreas Schwab <schwab@redhat.com>
23004
23005 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23006 (__feraiseexcept_renamed): Add __NTH.
23007 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23008 namespace violations.
23009
97c066e6
UD
230102011-10-17 Ulrich Drepper <drepper@gmail.com>
23011
99ce7b04
UD
23012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23013
1004d182
UD
23014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23015
228a984d
UD
23016 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23017 recently added interfaces.
23018 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23019
c8553a6a
UD
23020 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23021 about macro parameter expansion.
23022
ed22dcf6
UD
23023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23024 __NO_MATH_INLINES is defined. Cleanups.
23025
23026 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23027 and __floorf is target has SSE4.1.
23028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23029 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23032
b171c137
UD
23033 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23034 name.
23035 (floorf): Likewise.
23036
97c066e6
UD
23037 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23038
629f62ef
AS
230392011-10-17 Andreas Schwab <schwab@redhat.com>
23040
49a43d80
AS
23041 * misc/sys/cdefs.h: Fix last change.
23042
629f62ef
AS
23043 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23044 database lookup.
23045
e453f6cd
UD
230462011-10-16 Ulrich Drepper <drepper@gmail.com>
23047
aa78043a
UD
23048 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23049
ad0f5cad
UD
23050 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23058 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23059 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23060 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23061 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23062 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23063 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23065 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23069 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23072
23073 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23074 ceil, ceilf, floor, floorf.
23075
23076 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23077 Perform IRELATIVE relocations last.
23078
e453f6cd
UD
23079 * elf/do-rel.h: Add another parameter nrelative, replacing the
23080 local variable with the same name. Change name of the function
23081 to end in Rel or Rela (uppercase).
23082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23083 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23084 elf_dynamic_do_##reloc function.
23085
fd5bdc09
UD
230862011-10-15 Ulrich Drepper <drepper@gmail.com>
23087
79b195b5
UD
23088 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23089 is sufficient, at least on modern CPUs.
23090
d4a28569
UD
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23092
b61099b5
UD
23093 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23095
bcf01e6d
UD
23096 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23097 __expl_finite.
23098 * math/bits/math-finite.h: Add entries for exp.
23099 * math/e_expl.c: Add __*_finite alias.
23100 * sysdeps/i386/fpu/e_exp.S: Likewise.
23101 * sysdeps/i386/fpu/e_expf.S: Likewise.
23102 * sysdeps/i386/fpu/e_expl.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23108 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23109 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23110
ba1a0d59
UD
23111 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23112 is sufficient, at least on modern CPUs.
23113
fd5bdc09
UD
23114 * ctype/ctype-info.c (__ctype_init): Define.
23115 * include/ctype.h (__ctype_init): Declare.
23116 (__ctype_b_loc): The variable is always initialized.
23117 (__ctype_toupper_loc): Likewise.
23118 (__ctype_tolower_loc): Likewise.
23119 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23120 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23121
7872cfb0
AS
231222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23123
b468825a
AS
23124 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23125
7872cfb0
AS
23126 * configure.in: Also look in $cxxmachine/include for C++ system
23127 headers.
23128
be13f7bf
LD
231292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23130
23131 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23132 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23133 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23134 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23136 (USE_AS_WMEMCMP): New macro.
23137 Fixing indents.
23138 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23139 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23140 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23141 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23143 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23144 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23146 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23147 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23149 (USE_AS_WMEMCMP): New macro.
23150 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23151 * sysdeps/string/test-memcmp.c: Update.
23152 Fix simple_wmemcmp.
23153 Add new tests.
23154 * wcsmbs/wmemcmp.c: Update.
23155 (WMEMCMP): New macro.
23156 Fix overflow bug.
23157
556a2007
AJ
231582011-10-12 Andreas Jaeger <aj@suse.de>
23159
23160 [BZ #13268]
23161 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23162
538faaa7
UD
231632011-10-15 Ulrich Drepper <drepper@gmail.com>
23164
ab6737ff
UD
23165 * libio/iofwide.c (do_length): Avoid warning.
23166
538faaa7
UD
23167 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23168
396a21b1
UD
231692011-10-14 Ulrich Drepper <drepper@gmail.com>
23170
cdf2901f
UD
23171 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23172
38ad40ce
UD
23173 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23174 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23175 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23176 * sysdeps/i386/i686/fpu/e_log.S: New file.
23177 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23178 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23179
396a21b1
UD
23180 * ctype/ctype.h: Add support for inlined isXXX functions when
23181 compiling C++ code.
23182
6b1f68c9
AS
231832011-10-14 Andreas Schwab <schwab@redhat.com>
23184
349290c0
AS
23185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23186
6b1f68c9
AS
23187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23188
f2282d42
RM
231892011-10-13 Roland McGrath <roland@hack.frob.com>
23190
23191 [BZ #13291]
23192 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23193
5298ffa8
AS
231942011-10-13 Andreas Schwab <schwab@redhat.com>
23195
714fad23
AS
23196 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23197 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23198 feraiseexcept.
23199
81dcc7fb
AS
23200 * sysdeps/x86_64/memrchr.S: Check for zero size.
23201
5298ffa8
AS
23202 * string/stratcliff.c: Add memrchr tests.
23203
951fbcec
LD
232042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23205
23206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23207 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23208 rawmemchr-sse2 rawmemchr-sse2-bsf.
23209 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23210 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23211 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23212 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23213 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23214 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23216 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23218 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23219 * string/memrchr.c (MEMRCHR): New macro.
23220
0ac5ae23
UD
232212011-10-12 Ulrich Drepper <drepper@gmail.com>
23222
23223 Add integration with gcc's -ffinite-math-only and optimize wrapper
23224 functions in libm.
23225 * Versions.def: Define GLIBC_2.15 version for libm.
23226 * math/Makefile (headers): Add bits/math-finite.h.
23227 * math/bits/math-finite.h: New file.
23228 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23229 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23230 * math/e_acoshl.c: Add __*_finite alias.
23231 * math/e_acosl.c: Likewise.
23232 * math/e_asinl.c: Likewise.
23233 * math/e_atan2l.c: Likewise.
23234 * math/e_atanhl.c: Likewise.
23235 * math/e_coshl.c: Likewise.
23236 * math/e_exp10.c: Likewise.
23237 * math/e_exp10f.c: Likewise.
23238 * math/e_exp10l.c: Likewise.
23239 * math/e_exp2l.c: Likewise.
23240 * math/e_fmodl.c: Likewise.
23241 * math/e_gammal_r.c: Likewise.
23242 * math/e_hypotl.c: Likewise.
23243 * math/e_j0l.c: Likewise.
23244 * math/e_j1l.c: Likewise.
23245 * math/e_jnl.c: Likewise.
23246 * math/e_lgammal_r.c: Likewise.
23247 * math/e_log10l.c: Likewise.
23248 * math/e_log2l.c: Likewise.
23249 * math/e_logl.c: Likewise.
23250 * math/e_powl.c: Likewise.
23251 * math/e_sinhl.c: Likewise.
23252 * math/e_sqrtl.c: Likewise.
23253 * math/e_scalb.c: Completely rewritten and optimized.
23254 * math/e_scalbf.c: Likewise.
23255 * math/e_scalbl.c: Likewise.
23256 * math/w_acos.c: Likewise.
23257 * math/w_acosf.c: Likewise.
23258 * math/w_acosl.c: Likewise.
23259 * math/w_acosh.c: Likewise.
23260 * math/w_acoshf.c: Likewise.
23261 * math/w_acoshl.c: Likewise.
23262 * math/w_asin.c: Likewise.
23263 * math/w_asinf.c: Likewise.
23264 * math/w_asinl.c: Likewise.
23265 * math/w_atan2.c: Likewise.
23266 * math/w_atan2f.c: Likewise.
23267 * math/w_atan2l.c: Likewise.
23268 * math/w_atanh.c: Likewise.
23269 * math/w_atanhf.c: Likewise.
23270 * math/w_atanhl.c: Likewise.
23271 * math/w_exp10.c: Likewise.
23272 * math/w_exp10f.c: Likewise.
23273 * math/w_exp10l.c: Likewise.
23274 * math/w_fmod.c: Likewise.
23275 * math/w_fmodf.c: Likewise.
23276 * math/w_fmodl.c: Likewise.
23277 * math/w_j0.c: Likewise.
23278 * math/w_j0f.c: Likewise.
23279 * math/w_j0l.c: Likewise.
23280 * math/w_j1.c: Likewise.
23281 * math/w_j1f.c: Likewise.
23282 * math/w_j1l.c: Likewise.
23283 * math/w_jn.c: Likewise.
23284 * math/w_jnf.c: Likewise.
23285 * math/w_log.c: Likewise.
23286 * math/w_logf.c: Likewise.
23287 * math/w_logl.c: Likewise.
23288 * math/w_log10.c: Likewise.
23289 * math/w_log10f.c: Likewise.
23290 * math/w_log10l.c: Likewise.
23291 * math/w_log2.c: Likewise.
23292 * math/w_log2f.c: Likewise.
23293 * math/w_log2l.c: Likewise.
23294 * math/w_pow.c: Likewise.
23295 * math/w_powf.c: Likewise.
23296 * math/w_powl.c: Likewise.
23297 * math/w_remainder.c: Likewise.
23298 * math/w_remainderf.c: Likewise.
23299 * math/w_remainderl.c: Likewise.
23300 * math/w_scalb.c: Likewise.
23301 * math/w_scalbf.c: Likewise.
23302 * math/w_scalbl.c: Likewise.
23303 * math/w_sqrt.c: Likewise.
23304 * math/w_sqrtf.c: Likewise.
23305 * math/w_sqrtl.c: Likewise.
23306 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23307 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23308 used.
23309 * math/math_private.h: Declare __kernel_standard_f.
23310 * math/w_cosh.c: Remove cruft and optimize a bit.
23311 * math/w_coshf.c: Likewise.
23312 * math/w_coshl.c: Likewise.
23313 * math/w_exp2.c: Likewise.
23314 * math/w_exp2f.c: Likewise.
23315 * math/w_exp2l.c: Likewise.
23316 * math/w_hypot.c: Likewise.
23317 * math/w_hypotf.c: Likewise.
23318 * math/w_hypotl.c: Likewise.
23319 * math/w_lgamma.c: Likewise.
23320 * math/w_lgamma_r.c: Likewise.
23321 * math/w_lgammaf.c: Likewise.
23322 * math/w_lgammaf_r.c: Likewise.
23323 * math/w_lgammal.c: Likewise.
23324 * math/w_lgammal_r.c: Likewise.
23325 * math/w_sinh.c: Likewise.
23326 * math/w_sinhf.c: Likewise.
23327 * math/w_sinhl.c: Likewise.
23328 * math/w_tgamma.c: Likewise.
23329 * math/w_tgammaf.c: Likewise.
23330 * math/w_tgammal.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23333 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23334 Minor optimizations. Pretty printing. Remove cruft.
23335 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23339 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23340 * sysdeps/i386/fpu/e_asin.S: Likewise.
23341 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23342 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23343 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23344 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23348 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23349 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23350 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23351 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23352 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23353 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23354 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23355 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23356 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23357 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23358 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23359 * sysdeps/i386/fpu/e_log.S: Likewise.
23360 * sysdeps/i386/fpu/e_log10.S: Likewise.
23361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23363 * sysdeps/i386/fpu/e_log2.S: Likewise.
23364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23366 * sysdeps/i386/fpu/e_logf.S: Likewise.
23367 * sysdeps/i386/fpu/e_logl.S: Likewise.
23368 * sysdeps/i386/fpu/e_pow.S: Likewise.
23369 * sysdeps/i386/fpu/e_powf.S: Likewise.
23370 * sysdeps/i386/fpu/e_powl.S: Likewise.
23371 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23372 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23373 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23377 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23378 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23379 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23471 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23473 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23477 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23478 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23479 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23480 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23481 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23482 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23483 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23488 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23490 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23491 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23492 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23493 (__isnanf): Likewise.
23494 (__isinf_ns): Likewise.
23495 (__isinf_nsf): Likewise.
23496 (__finite): Likewise.
23497 (__finitef): Likewise.
23498 (__ieee754_sqrt): Define as macro.
23499 (__ieee754_sqrtf): Define as macro.
23500 (__ieee754_sqrtl): Define as macro.
23501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23502 inlined copy.
23503 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23504 __FINITE_MATH_ONLY__ consistent.
23505 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23506
12cc2fcd
AS
235072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23508
a843a204
AS
23509 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23510 of rawmemchr.
23511
12cc2fcd
AS
23512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23513
c853acd5
UD
235142011-10-09 Ulrich Drepper <drepper@gmail.com>
23515
23516 * po/ja.po: Update from translation team.
23517
c658d255
RM
235182011-10-08 Roland McGrath <roland@hack.frob.com>
23519
110946e4
RM
23520 * locale/programs/locarchive.c (prepare_address_space): New function.
23521 (create_archive, enlarge_archive, open_archive): Use it.
23522
50604220
RM
23523 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23524 inside [SHARED], where it is used.
23525
c658d255
RM
23526 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23527
23528 * nss/getent.c (netgroup_keys): Remove unused variable.
23529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23530
6a621eb7
UD
235312011-10-08 Ulrich Drepper <drepper@gmail.com>
23532
7edb55ce
UD
23533 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23539 * math/Makefile (libm-calls): Add s_isinf_ns.
23540 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23541 * math/multc3.c: Likewise.
23542 * math/s_casin.c: Likewise.
23543 * math/s_casinf.c: Likewise.
23544 * math/s_casinl.c: Likewise.
23545 * math/s_ccos.c: Likewise.
23546 * math/s_ccosf.c: Likewise.
23547 * math/s_ccosl.c: Likewise.
23548 * math/s_ctan.c: Likewise.
23549 * math/s_ctanf.c: Likewise.
23550 * math/s_ctanh.c: Likewise.
23551 * math/s_ctanhf.c: Likewise.
23552 * math/s_ctanhl.c: Likewise.
23553 * math/s_ctanl.c: Likewise.
23554 * math/w_fmod.c: Likewise.
23555 * math/w_fmodf.c: Likewise.
23556 * math/w_fmodl.c: Likewise.
23557 * math/w_remainder.c: Likewise.
23558 * math/w_remainderf.c: Likewise.
23559 * math/w_remainderl.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23561 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23564 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23565 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23566 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23567 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23568
187da0ae
UD
23569 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23570 of the number.
23571 * stdio-common/printf_fphex.c: Likewise.
23572 * stdio-common/printf_size.c: Likewise.
23573
9277c064
UD
23574 * math/e_exp10.c: Include math_private.h using <...> not "...".
23575 * math/e_exp10f.c: Likewise.
23576 * math/e_exp10l.c: Likewise.
23577 * math/e_exp2l.c: Likewise.
23578 * math/e_j0l.c: Likewise.
23579 * math/e_j1l.c: Likewise.
23580 * math/e_jnl.c: Likewise.
23581 * math/e_lgammal_r.c: Likewise.
23582 * math/e_rem_pio2l.c: Likewise.
23583 * math/e_scalb.c: Likewise.
23584 * math/e_scalbf.c: Likewise.
23585 * math/e_scalbl.c: Likewise.
23586 * math/k_cosl.c: Likewise.
23587 * math/k_sinl.c: Likewise.
23588 * math/k_tanl.c: Likewise.
23589 * math/s_cacoshf.c: Likewise.
23590 * math/s_catan.c: Likewise.
23591 * math/s_catanf.c: Likewise.
23592 * math/s_catanh.c: Likewise.
23593 * math/s_catanhf.c: Likewise.
23594 * math/s_catanhl.c: Likewise.
23595 * math/s_catanl.c: Likewise.
23596 * math/s_ccosh.c: Likewise.
23597 * math/s_ccoshf.c: Likewise.
23598 * math/s_ccoshl.c: Likewise.
23599 * math/s_cexp.c: Likewise.
23600 * math/s_cexpf.c: Likewise.
23601 * math/s_cexpl.c: Likewise.
23602 * math/s_clog.c: Likewise.
23603 * math/s_clog10.c: Likewise.
23604 * math/s_clog10f.c: Likewise.
23605 * math/s_clog10l.c: Likewise.
23606 * math/s_clogf.c: Likewise.
23607 * math/s_clogl.c: Likewise.
23608 * math/s_csin.c: Likewise.
23609 * math/s_csinf.c: Likewise.
23610 * math/s_csinh.c: Likewise.
23611 * math/s_csinhf.c: Likewise.
23612 * math/s_csinhl.c: Likewise.
23613 * math/s_csinl.c: Likewise.
23614 * math/s_csqrt.c: Likewise.
23615 * math/s_csqrtf.c: Likewise.
23616 * math/s_csqrtl.c: Likewise.
23617 * math/s_ctan.c: Likewise.
23618 * math/s_ctanf.c: Likewise.
23619 * math/s_ctanh.c: Likewise.
23620 * math/s_ctanhf.c: Likewise.
23621 * math/s_ctanhl.c: Likewise.
23622 * math/s_ctanl.c: Likewise.
23623 * math/s_ldexp.c: Likewise.
23624 * math/s_ldexpf.c: Likewise.
23625 * math/s_ldexpl.c: Likewise.
23626 * math/s_significand.c: Likewise.
23627 * math/s_significandf.c: Likewise.
23628 * math/s_significandl.c: Likewise.
23629 * math/w_acos.c: Likewise.
23630 * math/w_acosf.c: Likewise.
23631 * math/w_acosh.c: Likewise.
23632 * math/w_acoshf.c: Likewise.
23633 * math/w_acoshl.c: Likewise.
23634 * math/w_acosl.c: Likewise.
23635 * math/w_asin.c: Likewise.
23636 * math/w_asinf.c: Likewise.
23637 * math/w_asinl.c: Likewise.
23638 * math/w_atan2.c: Likewise.
23639 * math/w_atan2f.c: Likewise.
23640 * math/w_atan2l.c: Likewise.
23641 * math/w_atanh.c: Likewise.
23642 * math/w_atanhf.c: Likewise.
23643 * math/w_atanhl.c: Likewise.
23644 * math/w_cosh.c: Likewise.
23645 * math/w_coshf.c: Likewise.
23646 * math/w_coshl.c: Likewise.
23647 * math/w_dremf.c: Likewise.
23648 * math/w_exp10.c: Likewise.
23649 * math/w_exp10f.c: Likewise.
23650 * math/w_exp10l.c: Likewise.
23651 * math/w_exp2.c: Likewise.
23652 * math/w_exp2f.c: Likewise.
23653 * math/w_fmod.c: Likewise.
23654 * math/w_fmodf.c: Likewise.
23655 * math/w_fmodl.c: Likewise.
23656 * math/w_hypot.c: Likewise.
23657 * math/w_hypotf.c: Likewise.
23658 * math/w_hypotl.c: Likewise.
23659 * math/w_j0.c: Likewise.
23660 * math/w_j0f.c: Likewise.
23661 * math/w_j0l.c: Likewise.
23662 * math/w_j1.c: Likewise.
23663 * math/w_j1f.c: Likewise.
23664 * math/w_j1l.c: Likewise.
23665 * math/w_jn.c: Likewise.
23666 * math/w_jnf.c: Likewise.
23667 * math/w_jnl.c: Likewise.
23668 * math/w_lgamma.c: Likewise.
23669 * math/w_lgamma_r.c: Likewise.
23670 * math/w_lgammaf.c: Likewise.
23671 * math/w_lgammaf_r.c: Likewise.
23672 * math/w_lgammal.c: Likewise.
23673 * math/w_lgammal_r.c: Likewise.
23674 * math/w_log.c: Likewise.
23675 * math/w_log10.c: Likewise.
23676 * math/w_log10f.c: Likewise.
23677 * math/w_log10l.c: Likewise.
23678 * math/w_log2.c: Likewise.
23679 * math/w_log2f.c: Likewise.
23680 * math/w_log2l.c: Likewise.
23681 * math/w_logf.c: Likewise.
23682 * math/w_logl.c: Likewise.
23683 * math/w_pow.c: Likewise.
23684 * math/w_powf.c: Likewise.
23685 * math/w_powl.c: Likewise.
23686 * math/w_remainder.c: Likewise.
23687 * math/w_remainderf.c: Likewise.
23688 * math/w_remainderl.c: Likewise.
23689 * math/w_scalb.c: Likewise.
23690 * math/w_scalbf.c: Likewise.
23691 * math/w_scalbl.c: Likewise.
23692 * math/w_sinh.c: Likewise.
23693 * math/w_sinhf.c: Likewise.
23694 * math/w_sinhl.c: Likewise.
23695 * math/w_sqrt.c: Likewise.
23696 * math/w_sqrtf.c: Likewise.
23697 * math/w_sqrtl.c: Likewise.
23698 * math/w_tgamma.c: Likewise.
23699 * math/w_tgammaf.c: Likewise.
23700 * math/w_tgammal.c: Likewise.
23701
6a621eb7
UD
23702 * po/ja.po: Update from translation team.
23703
bf582445
AJ
237042011-09-29 Andreas Jaeger <aj@suse.de>
23705
f9efbf3a
AJ
23706 [BZ #13179]
23707 * sunrpc/netname.c (netname2host): Fix logic.
23708
bf582445
AJ
23709 [BZ #6779]
23710 [BZ #6783]
23711 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23712 correctly.
23713 * math/w_remainder.c (__remainder): Likewise.
23714 * math/w_remainderf.c (__remainderf): Likewise.
23715 * math/libm-test.inc (remainder_test): Add test cases.
23716
48693bea
AK
237172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23718
23719 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23720 sdiv_qrnnd.
23721
42622229
LD
237222011-10-07 Ulrich Drepper <drepper@gmail.com>
23723
23724 * string/test-memcmp.c: Avoid unncessary #defines.
23725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23726
093ecf92
LD
237272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23728
23729 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23730 Use new sse2 version for core i3 - i7 as it's faster
23731 than sse42 version.
23732 (bit_Prefer_PMINUB_for_stringop): New.
23733 * sysdeps/x86_64/rawmemchr.S: Update.
23734 Replace with faster SSE2 version.
23735 * sysdeps/x86_64/memrchr.S: New file.
23736 * sysdeps/x86_64/memchr.S: Update.
23737 Replace with faster SSE2 version.
23738
fde56e5c
MP
237392011-09-12 Marek Polacek <mpolacek@redhat.com>
23740
23741 * elf/dl-load.c (lose): Add cast to avoid warning.
23742
21fd49a9
UD
237432011-10-07 Ulrich Drepper <drepper@gmail.com>
23744
5a06e643
UD
23745 * po/ca.po: Update from translation team.
23746
684ae515
UD
23747 * inet/getnetgrent_r.c: Hook up nscd.
23748 * nscd/Makefile (routines): Add nscd_netgroup.
23749 (nscd-modules): Add netgroupcache.
23750 (CFLAGS-netgroupcache.c): Define.
23751 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23752 (cache_search): Add const to second parameter.
23753 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23754 INNETGR.
23755 (dbs): Add netgrdb entry.
23756 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23757 (verify_persistent_db): Handle netgrdb.
23758 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23759 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23760 GETFDNETGR.
23761 (netgroup_response_header): Define.
23762 (innetgroup_response_header): Define.
23763 (datahead): Add netgroup_response_header and innetgroup_response_header
23764 elements.
23765 * nscd/nscd.conf: Add entries for netgroup cache.
23766 * nscd/nscd.h (dbtype): Add netgrdb.
23767 (_PATH_NSCD_NETGROUP_DB): Define.
23768 (netgroup_iov_disabled): Declare.
23769 (xmalloc, xcalloc, xrealloc): Move declarations here.
23770 (cache_search): Adjust prototype.
23771 Add netgroup-related prototypes.
23772 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23773 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23774 (__nscd_innetgr): Declare.
23775 * nscd/selinux.c (perms): Use access_vector_t as element type and
23776 add netgroup-related initializers.
23777 * nscd/netgroupcache.c: New file.
23778 * nscd/nscd_netgroup.c: New file.
23779 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23780 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23781 For four parameters use innetgr.
23782 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23783 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23784 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23785 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23786
21fd49a9
UD
23787 * nscd/connections.c (register_traced_file): Don't register file
23788 for disabled databases.
23789
054c0457
UD
237902011-10-06 Ulrich Drepper <drepper@gmail.com>
23791
32b63198
UD
23792 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23793
054c0457
UD
23794 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23795 from tree and freeing node.
23796
64031225
JO
237972011-09-25 Jiri Olsa <jolsa@redhat.com>
23798
23799 * nss/nsswitch.c (__nss_database_lookup): Handle
23800 nss_parse_service_list out of memory case.
23801
0490345c
JO
238022011-09-15 Jiri Olsa <jolsa@redhat.com>
23803
23804 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23805 out of memory case.
23806
3a62d00d
AS
238072011-10-04 Andreas Schwab <schwab@redhat.com>
23808
23809 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23810 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23811 pass it down.
23812 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23813 elf_machine_rela, elf_machine_lazy_rel.
23814 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23815 (ELF_DYNAMIC_DO_REL): Likewise.
23816 (ELF_DYNAMIC_DO_RELA): Likewise.
23817 (ELF_DYNAMIC_RELOCATE): Likewise.
23818 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23819 to ELF_DYNAMIC_DO_REL.
23820 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23821 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23822 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23823 elf_machine_rela.
23824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23825 skip_ifunc, don't call ifunc function if non-zero.
23826 (elf_machine_rela): Likewise.
23827 (elf_machine_lazy_rel): Likewise.
23828 (elf_machine_lazy_rela): Likewise.
23829 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23830 (elf_machine_lazy_rel): Likewise.
23831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23832 Likewise.
23833 (elf_machine_lazy_rel): Likewise.
23834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23835 Likewise.
23836 (elf_machine_lazy_rel): Likewise.
23837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23838 (elf_machine_lazy_rel): Likewise.
23839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23840 (elf_machine_lazy_rel): Likewise.
23841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23842 (elf_machine_lazy_rel): Likewise.
23843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23844 (elf_machine_lazy_rel): Likewise.
23845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23846 (elf_machine_lazy_rel): Likewise.
23847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23848 (elf_machine_lazy_rel): Likewise.
23849
68577918
UD
238502011-09-28 Ulrich Drepper <drepper@gmail.com>
23851
23852 * nss/nss_files/files-init.c (_nss_files_init): Use static
23853 initialization for all the *_traced_file variables.
23854
68822d74
AS
238552011-09-28 Andreas Schwab <schwab@redhat.com>
23856
23857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23858
2056100b
RM
238592011-09-27 Roland McGrath <roland@hack.frob.com>
23860
23861 [BZ #13226]
23862 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23863
32c76b63
AS
238642011-09-27 Andreas Schwab <schwab@redhat.com>
23865
23866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23867 Reread the line before reparsing it.
23868
bf972c9d
AS
238692011-09-26 Andreas Schwab <schwab@redhat.com>
23870
23871 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23872
e057a1b5
JM
238732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23874 Maxim Kuvyrkov <maxim@codesourcery.com>
23875 Joseph Myers <joseph@codesourcery.com>
23876
23877 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23878 if needed for __stack_chk_guard.
23879
bc7e1c36
RM
238802011-09-19 Roland McGrath <roland@hack.frob.com>
23881
ecb1482f
RM
23882 * sysdeps/posix/spawni.c (script_execute): Always define it.
23883 It will be optimized away if unused.
23884 (maybe_script_execute): New function.
23885 (__spawni): Call it.
23886
bc7e1c36
RM
23887 * Makerules: Don't include tls.make.
23888 (config-tls): Always set to thread.
23889 * tls.make.c: File removed.
23890
1c3b002b
MF
238912011-09-19 Mike Frysinger <vapier@gentoo.org>
23892
23893 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23894 * config.make.in (CPPFLAGS-config): New substituted variable.
23895
2840865d
UD
238962011-09-15 Ulrich Drepper <drepper@gmail.com>
23897
88738eb6
UD
23898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23899
cbf645a6 23900 [BZ #13192]
2840865d
UD
23901 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23902 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23903
b402e91a
RM
239042011-09-15 Roland McGrath <roland@hack.frob.com>
23905
23906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23907 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23909 (CALL_FAIL): Likewise.
23910 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23911 (CALL_FAIL): Macro removed.
23912 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23913
4c1a1f71
UD
239142011-09-15 Ulrich Drepper <drepper@gmail.com>
23915
23916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23917 for __FINITE_MATH_ONLY__ == 1.
23918
edc121be
AS
239192011-09-15 Andreas Schwab <schwab@redhat.com>
23920
23921 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23922 __ieee754_sqrt instead of sqrt.
23923 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23924 __ieee754_sqrtf instead of sqrtf.
23925 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23926 __floorf instead of floorf.
23927 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23928 __floorf, __truncf instead of floorf, truncf.
23929
cd205654
UD
239302011-09-14 Ulrich Drepper <drepper@gmail.com>
23931
ee4d0315
UD
23932 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23933
cd205654
UD
23934 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23935 __extern_always_inline.
23936 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23937 32-bit.
23938
48b67d71
AS
239392011-09-14 Andreas Schwab <schwab@redhat.com>
23940
23941 * elf/rtld.c (dl_main): Also relocate in dependency order when
23942 doing symbol dependency testing.
23943
1ae12c75
AS
239442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23945
23946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23947 Always define `refsym'.
23948
995a80df
AS
239492011-09-13 Andreas Schwab <schwab@redhat.com>
23950
e529793b
AS
23951 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23952 (__FD_ELT): Renamed from __FDELT.
23953 * misc/bits/select2.h (__FD_ELT): Likewise.
23954 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23955 __FD_MASK instead of __FDELT, __FDMASK.
23956 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23957 Likewise.
23958 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23959 Likewise.
23960
52d4fef8
AS
23961 * elf/Makefile (gen-ldd): Fix pattern.
23962
995a80df
AS
23963 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23964 (init_tls): Likewise.
23965
8682f8b0
UD
239662011-09-12 Ulrich Drepper <drepper@gmail.com>
23967
23968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23969
de82006d
AS
239702011-09-12 Andreas Schwab <schwab@redhat.com>
23971
a7c8e6a1
AS
23972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23973 `struct cmsghdr *' instead of `void *'.
23974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23975 Likewise.
23976
0f31fe77
AS
239772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23978
23979 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23980 if non-absolute.
23981 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23982 ldd_rewrite_script.
0f31fe77 23983
32b4c839
UD
239842011-09-11 Ulrich Drepper <drepper@gmail.com>
23985
83cd1420
UD
23986 * configure.in: Remove --with-tls option.
23987 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23988 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23989 out in case it is missing.
23990 * sysdeps/ia64/elf/configure.in: Likewise.
23991 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23992 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23993 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23994 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23995 * sysdeps/sh/elf/configure.in: Likewise.
23996 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23998 * sysdeps/x86_64/elf/configure.in: Likewise.
23999 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24000 * sysdeps/mach/hurd/tls.h: Likewise.
24001
633f745d
UD
24002 [BZ #13067]
24003 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24004
f318beb8
UD
24005 [BZ #13090]
24006 * configure.in: Fix use of AC_INIT.
24007
32b4c839
UD
24008 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24009
3ce1f295
UD
240102011-09-10 Ulrich Drepper <drepper@gmail.com>
24011
bb016596
UD
24012 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24013 __set_errno.
8e58439c
UD
24014 * malloc/hooks.c: Likewise.
24015
aebae053 24016 [BZ #11929]
02d46fc4
UD
24017 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24018 variables statically.
24019 (narenas): Initialize.
24020 (list_lock): Initialize.
bb016596
UD
24021 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24022 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24023 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24024 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24025 Add initializers to main_arena and mp_.
24026 (malloc_state): Remove pagesize member. Change all users to use
24027 GLRO(dl_pagesize).
24028
24029 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24030 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24031 is always initialized.
24032
22a89187
UD
24033 * malloc/malloc.c: Removed unused configurations and dead code.
24034 * malloc/arena.c: Likewise.
24035 * malloc/hooks.c: Likewise.
02d46fc4 24036 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24037
d063d164
UD
24038 * include/tls.h: Removed. USE___THREAD must always be defined.
24039 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24040 * elf/dl-libc.c: Likewise.
24041 * elf/dl-tsd.c: Likewise.
24042 * include/errno.h: Likewise.
24043 * include/netdb.h: Likewise.
24044 * include/resolv.h: Likewise.
24045 * inet/herrno-loc.c: Likewise.
24046 * inet/herrno.c: Likewise.
24047 * malloc/arena.c: Likewise.
24048 * malloc/hooks.c: Likewise.
24049 * malloc/malloc.c: Likewise.
24050 * resolv/res-state.c: Likewise.
24051 * resolv/res_libc.c: Likewise.
24052 * sysdeps/i386/dl-machine.h: Likewise.
24053 * sysdeps/ia64/dl-machine.h: Likewise.
24054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24058 * sysdeps/sh/dl-machine.h: Likewise.
24059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24061 * sysdeps/unix/i386/sysdep.S: Likewise.
24062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24063 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24073 * sysdeps/x86_64/dl-machine.h: Likewise.
24074 * tls.make.c: Likewise.
24075
3ce1f295
UD
24076 * configure.in: Remove --with-__thread option. Make tests for
24077 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24078 tls_model attribute fail if no support is available. Remove
24079 USE_IN_LIBIO.
24080 * Makeconfig: Adjust for dropped configure option. All features are
24081 now mandatory.
24082 * Makerules: Likewise.
24083 * Versions.def: Likewise.
24084 * argp/argp-fmtstream.c: Likewise.
24085 * argp/argp-fmtstream.h: Likewise.
24086 * argp/argp-help.c: Likewise.
24087 * assert/assert.c: Likewise.
24088 * config.h.in: Likewise.
24089 * config.make.in: Likewise.
24090 * configure: Likewise.
24091 * configure.in: Likewise.
24092 * csu/Versions: Likewise.
24093 * csu/init.c: Likewise.
24094 * elf/tst-audit2.c: Likewise.
24095 * elf/tst-tls10.c: Likewise.
24096 * elf/tst-tls10.h: Likewise.
24097 * elf/tst-tls11.c: Likewise.
24098 * elf/tst-tls12.c: Likewise.
24099 * elf/tst-tls14.c: Likewise.
24100 * elf/tst-tlsmod11.c: Likewise.
24101 * elf/tst-tlsmod12.c: Likewise.
24102 * elf/tst-tlsmod13.c: Likewise.
24103 * elf/tst-tlsmod13a.c: Likewise.
24104 * elf/tst-tlsmod14a.c: Likewise.
24105 * elf/tst-tlsmod15b.c: Likewise.
24106 * elf/tst-tlsmod16a.c: Likewise.
24107 * elf/tst-tlsmod16b.c: Likewise.
24108 * elf/tst-tlsmod7.c: Likewise.
24109 * elf/tst-tlsmod8.c: Likewise.
24110 * elf/tst-tlsmod9.c: Likewise.
24111 * gmon/gmon.c: Likewise.
24112 * grp/fgetgrent_r.c: Likewise.
24113 * grp/putgrent.c: Likewise.
24114 * hurd/fopenport.c: Likewise.
24115 * include/libc-symbols.h: Likewise.
24116 * include/tls.h: Likewise.
24117 * intl/gettextP.h: Likewise.
24118 * intl/loadinfo.h: Likewise.
24119 * locale/global-locale.c: Likewise.
24120 * locale/localeinfo.h: Likewise.
24121 * mach/devstream.c: Likewise.
24122 * malloc/arena.c: Likewise.
24123 * malloc/set-freeres.c: Likewise.
24124 * misc/err.c: Likewise.
24125 * misc/getttyent.c: Likewise.
24126 * misc/mntent_r.c: Likewise.
24127 * posix/getopt.c: Likewise.
24128 * posix/wordexp.c: Likewise.
24129 * pwd/fgetpwent_r.c: Likewise.
24130 * resolv/Versions: Likewise.
24131 * resolv/res_hconf.c: Likewise.
24132 * shadow/fgetspent_r.c: Likewise.
24133 * shadow/putspent.c: Likewise.
24134 * stdio-common/printf_fphex.c: Likewise.
24135 * stdio-common/tmpfile.c: Likewise.
24136 * stdlib/abort.c: Likewise.
24137 * stdlib/fmtmsg.c: Likewise.
24138 * sunrpc/auth_unix.c: Likewise.
24139 * sunrpc/clnt_perr.c: Likewise.
24140 * sunrpc/clnt_tcp.c: Likewise.
24141 * sunrpc/clnt_udp.c: Likewise.
24142 * sunrpc/clnt_unix.c: Likewise.
24143 * sunrpc/openchild.c: Likewise.
24144 * sunrpc/svc_simple.c: Likewise.
24145 * sunrpc/svc_tcp.c: Likewise.
24146 * sunrpc/svc_udp.c: Likewise.
24147 * sunrpc/svc_unix.c: Likewise.
24148 * sunrpc/xdr.c: Likewise.
24149 * sunrpc/xdr_array.c: Likewise.
24150 * sunrpc/xdr_rec.c: Likewise.
24151 * sunrpc/xdr_ref.c: Likewise.
24152 * sunrpc/xdr_stdio.c: Likewise.
24153
1248c1c4
PB
241542011-09-09 Ulrich Drepper <drepper@gmail.com>
24155
24156 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24157
241582011-07-03 Andreas Jaeger <aj@suse.de>
24159
24160 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24161 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24162 regenerate with gen-libm-tests.pl.
24163
241642010-05-12 Petr Baudis <pasky@suse.cz>
24165
24166 [BZ #11589]
24167 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24168 around j0() zero points by switching to j1().
24169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24173
f22e1074
UD
241742011-09-09 Ulrich Drepper <drepper@gmail.com>
24175
f19009c1
UD
24176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24177 instead of 0.
24178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24179 instead of 0.
f19009c1
UD
24180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24181 Patch in part by Pavel Roskin <proski@gnu.org>.
24182
3f8cc204
UD
24183 [BZ #13138]
24184 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24185 realloc.
24186 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24187 Free memory block if necessary.
24188
f22e1074
UD
24189 [BZ #12847]
24190 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24191 be NULL. Don't lock in this case.
24192
0a2349f9
RM
241932011-09-09 Roland McGrath <roland@hack.frob.com>
24194
24195 * elf/elf.h (ELFOSABI_GNU): New macro.
24196 (ELFOSABI_LINUX): Define to that.
24197
f3cdd467
DZ
241982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24199
24200 * string/strncat.c (strncat): Undef the symbol in case it has been
24201 defined in bits/string.h.
24202
74718d13
UD
242032011-09-09 Ulrich Drepper <drepper@gmail.com>
24204
633e9e0f
UD
24205 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24206
0a2349f9 24207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24208 link map.
24209
f9924780
AJ
242102011-08-17 Andreas Jaeger <aj@suse.de>
24211
24212 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24213
7f5517aa
PP
242142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24215 Ian Lance Taylor <iant@google.com>
24216
24217 * math/libm-test.inc (lround_test): New testcase.
24218 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24219
762011fe
UD
242202011-09-08 Ulrich Drepper <drepper@gmail.com>
24221
92963737
UD
24222 * Makefile: Remove support for automatic cvs check-ins.
24223 * Makerules: Likewise.
24224 * config.make.in: Likewise.
24225 * configure.in: Likewise.
24226 * intl/Makefile: Likewise.
24227 * locale/Makefile: Likewise.
24228 * po/Makefile: Likewise.
24229 * posix/Makefile: Likewise.
24230 * sysdeps/gnu/Makefile: Likewise.
24231 * sysdeps/mach/hurd/Makefile: Likewise.
24232 * sysdeps/sparc/sparc32/Makefile: Likewise.
24233
b0727fd8
JS
24234 [BZ #13118]
24235 * posix/Makefile (bug-regex32-ENV): Define.
24236 Patch by John Stanley <jpsinthemix@verizon.net>.
24237
a0f33f99
UD
24238 * misc/Makefile (headers): Add bits/select2.h.
24239 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24240 * misc/bits/select2.h: New file.
24241 * include/bits/select2.h: New file.
24242 * debug/Makefile (routines): Add fdelt_chk.
24243 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24244 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24245 FD_ISSET.
24246 * debug/fdelt_chk.c: New file.
24247
762011fe
UD
24248 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24249 * wcsmbs/test-wmemcmp.c: Likewise.
24250 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24251 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24252
242532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24254
24255 * string/Makefile (strop-tests): Add memcmp.
24256 * string/test-wmemcmp.c: New file.
24257 * string/test-memcmp.c: Add wmemcmp support.
24258
7f513ec8
RM
242592011-09-08 Roland McGrath <roland@hack.frob.com>
24260
0442afb4
RM
24261 [BZ #13153]
24262 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24263 2011-07-19 change.
24264
7f513ec8
RM
24265 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24266 garbage value in a __mach_port_mod_refs call in the cases of the
24267 task-self and thread-self ports.
24268
a12b2239
ST
242692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24270
24271 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24272
610f9ab4
AS
242732011-09-08 Andreas Schwab <schwab@redhat.com>
24274
7f513ec8 24275 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24276
48882a1a
LD
242772011-09-07 Ulrich Drepper <drepper@gmail.com>
24278
b49865be
UD
24279 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24280
fdc86bc9
UD
24281 * elf/dl-libc.c (dlerror_run): Pass back error code from
24282 dl_catch_error.
24283
c966526a
UD
24284 [BZ #13123]
24285 * elf/dl-load.c (lose): Free l_origin if it is valid.
24286
48882a1a
LD
24287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24288 names.
24289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24294 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24295
77a2a8b4
AZ
242962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24297
24298 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24299 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24300 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24302 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24303 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24304 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24305 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24306 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24307 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24308
24f579d8
AM
243092011-08-15 Alan Modra <amodra@gmail.com>
24310
24311 [BZ #13092]
24312 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24313 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24314 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24315 ppc_mcount to static-only-routines.
24316 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24317 __mcount_internal.
24318 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24319 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24320
3d4837df
UD
243212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24322
24323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24324 for finite and infinity parameters.
24325
22700377
WS
243262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24327
24328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24329 and add nop instructions for throughput optimization.
24330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24331
5025581e
WS
243322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24333
24334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24335 aligned copy for power7 with vector-scalar instructions.
24336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24337
08a300c9
L
243382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24339
24340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24341 AVX check.
24342
59178ef9
AS
243432011-09-07 Andreas Schwab <schwab@redhat.com>
24344
24345 [BZ #13144]
24346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24347 last change.
24348
e38ba7ab
UD
243492011-09-07 Ulrich Drepper <drepper@gmail.com>
24350
24351 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24352 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24353 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24355 clock_gettime.
24356
d53a73ac
UD
243572011-09-06 Ulrich Drepper <drepper@gmail.com>
24358
fc8bffcc
UD
24359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24360 Forgot to demangle the pointer.
24361
ceaa0c5d
UD
24362 * sysdeps/i386/sysdep.h: Define atom_text_section.
24363 * sysdeps/x86_64/sysdep.h: Likewise.
24364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24365 section with atom_text_section.
24366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24368 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24371
a77d3c17
UD
24372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24374 already be defined. Change to take two parameters and don't assign
24375 result to variable. Adjust all users.
24376 Define INTERNAL_GETTIME if not already defined.
24377 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24378 call.
24379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24380 HAVE_CLOCK_GETTIME_VSYSCALL.
24381 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24382
d53a73ac
UD
24383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24384 gettimeofday vsyscall, just use time.
24385
a8f84144
AS
243862011-09-06 Andreas Schwab <schwab@redhat.com>
24387
24388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24389 <errno.h>.
24390
ef606249
UD
243912011-09-06 Ulrich Drepper <drepper@gmail.com>
24392
24393 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24394 syscall on x86-64.
24395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24396 syscall.
24397 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24399 syscall if possible.
24400
6585cb60
UD
244012011-09-05 Ulrich Drepper <drepper@gmail.com>
24402
24403 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24404 e_ident. Don't pass to find_mapsXX.
24405 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24406
a5f524e4
LD
244072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24408
24409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24410 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24411 * sysdeps/x86_64/multiarch/strchr.S: Update.
24412 Check bit_slow_BSF bit.
24413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24416
554881ef
UD
244172011-09-05 Ulrich Drepper <drepper@gmail.com>
24418
d96de963
UD
24419 [BZ #13134]
24420 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24421 before glibc 2.15.
24422 (tryshell): Define.
24423 (__spawni): Change last parameter to be flag. Test
24424 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24425 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24426 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24427 * posix/spawni.c: Likewise.
24428 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24429 * posix/spawnp.c: Likewise. Change normal version to use
24430 SPAWN_XFLAGS_USE_PATH.
24431 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24432 SPAWN_XFLAGS_TRY_SHELL.
24433
d48e5868
UD
24434 [BZ #13150]
24435 * posix/glob.h: Remove gcc 1.x support.
24436
554881ef
UD
24437 [BZ #13068]
24438 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24439
693fb948
LD
244402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24441
24442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24443 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24444 strrchr-sse2-bsf
24445 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24446 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24447 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24451
1b48c537
UD
244522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24453
49d42c37
UD
24454 * sysdeps/x86_64/wcscmp.S: New file.
24455
1b48c537
UD
24456 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24457 wcscmp-c wcscmp-sse2
24458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24459 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24461 * wcsmbs/wcscmp.c: Allow renaming.
24462
15c95c5d
DM
244632011-09-05 David S. Miller <davem@davemloft.net>
24464
24465 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24466 stack slot, rather than the struct return pointer slot.
24467 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24470 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24471
2f0ad8f3
UD
244722011-09-05 Ulrich Drepper <drepper@gmail.com>
24473
d88ae418
UD
24474 * po/ja.po: Update from translation team.
24475
2f0ad8f3
UD
24476 [BZ #13144]
24477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24478 kernel in 64-bit binaries.
24479
5f4318d1
DM
244802011-09-01 David S. Miller <davem@davemloft.net>
24481
24482 * elf/elf.h (HWCAP_SPARC_*): Move to..
24483 * sysdeps/sparc/sysdep.h: this new file and add new values.
24484 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24485 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24486 _DL_HWCAP_COUNT to 24.
24487 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24488 entries.
24489 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24490 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24491 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24493 instead of magic constants.
24494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24495
3ba57516
DM
244962011-08-31 David S. Miller <davem@davemloft.net>
24497
24498 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24500 Reimplement to do errno handling inline.
24501 (SYSCALL_ERROR_HANDLER): New macro.
24502 (__SYSCALL_STRING): Do not do errno handling in asm.
24503 (__CLONE_SYSCALL_STRING): Delete.
24504 (__INTERNAL_SYSCALL_STRING): Delete.
24505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24506 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24507 (PSEUDO): Reimplement to do errno handling inline.
24508 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24509 (SYSCALL_ERROR_HANDLER): New macro.
24510 (__SYSCALL_STRING): Do not do errno handling in asm.
24511 (__CLONE_SYSCALL_STRING): Delete.
24512 (__INTERNAL_SYSCALL_STRING): Delete.
24513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24514 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24515 i386.
24516 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24517 (inline_syscall*): Add 'err' argument.
24518 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24519 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24520 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24521 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24522
24523 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24525
2bc17433
AS
245262011-08-30 Andreas Schwab <schwab@redhat.com>
24527
24528 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24529
fbeb5f4d
JO
245302011-08-29 Jiri Olsa <jolsa@redhat.com>
24531
24532 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24533 directive.
24534
ad69cc26
DM
245352011-08-24 David S. Miller <davem@davemloft.net>
24536
24537 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24538
39dd69df
AS
245392011-08-24 Andreas Schwab <schwab@redhat.com>
24540
24541 * elf/Makefile: Add rules to build and run unload8 test.
24542 * elf/unload8.c: New file.
24543 * elf/unload8mod1.c: New file.
24544 * elf/unload8mod1x.c: New file.
24545 * elf/unload8mod2.c: New file.
24546 * elf/unload8mod3.c: New file.
24547
24548 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24549 it wasn't used.
24550
2c0b250a
DM
245512011-08-23 David S. Miller <davem@davemloft.net>
24552
24553 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24554 subtract stack bias.
24555 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24556 %sp not %fp in calculations.
24557 (_JMPBUF_UNWINDS_ADJ): Likewise.
24558
22044b48
DM
24559 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24560 (aio_suspend): Call it to force an exception region around the
24561 AIO_MISC_WAIT() invocation.
24562
2cae4995
AS
245632011-08-23 Andreas Schwab <schwab@redhat.com>
24564
24565 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24566 backslash.
24567
873a772e
AJ
245682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24569
24570 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24571 protection macro.
24572 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24573 and <dl-machine.h>.
24574 (Elf64_FuncDesc): Remove.
24575
25ad0df1
DM
245762011-08-22 David S. Miller <davem@davemloft.net>
24577
24578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24579 sigaltstack check, add missing cfi directives.
24580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24581 missing cfi directives, and sigaltstack handling.
24582
e888bcbe
AS
245832011-08-16 Andreas Schwab <schwab@redhat.com>
24584
24585 [BZ #11724]
24586 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24587 object is seen twice.
24588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24589
24590 * elf/Makefile (distribute): Add tst-initorder2.c.
24591 (tests): Add tst-initorder2.
24592 (modules-names): Add tst-initorder2a tst-initorder2b
24593 tst-initorder2c tst-initorder2d. Add rules to build them.
24594 ($(objpfx)tst-initorder2.out): New rule.
24595 * elf/tst-initorder2.c: New file.
24596 * elf/tst-initorder2.exp: New file.
24597
87162f46
AS
245982011-08-22 Andreas Schwab <schwab@redhat.com>
24599
70538b7f
AS
24600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24601
f55ffe58
AS
24602 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24603 dependencies back to end of function.
24604
87162f46
AS
24605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24606 $(elfobjdir)/ld.so.
24607
91b392a4
UD
246082011-08-21 Ulrich Drepper <drepper@gmail.com>
24609
24610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24611 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24613 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24615 of __vdso_gettimeofday.
24616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24617 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24618 attribute_hidden.
24619 (_libc_vdso_platform_setup): Remove initialization of
24620 __vdso_gettimeofday and __vdso_time.
24621
5c43483f
UD
246222011-08-20 Ulrich Drepper <drepper@gmail.com>
24623
775a77e7
UD
24624 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24625 and fgetc_unlocked.
24626 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24627 getc_unlocked.
89f447ed 24628
49c74ba9
UD
24629 * elf/dl-open.c (add_to_global): Report additions to the global scope
24630 for LD_DEBUG=scopes.
24631 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24632 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24633
5c43483f
UD
24634 [BZ #13114]
24635 * stdio-common/Makefile (tests): Add bug24.
24636 * stdio-common/bug24.c: New file.
24637
a101b025
AJ
246382011-08-19 Andreas Jaeger <aj@suse.de>
24639
24640 [BZ #13114]
24641 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24642 non-existant file when using close-on-exec mode.
24643
c88f1766
UD
246442011-08-20 Ulrich Drepper <drepper@gmail.com>
24645
0276a718
UD
24646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24647 the very first instruction.
24648
c88f1766
UD
24649 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24650 the CFI state in the end.
24651 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24652 inclusion of dl-trampoline.h.
24653 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24654
51ccffa0
AS
246552011-08-19 Andreas Schwab <schwab@redhat.com>
24656
94d7165f
AS
24657 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24658 expectations for long double.
24659
51ccffa0
AS
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24661 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24662
fd708658 246632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24664
24665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24666 artificual limit depends upon the system page size.
24667
44f0a71e
UD
246682011-08-17 Ulrich Drepper <drepper@gmail.com>
24669
24670 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24671 * resolv/Makefile: Define CFLAGS-libresolv.
24672
8de79a24
AS
246732011-08-17 Andreas Schwab <schwab@redhat.com>
24674
24675 * nss/makedb.c (compute_tables): Make variables used in nested
24676 function static.
24677
27724598
UD
246782011-08-17 Ulrich Drepper <drepper@gmail.com>
24679
c5305d88
UD
24680 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24681 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24682 if buffer was too small.
24683
27724598
UD
24684 * elf/pldd.c (main): Attach to all threads in the process.
24685 Rewrite /proc handling to use *at functions.
24686
076fe015
UD
246872011-08-16 Ulrich Drepper <drepper@gmail.com>
24688
174baab3
UD
24689 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24690 specifies first scope to show.
24691 (dl_open_worker): Update callers. Move printing scope of new
24692 object to before the relocation.
44f0a71e 24693 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24694 * sysdeps/generic/ldsodefs.h: Update declaration.
24695
076fe015
UD
24696 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24697 string for the scope number.
24698
a60df2c3
UD
246992011-08-14 Ulrich Drepper <drepper@gmail.com>
24700
24701 * nscd/servicescache.c (cache_addserv): Make sure written is always
24702 initialized.
24703
5e4287d1
RM
247042011-08-14 Roland McGrath <roland@hack.frob.com>
24705
85ae0589
RM
24706 * sysdeps/i386/i486/bits/atomic.h
24707 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24708 statement expression, so as to suppress "set but not used" warning.
24709 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24710
69f63097
RM
24711 * string/strncat.c (STRNCAT): Use prototype definition.
24712
675456ef
RM
24713 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24714 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24715 -Iprograms here.
24716 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24717 (localedef-modules): Add localedef.
24718 (locale-modules): Add locale.
24719
5e4287d1
RM
24720 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24721 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24722 to avoid a warning.
24723
9c96ff23
DM
247242011-08-14 David S. Miller <davem@davemloft.net>
24725
24726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24727 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24728
f9ddf089
UD
247292011-08-13 Ulrich Drepper <drepper@gmail.com>
24730
44f0a71e 24731 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24732 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24733 * elf/rtld.c (dl_main): Set l_name of vDSO.
24734 Call _dl_show_scope when DL_DEBUG_SCOPES.
24735 (process_dl_debug): Recognize scopes flag and also set it for all.
24736 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24737 Declare _dl_show_scope.
24738
1dc27704
UD
24739 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24740 (do_dlopen): Pass caller_dlopen to dl_open.
24741 (__libc_dlopen_mode): Initialize caller_dlopen.
24742
f9ddf089
UD
24743 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24744 of libc. Make tolower call locale-independent. Optimize a bit by
24745 using isdigit instead of isalnum.
24746 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24747
9ac533d3
UD
247482011-08-12 Ulrich Drepper <drepper@gmail.com>
24749
24750 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24751 was a dependency or dynamically loaded.
24752
89edf2e9
UD
247532011-08-11 Ulrich Drepper <drepper@gmail.com>
24754
8e999d29
UD
24755 * intl/l10nflist.c: Allow architecture-specific pop function.
24756 * sysdeps/x86_64/l10nflist.c: New file.
24757
89edf2e9
UD
24758 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24759 classification.
24760
14d96785
AS
247612011-08-10 Andreas Schwab <schwab@redhat.com>
24762
24763 * include/dirent.h: Add libc_hidden_proto for scandirat and
24764 scandirat64. Don't declare __scandirat64.
24765 * dirent/scandirat.c: Add libc_hidden_def.
24766 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24767 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24768
6761ac04
DM
247692011-08-10 David S. Miller <davem@davemloft.net>
24770
24771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24772 enum.
24773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24776
c55fbd1e
UD
247772011-08-09 Ulrich Drepper <drepper@gmail.com>
24778
24779 * Versions.def [libc]: Add GLIBC_2.15.
24780 * dirent/Makefile (routines): Add scandirat and scandirat64.
24781 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24782 GLIBC_2.15.
24783 * dirent/dirent.h: Declare scandirat and scandirat64.
24784 * dirent/scandirat.c: New file.
24785 * dirent/scandirat64.c: New file.
24786 * sysdeps/wordsize-64/scandirat.c: New file.
24787 * sysdeps/wordsize-64/scandirat64.c: New file.
24788 * dirent/opendir.c: Define opendirat.
24789 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24790 using scandirat.
24791 * dirent/scandir64.c: Adjust for scandir.c change.
24792 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24793 __scandirat64, and __scandir_cancel_handler.
24794 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24795 additional parameter and use openat instead of open (outside of ld.so).
24796 Add new __opendir as wrapper around __opendirat.
24797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24798 here without requiring old scandirat implementation.
24799
879165f2
UD
248002011-08-08 Ulrich Drepper <drepper@gmail.com>
24801
24802 * dirent/scandir.c (cancel_handler): Renamed to
24803 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24804 defined. Adjust users.
24805 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24807
cb7e923b
UD
248082011-08-04 Ulrich Drepper <drepper@gmail.com>
24809
16292edd
UD
24810 * string/test-string.h (IMPL): Use __STRING to expand name and then
24811 stringify it.
24812
cb7e923b
UD
24813 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24814 of cleanups.
24815
cff82933
LD
248162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24817
24818 * string/Makefile: Update.
24819 (strop-tests): Append strncat.
24820 * string/test-wcscmp.c: New file.
24821 New comprehensive test for wcscmp.
24822 * string/test-strcmp.c: Update.
24823 (WIDE): New define.
24824
9be9bfcc
AS
248252011-07-22 Andreas Schwab <schwab@redhat.com>
24826
24827 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24828 line.
24829
2e96f1c7
AS
248302011-07-26 Andreas Schwab <schwab@redhat.com>
24831
24832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24833 encoding to ACE if AI_IDN.
24834
85188888
JJ
248352011-08-01 Jakub Jelinek <jakub@redhat.com>
24836
24837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24838 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24839
5fa16e9b
LD
248402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24841
24842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24843 Fix overflow bug in strncat.
24844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24845
24846 * string/test-strncat.c: Update.
24847 Add new tests for checking overflow bugs.
24848
248492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24850
24851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24852 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24853 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24854 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24857 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24858 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24859 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24860
24861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24862 (USE_AS_STRCAT): Define.
24863 Add strcat and strncat support.
24864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24865
8c1a459f
AS
248662011-07-25 Andreas Schwab <schwab@redhat.com>
24867
24868 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24869 __n bigger than INT_MAX+1.
24870 (__strncmp_g): Likewise.
24871
bba33c28
UD
248722011-07-23 Ulrich Drepper <drepper@gmail.com>
24873
798be72d
UD
24874 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24875 * libio/stido.h: Likewise.
24876
8accd4dc
UD
24877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24878 (AF_NFC): Define.
24879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24880 (AF_NFC): Define.
24881
cbff0d96
UD
24882 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24885 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24887
9191c04a
UD
24888 [BZ #13021]
24889 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24890 installed.
24891
bba33c28
UD
24892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24893 typo.
24894 (_dl_x86_64_save_sse): Likewise.
24895
90f139dd
UD
248962011-07-22 Ulrich Drepper <drepper@gmail.com>
24897
1aae088a
UD
24898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24899 OSXSAVE.
24900 (_dl_x86_64_save_sse): Likewise.
24901
8e2045f5
UD
24902 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24903
90f139dd
UD
24904 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24905
1d002f25
AS
249062011-07-21 Andreas Schwab <schwab@redhat.com>
24907
24908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24909 change.
24910 (_dl_x86_64_save_sse): Use correct AVX check.
24911
21137f89
UD
249122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24913
24914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24915 bug in strncpy/strncat.
24916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24917
a65c0b7a
UD
249182011-07-21 Ulrich Drepper <drepper@gmail.com>
24919
24920 * string/tester.c (test_strcat): Add tests for different alignments
24921 of source and destination.
24922 (test_strncat): Likewise.
24923
6986b98a
UD
249242011-07-20 Ulrich Drepper <drepper@gmail.com>
24925
90bb2039
UD
24926 [BZ #12852]
24927 * posix/glob.c (glob): Check passed in values before using them in
24928 expressions to avoid some overflows.
24929 (glob_in_dir): Likewise.
24930
5644ef54
UD
24931 [BZ #13007]
24932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24933 check for AVX enablement so that we don't crash with old kernels and
24934 new hardware.
24935 * elf/tst-audit4.c: Add same checks here.
24936 * elf/tst-audit6.c: Likewise.
24937
24938 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24939
bfc9dc9b
AS
249402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24941
24942 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24943
702e64bb
UD
249442011-07-20 Ulrich Drepper <drepper@gmail.com>
24945
24946 * po/cs.po: Update from translation team.
24947 * po/bg.po: Likewise.
24948
295e904f
MP
249492011-07-12 Marek Polacek <mpolacek@redhat.com>
24950
24951 * misc/sys/cdefs.h: Add support for const attribute.
24952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24953 to gnu_dev_{major,minor,makedev} functions.
24954
3ff94596
MP
249552011-07-20 Marek Polacek <mpolacek@redhat.com>
24956
24957 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24958
28b59fca
AS
249592011-07-20 Andreas Schwab <schwab@redhat.com>
24960
24961 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24962 strlen results.
24963
19df733e
AK
249642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24965
24966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24967 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24968 register in order to avoid conflicts with the soft frame pointer
24969 being held in r11 when necessary.
24970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24971 (INTERNAL_VSYSCALL_NCS): Likewise.
24972
c8835729
MP
249732011-07-14 Marek Polacek <mpolacek@redhat.com>
24974
24975 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24976 * elf/dl-fini.c (_dl_fini): Adjust caller.
24977 * elf/dl-close.c (_dl_close_worker): Likewise.
24978 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24979
b902330c
MP
249802011-07-15 Marek Polacek <mpolacek@redhat.com>
24981
8991e135
MP
24982 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24983 "aux_cache->nlibs < 0".
24984
b902330c
MP
24985 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24986 in the reload-count case.
24987
99710781
LD
249882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24989
24990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24991 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24992 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24994 * sysdeps/x86_64/multiarch/strcat.S: New file.
24995 * sysdeps/x86_64/multiarch/strncat.S: New file.
24996 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24998 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24999 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25001 (USE_AS_STRCAT): Define.
25002 Add strcat and strncat support.
25003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25006 * string/strncat.c: Update.
25007 (USE_AS_STRNCAT): Define.
25008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25009 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25010 and i7.
25011 * sysdeps/x86_64/multiarch/init-arch.h
25012 (bit_Prefer_PMINUB_for_stringop): New.
25013 (index_Prefer_PMINUB_for_stringop): Likewise.
25014 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25015 bit_Prefer_PMINUB_for_stringop.
25016
7dc6bd90
UD
250172011-07-19 Ulrich Drepper <drepper@gmail.com>
25018
25019 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25020 buffer64.
25021 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25022 of casting of buffer.
25023 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25024 buffer32 and buffer64.
25025 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25026 writes instead of casting of buffer.
25027 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25028 buffer32.
25029 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25030 casting of buffer.
25031
e0e72284
AS
250322011-07-19 Andreas Schwab <schwab@redhat.com>
25033
25034 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25035
feb1eb0b
UD
250362011-07-19 Ulrich Drepper <drepper@gmail.com>
25037
25038 * nscd/nscd.c (termination_handler): Don't do anything for a database
25039 if it has not yet been initialized.
25040
298711ff
UD
250412011-07-18 Ulrich Drepper <drepper@gmail.com>
25042
25043 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25044
250452011-07-15 Marek Polacek <mpolacek@redhat.com>
25046
25047 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25048
f9d68389
UD
250492011-07-18 Ulrich Drepper <drepper@gmail.com>
25050
25051 * po/nl.po: Update from translation team.
25052 * po/sv.po: Likewise.
25053
db290cf5
RM
250542011-07-16 Roland McGrath <roland@hack.frob.com>
25055
25056 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25057 now disallowed by GCC.
5c550700 25058
fd5e21c7
RM
25059 * configure.in (use-default-link): Default to yes if a test -shared
25060 link meets our qualifications.
25061 * configure: Regenerated.
25062
5c550700
RM
25063 * config.make.in (output-format): New variable.
25064 * configure.in: Check for ld --print-output-format support.
25065 * configure: Regenerated.
25066 * Makerules ($(common-objpfx)format.lds)
25067 [$(output-format) != unknown]: Just use $(output-format),
25068 instead of the linker-script munging.
25069
9fa2c032
RM
250702011-07-14 Roland McGrath <roland@hack.frob.com>
25071
a6928d51
RM
25072 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25073 of $(common-objpfx)shlib.lds.
25074 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25075
661607b3
RM
25076 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25077 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25078
9fa2c032
RM
25079 * configure.in (-z relro check): Adjust test code to add a large
25080 writable data section after it.
25081 * configure: Regenerated.
25082
defe9061
RM
250832011-07-11 Roland McGrath <roland@hack.frob.com>
25084
25085 * configure.in (-z relro check): Fix test code to make the variable
25086 truly const.
25087 * configure: Regenerated.
25088
319b9ad4
UD
250892011-07-11 Ulrich Drepper <drepper@gmail.com>
25090
25091 * nscd/nscd.h (struct traced_file): Define.
25092 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25093 elements. Add traced_files.
25094 (inotify_fd): Declare.
25095 (register_traced_file): Declare.
25096 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25097 (inotify_fd): Export.
25098 (resolv_conf_descr): Remove.
25099 (nscd_init): Move inotify descriptor creation to main.
25100 Don't register files for notification here.
25101 (register_traced_file): New function.
25102 (invalidate_cache): Don't use reset_res to determine whether to call
25103 res_init, go through the list of registered files.
25104 (main_loop_poll): The inotify descriptors are now stored in the
25105 structures for the traced files.
25106 (main_loop_epoll): Likewise
25107 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25108 to __nss_disable_nscd.
25109 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25110 for a database anymore. Check the records for all the registered
25111 files instead.
25112 * nss/Makefile (libnss_files-routines): Add files-init.
25113 (libnss_db-routines): Add db-init.
25114 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25115 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25116 * nss/nss_db/db-init.c: New file.
25117 * nss/nss_files/files-init.c: New file.
25118 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25119 __nss_lookup_function.
25120 (__nss_lookup_function): Call nss_load_library.
25121 (nss_load_all_libraries): New function.
25122 (__nss_disable_nscd): Take parameter with callback function for files
25123 to register. Set is_nscd. Load all the DSOs for the NSS modules
25124 used for the cached services.
25125 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25127 options for features to all the files in nscd.
25128
25129 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25130
23bee3e8
RM
251312011-07-10 Roland McGrath <roland@hack.frob.com>
25132
25133 * csu/elf-init.c (__libc_csu_init): Comment typo.
25134
46a5b7f0
UD
251352011-07-09 Ulrich Drepper <drepper@gmail.com>
25136
25137 * po/pl.po: Update from translation team.
25138 * po/ja.po: Likewise.
25139 * po/ru.po: Likewise.
25140 * po/ko.po: Likewise.
25141 * po/fr.po: Likewise.
25142
d30cf5bb
RM
251432011-07-09 Roland McGrath <roland@hack.frob.com>
25144
113ddea4
RM
25145 * configure.in (.ctors/.dtors header and trailer check):
25146 Use an empirical test on a built program.
25147 * configure: Regenerated.
25148
574920b4
RM
25149 * configure.in (-z relro check): Use an empirical test on a built DSO.
25150 Detect, but do not require, on ia64.
25151 * configure: Regenerated.
25152
d30cf5bb
RM
25153 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25154 Update tests that use readelf to use $READELF instead.
25155 * configure: Regenerated.
25156
8538fdb3
UD
251572011-07-08 Ulrich Drepper <drepper@gmail.com>
25158
25159 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25160 if the result is not used.
25161
04d08991
AJ
251622011-07-05 Andreas Jaeger <aj@suse.de>
25163
25164 [BZ#9696]
25165 * stdlib/tst-strtod.c: Add testcase.
25166
de283087
AD
251672011-07-07 Ulrich Drepper <drepper@gmail.com>
25168
4e5f31c8 25169 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25170 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25171 The latter has a higher limit. Take additional parameter to pass to
25172 the new function.
25173 (__pathconf): Pass file to __statfs_link_max.
25174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25175 __statfs_link_max.
25176 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25177 __statfs_link_max.
25178
de283087
AD
25179 [BZ #12868]
25180 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25182 Handle Lustre.
25183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25184 (__statfs_filesize_max): Likewise.
25185 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25186
c75fa153
AJ
251872011-07-05 Andreas Jaeger <aj@suse.de>
25188
25189 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25190
1a544854
UD
251912011-07-06 Marek Polacek <mpolacek@redhat.com>
25192
25193 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25194 `status' variable.
25195 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25196 Likewise.
25197
6f0eec67
UD
251982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25199
25200 * Makefile (strop-tests): Add strncat.
25201 * string/test-strncat.c: New file.
25202
aae30307
UD
252032011-06-30 Marek Polacek <mpolacek@redhat.com>
25204
25205 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25206
c0cfb5eb
UD
252072011-06-21 Andreas Jaeger <aj@suse.de>
25208
25209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25210 Copy rule from iconvdata/Makefile.
25211
01636b21
UD
252122011-07-06 Ulrich Drepper <drepper@gmail.com>
25213
25214 [BZ #12922]
25215 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25216 but no long options are defined, just return 'W'.
25217
9895c8bc
UD
252182011-06-22 Marek Polacek <mpolacek@redhat.com>
25219
25220 [BZ #9696]
25221 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25222
5d4cf042
UD
252232011-07-06 Ulrich Drepper <drepper@gmail.com>
25224
25225 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25226 netgroups to read.
960e5535 25227 (innetgr): Likewise.
5d4cf042 25228
751eb97e
RM
252292011-07-05 Roland McGrath <roland@hack.frob.com>
25230
25231 * config.make.in (install_root): Default to $(DESTDIR).
25232
f15f1e45
UD
252332011-07-05 Ulrich Drepper <drepper@gmail.com>
25234
25235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25236
4e34ac6a
RM
252372011-07-02 Roland McGrath <roland@hack.frob.com>
25238
5e9b6af4
RM
25239 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25240
84f9ea0f
RM
25241 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25242 containing directory rather than embedding absolute directory names.
25243
ea5ee9f7
RM
25244 * scripts/check-local-headers.sh: Rewritten using awk.
25245 Match by word, not by line. Print error messages for matches.
25246 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25247
1b74661a
RM
25248 * Makerules [shlib-lds-flags empty]:
25249 ($(common-objpfx)libc_pic.opts): New target.
25250 ($(common-objpfx)libc_pic.os.clean): New target.
25251 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25252
25253 * config.make.in (OBJCOPY): New variable.
25254 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25255 * configure: Regenerated.
25256
f781ef40
RM
25257 * config.make.in (use-default-link): New variable.
25258 * configure.in (use_default_link): Grok --with-default-link to set it.
25259 * configure: Regenerated.
25260 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25261 (shlib-lds, shlib-lds-flags): Define to empty.
25262
2d4fa81e
RM
25263 * Makerules (shlib-lds): New variable.
25264 (shlib-lds-flags): New variable.
25265 (build-shlib, build-moduile, build-module-asneeded): Use it.
25266 ($(common-objpfx)libc.so): Use $(shlib-lds).
25267 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25269
31fffa6b
RM
25270 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25271 DT_FLAGS/DT_FLAGS_1 with zero flags.
25272
4e34ac6a
RM
25273 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25274 linker script munging.
25275
fcfc776b
UD
252762011-07-02 Ulrich Drepper <drepper@gmail.com>
25277
25278 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25279 as 128-bit value.
25280 * crypt/sha512.c (sha512_process_block): Perform total addition using
25281 128-bit if possible.
25282 (__sha512_finish_ctx): Likewise.
25283 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25284 as 64-bit value.
25285 * crypt/sha256.c (SWAP64): Define.
25286 (sha256_process_block): Perform total addition using 64-bit if
25287 possible.
25288 (__sha256_finish_ctx): Likewise.
25289
99231d9a
UD
252902011-07-01 Ulrich Drepper <drepper@gmail.com>
25291
25292 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25294 * nscd/hstcache.c (cache_addhst): Likewise.
25295 * nscd/grpcache.c (cache_addgr): Likewise.
25296 * nscd/aicache.c (addhstaiX): Likewise
25297 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25298
445b4a53
TK
252992011-07-01 Thorsten Kukuk <kukuk@suse.de>
25300
25301 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25303 * nscd/hstcache.c (cache_addhst): Likewise.
25304 * nscd/grpcache.c (cache_addgr): Likewise.
25305 * nscd/aicache.c (addhstaiX): Likewise
25306
6d4d8e8e
AS
253072011-07-01 Andreas Schwab <schwab@redhat.com>
25308
25309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25310 domain only when needed.
25311
89f654c5
AS
253122011-06-30 Andreas Schwab <schwab@redhat.com>
25313
25314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25315 is always restored.
25316
cf3b23ff
UD
253172011-06-29 Ulrich Drepper <drepper@gmail.com>
25318
25319 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25320 are re-adding the entry.
25321 * nscd/servicescache.c (cache_addserv): Likewise.
25322
751626f9
AJ
253232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25324
25325 * sysdeps/generic/dl-irel.h: fix protection against multiple
25326 inclusions.
25327 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25328
9113ea1f
UD
253292011-06-28 Ulrich Drepper <drepper@gmail.com>
25330
5c0b8d90
UD
25331 [BZ #12935]
25332 * malloc/memusage.sh: Fix quoting in message.
25333 * debug/xtrace.sh: Likewise.
25334
9113ea1f
UD
25335 * configure.in: Remove support for --experimental-malloc option, make
25336 it the default.
25337 * config.make.in: Likewise.
25338 * malloc/Makefile: Likewise.
25339
a4172181
AS
253402011-06-27 Andreas Schwab <schwab@redhat.com>
25341
25342 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25343 two-byte characters.
25344
78a7eee7
RM
253452011-06-27 Roland McGrath <roland@hack.frob.com>
25346
62bede13
RM
25347 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25348 AC_CACHE_CHECK invocation.
25349 * configure: Regenerated.
25350
78a7eee7
RM
25351 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25352
5ce33a62
UD
253532011-06-27 Ulrich Drepper <drepper@gmail.com>
25354
034807a9
UD
25355 [BZ #12350]
25356 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25357 bit from old_res_options.
25358
4902da17
UD
25359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25360
5ce33a62
UD
25361 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25362 value type for setfct.
25363
c2344f56
L
253642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25365
25366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25367 __gettimeofday instead of gettimeofday.
25368
68468076
UD
253692011-06-26 Ulrich Drepper <drepper@gmail.com>
25370
25371 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25372
acb0d739
L
253732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25374
25375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25376
25377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25378 info.
25379
8912479f
L
253802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25383 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25384 strcpy-sse2-unaligned strncpy-sse2-unaligned
25385 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25386 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25387 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25388 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25389 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25392 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25393 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25394 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25395 (STRCPY): Support SSE2 and SSSE3 versions.
25396
d5495a11
UD
253972011-06-24 Ulrich Drepper <drepper@gmail.com>
25398
25399 [BZ #12874]
25400 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25401 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25402 kernels which artificially limit size of requests.
25403
0b1cbaae
L
254042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25405
25406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25407 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25408 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25409 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25410 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25411 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25412 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25413 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25416 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25417 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25418 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25419 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25420 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25422 Enable unaligned load optimization for Intel Core i3, i5 and i7
25423 processors.
25424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25425 Define.
25426 (index_Fast_Unaligned_Load): Define.
25427 (HAS_FAST_UNALIGNED_LOAD): Define.
25428
07f494a0
MP
254292011-06-23 Marek Polacek <mpolacek@redhat.com>
25430
25431 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25432
fa3fc0fe
UD
254332011-06-22 Ulrich Drepper <drepper@gmail.com>
25434
25435 [BZ #12907]
25436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25437 until it is clear that the information is realy needed.
25438 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25439
e12df166
AS
254402011-06-22 Andreas Schwab <schwab@redhat.com>
25441
25442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25443
852eb34d
UD
254442011-06-22 Ulrich Drepper <drepper@gmail.com>
25445
84e2a551
UD
25446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25447 /sys/devices/system/cpu/online if it is usable.
25448
852eb34d
UD
25449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25450 reading the information from the /proc filesystem to once a second.
25451
6e502e19
UD
254522011-06-21 Andreas Jaeger <aj@suse.de>
25453
25454 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25455 NULL after inclusion of kernel headers.
25456
75d39ff2
UD
254572011-06-21 Ulrich Drepper <drepper@gmail.com>
25458
51f9aa6a
UD
25459 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25460 calls to internal_setent.
25461
c0244a9d
UD
25462 [BZ #12885]
25463 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25464 addresses using gethostbyname4_r ignore IPv4 addresses.
25465
c5e3c2ae
UD
25466 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25467 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25468
75d39ff2
UD
25469 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25470
42675c6f
DM
254712011-06-20 David S. Miller <davem@davemloft.net>
25472
25473 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25474 inclusions.
25475 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25476
25477 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25478 (elf_irel): Use it.
25479 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25480 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25481 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25482 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25483 * sysdeps/x86_64/dl-irel.h: Likewise.
25484
25485 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25486 * elf/dl-sym.c: Likewise.
25487
57912a71
UD
254882011-06-15 Ulrich Drepper <drepper@gmail.com>
25489
25490 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25491 need to dereference resplen2.
25492
ee22793d
AS
254932011-06-14 Andreas Schwab <schwab@redhat.com>
25494
25495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25496
a9e836b0
UD
254972011-06-15 Ulrich Drepper <drepper@gmail.com>
25498
77fb9117
UD
25499 * Makeconfig: Define vardbdir and inst_vardbdir.
25500 * nss/Makefile: Add rules to install db-Makefile.
25501
40c1b22c
UD
25502 * nss/nss_db/db-XXX.c: Cleanup.
25503
9f2da732
UD
25504 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25505 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25506 GLIBC_PRIVATE.
25507 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25508 * nss/makedb.c: Implement -g option to specify that value strings
25509 are generated and should not be added to table iterated over for
25510 get*ent calls.
25511 * nss/nss_db/db-initgroups.c: New file.
25512
82e9a1f7
UD
25513 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25514 interface.
25515
c41af17e
UD
25516 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25517 (internal_getgrouplist): Adjust to name change.
25518 Update use_initgroups_entry if this is not the first call.
25519 * nss/databases.def: Add initgroups entry.
25520
a9e836b0
UD
25521 * nss/makedb.c (compute_tables): Check result of multiple hash table
25522 sizes to minimize maximum chain length.
25523
2666d441
UD
255242011-06-14 Ulrich Drepper <drepper@gmail.com>
25525
25526 * Versions.def: Add entry for libnss_db.
25527 * shlib-versions: Likewise.
25528 * nss/Makefile: Add rules to build libnss_db.
25529 * nss/Versions: Add libnss_db information. Organize libnss_files
25530 entries better.
25531 * nss/db-Makefile: Add gshadow support. Change rules for the new
25532 makedb progra. Some minor improvements to generate smaller files.
25533 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25534 here from...
25535 * nss/makedb.c: ...here.
25536 Improve database format to be smaller and require less memory at
25537 runtime.
25538 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25539 db anymore.
25540 * nss/nss_db/db-netgrp.c: Likewise.
25541 * nss/nss_db/db-open.c: Likewise.
25542 * nss/nss_files/flies-XXX.x: Adjust comments.
25543 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25544 * nss/nss_files/files-grp.c: Likewise.
25545 * nss/nss_files/files-hosts.c: Likewise.
25546 * nss/nss_files/files-network.c: Likewise.
25547 * nss/nss_files/files-proto.c: Likewise.
25548 * nss/nss_files/files-pwd.c: Likewise.
25549 * nss/nss_files/files-rpc.c: Likewise.
25550 * nss/nss_files/files-service.c: Likewise.
25551 * nss/nss_files/files-sgrp.c: Likewise.
25552 * nss/nss_files/files-spwd.c: Likewise.
25553 * nss/nss_db/db-alias.c: Removed.
25554 * nss/nss_db/dummy-db.h: Removed.
25555
9ee76b5a
UD
255562011-06-02 Ulrich Drepper <drepper@gmail.com>
25557
25558 * nss/makedb.c: Rewritten to not use database library.
25559 * nss/Makefile: Update to build new makedb program.
25560
c71ca1f8
AJ
255612011-06-14 Andreas Jaeger <aj@suse.de>
25562
25563 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25564 memset declaration.
25565
3154bfb8
UD
255662011-06-10 Andreas Schwab <schwab@redhat.com>
25567
25568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25569 tmpbuf.
25570
b350afab
RM
255712011-06-10 Roland McGrath <roland@hack.frob.com>
25572
decd4e50
RM
25573 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25574 * elf/Makefile ($(objpfx)ld.so): Likewise.
25575
5615eaf2
RM
25576 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25577 Don't list ld.so twice in dependencies.
25578
25579 * posix/bug-regex31.c: Include <stdlib.h>.
25580
25581 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25582
25583 * nis/nss_compat/compat-spwd.c
25584 (getspent_next_nss_netgr): Remove unused variable.
25585 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25586
25587 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25588 nonmembers" output to use the right array.
25589
25590 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25591
25592 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25593
25594 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25595 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25596 * catgets/gencat.c (read_input_file): Likewise.
25597 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25598
25599 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25600 variable definition inside #if's controlling its use.
25601
25602 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25603
25604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25605
25606 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25607
25608 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25609 unreachable code.
25610
25611 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25612
b68e08db
RM
25613 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25614 * configure: Regenerated.
25615
b350afab
RM
25616 * Makerules: Revert last change.
25617 * elf/Makefile: Likewise.
25618
28368601
RM
256192011-06-09 Roland McGrath <roland@hack.frob.com>
25620
25621 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25622 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25623 (reloc-link): Likewise.
25624
11988f8f
UD
256252011-06-09 Ulrich Drepper <drepper@gmail.com>
25626
25627 * elf/Makefile: Add rules to build pldd.
25628 * elf/pldd.c: New file.
25629 * elf/pldd-xx.c: New file.
25630
e80fab37
UD
256312011-06-07 Ulrich Drepper <drepper@gmail.com>
25632
25633 * version.h: Update for 2.15 development version.
25634
9b849836
DM
256352011-06-07 David S. Miller <davem@davemloft.net>
25636
25637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25638 ifuncs.
25639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25640 elf_machine_lazy_rel): Likewise.
25641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25643 elf_machine_lazy_rel): Likewise.
25644 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25645 dl_hwcap via passed in argument.
25646 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25647 Likewise.
25648
5a31b283
AK
256492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25650
25651 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25652
069e52f8
RM
256532011-06-06 Roland McGrath <roland@hack.frob.com>
25654
25655 [BZ #12849]
25656 * manual/fdl-1.1.texi: New file, verbatim from:
25657 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25658 * manual/lgpl-2.1.texi: New file, verbatim from:
25659 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25660 * manual/Makefile (licenses): New variable, list those new file names.
25661 (texis): Use it.
25662 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25663
25664 * manual/fdl.texi: File removed.
25665 * manual/lesser.texi: File removed.
25666 * manual/libc.texinfo (Copying, Documentation License):
25667 Use new @include file names, put @appendix directive before @include.
25668
f16846a5
JJ
256692011-06-04 Jakub Jelinek <jakub@redhat.com>
25670
25671 [BZ #12841]
25672 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25673 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25674 (mq_open): Add __NTH.
25675
3d29045b
L
256762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25677
25678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25679 Assume Intel Core i3/i5/i7 processor if AVX is available.
25680
8c297311
UD
256812011-05-31 Ulrich Drepper <drepper@gmail.com>
25682
25683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25684 typo.
25685
c8fc0c91
UD
256862011-05-31 Andreas Schwab <schwab@redhat.com>
25687
25688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25689 memory. Use alloca_account. Fix memory leak when retrying.
25690
5b27a807
UD
256912011-05-31 Ulrich Drepper <drepper@gmail.com>
25692
356f8bc6
UD
25693 * version.h (RELEASE): Bump for 2.14 release.
25694 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25695
5b27a807
UD
25696 * config.make.in (RANLIB): Remove entry.
25697
01f16ab0
UD
256982011-05-30 Ulrich Drepper <drepper@gmail.com>
25699
41fce8bd
UD
25700 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25701 (libc.pot): Work around missing support for .ksh extension in xgettext.
25702
4769ae77
UD
25703 [BZ #12684]
25704 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25705 if both request failed.
25706 (send_dg): In case of server errors clear resplen or *resplen2.
25707
6b1e7d19
UD
25708 [BZ #12454]
25709 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25710 when there are multiple maps.
25711 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25712 (_dl_fini): Remove test here.
25713
01f16ab0
UD
25714 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25715
b1ebd700
UD
257162011-05-29 Ulrich Drepper <drepper@gmail.com>
25717
7ae22829
UD
25718 [BZ #12350]
25719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25720 bit from old_res_options.
25721 (gaih_inet): Likewise.
25722
553149f6 25723 [BZ #11099]
18a84741 25724 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25725 as signed.
25726
652ffab1
UD
25727 * resolv/res_init.c (res_setoptions): Make the code more compact.
25728
16985fd0
UD
25729 [BZ #11558]
25730 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25731 set RES_USEVC.
25732
0464f746
UD
25733 [BZ #11634]
25734 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25735
7d17596c
UD
25736 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25737
cf6bbbd7
UD
25738 [BZ #11781]
25739 * malloc/malloc.h: Declare malloc hook variables as volatile.
25740
13f1ab36
UD
25741 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25742 in last patch.
25743
b1ebd700
UD
25744 [BZ #11799]
25745 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25746 raise in the comment.
80e2212d
UD
25747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25750
ce67228d
UD
257512011-05-28 Ulrich Drepper <drepper@gmail.com>
25752
8887a920
UD
25753 [BZ #12811]
25754 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25755 grow the buffers more if it already has to be sufficient.
25756 (build_wcs_upper_buffer): Likewise.
25757 * posix/regexec.c (check_matching): Likewise.
25758 (clean_state_log_if_needed): Likewise.
25759 (extend_buffers): Don't enlarge buffers beyond size of the input
25760 buffer.
25761 Patches mostly by Emil Wojak <emil@wojak.eu>.
25762 * posix/bug-regex32.c: New file.
25763 * posix/Makefile (tests): Add bug-regex32.
25764
4f031072
UD
25765 * locale/findlocale.c (_nl_find_locale): Return right away if
25766 _nl_explode_name failed.
25767 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25768
d0478f0c
UD
25769 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25770
de81b246
UD
25771 * debug/xtrace.sh: Unify messages.
25772 * malloc/memusage.sh: Likewise.
25773
c738465a
UD
25774 [BZ #12813]
25775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25776 time symbol from vDSO. Substitute with vsyscall if not available.
25777 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25778 __vdso_time.
25779
f1f929d7
UD
25780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25781 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25783 Add sendmmsg and internal_sendmmsg.
25784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25787
ce67228d
UD
25788 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25789 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25791
e57420c6
UD
257922011-05-27 Ulrich Drepper <drepper@gmail.com>
25793
a8509ca5
UD
25794 [BZ #12813]
25795 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25796 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25797 available.
25798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25799 __vdso_getcpu.
25800
e57420c6
UD
25801 [BZ #12814]
25802 * iconvdata/Makefile (tests): Add bug-iconv9.
25803 * iconvdata/bug-iconv9.c: New file.
25804
4d07db15
AS
258052011-05-27 Andreas Schwab <schwab@redhat.com>
25806
25807 [BZ #12814]
25808 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25809
ea486f69
JJ
258102011-05-25 Jakub Jelinek <jakub@redhat.com>
25811
25812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25813 (struct user_regs_struct): Change intcs field back to cs.
25814
6f038433
UD
258152011-05-25 Ulrich Drepper <drepper@gmail.com>
25816
25817 * po/ja.po: Update from translation team.
25818
67f86a25
UD
258192011-05-23 Ulrich Drepper <drepper@gmail.com>
25820
25821 [BZ #12795]
25822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25824
def7fbd6
AS
258252011-05-20 Andreas Schwab <schwab@redhat.com>
25826
25827 * stdlib/longlong.h: Update from GCC.
25828
f50ef8f1
AS
258292011-05-23 Andreas Schwab <schwab@redhat.com>
25830
25831 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25832 parameter name.
25833 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25834 Add parameter name.
25835 (__sysconf): Pass it down.
25836
de7ce8f1
UD
258372011-05-22 Ulrich Drepper <drepper@gmail.com>
25838
f2962a71
UD
25839 [BZ #12671]
25840 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25841 some situations.
25842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25843 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25844 add in in __libc_use_alloca calls. Adjust callers.
25845 (glob): Use malloc in some situations.
25846
de7ce8f1
UD
25847 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25848 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25849 pltexit.
25850
aec84f53
UD
258512011-05-21 Ulrich Drepper <drepper@gmail.com>
25852
05bb4a68
UD
25853 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25854 and CLOCK_BOOTTIME_ALARM.
25855
7ea72f99
UD
25856 [BZ #12782]
25857 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25858 is returned.
25859
7e4afad5
UD
25860 * string/_strerror.c (__strerror_r): Print negative errors as signed
25861 numbers.
25862
8e211fec
UD
25863 [BZ #12777]
25864 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25865 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25866 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25867
f7d82dc9
UD
25868 * configure.in: Fix typo in redirection and correct removal of test
25869 files in two cases.
25870
cc9e536d
UD
25871 [BZ #12788]
25872 * locale/setlocale.c (new_composite_name): Fix test to check for
25873 identical name of all categories.
25874
aec84f53
UD
25875 [BZ #12792]
25876 * libio/filedoalloc.c (local_isatty): New function.
25877 (_IO_file_doallocate): Use local_isatty.
25878 * stdio-common/perror.c (perror): In case a new stream is used
25879 forward the stream error.
25880 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25881 error flag.
25882
78e64fdc
RT
258832011-05-20 Ulrich Drepper <drepper@gmail.com>
25884
34a9094f
UD
25885 [BZ #11869]
25886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25887 alloca.
25888 * include/alloca.h (extend_alloca_account): Define.
25889
78e64fdc
RT
25890 [BZ #11857]
25891 * posix/regex.h: Fix comments with documentation of user-accessible
25892 fields after compilation and describe correct free'ing of pattern
25893 after re_compile_pattern.
25894 Patch by Reuben Thomas <rrt@sc3d.org>.
25895
457bddfc
RA
258962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25897
25898 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25899 and -mno-altivec to prevent the compiler from using Altivec and/or
25900 VSX instructions when the corresponding registers are not available.
25901
a4527b51
AS
259022011-05-19 Andreas Schwab <schwab@redhat.com>
25903
25904 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25905
ed690b2f
UD
259062011-05-19 Ulrich Drepper <drepper@gmail.com>
25907
25908 * libio/freopen.c (freopen): Use __dup2, not dup2.
25909 * libio/freopen64.c (freopen64): Likewise.
25910
8db73634
L
259112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25912
25913 [BZ #12775]
25914 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25915 * math/Makefile (tests): Add test-powl.
25916 (CFLAGS-test-powl.c): Define.
25917 * math/test-powl.c: New file.
25918
0a197a9d
L
259192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25920
25921 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25922
ee30c380
UD
259232011-05-17 Ulrich Drepper <drepper@gmail.com>
25924
25925 [BZ #11837]
25926 * iconvdata/gb18030.c: Update to GB18020-2005.
25927
6ce75379
UD
259282011-05-16 Ulrich Drepper <drepper@gmail.com>
25929
a4b89fd8
AR
25930 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25931 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25932 Patch by Aharon Robbins <arnold@skeeve.com>.
25933
ea389b12
UD
25934 [BZ #11892]
25935 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25936 on the stack.
25937
68a3f91f
UD
25938 [BZ #11895]
25939 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25940 through underflows.
25941
15cc7dd1
UD
25942 [BZ #12766]
25943 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25944 point to strings before performing equality test for error_one_per_line
25945 mode.
25946
f3799213
UD
25947 [BZ #11697]
25948 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25949
d79a9c94
UD
25950 [BZ #11820]
25951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25952 (struct user_fpregs_struct): Avoid __uint*_t types.
25953
56e5eb46
UD
25954 [BZ #6420]
25955 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25956 symbol info. Use it instead of calling _dl_addr locally.
25957 (lock_and_info): New function.
25958 (tr_freehook): Call lock_and_info and pass symbol info as additional
25959 parameter to tr_where.
25960 (tr_mallochook): Likewise.
25961 (tr_reallochook): Likewise.
25962 (tr_memalignhook): Likewise.
25963
6ce75379
UD
25964 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25965 used and couldn't be at all thread-safe.
25966
f8a3b5bf
UD
259672011-05-15 Ulrich Drepper <drepper@gmail.com>
25968
94b7cc37
UD
25969 * libio/freopen.c (freopen): Don't close old file descriptor
25970 before the new one is opened. Instead dup the new file descriptor
25971 to the old one after the new stream is created.
25972 * libio/freopen64.c (freopen64): Likewise.
25973 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25974 * libio/fileops.c (_IO_new_file_close_it): Handle new
25975 _IO_FLAGS2_NOCLOSE flag.
25976 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25977 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25978 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25979 _IO_FLAGS2_NOCLOSE flag.
25980 * include/unistd.h: Add hidden_proto for dup3.
25981 Define __have_dup3.
25982 * io/dup3.c: Define hidden symbol.
25983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25984
bd25564e
UD
25985 [BZ #7101]
25986 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25987 when an incomplete long option is used.
25988 * posix/tst-getopt_long1.c: New file.
25989 * posix/Makefile (tests): Add tst-getopt_long1.
25990
c84cfef4
UD
25991 [BZ #10138]
25992 * scripts/config.guess: Update from autoconf-2.68.
25993 * scripts/config.sub: Likewise.
25994
3b85df27
UD
25995 [BZ #10157]
25996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25997 tests into ...
25998 (has_cpuclock): ...this. New function.
25999 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26000 macro here based on has_cpuclock code.
26001
15a856b1
UD
26002 [BZ #10149]
26003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26004 First byte (not low byte) is now always NUL.
26005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26006
05f399e6
UD
26007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26008 Use non-cancelable interfaces.
26009
10a52685 26010 [BZ #9809]
94ecc67d
UD
26011 * locale/iso-639.def: Add entry for Sorani.
26012
f8a3b5bf
UD
26013 [BZ #11901]
26014 * include/stdlib.h: Move include protection to the right place.
26015 Define abort_msg_s. Declare __abort_msg with it.
26016 * stdlib/abort.c (__abort_msg): Adjust type.
26017 * assert/assert.c (__assert_fail_base): New function. Majority
26018 of code from __assert_fail. Allocate memory for __abort_msg with
26019 mmap.
26020 (__assert_fail): Now call __assert_fail_base.
26021 * assert/assert-perr.c: Remove bulk of implementation. Use
26022 __assert_fail_base.
26023 * include/assert.hL Declare __assert_fail_base.
26024 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26025 mmap.
26026 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26027
1af4e298
UD
260282011-05-14 Ulrich Drepper <drepper@gmail.com>
26029
f8a3b5bf 26030 [BZ #11952]
d26dfc60
MG
26031 [BZ #12453]
26032 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26033 until all modules are registered in the DTV.
26034 * elf/Makefile: Add rules to build and run tst-tls19.
26035 * elf/tst-tls19.c: New file.
26036 * elf/tst-tls19mod1.c: New file.
26037 * elf/tst-tls19mod2.c: New file.
26038 * elf/tst-tls19mod3.c: New file.
26039 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26040
2fc54d6f
UD
26041 [BZ #12083]
26042 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26043 correctly.
26044
98d76b46
UD
26045 [BZ #12601]
26046 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26047 two-byte sequence errors.
26048 * iconvdata/Makefile (tests): Add bug-iconv8.
26049 * iconvdata/bug-iconv8.c: New file.
26050
da3c19ef
UD
26051 [BZ #12626]
26052 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26053 buf2 definition.
26054
ca408c15
UD
26055 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26056
d6f67f7d
UD
26057 [BZ #12432]
26058 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26059 (dummy_getcfa): New function.
26060 (init): Get _Unwind_GetCFA address, use dummy if not found.
26061 (backtrace_helper): In recursion check, also check whether CFA changes.
26062 (__backtrace): Completely initialize arg.
26063
1af4e298 26064 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26065 storing incomplete byte sequence in state object. Avoid testing for
26066 guaranteed too small input if we know there is enough data available.
1af4e298 26067
da62f81b
AS
260682011-05-11 Andreas Schwab <schwab@redhat.com>
26069
26070 * Makeconfig (+link-pie): Indent.
26071 * Rules (binaries-pie): Define if $(have-fpie) and
26072 $(build-shared).
26073 (binaries-shared): Also filter out $(binaries-pie).
26074 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26075 * nscd/Makefile (others-pie): Add nscd.
26076 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26077 ($(objpfx)nscd): Remove command override.
26078 * login/Makefile (others-pie): Add pt_chown.
26079 ($(objpfx)pt_chown): Remove command override.
26080 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26081 remove command overrides.
26082
fcabc0f8
UD
260832011-05-13 Ulrich Drepper <drepper@gmail.com>
26084
20030ae6
UD
26085 * libio/tst_putwc.c: Fix error messages.
26086
fcabc0f8
UD
26087 [BZ #12724]
26088 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26089 currently writing and seek to current position when not.
26090 * libio/Makefile (tests): Add bug-fclose1.
26091 * libio/bug-fclose1.c: New file.
26092
320a5dc0
PB
260932011-05-12 Ulrich Drepper <drepper@gmail.com>
26094
26095 [BZ #12511]
26096 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26097 don't set DF_1_NODELETE here.
26098 (do_lookup_x): When entering new entry test for copy relocation
26099 and if necessary set DF_1_NODELETE flag.
26100 * elf/tst-unique4.cc: New file.
26101 * elf/tst-unique4.h: New file.
26102 * elf/tst-unique4lib.cc: New file.
26103 * elf/Makefile: Add rules to build and run tst-unique4.
26104 Patch by Piotr Bury <pbury@goahead.com>.
26105
22836f52
UD
261062011-05-11 Ulrich Drepper <drepper@gmail.com>
26107
f574184a
UD
26108 [BZ #12052]
26109 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26110
e1fb097f
UD
26111 [BZ #12625]
26112 * misc/mntent_r.c (addmntent): Flush the stream after the output
26113
22836f52
UD
26114 [BZ #12393]
26115 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26116 (is_trusted_path_normalize): Skip initial colon. Append slash
26117 to empty buffer. Duplicate is_trusted_path code but allow
26118 constructed patch to be prefix.
26119 (is_dst): Allow $ORIGIN followed by /.
26120 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26121 Correct testing of result of is_trusted_path_normalize
26122 (decompose_rpath): Fix warning.
26123
7b3b0b2a
UD
261242011-05-10 Ulrich Drepper <drepper@gmail.com>
26125
26126 [BZ #11257]
26127 * grp/initgroups.c (internal_getgrouplist): When we found the service
26128 list through the initgroups entry in nsswitch.conf do not always
26129 continue on a successful lookup. Don't always use the
eac80ce2 26130 __nss_group_database value if it is set.
7b3b0b2a
UD
26131 * nss/nsswitch.conf (initgroups): Change action for successful db
26132 lookup to continue for compatibility.
26133
2a81eaa5
UD
261342011-05-09 Ulrich Drepper <drepper@gmail.com>
26135
be97a69e
UD
26136 [BZ #11532]
26137 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26138 and CP774 modules.
26139 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26140 and CP774 modules.
26141 * iconvdata/tst-tables.sh: Likewise.
26142 * iconvdata/cp770.c: New file.
26143 * iconvdata/cp771.c: New file.
26144 * iconvdata/cp772.c: New file.
26145 * iconvdata/cp773.c: New file.
26146 * iconvdata/cp774.c: New file.
26147 * iconvdata/testdata/CP770: New file.
26148 * iconvdata/testdata/CP770..UTF8: New file.
26149 * iconvdata/testdata/CP771: New file.
26150 * iconvdata/testdata/CP771..UTF8: New file.
26151 * iconvdata/testdata/CP772: New file.
26152 * iconvdata/testdata/CP772..UTF8: New file.
26153 * iconvdata/testdata/CP773: New file.
26154 * iconvdata/testdata/CP773..UTF8: New file.
26155 * iconvdata/testdata/CP774: New file.
26156 * iconvdata/testdata/CP774..UTF8: New file.
26157
26158 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26159 END CHARMAP line.
26160 * iconvdata/gen-8bit-gap.sh: Likewise.
26161 * iconvdata/gen-8bit.sh: Likewise.
26162
c1e9e399
UD
26163 * locale/iso-639.def: Add ary entry.
26164
24c55fb3 26165 [BZ #11258]
96b4b1b0
UD
26166 * locale/C-translit.h.in: Add U20A1 transliteration.
26167
bdc2f971
KB
26168 [BZ #12178]
26169 * locale/iso-639.def: Add wae entry.
26170 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26171
2952b117
UD
26172 [BZ #12545]
26173 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26174 for n.
26175
2a81eaa5
UD
26176 [BZ #12711]
26177 * locale/C-translit.h.in: Add entry for U20B9.
26178 Patch by pravin.d.s@gmail.com.
26179
28377d1b
UD
261802011-05-08 Ulrich Drepper <drepper@gmail.com>
26181
7fb90fb8
UD
26182 [BZ #12713]
26183 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26184 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26185 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26186 in rtld. Use *stat64.
7fb90fb8 26187 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26188 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26189 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26190 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26191 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26192 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26193 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26194 __fstatat64 macros.
7fb90fb8
UD
26195 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26196 * dirent/rewinddir.c: Add libc_hidden_def.
26197 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26198 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26199
28377d1b
UD
26200 * include/dirent.h (__alloc_dir): Add flags parameter.
26201 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26202 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26203 __alloc_dir.
26204 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26205 from fdopendir if O_CLOEXEC is already set.
26206
66bdbaa4
AM
262072011-03-15 Alan Modra <amodra@gmail.com>
26208
26209 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26210 l_tls_firstbyte_offset non-zero. Save padding offset in
26211 l_tls_firstbyte_offset for later use.
26212 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26213 freeing static tls block.
26214
95721191
JN
262152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26216
26217 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26218 where #ifdef was intended. The intent is to prevent ARG_MAX from
26219 being defined by the kernel headers.
26220
f87dfb1f
UD
262212011-05-07 Ulrich Drepper <drepper@gmail.com>
26222
26223 [BZ #12734]
26224 * resolv/resolv.h: Define RES_NOTLDQUERY.
26225 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26226 no-tld-query and set RES_NOTLDQUERY.
26227 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26228 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26229 modern BIND to search name as TLD unless forbidden.
26230
47c3cd7a
UD
262312011-05-07 Petr Baudis <pasky@suse.cz>
26232 Ulrich Drepper <drepper@gmail.com>
26233
26234 [BZ #12393]
26235 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26236 (is_trusted_path): ...to here.
c1e9ea35 26237 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26238 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26239 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26240
8a35c912
PP
262412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26242
26243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26244 __BEGIN/__END_DECLS.
26245
acd41f47
UD
262462011-05-06 Ulrich Drepper <drepper@gmail.com>
26247
26248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26249 NSS_STATUS_NOTFOUND if no record was found.
26250
597df647
AS
262512011-05-05 Andreas Schwab <schwab@redhat.com>
26252
26253 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26254 (headers-not-in-tirpc): Remove rpc/netdb.h
26255 * resolv/netdb.h: Revert last change.
26256
b9af1301
PP
262572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26258
26259 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26260 circular dependency between libgcc.a and libc.a.
26261
4e34d5f5
AS
262622011-05-05 Andreas Schwab <schwab@redhat.com>
26263
26264 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26265 * nis/Makefile: Don't install rpcsvc/*.
26266 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26267 instead of <rpc/types.h>.
26268 (MAXHOSTNAMELEN): Define.
26269
00ee369c
AS
262702011-05-03 Andreas Schwab <schwab@redhat.com>
26271
26272 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26273
0b592a30
MB
262742011-04-28 Maciej Babinski <mbabinski@google.com>
26275
26276 [BZ #12714]
26277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26278 gethostbyname4_r when IPv6 results are possible.
26279
6e04cbbe
UD
262802011-05-02 Ulrich Drepper <drepper@gmail.com>
26281
26282 [BZ #12723]
26283 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26284 _PC_PIPE_BUF handling.
26285
e4ecafe0
BH
262862011-04-30 Bruno Haible <bruno@clisp.org>
26287
26288 [BZ #12717]
26289 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26290 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26291 to 'int'.
26292 * inet/getnameinfo.c (getnameinfo): Likewise.
26293
125ee683
UD
262942011-04-29 Ulrich Drepper <drepper@gmail.com>
26295
26296 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26297 to groups setting in database lookup.
26298 * nss/nsswitch.conf: Add initgroups entry.
26299
b722481a
EB
263002011-04-22 Ulrich Drepper <drepper@gmail.com>
26301
26302 [BZ #12685]
26303 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26304 mode string.
26305 Patch by Eric Blake <eblake@redhat.com>.
26306
4df46dbd
L
263072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26308
26309 * sunrpc/Makefile (need-export-routines): Add svc_run.
26310 (routines): Remove svc_run.
26311 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26312 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26313 * sunrpc/svc_run.c (svc_run): Likewise.
26314 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26315
e84142d2
UD
263162011-04-21 Ulrich Drepper <drepper@gmail.com>
26317
26318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26319 problem in reallocation in last patch.
26320
877175d8
UD
263212011-04-20 Ulrich Drepper <drepper@gmail.com>
26322
26323 * sunrpc/Makefile: Move inclusion of Rules.
26324
ab8eed78
UD
263252011-04-19 Ulrich Drepper <drepper@gmail.com>
26326
26327 * nss/nss_files/files-initgroups.c: New file.
26328 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26329 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26330 _nss_files_initgroups_dyn.
26331
e3d8f584
RS
263322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26333
26334 * elf/elf.h (R_ARM_IRELATIVE): Define.
26335
af190f45
UD
263362011-04-19 Ulrich Drepper <drepper@gmail.com>
26337
26338 * po/ru.po: Update from translation team.
26339
53cf59ef
UD
263402011-04-17 Ulrich Drepper <drepper@gmail.com>
26341
26342 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26343 dependencies.
26344
4c559bcd
MF
263452011-02-06 Mike Frysinger <vapier@gentoo.org>
26346
26347 [BZ #12653]
26348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26349 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26353
4420675c
AS
263542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26355
26356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26357 differing bytes.
26358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26361
75ea32ab
UD
263622011-04-17 Ulrich Drepper <drepper@gmail.com>
26363
26364 [BZ #12420]
26365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26366 storing it.
26367 * stdlib/bug-getcontext.c: New file.
26368 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26369
27390476
AK
263702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26371
26372 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26373 instructions into .machine "z9-109".
26374 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26375 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26376
10442705
AK
263772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26378
26379 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26380 between environment variables and auxiliary vector.
26381
7b57bfe5
UD
263822011-04-16 Ulrich Drepper <drepper@gmail.com>
26383
26384 * Makefile: Add rules to build linkobj/libc.so.
26385 * include/libc-symbols.h: Define libc_hidden_nolink.
26386 * include/rpc/auth.h: Mark functions which are to be hidden.
26387 * include/rpc/auth_des.h: Likewise.
26388 * include/rpc/auth_unix.h: Likewise.
26389 * include/rpc/clnt.h: Likewise.
26390 * include/rpc/des_crypt.h: Likewise.
26391 * include/rpc/key_prot.h: Likewise.
26392 * include/rpc/pmap_clnt.h: Likewise.
26393 * include/rpc/pmap_prot.h: Likewise.
26394 * include/rpc/pmap_rmt.h: Likewise.
26395 * include/rpc/rpc_msg.h: Likewise.
26396 * include/rpc/svc.h: Likewise.
26397 * include/rpc/svc_auth.h: Likewise.
26398 * include/rpc/xdr.h: Likewise.
26399 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26400 * nss/Makefile: Likewise.
26401 * sunrpc/Makefile: Don't install headers. Build library with normal
26402 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26403 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26404 for the compat linking library. Remove use of INTDEF/INTUSE.
26405 * sunrpc/auth_none.c: Likewise.
26406 * sunrpc/auth_unix.c: Likewise.
26407 * sunrpc/authdes_prot.c: Likewise.
26408 * sunrpc/authuxprot.c: Likewise.
26409 * sunrpc/clnt_gen.c: Likewise.
26410 * sunrpc/clnt_perr.c: Likewise.
26411 * sunrpc/clnt_raw.c: Likewise.
26412 * sunrpc/clnt_simp.c: Likewise.
26413 * sunrpc/clnt_tcp.c: Likewise.
26414 * sunrpc/clnt_udp.c: Likewise.
26415 * sunrpc/clnt_unix.c: Likewise.
26416 * sunrpc/des_crypt.c: Likewise.
26417 * sunrpc/des_soft.c: Likewise.
26418 * sunrpc/get_myaddr.c: Likewise.
26419 * sunrpc/key_call.c: Likewise.
26420 * sunrpc/key_prot.c: Likewise.
26421 * sunrpc/netname.c: Likewise.
26422 * sunrpc/pm_getmaps.c: Likewise.
26423 * sunrpc/pm_getport.c: Likewise.
26424 * sunrpc/pmap_clnt.c: Likewise.
26425 * sunrpc/pmap_prot.c: Likewise.
26426 * sunrpc/pmap_prot2.c: Likewise.
26427 * sunrpc/pmap_rmt.c: Likewise.
26428 * sunrpc/publickey.c: Likewise.
26429 * sunrpc/rpc_cmsg.c: Likewise.
26430 * sunrpc/rpc_common.c: Likewise.
26431 * sunrpc/rpc_dtable.c: Likewise.
26432 * sunrpc/rpc_prot.c: Likewise.
26433 * sunrpc/rpc_thread.c: Likewise.
26434 * sunrpc/rtime.c: Likewise.
26435 * sunrpc/svc.c: Likewise.
26436 * sunrpc/svc_auth.c: Likewise.
26437 * sunrpc/svc_authux.c: Likewise.
26438 * sunrpc/svc_raw.c: Likewise.
26439 * sunrpc/svc_run.c: Likewise.
26440 * sunrpc/svc_simple.c: Likewise.
26441 * sunrpc/svc_tcp.c: Likewise.
26442 * sunrpc/svc_udp.c: Likewise.
26443 * sunrpc/svc_unix.c: Likewise.
26444 * sunrpc/svcauth_des.c: Likewise.
26445 * sunrpc/xcrypt.c: Likewise.
26446 * sunrpc/xdr.c: Likewise.
26447 * sunrpc/xdr_array.c: Likewise.
26448 * sunrpc/xdr_float.c: Likewise.
26449 * sunrpc/xdr_intXX_t.c: Likewise.
26450 * sunrpc/xdr_mem.c: Likewise.
26451 * sunrpc/xdr_rec.c: Likewise.
26452 * sunrpc/xdr_ref.c: Likewise.
26453 * sunrpc/xdr_sizeof.c: Likewise.
26454 * sunrpc/xdr_stdio.c: Likewise.
26455
e6c61494
UD
264562011-04-10 Ulrich Drepper <drepper@gmail.com>
26457
26458 [BZ #12650]
26459 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26460 * sysdeps/ia64/dl-tls.h: Likewise.
26461 * sysdeps/powerpc/dl-tls.h: Likewise.
26462 * sysdeps/s390/dl-tls.h: Likewise.
26463 * sysdeps/sh/dl-tls.h: Likewise.
26464 * sysdeps/sparc/dl-tls.h: Likewise.
26465 * sysdeps/x86_64/dl-tls.h: Likewise.
26466 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26467
34fe483e
AS
264682011-03-14 Andreas Schwab <schwab@redhat.com>
26469
26470 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26471 rpath element also skip the following colon.
26472 (expand_dynamic_string_token): Add is_path parameter and pass
26473 down to DL_DST_REQUIRED and _dl_dst_substitute.
26474 (decompose_rpath): Call expand_dynamic_string_token with
26475 non-zero is_path. Ignore empty rpaths.
26476 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26477 with zero is_path.
26478
f12a32e6
AS
264792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26480
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26482 Make cancelable.
26483
38a7d692
UD
264842011-04-09 Ulrich Drepper <drepper@gmail.com>
26485
26486 [BZ #12655]
26487 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26488 Patch by Filipe David Manana <fdmanana@apache.org>.
26489
e451d22b
AS
264902011-04-07 Andreas Schwab <schwab@redhat.com>
26491
26492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26493 Maintain aligned stack.
26494 (CHECK_RSP): Remove unused macro.
26495
dedc7c7b
UD
264962011-04-03 Ulrich Drepper <drepper@gmail.com>
26497
26498 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26500
94521213
UD
265012011-04-02 Ulrich Drepper <drepper@gmail.com>
26502
26503 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26504
8cb700c0 26505 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26506
0354e355
L
265072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26508
26509 [BZ #12518]
26510 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26511 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26512 * sysdeps/x86_64/memmove.c: New file.
26513 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26514 (memcpy): Renamed to ...
26515 (__new_memcpy): This.
26516 (memcpy): Provide GLIBC_2_14 memcpy.
26517 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26518 (memcpy): Provide GLIBC_2_2_5 memcpy.
26519
8593482f
UD
265202011-04-01 Ulrich Drepper <drepper@gmail.com>
26521
26522 [BZ #12631]
26523 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26524
81a5726b
AS
265252011-03-30 Andreas Schwab <schwab@redhat.com>
26526
26527 * misc/syncfs.c: New file.
26528 * misc/Makefile (routines): Add syncfs.
26529 * posix/unistd.h: Declare syncfs.
26530 * sysdeps/unix/syscalls.list: Add syncfs.
26531
00e5419f
AS
265322011-04-01 Andreas Schwab <schwab@redhat.com>
26533
26534 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26535 open_by_handle_at.
26536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26541 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26543
748876bf
UD
265442011-04-01 Ulrich Drepper <drepper@gmail.com>
26545
658e451d
UD
26546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26553
748876bf
UD
26554 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26555 sync_file_range.c with -fexceptions.
26556 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26557 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26558 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26559 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26563 sync_file_range as cancellation point
26564 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26565 now a wrapper around __call_sync_file_range with cancellation handling.
26566 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26567 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26568 function name to __call_sync_file_range.
26569 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26570 Add call_sync_file_range.
748876bf 26571
6e63d5e1
AS
265722011-04-01 Andreas Schwab <schwab@redhat.com>
26573
26574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26575 bits/timex.h.
6e63d5e1 26576
46998f74
UD
265772011-04-01 Ulrich Drepper <drepper@gmail.com>
26578
4c1423ed
UD
26579 * iconv/iconv.h: Fix typo in comment.
26580 * io/fcntl.h: Likewise.
26581 * libio/stdio.h: Likewise.
26582 * posix/spawn.h: Likewise.
26583 * posix/unistd.h: Likewise.
26584 * stdlib/stdlib.h: Likewise.
26585 * time/time.h: Likewise.
26586 * wcsmbs/wchar.h: Likewise.
26587
158648c0
UD
26588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26589 open_by_handle): Add.
26590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26591 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26592 Augment a few comments.
26593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26598 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26599 open_by_handle.
26600
46998f74
UD
26601 * io/fcntl.h (AT_EMPTY_PATH): Define.
26602
83fe108b
UD
266032011-03-30 Ulrich Drepper <drepper@gmail.com>
26604
26605 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26606 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26607 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26608 to...
26609 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26610 * Versions.def: Add GLIBC_2.14.
26611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26612 Export.
83fe108b 26613
bb242059
UD
266142011-03-22 Ulrich Drepper <drepper@gmail.com>
26615
26616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26617 round counter.
26618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26619
c97a1282
L
266202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26621
26622 [BZ #12597]
26623 * string/test-strncmp.c (do_page_test): New function.
26624 (check2): Likewise.
26625 (test_main): Call check2.
26626 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26627
2a115601
UD
266282011-03-20 Ulrich Drepper <drepper@gmail.com>
26629
26630 [BZ #12587]
26631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26632 Handle cache information in CPU leaf 4.
26633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26634
8126d904
UD
266352011-03-18 Ulrich Drepper <drepper@gmail.com>
26636
042c49c6 26637 [BZ #12583]
8126d904
UD
26638 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26639 character representation.
26640 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26641
ccfe366e
RA
266422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26643
26644 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26645 END(__isnan) to END(__isnanf) to match function entry point/label
26646 EALIGN(__isnanf,...).
26647
c6e13027
JJ
266482011-03-10 Jakub Jelinek <jakub@redhat.com>
26649
26650 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26651
33f85a3f
UD
266522011-03-10 Ulrich Drepper <drepper@gmail.com>
26653
028478fa
UD
26654 [BZ #12510]
26655 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26656 copy from the symbol referenced in the relocation to initialize the
26657 used variable.
26658 Patch by Piotr Bury <pbury@goahead.com>.
26659 * elf/Makefile: Add rules to build and tst-unique3.
26660 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26661 * elf/tst-unique3.cc: New file.
26662 * elf/tst-unique3.h: New file.
26663 * elf/tst-unique3lib.cc: New file.
26664 * elf/tst-unique3lib2.cc: New file.
26665
33f85a3f
UD
26666 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26667
03592fc7
MF
266682011-03-10 Mike Frysinger <vapier@gentoo.org>
26669
26670 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26671 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26672 to _start.
03592fc7 26673
6a5ee102
UD
266742011-03-06 Ulrich Drepper <drepper@gmail.com>
26675
26676 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26677 to-be-loaded object along a path to loader is ld.so.
26678
7e4ba49c
HJ
266792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26680 Ulrich Drepper <drepper@gmail.com>
26681
26682 * sysdeps/x86_64/memset.S: After aligning destination, code
26683 branches to different locations depending on the value of
26684 misalignment, when multiarch is enabled. Fix this.
26685
266862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26687
26688 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26689 Set _x86_64_preferred_memory_instruction for AMD processsors.
26690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26691 Set bit_Prefer_SSE_for_memop for AMD processors.
26692
13a804de
UD
266932011-03-04 Ulrich Drepper <drepper@gmail.com>
26694
26695 * libio/fmemopen.c (fmemopen): Optimize a bit.
26696
9d25c392
AS
266972011-03-03 Andreas Schwab <schwab@redhat.com>
26698
26699 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26700
a5543c6a
RM
267012011-03-03 Roland McGrath <roland@redhat.com>
26702
26703 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26704
012d35f7
DM
267052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26706
7e4ba49c 26707 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26708 __bzero_ultra1 instead of __memset_ultra1.
26709
4bff6e01
AS
267102011-02-23 Andreas Schwab <schwab@redhat.com>
26711 Ulrich Drepper <drepper@gmail.com>
26712
26713 [BZ #12509]
26714 * include/link.h (struct link_map): Add l_orig_initfini.
26715 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26716 returning unsuccessfully.
26717 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26718 close of a file loaded at startup, restore the original l_initfini
26719 list.
26720 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26721 list, store the pointer.
26722 * elf/Makefile ($(objpfx)noload-mem): New rule.
26723 (noload-ENV): Define.
26724 (tests): Add $(objpfx)noload-mem.
26725 * elf/noload.c: Include <memcheck.h>.
26726 (main): Call mtrace. Close all opened handles.
26727
f2092faf
AS
267282011-02-17 Andreas Schwab <schwab@redhat.com>
26729
26730 [BZ #12454]
26731 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26732 dependencies are missing.
26733
6c8a2e88
ST
267342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26735
f2092faf 26736 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26737 Hurd needs munmap.
26738 * sysdeps/mach/hurd/ifreq.h: New file.
26739
84a42118
PB
267402011-01-27 Petr Baudis <pasky@suse.cz>
26741 Ulrich Drepper <drepper@gmail.com>
26742
071f805e 26743 [BZ 12445]#
84a42118
PB
26744 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26745 to extend_alloca().
26746 * stdio-common/bug23.c: New file.
26747 * stdio-common/Makefile (tests): Add bug23.
26748
e23fe25b
AS
267492010-09-28 Andreas Schwab <schwab@redhat.com>
26750 Ulrich Drepper <drepper@gmail.com>
26751
26752 [BZ #12489]
26753 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26754 before performing relro protection. At old place add assertion
26755 to make sure nothing changed.
26756
d3f02e10
NS
267572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26758 Glauber de Oliveira Costa <glommer@gmail.com>
26759
26760 * elf/elf.h: Add new ARM TLS relocs.
26761
d55fd7a5
RA
267622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26763
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26765 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26766 cast from r3.
26767 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26768 'tests' variable.
26769 * sysdeps/wordsize-64/tst-writev.c: New file.
26770
2206397e
RA
267712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26772
26773 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26774 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26775 insns in _dl_start to prevent a TOC reference before relocs are
26776 resolved.
26777
e9433893
UD
267782011-02-15 Ulrich Drepper <drepper@gmail.com>
26779
26780 [BZ #12469]
26781 * Makeconfig: Remove RANLIB definition.
26782 * Makerules: Don't use RANLIB.
26783 * aclocal.m4: Remove ranlib test.
26784 * configure.in: No need to check for ranlib.
26785 * elf/rtld-Rules: Don't use RANLIB.
26786
f75286c6
ST
267872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26788
8e31c82d
ST
26789 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26790 protection macro.
26791 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26792 inclusion protection macro.
26793
f75286c6
ST
26794 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26795 SIGRTMIN and SIGRTMAX and print information in that case only when
26796 SIGRTMIN is defined.
26797
c1d0e639
JJ
267982011-02-11 Jakub Jelinek <jakub@redhat.com>
26799
26800 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26801 arginfo fn returning -1.
26802
26803 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26804 and thousands string is zero terminated.
26805
edf9294e
AS
268062011-02-03 Andreas Schwab <schwab@redhat.com>
26807
26808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26809 sysdeps/unix/sysv/linux/bits/socket.h.
26810
2b7e92df
ST
268112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26812
edf9294e
AS
26813 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26814 (__CPU_COUNT): Remove old macros.
26815 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26816 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26817 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26818 (__sched_cpualloc, __sched_cpufree): Add declarations.
26819
a4c7ea7b
UD
268202011-02-05 Ulrich Drepper <drepper@gmail.com>
26821
26822 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26823 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26824 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26825 (readdhstai): Return value of addhstaiX call.
26826 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26827 (addgrbyX): Return value returned by cache_addgr.
26828 (readdgrbyname): Return value returned by addgrbyX.
26829 (readdgrbygid): Likewise.
26830 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26831 (addpwbyX): Return value returned by cache_addpw.
26832 (readdpwbyname): Return value returned by addhstbyX.
26833 (readdpwbyuid): Likewise.
26834 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26835 (addservbyX): Return value returned by cache_addserv.
26836 (readdservbyname): Return value returned by addservbyX:
26837 (readdservbyport): Likewise.
26838 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26839 (addhstbyX): Return value returned by cache_addhst.
26840 (readdhstbyname): Return value returned by addhstbyX.
26841 (readdhstbyaddr): Likewise.
26842 (readdhstbynamev6): Likewise.
26843 (readdhstbyaddrv6): Likewise.
26844 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26845 (readdinitgroups): Return value returned by addinitgroupsX.
26846 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26847 (prune_cache): Keep track of timeout value of re-added entries.
26848 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26849 * nscd/nscd.h: Adjust prototypes of readd* functions.
26850
a0bf67cc
RM
268512011-02-04 Roland McGrath <roland@redhat.com>
26852
26853 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26854 (nis_stats): Likewise.
26855 * nis/nis_modify.c (nis_modify): Likewise.
26856 * nis/nis_remove.c (nis_remove): Likewise.
26857 * nis/nis_add.c (nis_add): Likewise.
26858
26859 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26860
26861 * posix/fnmatch_loop.c: Add some consts.
26862
26863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26864
435b95eb
L
268652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26866
26867 [BZ #12460]
26868 * config.make.in (config-cflags-novzeroupper): Define.
26869 * configure.in: Substitute libc_cv_cc_novzeroupper.
26870 * elf/Makefile (AVX-CFLAGS): Define.
26871 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26872 (CFLAGS-tst-auditmod4a.c): Likewise.
26873 (CFLAGS-tst-auditmod4b.c): Likewise.
26874 (CFLAGS-tst-auditmod6b.c): Likewise.
26875 (CFLAGS-tst-auditmod6c.c): Likewise.
26876 (CFLAGS-tst-auditmod7b.c): Likewise.
26877 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26878
8517b15e
UD
268792011-02-02 Ulrich Drepper <drepper@gmail.com>
26880
26881 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26882 function to the callback.
26883 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26884
10a656fe
AS
268852011-02-02 Andreas Schwab <schwab@redhat.com>
26886
26887 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26888 of errno.
26889
968dad0a
UD
268902011-01-19 Ulrich Drepper <drepper@gmail.com>
26891
9f94d2ea 26892 [BZ #11724]
968dad0a
UD
26893 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26894 of constructors.
26895 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26896 of destructors.
26897 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26898
26899 [BZ #11724]
26900 * elf/Makefile: Add rules to build and run new test.
26901 * elf/tst-initorder.c: New file.
26902 * elf/tst-initorder.exp: New file.
26903 * elf/tst-initordera1.c: New file.
26904 * elf/tst-initordera2.c: New file.
26905 * elf/tst-initordera3.c: New file.
26906 * elf/tst-initordera4.c: New file.
26907 * elf/tst-initorderb1.c: New file.
26908 * elf/tst-initorderb2.c: New file.
26909 * elf/tst-order-a1.c: New file.
26910 * elf/tst-order-a2.c: New file.
26911 * elf/tst-order-a3.c: New file.
26912 * elf/tst-order-a4.c: New file.
26913 * elf/tst-order-b1.c: New file.
26914 * elf/tst-order-b2.c: New file.
26915 * elf/tst-order-main.c: New file.
26916 New test case by George Gensure <werkt0@gmail.com>.
26917
86e92359
UD
269182010-10-01 Andreas Schwab <schwab@redhat.com>
26919
26920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26921 decoding ACE if AI_CANONIDN.
26922
5d5732b0
UD
269232011-01-18 Ulrich Drepper <drepper@gmail.com>
26924
26925 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26926
a77e8cbc
UD
269272011-01-17 Ulrich Drepper <drepper@gmail.com>
26928
6392473f
UD
26929 * version.h (RELEASE): Bump for 2.13 release.
26930 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26931
620a0529
UD
26932 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26933
18ba70a5
UD
26934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26935 MADV_NOHUGEPAGE.
32465c3e
UD
26936 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26942
c0dafcf1
UD
26943 * posix/getconf.c: Update copyright year.
26944 * catgets/gencat.c: Likewise.
26945 * csu/version.c: Likewise.
26946 * debug/catchsegv.sh: Likewise.
26947 * debug/xtrace.sh: Likewise.
26948 * elf/ldconfig.c: Likewise.
26949 * elf/ldd.bash.in: Likewise.
26950 * elf/sprof.c (print_version): Likewise.
26951 * iconv/iconv_prog.c: Likewise.
26952 * iconv/iconvconfig.c: Likewise.
26953 * locale/programs/locale.c: Likewise.
26954 * locale/programs/localedef.c: Likewise.
26955 * malloc/memusage.sh: Likewise.
26956 * malloc/mtrace.pl: Likewise.
26957 * nscd/nscd.c (print_version): Likewise.
26958 * nss/getent.c: Likewise.
26959
a77e8cbc
UD
26960 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26961 PF_CAIF, and PF_ALG.
26962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26963
77e8bddf
AS
269642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26965
1f20b93a
AS
26966 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26967 (modules-names): Use them.
26968 (ifunc-test-modules, ifunc-pie-tests): Define.
26969 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26970 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26971 (test-extras): Likewise.
26972 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26973 $(compile-command.c).
26974 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26975 (all-built-dso): Define.
26976 (check-textrel.out, check-execstack.out): Depend on it.
26977
77e8bddf
AS
26978 * configure.in: Don't override --enable-multi-arch.
26979
bc425b33
UD
269802011-01-15 Ulrich Drepper <drepper@gmail.com>
26981
26982 [BZ #6812]
26983 * nscd/hstcache.c (tryagain): Define.
26984 (cache_addhst): Return tryagain not notfound for temporary errors.
26985 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26986 failed.
26987
794c3ad3
UD
269882011-01-14 Ulrich Drepper <drepper@gmail.com>
26989
70181fdd
UD
26990 [BZ #10563]
26991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26992 to make the syscall.
26993 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26994
794c3ad3
UD
26995 [BZ #12378]
26996 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26997 and fall back to matching as normal character if the string ends before
26998 the matching ']' is found. This is what POSIX requires.
26999 * posix/testfnm.c: Adjust test result.
27000 * posix/globtest.sh: Adjust test result. Add new test.
27001 * posix/tst-fnmatch.input: Likewise.
27002 * posix/tst-fnmatch2.c: Add new test.
27003
68dc9497
AS
270042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27005
27006 * elf/Makefile (check-execstack): Revert last change. Depend on
27007 check-execstack.h.
27008 (check-execstack.h): New target.
27009 (generated): Add check-execstack.h.
27010 * elf/check-execstack.c: Include "check-execstack.h".
27011 (main): Revert last change.
27012 (handle_file): Return zero if GNU_STACK is absent and
27013 DEFAULT_STACK_PERMS doesn't include PF_X.
27014
451f001b
UD
270152011-01-13 Ulrich Drepper <drepper@gmail.com>
27016
cfa28e56
UD
27017 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27018 in child fails because the descriptor is already closed.
8cf8ce17
UD
27019 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27020 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27022
1086d70d
UD
27023 [BZ #12397]
27024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27025 syscall.
27026
451f001b
UD
27027 [BZ #10484]
27028 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27029 temporary buffer used to handle multi lookups locally.
a85b5cb4 27030 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27031
08769175
UD
270322011-01-12 Ulrich Drepper <drepper@gmail.com>
27033
27034 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27035 loader is ld.so.
27036
5e49c52e
UD
270372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27038
27039 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27040 alignment for SSE2.
27041
60522a5f
UD
270422011-01-12 Ulrich Drepper <drepper@gmail.com>
27043
27044 [BZ #12394]
27045 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27046 characters. When rounding increased number of integer digits recompute
27047 number of groups.
27048 * stdio-common/tst-grouping.c: New file.
27049 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27050
f257bbd7
UD
270512011-01-09 Ulrich Drepper <drepper@gmail.com>
27052
27053 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27054 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27055
27056 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27057 void.
27058 * bits/select.h: Likewise.
27059
fa9c15cb
UD
270602011-01-08 Ulrich Drepper <drepper@gmail.com>
27061
27062 * po/ja.po: Update from translation team.
27063
16c2895f
DM
270642011-01-04 David S. Miller <davem@sunset.davemloft.net>
27065
27066 [BZ #11155]
27067 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27068 implementation just like for lxstat, fxstatat, et al.
27069
2543fef2
JM
270702010-12-27 Jim Meyering <meyering@redhat.com>
27071
27072 [BZ #12348]
27073 * posix/regexec.c (build_trtable): Return failure indication upon
27074 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27075
98727dbe
UD
270762010-12-25 Ulrich Drepper <drepper@gmail.com>
27077
5bd6dc5c
UD
27078 [BZ #12201]
27079 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27080 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27083
97983464
UD
27084 [BZ #12207]
27085 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27086
98727dbe
UD
27087 [BZ #12204]
27088 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27089 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27090
4a531bb0
L
270912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27092
27093 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27094 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27095 script has SORT_BY_INIT_PRIORITY.
27096 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27097 NO_CTORS_DTORS_SECTIONS is defined.
27098 * elf/soinit.c: Likewise.
27099 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27100 NO_CTORS_DTORS_SECTIONS is defined.
27101 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27102 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27103 * sysdeps/sh/init-first.c: Likewise.
27104 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27105
07eb4b71
UD
271062010-12-24 Ulrich Drepper <drepper@gmail.com>
27107
27108 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27109 always use the slow path.
27110
30950a5f
RA
271112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27112
27113 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27114 similar rule which adds the sysdep directories to the header search in
27115 order to pick up the correct platform stackinfo.h.
27116 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27117 perform test if it is, otherwise return successfully without testing.
27118 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27119 DEFAULT_STACK_PERMS define in stackinfo.h.
27120 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27121 defined in stackinfo.h.
27122 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27123 DEFAULT_STACK_PERMS defined in stackinfo.h.
27124 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27125 * sysdeps/ia64/stackinfo.h: Likewise.
27126 * sysdeps/s390/stackinfo.h: Likewise.
27127 * sysdeps/sh/stackinfo.h: Likewise.
27128 * sysdeps/sparc/stackinfo.h: Likewise.
27129 * sysdeps/x86_64/stackinfo.h: Likewise.
27130 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27131 PF_X for powerpc64. Retain PF_X for powerpc32.
27132
db753e2c
UD
271332010-12-19 Ulrich Drepper <drepper@gmail.com>
27134
14b697f7
UD
27135 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27136 accurately.
db753e2c
UD
27137 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27138 GETDENTS_64BIT_ALIGNED.
27139
28300719
UD
271402010-12-14 Ulrich Drepper <dreper@gmail.com>
27141
14b697f7 27142 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27143
4f197237
AS
271442010-12-10 Andreas Schwab <schwab@redhat.com>
27145
dbb0472f
AS
27146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27147 _GNU_SOURCE.
27148
4f197237
AS
27149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27150 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27151 Remove __restrict.
27152 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27153 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27154
fb88ac72
UD
271552010-12-09 Ulrich Drepper <drepper@gmail.com>
27156
27157 [BZ #11655]
27158 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27159 are initialized.
27160
42acbb92
JJ
271612010-12-09 Jakub Jelinek <jakub@redhat.com>
27162
27163 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27164
c038d98d
UD
271652010-12-03 Ulrich Drepper <drepper@gmail.com>
27166
27167 * po/it.po: Update from translation team.
27168
3a4a2499
L
271692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27170
27171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27172 unused codes.
27173
1e24cf6e
UD
271742010-11-30 Ulrich Drepper <drepper@gmail.com>
27175
27176 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27177
a7690819
AS
271782010-11-24 Andreas Schwab <schwab@redhat.com>
27179
27180 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27181 specially.
27182 (gaih_getanswer_slice): Likewise.
27183
3bf8d1b1
JJ
271842010-10-20 Jakub Jelinek <jakub@redhat.com>
27185
27186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27187
6db52fbb
PB
271882010-05-31 Petr Baudis <pasky@suse.cz>
27189
27190 [BZ #11149]
27191 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27192 silently even in the chroot mode.
27193
eaca7569
UD
271942010-11-22 Ulrich Drepper <drepper@gmail.com>
27195
27196 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27197 last patch a bit. Pretty printing
27198
3056dcdb
UD
271992010-05-31 Petr Baudis <pasky@suse.cz>
27200
27201 [BZ #10085]
27202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27203 initialization of skip_initgroups_dyn.
27204
cf7c9078
UD
272052010-11-19 Ulrich Drepper <drepper@gmail.com>
27206
27207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27209
a1fb5e3e
UD
272102010-11-16 Ulrich Drepper <drepper@gmail.com>
27211
27212 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27213
3540d66b
AS
272142010-11-11 Andreas Schwab <schwab@redhat.com>
27215
27216 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27217 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27218 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27219 ($(objpfx)tst-fnmatch-mem): New rule.
27220 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27221 * posix/tst-fnmatch.c (main): Call mtrace.
27222
13b69574
L
272232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27224
27225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27226 Support Intel processor model 6 and model 0x2c.
27227
da93d214
LM
272282010-11-10 Luis Machado <luisgpm@br.ibm.com>
27229
27230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27231 signed comparison.
27232
8ca52c6e
L
272332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 [BZ #12205]
27236 * string/test-strncasecmp.c (check_result): New function.
27237 (do_one_test): Use it.
27238 (check1): New function.
27239 (test_main): Use it.
27240 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27241 Support strcasecmp and strncasecmp.
27242
69da074d
UD
272432010-11-08 Ulrich Drepper <drepper@gmail.com>
27244
27245 [BZ #12194]
27246 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27248
ff02d528
L
272492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27250
27251 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27252 IFUNC support.
27253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27254 memset-x86-64.
27255 * sysdeps/x86_64/multiarch/bzero.S: New file.
27256 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27257 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27258 * sysdeps/x86_64/multiarch/memset.S: New file.
27259 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27261 Set bit_Prefer_SSE_for_memop for Intel processors.
27262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27263 Define.
27264 (index_Prefer_SSE_for_memop): Define.
27265 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27266
344d0b54
LM
272672010-11-04 Luis Machado <luisgpm@br.ibm.com>
27268
27269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27271
c0dde15b
UD
272722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #12191]
27275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27276 (__x86_64_raw_data_cache_size_half): Likewise.
27277 (__x86_64_raw_shared_cache_size): Likewise.
27278 (__x86_64_raw_shared_cache_size_half): Likewise.
27279
27280 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27281 (__x86_64_raw_data_cache_size_half): Likewise.
27282 (__x86_64_raw_shared_cache_size): Likewise.
27283 (__x86_64_raw_shared_cache_size_half): Likewise.
27284 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27285 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27286 and __x86_64_raw_shared_cache_size_half. Round
27287 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27288 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27289 to multiple of 256 bytes.
27290
0e516e0e
MS
272912010-11-03 Ulrich Drepper <drepper@gmail.com>
27292
27293 [BZ #12167]
27294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27295 of inacessible symlinks. Verify result of symlink before returning it.
27296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27297 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27298
0e012e87
ER
272992010-10-28 Erich Ritz <erichritz@gmail.com>
27300
27301 * math/math.h (isinf): Fix typo in comment.
27302
de0ff7bc
UD
273032010-11-01 Ulrich Drepper <drepper@gmail.com>
27304
27305 * po/da.po: Update from translation team.
27306
fa41c84d
UD
273072010-10-26 Ulrich Drepper <drepper@gmail.com>
27308
27309 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27310 is added to the list.
27311
f0967738
AK
273122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27313 Ulrich Drepper <drepper@gmail.com>
27314
27315 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27316 the global list here. Move code to...
27317 (_dl_add_to_namespace_list): ...here. New function.
27318 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27319 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27320 * elf/dl-load.c (lose): Don't remove the element from the list.
27321 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27322 (_dl_map_object): Likewise.
27323
273242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27325
27326 [BZ #12159]
27327 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27328 into all bytes of SSE register.
27329 Patch by Richard Li <richardpku@gmail.com>.
27330
f0967738 273312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27332
27333 [BZ #12140]
27334 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27335 perturbing.
27336
d0b9e94f
MB
273372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27338
27339 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27340 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27344 submachine.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27346
8e9f92e9
AS
273472010-10-22 Andreas Schwab <schwab@redhat.com>
27348
27349 * include/dlfcn.h (__RTLD_SECURE): Define.
27350 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27351 mode & __RTLD_SECURE instead.
27352 (open_path): Rename preloaded parameter to secure.
27353 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27354 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27355 * elf/dl-deps.c (openaux): Likewise.
27356 * elf/rtld.c (struct map_args): Remove is_preloaded.
27357 (map_doit): Don't use it.
27358 (dl_main): Likewise.
27359 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27360 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27361
bc96fbda
AS
273622010-09-09 Andreas Schwab <schwab@redhat.com>
27363
27364 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27365 (sysd-rules-targets): Remove duplicates.
27366 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27367 rtld-%.$o dependency.
27368
22cd1c9b
AS
273692010-10-18 Andreas Schwab <schwab@redhat.com>
27370
27371 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27372 _dl_map_object do it.
27373
18edac48
UD
273742010-10-19 Ulrich Drepper <drepper@gmail.com>
27375
27376 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27377 fast fma builtins, define the macros in the C99 standard.
27378 (FP_FAST_FMAF): Likewise.
27379 (FP_FAST_FMAL): Likewise.
27380 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27381
27382 * bits/mathdef.h: Update copyright year.
27383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27384
d2050124
MM
273852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27386
27387 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27388 builtins, define the macros in the C99 standard.
27389 (FP_FAST_FMAF): Likewise.
27390 (FP_FAST_FMAL): Likewise.
27391 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27392 multiply/add.
27393 (FP_FAST_FMAF): Likewise.
27394
475facd1
JJ
273952010-10-15 Jakub Jelinek <jakub@redhat.com>
27396
27397 [BZ #3268]
27398 * math/libm-test.inc (fma_test): Some new testcases.
27399 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27401 y and infinite z. Do multiplication by C already in long double.
27402 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27404 y and infinite z. Do bitwise or of inexact bit into u.d.
27405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27406 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27407 * sysdeps/i386/fpu/s_fma.S: Removed.
27408 * sysdeps/i386/fpu/s_fmal.S: Removed.
27409
7c08a05c
JJ
274102010-10-16 Jakub Jelinek <jakub@redhat.com>
27411
27412 [BZ #3268]
27413 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27415 computation is not scheduled after fetestexcept. Fix value
27416 of minimum denormal long double.
27417
f3f7372d
JJ
274182010-10-14 Jakub Jelinek <jakub@redhat.com>
27419
27420 [BZ #3268]
27421 * math/libm-test.inc (fma_test): Add some more tests.
27422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27423 correctly.
27424
14d43591
AS
274252010-10-15 Andreas Schwab <schwab@redhat.com>
27426
27427 * scripts/data/localplt-s390-linux-gnu.data: New file.
27428 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27429
5e908464
JJ
274302010-10-13 Jakub Jelinek <jakub@redhat.com>
27431
27432 [BZ #3268]
27433 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27434 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27435 instead of dbl-64.
27436 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27437 inlines.
27438 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27440 if one of x and y is very large and the other is subnormal.
27441 * sysdeps/s390/fpu/s_fmaf.c: New file.
27442 * sysdeps/s390/fpu/s_fma.c: New file.
27443 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27444 * sysdeps/powerpc/fpu/s_fma.S: New file.
27445 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27446 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27447 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27448
274492010-10-12 Jakub Jelinek <jakub@redhat.com>
27450
27451 [BZ #3268]
27452 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27453 fma tests.
27454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27455 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27456 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27457 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27458 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27459 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27461
b833d51f
UD
274622010-10-12 Ulrich Drepper <drepper@redhat.com>
27463
27464 [BZ #12078]
27465 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27466 * posix/bug-regex31.input: Add test case.
27467
1751705d
UD
274682010-10-11 Ulrich Drepper <drepper@gmail.com>
27469
e9b9cbf5
UD
27470 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27471 * posix/bug-regex31.input: New file.
27472
27473 [BZ #12078]
27474 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27475 (parse_sub_exp): Fix last change, use postorder.
27476
ef06edbe
UD
27477 * posix/bug-regex31.c: New file.
27478 * posix/Makefile: Add rules to build and run bug-regex31.
27479
a129c80d
UD
27480 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27481
27482 [BZ #12078]
27483 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27484
b76b818e
UD
27485 [BZ #12108]
27486 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27487 to have entries in sys_siglist.
27488
1751705d
UD
27489 [BZ #12093]
27490 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27491 be NULL.
27492
9ff8d36f
JJ
274932010-10-07 Jakub Jelinek <jakub@redhat.com>
27494
27495 [BZ #3268]
27496 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27497 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27499 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27501 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27502 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27503 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27504 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27505 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27506 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27507 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27508 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27509 * math/ftestexcept.c (fetestexcept): Likewise.
27510 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27511 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27513 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27514 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27515 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27517
af325969
UD
275182010-10-11 Ulrich Drepper <drepper@gmail.com>
27519
c579b202 27520 [BZ #12107]
af325969
UD
27521 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27522 newline.
27523
67a67b95
UD
275242010-10-06 Ulrich Drepper <drepper@gmail.com>
27525
27526 * string/bug-strstr1.c: New file.
27527 * string/Makefile: Add rules to build and run bug-strstr1.
27528
5fb308bc
EB
275292010-10-05 Eric Blake <eblake@redhat.com>
27530
27531 [BZ #12092]
27532 * string/str-two-way.h (two_way_long_needle): Always clear memory
27533 when skipping input due to the shift table.
27534
45db99c7
UD
275352010-10-03 Ulrich Drepper <drepper@gmail.com>
27536
3b111893
UD
27537 [BZ #12005]
27538 * malloc/mcheck.c: Handle large requests.
27539
45db99c7
UD
27540 [BZ #12077]
27541 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27542 for strncmp and strncasecmp.
27543 * string/stratcliff.c: Add tests for strcmp and strncmp.
27544 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27545
cf7a1eb8
NI
275462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27547
27548 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27549 __set_fpscr.
27550
6484ba5e
AJ
275512010-09-30 Andreas Jaeger <aj@suse.de>
27552
27553 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27554 (CGROUP_SUPER_MAGIC): Define.
27555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27556 Handle btrfs and cgroup file systems.
27557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27558 Likewise.
27559
91c42559
LM
275602010-09-27 Luis Machado <luisgpm@br.ibm.com>
27561
27562 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27563 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27564
87a97932
AK
275652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27566
27567 [BZ #12067]
27568 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27569 trying to locate the ELF header.
27570
c21cc9bc
AS
275712010-09-27 Andreas Schwab <schwab@redhat.com>
27572
27573 [BZ #11611]
27574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27575 Mask out sign-bit copies when constructing f_fsid.
27576
315970f6
PB
275772010-09-24 Petr Baudis <pasky@suse.cz>
27578
27579 * debug/stack_chk_fail_local.c: Add missing licence exception.
27580 * debug/warning-nop.c: Likewise.
27581
1ac7a2c7
JM
275822010-09-15 Joseph Myers <joseph@codesourcery.com>
27583
27584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27585 implementing getdents64 using getdents syscall, set d_type if
27586 __ASSUME_GETDENTS32_D_TYPE.
27587
56801c50
AS
275882010-09-16 Andreas Schwab <schwab@redhat.com>
27589
27590 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27591 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27592
dda51327
UD
275932010-09-21 Ulrich Drepper <drepper@redhat.com>
27594
27595 [BZ #12037]
27596 * posix/unistd.h: Undo change of feature selection for ftruncate from
27597 2010-01-11.
27598
8ffcee4a
UD
275992010-09-20 Ulrich Drepper <drepper@redhat.com>
27600
a545ecd9 27601 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27602 detection.
27603
e24f0a8b
AS
276042010-09-20 Andreas Schwab <schwab@redhat.com>
27605
27606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27607 fanotify_mark.
27608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27609
7291c56f
AS
276102010-09-14 Andreas Schwab <schwab@redhat.com>
27611
27612 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27613 variables after CHECK_SP call.
27614 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27615
bc5fb037
AS
276162010-09-13 Andreas Schwab <schwab@redhat.com>
27617 Ulrich Drepper <drepper@redhat.com>
27618
27619 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27620 re-relocationg ld.so.
27621 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27622 _dl_init_paths call.
27623 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27624 here anymore.
27625
e66e7419
UD
276262010-09-14 Ulrich Drepper <drepper@redhat.com>
27627
27628 * resolv/res_init.c (__res_vinit): Count the default server we added.
27629
c044aa75
CLT
276302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27631 Ulrich Drepper <drepper@redhat.com>
27632
27633 [BZ #11968]
27634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27635 (____longjmp_chk): Use %ebx for saving value across system call.
27636 Add unwind info.
27637
32cf4069
AS
276382010-09-06 Andreas Schwab <schwab@redhat.com>
27639
27640 * manual/Makefile: Don't mix pattern rules with normal rules.
27641
817328ee
AS
276422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27643
27644 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27645 operation.
27646 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27647 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27648 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27649 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27651 Likewise.
27652
29fddf61
UD
276532010-09-04 Ulrich Drepper <drepper@redhat.com>
27654
27655 [BZ #11979]
27656 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27657 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27658
0959ffc9
UD
276592010-09-02 Ulrich Drepper <drepper@redhat.com>
27660
27661 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27662 * sysdeps/x86_64/addmul_1.S: Likewise.
27663 * sysdeps/x86_64/lshift.S: Likewise.
27664 * sysdeps/x86_64/mul_1.S: Likewise.
27665 * sysdeps/x86_64/rshift.S: Likewise.
27666 * sysdeps/x86_64/sub_n.S: Likewise.
27667 * sysdeps/x86_64/submul_1.S: Likewise.
27668
ece29840
ST
276692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27670
0959ffc9
UD
27671 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27672 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27673 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27674 * bits/sched.h [__need_schedparam]
ece29840 27675 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27676 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27677 (__defined_schedparam): Define to 1.
ece29840
ST
27678 (__sched_param): New structure, identical to sched_param.
27679 (__need_schedparam): Undefine.
27680
e53a31fe
MF
276812010-08-31 Mike Frysinger <vapier@gentoo.org>
27682
fdc0c10d
MF
27683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27684 (epoll_create1): Declare.
27685
e53a31fe
MF
27686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27687
a726d796
AS
276882010-08-31 Andreas Schwab <schwab@redhat.com>
27689
27690 [BZ #7066]
27691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27692 shifting retval into place.
27693
2f3e3dc7
UD
276942010-09-01 Ulrich Drepper <drepper@redhat.com>
27695
f2933da9
UD
27696 * nis/rpcsvc/nis.h: Update copyright notice.
27697 * nis/rpcsvc/nis.x: Likewise.
27698 * nis/rpcsvc/nis_callback.h: Likewise.
27699 * nis/rpcsvc/nis_callback.x: Likewise.
27700 * nis/rpcsvc/nis_object.x: Likewise.
27701 * nis/rpcsvc/nis_tags.h: Likewise.
27702 * nis/rpcsvc/yp.h: Likewise.
27703 * nis/rpcsvc/yp.x: Likewise.
27704 * nis/rpcsvc/ypupd.h: Likewise.
27705 * nis/yp_xdr.c: Likewise.
27706 * nis/ypupdate_xdr.c: Likewise.
27707
2f3e3dc7
UD
27708 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27709 mainly the body of pmap_getport. Add parameters to specify timeouts.
27710 (pmap_getport): Use __libc_rpc_getport.
27711 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27712 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27713 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27714
f3dcc2f9
AS
277152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27716
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27718 fanotify_mark.
27719
6d34eb5b
RM
277202010-08-27 Roland McGrath <roland@redhat.com>
27721
27722 * sysdeps/i386/i686/multiarch/Makefile
27723 (CFLAGS-varshift.c): New variable.
27724
9ea3de11
UD
277252010-08-27 Ulrich Drepper <drepper@redhat.com>
27726
c96d23fc
UD
27727 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27728 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27729
9ea3de11
UD
27730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27731
27732 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27733
623aac7f
L
277342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27735
27736 * sysdeps/x86_64/strlen.S: Unroll the loop.
27737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27738 strlen-sse2 strlen-sse2-bsf.
27739 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27740 __strlen_no_bsf if bit_Slow_BSF is set.
27741 (__strlen_sse42): Removed.
27742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27743 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27744
8b2b7715
RM
277452010-08-25 Roland McGrath <roland@redhat.com>
27746
27747 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27748 * sysdeps/x86_64/multiarch/varshift.c: New file.
27749 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27750 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27751 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27752 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27753
e73015f2
L
277542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27755
27756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27757 strlen-sse2 strlen-sse2-bsf.
27758 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27759 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27760 (__strlen_sse2): Removed.
27761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27764 bit_Slow_BSF for Atom.
27765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27766 (index_Slow_BSF): Define.
27767 (HAS_SLOW_BSF): Define.
27768
df24a73e
UD
277692010-08-25 Ulrich Drepper <drepper@redhat.com>
27770
27771 [BZ #10851]
27772 * resolv/res_init.c (__res_vinit): When no server address at all
27773 is given default to loopback.
27774
f2ac4868
RM
277752010-08-24 Roland McGrath <roland@redhat.com>
27776
09055553
RM
27777 * configure.in: Remove config-name.h generation.
27778 * configure: Regenerated.
27779 * config-name.in: File removed.
27780 * scripts/config-uname.sh: New file.
27781 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27782 ($(objdir)config-name.h): New target.
27783
f2ac4868
RM
27784 * sunrpc/rpc_parse.h: Avoid nested comment.
27785
73f27d5e
RH
277862010-08-24 Richard Henderson <rth@redhat.com>
27787 Ulrich Drepper <drepper@redhat.com>
27788 H.J. Lu <hongjiu.lu@intel.com>
27789
27790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27792 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27793 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27794 _mm_alignr_epi8 with _mm_loadu_si128.
27795 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27796 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27797 (__m128i_shift_right): Removed.
27798 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27799 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27800 * sysdeps/x86_64/multiarch/varshift.h: New file.
27801 * sysdeps/x86_64/multiarch/varshift.S: New file.
27802
84b9230c
MF
278032010-08-21 Mike Frysinger <vapier@gentoo.org>
27804
27805 * configure.in: Move assembler checks to before sysdep dir checking.
27806
9bbd0ddc
PB
278072010-08-20 Petr Baudis <pasky@suse.cz>
27808
27809 * LICENSES: Sync the sunrpc license.
27810
9da4bb31
UD
278112010-08-19 Ulrich Drepper <drepper@redhat.com>
27812
a7ab6ec8
UD
27813 * sunrpc/auth_des.c: Update copyright notice once again.
27814 * sunrpc/auth_none.c: Likewise.
27815 * sunrpc/auth_unix.c: Likewise.
27816 * sunrpc/authdes_prot.c: Likewise.
27817 * sunrpc/authuxprot.c: Likewise.
27818 * sunrpc/bindrsvprt.c: Likewise.
27819 * sunrpc/clnt_gen.c: Likewise.
27820 * sunrpc/clnt_perr.c: Likewise.
27821 * sunrpc/clnt_raw.c: Likewise.
27822 * sunrpc/clnt_simp.c: Likewise.
27823 * sunrpc/clnt_tcp.c: Likewise.
27824 * sunrpc/clnt_udp.c: Likewise.
27825 * sunrpc/clnt_unix.c: Likewise.
27826 * sunrpc/des_crypt.c: Likewise.
27827 * sunrpc/des_soft.c: Likewise.
27828 * sunrpc/get_myaddr.c: Likewise.
27829 * sunrpc/getrpcport.c: Likewise.
27830 * sunrpc/key_call.c: Likewise.
27831 * sunrpc/key_prot.c: Likewise.
27832 * sunrpc/openchild.c: Likewise.
27833 * sunrpc/pm_getmaps.c: Likewise.
27834 * sunrpc/pm_getport.c: Likewise.
27835 * sunrpc/pmap_clnt.c: Likewise.
27836 * sunrpc/pmap_prot.c: Likewise.
27837 * sunrpc/pmap_prot2.c: Likewise.
27838 * sunrpc/pmap_rmt.c: Likewise.
27839 * sunrpc/rpc/auth.h: Likewise.
27840 * sunrpc/rpc/auth_unix.h: Likewise.
27841 * sunrpc/rpc/clnt.h: Likewise.
27842 * sunrpc/rpc/des_crypt.h: Likewise.
27843 * sunrpc/rpc/key_prot.h: Likewise.
27844 * sunrpc/rpc/netdb.h: Likewise.
27845 * sunrpc/rpc/pmap_clnt.h: Likewise.
27846 * sunrpc/rpc/pmap_prot.h: Likewise.
27847 * sunrpc/rpc/pmap_rmt.h: Likewise.
27848 * sunrpc/rpc/rpc.h: Likewise.
27849 * sunrpc/rpc/rpc_des.h: Likewise.
27850 * sunrpc/rpc/rpc_msg.h: Likewise.
27851 * sunrpc/rpc/svc.h: Likewise.
27852 * sunrpc/rpc/svc_auth.h: Likewise.
27853 * sunrpc/rpc/types.h: Likewise.
27854 * sunrpc/rpc/xdr.h: Likewise.
27855 * sunrpc/rpc_clntout.c: Likewise.
27856 * sunrpc/rpc_cmsg.c: Likewise.
27857 * sunrpc/rpc_common.c: Likewise.
27858 * sunrpc/rpc_cout.c: Likewise.
27859 * sunrpc/rpc_dtable.c: Likewise.
27860 * sunrpc/rpc_hout.c: Likewise.
27861 * sunrpc/rpc_main.c: Likewise.
27862 * sunrpc/rpc_parse.c: Likewise.
27863 * sunrpc/rpc_parse.h: Likewise.
27864 * sunrpc/rpc_prot.c: Likewise.
27865 * sunrpc/rpc_sample.c: Likewise.
27866 * sunrpc/rpc_scan.c: Likewise.
27867 * sunrpc/rpc_scan.h: Likewise.
27868 * sunrpc/rpc_svcout.c: Likewise.
27869 * sunrpc/rpc_tblout.c: Likewise.
27870 * sunrpc/rpc_util.c: Likewise.
27871 * sunrpc/rpc_util.h: Likewise.
27872 * sunrpc/rpcinfo.c: Likewise.
27873 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27874 * sunrpc/rpcsvc/key_prot.x: Likewise.
27875 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27876 * sunrpc/rpcsvc/mount.x: Likewise.
27877 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27878 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27879 * sunrpc/rpcsvc/rex.x: Likewise.
27880 * sunrpc/rpcsvc/rstat.x: Likewise.
27881 * sunrpc/rpcsvc/rusers.x: Likewise.
27882 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27883 * sunrpc/rpcsvc/spray.x: Likewise.
27884 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27885 * sunrpc/rtime.c: Likewise.
27886 * sunrpc/svc.c: Likewise.
27887 * sunrpc/svc_auth.c: Likewise.
27888 * sunrpc/svc_authux.c: Likewise.
27889 * sunrpc/svc_raw.c: Likewise.
27890 * sunrpc/svc_run.c: Likewise.
27891 * sunrpc/svc_simple.c: Likewise.
27892 * sunrpc/svc_tcp.c: Likewise.
27893 * sunrpc/svc_udp.c: Likewise.
27894 * sunrpc/svc_unix.c: Likewise.
27895 * sunrpc/svcauth_des.c: Likewise.
27896 * sunrpc/xcrypt.c: Likewise.
27897 * sunrpc/xdr.c: Likewise.
27898 * sunrpc/xdr_array.c: Likewise.
27899 * sunrpc/xdr_float.c: Likewise.
27900 * sunrpc/xdr_mem.c: Likewise.
27901 * sunrpc/xdr_rec.c: Likewise.
27902 * sunrpc/xdr_ref.c: Likewise.
27903 * sunrpc/xdr_sizeof.c: Likewise.
27904 * sunrpc/xdr_stdio.c: Likewise.
27905
9da4bb31
UD
27906 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27907 handling.
27908
bdaa77bc
AS
279092010-08-19 Andreas Schwab <schwab@redhat.com>
27910
27911 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27912
fe2f79db
LM
279132010-08-19 Luis Machado <luisgpm@br.ibm.com>
27914
27915 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27918 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27920 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27922 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27925 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27927 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27929
b9b42ee0
AB
279302010-07-26 Anton Blanchard <anton@samba.org>
27931
27932 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27933 * malloc/arena.c (heap_trim): Likewise.
27934
1c06ba31
UD
279352010-08-16 Ulrich Drepper <drepper@redhat.com>
27936
27937 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27938 here. Not...
27939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27940 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27941
f8392f40
L
279422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 * sysdeps/i386/elf/Makefile: New file.
27945
3162f12e
AS
279462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27947
27948 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27949 from fanotify_init.
27950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27952
28c90b2c
UD
279532010-08-15 Ulrich Drepper <drepper@redhat.com>
27954
27955 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27956 of strncasecmp_l.
1feccb6c 27957 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27958
ca6bb004
UD
279592010-08-14 Ulrich Drepper <drepper@redhat.com>
27960
e9f82e0d
UD
27961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27962 strncase_l-nonascii.
27963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27964 Add strncase_l-ssse3.
27965 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27966 * sysdeps/x86_64/strcmp.S: Likewise.
27967 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27968 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27969 * sysdeps/x86_64/strncase.S: New file.
27970 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27971 * sysdeps/x86_64/strncase_l.S: New file.
27972 * string/Makefile (strop-tests): Add strncasecmp.
27973 * string/test-strncasecmp.c: New file.
27974
27975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27976 warning.
27977
ca6bb004
UD
27978 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27980
052fa7b3
AS
279812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27982
27983 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27984
962dba78
UD
279852010-08-12 Ulrich Drepper <drepper@redhat.com>
27986
27987 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27990
bebff237
AM
279912010-05-01 Alan Modra <amodra@gmail.com>
27992
27993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27994 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27995 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27996 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27997 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27998 tidying. Don't tail-call __sigjmp_save for static lib.
27999 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28000 save location.
28001 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28002 (CALL_MCOUNT): Add eh info, and nop after bl.
28003 (TAIL_CALL_SYSCALL_ERROR): New macro.
28004 (PSEUDO_RET): Use it.
28005 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28006 Correct save location of integer regs and cr.
28007 (_dl_profile_resolve): Correct cr save location. Delete nops
28008 after bl when SHARED. Reduce cfi size a little by better
28009 placement of cfi directives.
28010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28011 make a stack frame. Instead use parm save area as a temp.
28012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28013 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28015 Don't make a stack frame for parent, use parm save area.
28016 Increase child stack frame to 112 bytes. Don't save unused reg,
28017 and adjust reg usage. Set up cfi on error recovery and
28018 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28020 (__makecontext): Add dummy nop after jump to exit.
28021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28022 Use correct parm save area and cr save, reduce stack frame.
28023 Correct cfi for possible PSEUDO_RET frame setup.
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28025 Branch to local label emitted by PSEUDO_RET rather than
28026 __syscall_error.
28027
02637374
AS
280282010-08-12 Andreas Schwab <schwab@redhat.com>
28029
28030 [BZ #11904]
28031 * locale/programs/locale.c (print_assignment): New function.
28032 (show_locale_vars): Use it.
28033
c3e2f19b
UD
280342010-08-11 Ulrich Drepper <drepper@redhat.com>
28035
3cdaa6ad
UD
28036 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28037 field.
28038 (struct statfs64): Likewise.
28039 (_STATFS_F_FLAGS): Define.
28040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28042 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28043 (ST_VALID): Define locally.
28044 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28045 __statvfs_getflags, use the provided value.
28046 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28047 __ASSUME_STATFS_F_FLAGS.
28048
754f7da3
UD
28049 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28050
10b3bedc
UD
28051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28052 Add sys/fanotify.h.
28053 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28054 fanotify_mask for GLIBC_2.13.
28055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28056 fanotify_init and fanotify_mark.
28057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28058 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28059
c08fb0d7
UD
28060 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28061 Add prlimit.
28062 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28063 prlimit64 for GLIBC_2.13.
28064 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28065 prlimit64.
28066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28067 syscall.
28068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28070 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28073 add prlimit alias.
28074 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28075
15bac72b
UD
28076 [BZ #11903]
28077 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28078 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28079
c3e2f19b
UD
28080 * nss/Makefile: Add rules to build and run tst-nss-test1.
28081 * shlib-versions: Add entry for libnss_test1.
28082 * nss/nss_test1.c: New file.
28083 * nss/tst-nss-test1.c: New file.
28084
28085 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28086 (__nss_configure_lookup): Set appropriate entry in
28087 __nss_configure_lookup to true.
28088 * nss/nsswitch.h: Define enum with indeces of databases in
28089 databases and __nss_database_custom arrays. Declare
28090 __nss_database_custom.
28091 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28092 to avoid using nscd when custom rules are installed.
28093 * nss/getXXbyYY_r.c: Likewise.
28094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28095
28096 * nss/nss_files/files-parse.c: Whitespace fixes.
28097
f15ce4d8
UD
280982010-08-09 Ulrich Drepper <drepper@redhat.com>
28099
28100 [BZ #11883]
28101 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28102 * posix/fnmatch_loop.c: Likewise.
28103
d22e4cc9
AK
281042010-07-17 Andi Kleen <ak@linux.intel.com>
28105
28106 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28107 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28108 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28109 * Versions.def [GLIBC_2.13]: Add.
28110
805bc17d
UD
281112010-08-06 Ulrich Drepper <drepper@redhat.com>
28112
28113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28114 Also fail if tpwd after pwuid call is NULL.
28115
5a42321d
ST
281162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28117
28118 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28119 when converting to ms.
28120
fd3ebeda
ST
281212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28122
28123 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28124 EOPNOTSUPP errors with ENOTTY.
28125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28126 EOPNOTSUPP errors with ENOTTY.
28127
73507d3a
UD
281282010-07-31 Ulrich Drepper <drepper@redhat.com>
28129
28130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28131 Add strcasecmp_l-ssse3.
28132 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28133 strcasecmp.
28134 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28136 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28137
fe36dd02
UD
281382010-07-30 Ulrich Drepper <drepper@redhat.com>
28139
66f6765a
UD
28140 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28141
42e08a54
UD
28142 * string/Makefile (strop-tests): Add strcasecmp.
28143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28144 strcasecmp_l-nonascii.
28145 (gen-as-const-headers): Add locale-defines.sym.
28146 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28147 * sysdeps/x86_64/strcasecmp.S: New file.
28148 * sysdeps/x86_64/strcasecmp_l.S: New file.
28149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28150 * sysdeps/x86_64/locale-defines.sym: New file.
28151 * string/test-strcasecmp.c: New file.
28152
fe36dd02
UD
28153 * string/test-strcasestr.c: Test both ends of the range of characters.
28154 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28155
48cbc0d6
RM
281562010-07-29 Roland McGrath <roland@redhat.com>
28157
76e6d6bc 28158 [BZ #11856]
48cbc0d6
RM
28159 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28160
880113d9
UD
281612010-07-27 Ulrich Drepper <drepper@redhat.com>
28162
28163 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28164 for ld.so.
28165
deb9cabb
AS
281662010-07-27 Andreas Schwab <schwab@redhat.com>
28167
28168 * manual/memory.texi (Malloc Tunable Parameters): Document
28169 M_PERTURB.
28170
1c7570ff
RM
281712010-07-26 Roland McGrath <roland@redhat.com>
28172
28173 [BZ #11840]
28174 * configure.in (-fgnu89-inline check): Set and substitute
28175 gnu89_inline, not libc_cv_gnu89_inline.
28176 * configure: Regenerated.
28177 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28178
24fb0f88
UD
281792010-07-26 Ulrich Drepper <drepper@redhat.com>
28180
28181 * string/test-strnlen.c: New file.
28182 * string/Makefile (strop-tests): Add strnlen.
28183 * string/tester.c (test_strnlen): Add a few more test cases.
28184 * string/tst-strlen.c: Better error reporting.
28185
28186 * sysdeps/x86_64/strnlen.S: New file.
28187
8e96b93a
UD
281882010-07-24 Ulrich Drepper <drepper@redhat.com>
28189
28190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28191 lower-latency instructions.
28192
dbc676d4
UD
281932010-07-23 Ulrich Drepper <drepper@redhat.com>
28194
28195 * string/test-strcasestr.c: New file.
28196 * string/test-strstr.c: New file.
28197 * string/Makefile (strop-tests): Add strstr and strcasestr.
28198 * string/str-two-way.h: Don't undefine MAX.
28199 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28200
f6a31e0e
AS
282012010-07-21 Andreas Schwab <schwab@redhat.com>
28202
28203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28204 strcasestr-nonascii.
28205 (CFLAGS-strcasestr-nonascii.c): Define.
28206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28208 Remove unused attribute.
28209
5dbc3b6c
RM
282102010-07-20 Roland McGrath <roland@redhat.com>
28211
28212 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28213 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28214 ld.so.cache was broken. With it, there is no way to disable dsocaps
28215 like LD_HWCAP_MASK can disable hwcaps.
28216
23d101d8
EPM
282172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28218
28219 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28220
cc9f2e47
UD
282212010-07-16 Ulrich Drepper <drepper@redhat.com>
28222
28223 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28224 call in strcasestr.
28225 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28226 __strcasestr_sse42_nonascii.
28227 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28228 strcasestr-nonascii.c.
28229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28230
77c1b069
LM
282312010-06-15 Luis Machado <luisgpm@br.ibm.com>
28232
28233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28237
440566c3
UD
282382010-07-09 Ulrich Drepper <drepper@redhat.com>
28239
28240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28241 fcntl.
28242
5be9d05d
AS
282432010-07-06 Andreas Schwab <schwab@redhat.com>
28244
c30b7ee2 28245 [BZ #11577]
5be9d05d
AS
28246 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28247 dl_signal_cerror.
28248
8a492a67
UD
282492010-07-06 Ulrich Drepper <drepper@redhat.com>
28250
28251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28252 _PC_PIPE_BUF using F_GETPIPE_SZ.
28253
713df3d5
RM
282542010-07-05 Roland McGrath <roland@redhat.com>
28255
28256 * manual/arith.texi (Rounding Functions): Fix rint description
28257 implicit in round description.
28258
702e8f14
UD
282592010-07-02 Ulrich Drepper <drepper@redhat.com>
28260
28261 * elf/Makefile: Fix linking for a few tests to make recent linker
28262 happy.
28263
52ed8be9
AS
282642010-06-30 Andreas Schwab <schwab@redhat.com>
28265
28266 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28267 $(common-objpfx)libc_nonshared.a.
28268
f47c9a11
LM
282692010-06-21 Luis Machado <luisgpm@br.ibm.com>
28270
28271 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28272 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28273 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28275 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28293 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28294 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28295 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28296 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28297 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28298 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28299 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28300 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28301 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28302 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28303 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28304 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28319
6fb8cbcb
L
283202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28323 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28324 * string/memmove.c (memmove): Renamed to ...
28325 (MEMMOVE): ...this. Default to memmove.
28326 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28327 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28328 (END_CHK): Define.
28329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28330 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28331 mempcpy-ssse3-back memmove-ssse3-back.
28332 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28335 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28336 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28337 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28338 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28339 * sysdeps/x86_64/multiarch/memmove.c: New file.
28340 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28341 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28342 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28343 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28346 Define.
28347 (index_Fast_Copy_Backward): Define.
28348 (HAS_ARCH_FEATURE): Define.
28349 (HAS_FAST_REP_STRING): Define.
28350 (HAS_FAST_COPY_BACKWARD): Define.
28351
4e733bac 283522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28353
28354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28355 Restore proper fallback handling.
28356
63c4ed22
UD
283572010-06-19 Ulrich Drepper <drepper@redhat.com>
28358
ac2b484c
UD
28359 [BZ #11701]
28360 * posix/group_member.c (__group_member): Correct checking loop.
28361
63c4ed22
UD
28362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28363 OOM in getpwuid_r correctly. Return error number when the caller
28364 should return, otherwise -1.
28365 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28366 call returning > 0 value.
28367 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28368
765ade4b
AS
283692010-06-07 Andreas Schwab <schwab@redhat.com>
28370
28371 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28372 libc_nonshared.a from targets in modules-names.
28373
80da2e09
KS
283742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28375
28376 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28377 requires it.
28378
158db122
LM
283792010-06-10 Luis Machado <luisgpm@br.ibm.com>
28380
28381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28385
caa78cf8
AS
283862010-06-02 Andreas Schwab <schwab@redhat.com>
28387
28388 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28389
b2ef2c01
UD
283902010-06-14 Ulrich Drepper <drepper@redhat.com>
28391
28392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28393 and F_GETPIPE_SZ.
28394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28400
fbd643b6
RM
284012010-06-14 Roland McGrath <roland@redhat.com>
28402
28403 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28404
f32f2869
JJ
284052010-06-07 Jakub Jelinek <jakub@redhat.com>
28406
28407 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28408 __REDIRECT followed by __THROW.
28409 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28410 * posix/getopt.h (getopt): Likewise.
28411
2a50c078
EPM
284122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28413
28414 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28415 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28416 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28417 in AT_FLAGS.
28418 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28419 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28420
eb5ad2eb
LM
284212010-05-28 Luis Machado <luisgpm@br.ibm.com>
28422
28423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28424
3c88fe1e
L
284252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 [BZ #11640]
28428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28429 Properly check family and model.
28430
d2f73151
TY
284312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28432
28433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28434
ebd2e13d
LM
284352010-05-24 Luis Machado <luisgpm@br.ibm.com>
28436
28437 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28438
b32b8b45
UD
284392010-05-21 Ulrich Drepper <drepper@redhat.com>
28440
28441 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28442 symbol reference.
28443
9acbe24d
AS
284442010-05-19 Andreas Schwab <schwab@redhat.com>
28445
28446 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28447 symbol reference.
28448
f0ccf6ea
AS
284492010-05-21 Andreas Schwab <schwab@redhat.com>
28450
3d04ff3a
AS
28451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28452 and internal_recvmmsg.
28453 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28454 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28455 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28456 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28457
f0ccf6ea
AS
28458 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28461
5b08ac57
AS
284622010-05-20 Andreas Schwab <schwab@redhat.com>
28463
28464 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28465
4828935d
LM
284662010-05-17 Luis Machado <luisgpm@br.ibm.com>
28467
28468 POWER7 optimizations.
28469 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28470 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28471
373d545e
UD
284722010-05-19 Ulrich Drepper <drepper@redhat.com>
28473
28474 * version.h: Update for 2.13 development version.
28475
21a2b1ae
AS
284762010-05-12 Andrew Stubbs <ams@codesourcery.com>
28477
28478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28479 exceptions. Return 0.
28480
3f7dcb2b
RM
284812010-05-07 Roland McGrath <roland@redhat.com>
28482
28483 * elf/ldconfig.c (main): Add a const.
28484
5f24d53a 284852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28486
a160f8d8
UD
28487 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28488 (args_options): Add no-idn option.
28489 (ahosts_keys_int): Add idn_flags to ai_flags.
28490 (parse_option): Handle 'i' option to clear idn_flags.
28491
5f24d53a
UD
28492 * malloc/malloc.c (_int_free): Possible race in the most recently
28493 added check. Only act on the data if no current modification
28494 happened.
265bb1ce
UD
28495
28496See ChangeLog.17 for earlier changes.
This page took 3.808192 seconds and 5 git commands to generate.