]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix poll stub implementation.
[glibc.git] / ChangeLog
CommitLineData
c7405830
RM
12013-05-06 Roland McGrath <roland@hack.frob.com>
2
355f9165
RM
3 * io/poll.c (__poll): Renamed from poll.
4 Add libc_hidden_def.
5 (poll): Define as weak alias.
6
bd9ffde6
RM
7 * debug/ptsname_r_chk.c: Moved to ...
8 * login/ptsname_r_chk.c: ... here.
9 * debug/Makefile (routines): Move ptsname_r_chk to ...
10 * login/Makefile (routines): ... here.
11 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12 * login/Versions (libc: GLIBC_2.4): ... here.
13
8fb16a04
RM
14 * posix/getlogin.c: Moved to ...
15 * login/getlogin.c: ... here.
16 * posix/getlogin_r.c: Moved to ...
17 * login/getlogin_r.c: ... here.
18 * posix/getlogin_r.c: Moved to ...
19 * login/getlogin_r.c: ... here.
20 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21 * login/Makefile (routines): ... here.
22 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23 * login/Versions (libc: GLIBC_2.0): ... here.
24
b99b892f
RM
25 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26 (setrlimit): Define as weak alias.
27
c7405830
RM
28 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29 Call __ names for open, ftruncate, and close.
30 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31 (truncate): Define as weak alias.
32
5bf96de5
JM
332013-05-06 Joseph Myers <joseph@codesourcery.com>
34
9ea3513c
JM
35 * math/gen-libm-test.pl (parse_args): Initialize x before each
36 test of frexp, modf and remquo.
37
5bf96de5
JM
38 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
39 test signgam value.
40
16e616a7
AZ
412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 [BZ #15418]
44 [BZ #15419]
45 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46 internal tests.
47 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48
d5e82754
RM
492013-05-06 Roland McGrath <roland@hack.frob.com>
50
51 * elf/dl-writev.h: New file.
52 * elf/dl-misc.c: Include it.
53 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55
a7548d41
JM
562013-05-04 Joseph Myers <joseph@codesourcery.com>
57
b7dab1e4
JM
58 * math/libm-test.inc (noXFails): Remove variable.
59 (noXPasses): Likewise.
60 (BUILD_COMPLEX_INT): Remove macro.
61 (print_screen): Remove xfail argument.
62 (print_screen_max_error): Likewise.
63 (update_stats): Likewise.
64 (print_max_error): Likewise. Update calls to other affected
65 functions.
66 (print_complex_max_error): Likewise.
67 (test_single_exception): Update calls to print_screen.
68 (test_single_errno): Likewise.
69 (check_float_internal): Remove xfail argument. Update calls to
70 other affected functions.
71 (check_float): Likewise.
72 (check_complex): Likewise.
73 (check_int): Likewise.
74 (check_long): Likewise.
75 (check_bool): Likewise.
76 (check_longlong): Likewise.
77 (main): Don't print noXFails and noXPasses.
78 * math/gen-libm-test.pl (top level): Don't mention expected
79 failure handling in comment.
80 (new_test): Don't handle expected failures.
81 (parse_args): Don't mention expected failure handling in comment.
82 (generate_testfile): Don't handle expected failures.
83 (parse_ulps): Likewise.
84 (print_ulps_file): Likewise.
85 (get_failure): Remove function.
86 (output_test): Don't handle expected failures.
87 * make/README.libm-test: Don't mention expected failure handling.
88
a7548d41
JM
89 * math/libm-test.inc (plus_zero): Make const. Add initializer.
90 (minus_zero): Likewise.
91 (plus_infty): Likewise.
92 (minus_infty): Likewise.
93 (qnan_value): Likewise.
94 (max_value): Likewise.
95 (min_value): Likewise.
96 (min_subnorm_value): Likewise.
97 (initialize): Do not initialize those variables dynamically.
98
60bfd54c
RM
992013-05-03 Roland McGrath <roland@hack.frob.com>
100
cc0e6ed8
RM
101 * io/open.c (__open_2): Moved to ...
102 * io/open_2.c: ... this new file.
103 * io/open64.c (__open64_2): Moved to ...
104 * io/open64_2.c: ... this new file.
105 * io/openat.c (__openat_2): Moved to ...
106 * io/openat_2.c: ... this new file.
107 * io/openat64.c (__openat64_2): Moved to ...
108 * io/openat64_2.c: ... this new file.
109 * io/Makefile (routines): Add them.
110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
111 * sysdeps/unix/sysv/linux/open_2.c: File removed.
112 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
113 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
114 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
115 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
116 (__openat64): Add hidden_ver.
117 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
118 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
119
60bfd54c
RM
120 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
121 Separately conditionalize setting of GLRO(dl_sysinfo) so
122 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
123 as well, but the actual setting is only under [NEED_DL_SYSINFO].
124
83e7640f
AZ
1252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126
127 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
129 definition.
130 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
131 * sysdeps/unix/sysv/linux/powerpc/init-first.c
132 (_libc_vdso_platform_setup): Add __vdso_time initialization.
133 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
134 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
135
d5dc2af3
JM
1362013-05-03 Joseph Myers <joseph@codesourcery.com>
137
c31a5b1e
JM
138 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
139 test signgam value.
140
d5dc2af3
JM
141 * math/libm-test.inc (hypot_test): Do not use
142 IGNORE_ZERO_INF_SIGN.
143
164fd39d
AJ
1442013-05-03 Andreas Jaeger <aj@suse.de>
145
146 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
147 Linux 3.9.
148 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
149 (PF_MAX): Adjust for VSOCK change.
150
8237f48c
AZ
1512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152
153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
154
9df02941
CD
1552013-05-02 Carlos O'Donell <carlos@redhat.com>
156
157 [BZ #15264]
158 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
159 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
160 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
161
d422395e
DM
1622013-05-02 David S. Miller <davem@davemloft.net>
163
164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
165
a07c5731
OB
1662013-05-01 Ondřej Bílka <neleai@seznam.cz>
167
168 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
169
1324e37f
RM
1702013-05-01 Roland McGrath <roland@hack.frob.com>
171
172 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
173
0695940b
RS
1742013-05-01 Richard Smith <richard@metafoo.co.uk>
175
bb5f27ad 176 [BZ #14952]
0695940b
RS
177 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
178 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
179 Use __attribute__ ((__gnu_inline__)).
180 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
181 Don't use __attribute__ ((__gnu_inline__)).
182
10de07f5
JM
1832013-05-01 Joseph Myers <joseph@codesourcery.com>
184
185 [BZ #15423]
186 * math/s_catan.c (__catan): Handle small real or imaginary part of
187 input specially to avoid spurious underflow.
188 * math/s_catanf.c (__catanf): Likewise.
189 * math/s_catanh.c (__catanh): Likewise.
190 * math/s_catanhf.c (__catanhf): Likewise.
191 * math/s_catanhl.c (__catanhl): Likewise.
192 * math/s_catanl.c (__catanl): Likewise.
193 * math/libm-test.inc (catan_test): Add more tests.
194 (catanh_test): Likewise.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197
cb4d5414
AZ
1982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
199
200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
201
caf84319
JM
2022013-04-30 Joseph Myers <joseph@codesourcery.com>
203
204 [BZ #15416]
205 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
206 accurately for denominator in atan2.
207 * math/s_catanf.c (__catanf): Likewise.
208 * math/s_catanh.c (__catanh): Likewise.
209 * math/s_catanhf.c (__catanhf): Likewise.
210 * math/s_catanhl.c (__catanhl): Likewise.
211 * math/s_catanl.c (__catanl): Likewise.
212 * math/libm-test.inc (catan_test): Add more tests.
213 (catanh_test): Likewise.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216
d569c6ee
SP
2172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
218
6dbe713d
SP
219 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
220
f0ee064b
SP
221 * benchtests/Makefile (bench): Remove slow benchmarks.
222 * benchtests/atan-inputs: Add slow benchmark inputs.
223 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
224 (BENCH_FUNC): Accept variant offset.
225 (VARIANT): Define.
226 * benchtests/bench-skeleton.c (main): Run benchmark for each
227 variant.
228 * benchtests/cos-inputs: Add slow benchmark inputs.
229 * benchtests/exp-inputs: Likewise.
230 * benchtests/pow-inputs: Likewise.
231 * benchtests/sin-inputs: Likewise.
232 * benchtests/slowatan-inputs: Remove.
233 * benchtests/slowatan.c: Remove.
234 * benchtests/slowcos-inputs: Remove.
235 * benchtests/slowcos.c: Remove.
236 * benchtests/slowexp-inputs: Remove.
237 * benchtests/slowexp.c: Remove.
238 * benchtests/slowpow-inputs: Remove.
239 * benchtests/slowpow.c: Remove.
240 * benchtests/slowsin-inputs: Remove.
241 * benchtests/slowsin.c: Remove.
242 * benchtests/slowtan-inputs: Remove.
243 * benchtests/slowtan.c: Remove.
244 * benchtests/tan-inputs: Add slow benchmark inputs.
245 * scripts/bench.pl: Parse comments and directives.
246
d569c6ee
SP
247 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
248 in CPPFLAGS.
249 ($(objpfx)bench-%.c): Remove *-ITER.
250 * benchtests/bench-modf.c: Remove definition of ITER.
251 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
252 (main): Loop for DURATION seconds instead of fixed number of
253 iterations.
254 * scripts/bench.pl: Don't expect iterations in parameters.
255
a6a242fe
RM
2562013-04-29 Roland McGrath <roland@hack.frob.com>
257
258 * io/fchdir.c (__fchdir): Renamed from fchdir.
259 (fchdir): Define as weak alias.
260
f2da7793
JM
2612013-04-29 Joseph Myers <joseph@codesourcery.com>
262
263 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
264 (ERRNO_EDOM): Likewise.
265 (ERRNO_ERANGE): Likewise.
266 (noErrnoTests): New variable.
267 (init_max_error): Set errno to 0.
268 (test_single_errno): New function.
269 (test_errno): Likewise.
270 (check_float_internal): Call test_errno. Set errno to 0.
271 (check_complex): Refer to errno tests in comment.
272 (check_int): Call test_errno. Set errno to 0.
273 (check_long): Likewise.
274 (check_bool): Likewise.
275 (check_longlong): Likewise.
276 (cos_test): Use ERRNO_* flags for errno tests instead of
277 check_int.
278 (expm1_test): Likewise.
279 (fmod_test): Likewise.
280 (ilogb_test): Likewise.
281 (lgamma_test): Likewise.
282 (pow_test): Likewise.
283 (remainder_test): Likewise.
284 (sin_test): Likewise.
285 (tan_test): Likewise.
286 (yn_test): Likewise.
287 (initialize): Set errno to 0.
288 (main): Print number of errno tests.
289 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
290
b1a36ceb
AJ
2912013-04-29 Andreas Jaeger <aj@suse.de>
292
c3ed8088
AJ
293 [BZ #15084]
294 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
295 and RES_USEVC.
296
f1a24198
AJ
297 [BZ #15085]
298 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
299 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
300 unimplemented.
301
9ce3b2cb
AJ
302 [BZ #15380]
303 * stdlib/random.c (__initstate): Return NULL if
304 __initstate fails.
305
f1a24198 306 [BZ #15086]
b1a36ceb
AJ
307 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
308 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
309 RES_SNGLKUPREOP.
310
7e7b6f36
AZ
3112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
312
313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
314
4d14f449
JM
3152013-04-29 Joseph Myers <joseph@codesourcery.com>
316
317 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
318 of individual tests.
319 (casin_test): Likewise.
320 (casinh_test): Likewise.
321
5b4217d7
JM
3222013-04-27 Joseph Myers <joseph@codesourcery.com>
323
324 [BZ #15409]
325 * math/s_catan.c (__catan): Handle arguments with large real or
326 imaginary part separately without squaring.
327 * math/s_catanf.c (__catanf): Likewise.
328 * math/s_catanh.c (__catanh): Likewise.
329 * math/s_catanhf.c (__catanhf): Likewise.
330 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
331 and redefine.
332 (__catanhl): Handle arguments with large real or imaginary part
333 separately without squaring.
334 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
335 and redefine.
336 (__catanl): Handle arguments with large real or imaginary part
337 separately without squaring.
338 * math/libm-test.inc (catan_test): Add more tests.
339 (catanh_test): Likewise.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342
4220c3ef
AJ
3432013-04-27 Andreas Jaeger <aj@suse.de>
344
345 [BZ #15007]
346 * stdlib/stdlib.h: Update guards for qecvt.
347 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
348 <stdlib.h>.
349
4721b2d1
AM
3502013-04-27 Allan McRae <allan@archlinux.org>
351
352 * sysdeps/i386/fpu/libm-test-ulps: Update.
353
f0302940
JM
3542013-04-26 Joseph Myers <joseph@codesourcery.com>
355
9457fd95
JM
356 [BZ #15406]
357 * math/s_catan.c: Include <float.h>.
358 (__catan): Ensure underflow exception occurs for underflowed
359 result.
360 * math/s_catanf.c: Include <float.h>.
361 (__catanf): Ensure underflow exception occurs for underflowed
362 result.
363 * math/s_catanh.c: Include <float.h>.
364 (__catanh): Ensure underflow exception occurs for underflowed
365 result.
366 * math/s_catanhf.c: Include <float.h>.
367 (__catanhf): Ensure underflow exception occurs for underflowed
368 result.
369 * math/s_catanhl.c: Include <float.h>.
370 (__catanhl): Ensure underflow exception occurs for underflowed
371 result.
372 * math/s_catanl.c: Include <float.h>.
373 (__catanl): Ensure underflow exception occurs for underflowed
374 result.
375 * math/libm-test.inc (catan_test): Add more tests.
376 (catanh_test): Likewise.
377
f0302940
JM
378 [BZ #15405]
379 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
380 underflowed result.
381 * math/s_ccoshf.c (__ccoshf): Likewise.
382 * math/s_ccoshl.c (__ccoshl): Likewise.
383 * math/s_csin.c (__csin): Likewise.
384 * math/s_csinf.c (__csinf): Likewise.
385 * math/s_csinh.c (__csinh): Likewise.
386 * math/s_csinhf.c (__csinhf): Likewise.
387 * math/s_csinhl.c (__csinhl): Likewise.
388 * math/s_csinl.c (__csinl): Likewise.
389 * math/libm-test.inc (ccos_test): Add more tests.
390 (ccosh_test): Likewise.
391 (csin_test): Likewise.
392 (csinh_test): Likewise.
393
aa630f59
AZ
3942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
397 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
398 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
399 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
400 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
401 powerpc/power5+/fpu folders.
402 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
403
404
1b835983
MT
4052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
406
407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
408
73709b26
JM
4092013-04-25 Joseph Myers <joseph@codesourcery.com>
410
411 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
412 additions to variable.
413 [$(config-machine) = x86_64] (modules-names): Likewise.
414 ($(objpfx)tst-audit3): Remove dependency.
415 ($(objpfx)tst-audit3.out): Likewise.
416 ($(objpfx)tst-audit4): Likewise.
417 ($(objpfx)tst-audit4.out): Likewise.
418 ($(objpfx)tst-audit5): Likewise.
419 ($(objpfx)tst-audit5.out): Likewise.
420 ($(objpfx)tst-audit6): Likewise.
421 ($(objpfx)tst-audit6.out): Likewise.
422 ($(objpfx)tst-audit7): Likewise.
423 ($(objpfx)tst-audit7.out): Likewise.
424 (tst-audit3-ENV): Remove variable.
425 (tst-audit4-ENV): Likewise.
426 (tst-audit5-ENV): Likewise.
427 (tst-audit6-ENV): Likewise.
428 (tst-audit7-ENV): Likewise.
429 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
430 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
431 addition to variable.
432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
437 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
438 tst-audit3, tst-audit4 and tst-audit5.
439 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
440 tst-audit6 and tst-audit7.
441 [$(subdir) = elf] (modules-names): Add audit modules for those
442 tests.
443 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
444 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
445 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
446 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
447 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
448 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
449 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
450 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
451 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
452 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
453 [$(subdir) = elf] (tst-audit3-ENV): New variable.
454 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
455 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
456 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
457 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
458 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
459 Likewise.
460 [$(subdir) = elf && $(config-cflags-avx) = yes]
461 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
462 [$(subdir) = elf && $(config-cflags-avx) = yes]
463 (CFLAGS-tst-auditmod4a.c): Likewise.
464 [$(subdir) = elf && $(config-cflags-avx) = yes]
465 (CFLAGS-tst-auditmod4b.c): Likewise.
466 [$(subdir) = elf && $(config-cflags-avx) = yes]
467 (CFLAGS-tst-auditmod6b.c): Likewise.
468 [$(subdir) = elf && $(config-cflags-avx) = yes]
469 (CFLAGS-tst-auditmod6c.c): Likewise.
470 [$(subdir) = elf && $(config-cflags-avx) = yes]
471 (CFLAGS-tst-auditmod7b.c): Likewise.
472 * elf/tst-audit3.c: Move to ...
473 * sysdeps/x86_64/tst-audit3.c: ... here.
474 * elf/tst-audit4.c: Move to ...
475 * sysdeps/x86_64/tst-audit4.c: ... here.
476 * elf/tst-audit5.c: Move to ...
477 * sysdeps/x86_64/tst-audit5.c: ... here.
478 * elf/tst-audit6.c: Move to ...
479 * sysdeps/x86_64/tst-audit6.c: ... here.
480 * elf/tst-audit7.c: Move to ...
481 * sysdeps/x86_64/tst-audit7.c: ... here.
482 * elf/tst-auditmod3a.c: Move to ...
483 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
484 * elf/tst-auditmod3b.c: Move to ...
485 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
486 * elf/tst-auditmod4a.c: Move to ...
487 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
488 * elf/tst-auditmod4b.c: Move to ...
489 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
490 * elf/tst-auditmod5a.c: Move to ...
491 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
492 * elf/tst-auditmod5b.c: Move to ...
493 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
494 * elf/tst-auditmod6a.c: Move to ...
495 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
496 * elf/tst-auditmod6b.c: Move to ...
497 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
498 * elf/tst-auditmod6c.c: Move to ...
499 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
500 * elf/tst-auditmod7a.c: Move to ...
501 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
502 * elf/tst-auditmod7b.c: Move to ...
503 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
504
1ef74943
PP
5052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
506
507 [BZ #15366]
508 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
509 define unconditionally.
510 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
511 define unconditionally.
512 (INT8_C, INT16_C, etc.): Likewise.
513
93fd48c5
MR
5142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
515
ae9552cf
MR
516 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
517 __ehdr_start with hidden visibility.
518
93fd48c5
MR
519 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
520
418601aa
CD
5212013-04-24 Carlos O'Donell <carlos@redhat.com>
522
523 * math/libm-test.inc (cos_test): Use accurate hex constants.
524 (sincost_test): Likewise.
525
2f38fbfe
JM
5262013-04-24 Joseph Myers <joseph@codesourcery.com>
527
5e221800
JM
528 * math/libm-test.inc (catan_test): Add more tests.
529 (catanh_test): Likewise.
530
77f143fd
JM
531 * math/s_catanf.c (__catanf): Use suffixed floating-point
532 constants.
533 * math/s_catanhf.c (__catanhf): Likewise.
534 * math/s_catanhl.c (__catanhl): Likewise.
535 * math/s_catanl.c (__catanl): Likewise.
536
2f38fbfe
JM
537 [BZ #15394]
538 * math/s_catan.c (__catan): Calculate imaginary part of result
539 with log1p not log unless computing log of number close to 0.
540 * math/s_catanf.c (__catanf): Likewise.
541 * math/s_catanl.c (__catanl): Likewise.
542 * math/s_catanh.c (__catanh): Calculate real part of result with
543 log1p not log unless computing log of number close to 0.
544 * math/s_catanhf.c (__catanhf): Likewise.
545 * math/s_catanhl.c (__catanhl): Likewise.
546 * math/libm-test.inc (catan_test): Add more tests.
547 (catanh_test): Likewise.
548 * sysdeps/i386/fpu/libm-test-ulps: Update.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
550
45d69176
SP
5512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
552
553 * benchtests/Makefile: Mention files in which fast and slow
554 paths of math functions are implemented.
555
87f51853
RM
5562013-04-23 Roland McGrath <roland@hack.frob.com>
557
558 * sysdeps/posix/timespec_get.c: New file.
559
3c026539
AZ
5602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
561
562 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
563 POWER.
564 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
565 for POWER.
566 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
567 powerpc/power5/fpu folders.
568 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
569 * benchtests/Makefile: Add modf testcase.
570 * benchtests/bench-modf.c: New file: Benchmark test for mo
571
ff491d14
SP
5722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
573
574 [BZ #14888]
575 * time/Makefile (tests): Add tst-strptime-whitespace.
576 * time/strptime_l.c (get_number): Use ISSPACE.
577 (__strptime_internal): Likewise.
578 * time/tst-strptime-whitespace.c: New test case.
579
7ed3f4e8
AS
5802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
581
582 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
583 member.
584 (_nss_files_init): Set it here.
585
5c95f7b6
HC
5862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
587
588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
589 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
590 unsigned.
591
d34c9158
JBG
5922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
593
594 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
595
2169712d
SP
5962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
597
598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
599 size just once.
600
29c5de99
DM
6012013-04-21 David S. Miller <davem@davemloft.net>
602
603 * po/ru.po: Update Russion translation from translation project.
604
ccdad15d
AC
6052013-04-17 Adam Conrad <adconrad@0c3.net>
606
607 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
608 and setfsgid.
609
0f122b8d
CD
6102013-04-17 Carlos O'Donell <carlos@redhat.com>
611
5c5b07da 612 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 613 * configure: Regenerate.
5c5b07da 614 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
615 Add example to error message.
616 * sysdeps/i386/configure: Regenerate.
617
037714dd
SP
6182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
619
620 * benchtests/Makefile (bench): Add cos, tan, slowcos and
621 slowtan.
622 * benchtests/cos-inputs: New file.
623 * benchtests/slowcos-inputs: New file.
624 * benchtests/slowcos.c: New file.
625 * benchtests/slowtan-inputs: New file.
626 * benchtests/slowtan.c: New file.
627 * benchtests/tan-inputs: New file.
628
e913141d
RM
6292013-04-16 Roland McGrath <roland@hack.frob.com>
630
631 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
632 considered kosher.
633
a2964074
SP
6342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
635
4856bcd2
SP
636 * benchtests/Makefile: Include cppflags-iterator.mk to add
637 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
638
a2964074
SP
639 * Makefile.in (bench-clean): New target.
640 * benchtests/Makefile (bench-clean): Likewise.
641
9fbf9aca
DH
6422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
643
644 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
645
207d1e2a
TS
6462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
647
648 * stdio-common/tstdiomisc.c: Fix coding-style violation.
649
306dfba9
AS
6502013-04-15 Andreas Schwab <schwab@suse.de>
651
652 * nscd/grpcache.c (cache_addgr): Properly check for short write.
653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
654 * nscd/pwdcache.c (cache_addpw): Likewise.
655 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
656 more than recsize.
657
206a6699
SP
6582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
659
660 * benchtests/Makefile (bench): Write all output to
661 bench-out.tmp together.
662
0582f6b3
AS
6632013-04-15 Andreas Schwab <schwab@suse.de>
664
665 * nscd/nscd.c (main): Don't fork again after closing files.
666
acb4325f
SP
6672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
668
5cb26d0a
SP
669 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
670
acb4325f
SP
671 * benchtests/Rules (bench-deps): Collect dependencies into a
672 single variable. Add Makefile to dependencies.
673 ($(objpfx)bench-%.c): Depend on bench-deps.
674
47792506
RM
6752013-04-12 Roland McGrath <roland@hack.frob.com>
676 Xavier Roche <roche+kml2@exalead.com>
677
678 [BZ #15361]
679 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
680 just that it's a file descriptor.
681 * manual/llio.texi (Synchronizing AIO Operations): Update description
682 for EBADF error from aio_fsync.
683
8fc1bee5
SP
6842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
685
686 * Rules (bench): Move target definition...
687 * benchtests/Makefile: ... here.
688
aba5e333
CD
6892013-04-11 Carlos O'Donell <carlos@redhat.com>
690
691 * math/libm-test.inc (cos_test): Fix PI/2 test.
692 (sincos_test): Likewise.
693 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
694 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
695
273cdee8
AS
6962013-04-11 Andreas Schwab <schwab@suse.de>
697
6ecec3b6
AS
698 [BZ #13988]
699 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
700 accept exponent character only when digits were seen.
701 * stdio-common/Makefile (tests): Add bug26.
702 * stdio-common/bug26.c: New file.
703
273cdee8
AS
704 [BZ #14293]
705 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
706 non-freeable.
707
8da491f5
SP
7082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
709
01dc6df9
SP
710 * Makeconfig (rtld-prefix): Define built linker prefix.
711 * Rules (run-bench): Use it.
712 * math/Makefile (run-regen-ulps): Likewise.
713
8da491f5
SP
714 * Rules (bench): Remove eval.
715
abe7f530
SP
7162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
717 Roland McGrath <roland@hack.frob.com>
718 Ondrej Bilka <neleai@seznam.cz>
719
720 [BZ #15346]
721 * time/getdate.c: Include ctype.h and alloca.h.
722 (__getdate_r): Trim leading and trailing spaces of input.
723 * time/tst-getdate.c (tests): Add tests with leading and
724 trailing spaces.
725
61c23e62
RM
7262013-04-08 Roland McGrath <roland@hack.frob.com>
727
728 [BZ #14280]
729 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
730 when computing value.
731
7208a313
CD
7322013-04-06 Carlos O'Donell <carlos@redhat.com>
733
085b2d41
CD
734 * math/README.libm-test (How can I generate "libm-test-ulps"?):
735 Use testrun.sh to run libm tests.
736
7208a313
CD
737 [BZ #15309]
738 * elf/dl-open.c (dl_open_worker): memset all of seen array.
739
872c0acd
MM
7402013-04-06 Marko Myllynen <myllynen@redhat.com>
741
742 [BZ #15264]
743 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
744
26510bdd
CD
7452013-04-06 Carlos O'Donell <carlos@redhat.com>
746
747 * Makefile.in (regen-ulps): New target.
748 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
749 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
750 [ifneq (no,$(PERL)] (regen-ulps): New target.
751 [ifeq (no,$(PERL)] (regen-ulps): New target.
752 * math/libm-test.inc (ulps_file_name): Define.
753 (output_dir): New variable.
754 (options): Add "output-dir" option.
755 (parse_opt): Handle 'o' case.
756 (main): If output_dir is non-NULL use it as a prefix
757 otherwise use "".
758 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
759
a01f19c8
CD
7602013-04-06 Carlos O'Donell <carlos@redhat.com>
761
762 [BZ #10060, #10062]
763 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
764 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
765 fail configure if __sync_val_compare_and_swap is not inlined.
766 * sysdeps/i386/configure: Regenerate.
767 * configure.in: Build for i686 when configured for i386.
768 * configure: Regenerate.
769 * README: Remove i386 reference.
770
b7a329a5
CD
7712013-04-06 Carlos O'Donell <carlos@redhat.com>
772
773 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
775
bf0f50df
TS
7762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
777
ee091edf
TS
778 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
779 (lmsnanval): New variables.
780 (F): Add conversion tests.
781 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
782 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
783
a8b792d6
TS
784 * stdio-common/tstdiomisc.c (F): Properly collect individual
785 tests' results.
786
a1cbf437
TS
787 [BZ #14686, #15336]
788 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
790 Instead, use input NaN values or generate a qNaN by arithmetic
791 operation. Also fix bugs to comply with the standard.
792 * math/libm-test.inc (remainder_test): Add more tests.
793
8b43a0c9
TS
794 [BZ #15335, #15342]
795 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
797 input NaN values or generate a qNaN by arithmetic operation.
798
d91da4ce
TS
799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
800 unreachable code.
801
bf0f50df
TS
802 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
803 definitions.
804
05e166c8
JM
8052013-04-03 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #14478]
808 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
809 underflowed result.
810 * math/s_cexpf.c (__cexpf): Likewise.
811 * math/s_cexpl.c (__cexpl): Likewise.
812 * math/libm-test.inc (cexp_test): Add more tests.
813
1cef1b19
AS
8142013-04-03 Andreas Schwab <schwab@suse.de>
815
816 [BZ #15330]
817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
818 order arrays from heap if bigger than alloca cutoff.
819
74d87055
TS
8202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
821
822 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
823 (SNAN_TESTS_double): Refer to GCC PR56831.
824 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
825 GCC PR56828.
826
d755bba4
SP
8272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
828
90d5d5bb
SP
829 * Rules (bench): Move bench.out after the run is complete.
830
73e0cd5d
SP
831 * Rules (bench): Echo currently running benchmark.
832
64aabd4b
SP
833 * benchtests/Makefile (bench): Add atan and slowatan.
834 * benchtests/atan-inputs: New file.
835 * benchtests/slowatan-inputs: New file.
836 * benchtests/slowatan.c: New file.
837
c871eccd
SP
838 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
840 its value.
841
d755bba4
SP
842 [BZ #15305]
843 * sysdeps/unix/sysv/linux/kernel-features.h
844 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
845 __ASSUME_XFS_RESTRICTED_CHOWN.
846 * sysdeps/unix/sysv/linux/pathconf.c
847 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
848 Save and restore errno.
849
52ce4860
JM
8502013-04-02 Joseph Myers <joseph@codesourcery.com>
851
852 [BZ #15327]
853 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
854 arguments using __kernel_casinh.
855 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
856 arguments using __kernel_casinhf.
857 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
858 arguments using __kernel_casinhl.
859 * math/libm-test.inc (cacosh_test): Add more tests.
860 * sysdeps/i386/fpu/libm-test-ulps: Update.
861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
862
81f311c2
SP
8632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
864
e7906a47
SP
865 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
867
92e3664b
SP
868 * bench/Makefile (bench): Add sin and slowsin.
869 * benchtests/sin-inputs: New file.
870 * benchtests/slowsin-inputs: New file.
871 * benchtests/slowsin.c: New file.
872
81f311c2
SP
873 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
874 (bench): Add slowexp and slowpow.
875 (exp-ITER): Increase iterations.
876 (pow-ITER): Likewise.
877 * benchtests/exp-inputs: Change input.
878 * benchtests/pow-inputs: Likewise.
879 * benchtests/slowexp-inputs: New file.
880 * benchtests/slowexp.c: New file.
881 * benchtests/slowpow-inputs: New file.
882 * benchtests/slowpow.c: New file.
883
ab0f1aa9
AZ
8842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
885
886 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
887 instructions.
888 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
889 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
890 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
891 * benchtests/Makefile: Add rint benchtest.
892 * benchtests/rint-inputs: Input for rint benchtest.
893
57267616
TS
8942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
895
896 * Versions.def (libm): Add GLIBC_2.18.
897 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
898 hidden libm prototypes.
899 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
900 * math/Makefile (libm-calls): Add s_issignaling.
901 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
902 __issignalingf, __issignalingl. Adjust all libm.abilist files.
903 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
904 declaration.
905 * math/math.h [__USE_GNU] (issignaling): New macro.
906 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
907 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
908 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
909 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
912 * manual/arith.texi (issignaling): New section.
913 * manual/libm-err-tab.pl (@all_functions): Update comment.
914 * math/gen-libm-test.pl (parse_args): Apply special handling for
915 issignaling.
916 * math/libm-test.inc (print_float, issignaling_test): New
917 functions.
918 (check_float_internal): Add issignaling checks.
919 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
920 default definition.
921 * sysdeps/powerpc/math-tests.h: New file.
922 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
923 tests.
924 * math/test-snan.c (TEST_FUNC): Likewise.
925
6142896d
DM
9262013-03-30 David S. Miller <davem@davemloft.net>
927
928 * po/de.po: Update from translation team.
929
ccc8cadf
JM
9302013-03-30 Joseph Myers <joseph@codesourcery.com>
931
932 [BZ #10357]
933 * math/k_casinh.c (__kernel_casinh): Handle arguments with
934 imaginary part less than 1.0 and real part less than 0.5
935 specially.
936 * math/k_casinhf.c (__kernel_casinhf): Likewise.
937 * math/k_casinhl.c (__kernel_casinhl): Likewise.
938 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
939 (cacos_test): Add more tests.
940 (casin_test): Likewise.
941 (casinh_test): Likewise.
942 * sysdeps/i386/fpu/libm-test-ulps: Update.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
944
0f6a8d4b
SP
9452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
946
0d1029de
SP
947 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
948 ONE with its value.
949
c2d94018
SP
950 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
951 (__pow_mp): Replace ONE and MONE with their values.
952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
954 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
955 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
956 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
958
27ec37f1
SP
959 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
960
a64d7e0e
SP
961 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
962 (__pow_mp): Replace ZERO and MZERO with their values.
963 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
965 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
967 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
968 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
969 (__sqr): Likewise.
970
d26dd3eb
SP
971 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
972
0f6a8d4b
SP
973 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
974
e57b0c61
RM
9752013-03-28 Roland McGrath <roland@hack.frob.com>
976
977 * include/stdlib.h [!SHARED] (__call_tls_dtors):
978 Declare with __attribute__ ((weak)).
979 * stdlib/exit.c (__libc_atexit) [!SHARED]:
980 Call __call_tls_dtors only if it's not NULL.
981
356b3480
RM
9822013-03-28 Roland McGrath <roland@hack.frob.com>
983
288f7d79
RM
984 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
985 didn't do it already, then set _dl_phdr and _dl_phnum based on the
986 magic __ehdr_start linker symbol if it's defined.
987 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
988 them up here if it was already done.
989
dc0a0263
RM
990 * elf/dl-support.c (_dl_phdr): Make pointer to const.
991 (_dl_aux_init): Use const in cast when setting it.
992 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
993 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
994 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
995
3d3436ae
RM
996 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
997 Declare them here.
998 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
999 * csu/libc-tls.c: Nor here.
1000 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1001
356b3480
RM
1002 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1003 (__libc_message): Never call vsyslog.
1004
b0f1246a
AM
10052013-03-28 Alan Modra <amodra@gmail.com>
1006
1007 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1008 Define as empty.
1009 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1010 Likewise.
1011
fbbe2b9a
AZ
10122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013
1014 [BZ #15214]
1015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1016 underflow.
1017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1018
1728ab37
SP
10192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1020
7a86be6e
SP
1021 [BZ #15304]
1022 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1023 Don't add gid passed as argument.
1024
1728ab37
SP
1025 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1026
3a7182a1
JM
10272013-03-27 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #15307]
1030 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1031 imaginary part between 1.0 and 1.5 and real part less than 0.5
1032 specially.
1033 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1034 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1035 * math/libm-test.inc (cacos_test): Add more tests.
1036 (casin_test): Likewise.
1037 (casinh_test): Likewise.
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040
6f2e90e7
SP
10412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1042
5739f705
SP
1043 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1044 constants.
1045 (norm): Likewise.
1046 (denorm): Likewise.
1047 (__dbl_mp): Likewise.
1048 (add_magnitudes): Likewise.
1049 (sub_magnitudes): Likewise.
1050 (__add): Likewise.
1051 (__sub): Likewise.
1052 (__mul): Likewise.
1053 (__sqr): Likewise.
1054 (__inv): Likewise.
1055 (__dvd): Likewise.
1056
e375e83d
SP
1057 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1058 commented code.
1059 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1060 (__dubcos): Likewise.
1061 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1062 (__ieee754_acos): Likewise.
1063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1064 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1065 (__exp1): Likewise.
1066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1068 (log1): Likewise.
1069 (my_log2): Likewise.
1070 (checkint): Likewise.
1071 * sysdeps/ieee754/dbl-64/e_remainder.c
1072 (__ieee754_remainder): Likewise.
1073 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1075 (bsloww): Likewise.
1076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1077
6f2e90e7
SP
1078 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1080 MANTISSA_STORE_T to store computations on mantissa. Use
1081 macros for rounding and division.
1082 (denorm): Likewise.
1083 (__dbl_mp): Likewise.
1084 (add_magnitudes): Likewise.
1085 (sub_magnitudes): Likewise.
1086 (__mul): Likewise.
1087 (__sqr): Likewise.
1088 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1089 powers of two in terms of TWOPOW macro.
1090 (mp_no): Make type of mantissa as MANTISSA_T.
1091 [!RADIXI]: Define RADIXI.
1092 [!TWO52]: Define TWO52.
1093 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1094
fce14d4e
AZ
10952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1096
1097 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1098 llroundl symbol when building for PPC32.
1099
9ad027fb
MW
11002013-03-24 Mark H Weaver <mhw@netris.org>
1101
1102 * manual/arith.texi (Normalization Functions): Fix prototypes for
1103 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1104
e42a38dd
AZ
11052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106
1107 [BZ #13889]
1108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1109 high value to check if expl overflow.
1110 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1111 to check for underflow and overflow.
1112 * math/libm-test.inc: Add exp test.
1113
2e0fb521
DL
11142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1115
1116 [BZ #11120]
1117 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1118 with NOT_IN_libc.
1119
b5784d95
AZ
11202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121
1122 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1123 symbol.
1124
5aa4a1a1
TS
11252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1126
bdef0be7
TS
1127 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1128 wrap blocks consisting of several statements.
1129
5aa4a1a1
TS
1130 * sysdeps/generic/math-tests.h: New file.
1131 * sysdeps/i386/fpu/math-tests.h: Likewise.
1132 * math/test-snan.c: Include it.
1133 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1134
98c48fe5
JM
11352013-03-21 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #15285]
1138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1139 (__ieee754_j0l): Do not improve calculations using cos of twice
1140 input for inputs above LDBL_MAX / 2.0L.
1141 (__ieee754_y0l): Likewise.
1142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1143 (__ieee754_j1l): Do not improve calculations using cos of twice
1144 input for inputs above LDBL_MAX / 2.0L.
1145 (__ieee754_y1l): Likewise.
1146 * math/libm-test.inc (j0_test): Add another test.
1147 (j1_test): Likewise.
1148 (y0_test): Likewise.
1149 (y1_test): Likewise.
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1151
3775a8bc
SP
11522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 * Rules ($(objpfx)bench-%.c): Include code from a C source
1155 file.
1156
0a1b2ae6
JM
11572013-03-21 Joseph Myers <joseph@codesourcery.com>
1158
1159 [BZ #15287]
1160 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1161 imaginary part 1.0 and real part less than 0.5 specially.
1162 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1163 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1164 * math/libm-test.inc (cacos_test): Add more tests.
1165 (casin_test): Likewise.
1166 (casinh_test): Likewise.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169
b33d4ce4
SP
11702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1171
1172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1173 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1174
bef0b507
JM
11752013-03-20 Joseph Myers <joseph@codesourcery.com>
1176
1177 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1178 * config.make.in (config-cflags-sse4): Remove variable.
1179 (config-cflags-avx): Likewise.
1180 (config-cflags-sse2avx): Likewise.
1181 (config-cflags-novzeroupper): Likewise.
1182 (config-asflags-i686): Likewise.
1183 (have-mfma4): Likewise.
1184 (have-as-vis3): Likewise.
1185 (MIG): Likewise.
1186 * configure.in (MIG): Do not AC_SUBST.
1187 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1188 (libc_cv_cc_sse4): Do not AC_SUBST.
1189 (libc_cv_cc_avx): Likewise.
1190 (libc_cv_cc_sse2avx): Likewise.
1191 (libc_cv_cc_novzeroupper): Likewise.
1192 (libc_cv_cc_fma4): Likewise.
1193 (libc_cv_as_i686): Likewise.
1194 (libc_cv_sparc_as_vis3): Likewise.
1195 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1196 LIBC_CONFIG_VAR.
1197 (config-asflags-i686): Likewise.
1198 (config-cflags-avx): Likewise.
1199 (config-cflags-sse2avx): Likewise.
1200 (have-mfma4): Likewise.
1201 (config-cflags-novzeroupper): Likewise.
1202 * sysdeps/mach/configure.in (MIG): Likewise.
1203 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1204 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1205 LIBC_CONFIG_VAR.
1206 (config-cflags-avx): Likewise.
1207 (config-cflags-sse2avx): Likewise.
1208 (have-mfma4): Likewise.
1209 (config-cflags-novzeroupper): Likewise.
1210 * configure: Regenerated.
1211 * sysdeps/i386/configure: Likewise.
1212 * sysdeps/mach/configure: Likewise.
1213 * sysdeps/sparc/configure: Likewise.
1214 * sysdeps/x86_64/configure: Likewise.
1215
912cc4b3
RM
12162013-03-20 Roland McGrath <roland@hack.frob.com>
1217
1218 [BZ #14812]
1219 * locale/programs/localedef.c (options): Put N_ translation marker
1220 on argument names, not just descriptions.
1221
04eed2b0
MS
12222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1223
1224 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1225
a065ceff
OB
12262013-03-20 Ondřej Bílka <neleai@seznam.cz>
1227
9bb2a810 1228 [BZ #14176]
a065ceff
OB
1229 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1230
a600e5ce
RM
12312013-03-19 Roland McGrath <roland@hack.frob.com>
1232
1233 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1234 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1235 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1236 [!BEFORE_ABORT] (before_abort): New function.
1237 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1238 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1239 (writev_for_fatal): New function.
1240 (WRITEV_FOR_FATAL): New macro; call that.
1241 (backtrace_and_maps): New function.
1242 (BEFORE_ABORT): New macro; call that.
1243 (struct str_list): Type removed.
1244 (__libc_message, __libc_fatal): Functions removed.
1245 Include <sysdeps/posix/libc_fatal.c> instead.
1246
6b18bea6
JM
12472013-03-19 Joseph Myers <joseph@codesourcery.com>
1248
1249 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1250 constants.
1251 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1252 double constants.
1253
aaa8cb4b
AS
12542013-03-19 Andreas Schwab <schwab@suse.de>
1255
44673770
AS
1256 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1257 * sysdeps/gnu/configure: Regenerate.
1258
aaa8cb4b
AS
1259 * configure.in: Substitute libc_cv_rtlddir.
1260 * configure: Regenerate.
1261 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1262 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1263 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1264 * elf/Makefile (install-others, CFLAGS-interp.c)
1265 (ldso_install, common-ldd-rewrite): Likewise.
1266 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1267 $(inst_slibdir)/$(rtld-installed-name).
1268 * scripts/rellns-sh: Add -p option.
1269 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1270 for source.
1271
d3cfc668
SP
12722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1273
1274 * manual/nptl.texi: Renamed to ...
1275 * manual/threads.texi: ... this.
1276 * manual/Makefile (chapters): Update.
1277
0e2b9cdd
RM
12782013-03-18 Roland McGrath <roland@hack.frob.com>
1279
1280 [BZ #14812]
1281 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1282 on argument names, not just descriptions.
0e2b9cdd
RM
1283 * malloc/memusagestat.c (options): Likewise.
1284 * nss/getent.c (options): Likewise.
63270c24
RM
1285
12862013-03-18 Benno Schulenberg <bensberg@justemail.net>
1287
1288 [BZ #14812]
1289 * iconv/iconv_prog.c (options): Put N_ translation marker
1290 on argument names, not just descriptions.
1291 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1292
b2e1393c
OB
12932013-03-18 Ondrej Bilka <neleai@seznam.cz>
1294
1295 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1296 implementation which is faster on all x86_64 architectures.
1297 Tested on AMD, Intel Nehalem, SNB, IVB.
1298 * sysdeps/x86_64/strnlen.S: Likewise.
1299
1300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1301 Remove all multiarch strlen and strnlen versions.
1302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1303 Remove strlen and strnlen related parts.
1304
1305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1306 Inline strlen part.
1307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1308
1309 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1310 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1312 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1314 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1315
ec4ff04d
CD
13162013-03-17 Carlos O'Donell <carlos@redhat.com>
1317
1318 * manual/memory.texi (Malloc Tunable Parameters):
1319 Sort parameters alphabetically. Add comments for missing entries.
1320
cd18e90a
DM
13212013-03-17 David S. Miller <davem@davemloft.net>
1322
1323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1324
2a185d32
JM
13252013-03-16 Joseph Myers <joseph@codesourcery.com>
1326
d2f9799e
JM
1327 [BZ #15283]
1328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1329 for arguments at most half maximum finite value.
1330 * math/libm-test.inc (j0_test): Add more tests.
1331 (j1_test): Likewise.
1332 (y0_test): Likewise.
1333 (y1_test): Likewise.
1334 * sysdeps/i386/fpu/libm-test-ulps: Update.
1335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1336
2a185d32
JM
1337 [BZ #14155]
1338 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1339 1 / x and functions P and Q for arguments above 0x1p256L.
1340 (__ieee754_y0l): Likewise.
1341 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1342 (__ieee754_y1l): Likewise.
1343 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1344 (j1_test): Likewise.
1345 (y0_test): Likewise.
1346 (y1_test): Likewise.
1347
6cbec759
TS
13482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1349
1350 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1351 variable.
1352
bc16e260
RM
13532013-03-15 Roland McGrath <roland@hack.frob.com>
1354
aefc9b8c
RM
1355 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1356 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1357 zero since it's initialized to EXEC_PAGESIZE.
1358
bc16e260
RM
1359 * sysdeps/unix/sysv/linux/ldsodefs.h
1360 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1361 * sysdeps/generic/ldsodefs.h: ... here.
1362
a57da955
TS
13632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1364
af00a34d
TS
1365 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1366
495ded2c
TS
1367 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1368 math/test-snan.c.
1369 * math/test-snan.c: Renamed from
1370 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1371 * math/Makefile (tests): Add test-snan.
1372 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1373 test-powerpc-snan.
1374
777b0332
TS
1375 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1376 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1377 functions.
1378 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1379 __builtin_nan family of functions.
1380 * math/libm-test.inc (initialize): Initialize qnan_value with
1381 __builtin_nan family of functions.
1382 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1383 Remove variables.
1384 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1385 Remove functions.
1386 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1387 storage class. Initialize qNaN_var and sNaN_var with
1388 __builtin_nan and __builtin_nans families of functions,
1389 respectively.
1390
64d063b8
TS
1391 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1392 (sqrt_test): Remove duplicate test with qNaN input.
1393 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1394 (round_test, signbit_test, significand_test): Note missing +/-Inf
1395 as well as qNaN tests.
1396
67e971f1
TS
1397 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1398 qNaN_var. Fix a few strings, too.
1399 * math/libm-test.inc (nan_value): Rename to qnan_value.
1400 * math/gen-libm-test.pl (%beautify): Adjust to that.
1401 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1402 * math/test-misc.c (main): Likewise.
1403 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1404 to __qnan_bytes, and __qnan_union, respectively.
1405 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1406 Likewise.
1407 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1408 and lqnanval, respectively.
1409 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1410 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1412 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1413
64487e12
TS
1414 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1415 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1416 doubles.
1417
e015e27b
TS
1418 * math/test-misc.c (main): Fix copy'n'pastos.
1419 * misc/tst-efgcvt.c (special): Likewise.
1420
a57da955
TS
1421 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1422 Remove declarations.
1423
1e380345
SP
14242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1425
1426 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1427 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1428 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1429 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1430
ef26eece
AZ
14312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1434 macro to return vdso values correctly in IFUNC implementations.
1435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1436 Optimization by using IFUNC.
1437
8cfdb7e0
SP
14382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 Richard Henderson <rth@redhat.com>
1440 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1441
1442 * Makefile.in (bench): New target.
1443 * NEWS: Mention the benchmark framework.
1444 * Rules (bench): Likewise.
1445 (binaries-bench): Generate binaries for functions to
1446 benchmark.
1447 * benchtests/Makefile: New makefile for benchmark tests.
1448 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1449 programs.
1450 * benchtests/exp-inputs: New input file for EXP function.
1451 * benchtests/pow-inputs: New input file for POW function.
1452 * scripts/bench.pl: New script to generate source files for
1453 benchmark programs.
1454
bcda9880
SP
14552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
d22ca8cd
SP
1457 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1458 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1459 computations on mantissa. Use macros for rounding and
1460 division.
1461 (denorm): Likewise.
1462 (__dbl_mp): Likewise.
1463 (add_magnitudes): Likewise.
1464 (sub_magnitudes): Likewise.
1465 (__mul): Likewise.
1466 (__sqr): Likewise.
1467 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1468 powers of two in terms of TWOPOW macro.
1469 (mp_no): Make type of mantissa as MANTISSA_T.
1470 [!RADIXI]: Define RADIXI.
1471 [!TWO52]: Define TWO52.
1472 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1473
bcda9880
SP
1474 * manual/nptl.texi (cindex): Modify threads to pthreads.
1475
06d5adfb
JM
14762013-03-15 Joseph Myers <joseph@codesourcery.com>
1477
1478 * sysdeps/x86_64/preconfigure: Regenerated.
1479
41c7328e
JM
14802013-03-14 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #14155]
1483 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1484 0x1p28 and above.
1485 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1486 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1487 0x1p28 and above.
1488 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1489 * math/libm-test.inc (j0_test): Do not allow one spurious
1490 underflow exception.
1491 (y1_test): Likewise.
1492
e25cfa60
SP
14932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1494
0409959c
SP
1495 * manual/Makefile (chapters): Add nptl.
1496 * manual/debug.texi (Debugging Support): Add link to Threads
1497 chapter.
1498 * manual/nptl.texi: New file.
1499
e25cfa60
SP
1500 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1501
58a1335e
PB
15022013-03-14 Petr Baudis <pasky@ucw.cz>
1503
1504 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1505 for non-NULL pointer before the memory validity test. Pointed
1506 out by Holger Brunck <holger.brunck@keymile.com>.
1507
9dc7c64f
AS
15082013-03-13 Andreas Schwab <schwab@suse.de>
1509
1510 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1511 instead of .os.
1512
54206aa6
JM
15132013-03-13 Joseph Myers <joseph@codesourcery.com>
1514
1515 * timezone/zic.c: Update from tzcode 2013b.
1516
e98cdb38
CD
15172013-03-12 Carlos O'Donell <carlos@redhat.com>
1518
1519 * manual/install.texi (Configuring and compiling):
1520 Mention i686 and i586.
1521 * INSTALL: Regenerate.
1522
9967e003
RM
15232013-03-12 Roland McGrath <roland@hack.frob.com>
1524
1525 * sysdeps/init_array/elf-init.c: New file.
1526 * csu/elf-init.c
1527 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1528 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1529
1530 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1531 __gmon_start__ as global, but as static with a .preinit_array pointer.
1532 * sysdeps/init_array/gmon-start.c: New file. Use that.
1533 * sysdeps/init_array/crti.S: New file, empty except for comments.
1534 * sysdeps/init_array/crtn.S: Likewise.
1535
e6b5a293 15362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1537
1538 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1539 definining bcopy.
80f844c9
OB
1540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1541 Remove Prefer_SSE_for_memop.
1542 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1543 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1544 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1546 memset-x86-64.
80f844c9 1547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1548 Remove bzero, memset ifunc support.
80f844c9
OB
1549 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1551 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1553
fb6b0fcb
AS
15542013-03-11 Andreas Schwab <schwab@suse.de>
1555
1556 [BZ #15234]
1557 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1558 by SHLIB_COMPAT.
1559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1560 (GLIBC_2.16): Remove pthread_atfork.
1561
3e6bd4b1
PP
15622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1563
1564 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1565 (ptestcases.h): Likewise.
1566
222d7f00
RM
15672013-03-08 Roland McGrath <roland@hack.frob.com>
1568
1569 * Makeconfig ($(common-objpfx)config.status): Depend on
1570 sysdeps/*/preconfigure{,.in} too.
1571
1ba4f030
JM
15722013-03-08 Joseph Myers <joseph@codesourcery.com>
1573
a222d91a
JM
1574 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1575 (__free_hook): Use void * instead of __malloc_ptr_t.
1576 (__malloc_hook): Likewise.
1577 (__realloc_hook): Likewise.
1578 (__memalign_hook): Likewise.
1579 (__after_morecore_hook): Likewise.
1580 * malloc/arena.c (save_malloc_hook): Likewise.
1581 (save_free_hook): Likewise.
1582 * malloc/hooks.c (malloc_hook_ini): Likewise.
1583 (realloc_hook_ini): Likewise.
1584 (memalign_hook_ini): Likewise.
1585 * malloc/malloc.c (malloc_hook_ini): Likewise.
1586 (realloc_hook_ini): Likewise.
1587 (memalign_hook_ini): Likewise.
1588 (__free_hook): Likewise.
1589 (__malloc_hook): Likewise.
1590 (__realloc_hook): Likewise.
1591 (__memalign_hook): Likewise.
1592 (__libc_malloc): Likewise.
1593 (__libc_free): Likewise.
1594 (__libc_realloc): Likewise.
1595 (__libc_memalign): Likewise.
1596 (__libc_valloc): Likewise.
1597 (__libc_pvalloc): Likewise.
1598 (__libc_calloc): Likewise.
1599 (__posix_memalign): Likewise.
1600 * malloc/morecore.c (__sbrk): Likewise.
1601 (__default_morecore): Likewise.
1602
5cc45e10
JM
1603 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1604
dd54b864
JM
1605 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1606 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1607 __malloc_ptrdiff_t.
1608
1ba4f030
JM
1609 * malloc/malloc.h (__malloc_size_t): Remove macro.
1610 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1611 __malloc_size_t.
1612 (old_memalign_hook): Likewise.
1613 (old_realloc_hook): Likewise.
1614 (struct hdr): Likewise.
1615 (flood): Likewise.
1616 (mallochook): Likewise.
1617 (memalignhook): Likewise.
1618 (reallochook): Likewise.
1619 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1620 (tr_old_realloc_hook): Likewise.
1621 (tr_old_memalign_hook): Likewise.
1622 (tr_mallochook): Likewise.
1623 (tr_reallochook): Likewise.
1624 (tr_memalignhook): Likewise.
1625
edf66e57
AZ
16262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627
1628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1629 default_ldbl_pack and using as default implementation.
1630 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1631 implementation.
1632 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1633 redundant definition.
1634 (ldbl_insert_mantissa): Likewise.
1635 (ldbl_canonicalize): Likewise.
1636 (ldbl_nearbyint): Likewise.
1637 (ldbl_pack): Rename to ldbl_pack_ppc.
1638 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1639 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1640 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1641
6d9145d8
SP
16422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1643
1644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1645 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1646 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1647 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1649 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1650 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1651 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1652
4dd4e157
AJ
16532013-03-07 Andreas Jaeger <aj@suse.de>
1654
1655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1656 bits/mman-linux.h.
1657
adbb8027
SP
16582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1659
ce544b5b
SP
1660 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1661 Include mpa.h and declare __MPEXP.
1662 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1664 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1667 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1668 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1669
4cc149fd
SP
1670 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1671 (__slowpow): Use long double EXPL and LOGL functions to
1672 compute POW.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1674 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1677 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1678 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1679
e6ebd4a7
SP
1680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1681 intermediate variable to calculate exponent.
1682 (__sqr): Likewise.
1683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1684 Likewise.
1685 (__sqr): Likewise.
1686
82a9811d
SP
1687 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1688 [!NO__SQR]: Define __sqr.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1690 and NO__SQR. Remove all code except __mul and __sqr. Include
1691 sysdeps/ieee754/dbl-64/mpa.c.
1692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1693
adbb8027
SP
1694 [BZ #12723]
1695 * posix/Makefile (tests): Add tst-pathconf.
1696 * posix/tst-pathconf.c: New test case.
1697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1698 _PC_PIPE_BUF.
1699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1700
39120df9
PF
17012013-03-06 Patsy Franklin <pfrankli@redhat.com>
1702
1703 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1704
67525cb8
AJ
17052013-03-06 Andreas Jaeger <aj@suse.de>
1706
664a9ce4
AJ
1707 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1708 definition via __MAP_ANONYMOUS.
1709
8e39047d
AJ
1710 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1711 it's not part of Linux headers.
1712
67525cb8
AJ
1713 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1714 (MAP_HUGE_MASK): Define.
1715
1716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1717 Define.
1718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1720 Define.
1721 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1722 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1723 Define.
1724 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1726 Define.
1727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1728
1729 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1730 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1731 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1732 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1733 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1734 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1735
1736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1737 Handle f2fs.
1738
1739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1740 Handle f2fs and efivarfs.
1741
1742 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1743 f2fs.
1744
1745 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1746 (EFIVARFS_MAGIC): Add.
1747 (F2FS_LINK_MAX): Add.
1748
e1b42695
PP
17492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1750
1751 * stdio-common/vfprintf.c: Replace __builtin_expect with
1752 __glibc_unlikely.
1753
2d67d91a
JM
17542013-03-06 Joseph Myers <joseph@codesourcery.com>
1755
1756 [BZ #13550]
1757 * sysdeps/generic/bp-sym.h: Remove file.
1758 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1759 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1760 <bp-sym.h> and <bp-asm.h>.
1761 (__longjmp): Don't use BP_SYM.
1762 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1763 and <bp-asm.h>.
1764 (memcpy): Don't use BP_SYM.
1765 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1766 <bp-sym.h> and <bp-asm.h>.
1767 (memcpy): Don't use BP_SYM.
1768 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1769 <bp-asm.h>.
1770 (memcpy): Don't use BP_SYM.
1771 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1772 <bp-asm.h>.
1773 (memset): Don't use BP_SYM.
1774 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1775 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1776 (__bzero): Don't use BP_SYM.
1777 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1778 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (memcmp): Don't use BP_SYM. Remove comment about bounded
1782 pointers.
1783 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1784 <bp-sym.h> and <bp-asm.h>.
1785 (memcpy): Don't use BP_SYM.
1786 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1787 <bp-sym.h> and <bp-asm.h>.
1788 (memset): Don't use BP_SYM.
1789 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1790 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1791 (__bzero): Don't use BP_SYM.
1792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1795 <bp-sym.h> and <bp-asm.h>.
1796 (strncmp): Don't use BP_SYM. Remove comment about bounded
1797 pointers.
1798 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1799 <bp-sym.h> and <bp-asm.h>.
1800 (memcpy): Don't use BP_SYM.
1801 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1802 <bp-sym.h> and <bp-asm.h>.
1803 (memset): Don't use BP_SYM.
1804 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1805 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1806 (__bzero): Don't use BP_SYM.
1807 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1808 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1810 <bp-sym.h> and <bp-asm.h>.
1811 (__memchr): Don't use BP_SYM.
1812 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1813 <bp-sym.h> and <bp-asm.h>.
1814 (memcmp): Don't use BP_SYM. Remove comment about bounded
1815 pointers.
1816 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1817 <bp-sym.h> and <bp-asm.h>.
1818 (memcpy): Don't use BP_SYM.
1819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1820 <bp-sym.h> and <bp-asm.h>.
1821 (__mempcpy): Don't use BP_SYM.
1822 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1823 <bp-sym.h> and <bp-asm.h>.
1824 (__memrchr): Don't use BP_SYM.
1825 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1826 <bp-sym.h> and <bp-asm.h>.
1827 (memset): Don't use BP_SYM.
1828 (__bzero): Likewise.
1829 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (__rawmemchr): Don't use BP_SYM.
1832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1833 <bp-sym.h> and <bp-asm.h>.
1834 (__STRCMP): Don't use BP_SYM.
1835 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1836 <bp-sym.h> and <bp-asm.h>.
1837 (strchr): Don't use BP_SYM.
1838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1839 <bp-sym.h> and <bp-asm.h>.
1840 (__strchrnul): Don't use BP_SYM.
1841 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1842 <bp-sym.h> and <bp-asm.h>.
1843 (strlen): Don't use BP_SYM.
1844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (strncmp): Don't use BP_SYM. Remove comment about bounded
1847 pointers.
1848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1849 <bp-sym.h> and <bp-asm.h>.
1850 (__strnlen): Don't use BP_SYM.
1851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1852 <bp-sym.h> and <bp-asm.h>.
1853 (__GI__setjmp): Don't use BP_SYM.
1854 (_setjmp): Likewise.
1855 (__sigsetjmp): Likewise.
1856 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1857 (L(start_addresses)): Don't use BP_SYM.
1858 (_start): Likewise.
1859 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1860 <bp-asm.h>.
1861 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1862 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1863 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1864 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1865 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1866 <bp-asm.h>.
1867 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1868 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1869 about bounded pointers.
1870 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1871 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1872 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1873 <bp-asm.h>.
1874 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1875 about bounded pointers. Remove GKM FIXME comments.
1876 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1877 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1878 <bp-asm.h>.
1879 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1880 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1881 Remove GKM FIXME comments.
1882 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1883 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1884 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1885 <bp-asm.h>.
1886 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1887 about bounded pointers. Remove GKM FIXME comment.
1888 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1889 and <bp-asm.h>.
1890 (strncmp): Don't use BP_SYM. Remove comment about bounded
1891 pointers.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1893 <bp-sym.h> and <bp-asm.h>.
1894 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1896 <bp-sym.h> and <bp-asm.h>.
1897 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1898 comment.
1899
cdcf361f
PP
19002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1901
1902 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1903 call free(NULL).
1904
3c4a2b15
DM
19052013-03-05 David S. Miller <davem@davemloft.net>
1906
1907 * po/es.po: Update from translation team.
1908
cdcf361f 19092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1910
1911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1912 <bits/mman-linux.h>.
1913 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1914 is fine.
1915 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1916 <bits/mman-linux.h> to end of file.
1917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1918 is fine.
1919 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1920 <bits/mman-linux.h> to end of file.
1921 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1922 is fine.
1923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1924 <bits/mman-linux.h> to end of file.
1925
1926 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1927 (MCL_CURRENT, MCL_FUTURE): Define here.
1928
5f67c04f
AK
19292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1930
8a4473cc 1931 [BZ #15232]
5f67c04f
AK
1932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1933 attribute_hidden.
1934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1935
c3e94a95
AK
19362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1937
1938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1939 fourth parameter needed for rt_sigprocmask syscall.
1940 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1941 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1942 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1945 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1946
cfb6382a
JM
19472013-03-04 Joseph Myers <joseph@codesourcery.com>
1948
1949 [BZ #13550]
1950 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1951 comment about bounded pointers.
1952 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1953 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1954
539d8e01
AJ
19552013-03-04 Andreas Jaeger <aj@suse.de>
1956
1957 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1958 common definitions.
1959
1960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1961 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1962 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1966
2e167a70 19672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1968
1969 [BZ #15055]
1970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1971 __ieee754_sqrl instead of __sqrl.
1972
68508633
JM
19732013-03-01 Joseph Myers <joseph@codesourcery.com>
1974
1975 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1976 * sysdeps/powerpc/fpu_control.h: ... here.
1977 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1978 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1979 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1980 * sysdeps/powerpc/bits/mathinline.h: ... here.
1981
7775448e
RM
19822013-03-01 Roland McGrath <roland@hack.frob.com>
1983
1984 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1985 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1986 to just [NEED_DL_SYSINFO_DSO].
1987 * elf/dl-support.c: Likewise.
1988 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1989 * elf/rtld.c (dl_main): Likewise.
1990 * elf/setup-vdso.h (setup_vdso): Likewise.
1991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1992 * sysdeps/unix/sysv/linux/dl-sysdep.c
1993 (_dl_discover_osversion): Likewise.
1994
4e9b5995
CD
19952013-03-01 Carlos O'Donell <carlos@redhat.com>
1996
1997 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1998 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1999
e23872c8
SP
20002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2001
e5c74c63
SP
2002 * NEWS: Mention libm performance improvements and non-x86 PI
2003 futex support.
2004
e23872c8
SP
2005 * csu/libc-start.c (__pthread_initialize_minimal): Change
2006 function arguments.
2007 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2008
b5510883
JM
20092013-02-28 Joseph Myers <joseph@codesourcery.com>
2010
2011 [BZ #13550]
2012 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2014 <bp-sym.h> and <bp-asm.h>.
2015 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2017 and <bp-asm.h>.
2018 (memcpy): Don't use BP_SYM.
2019 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2020 <bp-asm.h>.
2021 (__mpn_add_n): Don't use BP_SYM.
2022 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2023 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2024 and <bp-asm.h>.
2025 (__mpn_addmul_1): Don't use BP_SYM.
2026 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2028 <bp-sym.h>.
2029 (_setjmp): Don't use BP_SYM.
2030 (__novmx_setjmp): Likewise.
2031 (__GI__setjmp): Likewise.
2032 (__vmx_setjmp): Likewise.
2033 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2034 <bp-sym.h>.
2035 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2036 (__bzero): Don't use BP_SYM.
2037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2039 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (memcpy): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2045 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2048 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2049 <bp-asm.h>.
2050 (__mpn_lshift): Don't use BP_SYM.
2051 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2053 <bp-asm.h>.
2054 (memset): Don't use BP_SYM.
2055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2057 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2058 <bp-asm.h>.
2059 (__mpn_mul_1): Don't use BP_SYM.
2060 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2062 <bp-sym.h> and <bp-asm.h>.
2063 (memcmp): Don't use BP_SYM.
2064 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2065 <bp-sym.h> and <bp-asm.h>.
2066 (memcpy): Don't use BP_SYM.
2067 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (memset): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2071 <bp-sym.h> and <bp-asm.h>.
2072 (strncmp): Don't use BP_SYM.
2073 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2074 <bp-sym.h> and <bp-asm.h>.
2075 (memcpy): Don't use BP_SYM.
2076 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2077 <bp-sym.h> and <bp-asm.h>.
2078 (memset): Don't use BP_SYM.
2079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2080 <bp-sym.h> and <bp-asm.h>.
2081 (__memchr): Don't use BP_SYM.
2082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2083 <bp-sym.h> and <bp-asm.h>.
2084 (memcmp): Don't use BP_SYM.
2085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2086 <bp-sym.h> and <bp-asm.h>.
2087 (memcpy): Don't use BP_SYM.
2088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2089 <bp-sym.h> and <bp-asm.h>.
2090 (__mempcpy): Don't use BP_SYM.
2091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2092 <bp-sym.h> and <bp-asm.h>.
2093 (__memrchr): Don't use BP_SYM.
2094 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2095 <bp-sym.h> and <bp-asm.h>.
2096 (memset): Don't use BP_SYM.
2097 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2098 <bp-sym.h> and <bp-asm.h>.
2099 (__rawmemchr): Don't use BP_SYM.
2100 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2101 <bp-sym.h> and <bp-asm.h>.
2102 (__STRCMP): Don't use BP_SYM.
2103 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2104 <bp-sym.h> and <bp-asm.h>.
2105 (strchr): Don't use BP_SYM.
2106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2107 <bp-sym.h> and <bp-asm.h>.
2108 (__strchrnul): Don't use BP_SYM.
2109 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2110 <bp-sym.h> and <bp-asm.h>.
2111 (strlen): Don't use BP_SYM.
2112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2113 <bp-sym.h> and <bp-asm.h>.
2114 (strncmp): Don't use BP_SYM.
2115 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2116 <bp-sym.h> and <bp-asm.h>.
2117 (__strnlen): Don't use BP_SYM.
2118 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2119 <bp-asm.h>.
2120 (__mpn_rshift): Don't use BP_SYM.
2121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2123 <bp-sym.h> and <bp-asm.h>.
2124 (__sigsetjmp): Don't use BP_SYM.
2125 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2126 (L(start_addresses)): Don't use BP_SYM.
2127 (_start): Likewise.
2128 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2129 <bp-asm.h>.
2130 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2131 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2132 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2133 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2134 <bp-asm.h>.
2135 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2136 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2137 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2138 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2139 <bp-asm.h>.
2140 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2141 comments.
2142 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2143 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2144 <bp-asm.h>.
2145 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2146 FIXME comments.
2147 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2148 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2149 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2150 <bp-asm.h>.
2151 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2152 comment.
2153 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2154 and <bp-asm.h>.
2155 (strncmp): Don't use BP_SYM,
2156 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2157 <bp-asm.h>.
2158 (__mpn_sub_n): Don't use BP_SYM.
2159 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2160 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2161 and <bp-asm.h>.
2162 (__mpn_submul_1): Don't use BP_SYM.
2163 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2165 <bp-sym.h> and <bp-asm.h>.
2166 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2168 <bp-sym.h> and <bp-asm.h>.
2169 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2170 comment.
2171
8d19fe64
SP
21722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2173
2174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2175 Use ZK to minimize writes to Z.
2176 (sub_magnitudes): Simplify code a bit.
2177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2178 Use ZK to minimize writes to Z.
2179 (sub_magnitudes): Simplify code a bit.
2180
85bd816a
RM
21812013-02-27 Roland McGrath <roland@hack.frob.com>
2182
2183 * csu/gmon-start.c: Add special exception to license text.
2184
b5977bf2
RH
21852013-02-27 Richard Henderson <rth@redhat.com>
2186
2187 * scripts/config.guess: Update from config.git.
2188 * scripts/config.sub: Likewise.
2189
11d6e2f2
SP
21902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2191
09c14ed2
SP
2192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2193
a688864e
SP
2194 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2195
6295157a
SP
2196 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2197
b8de2202
SP
2198 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2199
11d6e2f2
SP
2200 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2201
7e80ddb8
RM
22022013-02-26 Roland McGrath <roland@hack.frob.com>
2203
2204 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2205 [$(build-shared = yes].
7e80ddb8 2206
7da6d9ed
SP
22072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2208
45f05884
SP
2209 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2210 (__mul): Reduce iterations for calculating mantissa.
2211
2236d359
SP
2212 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2213 MPTWO.
2214 (__mpranred): Likewise.
2215
7da6d9ed
SP
2216 [BZ #15160]
2217 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2218 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2219
b7688c42
PE
22202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2221
2222 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2223 Define __attribute__.
2224
53a5c423
SP
22252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2226
2227 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2228 unused.
2229 * posix/regex_internal.h (__attribute): Remove.
2230 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2231 (re_string_context_at): Likewise.
2232 (bitset_not): Use __attribute__ and mark function as possibly
2233 unused.
2234 (bitset_merge): Likewise.
2235 (bitset_mask): Likewise.
2236 (re_string_char_size_at): Likewise.
2237 (re_string_wchar_at): Likewise.
2238 (re_string_elem_size_at): Likewise.
2239
60f5a8b5
SP
22402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2241
2a983a2e
SP
2242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2243 code.
2244 (cc32): Likewise.
2245
e69804d1
SP
2246 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2247 (__acr): Likewise.
2248 (__cpy): Likewise.
2249 (norm): Likewise.
2250 (denorm): Likewise.
2251 (__dbl_mp): Likewise.
2252 (add_magnitudes): Likewise.
2253 (sub_magnitudes): Likewise.
2254 (__mul): Likewise.
2255 (__inv): Likewise.
2256
2f22a1e8
SP
2257 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2258 style.
2259
8930ddc7
SP
2260 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2261 style.
2262
dc60cb11
SP
2263 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2264 code.
2265
60f5a8b5
SP
2266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2267 up changes with default code.
2268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2269 Likewise.
2270
b4d1fd33
AM
22712013-02-24 Allan McRae <allan@archlinux.org>
2272
faf6f8bc
AM
2273 * manual/socket.texi (The Internet Namespace): Order menu items
2274 to match that in the file.
2275
b4d1fd33
AM
2276 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2277 node listing of the info page menu.
2278
2366713d
JM
22792013-02-21 Joseph Myers <joseph@codesourcery.com>
2280
2281 [BZ #13550]
2282 * sysdeps/i386/bp-asm.h: Remove file.
2283 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2284 (PARMS): Do not use macros from bp-asm.h.
2285 (S1): Likewise.
2286 (S2): Likewise.
2287 (SIZE): Likewise.
2288 (__mpn_add_n): Do not use BP_SYM
2289 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2290 "bp-asm.h".
2291 (PARMS): Do not use macros from bp-asm.h.
2292 (S1): Likewise.
2293 (SIZE): Likewise.
2294 (__mpn_addmul_1): Do not use BP_SYM
2295 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2296 "bp-asm.h".
2297 (PARMS): Do not use macros from bp-asm.h.
2298 (SIGMSK): Likewise.
2299 (_setjmp): Likewise. Do not use BP_SYM.
2300 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2301 "bp-asm.h".
2302 (PARMS): Do not use macros from bp-asm.h.
2303 (SIGMSK): Likewise.
2304 (setjmp): Likewise. Do not use BP_SYM.
2305 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2306 "bp-asm.h".
2307 (PARMS): Do not use macros from bp-asm.h.
2308 (__frexp): Do not use BP_SYM.
2309 (frexp): Likewise.
2310 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2311 "bp-asm.h".
2312 (PARMS): Do not use macros from bp-asm.h.
2313 (__frexpf): Do not use BP_SYM.
2314 (frexpf): Likewise.
2315 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2316 "bp-asm.h".
2317 (PARMS): Do not use macros from bp-asm.h.
2318 (__frexpl): Do not use BP_SYM.
2319 (frexpl): Likewise.
2320 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2321 "bp-asm.h".
2322 (PARMS): Do not use macros from bp-asm.h.
2323 (__remquo): Do not use BP_SYM.
2324 (remquo): Likewise.
2325 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2326 "bp-asm.h".
2327 (PARMS): Do not use macros from bp-asm.h.
2328 (__remquof): Do not use BP_SYM.
2329 (remquof): Likewise.
2330 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2331 "bp-asm.h".
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (__remquol): Do not use BP_SYM.
2334 (remquol): Likewise.
2335 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2336 "bp-asm.h".
2337 (PARMS): Do not use macros from bp-asm.h.
2338 (DEST): Likewise.
2339 (SRC): Likewise.
2340 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2341 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2342 "bp-asm.h".
2343 (PARMS): Do not use macros from bp-asm.h.
2344 (strlen): Do not use BP_SYM.
2345 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2346 "bp-asm.h".
2347 (PARMS): Do not use macros from bp-asm.h.
2348 (S1): Likewise.
2349 (S2): Likewise.
2350 (SIZE): Likewise.
2351 (__mpn_add_n): Do not use BP_SYM.
2352 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2353 "bp-asm.h".
2354 (PARMS): Do not use macros from bp-asm.h.
2355 (S1): Likewise.
2356 (SIZE): Likewise.
2357 (__mpn_addmul_1): Do not use BP_SYM.
2358 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2359 weak_alias.
2360 (bzero): Likewise.
2361 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2362 "bp-asm.h".
2363 (PARMS): Do not use macros from bp-asm.h.
2364 (S): Likewise.
2365 (SIZE): Likewise.
2366 (__mpn_lshift): Do not use BP_SYM.
2367 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
2373 (memcpy): Likewise. Do not use BP_SYM.
2374 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2375 libc_hidden_def and weak_alias.
2376 (mempcpy): Do not use BP_SYM in weak_alias.
2377 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2378 "bp-asm.h".
2379 (PARMS): Do not use macros from bp-asm.h.
2380 (DEST): Likewise.
2381 (LEN): Likewise.
2382 [!BZERO_P] (CHR): Likewise.
2383 (memset): Likewise. Do not use BP_SYM.
2384 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
2390 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2391 "bp-asm.h".
2392 (PARMS): Do not use macros from bp-asm.h.
2393 (S): Likewise.
2394 (SIZE): Likewise.
2395 (__mpn_rshift): Do not use BP_SYM.
2396 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2397 "bp-asm.h".
2398 (PARMS): Do not use macros from bp-asm.h.
2399 (STR): Likewise.
2400 (CHR): Likewise.
2401 (strchr): Likewise. Do not use BP_SYM.
2402 (index): Do not use BP_SYM in weak_alias.
2403 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2404 "bp-asm.h".
2405 (PARMS): Do not use macros from bp-asm.h.
2406 (DEST): Likewise.
2407 (SRC): Likewise.
2408 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2409 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2410 "bp-asm.h".
2411 (PARMS): Do not use macros from bp-asm.h.
2412 (strlen): Do not use BP_SYM.
2413 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2414 "bp-asm.h".
2415 (PARMS): Do not use macros from bp-asm.h.
2416 (S1): Likewise.
2417 (S2): Likewise.
2418 (SIZE): Likewise.
2419 (__mpn_sub_n): Do not use BP_SYM.
2420 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2421 "bp-asm.h".
2422 (PARMS): Do not use macros from bp-asm.h.
2423 (S1): Likewise.
2424 (SIZE): Likewise.
2425 (__mpn_submul_1): Do not use BP_SYM.
2426 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2427 "bp-asm.h".
2428 (PARMS): Do not use macros from bp-asm.h.
2429 (S1): Likewise.
2430 (S2): Likewise.
2431 (SIZE): Likewise.
2432 (__mpn_add_n): Do not use BP_SYM.
2433 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2434 weak_alias.
2435 (bzero): Likewise.
2436 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2437 "bp-asm.h".
2438 (PARMS): Do not use macros from bp-asm.h.
2439 (BLK2): Likewise.
2440 (LEN): Likewise.
2441 (memcmp): Do not use BP_SYM.
2442 (bcmp): Do not use BP_SYM in weak_alias.
2443 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2444 "bp-asm.h".
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (DEST): Likewise.
2447 (SRC): Likewise.
2448 (LEN): Likewise.
2449 (memcpy): Likewise. Do not use BP_SYM.
2450 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2451 "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2453 (DEST): Likewise.
2454 (SRC): Likewise.
2455 (LEN): Likewise.
2456 (memmove): Likewise. Do not use BP_SYM.
2457 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2458 "bp-asm.h".
2459 (PARMS): Do not use macros from bp-asm.h.
2460 (DEST): Likewise.
2461 (SRC): Likewise.
2462 (LEN): Likewise.
2463 (__mempcpy): Likewise. Do not use BP_SYM.
2464 (mempcpy): Do not use BP_SYM in weak_alias.
2465 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2466 "bp-asm.h".
2467 (PARMS): Do not use macros from bp-asm.h.
2468 (DEST): Likewise.
2469 (LEN): Likewise.
2470 [!BZERO_P] (CHR): Likewise.
2471 (memset): Likewise. Do not use BP_SYM.
2472 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2473 "bp-asm.h".
2474 (PARMS): Do not use macros from bp-asm.h.
2475 (STR2): Likewise.
2476 (strcmp): Do not use BP_SYM.
2477 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2478 "bp-asm.h".
2479 (PARMS): Do not use macros from bp-asm.h.
2480 (STR): Likewise.
2481 (DELIM): Likewise.
2482 [USE_AS_STRTOK_R] (SAVE): Likewise.
2483 (FUNCTION): Likewise. Do not use BP_SYM.
2484 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2485 aliases.
2486 (strtok_r): Likewise.
2487 (__GI___strtok_r): Likewise.
2488 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2489 (PARMS): Do not use macros from bp-asm.h.
2490 (S): Likewise.
2491 (SIZE): Likewise.
2492 (__mpn_lshift): Do not use BP_SYM.
2493 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2494 (PARMS): Do not use macros from bp-asm.h.
2495 (STR): Likewise.
2496 (CHR): Likewise.
2497 (__memchr): Do not use BP_SYM.
2498 (memchr): Do not use BP_SYM in weak_alias.
2499 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2500 (PARMS): Do not use macros from bp-asm.h.
2501 (BLK2): Likewise.
2502 (LEN): Likewise.
2503 (memcmp): Do not use BP_SYM.
2504 (bcmp): Do not use BP_SYM in weak_alias.
2505 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2506 (PARMS): Do not use macros from bp-asm.h.
2507 (S1): Likewise.
2508 (SIZE): Likewise.
2509 (__mpn_mul_1): Do not use BP_SYM.
2510 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2511 "bp-asm.h".
2512 (PARMS): Do not use macros from bp-asm.h.
2513 (STR): Likewise.
2514 (CHR): Likewise.
2515 (__rawmemchr): Do not use BP_SYM.
2516 (rawmemchr): Do not use BP_SYM in weak_alias.
2517 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2518 (PARMS): Do not use macros from bp-asm.h.
2519 (S): Likewise.
2520 (SIZE): Likewise.
2521 (__mpn_rshift): Do not use BP_SYM.
2522 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2523 (PARMS): Do not use macros from bp-asm.h.
2524 (SIGMSK): Likewise.
2525 (__sigsetjmp): Likewise. Do not use BP_SYM.
2526 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2527 (_start): Do not use BP_SYM.
2528 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2529 (PARMS): Do not use macros from bp-asm.h.
2530 (DEST): Likewise.
2531 (SRC): Likewise.
2532 (__stpcpy): Likewise. Do not use BP_SYM.
2533 (stpcpy): Do not use BP_SYM in weak_alias.
2534 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2535 "bp-asm.h".
2536 (PARMS): Do not use macros from bp-asm.h.
2537 (DEST): Likewise.
2538 (SRC): Likewise.
2539 (LEN): Likewise.
2540 (__stpncpy): Likewise. Do not use BP_SYM.
2541 (stpncpy): Do not use BP_SYM in weak_alias.
2542 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2544 (STR): Likewise.
2545 (CHR): Likewise.
2546 (strchr): Likewise. Do not use BP_SYM.
2547 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2548 "bp-asm.h".
2549 (PARMS): Do not use macros from bp-asm.h.
2550 (STR): Likewise.
2551 (CHR): Likewise.
2552 (__strchrnul): Likewise. Do not use BP_SYM.
2553 (strchrnul): Do not use BP_SYM in weak_alias.
2554 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2555 "bp-asm.h".
2556 (PARMS): Do not use macros from bp-asm.h.
2557 (STOP): Likewise.
2558 (strcspn): Do not use BP_SYM.
2559 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2560 "bp-asm.h".
2561 (PARMS): Do not use macros from bp-asm.h.
2562 (STR): Likewise.
2563 (STOP): Likewise.
2564 (strpbrk): Likewise. Do not use BP_SYM.
2565 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2566 "bp-asm.h".
2567 (PARMS): Do not use macros from bp-asm.h.
2568 (STR): Likewise.
2569 (CHR): Likewise.
2570 (strrchr): Likewise. Do not use BP_SYM.
2571 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2572 (PARMS): Do not use macros from bp-asm.h.
2573 (SKIP): Likewise.
2574 (strspn): Do not use BP_SYM.
2575 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2576 (PARMS): Do not use macros from bp-asm.h.
2577 (STR): Likewise.
2578 (DELIM): Likewise.
2579 (SAVE): Likewise.
2580 (FUNCTION): Likewise. Do not use BP_SYM.
2581 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2582 aliases.
2583 (strtok_r): Likewise.
2584 (__GI___strtok_r): Likewise.
2585 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2587 (S1): Likewise.
2588 (S2): Likewise.
2589 (SIZE): Likewise.
2590 (__mpn_sub_n): Do not use BP_SYM.
2591 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2592 "bp-asm.h".
2593 (PARMS): Do not use macros from bp-asm.h.
2594 (S1): Likewise.
2595 (SIZE): Likewise.
2596 (__mpn_submul_1): Do not use BP_SYM.
2597 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2598 <bp-sym.h>.
2599 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2600 and <bp-asm.h>.
2601 (PARMS): Do not use macros from bp-asm.h.
2602 (FLAGS): Likewise.
2603 (PTID): Likewise.
2604 (TLS): Likewise.
2605 (CTID): Likewise.
2606 (__clone): Do not use BP_SYM.
2607 (clone): Do not use BP_SYM in weak_alias.
2608 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2609 and <bp-asm.h>.
2610 (PARMS): Do not use macros from bp-asm.h.
2611 (LEN): Likewise.
2612 (__mmap64): Do not use BP_SYM.
2613 (mmap64): Do not use BP_SYM in weak_alias.
2614 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2615 <bp-sym.h> and <bp-asm.h>.
2616 (PARMS): Do not use macros from bp-asm.h.
2617 (__posix_fadvise64_l64): Do not use BP_SYM.
2618 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2619 (PARMS): Do not use macros from bp-asm.h.
2620 (NSOPS): Likewise.
2621 (semtimedop): Do not use BP_SYM.
2622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2623 and <bp-asm.h>.
2624
582a3cff
AM
26252013-02-21 Allan McRae <allan@archlinux.org>
2626
2627 * manual/message.texi (Charset conversion in gettext):
2628 Move @end statement to beginning of line.
2629
bab8a695
SP
26302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2631
80945231
SP
2632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2633 static.
2634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2635 Likewise.
2636
bab8a695
SP
2637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2638 (denorm): Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2641
e21d7aa7
AK
26422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2643
2644 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2645 tail-call to the resolved function if pltexit isn't needed.
2646
4c7a4263
SP
26472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2648
2649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2650 or Y being zero as being unlikely.
2651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2652 Likewise.
2653
41f49342
CD
26542013-02-20 Carlos O'Donell <carlos@redhat.com>
2655
2656 * manual/nss.texi (System Databases and Name Service Switch):
2657 Remove frobnicate @pxref.
2658
50022a93
TS
26592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2660
2661 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2662 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2663
08cbd996
PM
26642013-02-20 Petr Machata <pmachata@redhat.com>
2665
2666 * elf/elf.h (R_ARM_TARGET1): New macro.
2667 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2668 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2669 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2670 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2671 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2672 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2673 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2674 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2675 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2676 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2677 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2678 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2679 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2680 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2681 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2682 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2683 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2684 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2685 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2686 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2687 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2688 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2689 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2690 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2691 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2692 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2693 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2694 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2695 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2696 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2697 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2698 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2699 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2700 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2701 (R_ARM_THM_GOT_BREL12): Likewise.
2702 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2703 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2704 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2705 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2706 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2707 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2708 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2709 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2710 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2711
c7b275d6
TS
27122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2713
2714 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2715 __attribute_used__ to __attribute__ ((unused)).
2716
20cd7fb3
SP
27172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2718
2719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2720 powerpc mpa.c.
2721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2722 comment formatting.
2723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2724
92945b52
JM
27252013-02-19 Joseph Myers <joseph@codesourcery.com>
2726
2727 [BZ #13550]
2728 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2729 Remove macro.
2730 (ENTER): Remove both macro definitions.
2731 (LEAVE): Likewise.
2732 (CHECK_BOUNDS_LOW): Likewise.
2733 (CHECK_BOUNDS_HIGH): Likewise.
2734 (CHECK_BOUNDS_BOTH): Likewise.
2735 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2736 (RETURN_BOUNDED_POINTER): Likewise.
2737 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2738 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2739 (POP_ERRNO_LOCATION_RETURN): Likewise.
2740 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2741 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2742 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2743 macros.
2744 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2745 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2746 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2747 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2748 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2749 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2750 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2751 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2752 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2753 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2754 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2755 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2757 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2758 removed macros.
2759 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2760 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2761 macros.
2762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2763 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2764 * sysdeps/i386/i586/memset.S (memset): Likewise.
2765 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2767 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2768 macros.
2769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2771 Change uses of L(2) to L(out).
2772 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2773 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2774 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2775 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2776 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2777 removed macros.
2778 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2779 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2780 macros.
2781 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2782 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2783 (RETURN): Do not use macro LEAVE.
2784 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2785 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2786 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2787 * sysdeps/i386/i686/memset.S (memset): Likewise.
2788 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2789 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2791 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2792 Likewise.
2793 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2794 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2795 L(1_2) and L(1_3) into L(1).
2796 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2797 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2799 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2800 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2801 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2802 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2804 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2805 macros.
2806 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2807 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2808 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2809 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2810 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2811 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2812 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2813 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2814 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2815 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2816 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2817 * sysdeps/i386/strspn.S (strspn): Likewise.
2818 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2819 conditional code.
2820 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2821 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2822 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2823 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2824 L(1_3) into L(1_1).
2825 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2827 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2828 macros.
2829 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2830
2389741a
JJ
28312013-02-19 Jakub Jelinek <jakub@redhat.com>
2832
2833 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2834 macro.
2835
2016b3cd
SP
28362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2837
e4f22324
SP
2838 * math/atest-exp.c (exp_mpn): Remove ROUND.
2839 * math/atest-exp2.c (exp_mpn): Likewise.
2840 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2841
2016b3cd
SP
2842 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2843 * stdlib/tst-tls-atexit-lib.c: Likewise.
2844 * stdlib/tst-tls-atexit.c: Likewise.
2845
4be9b544
MF
28462013-02-18 Mike Frysinger <vapier@gentoo.org>
2847
2848 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2849 and __attribute_alloc_size__.
2850
2f62b9ee
MF
28512013-02-18 Mike Frysinger <vapier@gentoo.org>
2852
2853 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2854 __attribute_alloc_size__.
2855 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2856 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2857
6ff444c4
MF
28582013-02-18 Mike Frysinger <vapier@gentoo.org>
2859
2860 * include/programs/xmalloc.h: New file.
2861 * catgets/gencat.c: Include it.
2862 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2863 * elf/pldd.c: Likewise.
2864 * iconv/iconv_charmap.c: Likewise.
2865 * iconv/iconvconfig.c: Likewise.
2866 * iconv/strtab.c: Likewise.
2867 * locale/programs/locale.c: Likewise.
2868 * locale/programs/localedef.h: Likewise.
2869 * locale/programs/simple-hash.c: Likewise.
2870 * nscd/nscd.h: Likewise.
2871 * nss/makedb.c: Likewise.
2872 * sysdeps/generic/ldconfig.h: Likewise.
2873
be179c8a
SP
28742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2875
ba384f6e
SP
2876 * Versions.def: Add GLIBC_2.18.
2877 * include/link.h (struct link_map): New member l_tls_dtor_count.
2878 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2879 (__call_tls_dtors): Likewise.
2880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2881 __cxa_thread_atexit_impl.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2887 Likewise.
2888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2889 Likewise.
2890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2892 Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2897 Likewise.
2898 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2899 (tests): Add test case tst-tls-atexit.
2900 (modules-names): Add shared library for tst-tls-atexit.
2901 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2902 (GLIBC_PRIVATE): Add __call_tls_dtors.
2903 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2904 for libstdc++.
2905 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2906 * stdlib/tst-tls-atexit.c: New test case.
2907 * stdlib/tst-tls-atexit-lib.c: New test case.
2908
ffaa74cf 2909 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2910
be179c8a
SP
2911 * elf/Versions (ld): Add _dl_find_dso_for_object.
2912 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2913 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2914 (dl_open_worker): Use _dl_find_dso_for_object.
2915 * elf/dl-sym.c (do_sym): Likewise.
2916 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2917
f78b5caa
AK
29182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2919
2920 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2921 Syntactic changes only.
2922 (_dl_runtime_profile): Do a tail-call to the resolved function.
2923
29691210
JM
29242013-02-17 Joseph Myers <joseph@codesourcery.com>
2925
2926 [BZ #13550]
2927 * sysdeps/x86_64/bp-asm.h: Remove file.
2928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2929 <bp-sym.h> and <bp-asm.h>.
2930 (__clone): Do not use BP_SYM.
2931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2932 <bp-sym.h> and <bp-asm.h>.
2933 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2934 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2935 "bp-asm.h".
2936 (_setjmp): Do not use BP_SYM.
2937 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2938 "bp-asm.h".
2939 (setjmp): Do not use BP_SYM.
2940 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2941 libc_hidden_def.
2942 (mempcpy): Do not use BP_SYM in weak_alias.
2943 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2944 "bp-asm.h".
2945 (strchr): Do not use BP_SYM.
2946 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2947 "bp-asm.h".
2948 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2949 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2950 (_start): Do not use BP_SYM.
2951 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2952 "bp-asm.h".
2953 (strcat): Do not use BP_SYM.
2954 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2955 "bp-asm.h".
2956 (STRCMP): Do not use BP_SYM.
2957 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2958 "bp-asm.h".
2959 (STRCPY): Do not use BP_SYM.
2960 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2961 "bp-asm.h".
2962 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2963 "bp-asm.h".
2964 (FUNCTION): Do not use BP_SYM.
2965 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2966 weak_alias.
2967 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2968
f238fd19
AJ
29692013-02-17 Andreas Jaeger <aj@suse.de>
2970
2971 * time/Versions: Sort entries.
2972 * string/Versions: Likewise.
2973 * resolv/Versions: Likewise.
2974 * posix/Versions: Likewise.
2975 * iconv/Versions: Likewise.
2976 * elf/Versions: Likewise.
2977 * wcsmbs/Versions: Likewise.
2978
bd07f23c 29792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2980
22af19f9
SP
2981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2982 loop termination condition.
2983
4709fe76
SP
2984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2985 variable to calculate EZ.
2986 (__sqr): Likewise.
2d0e0f29
SP
2987
2988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2989 the lower precision input.
2990
daaa7713
JM
29912013-02-15 Joseph Myers <joseph@codesourcery.com>
2992
2993 [BZ #13550]
2994 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2995 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2996 (run-via-rtld-prefix): Do not handle %-bp tests.
2997 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2998 (all-object-suffixes): Remove .ob.
2999 (bppfx): Remove variable.
3000 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3001 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3002 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3003 [$(build-bounded) = yes] (libtype.ob): Likewise.
3004 * Makerules (elide-routines.ob): Remove variable.
3005 (do-tests-clean): Do not handle *-bp.out.
3006 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3007 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3008 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3009 (tests): Do not include $(tests-bp.out).
3010 (xtests): Do not include $(xtests-bp.out).
3011 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3012 [$(build-bounded) = yes] ($(addprefix
3013 $(objpfx),$(binaries-bounded))): Remove rule.
3014 ($(objpfx)%-bp.out): Remove rule.
3015 * config.make.in (build-bounded): Remove variable.
3016 * crypt/Makefile [$(build-bounded) = yes]
3017 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3018 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3019 append to variable.
3020 [$(build-bounded) = yes] (install-lib): Likewise.
3021 [$(build-bounded) = yes] (generated): Likewise.
3022 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3023 Remove rule.
3024 * intl/Makefile [$(build-bounded) = yes]
3025 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3026 * math/Makefile [$(build-bounded) = yes]
3027 ($(tests:%=$(objpfx)%-bp): Likewise.
3028 * misc/Makefile [$(build-bounded) = yes]
3029 ($(objpfx)tst-tsearch-bp): Likewise.
3030 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3031 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3032 Remove dependency.
3033 * string/Makefile (o-objects.ob): Remove variable.
3034 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3035 (CFLAGS-.ob): Remove variable.
3036 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3038 both definitions of variable.
3039 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3040 (ASFLAGS-.ob): Remove variable.
3041
e97ed6dd
JM
30422013-02-14 Joseph Myers <joseph@codesourcery.com>
3043
2bdd4ca6
JM
3044 [BZ #13550]
3045 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3046 Remove __BOUNDED_POINTERS__ from condition.
3047 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3048 * string/bits/string2.h [!__NO_STRING_INLINES &&
3049 !__BOUNDED_POINTERS__]: Likewise.
3050 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3051 Likewise.
3052 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3053 Remove conditional code.
3054 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3055 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3056 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3057 condition.
3058
e97ed6dd
JM
3059 [BZ #13550]
3060 * csu/libc-start.c: Do not include <bp-sym.h>.
3061 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3062 * elf/dl-open.c: Do not include <bp-sym.h>.
3063 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3064 * math/fegetenv.c: Do not include <bp-sym.h>.
3065 (fegetenv): Do not use BP_SYM in versioned symbols.
3066 * nptl/sysdeps/pthread/bits/libc-lockP.h
3067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3068 <bp-sym.h>.
3069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3070 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3072 (__pthread_mutex_destroy): Likewise.
3073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3074 (__pthread_mutex_lock): Likewise.
3075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3076 (__pthread_mutex_trylock): Likewise.
3077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3078 (__pthread_mutex_unlock): Likewise.
3079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3080 (__pthread_mutexattr_init): Likewise.
3081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3082 (__pthread_mutexattr_destroy): Likewise.
3083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3084 (__pthread_mutexattr_settype): Likewise.
3085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3086 (__pthread_rwlock_init): Likewise.
3087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3088 (__pthread_rwlock_destroy): Likewise.
3089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3090 (__pthread_rwlock_rdlock): Likewise.
3091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3092 (__pthread_rwlock_tryrdlock): Likewise.
3093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3094 (__pthread_rwlock_wrlock): Likewise.
3095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3096 (__pthread_rwlock_trywrlock): Likewise.
3097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3098 (__pthread_rwlock_unlock): Likewise.
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3100 (__pthread_key_create): Likewise.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_setspecific): Likewise.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_getspecific): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3106 Likewise.
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (_pthread_cleanup_push_defer): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (_pthread_cleanup_pop_restore): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (pthread_setcancelstate): Likewise.
3113 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3114 <bp-sym.h>.
3115 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3116 (memchr): Do not use BP_SYM in weak_alias.
3117 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3118 (fegetenv): Do not use BP_SYM in versioned symbols.
3119 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3120 (fesetenv): Do not use BP_SYM in versioned symbols.
3121 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3122 (feupdateenv): Do not use BP_SYM in versioned symbols.
3123 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3124 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3125 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3126 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3127 (open64): Do not use BP_SYM in weak_alias.
3128 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3129 (fegetenv): Do not use BP_SYM in versioned symbols.
3130 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3131 (fesetenv): Do not use BP_SYM in versioned symbols.
3132 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3133 (feupdateenv): Do not use BP_SYM in versioned symbols.
3134 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3135 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3136 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3137 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3138 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3139 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3141 <bp-sym.h>.
3142 (__libc_start_main): Do not use BP_SYM.
3143
d6752ccd
SP
31442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3145
cb57ce60
SP
3146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3147 redundant return line.
3148 (norm): Likewise.
3149 (denorm): Likewise.
3150 (dbl_mp): Likewise.
3151 (sub_magnitudes): Likewise.
3152 (__add): Likewise.
3153 (__sub): Likewise.
3154 (__mul): Likewise.
3155 (__inv): Likewise.
3156 (__dvd): Likewise.
3157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3158 (norm): Likewise.
3159 (denorm): Likewise.
3160 (dbl_mp): Likewise.
3161 (sub_magnitudes): Likewise.
3162 (__add): Likewise.
3163 (__sub): Likewise.
3164 (__mul): Likewise.
3165 (__inv): Likewise.
3166 (__dvd): Likewise.
3167
f414520d
SP
3168 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3169 instead of __mul.
3170 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3171 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3172 (cc32): Likewise.
3173
d6752ccd
SP
3174 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3175 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3177 of __mul for squares.
3178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3179 function
3180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3181 Likewise.
3182 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3184
70d9946a
JM
31852013-02-13 Joseph Myers <joseph@codesourcery.com>
3186
3187 [BZ #13550]
3188 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3189 code.
3190 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3191 prototype or function definition. Rename ubp_* variables and
3192 parameters. Remove argv definitions conditional on
3193 [__BOUNDED_POINTERS__].
3194 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3195 * elf/dl-runtime.c (_dl_fixup): Likewise.
3196 * include/set-hooks.h (RUN_HOOK): Likewise.
3197 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3198 definition.
3199 * string/strcpy.c (strcpy): Do not use __unbounded.
3200 * sysdeps/generic/frame.h (struct layout): Likewise.
3201 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3202 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3203 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3204 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3205 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3206 (__backtrace): Likewise.
3207 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3208 use __ptrvalue.
3209 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3210 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3211 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3214 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3216 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3217 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3218 Do not use __unbounded.
3219 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3220 Rename __unboundedrlimits parameter to rlimits in prototype.
3221 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3222 Do not use __unbounded.
3223 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3224 not use __ptrvalue.
3225 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3226 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3227 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3228 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3229 __ptrvalue or __unbounded.
3230 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3232 use __unbounded.
3233 (__new_msgctl): Do not use __ptrvalue.
3234 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3235 __unbounded.
3236 (__libc_msgrcv): Do not use __ptrvalue.
3237 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3238 startup_info): Do not use __unbounded.
3239 (__libc_start_main): Likewise. Rename ubp_* variables and
3240 parameters. Remove argv definitions conditional on
3241 [__BOUNDED_POINTERS__].
3242 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3243 __ptrvalue.
3244 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3245 use __unbounded.
3246 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3247 or __ptrvalue.
3248 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3249 use __unbounded.
3250 (__new_shmctl): Do not use __ptrvalue.
3251 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3252 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3253 Likewise.
3254 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3256 (__libc_sigaction): Likewise.
3257 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3259 Likewise.
3260 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3261
cc7834d6
OB
32622013-02-13 Ondřej Bílka <neleai@seznam.cz>
3263
ffb1ec7b 3264 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3265
3266 * string/mempcpy.c: Implement by calling memcpy.
3267
bdf02814
SP
32682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3269
c2af38aa
SP
3270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3271
4e92d59e
SP
3272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3273 evaluation.
3274
909279a5
SP
3275 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3276 values in the mantissa.
3277
bdf02814
SP
3278 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3279 minimize writes to Z.
3280 (sub_magnitudes): Simplify code a bit.
3281
cd525923
RM
32822013-02-12 Roland McGrath <roland@hack.frob.com>
3283
3284 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3285 from the message. The linker prefixes all warnings with that already.
3286
7e2f0d2d
AS
32872013-02-12 Andreas Schwab <schwab@suse.de>
3288
a445af0b
AS
3289 [BZ #15078]
3290 * posix/regexec.c (extend_buffers): Add parameter min_len.
3291 (check_matching): Pass minimum needed length.
3292 (clean_state_log_if_needed): Likewise.
3293 (get_subexp): Likewise.
3294 * posix/Makefile (tests): Add bug-regex34.
3295 (bug-regex34-ENV): Define.
3296 * posix/bug-regex34.c: New file.
3297
7e2f0d2d
AS
3298 [BZ #11561]
3299 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3300 elements compare against the byte sequence of it, not its name.
3301 * posix/Makefile (tests): Add bug-regex35.
3302 (bug-regex35-ENV): Define.
3303 * posix/bug-regex35.c: New file.
3304
a175b684
TV
33052013-02-11 Tom de Vries <tom@codesourcery.com>
3306
3307 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3308 comment.
3309 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3310 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3311 (CHECK_EOL): Add undef.
3312
310998fe 33132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3314
3315 * bits/stdlib-bsearch.h: New file.
3316 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3317 * stdlib/stdlib.h: Likewise.
41eda41d 3318
8ded91fb
RM
33192013-02-11 Roland McGrath <roland@hack.frob.com>
3320
3321 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3322 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3323 declaration.
3324 * manual/search.texi (Array Search Function): Add missing const in
3325 lfind prototype.
3326 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3327 declaration to use rlim_t.
3328 (Basic Scheduling Functions): Remove erroneous const from
3329 sched_getparam prototype. Remove erroneous * from
3330 sched_get_priority_max and sched_get_priority_min prototypes.
3331 (Resource Usage): Fix summary @comment on vtimes to refer to
3332 sys/vtimes.h rather than vtimes.h.
3333 Add missing *s in vtimes prototype.
3334 (Limits on Resources): Fix ulimit prototype to return long int.
3335 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3336 prototypes to use long int rather than double.
3337 (BSD Random): Fix initstate and setstate to use char *, not void *.
3338 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3339 prototype to make second argument 'struct aiocb64 *const[]'.
3340 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3341 (Status of AIO Operations): Remove erroneous const in aio_return and
3342 aio_return64 prototypes.
3343 (Synchronizing I/O): Fix sync prototype to return void.
3344 * manual/startup.texi (Suboptions): Remove an erroneous const in
3345 getsubopt prototype.
3346 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3347 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3348 use size_t rather than int.
3349 (Scanning All Users): Likewise for getpwent_r.
3350 (Setting Groups): Add missing const to setgroups prototype.
3351 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3352 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3353 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3354 'const void *' rather than 'const char *'.
3355 (Host Address Functions): Likewise for inet_ntop.
3356 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3357 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3358 ssize_t for return value.
3359 (Sending Data): Likewise for send, sendto, sendmsg.
3360 (Socket Option Functions): Add a missing const in setsockopt prototype.
3361 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3362 use wchar_t for the argument.
3363 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3364 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3365 take no arguments.
3366 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3367 double/float/long double for second argument.
3368 Fix return types of significand, significandf, significandl.
3369 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3370 argument in fchmod prototype.
3371 (File Owner): Use uid_t and gid_t in fchown prototype.
3372 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3373 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3374 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3375 use 'const struct dirent **' as argument types to CMP function pointer
3376 argument.
3377 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3378 (File Times): Fix summary magic @comment for struct utimbuf and utime
3379 to refer to utime.h, not time.h.
3380 * manual/string.texi (Argz Functions): Add missing const in
3381 argz_extract and argz_next prototypes.
3382 (Finding Tokens in a String): Likewise for basename.
3383 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3384 (Copying and Concatenation): Fix typo in wmemmove prototype.
3385 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3386 (Signal Stack): Remove erroneous const in sigstack prototype.
3387 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3388 prototype.
3389 (Simple Calendar Time): Likewise for stime.
3390 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3391 prototype.
3392 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3393 say sys/sysctl.h instead.
3394 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3395 and vsyslog prototypes.
3396
fe77fe6d
TV
33972013-02-11 Tom de Vries <tom@codesourcery.com>
3398
3399 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3400 Remove.
3401
3a09b620
RM
34022013-02-11 Roland McGrath <roland@hack.frob.com>
3403
3404 * misc/sys/mman.h: Fix typo in mremap comment.
3405
550a0b89
RM
34062013-02-08 Roland McGrath <roland@hack.frob.com>
3407
3408 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3409 the '\0' terminator.
3410
a2da1673
JM
34112013-02-08 Joseph Myers <joseph@codesourcery.com>
3412
3413 [BZ #13550]
3414 * debug/segfault.c: Don't include <bp-checks.h>.
3415 * sysdeps/generic/bp-checks.h: Remove file.
3416 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3417 (__GETDENTS): Don't use CHECK_N.
3418 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3419 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3420 (__getgroups): Don't use CHECK_N.
3421 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3422 (setgroups): Don't use CHECK_N.
3423 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3424 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3425 (__libc_msgrcv): Don't use CHECK_N.
3426 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3427 (__libc_msgsnd): Don't use CHECK_N.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3429 <bp-checks.h>.
3430 (__libc_pread): Don't use CHECK_N.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3432 include <bp-checks.h>.
3433 (__libc_pread64): Don't use CHECK_N.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3435 include <bp-checks.h>.
3436 (__libc_pwrite): Don't use CHECK_N.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3438 include <bp-checks.h>.
3439 (__libc_pwrite64): Don't use CHECK_N.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3441 <bp-checks.h>.
3442 (__libc_pread): Don't use CHECK_N.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3444 include <bp-checks.h>.
3445 (__libc_pread64): Don't use CHECK_N.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3447 include <bp-checks.h>.
3448 (__libc_pwrite): Don't use CHECK_N.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3450 include <bp-checks.h>.
3451 (__libc_pwrite64): Don't use CHECK_N.
3452 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3453 (do_pread): Don't use CHECK_N.
3454 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3455 (do_pread64): Don't use CHECK_N.
3456 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3457 (do_pwrite): Don't use CHECK_N.
3458 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3459 (do_pwrite64): Don't use CHECK_N.
3460 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3461 (__libc_readv): Don't use CHECK_N.
3462 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3463 (semop): Don't use CHECK_N.
3464 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3465 <bp-checks.h>.
3466 (semtimedop): Don't use CHECK_N.
3467 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3468 (__libc_pread): Don't use CHECK_N.
3469 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3470 <bp-checks.h>.
3471 (__libc_pread64): Don't use CHECK_N.
3472 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3473 <bp-checks.h>.
3474 (__libc_pwrite): Don't use CHECK_N.
3475 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3476 <bp-checks.h>.
3477 (__libc_pwrite64): Don't use CHECK_N.
3478 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3479 <bp-checks.h>.
3480 (__libc_msgrcv): Don't use CHECK_N.
3481 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3482 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3483 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3484 (__libc_writev): Don't use CHECK_N.
3485
b84660a8
RM
34862013-02-08 Roland McGrath <roland@hack.frob.com>
3487
7f3e75f8
RM
3488 * string/strcpy.c: Removed unused variable.
3489
b84660a8
RM
3490 * Makeconfig (+sysdep-includes): Define with := rather than =.
3491 Use an existing include/ subdir of each sysdeps dir before it.
3492
471514d3
CD
34932013-02-08 Carlos O'Donell <carlos@redhat.com>
3494
3495 * nscd/connection.c (register_traced_file): Comment function.
3496 [HAVE_INOTIFY] (union __inev): Define.
3497 [HAVE_INOTIFY] (inotify_check_files): New function.
3498 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3499 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3500 clear_db_cache.
3501 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3502
b2d3c3be
CD
35032013-02-08 Carlos O'Donell <carlos@redhat.com>
3504
3505 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3506 loaded if not already and that a failure is permanent.
3507
b39949d2
CD
35082013-02-08 Carlos O'Donell <carlos@redhat.com>
3509
ddacd1db 3510 [BZ #15006]
b39949d2
CD
3511 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3512 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3513
b2c9eff4
JM
35142013-02-08 Joseph Myers <joseph@codesourcery.com>
3515
f3aae3f3
JM
3516 [BZ #13550]
3517 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3518 (CHECK_1_NULL_OK): Likewise.
3519 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3520 (__fxstat): Do not use CHECK_1.
3521 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3522 <bp-checks.h>.
3523 (___fxstat64): Do not use CHECK_1.
3524 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3525 <bp-checks.h>.
3526 (__fxstatat): Do not use CHECK_1.
3527 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3528 <bp-checks.h>.
3529 (__fxstatat64): Do not use CHECK_1.
3530 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3531 <bp-checks.h>.
3532 (__fxstat): Do not use CHECK_1.
3533 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3534 <bp-checks.h>.
3535 (__fxstatat): Do not use CHECK_1.
3536 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3537 <bp-checks.h>.
3538 (__getresgid): Do not use CHECK_1.
3539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3540 <bp-checks.h>.
3541 (__getresuid): Do not use CHECK_1.
3542 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3543 <bp-checks.h>.
3544 (__lxstat): Do not use CHECK_1.
3545 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3546 <bp-checks.h>.
3547 (__old_msgctl): Do not use CHECK_1.
3548 (__new_msgctl): Likewise.
3549 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3550 <bp-checks.h>.
3551 (__new_setrlimit): Do not use CHECK_1.
3552 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3553 <bp-checks.h>.
3554 (__old_shmctl): Do not use CHECK_1.
3555 (__new_shmctl): Likewise.
3556 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3557 <bp-checks.h>.
3558 (__xstat): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3560 (__lxstat): Do not use CHECK_1.
3561 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3562 <bp-checks.h>.
3563 (___lxstat64): Do not use CHECK_1.
3564 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3565 (__old_msgctl): Do not use CHECK_1.
3566 (__new_msgctl): Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3568 <bp-checks.h>.
3569 (__gettimeofday): Do not use CHECK_1.
3570 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3571 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3572 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3573 <bp-checks.h>.
3574 (__gettimeofday): Do not use CHECK_1.
3575 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3576 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3577 (__new_shmctl): Do not use CHECK_1.
3578 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3579 <bp-checks.h>.
3580 (do_sigtimedwait): Do not use CHECK_1.
3581 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3582 <bp-checks.h>.
3583 (do_sigwaitinfo): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3585 <bp-checks.h>.
3586 (msgctl): Do not use CHECK_1.
3587 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3588 <bp-checks.h>.
3589 (shmctl): Do not use CHECK_1.
3590 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3591 (ustat): Do not use CHECK_1.
3592 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3593 <bp-checks.h>.
3594 (__fxstat): Do not use CHECK_1.
3595 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3596 <bp-checks.h>.
3597 (__fxstatat): Do not use CHECK_1.
3598 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3599 <bp-checks.h>.
3600 (__lxstat): Do not use CHECK_1.
3601 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3602 <bp-checks.h>.
3603 (__xstat): Do not use CHECK_1.
3604 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3605 (__xstat): Do not use CHECK_1.
3606 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3607 (___xstat64): Do not use CHECK_1.
3608
b2c9eff4
JM
3609 [BZ #13550]
3610 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3611 definitions.
3612 (CHECK_BOUNDS_HIGH): Likewise.
3613 * string/strcpy.c: Do not include <bp-checks.h>.
3614 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3615
f1d70dad
RM
36162013-02-07 Roland McGrath <roland@hack.frob.com>
3617
3618 * nscd/nscd-client.h (__nscd_drop_map_ref):
3619 Add __attribute__ ((unused)).
3620 * nis/nss-nisplus.h (niserr2nss): Likewise.
3621
3622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3623 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3624
3625 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3626 Remove inline keyword.
3627 * include/rounding-mode.h (round_away): Likewise.
3628 * libio/wfileops.c (adjust_wide_data): Likewise.
3629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3630 (__m128i_strloadu_tolower): Likewise.
3631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3632 (__m128i_strloadu_tolower): Likewise.
3633 * time/mktime.c (ydhms_diff): Likewise.
3634 * locale/elem-hash.h (elem_hash): Likewise.
3635 * locale/setlocale.c (setdata): Likewise.
3636 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3637 (re_string_wchar_at): Likewise.
3638 (bitset_not, bitset_merge, bitset_mask): Likewise.
3639 [!(__GNUC__ > 3)] (inline): Remove macro.
3640 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3641 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3642 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3643 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3644 * string/memcmp.c (memcmp_bytes): Likewise.
3645 * locale/programs/locarchive.c (compute_hashval): Likewise.
3646 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3647 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3648 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3649 * nss/getent.c (print_rpc, print_protocols): Likewise.
3650 (print_passwd, print_group, print_aliases): Likewise.
3651 * nis/nss-nisplus.h (niserr2nss): Likewise.
3652 * nscd/connections.c (restart_p): Likewise.
3653 Change return type to bool.
3654
eab55bfb
RM
36552013-02-05 Roland McGrath <roland@hack.frob.com>
3656
7bd642f5
RM
3657 * Makeconfig (all-Depend-files): Add existing
3658 $(sorted-subdirs:=/Depend) files.
3659 (all-subdirs): Remove nss.
3660 * sysdeps/unix/inet/Subdirs: Add it here instead.
3661 * hesiod/Depend: New file.
3662
573c29b2
RM
3663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3664 instead of calling alloca.
3665
b2e25af0
RM
3666 * io/lseek.c (__lseek): Rename to __libc_lseek.
3667 Define __lseek as an alias.
3668
eab55bfb
RM
3669 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3670
9a0d1941
CD
36712013-02-04 Carlos O'Donell <carlos@redhat.com>
3672
3673 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3674 else clause and remove check for non-standard endianness.
3675
b83bbec4
DM
36762013-02-04 David S. Miller <davem@davemloft.net>
3677
3678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3679
6277fdab
JM
36802013-02-04 Joseph Myers <joseph@codesourcery.com>
3681
3682 [BZ #13550]
3683 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3684 (__ubp_memchr): Remove prototype.
3685 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3686 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3687 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3688 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3689 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3690 Remove alias.
3691 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3692 (__ubp_memchr): Likewise.
3693 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3694 (__ubp_memchr): Likewise.
3695 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3696 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3697 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3699 CHECK_STRING.
3700 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3701 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3702 (__getcwd): Do not use CHECK_STRING.
3703 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3704 <bp-checks.h>.
3705 (__real_chown): Do not use CHECK_STRING.
3706 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3707 <bp-checks.h>.
3708 (fchownat): Do not use CHECK_STRING.
3709 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3710 CHECK_STRING.
3711 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3712 <bp-checks.h>.
3713 (__lchown): Do not use CHECK_STRING.
3714 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3715 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3716 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3717 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3719 include <bp-checks.h>.
3720 (truncate64): Do not use CHECK_STRING.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3722 <bp-checks.h>.
3723 (__real_chown): Do not use CHECK_STRING.
3724 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3725 <bp-checks.h>.
3726 (__lchown): Do not use CHECK_STRING.
3727 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3728 <bp-checks.h>.
3729 (__chown): Do not use CHECK_STRING.
3730 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3731 <bp-checks.h>.
3732 (truncate64): Do not use CHECK_STRING.
3733 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3736 (__xmknod): Do not use CHECK_STRING.
3737 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3738 <bp-checks.h>.
3739 (__xmknodat): Do not use CHECK_STRING.
3740 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3741 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3742
903ae060
AS
37432013-02-04 Andreas Schwab <schwab@suse.de>
3744
3745 [BZ #14142]
3746 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3747 * include/netdb.h: Likewise for h_errno.
3748 * elf/tst-stackguard1.c: Include <tls.h>.
3749
542f9466
JK
37502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3751
3752 * elf/link.h (struct link_map): Extend the l_addr comment.
3753 * include/link.h (struct link_map): Likewise.
3754
e782a927
JM
37552013-02-01 Joseph Myers <joseph@codesourcery.com>
3756
3757 [BZ #13550]
3758 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3759 (BOUNDED_1): Remove macro.
3760 * debug/backtrace.c: Don't include <bp-checks.h>.
3761 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3762 (__backtrace): Likewise.
3763 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3764 <bp-checks.h>.
3765 (__backtrace): Don't use BOUNDED_1.
3766 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3767 <bp-checks.h>.
3768 (__backtrace): Don't use BOUNDED_1.
3769 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3770 (__backtrace): Don't use BOUNDED_1.
3771 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3772 (shmat): Don't use BOUNDED_N.
3773
8cf28c5e
JM
37742013-01-31 Joseph Myers <joseph@codesourcery.com>
3775
3a7ac8a0
JM
3776 [BZ #13550]
3777 * sysdeps/generic/bp-start.h: Remove file.
3778 * csu/libc-start.c: Don't include <bp-start.h>.
3779 (LIBC_START_MAIN): Set up __environ directly instead of using
3780 INIT_ARGV_and_ENVIRON.
3781 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3782 <bp-start.h>.
3783
f3499f95
JM
3784 [BZ #13550]
3785 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3786 definitions.
3787 (CHECK_FCNTL): Likewise.
3788 (CHECK_N_PAGES): Likewise.
3789
32a45bea
JM
3790 [BZ #13550]
3791 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3792 definitions.
3793 (CHECK_SIGSET_NULL_OK): Likewise.
3794 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3795 <bp-checks.h>.
3796 (sigpending): Don't use CHECK_SIGSET.
3797 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3798 <bp-checks.h>.
3799 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3800 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3801 <bp-checks.h>.
3802 (do_sigsuspend): Don't use CHECK_SIGSET.
3803 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3804 use CHECK_SIGSET.
3805 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3806 (do_sigwait): Don't use CHECK_SIGSET.
3807 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3808 use CHECK_SIGSET.
3809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3810 include <bp-checks.h>.
3811 (sigpending): Don't use CHECK_SIGSET.
3812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3813 include <bp-checks.h>.
3814 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3815 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3816 <bp-checks.h>.
3817 (sigpending): Don't use CHECK_SIGSET.
3818 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3819 <bp-checks.h>.
3820 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3821
2e8a5c8c
JM
3822 [BZ #13550]
3823 * sysdeps/generic/bp-semctl.h: Remove file.
3824 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3825 <bp-checks.h> and <bp-semctl.h>.
3826 (__old_semctl): Don't use CHECK_SEMCTL.
3827 (__new_semctl): Likewise.
3828 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3829 and <bp-semctl.h>.
3830 (__old_semctl): Don't use CHECK_SEMCTL.
3831 (__new_semctl): Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3833 <bp-checks.h> and <bp-semctl.h>.
3834 (__old_semctl): Don't use CHECK_SEMCTL.
3835 (__new_semctl): Likewise.
3836 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3837 <bp-checks.h> and <bp-semctl.h>.
3838 (semctl): Don't use CHECK_SEMCTL.
3839
c2d54929
JM
3840 [BZ #13550]
3841 * Makerules (elide-bp-thunks): Remove variable.
3842 (elide-routines.oS): Don't use $(elide-bp-thunks).
3843 (elide-routines.os): Likewise.
3844 (elide-routines.o): Likewise.
3845 (elide-routines.op): Likewise.
3846 (elide-routines.og): Likewise.
3847 (objects): Don't use $(bp-thunks).
3848 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3849 include.
3850 (common-generated): Do not add s-proto-bp.d.
3851 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3852 (int): Likewise.
3853 (typ): Likewise.
3854 Do not generate makefile rules for bounded-pointer thunks.
3855 * sysdeps/generic/bp-thunks.h: Remove file.
3856 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3857 * sysdeps/unix/s-proto-bp.S: Likewise.
3858
8cf28c5e
JM
3859 [BZ #15062]
3860 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3861 parts of result separately when argument is not close to line from
3862 -i to i and one part of argument is small.
3863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3865 * math/libm-test.inc (cacos_test): Add more tests.
3866 (casin_test): Likewise.
3867 (casinh_test): Likewise.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3870
c4e33b8d
DM
38712013-01-31 David S. Miller <davem@davemloft.net>
3872
3873 * po/de.po: Update from translation team.
3874
3b60b421
MK
38752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3876
3877 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3878
bb931195
TS
38792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3880
b5a5da23
TS
3881 * configure.in (_AC_PROG_CC_C89): New definition.
3882 * configure: Regenerate.
3883
bb931195
TS
3884 * configure.in (AC_PROG_CPP): New definition.
3885 * configure: Regenerate.
3886
8c53a12c
JM
38872013-01-23 Joseph Myers <joseph@codesourcery.com>
3888
3889 * debug/tst-backtrace.h: New file.
3890 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3891 (ret): Remove variable.
3892 (x): Likewise.
3893 (FAIL): Remove macro.
3894 (NO_INLINE): Likewise.
3895 (fn1): Use match function instead of strstr.
3896 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3897 (ret): Remove variable.
3898 (x): Likewise.
3899 (FAIL): Remove macro.
3900 (NO_INLINE): Likewise.
3901 (fn): Use match function instead of strstr.
3902 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3903 (ret): Remove variable.
3904 (x): Likewise.
3905 (FAIL): Remove macro.
3906 (NO_INLINE): Likewise.
3907 (handle_signal): Use match function instead of strstr.
3908 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3909 (ret): Remove variable.
3910 (x): Likewise.
3911 (FAIL): Remove macro.
3912 (NO_INLINE): Likewise.
3913 (handle_signal): Use match function instead of strstr.
3914
4858fa2a
RM
39152013-01-23 Roland McGrath <roland@hack.frob.com>
3916
3917 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3918
bae8e7f5
DM
39192013-01-23 David S. Miller <davem@davemloft.net>
3920
3921 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3922 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3923 argument of CAS if possible.
3924 * sysdeps/sparc/sparc64/bits/atomic.h
3925 (__arch_compare_and_exchange_val_32_acq): Likewise.
3926 (__arch_compare_and_exchange_val_64_acq): Likewise.
3927
9cbbc4ae
PT
39282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3929
3930 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3931 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3932 Include <limits.h>.
67b3f58c 3933 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3934
5655a0b5
AC
39352013-01-23 Adam Conrad <adconrad@0c3.net>
3936
3937 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3938 (LDFLAGS-tst-array5): Likewise.
3939
052aff95
JM
39402013-01-23 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #15036]
3943 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3944 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3945 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3946 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3947
7c1e01aa
DM
39482013-01-21 David S. Miller <davem@davemloft.net>
3949
3950 * sysdeps/sparc/backtrace.c: New file.
3951 * sysdeps/sparc/sparc32/backtrace.h: New file.
3952 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3953 * sysdeps/sparc/sparc64/backtrace.h: New file.
3954 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3955 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3956 -funwind-tables.
3957
ab087e0a
AS
39582013-01-21 Andreas Schwab <schwab@suse.de>
3959
3960 [BZ #15020]
3961 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3962 closed its stdout.
3963
ed689c2f
AS
39642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3965
3966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3967 "mpa2.h".
3968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3969
31d470ac
JM
39702013-01-18 Joseph Myers <joseph@codesourcery.com>
3971 Mark Mitchell <mark@codesourcery.com>
3972 Tom de Vries <tom@codesourcery.com>
3973 Paul Pluzhnikov <ppluzhnikov@google.com>
3974
3975 * debug/tst-backtrace2.c: New file.
3976 * debug/tst-backtrace3.c: Likewise.
3977 * debug/tst-backtrace4.c: Likewise.
3978 * debug/tst-backtrace5.c: Likewise.
3979 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3980 (CFLAGS-tst-backtrace3.c): Likewise.
3981 (CFLAGS-tst-backtrace4.c): Likewise.
3982 (CFLAGS-tst-backtrace5.c): Likewise.
3983 (LDFLAGS-tst-backtrace2): Likewise.
3984 (LDFLAGS-tst-backtrace3): Likewise.
3985 (LDFLAGS-tst-backtrace4): Likewise.
3986 (LDFLAGS-tst-backtrace5): Likewise.
3987 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3988 tst-backtrace4 and tst-backtrace5.
3989
90567f30 39902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3991 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3992
3993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3994 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3996 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3998 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3999 "+r" and remove output regs list as redundant. Add explicit inline
4000 asm to specify register of return val to work around compiler codegen
4001 bug. Remove (int) cast on return value. Add return type parameter to
4002 use in macro so that this macro does not truncate return value for
4003 64-bit values.
4004 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4005 pass to INTERNAL_VSYSCALL_NCS.
4006 (INLINE_VSYSCALL): Add 'long int' as return type to
4007 INTERNAL_VSYSCALL_NCS macro invocation.
4008 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4009 INTERNAL_VSYSCALL_NCS macro invocation.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4011
d3b9ea61
SP
40122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4013
0b57daeb
SP
4014 [BZ #14496]
4015 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4016 Fix application of SIMD FP exception mask.
4017
caa99d06
SP
4018 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4019 mp_no from a power of two.
4020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4021 __mpexp_twomm1. Use __pow_mp.
4022
d3b9ea61
SP
4023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4024 multiplication.
4025
1dbaee3c
DM
40262013-01-17 David S. Miller <davem@davemloft.net>
4027
4028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4029
728d7b43
JM
40302013-01-17 Joseph Myers <joseph@codesourcery.com>
4031
4032 [BZ #15023]
4033 * include/complex.h: Condition contents on [!_COMPLEX_H].
4034 (__kernel_casinhf): New prototype.
4035 (__kernel_casinh): Likewise.
4036 (__kernel_casinhl): Likewise.
4037 * math/Makefile (libm_calls): Add k_casinh.
4038 * math/k_casinh.c: New file.
4039 * math/k_casinhf.c: Likewise.
4040 * math/k_casinhl.c: Likewise.
4041 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4042 finite nonzero arguments.
4043 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4044 finite nonzero arguments.
4045 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4046 finite nonzero arguments.
4047 * math/s_casinh.c: Do not include <float.h>.
4048 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4049 * math/s_casinhf.c: Do not include <float.h>.
4050 (__casinhf): Move code for finite nonzero arguments to
4051 k_casinhf.c.
4052 * math/s_casinhl.c: Do not include <float.h>.
4053 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4054 redefine.
4055 (__casinhl): Move code for finite nonzero arguments to
4056 k_casinhl.c.
4057 * math/libm-test.inc (cacos_test): Add more tests.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4060
2a26ef3a
PT
40612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4062
4063 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4064 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4065 [!HAVE_MREMAP]: Remove [defined linux] case.
4066 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4067
a897655d
SP
40682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4069
4070 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4071
881ebe89 40722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4073
4074 * elf/elf.h (R_386_SIZE32): New relocation.
4075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4076 R_386_SIZE32.
4077 (elf_machine_rela): Likewise.
4078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4079 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4080
59981e9b
JM
40812013-01-17 Joseph Myers <joseph@codesourcery.com>
4082
4083 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4084 (FP_FAST_FMA): Do not define.
4085 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4086 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4087 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4088 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4089 !_SOFT_FLOAT]: Likewise.
4090 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4092 value.
4093 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4094 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4097 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4098 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4099 file.
4100
cfa8054f
AS
41012013-01-16 Andreas Schwab <schwab@suse.de>
4102
4103 [BZ #14327]
4104 * include/stdlib.h (__mktemp): Add declaration.
4105 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4106 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4107
dd930cc5
SP
41082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4109
881ebe89
SP
4110 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4111 definitions.
4112 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4113 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4114 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4115 definitions here.
4116 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4117 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4118 definitions.
4119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4120 and ONE.
4121 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4122 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4123 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4124 definitions.
4125 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4126 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4127 definitions.
4128 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4129
dd930cc5
SP
4130 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4131
c19a9f89
DM
41322013-01-15 David S. Miller <davem@davemloft.net>
4133
1aa61767
DM
4134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4135 trunc{,f} to libm-sysdep_routes.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4138 file.
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4141 file.
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4143 file.
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4152
c42d5e98
DM
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4154 nearbyint{,f} to libm-sysdep_routes.
4155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4157 New file.
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4159 file.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4161 New file.
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4163 file.
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4167 file.
4168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4170 file.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4172 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4174
c19a9f89
DM
4175 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4176 libc_feholdexcept and libc_fesetenv.
4177
357679d2
MF
41782013-01-15 Mike Frysinger <vapier@gentoo.org>
4179
4180 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4181
65a82e3d
DM
41822013-01-14 David S. Miller <davem@davemloft.net>
4183
8b954ab9
DM
4184 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4185 (SPARC_ASM_VIS2_IFUNC): Likewise.
4186 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4188 use of 'siam' instruction.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4190 Likewise.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4192 Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4194 Likewise.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4200 file.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4202 file.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4204 file.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4206 file.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4212 new VIS2 routines.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4216 Likewise.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4222 routines to libm-sysdep_routines.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4224
65a82e3d
DM
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4226 fdim/fdimf to libm-sysdep_routines.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4228 file.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4231 file.
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4235 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4236 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4239
e34ab705
SP
42402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4241
2a91b573
SP
4242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4243 to optimize copies.
4244
1066a534
SP
4245 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4248
e34ab705
SP
4249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4250 local variable MPTWO.
4251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4252 Likewise.
4253
aba5e596
MF
42542013-01-13 Mike Frysinger <vapier@gentoo.org>
4255
4256 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4257 GLOB_NOESCAPE.
4258
e557e9e5
MF
42592013-01-13 Mike Frysinger <vapier@gentoo.org>
4260
4261 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4262
0428cec9
MF
42632013-01-13 Mike Frysinger <vapier@gentoo.org>
4264
4265 * manual/pattern.texi (glob_t): Document gl_flags.
4266 (glob64_t): Likewise.
4267
8794a964
DM
42682013-01-11 David S. Miller <davem@davemloft.net>
4269
66438c3f
RM
4270 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4271 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4272 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4273 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4274 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4275 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4276 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4277 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4278 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4279 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4280 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4281 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4283
4ae4244d
DM
4284 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4285 sparc V9 rather than using V8 code.
4286 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4287 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4288
8794a964
DM
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4290 Move to...
4291 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4292 Here.
4293
6270516e
RM
42942013-01-11 Roland McGrath <roland@hack.frob.com>
4295
4296 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4297 not in the main loop.
4298 * configure: Regenerated.
4299
6a57d931
JM
43002013-01-11 Joseph Myers <joseph@codesourcery.com>
4301
4302 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4303 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4304 to just #else.
4305 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4306 [!__GLIBC_HAVE_LONG_LONG] case.
4307 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4308 condition to just #else.
4309 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4310 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4311 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4312 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4313 unconditional.
4314 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4315 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4316 #elif condition to just #else.
4317 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4318 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4319 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4320 #elif condition to just #else.
4321
0e8529e9
SE
43222013-01-11 Steve Ellcey <sellcey@mips.com>
4323
4324 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4325 (EF_MIPS_ARCH_64): Fix value.
4326 (EF_MIPS_ARCH_32R2): New.
4327 (EF_MIPS_ARCH_64R2): New.
4328
740b3dbe
L
43292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 * Makeconfig (+link-pie-before-libc): New.
4332 (+link-pie-after-libc): Likewise.
4333 (+link-pie-tests): Likewise.
4334 (+link-pie): Rewritten.
4335 (link-before-libc): Remove $(config-LDFLAGS).
4336 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4337 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4338 (config-LDFLAGS): Renamed to ...
4339 (rtld-LDFLAGS): This.
4340 (rtld-tests-LDFLAGS): New macro.
4341 (link-libc-rpath-link): Likewise.
4342 (link-libc-tests-rpath-link): Likewise.
4343 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4344 (link-libc): Prepand $(link-libc-rpath-link).
4345 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4346 (test-program-prefix): New macro.
4347 (test-via-rtld-prefix): Likewise.
4348 (test-program-cmd): Likewise.
4349 (host-test-program-cmd): Likewise.
4350 * Makefile ($(common-objpfx)testrun.sh): Replace
4351 $(run-program-prefix) with $(test-program-prefix).
4352 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4353 $(rtld-LDFLAGS).
4354 ($(common-objpfx)shlib.lds): Likewise.
4355 (build-module-helper): Likewise.
4356 ($(common-objpfx)format.lds): Likewise.
4357 * Rules (binaries-pie-tests): New.
4358 (binaries-pie-notests): Likewise.
4359 (binaries-pie): Rewritten.
4360 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4361 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4362 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4363 (make-test-out): Replace $(host-built-program-cmd) with
4364 $(host-test-program-cmd).
4365 * config.make.in (build-hardcoded-path-in-tests): New variable.
4366 * configure.in (--enable-hardcoded-path-in-tests): New configure
4367 option.
4368 (hardcoded_path_in_tests): New AC_SUBST.
4369 * configure: Regenerated.
4370 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4371 $(built-program-cmd) with $(test-program-cmd).
4372 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4373 (test_program_cmd): This.
4374 * elf/Makefile ($(objpfx)order.out): Run test with
4375 $(test-program-prefix).
4376 ($(objpfx)order2.out): Likewise.
4377 ($(objpfx)tst-initorder.out): Likewise.
4378 ($(objpfx)tst-initorder2.out): Likewise.
4379 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4380 $(test-program-cmd).
4381 ($(objpfx)tst-array1-static.out): Likewise.
4382 ($(objpfx)tst-array2.out): Likewise.
4383 ($(objpfx)tst-array3.out): Likewise.
4384 ($(objpfx)tst-array4.out): Likewise.
4385 ($(objpfx)tst-array5.out): Likewise.
4386 ($(objpfx)tst-array5-static.out): Likewise.
4387 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4388 $(test-program-cmd).
4389 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4390 $(run-program-prefix) with $(test-program-prefix).
4391 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4392 (test_program_prefix): This.
4393 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4394 $(run-program-prefix) with $(test-program-prefix).
4395 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4396 (test_program_prefix): This.
4397 * iconvdata/tst-tables.sh: Likewise.
4398 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4399 $(run-program-prefix) with $(test-program-prefix).
4400 ($(objpfx)tst-translit.out): Likewise.
4401 ($(objpfx)tst-gettext2.out): Likewise.
4402 ($(objpfx)tst-gettext4.out): Likewise.
4403 ($(objpfx)tst-gettext6.out): Likewise.
4404 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4405 (test_program_prefix): This.
4406 * intl/tst-gettext2.sh: Likewise.
4407 * intl/tst-gettext4.sh Likewise.
4408 * intl/tst-gettext6.sh: Likewise.
4409 * intl/tst-translit.sh: Likewise.
4410 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4411 with $(test-program-cmd).
4412 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4413 $(run-program-prefix) with $(test-program-prefix).
4414 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4415 (test_program_prefix): This.
4416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4417 $(run-program-prefix) with $(test-program-prefix).
4418 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4419 (test_program_prefix): This.
4420 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4421 * posix/Makefile ($(objpfx)globtest.out): Replace
4422 $(run-via-rtld-prefix) and $(test-wrapper) with
4423 $(test-program-prefix) and $(test-via-rtld-prefix).
4424 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4425 $(test-program-prefix).
4426 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4427 $(host-test-program-cmd).
4428 (tst-spawn-ARGS): Likewise.
4429 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4430 $(test-program-prefix).
4431 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4432 (test_via_rtld_prefix): This.
4433 (test_wrapper): Renamed to ...
4434 (test_program_prefix): This.
4435 (run_program_prefix): Replaced by test_program_prefix.
4436 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4437 (test_program_prefix): This.
4438 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4439 with $(host-test-program-cmd).
4440 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4441 $(run-program-prefix) with $(test-program-prefix).
4442 ($(objpfx)tst-printf.out): Likewise.
4443 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4444 $(test-program-cmd).
4445 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4446 (test_program_prefix): This.
4447 * stdio-common/tst-unbputc.sh: Likewise.
4448 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4449 $(run-program-prefix) with $(test-program-prefix).
4450 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4451 (test_program_prefix): This.
4452 * string/Makefile ($(objpfx)tst-svc.out): Replace
4453 $(built-program-cmd) with $(test-program-cmd).
4454
c6fe55cf
AJ
44552013-01-11 Andreas Jaeger <aj@suse.de>
4456
4457 [BZ #15003]
4458 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4459 value. Sync with Linux 3.7.
4460
9e6919c8
DM
44612013-01-10 David S. Miller <davem@davemloft.net>
4462
4463 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4464 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4465 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4466
1c9f1a02
RM
44672013-01-10 Roland McGrath <roland@hack.frob.com>
4468
4469 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4470 never set.
4471 * configure: Regenerated.
4472
b9de2dde
DM
44732013-01-10 David S. Miller <davem@davemloft.net>
4474
4475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4476 sparc V9 rather than using V8 code.
4477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4479
e7f68ef4
RM
44802013-01-10 Roland McGrath <roland@hack.frob.com>
4481
4482 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4483 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4484 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4485 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4486 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4487 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4488 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4489 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4490 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4491 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4492 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4493 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4494 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4495 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4496 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4497 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4498 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4499 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4500 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4501 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4502 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4503 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4504 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4505 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4506 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4507 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4508 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4509
5a47cc9c
DM
45102013-01-10 David S. Miller <davem@davemloft.net>
4511
4512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4513
4cf8f209
L
45142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4515
4516 * posix/Makefile (tests-static): New variable.
4517 (tests): Add $(tests-static).
4518 (tst-exec-static-ARGS): New variable.
4519 (tst-spawn-static-ARGS): Likewise.
4520 * posix/tst-exec-static.c: New file.
4521 * posix/tst-spawn-static.c: Likewise.
4522 * posix/tst-exec.c: Support run directly.
4523 * posix/tst-spawn.c: Likewise.
4524
fed0faa1
JM
45252013-01-10 Joseph Myers <joseph@codesourcery.com>
4526
828beb13
JM
4527 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4528 long.
4529 * math/bits/mathcalls.h (llrint): Likewise.
4530 (llround): Likewise.
4531 * stdlib/stdlib.h (struct drand48_data): Likewise.
4532 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4533 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4535 Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4537 Likewise.
4538 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4539 (elf_greg_t): Likewise.
4540 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4541 (__jmp_buf): Likewise.
4542 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4543 definitions.
4544 (llrint): Likewise, for all definitions.
4545 (llrintl): Likewise.
4546
fed0faa1
JM
4547 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4548 Remove [__GNUC__] condition.
4549 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4550 condition to just [__USE_ISOC99].
4551 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4552
1a20cb20
L
45532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 [BZ #14200]
4556 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4557 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4558 defined.
4559 (_POSIX_V6_ILP32_OFF32): Likewise.
4560 (_XBS5_ILP32_OFF32): Likewise.
4561 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4562 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4563
751b85f7
SP
45642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
7490eb81
SP
4566 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4567
751b85f7
SP
4568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4569 doubles __mpexp_twomm1. Adjust usage.
4570 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4571 Remove.
4572
988197f0
AS
45732013-01-10 Andreas Schwab <schwab@suse.de>
4574
4575 [BZ #14964]
4576 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4577 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4578
e83d7298
DM
45792013-01-09 David S. Miller <davem@davemloft.net>
4580
034ed64b 4581 [BZ #15003]
e83d7298
DM
4582 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4583 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4584 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4585 TCP_FASTOPEN): Define.
4586 (tcp_repair_opt): New structure.
4587 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4588 enum values.
4589 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4590 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4591 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4592 (tcp_cookie_transactions): New structure.
4593
d5e0b9bd
AB
45942013-01-09 Anton Blanchard <anton@samba.org>
4595
4596 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4597 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4598 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4600
0c07e3ea
JM
46012013-01-09 Joseph Myers <joseph@codesourcery.com>
4602
4603 * include/features.h (__USE_ANSI): Remove.
4604
232f7002
RM
46052013-01-09 Roland McGrath <roland@hack.frob.com>
4606
ad98e30c
RM
4607 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4608
232f7002
RM
4609 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4610
950c99ca
SP
46112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4612
b5792741
SP
4613 * sysdeps/s390/fpu/libm-test-ulps: Update.
4614
47cf2278
SP
4615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4616
950c99ca
SP
4617 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4618 (__acr): Likewise.
4619 (__cpy): Likewise.
4620 (norm): Likewise.
4621 (denorm): Likewise.
4622 (__mp_dbl): Likewise.
4623 (__dbl_mp): Likewise.
4624 (add_magnitudes): Likewise.
4625 (sub_magnitudes): Likewise.
4626 (__add): Likewise.
4627 (__sub): Likewise.
4628 (__mul): Likewise.
4629 (__inv): Likewise.
4630 (__dvd): Likewise.
4631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4632 (__acr): Likewise.
4633 (__cpy): Likewise.
4634 (norm): Likewise.
4635 (denorm): Likewise.
4636 (__mp_dbl): Likewise.
4637 (__dbl_mp): Likewise.
4638 (add_magnitudes): Likewise.
4639 (sub_magnitudes): Likewise.
4640 (__add): Likewise.
4641 (__sub): Likewise.
4642 (__mul): Likewise.
4643 (__inv): Likewise.
4644 (__dvd): Likewise.
4645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4646 (__acr): Likewise.
4647 (__cpy): Likewise.
4648 (norm): Likewise.
4649 (denorm): Likewise.
4650 (__mp_dbl): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4654 (__add): Likewise.
4655 (__sub): Likewise.
4656 (__mul): Likewise.
4657 (__inv): Likewise.
4658 (__dvd): Likewise.
4659
eede9df9
JM
46602013-01-08 Joseph Myers <joseph@codesourcery.com>
4661
4662 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4663 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4664 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4665 2 && __USE_EXTERN_INLINES]: Likewise.
4666
c40ea3d9
AJ
46672013-01-08 Andreas Jaeger <aj@suse.de>
4668
4669 [BZ# 14985]
4670 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4671 Remove.
4672 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4673 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4674
2ccdea26
AB
46752013-01-07 Anton Blanchard <anton@samba.org>
4676
4677 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4678 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4679 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4680 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4681 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4683 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4695 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4697 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4700 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4701 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4702 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4703 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4704 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4707 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4710 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4720
a9708fed
JM
47212013-01-07 Joseph Myers <joseph@codesourcery.com>
4722
375607b9
JM
4723 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4724 (__MALLOC_PMT): Likewise.
4725 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4726 [__GNUC__], only on [_LIBC].
4727 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4728 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4729 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4730 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4731 forward declaration.
4732 (realloc_hook_ini): Likewise.
4733 (memalign_hook_ini): Likewise.
4734 (__libc_memalign): Do not use __MALLOC_PMT in variable
4735 declaration.
4736 (__libc_valloc): Likewise.
4737 (__libc_pvalloc): Likewise.
4738 (__libc_calloc): Likewise.
4739 (__posix_memalign): Likewise.
4740
a9708fed
JM
4741 [BZ #14996]
4742 * math/s_casinh.c: Include <float.h>.
4743 (__casinh): Do not do computation with squaring and square root
4744 for large arguments.
4745 * math/s_casinhf.c: Include <float.h>.
4746 (__casinhf): Do not do computation with squaring and square root
4747 for large arguments.
4748 * math/s_casinhl.c: Include <float.h>.
4749 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4750 (__casinhl): Do not do computation with squaring and square root
4751 for large arguments.
4752 * math/libm-test.inc (casin_test): Add more tests.
4753 (casinh_test): Likewise.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756
afec409a
L
47572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4760 (__x86_64_raw_data_cache_size): Likewise.
4761 (__x86_64_data_cache_size_half): Likewise.
4762 (__x86_64_raw_data_cache_size_half): Likewise.
4763 (__x86_64_shared_cache_size): Likewise.
4764 (__x86_64_raw_shared_cache_size): Likewise.
4765 (__x86_64_shared_cache_size_half): Likewise.
4766 (__x86_64_raw_shared_cache_size_half): Likewise.
4767 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4768 to ...
4769 (__x86_data_cache_size): This.
4770 (__x86_64_raw_data_cache_size): Renamed to ...
4771 (__x86_raw_data_cache_size): This.
4772 (__x86_64_data_cache_size_half): Renamed to ...
4773 (__x86_data_cache_size_half): This.
4774 (__x86_64_raw_data_cache_size_half): Renamed to ...
4775 (__x86_raw_data_cache_size_half): This.
4776 (__x86_64_shared_cache_size): Renamed to ...
4777 (__x86_shared_cache_size): This.
4778 (__x86_64_raw_shared_cache_size): Renamed to ...
4779 (__x86_raw_shared_cache_size): This.
4780 (__x86_64_shared_cache_size_half): Renamed to ...
4781 (__x86_shared_cache_size_half): This.
4782 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4783 (__x86_raw_shared_cache_size_half): This.
4784 * sysdeps/x86_64/memcpy.S: Updated.
4785 * sysdeps/x86_64/memset.S: Likewise.
4786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4789
0b3986d0
DM
47902013-01-04 David S. Miller <davem@davemloft.net>
4791
4792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4793
e47686e9
AS
47942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4795
d643bac1
AS
4796 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4797 1 to avoid redefinition warning.
4798 (__USE_GNU): Don't define.
4799 (init_signaling_nan): Protoize.
4800
e47686e9
AS
4801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4802
b18decba
SP
48032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4804
fffb407f
SP
4805 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4807 (__cpymn): Likewise.
4808 (norm): Remove commented code.
4809 (denorm): Likewise.
4810 (__mp_dbl): Likewise.
4811 (__inv): Likewise.
4812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4813 (__cpymn): Likewise.
4814 (norm): Remove commented code.
4815 (denorm): Likewise.
4816 (__mp_dbl): Likewise.
4817 (__inv): Likewise.
4818
b18decba
SP
4819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4820 mp_no value for 1.0 and 2.0.
4821 (norm): Use RADIXI instead of radixi.d.
4822 (denorm): Likewise.
4823 (__mul): Use 0.0 instead of zero.d.
4824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4825 mp_no value for 1.0 and 2.0.
4826 (norm): Use RADIXI instead of radixi.d.
4827 (denorm): Likewise.
4828 (__mul): Use 0.0 instead of zero.d.
4829
cdc1c96f
JM
48302013-01-04 Joseph Myers <joseph@codesourcery.com>
4831
4832 [BZ #14994]
4833 * math/s_casinh.c (__casinh): Reduce finite argument to first
4834 quadrant then set signs of results at the end.
4835 * math/s_casinhf.c (__casinhf): Likewise.
4836 * math/s_casinhl.c (__casinhl): Likewise.
4837 * math/libm-test.inc (casin_test): Add more tests.
4838 (casinh_test): Likewise.
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4841
302913e1
SP
48422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4843
6420d207
SP
4844 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4845
a9e48ab4
SP
4846 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4847
b7837264
SP
4848 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4849 declarations.
4850 (denorm): Likewise.
4851 (__mp_dbl): Likewise.
4852 (__inv): Likewise.
4853
f8af25d2
SP
4854 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4855 and adjust the header comment.
4856
302913e1
SP
4857 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4858 variable name from declaration.
4859
5d7dd1ca
L
48602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4863 Initialize COMMON_CPUID_INDEX_7 element.
4864 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4865 (CPUID_RTM): Likewise.
4866 (HAS_RTM): Likewise.
4867 (COMMON_CPUID_INDEX_7): New enum.
4868
2f5f40f4
AS
48692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4870
4871 [BZ #14981]
4872 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4873 size is zero, record memory as freed.
4874
4056f4a0
AJ
48752013-01-03 Andreas Jaeger <aj@suse.de>
4876
4877 * po/ia.po: Add new Interlingua translation.
4878
ab15736f 48792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4880
4881 * locale/programs/localedef.c: Fix description of '--posix' flag.
4882
568035b7
JM
48832013-01-02 Joseph Myers <joseph@codesourcery.com>
4884
e6898b8d
JM
4885 * NEWS: Update dates in second copyright notice.
4886 * README: Update copyright dates in example.
4887 * manual/libc.texinfo: Update copyright dates.
4888 * scripts/test-installation.pl: Update copyright date in --version
4889 output.
4890
0e2f9562
JM
4891 * hurd/ctty-input.c: Fix copyright notice formatting.
4892 * hurd/ctty-output.c: Likewise.
4893 * hurd/dtable.c: Likewise.
4894 * hurd/hurd-raise.c: Likewise.
4895 * hurd/hurdprio.c: Likewise.
4896 * hurd/msgportdemux.c: Likewise.
4897 * misc/sys/file.h: Likewise.
4898 * misc/sys/ioctl.h: Likewise.
4899 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4900 * sysdeps/mach/hurd/chdir.c: Likewise.
4901 * sysdeps/mach/hurd/fchdir.c: Likewise.
4902 * sysdeps/mach/hurd/rename.c: Likewise.
4903 * sysdeps/mach/hurd/rmdir.c: Likewise.
4904 * sysdeps/mach/hurd/seekdir.c: Likewise.
4905 * sysdeps/mach/hurd/setsid.c: Likewise.
4906 * sysdeps/posix/wait3.c: Likewise.
4907
568035b7
JM
4908 * All files with FSF copyright notices: Update copyright dates
4909 using scripts/update-copyrights.
4910 * intl/plural.c: Regenerated.
4911 * locale/programs/charmap-kw.h: Likewise.
4912 * locale/programs/locfile-kw.h: Likewise.
4913
da08f647
SP
49142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4915
0f5477af
SP
4916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4917 four values.
4918
44e0d4c2
SP
4919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4920 calculation loop and add branch prediction.
4921
4d55b4e5
SP
4922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4923 check access beyond bounds of m1np.
4924
da08f647
SP
4925 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4926 MPTWO.
4927 (__inv): Remove local variable MPTWO to use the global
4928 constant.
4929 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4930 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4931 variable MPTWO.
4932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4933 MP3HALFS static const.
4934
8e051029
DM
49352013-01-01 David S. Miller <davem@davemloft.net>
4936
4937 * po/ca.po: Update from translation team.
4938
f4cf5f2d
JM
49392013-01-01 Joseph Myers <joseph@codesourcery.com>
4940
4941 * scripts/update-copyrights: New file.
4942 * Makeconfig: Reformat copyright notice.
4943 * ctype/ctype.h: Likewise.
4944 * debug/swprintf_chk.c: Likewise.
4945 * elf/dl-cache.c: Likewise.
4946 * elf/dl-debug.c: Likewise.
4947 * elf/dl-object.c: Likewise.
4948 * grp/initgroups.c: Likewise.
4949 * hurd/Makefile: Likewise.
4950 * hurd/hurd/signal.h: Likewise.
4951 * hurd/hurdfault.c: Likewise.
4952 * hurd/hurdioctl.c: Likewise.
4953 * hurd/hurdlookup.c: Likewise.
4954 * hurd/intr-msg.c: Likewise.
4955 * iconv/gconv_open.c: Likewise.
4956 * libio/swprintf.c: Likewise.
4957 * locale/lc-ctype.c: Likewise.
4958 * locale/nl_langinfo.c: Likewise.
4959 * mach/Machrules: Likewise.
4960 * mach/Makefile: Likewise.
4961 * malloc/obstack.h: Likewise.
4962 * manual/Makefile: Likewise.
4963 * manual/tsort.awk: Likewise.
4964 * misc/bits/stab.def: Likewise.
4965 * nis/nis_print_group_entry.c: Likewise.
4966 * nis/nis_table.c: Likewise.
4967 * nis/nss_compat/compat-pwd.c: Likewise.
4968 * nis/nss_compat/compat-spwd.c: Likewise.
4969 * po/Makefile: Likewise.
4970 * posix/fnmatch.c: Likewise.
4971 * posix/regex.h: Likewise.
4972 * resolv/Makefile: Likewise.
4973 * resolv/nss_dns/dns-network.c: Likewise.
4974 * resolv/res_hconf.c: Likewise.
4975 * scripts/gen-sorted.awk: Likewise.
4976 * soft-fp/soft-fp.h: Likewise.
4977 * stdio-common/printf.h: Likewise.
4978 * stdlib/monetary.h: Likewise.
4979 * stdlib/random.c: Likewise.
4980 * stdlib/random_r.c: Likewise.
4981 * sysdeps/generic/Makefile: Likewise.
4982 * sysdeps/gnu/Makefile: Likewise.
4983 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5011 * sysdeps/mach/hurd/errnos.awk: Likewise.
5012 * sysdeps/mach/hurd/fork.c: Likewise.
5013 * sysdeps/mach/hurd/getcwd.c: Likewise.
5014 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5015 * sysdeps/mach/hurd/mmap.c: Likewise.
5016 * sysdeps/mach/hurd/utimes.c: Likewise.
5017 * sysdeps/mach/hurd/xmknod.c: Likewise.
5018 * sysdeps/posix/profil.c: Likewise.
5019 * sysdeps/posix/readdir_r.c: Likewise.
5020 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5021 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5022 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5023 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5025 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5031 * sysdeps/pthread/lio_listio.c: Likewise.
5032 * sysdeps/sparc/dl-procinfo.h: Likewise.
5033 * sysdeps/unix/i386/sysdep.S: Likewise.
5034 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5035 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5036 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5037 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5039 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5040 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5041 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5042 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5043 * sysdeps/wordsize-32/divdi3.c: Likewise.
5044 * time/sys/time.h: Likewise.
5045 * wcsmbs/Makefile: Likewise.
5046
0549fbba
DM
50472013-01-01 David S. Miller <davem@davemloft.net>
5048
a141f1a7
DM
5049 * po/fr.po: Update from translation team.
5050
0549fbba
DM
5051 * catgets/gencat.c: Update copyright year.
5052 * csu/version.c: Likewise.
5053 * debug/catchsegv.sh: Likewise.
5054 * debug/pcprofiledump.c: Likewise.
5055 * debug/xtrace.sh: Likewise.
5056 * elf/ldconfig.c: Likewise.
5057 * elf/ldd.bash.in: Likewise.
5058 * elf/pldd.c: Likewise.
5059 * elf/sotruss.ksh: Likewise.
5060 * elf/sprof.c: Likewise.
5061 * iconv/iconv_prog.c: Likewise.
5062 * iconv/iconvconfig.c: Likewise.
5063 * locale/programs/locale.c: Likewise.
5064 * locale/programs/localedef.c: Likewise.
5065 * login/programs/pt_chown.c: Likewise.
5066 * malloc/memusage.sh: Likewise.
5067 * malloc/memusagestat.c: Likewise.
5068 * malloc/mtrace.pl: Likewise.
5069 * nscd/nscd.c: Likewise.
5070 * nss/getent.c: Likewise.
5071 * nss/makedb.c: Likewise.
5072 * posix/getconf.c: Likewise.
5073
18ea052c
SP
50742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5077 numbers.
5078
9c89fca6
MF
50792012-12-30 Mike Frysinger <vapier@gentoo.org>
5080
5081 * math/bits/mathcalls.h (modf): Use __nonnull.
5082
085ec079
SP
50832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
5085 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5086 (split): Use macro CN instead of the bare value.
5087 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5088 could be used.
5089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5090 instead of the bare value.
5091 (power1): Likewise.
5092
6d9f97e1
SP
50932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
d63f73be
SP
5095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5096 __ATAN_TWOM.
5097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5098
6d9f97e1
SP
5099 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5100 their values.
5101 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5103 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5104 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5105
4c4febf5
AJ
51062012-12-28 Andreas Jaeger <aj@suse.de>
5107
af5843ef
AJ
5108 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5109 values are from Linux 3.7.
5110
4c4febf5
AJ
5111 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5112 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5113
99136f82
SP
51142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
2f216c3c 5116 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5117 TRUE case.
5118
99136f82
SP
5119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5120 (norm): Likewise.
5121 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5122 variables with preprocessor constants.
5123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5126
7fffbdff
BH
51272012-12-27 Bruno Haible <bruno@clisp.org>
5128
5129 [BZ #14317]
5130 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5131 only if needed.
5132
b76eb5f0
SP
51332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5134
31a7fe5c
SP
5135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5136 and use variable directly.
5137 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5138
b76eb5f0
SP
5139 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5140 MPONE.
5141 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5143 variable MPONE.
5144 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5146 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5147 include directive. Remove local variable MPONE.
5148 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5149 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5151
2c8bfe7d
DM
51522012-12-25 David S. Miller <davem@davemloft.net>
5153
5154 * version.h (RELEASE): Set to "development".
5155 (VERSION): Set to "2.17.90".
5156 * NEWS: Add 2.18 section.
5157
147d03b0
DM
51582012-12-21 David S. Miller <davem@davemloft.net>
5159
5160 * po/hr.po: Update from translation team.
5161
a8ebb2b9
AK
51622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5163
5164 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5165
95b4f1b6
SE
51662012-12-19 Steve Ellcey <sellcey@mips.com>
5167
b2d94007 5168 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5169
cedb2a90
MS
51702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5171
5172 * manual/contrib.texi (Contributors): Spelling correction.
5173
bbf527d6
DM
51742012-12-15 David S. Miller <davem@davemloft.net>
5175
5176 * po/ru.po: Update from translation team.
5177
bc38c906
DM
51782012-12-13 David S. Miller <davem@davemloft.net>
5179
85429b1a
DM
5180 * NEWS: Mention IFUNC testsuite enhancements.
5181
d283e353
DM
5182 * po/pl.po: Update from translation team.
5183 * po/bg.po: Likewise.
5184
bc38c906
DM
5185 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5186 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5187
a181b0d7
DM
51882012-12-11 David S. Miller <davem@davemloft.net>
5189
4641d57e
DM
5190 * po/sv.po: Update from translation team.
5191
f7bc6495
DM
5192 * po/vi.po: Update from translation team.
5193
6fc9048f
DM
5194 * po/cs.po: Update from translation team.
5195
a181b0d7
DM
5196 * po/de.po: Update from translation team.
5197 * po/eo.po: Likewise.
5198 * po/nl.po: Likewise.
5199
f70bfe80
SP
52002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5201
3c8b4190
SP
5202 [BZ #14246]
5203 * manual/argp.texi (Argp Helper Functions): Move node to follow
5204 Argp Parsing State.
5205
f70bfe80
SP
5206 [BZ #14872]
5207 * manual/conf.texi (Limits on File System Capacity): Mention if
5208 terminating null is included in the max size.
5209
188f0adf
AJ
52102012-12-10 Andreas Jaeger <aj@suse.de>
5211
5212 * po/cs.po: Update from translation team.
5213
56e7d3ad
SP
52142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
5216 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5217 void pointer and cast to uintptr_t.
5218 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5219 path.
5220 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5221 * sysdeps/s390/s390-64/memset.S: Likewise.
5222
76f2d2ea 52232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5224
5225 [BZ #14833]
5226 * menual/message.texi (Message Translation): Fix typos.
5227 (Helper programs for gettext): Likewise.
5228
67cbf9a2
AS
52292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5230
5231 [BZ #14898]
5232 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5233 Change to -1.
5234
682d0e9a
DM
52352012-12-07 David S. Miller <davem@davemloft.net>
5236
5237 * po/libc.pot: Update.
5238
573cd484
RH
52392012-12-07 Richard Henderson <rth@redhat.com>
5240
7e9da188 5241 [BZ #10114]
573cd484
RH
5242 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5243 normal/normal case to before the switch.
5244 (_FP_DIV): Likewise.
5245
e933a943
MF
52462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5247 Mike Frysinger <vapier@gentoo.org>
5248
5249 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5250 check for __NR_fadvise64_64.
5251
82123268
CM
52522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5253
5254 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5255 0, not just to plain "0" as a statement.
5256 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5257 with cw.
5258
d9814526
JM
52592012-12-06 Joseph Myers <joseph@codesourcery.com>
5260
5261 * NEWS: Use sourceware.org in Bugzilla URL.
5262
7728c574
SP
52632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5264
f16946dd
SP
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5266 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5267
5704bbcb
SP
5268 * stdio-common/tst-put-error.c (do_test): Add newline to the
5269 padded test to ensure flush.
5270
17aa0516
JL
52712012-12-05 Jeff Law <law@redhat.com>
5272
5273 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5274
363313b5
JM
52752012-12-05 Joseph Myers <joseph@codesourcery.com>
5276
effbd42a
JM
5277 * README: Don't refer to ports add-on as distributed separately.
5278 Mention AArch64 in list of systems supported in the ports add-on.
5279
87600365
JM
5280 * LICENSES: Add more non-FSF copyright and license notices.
5281
a0d7066a
JM
5282 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5283 ((unused)).
5284
66ca5a5b
JM
5285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5286
363313b5
JM
5287 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5288 10000 as width of padded output.
5289
b37984ad
JM
52902012-12-04 Joseph Myers <joseph@codesourcery.com>
5291
9003570a
JM
5292 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5293
b37984ad
JM
5294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5295 variable LX with __attribute__ ((unused)).
5296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5297 Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5301 with __attribute__ ((unused)).
5302
c8df52ec
DM
53032012-12-04 David S. Miller <davem@abraco.davemloft.net>
5304
5305 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5306
b3b099af
JM
53072012-12-04 Joseph Myers <joseph@codesourcery.com>
5308
c33aa6e3
JM
5309 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5310 (CFLAGS-nldbl-acos.c): New variable.
5311 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5312 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5313 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5314 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5315 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5316 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5317 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5318 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5322 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5323 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5324 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5325 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5408
20f0018d
JM
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5410 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5411
b3b099af
JM
5412 [BZ #14914]
5413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5414 whole low double instead of just low 47 bits when splitting values
5415 into two parts.
5416
029264d1
AM
54172012-12-03 Allan McRae <allan@archlinux.org>
5418
5419 * manual/stdio.texi (Predefined Printf Handlers): Remove
5420 @hsep and @vsep usage.
5421
c9d6789e
MF
54222012-12-03 Mike Frysinger <vapier@gentoo.org>
5423
5424 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5425 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5426
4b7634a5
JL
54272012-12-03 Jeff Law <law@redhat.com>
5428
5429 * time/sys/time.h (settimeofday): Do not mark TV argument
5430 as __nonnull.
5431
eb6cbd24
MF
54322012-12-01 Mike Frysinger <vapier@gentoo.org>
5433
5434 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5435 when currently writing and seek to current position when not.
5436 * libio/Makefile (tests): Remove bug-fclose1.
5437 * libio/bug-fclose1.c: Delete.
5438
f638872a
JM
54392012-12-01 Joseph Myers <joseph@codesourcery.com>
5440
5441 * manual/arith.texi (feenableexcept): Fix typo.
5442 (fedisableexcept): Likewise.
5443
48085d14
RM
54442012-11-30 Roland McGrath <roland@hack.frob.com>
5445
5446 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5447 second, differently-typed declaration, rather than a cast.
5448
1a538b9f
SP
54492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5450
5451 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5452 * include/rpc/svc.h: ... here.
5453
d07f2ff1 54542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5455
5456 [BZ #13013]
5457 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5458 depending n and resplen2 to catch cases where answer
5459 equals answerp2.
5460
c93ec1f0
CD
54612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5462
5463 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5464 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5465
37db69de
MF
54662012-11-29 Mike Frysinger <vapier@gentoo.org>
5467
5468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5469
e10c4e4f
RM
54702012-11-29 Roland McGrath <roland@hack.frob.com>
5471
5472 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5473
2af1b328
JL
54742012-11-28 Jeff Law <law@redhat.com>
5475
5476 [BZ #13761]
5477 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5478 dataset_temporary. Track alloca usage into alloca_used.
5479 If dataset is large allocate and release it via malloc/free.
5480
111db5b1
FW
54812012-06-04 Florian Weimer <fweimer@redhat.com>
5482
f06cc227 5483 [BZ #14197]
111db5b1
FW
5484 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5485
dd694abd
DM
54862012-11-28 David S. Miller <davem@davemloft.net>
5487
5488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5489
9984dd01
JM
54902012-11-28 Joseph Myers <joseph@codesourcery.com>
5491
5492 [BZ #14803]
5493 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5494 of pi/2 rounded to nearest to 64 bits.
5495 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5496 nearest to 64 bits.
5497 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5498 bits.
5499
14bc93a9
JL
55002012-11-28 Jeff Law <law@redhat.com>
5501 Martin Osvald <mosvald@redhat.com>
5502
5503 [BZ #14889]
5504 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5505 * sunrpc/svc.c: Include time.h.
5506 (__svc_accept_failed): New function.
5507 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5508 any reason other than EINTR, call __svc_accept_failed.
5509 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5510 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5511
e3c6aa3a
AS
55122012-11-28 Andreas Schwab <schwab@suse.de>
5513
5514 * scripts/abilist.awk: Also handle indirect functions in .opd
5515 section.
5516
1bead169
JM
55172012-11-28 Joseph Myers <joseph@codesourcery.com>
5518
5519 [BZ #13881]
5520 * sysdeps/x86/fpu/powl_helper.c: New file.
5521 * sysdeps/x86/fpu/Makefile: Likewise.
5522 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5523 (p3): New object.
5524 (__ieee754_powl): Use __powl_helper for finite arguments except
5525 integer exponents below 8.
5526 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5527 (p3): New object.
5528 (__ieee754_powl): Use __powl_helper for finite arguments except
5529 integer exponents below 8.
5530 * math/libm-test.inc (pow_test): Add more tests and enable some
5531 previously disabled tests.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534
0817d63d
SP
55352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5536 Carlos O'Donell <carlos_odonell@mentor.com>
5537
5538 * nss/makedb.c (is_prime): Assert that input is odd and greater
5539 than 4. Note that fact in a comment too.
5540 (next_prime): Add 4 to input.
5541
de2fd463
SP
55422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5543
5544 [BZ #11741]
5545 * libio/Makefile (tests): Add test case tst-fwrite-error.
5546 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5547 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5548 * libio/tst-fwrite-error.c: New test case.
5549
c515fb51
L
55502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5551
5552 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5553 before casting to void *.
5554 * include/libc-internal.h (__pointer_type): New macro.
5555 (__integer_if_pointer_type_sub): Likewise.
5556 (__integer_if_pointer_type): Likewise.
5557 (cast_to_integer): Likewise.
5558 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5559 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5560 before casting to atomic64_t.
5561 (atomic_exchange_acq): Likewise.
5562 (__arch_exchange_and_add_body): Likewise.
5563 (__arch_add_body): Likewise.
5564 (atomic_add_negative): Likewise.
5565 (atomic_add_zero): Likewise.
5566
4cf77aa9
JM
55672012-11-26 Joseph Myers <joseph@codesourcery.com>
5568
5569 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5570 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5571 (add_fdes): Likewise.
5572 (linear_search_fdes): Likewise.
5573 (binary_search_unencoded_fdes): Likewise.
5574
d260b3b4
AS
55752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5576
5577 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5578
67060746
AC
55792012-11-24 Adam Conrad <adconrad@0c3.net>
5580
5581 * configure.in: Autodetect C++ header directories.
5582 * configure: Regenerated.
5583
800938a1
MF
55842012-11-23 Mike Frysinger <vapier@gentoo.org>
5585
5586 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5587
4e6e34e6
AS
55882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5589
5590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5591
7c7feb47
JM
55922012-11-22 Joseph Myers <joseph@codesourcery.com>
5593
7184dcdf
JM
5594 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5595 LDBL_MANT_DIG == 106]: Disable some tests.
5596 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5597 Likewise.
5598 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5599 Likewise.
5600
0a42601f
JM
5601 [BZ #14871]
5602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5603 input for small inputs. Return +/- pi/2 for large inputs.
5604 * math/libm-test.inc (atan_test): Add more tests.
5605
79c9b9fe
JM
5606 * sysdeps/generic/unwind-dw2-fde-glibc.c
5607 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5608 __attribute__ ((unused)).
5609
c60d3bf2
JM
5610 [BZ #14645]
5611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5612 x * y if x and y are nonzero and z is zero.
5613
ef1e0867
JM
5614 [BZ #14811]
5615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5616 nonzero exponents with absolute value below 0x1p-117 to +/-
5617 0x1p-117.
5618
1468ded3
JM
5619 [BZ #14869]
5620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5621 up arguments below 2**-450, not just those below 2**-500.
5622 * math/libm-test.inc (hypot_test): Add another test.
5623
8e27e3cc
JM
5624 [BZ #14868]
5625 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5626 Return a+b for ratio over 2**120, not 2**60.
5627 * math/libm-test.inc (hypot_test): Add another test.
5628
c9c0279b
JM
5629 * math/libm-test.inc (clog_test): Use
5630 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5631 (clog10_test): Likewise.
5632
7c7feb47
JM
5633 [BZ #6778]
5634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5635
fff1530e
AS
56362012-11-22 Andreas Schwab <schwab@suse.de>
5637
5638 * sysdeps/i386/fpu/libm-test-ulps: Update.
5639
94558d30
PT
56402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5641
5642 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5643 printf output with newline.
5644
7e1be741
L
56452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5646
6bfea974
L
5647 [BZ #14865]
5648 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5649 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5650 -z nodlopen, -z initfirst and -z execstack support.
5651 * configure: Regenerated.
5652
7e1be741
L
5653 * elf/elf.h (DF_1_NODIRECT): New macro.
5654 (DF_1_IGNMULDEF): Likewise.
5655 (DF_1_NOKSYMS): Likewise.
5656 (DF_1_NOHDR): Likewise.
5657 (DF_1_EDITED): Likewise.
5658 (DF_1_NORELOC): Likewise.
5659 (DF_1_SYMINTPOSE): Likewise.
5660 (DF_1_GLOBAUDIT): Likewise.
5661 (DF_1_SINGLETON): Likewise.
5662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5663 DT_1_SUPPORTED_MASK bits.
5664 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5665
105ce2ce
CD
56662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5667
5668 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5669
123be9de
TS
56702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5671
d072f3f7
TS
5672 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5673 macro.
5674
123be9de
TS
5675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5676 (sendmmsg): Move declarations...
5677 * socket/sys/socket.h: ... here.
5678 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5679 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5680 include it from...
5681 * socket/recvmmsg.c: ... this new file.
5682 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5683 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5684 definition of __sendmmsg hidden.
5685 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5686 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5687 Move ENOSYS stub into and include it from...
5688 * socket/sendmmsg.c: ... this new file.
5689 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5690 (sysdep_routines): Move recvmmsg and sendmmsg...
5691 * socket/Makefile (routines): ... here.
5692 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5693 (GLIBC_PRIVATE): Add __sendmmsg.
5694 * include/sys/socket.h (__sendmmsg): Add declarations.
5695 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5696 sendmmsg.
5697
cf9a5d18
JM
56982012-11-20 Joseph Myers <joseph@codesourcery.com>
5699
5700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5701 variable I1 with __attribute__ ((unused)).
5702 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5703
ecd4caf9
JM
57042012-11-19 Joseph Myers <joseph@codesourcery.com>
5705
be14d48f
JM
5706 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5707 DUMMY variables with __attribute__ ((unused)).
5708
ecd4caf9
JM
5709 * bits/byteswap.h: Include <bits/types.h>.
5710 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5711
986cab95
PT
57122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5713
5714 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5715 string_t. Do not manually set errno.
5716 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5717 length with __strnlen. Make sure to both set errno and return it on
5718 failure.
5719
6d33cc9d
DM
57202012-11-19 David S. Miller <davem@davemloft.net>
5721
5722 With help from Joseph Myers.
5723 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5724 very large arguments properly.
5725 * math/libm-test.inc (atan_test): New tests.
5726 (atan2_test): New tests.
5727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5729
ee663277
JM
57302012-11-19 Joseph Myers <joseph@codesourcery.com>
5731
877f2d8e
JM
5732 [BZ #14856]
5733 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5734 Define to 3.
5735
116fc08a
JM
5736 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5737 [POSIX] (EADDRNOTAVAIL): Likewise.
5738 [POSIX] (EAFNOSUPPORT): Likewise.
5739 [POSIX] (EALREADY): Likewise.
5740 [POSIX] (ECONNABORTED): Likewise.
5741 [POSIX] (ECONNREFUSED): Likewise.
5742 [POSIX] (ECONNRESET): Likewise.
5743 [POSIX] (EDESTADDRREQ): Likewise.
5744 [POSIX] (EDQUOT): Likewise.
5745 [POSIX] (EHOSTUNREACH): Likewise.
5746 [POSIX] (EIDRM): Likewise.
5747 [POSIX] (EISCONN): Likewise.
5748 [POSIX] (ELOOP): Likewise.
5749 [POSIX] (EMULTIHOP): Likewise.
5750 [POSIX] (ENETDOWN): Likewise.
5751 [POSIX] (ENETUNREACH): Likewise.
5752 [POSIX] (ENOBUFS): Likewise.
5753 [POSIX] (ENODATA): Likewise.
5754 [POSIX] (ENOLINK): Likewise.
5755 [POSIX] (ENOMSG): Likewise.
5756 [POSIX] (ENOPROTOOPT): Likewise.
5757 [POSIX] (ENOSR): Likewise.
5758 [POSIX] (ENOSTR): Likewise.
5759 [POSIX] (ENOTCONN): Likewise.
5760 [POSIX] (ENOTSOCK): Likewise.
5761 [POSIX] (EOPNOTSUPP): Likewise.
5762 [POSIX] (EOVERFLOW): Likewise.
5763 [POSIX] (EPROTO): Likewise.
5764 [POSIX] (EPROTONOSUPPORT): Likewise.
5765 [POSIX] (EPROTOTYPE): Likewise.
5766 [POSIX] (ESTALE): Likewise.
5767 [POSIX] (ETIME): Likewise.
5768 [POSIX] (ETXTBSY): Likewise.
5769 [POSIX] (EWOULDBLOCK): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5771 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5772 [POSIX] (SEEK_CUR): Likewise.
5773 [POSIX] (SEEK_END): Likewise.
5774 [POSIX || UNIX98] (mode_t): Do not require.
5775 [POSIX] (off_t): Likewise.
5776 [POSIX] (pid_t): Likewise.
5777 [POSIX] (sys/stat.h): Do not allow header.
5778 [POSIX] (unistd.h): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5780 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5782 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5783 require.
5784 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5785 sigevent): Specify elements.
5786 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5787 entry.
5788 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5789 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5790
a483863f
JM
5791 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5792 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5793 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5794 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5795 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5796 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5797 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5798 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5800 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5801 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5802 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5803 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5805 Likewise.
5806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5807 Likewise.
5808 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5809 Likewise.
5810 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5811 Likewise.
5812 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5815 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5817 Specify lower bound on value.
5818 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5824 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5825 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5826 value.
5827 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5828 as optional.
5829 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5845 entry.
5846 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5847 optional.
5848 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5854 Likewise.
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5860 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5862 as optional.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5867 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5868 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5869 specify as optional.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5873 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5874 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5875 [XPG3] (NL_LANGMAX): Likewise.
5876 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5877 [POSIX || XPG3] (NL_NMAX): Likewise.
5878 [POSIX || XPG3] (NL_SETMAX): Likewise.
5879 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5880 [XPG3] (NZERO): Likewise.
5881 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5882 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5883 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5884 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5885 (REG_ERANGE): Expect.
5886 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5887 optional-constant.
5888 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5889 Use (void) in prototype.
5890 [POSIX] (*_t): Allow.
5891 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5892 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5893 (WRDE_BADVAL): Expect.
5894
5ba924e3
JM
5895 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5896 expect.
5897 [XPG3 || XPG4] (O_RSYNC): Likewise.
5898 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5899 Likewise.
5900 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5901 [XPG3 || XPG4] (sigqueue): Likewise.
5902 [XPG3 || XPG4] (sigtimedwait): Likewise.
5903 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5904 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5905 [XPG3 || XPG4] (vsnprintf): Likewise.
5906 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5907 Likewise.
5908 [XPG3 || XPG4] (blksize_t): Likewise.
5909 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5910 Likewise.
5911 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5912 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5913 [XPG3 || XPG4] (struct itimerspec): Likewise.
5914 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5915 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5916 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5917 [XPG3 || XPG4] (clockid_t): Likewise.
5918 [XPG3 || XPG4] (timer_t): Likewise.
5919 [XPG3 || XPG4] (clock_getres): Likewise.
5920 [XPG3 || XPG4] (clock_gettime): Likewise.
5921 [XPG3 || XPG4] (clock_settime): Likewise.
5922 [XPG3 || XPG4] (nanosleep): Likewise.
5923 [XPG3 || XPG4] (timer_create): Likewise.
5924 [XPG3 || XPG4] (timer_delete): Likewise.
5925 [XPG3 || XPG4] (timer_gettime): Likewise.
5926 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5927 [XPG3 || XPG4] (timer_settime): Likewise.
5928 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5929 [XPG3 || XPG4] (getlogin_r): Likewise.
5930 [XPG3 || XPG4] (pread): Likewise.
5931 [XPG3 || XPG4] (pthread_atfork): Likewise.
5932 [XPG3 || XPG4] (pwrite): Likewise.
5933
ee663277
JM
5934 [BZ #14835]
5935 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5936 <bits/siginfo.h>.
5937
942caa16
PT
59382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5939
e19af380
PT
5940 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5941 finalizing MALLSTREAM.
5942
942caa16
PT
5943 * sysdeps/mach/hurd/syncfs.c: New file.
5944
cfde9b46
SP
59452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5946
5947 [BZ #14719]
5948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5949 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5950 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5951 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5952 (_nss_dns_gethostbyname4_r): Likewise.
5953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5954 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5955
f6da27e5
PH
59562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5957
5958 [BZ #13763]
5959 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5960
6665d4a2
SM
59612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5962
1f51ee92
SM
5963 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5964 * elf/cache.c (print_entry): Print ",AArch64" for
5965 FLAG_AARCH64_LIB64
5966
6665d4a2
SM
5967 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5968 * elf/cache.c (print_entry): Print ",hard-float" for
5969 FLAG_ARM_LIBHF.
5970
05b227bd
DM
59712012-11-18 David S. Miller <davem@davemloft.net>
5972
5973 With help from Joseph Myers.
5974 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5975 cutoff to 2**-13.
5976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5977 cutoff to 2**-25.
5978 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5979 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5980 small.
5981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5982 * math/libm-test.inc (y0_test): New tests.
5983 (y1_test): New tests.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5987
786b0b67
AS
59882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5989
5990 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5991 64-bit targets.
5992 * configure: Regenerated.
5993
8e18b86d
DM
59942012-11-17 David S. Miller <davem@davemloft.net>
5995
5996 [BZ #14811]
5997 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5998 nonzero exponents with absolute value below 0x1p-128 to +/-
5999 0x1p-128.
6000
531f1ae0
JM
60012012-11-17 Joseph Myers <joseph@codesourcery.com>
6002
12df29e2
JM
6003 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6004
150dc1a0
JM
6005 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6006
531f1ae0
JM
6007 * posix/getconf-speclist.c: New file.
6008 * posix/posix-envs.def: Likewise.
6009 * posix/confstr.c (START_ENV_GROUP): New macro.
6010 (END_ENV_GROUP): Likewise.
6011 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6012 (KNOWN_PRESENT_ENV_STRING): Likewise.
6013 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6014 (UNKNOWN_ENVIRONMENT): Likewise.
6015 (confstr): Include posix-envs.def instead of handling
6016 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6017 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6018 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6019 (END_ENV_GROUP): Likewise.
6020 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6021 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6022 (UNKNOWN_ENVIRONMENT): Likewise.
6023 (__sysconf): Include posix-envs.def instead of handling associated
6024 cases directly here.
6025 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6026 preprocessing getconf-speclist.c rather than running getconf or
6027 generating empty file.
6028
a93f9cbc
PT
60292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6030
6031 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6032
d64d9f87
AL
60332012-11-16 Andrej Lajovic <natrij@gmail.com>
6034
6035 [BZ #14672]
6036 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6037
447885eb
DM
60382012-11-16 David S. Miller <davem@davemloft.net>
6039
6040 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6041 smaller than LDBL_EPSILON/2.0L, just return xm1.
6042
bcbf9830
L
60432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * elf/tst-array1.c (init): Set constructor priority to 1000.
6046 (fini): Set destructor priority to 1000.
6047 * elf/tst-array2dep.c: Likewise.
6048
2b766585
SP
60492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6050
6051 [BZ #11741]
6052 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6053 (_IO_new_file_xsputn): Also return EOF if none of the input
6054 data was written when overflow failed.
6055 * libio/iopadn.c (_IO_padn): Likewise.
6056 * libio/iowpadn.c (_IO_wpadn): Likewise.
6057 * stdio-common/tst-put-error.c: Add copyright notice.
6058 (do_test): Add case for printing padded string.
6059 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6060 _IO_padn returned error.
6061 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6062 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6063 return EOF.
6064
b1848fde
SP
60652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
6067 * libio/libioP.h: Add comment note that the references to C++
6068 bits are now obsolete.
6069
2fd89785
MS
60702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6071
6072 * math/libm-test.inc (check_complex): Use asprintf.
6073
e3ea5409
JM
60742012-11-14 Joseph Myers <joseph@codesourcery.com>
6075
6076 * debug/pcprofiledump.c (print_version): Update copyright year.
6077 * malloc/memusagestat.c (print_version): Likewise.
6078
2e64d265
L
60792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 [BZ #14831]
6082 * elf/Makefile (tests): Add tst-audit8.
6083 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6084 ($(objpfx)tst-audit8.out): New target.
6085 (tst-audit8-ENV): New variable.
6086 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6087 audit if l_reloc_result is NULL.
6088 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6089 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6090 * elf/tst-audit8.c: New file.
6091
c485e4d2
MS
60922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6093
6094 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6095 * misc/Makefile (CFLAGS-select.c): Define.
6096 * posix/Makefile (CFLAGS-pause.c): Define.
6097
3a0d900a
DM
60982012-11-13 David S. Miller <davem@davemloft.net>
6099
6100 * crypt/Makefile: Move test targets after toplevel Rules
6101 inclusion. Grab any necessary sysdep routines when linking.
6102 * crypt/md5.c (md5_process_block): Remove define, we will always
6103 name it __md5_process_block.
6104 (md5_finish_ctx): Update md5_process_block call.
6105 (md5_stream): Likewise.
6106 (md5_process_bytes): Likewise.
6107 (md5_process_block): Rename to __md5_process_block and move to ...
6108 * crypt/md5-block.c: ... here.
6109 * crypt/sha256.c (sha256_process_block): Move to ...
6110 * crypt/sha256-block.c: ... here.
6111 * crypt/sha512.c (sha512_process_block): Move to ...
6112 * crypt/sha512-block.c: ... here.
6113 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6114 path.
6115 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6116 * sysdeps/sparc/sparc64/multiarch/Makefile
6117 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6118 crypt subdir.
6119 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6121 multiarch changes.
6122 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6123 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6124 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6125 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6126 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6127 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6128 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6129 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6131 file.
6132 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6134 file.
6135 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6136
8ca89318
JM
61372012-11-13 Joseph Myers <joseph@codesourcery.com>
6138
e27d476a
JM
6139 * timezone/tzselect.ksh: Update from tzcode git revision
6140 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6141 * timezone/zdump.c: Likewise.
6142 * timezone/zic.c: Likewise.
6143 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6144 in TZVERSION setting, not $(PKGVERSION).
6145 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6146 REPORT_BUGS_TO settings.
6147
8ca89318
JM
6148 [BZ #14838]
6149 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6150 macro.
6151
47594329
MS
61522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6153
6154 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6155 detection to immediately after _FP_ROUND().
6156 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6157 bits are 0.
6158
640ac3f1
DM
61592012-11-11 David S. Miller <davem@davemloft.net>
6160
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6162 inttypes.h
6163 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6164 __close rather than their public counterparts.
6165
3d2577bb
JM
61662012-11-10 Joseph Myers <joseph@codesourcery.com>
6167
6168 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6169 file.
6170 [UNIX98] (sem_timedwait): Do not expect.
6171 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6172 [XPG4 || UNIX98] (sockatmark): Do not expect.
6173 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6174 (clock_getcpuclockid): Do not expect.
6175 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6176 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6177 Do not expect.
6178 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6179 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6180 [UNIX98] (vwscanf): Likewise.
6181 [UNIX98] (vswscanf): Likewise.
6182
fb1ae1ee
JM
61832012-11-09 Joseph Myers <joseph@codesourcery.com>
6184
9ec6f8bd
JM
6185 * timezone/version.h: Remove file.
6186 * timezone/README: Do not refer to version.h.
6187 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6188 $(objpfx)version.h.
6189 ($(objpfx)zdump.o): Likewise.
c3f81911 6190 ($(objpfx)version.h): New target.
9ec6f8bd 6191
0aa8f8a1
JM
6192 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6193 2012i.
6194 * timezone/README: Don't mention modification to tzselect.ksh.
6195 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6196 work on unmodified tzselect.ksh. Substitute version numbers in
6197 tzselect.ksh.
6198
4e87147f
JM
6199 * Makefile (format-me): Remove.
6200 (INSTALL): Adjust indentation. Use commands directly instead of
6201 using $(format-me).
6202
8b748aed
JM
6203 * aclocal.m4 (ACX_PKGVERSION): New macro.
6204 (ACX_BUGURL): Likewise.
6205 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6206 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6207 (REPORT_BUGS_TO): Likewise.
6208 * configure: Regenerated.
6209 * config.h.in (PKGVERSION): New macro.
6210 (REPORT_BUGS_TO): Likewise.
6211 * config.make.in (PKGVERSION): New variable.
6212 (PKGVERSION_TEXI): Likewise.
6213 (REPORT_BUGS_TO): Likewise.
6214 (REPORT_BUGS_TEXI): Likewise.
6215 * Makefile (format-me): Use -I$(common-objpfx)manual.
6216 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6217 ($(common-objpfx)manual/%): New target.
6218 (manual/%): Remove target.
6219 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6220 (print_version): Use PKGVERSION.
6221 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6222 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6223 and REPORT_BUGS_TO.
6224 ($(objpfx)xtrace): Likewise.
6225 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6226 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6227 (print_version): Use PKGVERSION.
6228 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6229 (do_version): Use PKGVERSION.
6230 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6231 REPORT_BUGS_TO.
6232 (common-ldd-rewrite): Likewise.
6233 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6234 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6235 (print_version): Use PKGVERSION.
6236 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6237 * elf/pldd.c (argp_program_bug_address): Remove variable.
6238 (more_help): New function.
6239 (argp): Use more_help.
6240 (print_version): Use PKGVERSION.
6241 * elf/sln.c (main): Use PKGVERSION.
6242 (usage): Use REPORT_BUGS_TO.
6243 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6244 (top level): Use PKGVERSION.
6245 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6246 (print_version): Use PKGVERSION.
6247 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6248 (print_version): Use PKGVERSION.
6249 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6250 (print_version): Use PKGVERSION.
6251 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6252 (print_version): Use PKGVERSION.
6253 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6254 (print_version): Use PKGVERSION.
6255 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6256 (print_version): Use PKGVERSION.
6257 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6258 and BUGURL.
6259 ($(objpfx)memusage): Likewise.
6260 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6261 (do_version): Use PKGVERSION.
6262 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6263 (print_version): Use PKGVERSION.
6264 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6265 ($PKGVERSION): New variable.
6266 ($REPORT_BUGS_TO): Likewise.
6267 (usage): Use $REPORT_BUGS_TO.
6268 (top level): Use $PKGVERSION.
6269 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6270 ($(objpfx)pkgvers.texi): New rule.
6271 ($(objpfx)stamp-pkgvers): Likewise.
6272 * manual/install.texi: Include pkgvers.texi.
6273 (--with-pkgversion): Document new configure option.
6274 (--with-bugurl): Likewise.
6275 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6276 than necessarily for this particular distribution. Use
6277 REPORT_BUGS_TO for where to report bugs.
6278 * INSTALL: Regenerated.
6279 * manual/libc.texinfo: Include pkgvers.texi.
6280 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6281 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6282 (print_version): Use PKGVERSION.
6283 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6284 (print_version): Use PKGVERSION.
6285 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6286 (print_version): Use PKGVERSION.
6287 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6288 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6289 macro.
6290 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6291 (print_version): Use PKGVERSION.
6292 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6293 (print_version): Use PKGVERSION.
6294 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6295 and PKGVERSION.
6296
92e4b6a9
JM
6297 * timezone/checktab.awk: Update from tzcode 2012i.
6298 * timezone/ialloc.c: Likewise.
6299 * timezone/private.h: Likewise.
6300 * timezone/scheck.c: Likewise.
6301 * timezone/tzfile.h: Likewise.
6302 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6303 (TZVERSION): Hardcode tzcode version number.
6304 * timezone/zdump.c: Update from tzcode 2012i.
6305 * timezone/zic.c: Likewise.
6306 * timezone/version.h: New file.
6307 * timezone/README: Describe version.h. Update upstream location.
6308
9bde902c
JM
6309 [BZ #14824]
6310 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6311 (mktemp): Enable declaration.
6312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6316 Likewise.
6317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6318 Likewise.
6319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6320 Likewise.
6321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6322 Likewise.
6323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6324 Likewise.
6325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6326 Likewise.
6327
fb1ae1ee
JM
6328 [BZ #14821]
6329 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6330 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6331 for copies of such integer values.
6332 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6333 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6334
2c1adbcb
AJ
63352012-11-09 Andreas Jaeger <aj@suse.de>
6336
6337 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6338 definitions and declarations that are provided by
6339 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6340
d0f8457e
AK
63412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6342
3a235abb 6343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6344 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6345 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6346 definition.
6347
57241e26
MS
63482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6349
6350 * elf/elf.h: Update comment before AArch64 relocations.
6351
60e8270d
DM
63522012-11-07 David S. Miller <davem@davemloft.net>
6353
6354 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6356 (__start_context): Declare.
6357 (__makecontext_ret): Delete.
6358 (__makecontext): Hook up __start_context instead of
6359 __makecontext_ret.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6361 (sysdep_routines): Add __start_context when in stdlib.
6362
0fbb0fbc
JM
63632012-11-07 Joseph Myers <joseph@codesourcery.com>
6364
6365 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6366 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6367 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6368 hardcoded "nm".
6369 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6370 (READELF): New variable. Use it instead of hardcoded "readelf".
6371
eb48db7e
L
63722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6375 * sysdeps/x86/Makefile: Here.
6376 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6377 * sysdeps/x86/tst-xmmymm.sh: This.
6378
05bcf62a
JM
63792012-11-07 Joseph Myers <joseph@codesourcery.com>
6380
c4b6cf53
JM
6381 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6382 expectations.
6383 [UNIX98] (pthread_barrier_t): Do not expect.
6384 [UNIX98] (pthread_barrierattr_t): Likewise.
6385 [UNIX98] (pthread_spinlock_t): Likewise.
6386 [UNIX98] (pthread_barrier_destroy): Likewise.
6387 [UNIX98] (pthread_barrier_init): Likewise.
6388 [UNIX98] (pthread_barrier_wait): Likewise.
6389 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6390 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6391 [UNIX98] (pthread_barrierattr_init): Likewise.
6392 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6393 [UNIX98] (pthread_getcpuclockid): Likewise.
6394 [UNIX98] (pthread_mutex_timedlock): Likewise.
6395 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6396 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6397 [UNIX98] (pthread_sigmask): Likewise.
6398 [UNIX98] (pthread_spin_destroy): Likewise.
6399 [UNIX98] (pthread_spin_init): Likewise.
6400 [UNIX98] (pthread_spin_lock): Likewise.
6401 [UNIX98] (pthread_spin_trylock): Likewise.
6402 [UNIX98] (pthread_spin_unlock): Likewise.
6403 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6404 Do not expect.
6405 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6407 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6408 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6409 [XPG3 || XPG4] (pthread_key_t): Likewise.
6410 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6411 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6412 [XPG3 || XPG4] (pthread_once_t): Likewise.
6413 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6414 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6416 [XPG3 || XPG4] (pthread_t): Likewise.
6417
cbe6e120
JM
6418 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6419 not expect.
6420 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6421
1b126443
JM
6422 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6423 Change function return type to int.
6424
b961a573
JM
6425 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6426 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6427 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6428 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6429 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6430 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6431 [!POSIX] (posix_madvise): Likewise.
6432 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6433 && !UNIX98].
6434 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6435 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6436 (mode_t): Likewise.
6437 (posix_mem_offset): Likewise.
6438 (posix_typed_mem_get_info): Likewise.
6439 (posix_typed_mem_open): Likewise.
6440
9e188909
JM
6441 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6442 Change condition to [XOPEN2K8].
6443
05bcf62a
JM
6444 * conform/conformtest.pl: Preprocess allow-header data with -x c
6445 instead of from stdin.
6446 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6447 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6448 [C99-based standards] (cerfc): Likewise.
6449 [C99-based standards] (cexp2): Likewise.
6450 [C99-based standards] (cexpm1): Likewise.
6451 [C99-based standards] (clog10): Likewise.
6452 [C99-based standards] (clog1p): Likewise.
6453 [C99-based standards] (clog2): Likewise.
6454 [C99-based standards] (clgamma): Likewise.
6455 [C99-based standards] (ctgamma): Likewise.
6456 [C99-based standards] (cerff): Likewise.
6457 [C99-based standards] (cerfcf): Likewise.
6458 [C99-based standards] (cexp2f): Likewise.
6459 [C99-based standards] (cexpm1f): Likewise.
6460 [C99-based standards] (clog10f): Likewise.
6461 [C99-based standards] (clog1pf): Likewise.
6462 [C99-based standards] (clog2f): Likewise.
6463 [C99-based standards] (clgammaf): Likewise.
6464 [C99-based standards] (ctgammaf): Likewise.
6465 [C99-based standards] (cerfl): Likewise.
6466 [C99-based standards] (cerfcl): Likewise.
6467 [C99-based standards] (cexp2l): Likewise.
6468 [C99-based standards] (cexpm1l): Likewise.
6469 [C99-based standards] (clog10l): Likewise.
6470 [C99-based standards] (clog1pl): Likewise.
6471 [C99-based standards] (clog2l): Likewise.
6472 [C99-based standards] (clgammal): Likewise.
6473 [C99-based standards] (ctgammal): Likewise.
6474 * conform/data/inttypes.h-data [C99-based standards]: Include
6475 stdint.h-data. Remove all expectations for stdint.h contents.
6476 [C99-based standards] (PRI*): Do not allow.
6477 [C99-based standards] (SCN*): Likewise.
6478 [C99-based standards] (*_t): Likewise.
6479 [C99-based-standards] (PRId8): Expect macro.
6480 [C99-based-standards] (PRIi8): Likewise.
6481 [C99-based-standards] (PRIo8): Likewise.
6482 [C99-based-standards] (PRIu8): Likewise.
6483 [C99-based-standards] (PRIx8): Likewise.
6484 [C99-based-standards] (PRIX8): Likewise.
6485 [C99-based-standards] (SCNd8): Likewise.
6486 [C99-based-standards] (SCNi8): Likewise.
6487 [C99-based-standards] (SCNo8): Likewise.
6488 [C99-based-standards] (SCNu8): Likewise.
6489 [C99-based-standards] (SCNx8): Likewise.
6490 [C99-based-standards] (PRIdLEAST8): Likewise.
6491 [C99-based-standards] (PRIiLEAST8): Likewise.
6492 [C99-based-standards] (PRIoLEAST8): Likewise.
6493 [C99-based-standards] (PRIuLEAST8): Likewise.
6494 [C99-based-standards] (PRIxLEAST8): Likewise.
6495 [C99-based-standards] (PRIXLEAST8): Likewise.
6496 [C99-based-standards] (SCNdLEAST8): Likewise.
6497 [C99-based-standards] (SCNiLEAST8): Likewise.
6498 [C99-based-standards] (SCNoLEAST8): Likewise.
6499 [C99-based-standards] (SCNuLEAST8): Likewise.
6500 [C99-based-standards] (SCNxLEAST8): Likewise.
6501 [C99-based-standards] (PRIdFAST8): Likewise.
6502 [C99-based-standards] (PRIiFAST8): Likewise.
6503 [C99-based-standards] (PRIoFAST8): Likewise.
6504 [C99-based-standards] (PRIuFAST8): Likewise.
6505 [C99-based-standards] (PRIxFAST8): Likewise.
6506 [C99-based-standards] (PRIXFAST8): Likewise.
6507 [C99-based-standards] (SCNdFAST8): Likewise.
6508 [C99-based-standards] (SCNiFAST8): Likewise.
6509 [C99-based-standards] (SCNoFAST8): Likewise.
6510 [C99-based-standards] (SCNuFAST8): Likewise.
6511 [C99-based-standards] (SCNxFAST8): Likewise.
6512 [C99-based-standards] (PRId16): Likewise.
6513 [C99-based-standards] (PRIi16): Likewise.
6514 [C99-based-standards] (PRIo16): Likewise.
6515 [C99-based-standards] (PRIu16): Likewise.
6516 [C99-based-standards] (PRIx16): Likewise.
6517 [C99-based-standards] (PRIX16): Likewise.
6518 [C99-based-standards] (SCNd16): Likewise.
6519 [C99-based-standards] (SCNi16): Likewise.
6520 [C99-based-standards] (SCNo16): Likewise.
6521 [C99-based-standards] (SCNu16): Likewise.
6522 [C99-based-standards] (SCNx16): Likewise.
6523 [C99-based-standards] (PRIdLEAST16): Likewise.
6524 [C99-based-standards] (PRIiLEAST16): Likewise.
6525 [C99-based-standards] (PRIoLEAST16): Likewise.
6526 [C99-based-standards] (PRIuLEAST16): Likewise.
6527 [C99-based-standards] (PRIxLEAST16): Likewise.
6528 [C99-based-standards] (PRIXLEAST16): Likewise.
6529 [C99-based-standards] (SCNdLEAST16): Likewise.
6530 [C99-based-standards] (SCNiLEAST16): Likewise.
6531 [C99-based-standards] (SCNoLEAST16): Likewise.
6532 [C99-based-standards] (SCNuLEAST16): Likewise.
6533 [C99-based-standards] (SCNxLEAST16): Likewise.
6534 [C99-based-standards] (PRIdFAST16): Likewise.
6535 [C99-based-standards] (PRIiFAST16): Likewise.
6536 [C99-based-standards] (PRIoFAST16): Likewise.
6537 [C99-based-standards] (PRIuFAST16): Likewise.
6538 [C99-based-standards] (PRIxFAST16): Likewise.
6539 [C99-based-standards] (PRIXFAST16): Likewise.
6540 [C99-based-standards] (SCNdFAST16): Likewise.
6541 [C99-based-standards] (SCNiFAST16): Likewise.
6542 [C99-based-standards] (SCNoFAST16): Likewise.
6543 [C99-based-standards] (SCNuFAST16): Likewise.
6544 [C99-based-standards] (SCNxFAST16): Likewise.
6545 [C99-based-standards] (PRId32): Likewise.
6546 [C99-based-standards] (PRIi32): Likewise.
6547 [C99-based-standards] (PRIo32): Likewise.
6548 [C99-based-standards] (PRIu32): Likewise.
6549 [C99-based-standards] (PRIx32): Likewise.
6550 [C99-based-standards] (PRIX32): Likewise.
6551 [C99-based-standards] (SCNd32): Likewise.
6552 [C99-based-standards] (SCNi32): Likewise.
6553 [C99-based-standards] (SCNo32): Likewise.
6554 [C99-based-standards] (SCNu32): Likewise.
6555 [C99-based-standards] (SCNx32): Likewise.
6556 [C99-based-standards] (PRIdLEAST32): Likewise.
6557 [C99-based-standards] (PRIiLEAST32): Likewise.
6558 [C99-based-standards] (PRIoLEAST32): Likewise.
6559 [C99-based-standards] (PRIuLEAST32): Likewise.
6560 [C99-based-standards] (PRIxLEAST32): Likewise.
6561 [C99-based-standards] (PRIXLEAST32): Likewise.
6562 [C99-based-standards] (SCNdLEAST32): Likewise.
6563 [C99-based-standards] (SCNiLEAST32): Likewise.
6564 [C99-based-standards] (SCNoLEAST32): Likewise.
6565 [C99-based-standards] (SCNuLEAST32): Likewise.
6566 [C99-based-standards] (SCNxLEAST32): Likewise.
6567 [C99-based-standards] (PRIdFAST32): Likewise.
6568 [C99-based-standards] (PRIiFAST32): Likewise.
6569 [C99-based-standards] (PRIoFAST32): Likewise.
6570 [C99-based-standards] (PRIuFAST32): Likewise.
6571 [C99-based-standards] (PRIxFAST32): Likewise.
6572 [C99-based-standards] (PRIXFAST32): Likewise.
6573 [C99-based-standards] (SCNdFAST32): Likewise.
6574 [C99-based-standards] (SCNiFAST32): Likewise.
6575 [C99-based-standards] (SCNoFAST32): Likewise.
6576 [C99-based-standards] (SCNuFAST32): Likewise.
6577 [C99-based-standards] (SCNxFAST32): Likewise.
6578 [C99-based-standards] (PRId64): Likewise.
6579 [C99-based-standards] (PRIi64): Likewise.
6580 [C99-based-standards] (PRIo64): Likewise.
6581 [C99-based-standards] (PRIu64): Likewise.
6582 [C99-based-standards] (PRIx64): Likewise.
6583 [C99-based-standards] (PRIX64): Likewise.
6584 [C99-based-standards] (SCNd64): Likewise.
6585 [C99-based-standards] (SCNi64): Likewise.
6586 [C99-based-standards] (SCNo64): Likewise.
6587 [C99-based-standards] (SCNu64): Likewise.
6588 [C99-based-standards] (SCNx64): Likewise.
6589 [C99-based-standards] (PRIdLEAST64): Likewise.
6590 [C99-based-standards] (PRIiLEAST64): Likewise.
6591 [C99-based-standards] (PRIoLEAST64): Likewise.
6592 [C99-based-standards] (PRIuLEAST64): Likewise.
6593 [C99-based-standards] (PRIxLEAST64): Likewise.
6594 [C99-based-standards] (PRIXLEAST64): Likewise.
6595 [C99-based-standards] (SCNdLEAST64): Likewise.
6596 [C99-based-standards] (SCNiLEAST64): Likewise.
6597 [C99-based-standards] (SCNoLEAST64): Likewise.
6598 [C99-based-standards] (SCNuLEAST64): Likewise.
6599 [C99-based-standards] (SCNxLEAST64): Likewise.
6600 [C99-based-standards] (PRIdFAST64): Likewise.
6601 [C99-based-standards] (PRIiFAST64): Likewise.
6602 [C99-based-standards] (PRIoFAST64): Likewise.
6603 [C99-based-standards] (PRIuFAST64): Likewise.
6604 [C99-based-standards] (PRIxFAST64): Likewise.
6605 [C99-based-standards] (PRIXFAST64): Likewise.
6606 [C99-based-standards] (SCNdFAST64): Likewise.
6607 [C99-based-standards] (SCNiFAST64): Likewise.
6608 [C99-based-standards] (SCNoFAST64): Likewise.
6609 [C99-based-standards] (SCNuFAST64): Likewise.
6610 [C99-based-standards] (SCNxFAST64): Likewise.
6611 [C99-based-standards] (PRIdMAX): Likewise.
6612 [C99-based-standards] (PRIiMAX): Likewise.
6613 [C99-based-standards] (PRIoMAX): Likewise.
6614 [C99-based-standards] (PRIuMAX): Likewise.
6615 [C99-based-standards] (PRIxMAX): Likewise.
6616 [C99-based-standards] (PRIXMAX): Likewise.
6617 [C99-based-standards] (SCNdMAX): Likewise.
6618 [C99-based-standards] (SCNiMAX): Likewise.
6619 [C99-based-standards] (SCNoMAX): Likewise.
6620 [C99-based-standards] (SCNuMAX): Likewise.
6621 [C99-based-standards] (SCNxMAX): Likewise.
6622 [C99-based-standards] (PRIdPTR): Likewise.
6623 [C99-based-standards] (PRIiPTR): Likewise.
6624 [C99-based-standards] (PRIoPTR): Likewise.
6625 [C99-based-standards] (PRIuPTR): Likewise.
6626 [C99-based-standards] (PRIxPTR): Likewise.
6627 [C99-based-standards] (PRIXPTR): Likewise.
6628 [C99-based-standards] (SCNdPTR): Likewise.
6629 [C99-based-standards] (SCNiPTR): Likewise.
6630 [C99-based-standards] (SCNoPTR): Likewise.
6631 [C99-based-standards] (SCNuPTR): Likewise.
6632 [C99-based-standards] (SCNxPTR): Likewise.
6633 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6634 allow.
6635 * conform/data/stdint.h-data: Update comments to clarify
6636 requirements.
6637 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6638 type.
6639 [C99-based standards] (INT8_MAX): Likewise.
6640 [C99-based standards] (INT16_MIN): Likewise.
6641 [C99-based standards] (INT16_MAX): Likewise.
6642 [C99-based standards] (INT32_MIN): Likewise.
6643 [C99-based standards] (INT32_MAX): Likewise.
6644 [C99-based standards] (INT64_MIN): Likewise.
6645 [C99-based standards] (INT64_MAX): Likewise.
6646 [C99-based standards] (UINT8_MAX): Likewise.
6647 [C99-based standards] (UINT16_MAX): Likewise.
6648 [C99-based standards] (UINT32_MAX): Likewise.
6649 [C99-based standards] (UINT64_MAX): Likewise.
6650 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6651 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6652 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6653 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6654 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6655 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6656 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6657 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6658 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6659 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6660 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6661 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6662 [C99-based standards] (INT_FAST8_MIN): Likewise.
6663 [C99-based standards] (INT_FAST8_MAX): Likewise.
6664 [C99-based standards] (INT_FAST16_MIN): Likewise.
6665 [C99-based standards] (INT_FAST16_MAX): Likewise.
6666 [C99-based standards] (INT_FAST32_MIN): Likewise.
6667 [C99-based standards] (INT_FAST32_MAX): Likewise.
6668 [C99-based standards] (INT_FAST64_MIN): Likewise.
6669 [C99-based standards] (INT_FAST64_MAX): Likewise.
6670 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6671 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6672 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6673 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6674 [C99-based standards] (INTPTR_MIN): Likewise.
6675 [C99-based standards] (INTPTR_MAX): Likewise.
6676 [C99-based standards] (UINTPTR_MAX): Likewise.
6677 [C99-based standards] (INTMAX_MIN): Likewise.
6678 [C99-based standards] (INTMAX_MAX): Likewise.
6679 [C99-based standards] (UINTMAX_MAX): Likewise.
6680 [C99-based standards] (PTRDIFF_MIN): Likewise.
6681 [C99-based standards] (PTRDIFF_MAX): Likewise.
6682 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6683 [C99-based standards] (SIZE_MAX): Likewise.
6684 [C99-based standards] (WCHAR_MAX): Likewise.
6685 [C99-based standards] (WINT_MAX): Likewise.
6686 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6687 constraint on value.
6688 [C99-based standards] (WCHAR_MIN): Likewise.
6689 [C99-based standards] (WINT_MIN): Likewise.
6690 [C99-based standards] (*_t): Allow.
6691 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6692 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6693 Include math.h-data and complex.h-data. Remove all expectations
6694 of math.h and complex.h contents.
6695 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6696 at end of line.
6697 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6698 (struct tm): Expect tag.
6699 [C99-based-standards] (wcstof): Expect function.
6700 [C99-based-standards] (wcstold): Likewise.
6701 [C99-based-standards] (wcstoll): Likewise.
6702 [C99-based-standards] (wcstoull): Likewise.
6703 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6704 macro-int-constant. Specify type.
6705 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6706 constraint on value.
6707 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6708 Specify type.
6709 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6710 Specify value.
6711 [ISO C standards]: Do not allow headers.
6712 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6713 wcs[abcdefghijklmnopqrstuvwxyz]*.
6714 [ISO C standards] (*_t): Do not allow.
6715 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6716 Expect function.
6717 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6718 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6719 Specify type.
6720 [ISO C standards]: Do not allow headers.
6721 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6722 is[abcdefghijklmnopqrstuvwxyz]*.
6723 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6724 to[abcdefghijklmnopqrstuvwxyz]*.
6725 [ISO C standards] (*_t): Do not allow.
6726 * conform/data/stdalign.h-data: New file.
6727 * conform/data/stdbool.h-data: Likewise.
6728 * conform/data/stdnoreturn.h-data: Likewise.
6729
7514feb8
RM
67302012-11-07 Roland McGrath <roland@hack.frob.com>
6731
6732 [BZ #14815]
6733 * manual/filesys.texi (Directory Entries): Typo fix.
6734 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6735
19b2ecfc
MS
67362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6737
6738 * elf/elf.h (EM_AARCH64): New macro.
6739 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6740 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6741 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6742 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6743 (R_AARCH64_TLSDESC): Likewise.
6744 (NT_ARM_TLS): Likewise.
6745 (NT_ARM_HW_BREAK): Likewise.
6746 (NT_ARM_HW_WATCH): Likewise.
6747
60e235ee
JM
67482012-11-07 Joseph Myers <joseph@codesourcery.com>
6749
6750 [BZ #14811]
6751 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6752 (__ieee754_powl): Saturate nonzero exponents with absolute value
6753 below 0x1p-79 to +/- 0x1p-79.
6754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6755 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6756 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6757 nonzero exponents with absolute value below 0x1p-32 to +/-
6758 0x1p-32.
6759 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6760 (__ieee754_powl): Saturate nonzero exponents with absolute value
6761 below 0x1p-79 to +/- 0x1p-79.
6762 * math/libm-test.inc (pow_test): Add more tests.
6763
0ab234b7
AK
67642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6765
6766 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6767 _dl_s390_cap_flags with kernel. Increase string length.
6768 (_dl_s390_platforms): Add z196 and zEC12.
6769
45832f74
JM
67702012-11-07 Joseph Myers <joseph@codesourcery.com>
6771
6772 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6773 Change XOPEN21K to XOPEN2K.
6774
19218757
MK
67752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6776
6777 * string/memmove.c: Use memcpy when possible.
6778
c5f45721
AJ
67792012-11-06 Andreas Jaeger <aj@suse.de>
6780
6781 * po/eo.po: Update from translation team.
6782
82477c28
JM
67832012-11-06 Joseph Myers <joseph@codesourcery.com>
6784
6785 [BZ #14793]
6786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6787 exponent and small x and y exponents, scale x or y up. Increase
6788 by 2 the exponent used in scaling up.
6789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6791 * math/libm-test.inc (fma_test): Add more tests.
6792 (fma_test_towardzero): Likewise.
6793 (fma_test_downward): Likewise.
6794 (fma_test_upward): Likewise.
6795
99252c8c
JM
67962012-11-05 Joseph Myers <joseph@codesourcery.com>
6797
acfa885f
JM
6798 [BZ #14805]
6799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6800 fenv_t *.
6801
99252c8c
JM
6802 [BZ #14801]
6803 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6804 namespace for names of struct fields.
6805 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6806 fenv_t fields.
6807 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6808 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6809
d6d98dea
ST
68102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6811
6812 [BZ #3665]
6813 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6814
e10bb107
TS
68152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6816
6817 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6818 PTR_DEMANGLE.
6819
6820 [BZ #5246]
6821 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6822 PTR_DEMANGLE.
6823
a0c2940d
JM
68242012-11-04 Joseph Myers <joseph@codesourcery.com>
6825
6826 [BZ #14797]
6827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6828 definitely overflow as x * y not x * y + z.
6829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6831 * math/libm-test.inc (fma_test): Add more tests.
6832 (fma_test_towardzero): Likewise.
6833 (fma_test_downward): Likewise.
6834 (fma_test_upward): Likewise.
6835
b830319d
TS
68362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6837
6838 [BZ #157]
6839
6840 * include/stub-tag.h: Remove file.
6841 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6842 '#include' of it.
6843 * manual/maint.texi (Porting): Don't reference it.
6844 * Makerules ($(objpfx)stubs): Likewise.
6845 * dirent/closedir.c: Don't include <stub-tag.h>.
6846 * dirent/dirfd.c: Likewise.
6847 * dirent/fdopendir.c: Likewise.
6848 * dirent/getdents.c: Likewise.
6849 * dirent/getdents64.c: Likewise.
6850 * dirent/opendir.c: Likewise.
6851 * dirent/readdir.c: Likewise.
6852 * dirent/readdir64.c: Likewise.
6853 * dirent/readdir64_r.c: Likewise.
6854 * dirent/readdir_r.c: Likewise.
6855 * dirent/rewinddir.c: Likewise.
6856 * dirent/seekdir.c: Likewise.
6857 * dirent/telldir.c: Likewise.
6858 * gmon/profil.c: Likewise.
6859 * grp/setgroups.c: Likewise.
6860 * inet/if_index.c: Likewise.
6861 * io/access.c: Likewise.
6862 * io/chdir.c: Likewise.
6863 * io/chmod.c: Likewise.
6864 * io/chown.c: Likewise.
6865 * io/close.c: Likewise.
6866 * io/dup.c: Likewise.
6867 * io/dup2.c: Likewise.
6868 * io/dup3.c: Likewise.
6869 * io/euidaccess.c: Likewise.
6870 * io/faccessat.c: Likewise.
6871 * io/fchdir.c: Likewise.
6872 * io/fchmod.c: Likewise.
6873 * io/fchmodat.c: Likewise.
6874 * io/fchown.c: Likewise.
6875 * io/fchownat.c: Likewise.
6876 * io/fcntl.c: Likewise.
6877 * io/flock.c: Likewise.
6878 * io/fstatfs.c: Likewise.
6879 * io/fstatfs64.c: Likewise.
6880 * io/fstatvfs.c: Likewise.
6881 * io/fstatvfs64.c: Likewise.
6882 * io/futimens.c: Likewise.
6883 * io/fxstat.c: Likewise.
6884 * io/fxstat64.c: Likewise.
6885 * io/fxstatat.c: Likewise.
6886 * io/fxstatat64.c: Likewise.
6887 * io/getcwd.c: Likewise.
6888 * io/isatty.c: Likewise.
6889 * io/lchmod.c: Likewise.
6890 * io/lchown.c: Likewise.
6891 * io/link.c: Likewise.
6892 * io/linkat.c: Likewise.
6893 * io/lseek.c: Likewise.
6894 * io/lseek64.c: Likewise.
6895 * io/lxstat64.c: Likewise.
6896 * io/mkdir.c: Likewise.
6897 * io/mkdirat.c: Likewise.
6898 * io/mkfifo.c: Likewise.
6899 * io/mkfifoat.c: Likewise.
6900 * io/open.c: Likewise.
6901 * io/open64.c: Likewise.
6902 * io/openat.c: Likewise.
6903 * io/openat64.c: Likewise.
6904 * io/pipe.c: Likewise.
6905 * io/pipe2.c: Likewise.
6906 * io/poll.c: Likewise.
6907 * io/posix_fadvise.c: Likewise.
6908 * io/posix_fadvise64.c: Likewise.
6909 * io/posix_fallocate.c: Likewise.
6910 * io/posix_fallocate64.c: Likewise.
6911 * io/read.c: Likewise.
6912 * io/readlink.c: Likewise.
6913 * io/readlinkat.c: Likewise.
6914 * io/rmdir.c: Likewise.
6915 * io/sendfile.c: Likewise.
6916 * io/sendfile64.c: Likewise.
6917 * io/statfs.c: Likewise.
6918 * io/statfs64.c: Likewise.
6919 * io/statvfs.c: Likewise.
6920 * io/statvfs64.c: Likewise.
6921 * io/symlink.c: Likewise.
6922 * io/symlinkat.c: Likewise.
6923 * io/ttyname.c: Likewise.
6924 * io/ttyname_r.c: Likewise.
6925 * io/umask.c: Likewise.
6926 * io/unlink.c: Likewise.
6927 * io/unlinkat.c: Likewise.
6928 * io/utime.c: Likewise.
6929 * io/utimensat.c: Likewise.
6930 * io/write.c: Likewise.
6931 * io/xmknod.c: Likewise.
6932 * io/xmknodat.c: Likewise.
6933 * io/xstat.c: Likewise.
6934 * io/xstat64.c: Likewise.
6935 * login/getpt.c: Likewise.
6936 * login/grantpt.c: Likewise.
6937 * login/unlockpt.c: Likewise.
6938 * math/e_acoshl.c: Likewise.
6939 * math/e_acosl.c: Likewise.
6940 * math/e_asinl.c: Likewise.
6941 * math/e_atan2l.c: Likewise.
6942 * math/e_atanhl.c: Likewise.
6943 * math/e_coshl.c: Likewise.
6944 * math/e_expl.c: Likewise.
6945 * math/e_fmodl.c: Likewise.
6946 * math/e_gammal_r.c: Likewise.
6947 * math/e_hypotl.c: Likewise.
6948 * math/e_j0l.c: Likewise.
6949 * math/e_j1l.c: Likewise.
6950 * math/e_jnl.c: Likewise.
6951 * math/e_lgammal_r.c: Likewise.
6952 * math/e_log10l.c: Likewise.
6953 * math/e_log2l.c: Likewise.
6954 * math/e_logl.c: Likewise.
6955 * math/e_powl.c: Likewise.
6956 * math/e_rem_pio2l.c: Likewise.
6957 * math/e_sinhl.c: Likewise.
6958 * math/e_sqrtl.c: Likewise.
6959 * math/fclrexcpt.c: Likewise.
6960 * math/fedisblxcpt.c: Likewise.
6961 * math/feenablxcpt.c: Likewise.
6962 * math/fegetenv.c: Likewise.
6963 * math/fegetexcept.c: Likewise.
6964 * math/fegetround.c: Likewise.
6965 * math/feholdexcpt.c: Likewise.
6966 * math/fesetenv.c: Likewise.
6967 * math/fesetround.c: Likewise.
6968 * math/feupdateenv.c: Likewise.
6969 * math/fgetexcptflg.c: Likewise.
6970 * math/fraiseexcpt.c: Likewise.
6971 * math/fsetexcptflg.c: Likewise.
6972 * math/ftestexcept.c: Likewise.
6973 * math/k_cosl.c: Likewise.
6974 * math/k_rem_pio2l.c: Likewise.
6975 * math/k_sinl.c: Likewise.
6976 * math/k_tanl.c: Likewise.
6977 * math/s_asinhl.c: Likewise.
6978 * math/s_atanl.c: Likewise.
6979 * math/s_cbrtl.c: Likewise.
6980 * math/s_erfl.c: Likewise.
6981 * math/s_expm1l.c: Likewise.
6982 * math/s_log1pl.c: Likewise.
6983 * math/s_tanhl.c: Likewise.
6984 * misc/acct.c: Likewise.
6985 * misc/brk.c: Likewise.
6986 * misc/chflags.c: Likewise.
6987 * misc/chroot.c: Likewise.
6988 * misc/fchflags.c: Likewise.
6989 * misc/fgetxattr.c: Likewise.
6990 * misc/flistxattr.c: Likewise.
6991 * misc/fremovexattr.c: Likewise.
6992 * misc/fsetxattr.c: Likewise.
6993 * misc/fsync.c: Likewise.
6994 * misc/ftruncate.c: Likewise.
6995 * misc/futimes.c: Likewise.
6996 * misc/futimesat.c: Likewise.
6997 * misc/getdomain.c: Likewise.
6998 * misc/getdtsz.c: Likewise.
6999 * misc/gethostid.c: Likewise.
7000 * misc/gethostname.c: Likewise.
7001 * misc/getloadavg.c: Likewise.
7002 * misc/getpagesize.c: Likewise.
7003 * misc/getsysstats.c: Likewise.
7004 * misc/getxattr.c: Likewise.
7005 * misc/gtty.c: Likewise.
7006 * misc/ioctl.c: Likewise.
7007 * misc/lgetxattr.c: Likewise.
7008 * misc/listxattr.c: Likewise.
7009 * misc/llistxattr.c: Likewise.
7010 * misc/lremovexattr.c: Likewise.
7011 * misc/lsetxattr.c: Likewise.
7012 * misc/lutimes.c: Likewise.
7013 * misc/madvise.c: Likewise.
7014 * misc/mincore.c: Likewise.
7015 * misc/mlock.c: Likewise.
7016 * misc/mlockall.c: Likewise.
7017 * misc/mmap.c: Likewise.
7018 * misc/mprotect.c: Likewise.
7019 * misc/msync.c: Likewise.
7020 * misc/munlock.c: Likewise.
7021 * misc/munlockall.c: Likewise.
7022 * misc/munmap.c: Likewise.
7023 * misc/preadv.c: Likewise.
7024 * misc/preadv64.c: Likewise.
7025 * misc/ptrace.c: Likewise.
7026 * misc/pwritev.c: Likewise.
7027 * misc/pwritev64.c: Likewise.
7028 * misc/readv.c: Likewise.
7029 * misc/reboot.c: Likewise.
7030 * misc/remap_file_pages.c: Likewise.
7031 * misc/removexattr.c: Likewise.
7032 * misc/revoke.c: Likewise.
7033 * misc/select.c: Likewise.
7034 * misc/setdomain.c: Likewise.
7035 * misc/setegid.c: Likewise.
7036 * misc/seteuid.c: Likewise.
7037 * misc/sethostid.c: Likewise.
7038 * misc/sethostname.c: Likewise.
7039 * misc/setregid.c: Likewise.
7040 * misc/setreuid.c: Likewise.
7041 * misc/setxattr.c: Likewise.
7042 * misc/sstk.c: Likewise.
7043 * misc/stty.c: Likewise.
7044 * misc/swapoff.c: Likewise.
7045 * misc/swapon.c: Likewise.
7046 * misc/sync.c: Likewise.
7047 * misc/syncfs.c: Likewise.
7048 * misc/syscall.c: Likewise.
7049 * misc/truncate.c: Likewise.
7050 * misc/ualarm.c: Likewise.
7051 * misc/usleep.c: Likewise.
7052 * misc/ustat.c: Likewise.
7053 * misc/utimes.c: Likewise.
7054 * misc/vhangup.c: Likewise.
7055 * misc/writev.c: Likewise.
7056 * posix/_exit.c: Likewise.
7057 * posix/alarm.c: Likewise.
7058 * posix/execve.c: Likewise.
7059 * posix/fexecve.c: Likewise.
7060 * posix/fork.c: Likewise.
7061 * posix/fpathconf.c: Likewise.
7062 * posix/getaddrinfo.c: Likewise.
7063 * posix/getegid.c: Likewise.
7064 * posix/geteuid.c: Likewise.
7065 * posix/getgid.c: Likewise.
7066 * posix/getgroups.c: Likewise.
7067 * posix/getlogin.c: Likewise.
7068 * posix/getlogin_r.c: Likewise.
7069 * posix/getpgid.c: Likewise.
7070 * posix/getpid.c: Likewise.
7071 * posix/getppid.c: Likewise.
7072 * posix/getresgid.c: Likewise.
7073 * posix/getresuid.c: Likewise.
7074 * posix/getsid.c: Likewise.
7075 * posix/getuid.c: Likewise.
7076 * posix/glob64.c: Likewise.
7077 * posix/nanosleep.c: Likewise.
7078 * posix/pathconf.c: Likewise.
7079 * posix/pause.c: Likewise.
7080 * posix/posix_madvise.c: Likewise.
7081 * posix/pread.c: Likewise.
7082 * posix/pread64.c: Likewise.
7083 * posix/pwrite.c: Likewise.
7084 * posix/pwrite64.c: Likewise.
7085 * posix/sched_getaffinity.c: Likewise.
7086 * posix/sched_getp.c: Likewise.
7087 * posix/sched_gets.c: Likewise.
7088 * posix/sched_primax.c: Likewise.
7089 * posix/sched_primin.c: Likewise.
7090 * posix/sched_rr_gi.c: Likewise.
7091 * posix/sched_setaffinity.c: Likewise.
7092 * posix/sched_setp.c: Likewise.
7093 * posix/sched_sets.c: Likewise.
7094 * posix/sched_yield.c: Likewise.
7095 * posix/setgid.c: Likewise.
7096 * posix/setlogin.c: Likewise.
7097 * posix/setpgid.c: Likewise.
7098 * posix/setresgid.c: Likewise.
7099 * posix/setresuid.c: Likewise.
7100 * posix/setsid.c: Likewise.
7101 * posix/setuid.c: Likewise.
7102 * posix/sleep.c: Likewise.
7103 * posix/spawni.c: Likewise.
7104 * posix/sysconf.c: Likewise.
7105 * posix/times.c: Likewise.
7106 * posix/wait.c: Likewise.
7107 * posix/wait3.c: Likewise.
7108 * posix/wait4.c: Likewise.
7109 * posix/waitpid.c: Likewise.
7110 * resolv/gai_sigqueue.c: Likewise.
7111 * resource/getpriority.c: Likewise.
7112 * resource/getrlimit.c: Likewise.
7113 * resource/getrusage.c: Likewise.
7114 * resource/nice.c: Likewise.
7115 * resource/setpriority.c: Likewise.
7116 * resource/setrlimit.c: Likewise.
7117 * resource/ulimit.c: Likewise.
7118 * rt/aio_cancel.c: Likewise.
7119 * rt/aio_fsync.c: Likewise.
7120 * rt/aio_read.c: Likewise.
7121 * rt/aio_sigqueue.c: Likewise.
7122 * rt/aio_suspend.c: Likewise.
7123 * rt/aio_write.c: Likewise.
7124 * rt/clock_getres.c: Likewise.
7125 * rt/clock_gettime.c: Likewise.
7126 * rt/clock_nanosleep.c: Likewise.
7127 * rt/clock_settime.c: Likewise.
7128 * rt/lio_listio.c: Likewise.
7129 * rt/mq_close.c: Likewise.
7130 * rt/mq_getattr.c: Likewise.
7131 * rt/mq_notify.c: Likewise.
7132 * rt/mq_open.c: Likewise.
7133 * rt/mq_receive.c: Likewise.
7134 * rt/mq_send.c: Likewise.
7135 * rt/mq_setattr.c: Likewise.
7136 * rt/mq_timedreceive.c: Likewise.
7137 * rt/mq_timedsend.c: Likewise.
7138 * rt/mq_unlink.c: Likewise.
7139 * rt/shm_open.c: Likewise.
7140 * rt/shm_unlink.c: Likewise.
7141 * rt/timer_create.c: Likewise.
7142 * rt/timer_delete.c: Likewise.
7143 * rt/timer_getoverr.c: Likewise.
7144 * rt/timer_gettime.c: Likewise.
7145 * rt/timer_settime.c: Likewise.
7146 * setjmp/__longjmp.c: Likewise.
7147 * setjmp/setjmp.c: Likewise.
7148 * signal/kill.c: Likewise.
7149 * signal/killpg.c: Likewise.
7150 * signal/raise.c: Likewise.
7151 * signal/sigaction.c: Likewise.
7152 * signal/sigaltstack.c: Likewise.
7153 * signal/sigblock.c: Likewise.
7154 * signal/sigignore.c: Likewise.
7155 * signal/sigintr.c: Likewise.
7156 * signal/signal.c: Likewise.
7157 * signal/sigpause.c: Likewise.
7158 * signal/sigpending.c: Likewise.
7159 * signal/sigqueue.c: Likewise.
7160 * signal/sigreturn.c: Likewise.
7161 * signal/sigset.c: Likewise.
7162 * signal/sigsetmask.c: Likewise.
7163 * signal/sigstack.c: Likewise.
7164 * signal/sigsuspend.c: Likewise.
7165 * signal/sigtimedwait.c: Likewise.
7166 * signal/sigvec.c: Likewise.
7167 * signal/sigwait.c: Likewise.
7168 * signal/sigwaitinfo.c: Likewise.
7169 * signal/sysv_signal.c: Likewise.
7170 * socket/accept.c: Likewise.
7171 * socket/accept4.c: Likewise.
7172 * socket/bind.c: Likewise.
7173 * socket/connect.c: Likewise.
7174 * socket/getpeername.c: Likewise.
7175 * socket/getsockname.c: Likewise.
7176 * socket/getsockopt.c: Likewise.
7177 * socket/isfdtype.c: Likewise.
7178 * socket/listen.c: Likewise.
7179 * socket/recv.c: Likewise.
7180 * socket/recvfrom.c: Likewise.
7181 * socket/recvmsg.c: Likewise.
7182 * socket/send.c: Likewise.
7183 * socket/sendmsg.c: Likewise.
7184 * socket/sendto.c: Likewise.
7185 * socket/setsockopt.c: Likewise.
7186 * socket/shutdown.c: Likewise.
7187 * socket/sockatmark.c: Likewise.
7188 * socket/socket.c: Likewise.
7189 * socket/socketpair.c: Likewise.
7190 * stdio-common/ctermid.c: Likewise.
7191 * stdio-common/cuserid.c: Likewise.
7192 * stdio-common/remove.c: Likewise.
7193 * stdio-common/rename.c: Likewise.
7194 * stdio-common/renameat.c: Likewise.
7195 * stdio-common/tempname.c: Likewise.
7196 * stdlib/getcontext.c: Likewise.
7197 * stdlib/makecontext.c: Likewise.
7198 * stdlib/setcontext.c: Likewise.
7199 * stdlib/swapcontext.c: Likewise.
7200 * stdlib/system.c: Likewise.
7201 * streams/fattach.c: Likewise.
7202 * streams/fdetach.c: Likewise.
7203 * streams/getmsg.c: Likewise.
7204 * streams/getpmsg.c: Likewise.
7205 * streams/putmsg.c: Likewise.
7206 * streams/putpmsg.c: Likewise.
7207 * sysdeps/unix/bsd/getpt.c: Likewise.
7208 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7209 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7210 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7212 Likewise.
7213 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7214 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7215 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7216 * sysvipc/msgctl.c: Likewise.
7217 * sysvipc/msgget.c: Likewise.
7218 * sysvipc/msgrcv.c: Likewise.
7219 * sysvipc/msgsnd.c: Likewise.
7220 * sysvipc/semctl.c: Likewise.
7221 * sysvipc/semget.c: Likewise.
7222 * sysvipc/semop.c: Likewise.
7223 * sysvipc/semtimedop.c: Likewise.
7224 * sysvipc/shmat.c: Likewise.
7225 * sysvipc/shmctl.c: Likewise.
7226 * sysvipc/shmdt.c: Likewise.
7227 * sysvipc/shmget.c: Likewise.
7228 * termios/tcdrain.c: Likewise.
7229 * termios/tcflow.c: Likewise.
7230 * termios/tcflush.c: Likewise.
7231 * termios/tcgetattr.c: Likewise.
7232 * termios/tcgetpgrp.c: Likewise.
7233 * termios/tcsendbrk.c: Likewise.
7234 * termios/tcsetattr.c: Likewise.
7235 * termios/tcsetpgrp.c: Likewise.
7236 * time/adjtime.c: Likewise.
7237 * time/clock.c: Likewise.
7238 * time/getitimer.c: Likewise.
7239 * time/gettimeofday.c: Likewise.
7240 * time/setitimer.c: Likewise.
7241 * time/settimeofday.c: Likewise.
7242 * time/stime.c: Likewise.
7243 * time/time.c: Likewise.
7244
72452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7246
a20492cf
PT
7247 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7248 /usr/old/bin.
7249
72e182e3
PT
7250 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7251 instead of spaces.
7252 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7253
fbeafede
JM
72542012-11-03 Joseph Myers <joseph@codesourcery.com>
7255
5b5b04d6
JM
7256 [BZ #14796]
7257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7258 FE_TONEAREST before applying Dekker multiplication and Knuth
7259 addition. Clear inexact exceptions and check for exact zero
7260 results afterwards.
7261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7264 * math/libm-test.inc (fma_test): Add more tests.
7265 (fma_test_towardzero): Likewise.
7266 (fma_test_downward): Likewise.
7267 (fma_test_upward): Likewise.
7268 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7269 function.
7270 (libc_fesetround): New macro.
7271 (libc_fesetroundf): Likewise.
7272 (libc_fesetroundl): Likewise.
7273 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7274 function.
7275 (libc_fesetround_387): Likewise.
7276 (libc_fesetroundf): New macro.
7277 (libc_fesetround): Likewise.
7278 (libc_fesetroundl): Likewise.
7279 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7280 function.
7281 (libc_fesetroundf): New macro.
7282 (libc_fesetround): Likewise.
7283 (libc_fesetroundl): Likewise.
7284 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7285 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7286 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7287 libm_hidden_ver.
7288 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7289 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7290 libm_hidden_def.
7291 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7292 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7293 libm_hidden_ver.
7294 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7295 libm_hidden_def.
7296
fbeafede
JM
7297 [BZ #3439]
7298 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7299 integer constant usable in #if and use that to give value to enum
7300 constant.
7301 (FE_DIVBYZERO): Likewise.
7302 (FE_UNDERFLOW): Likewise.
7303 (FE_OVERFLOW): Likewise.
7304 (FE_INVALID): Likewise.
7305 (FE_INVALID_SNAN): Likewise.
7306 (FE_INVALID_ISI): Likewise.
7307 (FE_INVALID_IDI): Likewise.
7308 (FE_INVALID_ZDZ): Likewise.
7309 (FE_INVALID_IMZ): Likewise.
7310 (FE_INVALID_COMPARE): Likewise.
7311 (FE_INVALID_SOFTWARE): Likewise.
7312 (FE_INVALID_SQRT): Likewise.
7313 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7314 (FE_TONEAREST): Likewise.
7315 (FE_TOWARDZERO): Likewise.
7316 (FE_UPWARD): Likewise.
7317 (FE_DOWNWARD): Likewise.
7318 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7319 (FE_DIVBYZERO): Likewise.
7320 (FE_OVERFLOW): Likewise.
7321 (FE_UNDERFLOW): Likewise.
7322 (FE_INEXACT): Likewise.
7323 (FE_TONEAREST): Likewise.
7324 (FE_DOWNWARD): Likewise.
7325 (FE_UPWARD): Likewise.
7326 (FE_TOWARDZERO): Likewise.
7327 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7328 (FE_UNDERFLOW): Likewise.
7329 (FE_OVERFLOW): Likewise.
7330 (FE_DIVBYZERO): Likewise.
7331 (FE_INVALID): Likewise.
7332 (FE_TONEAREST): Likewise.
7333 (FE_TOWARDZERO): Likewise.
7334 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7335 (FE_OVERFLOW): Likewise.
7336 (FE_UNDERFLOW): Likewise.
7337 (FE_DIVBYZERO): Likewise.
7338 (FE_INEXACT): Likewise.
7339 (FE_TONEAREST): Likewise.
7340 (FE_TOWARDZERO): Likewise.
7341 (FE_UPWARD): Likewise.
7342 (FE_DOWNWARD): Likewise.
7343 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7344 (FE_DIVBYZERO): Likewise.
7345 (FE_OVERFLOW): Likewise.
7346 (FE_UNDERFLOW): Likewise.
7347 (FE_INEXACT): Likewise.
7348 (FE_TONEAREST): Likewise.
7349 (FE_DOWNWARD): Likewise.
7350 (FE_UPWARD): Likewise.
7351 (FE_TOWARDZERO): Likewise.
7352
105ca950
CM
73532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7354
7355 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7356
a542b389
AS
73572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7358
7359 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7360 commands. Quote $PWD.
7361 (blacklist_exports): Don't use remove_newlines. Replace "declare
7362 -x" by "export".
7363 (remove_newlines): Remove.
7364
f62c8abc
L
73652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7368 * stdlib/stdlib.h (atof): Moved to ...
7369 * include/bits/stdlib-float.h: Here. New file.
7370 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7371 * stdlib/bits/stdlib-float.h: New file.
7372 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7373 -mno-sse -mno-mmx.
7374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7375 <xmmintrin.h>.
7376
0155d5b2
JM
73772012-11-02 Joseph Myers <joseph@codesourcery.com>
7378
a68d0680
JM
7379 * conform/conformtest.pl (@headers): Add fenv.h.
7380 * conform/data/fenv.h-data: New file.
7381 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7382 include of <math/fenv.h>.
7383
caf7f573
JM
7384 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7385 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7386 && !UNIX98]. Enables tests for XOPEN2K8.
7387 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7388 POSIX2008]: Likewise.
7389
6c073ad6
JM
7390 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7391 (struct rusage): Do not expect type or its members.
7392
0155d5b2
JM
7393 [BZ #3439]
7394 * math/math.h (FP_NAN): Define macro to integer constant usable in
7395 #if and use that to give value to enum constant.
7396 (FP_INFINITE): Likewise.
7397 (FP_ZERO): Likewise.
7398 (FP_SUBNORMAL): Likewise.
7399 (FP_NORMAL): Likewise.
7400
b5dcacb4
AS
74012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7402
7403 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7404 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7405 arguments.
7406
f7934be8
RM
74072012-11-02 Roland McGrath <roland@hack.frob.com>
7408
7409 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7410 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7411 autoconf-time if not.
7412 * configure.in: Remove AC_PREREQ.
7413
d7d08bde
TMQMF
74142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7415
7416 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7417 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7418 of the internal implementation.
7419
dcdae19a
JM
74202012-11-02 Joseph Myers <joseph@codesourcery.com>
7421
7422 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7423 except include of <misc/sys/syslog.h>.
7424
d6cffd3e
AS
74252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7426
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7428 function returns with a NULL context exit with zero.
7429
b3563932
TMQMF
74302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7431
7432 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7433
b288a93d
L
74342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7435
7436 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7437 (run_program_cmd): This.
7438 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7439 (tst_langinfo): New variable. Use it.
7440
a2421a68
SAS
74412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7442
7443 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7444 floating point opcodes.
7445
6f796e1b
TS
74462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7447
7402596b
TS
7448 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7449 variable.
7450
d0d4f868
TS
7451 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7452
6f796e1b
TS
7453 * sysdeps/mach/hurd/powerpc: Remove directory.
7454 * sysdeps/mach/powerpc: Likewise.
7455
4da224a2
AS
74562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7457
7458 * scripts/check-local-headers.sh: Ignore c++ headers.
7459
341dd673
TS
74602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7461
7462 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7463 __libc_cleanup_region_start argument.
7464
473611b2
JM
74652012-11-01 Joseph Myers <joseph@codesourcery.com>
7466
7467 [BZ #14784]
7468 [BZ #14785]
7469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7470 x * y using scaling, not as x * y + z.
7471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7473 * math/libm-test.inc (fma_test): Add more tests.
7474 (fma_test_towardzero): Likewise.
7475 (fma_test_downward): Likewise.
7476 (fma_test_upward): Likewise.
7477
4078da3d
TS
74782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7479
7480 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7481
903252aa
JM
74822012-10-31 Joseph Myers <joseph@codesourcery.com>
7483
7484 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7485 New variable.
7486
cbc818d0
TS
74872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7488
7489 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7490
5a03cb1e
AS
74912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7492
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7494 Fix sort order.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7496 Likewise.
7497
90aff2ff
TMQMF
74982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7499
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7501 Fix the order of the list for glibc 2.17.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7503 Likewise.
7504
1818fcb7
AS
75052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7508
ef82f4da
JM
75092012-10-31 Joseph Myers <joseph@codesourcery.com>
7510
16a0e2ec
JM
7511 [BZ #14610]
7512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7513 for low part of x being zero before using __atanl (y).
7514 * math/libm-test.inc (atan2_test): Add another test.
7515
0eb69512
JM
7516 * manual/install.texi (Configuring and compiling): Document
7517 general use of test-wrapper and test-wrapper-env.
7518 * INSTALL: Regenerated.
7519
ef82f4da
JM
7520 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7521 (__fma): Do not extract and scale down low bits on after-rounding
7522 systems when result rounded to normal precision would have normal
7523 exponent.
7524 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7525 (__fmal): Do not extract and scale down low bits on after-rounding
7526 systems when result rounded to normal precision would have normal
7527 exponent.
7528 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7529 (__fmal): Do not extract and scale down low bits on after-rounding
7530 systems when result rounded to normal precision would have normal
7531 exponent.
7532 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7533 macro.
7534 (fma_test): Add more tests.
7535 (fma_test_towardzero): Likewise.
7536 (fma_test_downward): Likewise.
7537 (fma_test_upward): Likewise.
7538
954ef0d9
L
75392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 * sysdeps/i386/tininess.h: Renamed to ...
7542 * sysdeps/x86/tininess.h: This.
7543 * sysdeps/x86_64/tininess.h: Removed.
7544
df61ffb2
JM
75452012-10-30 Joseph Myers <joseph@codesourcery.com>
7546
7547 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7548 input. Use $(build-program-cmd).
7549 ($(objpfx)tst-array1-static.out): Likewise.
7550 ($(objpfx)tst-array2.out): Likewise.
7551 ($(objpfx)tst-array3.out): Likewise.
7552 ($(objpfx)tst-array4.out): Likewise.
7553 ($(objpfx)tst-array5.out): Likewise.
7554 ($(objpfx)tst-array5-static.out): Likewise.
7555
01767843
CM
75562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7557
47cc1490
CM
7558 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7559 if defined.
7560
01767843
CM
7561 * nss/nsswitch.h (nss_interface_function): Provide new
7562 macro for use with NSS functions.
7563 * grp/initgroups.c: Use new macro.
7564 * nss/getXXbyYY.c: Likewise.
7565 * nss/getXXbyYY_r.c: Likewise.
7566 * nss/getXXent.c: Likewise.
7567 * nss/getXXent_r.c: Likewise.
7568 * sysdeps/posix/getaddrinfo.c: Likewise.
7569
8321aa97
AJ
75702012-10-30 Andreas Jaeger <aj@suse.de>
7571
7572 * po/ru.po: Update Russion translation from translation project.
7573
2a27fd6d
JM
75742012-10-30 Joseph Myers <joseph@codesourcery.com>
7575
8627a232
JM
7576 [BZ #14152]
7577 [BZ #14783]
7578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7579 result and shift together with sticky bit instead of replicating
7580 round-to-nearest rounding.
7581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7583 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7584 missing underflow exceptions.
7585 (fma_test_towardzero): Add more tests.
7586 (fma_test_downward): Likewise.
7587 (fma_test_upward): Likewise.
7588
2a27fd6d
JM
7589 [BZ #14047]
7590 * sysdeps/generic/tininess.h: New file.
7591 * sysdeps/i386/tininess.h: Likewise.
7592 * sysdeps/sh/tininess.h: Likewise.
7593 * sysdeps/x86_64/tininess.h: Likewise.
7594 * stdlib/tst-strtod-underflow.c: Likewise.
7595 * stdlib/tst-tininess.c: Likewise.
7596 * stdlib/strtod_l.c: Include <tininess.h>.
7597 (round_and_return): Do not set errno for exact underflow cases.
7598 Force an underflow exception when setting errno for underflow.
7599 Determine underflow based on rounding to normal precision if
7600 TININESS_AFTER_ROUNDING.
7601 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7602 ERANGE for exact underflow cases.
7603 * stdlib/Makefile (tests): Add tst-tininess and
7604 tst-strtod-underflow.
7605 ($(objpfx)tst-tininess): Use $(link-libm).
7606 ($(objpfx)tst-strtod-underflow): Likewise.
7607
e7170363
AJ
76082012-10-30 Andreas Jaeger <aj@suse.de>
7609
e5088dc6
AJ
7610 [BZ#14767]
7611 * elf/Makefile (tests): Remove conditional for have-initfini-array
7612 since this is now always required and the variable does not exist
7613 anymore.
7614 (tests-static): Likewise.
7615 (modules-names): Likewise.
7616
e7170363 7617 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7618
7619 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7620 merged with constructor/destructor.
7621 (init_array): Likewise.
7622 * elf/tst-array2dep.c (fini_array): Likewise.
7623 (init_array): Likewise.
7624
60457d8a
MF
76252012-10-29 Mike Frysinger <vapier@gentoo.org>
7626
7627 * manual/message.texi: Delete @cartouche tags.
7628
8bece752
PT
76292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7630
94ce799f
PT
7631 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7632 EOPNOTSUPP.
7633 * sysdeps/mach/hurd/fsync.c: Likewise.
7634
8bece752
PT
7635 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7636 [_POSIX_REALTIME_SIGNALS]: Change condition to
7637 [_POSIX_REALTIME_SIGNALS > 0].
7638
86ebe6b1
AJ
76392012-10-27 Andreas Jaeger <aj@suse.de>
7640
7641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7642 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7644 [__WORDSIZE != 64]: Likewise.
7645
54399c08
L
76462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * iconvdata/tst-table.sh: Remove ${SHELL}.
7649 * iconvdata/tst-tables.sh: Likewise.
7650
e2211bed
DM
76512012-10-25 David S. Miller <davem@davemloft.net>
7652
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7654 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7655 of strtoull.
7656
f303f97c
DM
7657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7658 ifunc-impl-list.c
7659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7660 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7661 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7662 file.
7663
1e9d84cd
RM
76642012-10-25 Roland McGrath <roland@hack.frob.com>
7665
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7667 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7668 __getdirentries.
7669
df381762
JM
76702012-10-25 Joseph Myers <joseph@codesourcery.com>
7671 Jim Blandy <jimb@codesourcery.com>
7672
7673 * scripts/cross-test-ssh.sh: New file.
7674 * manual/install.texi (Configuring and compiling): Document use of
7675 cross-test-ssh.sh.
7676 * INSTALL: Regenerated.
7677
bff64913
PT
76782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7679
7680 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7681 EOPNOTSUPP.
7682
25fe8932
JM
76832012-10-25 Joseph Myers <joseph@codesourcery.com>
7684
7685 * Makeconfig (run-program-prefix): Fix comment.
7686
cc1290d0
JM
76872012-10-24 Joseph Myers <joseph@codesourcery.com>
7688 Jim Blandy <jimb@codesourcery.com>
7689
7690 * Makeconfig (test-wrapper): New variable,
7691 (test-wrapper-env): Likewise.
7692 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7693 (run-built-tests): Define to yes.
7694 (run-program-prefix): Use $(test-wrapper).
7695 (built-program-cmd): Likewise.
7696 * Rules (make-test-out): Use $(test-wrapper-env) and
7697 $(host-built-program-cmd).
7698 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7699 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7700 tst-pathopt.sh.
7701 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7702 $(test-wrapper-env) to tst-rtld-load-self.sh.
7703 ($(objpfx)order2.out): Use $(test-wrapper).
7704 ($(objpfx)tst-initorder.out): Likewise.
7705 ($(objpfx)tst-initorder2.out): Likewise.
7706 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7707 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7708 (test_wrapper_env): New variable. Use it to run ld.so.
7709 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7710 Use it to run ld.so.
7711 (test_wrapper_env): Likewise.
7712 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7713 $(test-wrapper) to run-iconv-test.sh.
7714 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7715 (ICONV): Use $test_wrapper.
7716 * posix/Makefile ($(objpfx)globtest.out): Pass
7717 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7718 globtest.sh, not $(run-program-prefix).
7719 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7720 (test_wrapper): Likewise.
7721 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7722 set together with run_via_rtld_prefix.
7723 (run_program_prefix): Define in terms of test_wrapper and
7724 run_via_rtld_prefix.
7725
6e6249d0
RM
77262012-10-24 Roland McGrath <roland@hack.frob.com>
7727
7728 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7729 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7730 Targets removed.
7731
7732 [BZ #14743]
7733 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7734 Declare __clock_getres, __clock_gettime, __clock_settime,
7735 __clock_nanosleep, and __clock_getcpuclockid.
7736 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7737 Remove librt_hidden_def (clock_gettime).
7738 * sysdeps/unix/clock_gettime.c: Likewise.
7739 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7740 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7741 * rt/clock_getres.c: Define __clock_getres as an alias.
7742 * sysdeps/posix/clock_getres.c: Likewise.
7743 * rt/clock_settime.c: Define __clock_settime as an alias.
7744 * sysdeps/unix/clock_settime.c: Likewise.
7745 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7746 * sysdeps/unix/clock_nanosleep.c: Likewise.
7747 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7748 * rt/clock-compat.c: New file.
7749 * rt/Makefile (librt-routines): Add clock-compat and move
7750 $(clock-routines) to ...
7751 (routines): ... here, new variable.
7752 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7753 Don't add get_clockfreq here.
7754 * rt/Versions (libc: GLIBC_2.17): New version set.
7755 Add clock_* symbols here.
7756 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7758 (GLIBC_2.17): Add clock_* symbols.
7759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7763 Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7770 * NEWS: Mention the move.
7771
7772 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7773 Use __open, __read, __close rather than their public counterparts.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7775 (__get_clockfreq_via_cpuinfo): Likewise.
7776 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7777 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7778
7779 * config.h.in (HAVE_IFUNC): New #undef.
7780 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7781 was successful.
7782 * configure: Regenerated.
7783
0cae3f4b
MF
77842012-10-24 Mike Frysinger <vapier@gentoo.org>
7785
7786 * configure.in: Move READELF check to start of file.
7787 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7788 libc_cv_asm_gnu_indirect_function in the process.
7789 * configure: Regenerated.
7790
8175a253
MF
77912012-10-24 Mike Frysinger <vapier@gentoo.org>
7792
7793 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7794 send the output to /dev/null.
7795 (libc_cv_cc_with_libunwind): Likewise.
7796 (libc_cv_as_noexecstack): Likewise.
7797 * configure: Regenerate.
7798
0708a7d1
JM
77992012-10-24 Joseph Myers <joseph@codesourcery.com>
7800
10b40d85
JM
7801 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7802
0708a7d1
JM
7803 * posix/globtest.sh (TMPDIR): Do not set.
7804 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7805 (testout): Likewise.
7806
9fddec1a
AJ
78072012-10-24 Andreas Jaeger <aj@suse.de>
7808
3a8db22f
AJ
7809 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7810 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7811 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7812 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7813 posix_fadvise64, posix_fallocate64.
7814
9fddec1a
AJ
7815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7816 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7817 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7818 Likewise.
7819 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7820 Likewise.
7821 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7822
7823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7824 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7825 <bits/fcntl-linux.h>.
7826 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7827
7828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7829 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7830 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7831 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7832 [__WORDSIZE != 64]: Likewise.
7833
ebfd1bbd
JM
78342012-10-23 Joseph Myers <joseph@codesourcery.com>
7835
03ac099f
JM
7836 * Makeconfig (run-built-tests): New variable.
7837 * Rules [$(cross-compiling) = yes]: Change condition to
7838 [$(run-built-tests) = no].
7839 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7840 to [$(run-built-tests) = yes].
7841 * elf/Makefile [$(cross-compiling) = no]: Likewise
7842 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7843 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7844 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7845 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7846 * io/Makefile [$(cross-compiling) = no]: Likewise.
7847 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7848 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7849 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7850 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7851 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7852 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7853 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7854 * string/Makefile [$(cross-compiling) = no]: Likewise.
7855
ebfd1bbd
JM
7856 * posix/Makefile ($(objpfx)globtest.out): Pass
7857 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7858 $(rtld-installed-name).
7859 * posix/globtest.sh (elf_objpfx): Remove variable.
7860 (rtld_installed_name): Likewise.
7861 (library_path): Likewise.
7862 (run_program_prefix): New variable. Use for running globtest
7863 binary.
7864
166bca24
JB
78652012-10-23 Jim Blandy <jimb@codesourcery.com>
7866 Joseph Myers <joseph@codesourcery.com>
7867
7868 * Makeconfig (host-built-program-cmd): New variable.
7869 * elf/Makefile (tst-stackguard1-ARGS): Use
7870 $(host-built-program-cmd).
7871 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7872 (tst-spawn-ARGS): Likewise.
7873 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7874
88866099
JM
78752012-10-23 Joseph Myers <joseph@codesourcery.com>
7876 Jim Blandy <jimb@codesourcery.com>
7877
7878 * Makeconfig (run-via-rtld-prefix): New variable.
7879 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7880 (built-program-cmd): Likewise.
7881
b4b4c296
AJ
78822012-10-22 Andreas Jaeger <aj@suse.de>
7883
7884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7885 __O_RSYNC if it exists, otherwise to O_SYNC.
7886
6fb54a22
JB
78872012-10-22 Jim Blandy <jimb@codesourcery.com>
7888 Joseph Myers <joseph@codesourcery.com>
7889
7890 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7891 /dev/null.
7892 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7893 from /dev/null
7894 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7895 /dev/null.
7896
481b90b9
AJ
78972012-10-22 Andreas Jaeger <aj@suse.de>
7898
2a0e2669
AJ
7899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7900 Define always.
7901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7902
76e38f9a
AJ
7903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7904 bits/fcntl-linux.h.
7905
7cd37b43
AJ
7906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7907 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7908
481b90b9
AJ
7909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7910 to __O_LARGEFILE.
7911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7912 to __O_LARGEFILE.
7913
aba75984
JB
79142012-10-21 Jim Blandy <jimb@codesourcery.com>
7915 Joseph Myers <joseph@codesourcery.com>
7916
7917 * config.make.in (NM): New variable.
7918
88d4247f
AJ
79192012-10-21 Andreas Jaeger <aj@suse.de>
7920
7921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7922 definitions and declarations that are provided by
7923 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7924
f2eed205
L
79252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 [BZ #14683]
7928 * elf/Makefile (tests-static): Add tst-leaks1-static.
7929 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7930 ($(objpfx)tst-leaks1-static): New rule.
7931 ($(objpfx)tst-leaks1-static-mem): Likewise.
7932 (tst-leaks1-static-ENV): New macro.
7933 * elf/dl-open.c (dl_open_worker): Check the main application
7934 only if SHARED is defined.
7935 * elf/tst-leaks1-static.c: New file.
7936
335e6931
AJ
79372012-10-20 Andreas Jaeger <aj@suse.de>
7938
7939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7940 generic values for Linux.
7941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7942 and declarations that are provided by <bits/fcntl-linux.h> and
7943 include <bits/fcntl-linux.h>.
7944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7946
ac5c94d3
RM
79472012-10-20 Roland McGrath <roland@hack.frob.com>
7948
7949 * io/fcntl.h: Move include of <bits/types.h> to the top and
7950 include it unconditionally.
7951
de54b33a
L
79522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7953
228cfb01
L
7954 * wcsmbs/Makefile (tests-ifunc): New variable.
7955 (tests): Add $(tests-ifunc).
7956 * wcsmbs/test-wcschr-ifunc.c: New file.
7957 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7958 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7959 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7960 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7961 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7962
69f07e5f
L
7963 * string/Makefile (tests-ifunc): New variable.
7964 (tests): Add $(tests-ifunc).
7965 * string/test-memccpy.c (TEST_NAME): New macro.
7966 * string/test-memchr.c (TEST_NAME): Likewise.
7967 * string/test-memcmp.c (TEST_NAME): Likewise.
7968 * string/test-memcpy.c (TEST_NAME): Likewise.
7969 * string/test-memmem.c (TEST_NAME): Likewise.
7970 * string/test-memmove.c (TEST_NAME): Likewise.
7971 * string/test-memset.c (TEST_NAME): Likewise.
7972 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7973 * string/test-stpcpy.c (TEST_NAME): Likewise.
7974 * string/test-stpncpy.c (TEST_NAME): Likewise.
7975 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7976 * string/test-strcasestr.c (TEST_NAME): Likewise.
7977 * string/test-strcat.c (TEST_NAME): Likewise.
7978 * string/test-strchr.c (TEST_NAME): Likewise.
7979 * string/test-strcmp.c(TEST_NAME): Likewise.
7980 * string/test-strcpy.c (TEST_NAME): Likewise.
7981 * string/test-strcspn.c (TEST_NAME): Likewise.
7982 * string/test-strlen.c (TEST_NAME): Likewise.
7983 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7984 * string/test-strncmp.c (TEST_NAME): Likewise.
7985 * string/test-strncpy.c (TEST_NAME): Likewise.
7986 * string/test-strnlen.c (TEST_NAME): Likewise.
7987 * string/test-strpbrk.c (TEST_NAME): Likewise.
7988 * string/test-strrchr.c (TEST_NAME): Likewise.
7989 * string/test-strspn.c (TEST_NAME): Likewise.
7990 * string/test-strstr.c (TEST_NAME): Likewise.
7991 * string/test-bcopy-ifunc.c: New file.
7992 * string/test-bzero-ifunc.c: Likewise.
7993 * string/test-memccpy-ifunc.c: Likewise.
7994 * string/test-memchr-ifunc.c: Likewise.
7995 * string/test-memcmp-ifunc.c: Likewise.
7996 * string/test-memcpy-ifunc.c: Likewise.
7997 * string/test-memmem-ifunc.c: Likewise.
7998 * string/test-memmove-ifunc.c: Likewise.
7999 * string/test-mempcpy-ifunc.c: Likewise.
8000 * string/test-memset-ifunc.c: Likewise.
8001 * string/test-rawmemchr-ifunc.c: Likewise.
8002 * string/test-stpcpy-ifunc.c: Likewise.
8003 * string/test-stpncpy-ifunc.c: Likewise.
8004 * string/test-strcasecmp-ifunc.c: Likewise.
8005 * string/test-strcasestr-ifunc.c: Likewise.
8006 * string/test-strcat-ifunc.c: Likewise.
8007 * string/test-strchr-ifunc.c: Likewise.
8008 * string/test-strchrnul-ifunc.c: Likewise.
8009 * string/test-strcmp-ifunc.c: Likewise.
8010 * string/test-strcpy-ifunc.c: Likewise.
8011 * string/test-strcspn-ifunc.c: Likewise.
8012 * string/test-strlen-ifunc.c: Likewise.
8013 * string/test-strncasecmp-ifunc.c: Likewise.
8014 * string/test-strncat-ifunc.c: Likewise.
8015 * string/test-strncmp-ifunc.c: Likewise.
8016 * string/test-strncpy-ifunc.c: Likewise.
8017 * string/test-strnlen-ifunc.c: Likewise.
8018 * string/test-strpbrk-ifunc.c: Likewise.
8019 * string/test-strrchr-ifunc.c: Likewise.
8020 * string/test-strspn-ifunc.c: Likewise.
8021 * string/test-strstr-ifunc.c: Likewise.
8022
de54b33a
L
8023 * debug/Makefile (tests-ifunc): New variable.
8024 (tests): Add $(tests-ifunc).
8025 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8026 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8027 * debug/test-stpcpy_chk-ifunc.c: New file.
8028 * debug/test-strcpy_chk-ifunc.c: Likewise.
8029
88481c16
SP
80302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8031
8032 [BZ #13601]
8033 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8034 header is not read in.
8035
135948bd
JM
80362012-10-19 Joseph Myers <joseph@codesourcery.com>
8037
89f1c388
JM
8038 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8039 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8040 directly. Pass built executable to script as
8041 $(built-program-cmd).
8042 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8043 $testprogram without using LD_LIBRARY_PATH and $ldso.
8044
e40a0d21
JM
8045 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8046 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8047 $(rtld-installed-name).
8048 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8049 (rtld_installed_name): Likewise.
8050 (library_path): Likewise.
8051 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8053 $(run-program-prefix) to tst-tables.sh.
8054 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8055 it to run tst-table-from and tst-table-to.
8056 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8057 Pass it to tst-table.sh.
8058 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8059 $(run-program-prefix) to tst-gettext.sh.
8060 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8061 tst-translit.sh.
8062 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8063 tst-gettext2.sh.
8064 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8065 to run tst-gettext.
8066 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8067 to run tst-gettext2.
8068 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8069 to run tst-translit.
8070 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8071 $(run-program-prefix) to tst-mtrace.sh.
8072 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8073 to run tst-mtrace.
8074 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8075 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8076 $(rtld-installed-name).
8077 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8078 (rtld_installed_name): Likewise.
8079 (run_program_prefix): New variable. Use it to run wordexp-test.
8080
728e272a
JM
8081 * Makeconfig (ARCH): Remove all definitions.
8082 (machine): Likewise.
8083 [ARCH]: Remove conditional code.
8084 [!objdir]: Give error.
8085 [!objdir] (objpfx): Remove.
8086 [!objdir] (common-objpfx): Likewise.
8087 [!objdir] (common-objdir): Likewise.
8088 * configure.in (config_makefile): Remove. Hardcode Makefile in
8089 AC_CONFIG_FILES call.
8090 * configure: Regenerated.
8091
d528cdcf
JM
8092 [BZ #13888]
8093 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8094 or TMPDIR.
8095 (testout): Likewise.
8096
135948bd
JM
8097 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8098 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8099 $(rtld-installed-name).
8100 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8101 (rtld_installed_name): Likwise.
8102 (runit): Remove function.
8103 (run_getconf): New variable, Use it for running getconf binary.
8104
38c78296
L
81052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8106
8107 [BZ #14716]
8108 * string/test-memmem.c (check_result): New function.
8109 (do_one_test): Use it.
8110 (check1): New function.
8111 (test_main): Use it.
8112
d077f65f
MT
81132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8114
8115 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8116
ced52c71
JM
81172012-10-18 Joseph Myers <joseph@codesourcery.com>
8118
8119 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8120 (_G_LSEEK64): Likewise.
8121 (_G_MMAP64): Likewise.
8122 (_G_FSTAT64): Likewise.
8123 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8124 (_G_LSEEK64): Likewise.
8125 (_G_MMAP64): Likewise.
8126 (_G_FSTAT64): Likewise.
8127 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8128 unconditional. Call __mmap64 directly.
8129 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8130 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8131 __lseek64 directly.
8132 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8133 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8134 __mmap64 directly.
8135 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8136 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8137 __lseek64 directly.
8138 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8139 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8140 __lseek64 directly.
8141 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8142 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8143 __lseek64 directly.
8144 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8145 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8146 __fxstat64 directly.
8147 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8148 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8149 unconditional.
8150 (freopen64) [!_G_OPEN64]: Remove conditional code.
8151 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8152 unconditional.
8153 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8154 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8155 unconditional.
8156 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8157 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8158 unconditional.
8159 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8160 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8161 unconditional.
8162 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8163 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8164 unconditional.
8165 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8166 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8167 unconditional.
8168 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8169 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8170 unconditional.
8171 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8172
b741de23
SP
81732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8174
8175 [BZ #12140]
8176 * manual/memory.texi (Malloc Tunable Parameters): Add note
8177 about free list pointers overwriting some perturb bytes.
8178 Wording suggested by Roland McGrath.
8179
f9b9d9c9
JM
81802012-10-17 Joseph Myers <joseph@codesourcery.com>
8181
8182 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8183 (lgamma_test): Likewise.
8184 (tgamma_test): Likewise.
8185
172a631a
FW
81862012-10-16 Florian Weimer <fweimer@redhat.com>
8187
8188 [BZ #14700]
8189 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8190 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8191
e9f37252
MK
81922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8193
8194 * NEWS: Mention BZ #14716.
8195 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8196 when removing AVAILABLE1_USES_J macro.
8197
d394eb74
L
81982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8201 (__bswap_64): __uint64_t for unsigned 64-bit int.
8202
ca38dc17
AS
82032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8204
8205 * include/string.h (memmem): Declare libc hidden alias.
8206 * string/memmem.c (memmem): Define libc hidden alias.
8207 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8208 __read, __close instead of open, read, close.
8209
9a387d1f
L
82102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8211
ac49ecaf
L
8212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8213 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8214 global and hidden.
8215 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8216 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8217 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8218 Likewise.
8219 (__rawmemchr_sse2): Likewise.
8220 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8221 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8222 (__strchr_sse2): Likewise.
8223 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8224 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8225 (__strcasecmp_sse2): Likewise.
8226 (__strncasecmp_sse2): Likewise.
8227 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8228 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8229 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8230 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8231 (__strrchr_sse2): Likewise.
8232 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8233 ifunc-impl-list.c.
8234 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8235 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8236 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8237 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8238 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8239 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8240 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8242 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8243 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8244 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8245 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8246 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8247 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8248 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8249 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8250 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8251 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8252 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8253 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8254 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8255 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8256 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8257 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8258 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8261 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8262 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8263 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8264
b090e8ea
L
8265 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8266 global and hidden.
8267 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8268 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8269 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8270 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8271 Likewise.
8272 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8273 Likewise.
8274 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8275 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8276 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8277 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8278 ifunc-impl-list.c.
8279 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8289 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8297 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8320
11dd4af6
L
8321 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8322 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8323 * include/ifunc-impl-list.h: New file.
8324 * misc/ifunc-impl-list.c: Likewise.
8325 * misc/Makefile (routines): Add ifunc-impl-list.
8326 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8327 * string/test-string.h: Include <ifunc-impl-list.h>.
8328 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8329 impl_array): New variables.
8330 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8331 are defined.
8332 (test_init): Call __libc_ifunc_impl_list to initialize
8333 func_list if TEST_IFUNC and TEST_NAME are defined.
8334
9a387d1f
L
8335 * string/Makefile (strop-tests): Add bcopy and bzero.
8336 * string/test-bcopy.c: New file.
8337 * string/test-bzero.c: Likewise.
8338 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8339 defined.
8340 * string/test-memset.c: Support bzero test if TEST_BZERO is
8341 defined.
8342 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8343 __libc_memmove.
8344 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8345 __libc_memset.
8346 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8347 of memset.
8348
472371b9
JM
83492012-10-10 Joseph Myers <joseph@codesourcery.com>
8350
1e4a9536
JM
8351 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8352 * configure: Regenerated.
8353
d173d12e
JM
8354 * Makeconfig (+link-static-before-libc): Don't include
8355 $(link-static-libc).
8356
472371b9
JM
8357 * libio/libio.h (_IO_pos_t): Remove.
8358
89a3ad0b
AO
83592012-10-10 Alexandre Oliva <aoliva@redhat.com>
8360
8361 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8362 McGrath.
8363
e7451425
AO
83642012-10-10 Alexandre Oliva <aoliva@redhat.com>
8365
8366 * crypt/crypt-entry.c: Include fips-private.h.
8367 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8368 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8369 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8370 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8371
4ba74a35
AO
83722012-10-10 Alexandre Oliva <aoliva@redhat.com>
8373
8374 * crypt/crypt-private.h: Include stdbool.h.
8375 (_ufc_setup_salt_r): Return bool.
8376 * crypt/crypt-entry.c: Include errno.h.
8377 (__crypt_r): Return NULL with EINVAL for bad salt.
8378 * crypt/crypt_util.c (bad_for_salt): New.
8379 (_ufc_setup_salt_r): Check that salt is long enough and within
8380 the specified alphabet.
8381 * crypt/badsalttest.c: New file.
8382 * crypt/Makefile (tests): Add it.
8383 ($(objpfx)badsalttest): New.
8384
f96f1242
MK
83852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8386
8387 * NEWS: Add entry for BZ #14602.
8388
0e8e0c1c
JM
83892012-10-09 Joseph Myers <joseph@codesourcery.com>
8390
8391 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8392 type-generic.
8393 * math/libm-test.inc: Update comment listing what functions and
8394 macros are tested.
8395 (isgreater_test): New function.
8396 (isgreaterequal_test): Likewise.
8397 (isless_test): Likewise.
8398 (islessequal_test): Likewise.
8399 (islessgreater_test): Likewise.
8400 (isunordered_test): Likewise.
8401 (main): Call the new functions.
8402
273edc5e
RM
84032012-10-09 Roland McGrath <roland@hack.frob.com>
8404
b8493de0
RM
8405 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8406 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8407 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8408 * sysdeps/i386/configure: Regenerated.
8409 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8410 * sysdeps/mach/configure: Regenerated.
8411 * sysdeps/mach/hurd/configure: Regenerated.
8412 * sysdeps/powerpc/configure: Regenerated.
8413 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8414 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8415 * sysdeps/s390/s390-32/configure: Regenerated.
8416 * sysdeps/s390/s390-64/configure: Regenerated.
8417 * sysdeps/sh/configure: Regenerated.
8418 * sysdeps/sparc/configure: Regenerated.
8419 * sysdeps/unix/sysv/linux/configure: Regenerated.
8420 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8421 * sysdeps/x86_64/configure: Regenerated.
8422
273edc5e
RM
8423 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8424 defined. Don't check if MAP is NULL.
8425
c8450f70
JM
84262012-10-09 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8429 (_G_stat64): Likewise.
8430 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8431 (_G_stat64): Likewise.
8432 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8433 instead of struct _G_stat64.
8434 * libio/fileops.c (mmap_remap_check): Likewise.
8435 (decide_maybe_mmap): Likewise.
8436 (_IO_new_file_seekoff): Likewise.
8437 (_IO_file_stat): Likewise.
8438 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8439 _G_off64_t.
8440 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8441 instead of struct _G_stat64.
8442 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8443
57e605ba
MK
84442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8445
8446 [BZ #14602]
8447 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8448 Replace with ...
8449 (CHECK_EOL): New macro.
8450 (two_way_short_needle): Check beginning of haystack for EOL. Use
8451 CHECK_EOL.
8452 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8453 Replace with CHECK_EOL.
8454 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8455 Replace with CHECK_EOL.
8456
ef1bb361
JM
84572012-10-08 Joseph Myers <joseph@codesourcery.com>
8458
8459 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8460 type-generic.
8461 * math/libm-test.inc: Update comment listing what functions and
8462 macros are tested.
8463 (finite_test): New function.
8464 (isinf_test): Likewise.
8465 (isnan_test): Likewise.
8466 (fpclassify_test): Test subnormal input.
8467 (isfinite_test): Likewise.
8468 (isnormal_test): Likewise.
8469 (main): Call the new functions.
8470
55f11534
JN
84712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8472
8473 [BZ #14660]
8474 * Makerules (%.dynsym): Force C locale when running
8475 $(OBJDUMP) --dynamic-syms.
8476
1ab29350
AS
84772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8478
8479 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8480 <stdint.h>.
8481
f1ecb7ef
DM
84822012-10-06 David S. Miller <davem@davemloft.net>
8483
8484 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8485 upper 32-bits of the length value in %o2 since we use branch-on-register
8486 tests which consider the entire 64-bit register.
8487
5d41d91a
L
84882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * string/test-strstr.c (check2): Add a test for page boundary.
8491
3baddb72
DM
84922012-10-05 David S. Miller <davem@davemloft.net>
8493
8494 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8496 file.
8497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8498 sysdep_routines.
8499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8500 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8501 and bzero when HWCAP_SPARC_CRYPTO is present.
8502
9cee5585
L
85032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8504
d7e0dab9
L
8505 [BZ #14602]
8506 * string/test-strstr.c (check2): New function.
8507 (test_main): Call check2.
8508
03759f47
L
8509 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8510 and bug-strchr1.
8511 * string/bug-strcasestr1.c (do_test): Moved to ...
8512 * string/test-strcasestr.c (check1): Here. New function.
8513 (do_one_test): Break out result checking code into ...
8514 (check_result): This. New function.
8515 (do_one_test): Call check_result.
8516 (test_main): Call check1.
8517 * string/bug-strchr1.c (do_test): Moved to ...
8518 * string/test-strchr.c (check1): Here. New function.
8519 (do_one_test): Break out result checking code into ...
8520 (check_result): This. New function.
8521 (do_one_test): Call check_result.
8522 (test_main): Call check1.
8523 * string/bug-strstr1.c (main): Moved to ...
046f153e 8524 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8525 (do_one_test): Break out result checking code into ...
8526 (check_result): This. New function.
8527 (do_one_test): Call check_result.
8528 (test_main): Call check1.
8529 * string/bug-strcasestr1.c: Removed.
8530 * string/bug-strchr1.c: Likewise.
8531 * string/bug-strstr1.c: Likewise.
8532
53cea63e
L
8533 * elf/Makefile (dl-routines): Add hwcaps.
8534 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8535 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8536 (_dl_important_hwcaps): Moved to ...
8537 * elf/dl-hwcaps.c: Here. New file.
8538 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8539
9cee5585 8540 [BZ #14557]
bb859b06
L
8541 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8542 if IS_IN_rtld isn't defined.
8543
9cee5585
L
8544 * elf/dl-support.c (_dl_sysinfo_map): New.
8545 Include "get-dynamic-info.h" and "setup-vdso.h".
8546 (_dl_non_dynamic_init): Call setup_vdso.
8547 * elf/dynamic-link.h: Don't include <assert.h>.
8548 (elf_get_dynamic_info): Moved to ...
8549 * elf/get-dynamic-info.h: Here. New file.
8550 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8551 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8552 * elf/setup-vdso.h: Here. New file.
8553 * elf/rtld.c: Include "setup-vdso.h".
8554 (dl_main): Call setup_vdso.
8555
23c31b76
JM
85562012-10-05 Joseph Myers <joseph@codesourcery.com>
8557
28234b07
JM
8558 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8559 creal in comment listing functions tested. List finite, isinf,
8560 isnan, isless, islessequal, isgreater, isgreaterequal,
8561 islessgreater, isunordered, lgamma_r and pow10 as functions and
8562 macros not tested. Mention which functions not tested are aliases
8563 for other functions. Fix typo. Note that signs of NaNs are not
8564 tested.
8565
23c31b76
JM
8566 * scripts/config.guess: Update from config.git.
8567 * scripts/config.sub: Likewise.
8568
9043e228
RM
85692012-10-04 Roland McGrath <roland@hack.frob.com>
8570
8571 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8572 * misc/madvise.c (madvise): Renamed to __madvise.
8573 Make madvise a weak alias.
8574 * include/sys/mman.h: Declare __madvise.
8575 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8576 * sysdeps/unix/syscalls.list
8577 (madvise): Make __madvise the strong name, and madvise a weak alias.
8578 * sysdeps/unix/sysv/linux/syscalls.list
8579 (madvise, mmap): Remove redundant entries.
8580 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8581 * malloc/malloc.c (mtrim): Likewise.
8582 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8583
f57f8055
RM
85842012-10-03 Roland McGrath <roland@hack.frob.com>
8585
8586 * sysdeps/mach/hurd/dl-cache.c: File removed.
8587 * config.h.in (USE_LDCONFIG): New #undef.
8588 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8589 * configure: Regenerated.
8590 * elf/Makefile (dl-routines): Add dl-cache only under
8591 [$(use-ldconfig) = yes].
8592 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8593 cache on [USE_LDCONFIG].
8594 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8595 [USE_LDCONFIG].
8596 * elf/rtld.c (dl_main): Likewise.
8597
5bb0c10a
PT
85982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8599
8600 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8601 _SC_LEVEL4_CACHE_LINESIZE.
8602
010188c6
RM
86032012-10-03 Roland McGrath <roland@hack.frob.com>
8604
8605 * sysdeps/unix/bsd/confstr.h: File removed.
8606
b6c5ec07
AO
86072012-10-02 Alexandre Oliva <aoliva@redhat.com>
8608
8609 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8610 sys/sdt-config.h.
8611
408223d4
RM
86122012-10-02 Roland McGrath <roland@hack.frob.com>
8613
8614 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8615 Make 'mapoff' field ElfW(Off) rather than off_t.
8616
bb9510dc
DL
86172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8618
fc997c6e
DL
8619 * nscd/Makefile: Remove nscd-cflags and all its users.
8620 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8621 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8622
bb9510dc
DL
8623 [BZ #10631]
8624 * malloc.c (malloc_printerr): Clarify error message.
8625
05699367
L
86262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 [BZ #14648]
8629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8630 Set bit_FMA_Usable if FMA is supported.
8631 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8632 macro.
8633 (bit_FMA4_Usable): Updated.
8634 (index_FMA_Usable): New macro.
8635 (CPUID_FMA): Likewise
8636 (HAS_FMA): Defined with bit_FMA_Usable.
8637
51367701
RM
86382012-10-01 Roland McGrath <roland@hack.frob.com>
8639
8640 * bits/types.h (__swblk_t): Type removed.
8641 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8642 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8644 (__SWBLK_T_TYPE): Likewise.
8645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8646 (__SWBLK_T_TYPE): Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8648 (__SWBLK_T_TYPE): Likewise.
8649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8650 (__SWBLK_T_TYPE): Likewise.
8651
4d57bf63 86522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8653 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8654
8655 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8656 (xdr_mapname): Use YPMAXMAP as maxsize.
8657 (xdr_peername): Use YPMAXPEER as maxsize.
8658 (xdr_keydat): Use YPAXRECORD as maxsize.
8659 (xdr_valdat): Use YPMAXRECORD as maxsize.
8660
93c65d43
RM
86612012-10-01 Roland McGrath <roland@hack.frob.com>
8662
497a03d6
RM
8663 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8664
93c65d43
RM
8665 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8666 * csu/init-first.c: ... here.
8667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8668 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8671 * sysdeps/i386/init-first.c: File removed.
8672 * sysdeps/sh/init-first.c: File removed.
8673
bec749fd
JM
86742012-10-01 Joseph Myers <joseph@codesourcery.com>
8675
8676 [BZ #14645]
8677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8678 if x * y might underflow to zero and z is zero.
8679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8681 * math/libm-test.inc (min_subnorm_value): New variable.
8682 (fma_test): Add more tests.
8683 (fma_test_towardzero): Likewise.
8684 (fma_test_downward): Likewise
8685 (fma_test_upward): Likewise.
8686 (initialize): Set min_subnorm_value.
8687
8ec5b013
JM
86882012-09-29 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #14638]
8691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8692 0 + 0.
8693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8694 mode for addition resulting in exact zero.
8695 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8697 exact 0 + 0.
8698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8700 * math/libm-test.inc (fma_test): Add more tests.
8701 (fma_test_towardzero): New function.
8702 (fma_test_downward): Likewise.
8703 (fma_test_upward): Likewise.
8704 (main): Call the new functions.
8705
b1fa802e
DM
87062012-09-28 David S. Miller <davem@davemloft.net>
8707
8708 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8709
d3b9fd9e
RM
87102012-09-28 Roland McGrath <roland@hack.frob.com>
8711
ea4d37b3
RM
8712 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8713 instead of SIGALRM.
8714
ac51c949
RM
8715 * sysdeps/gnu/_G_config.h: Moved to ...
8716 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8717 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8718 * sysdeps/generic/_G_config.h: ... here.
8719
28c195f7
RM
8720 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8721
848917f9
RM
8722 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8723
6bacf05b
RM
8724 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8725 Conditionalize target on [libnss_test1.so-version].
8726
91363dbb
RM
8727 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8728
cc87f7d8
RM
8729 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8730 (elfobjdir): Move out of conditionals.
8731
b1c608fe
RM
8732 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8733 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8734 (__nss_lookup_function): Conditionalize label remove_from_tree on
8735 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8736
1d9a6d96
DM
87372012-09-28 David S. Miller <davem@davemloft.net>
8738
8739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8741 file.
8742 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8743 sysdep_routines.
8744 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8746 when HWCAP_SPARC_CRYPTO is present.
8747
72581615
PT
87482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8749
8750 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8751
715a900c
JL
87522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8753
8754 [BZ #6530]
8755 * stdio-common/vfprintf.c (process_string_arg): Revert
8756 2000-07-22 change.
8757
87582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8759
8760 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8761 for testcase.
8762 * stdio-common/tst-sprintf.c: Include <locale.h>
8763 (main): Test sprintf's handling of incomplete multibyte
8764 characters.
8765
9bac1d86
L
87662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8767
8768 * elf/dl-runtime.c (VERSYMIDX): Removed.
8769 * elf/dl-version.c (VERSYMIDX): Likewise.
8770 * elf/do-rel.h (VERSYMIDX): Likewise.
8771 (VALIDX): Likewise.
8772 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8773 * elf/rtld.c (VALIDX): Likewise.
8774 (ADDRIDX): Likewise.
9bac1d86
L
8775 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8776 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8777 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8778 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8779 (VALIDX): Likewise.
8780 (ADDRIDX): Likewise.
9bac1d86 8781
b31606c0
PT
87822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8783
8784 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8785
11541177
JL
87862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8787
8788 [BZ #11438]
8789 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8790 to global scope.
8791 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8792 addresses are in the same scope as 192.0.2/24.
8793 * posix/gai.conf: Document new scope table defaults.
8794
adb26fae
SP
87952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8796
8797 [BZ #5298]
8798 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8799 for ftell. Compute offsets from write pointers instead.
8800 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8801
4573c6b0
SP
88022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
8804 [BZ #14543]
8805 * libio/Makefile (tests): New test case tst-fseek.
8806 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8807 combination works in wide mode.
8808 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8809 state when the external buffer state changes.
8810
aa9bbfe6
DM
88112012-09-27 David S. Miller <davem@davemloft.net>
8812
8813 [BZ #14376]
8814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8815 pass reloc->r_addend in as the 'high' argument to
8816 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8817
784421e7
DM
8818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8819
c39bc8b8
PT
88202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8821
8822 * rt/tst-aio2.c: Include <pthread.h>.
8823 * rt/tst-aio3.c: Likewise.
8824
1ccc2399
SE
88252012-09-27 Steve Ellcey <sellcey@mips.com>
8826
8827 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8828
31ed4153
L
88292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8830
25f5f885
L
8831 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8832 contents on [SHARED].
31ed4153 8833
b7bfe116
MP
88342012-09-26 Marek Polacek <polacek@redhat.com>
8835
8836 [BZ #14530]
8837 [BZ #13741]
8838 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8839 for C++ and GCC <4.3 as well as for non GCC compilers.
8840
43c4edba
MT
88412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8842
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8844
6a1bf82f
RM
88452012-09-25 Roland McGrath <roland@hack.frob.com>
8846
8847 * Makefile.in (all, install): Declare with .PHONY.
8848 Reported by Michael Hope <michael.hope@linaro.org>.
8849
8ad11b9a
TMQMF
88502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8851
8852 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8853 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8854 system header.
8855 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8856 Likewise.
8857 (sydep_routines): Add the new and the internal functions.
8858 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8859 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8861 (GLIBC_2.17): Add the new function.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8863 (GLIBC_2.17): Likewise.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8865 (GLIBC_2.17): Likewise.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8867 (GLIBC_2.17): Likewise.
8868 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8869
7e2fca8d
AM
88702012-09-25 Alan Modra <amodra@gmail.com>
8871
8872 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8873 Add release barrier before setting once_control to say
8874 initialisation is done. Add hints on lwarx. Use macro in
8875 place of isync.
8876 (clear_once_control): Add release barrier.
8877
b87c4b24
JM
88782012-09-25 Joseph Myers <joseph@codesourcery.com>
8879
d032e0d2
JM
8880 [BZ #13629]
8881 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8882 specially.
8883 * math/s_clog10.c (__clog10): Likewise.
8884 * math/s_clog10f.c (__clog10f): Likewise.
8885 * math/s_clog10l.c (__clog10l): Likewise.
8886 * math/s_clogf.c (__clogf): Likewise.
8887 * math/s_clogl.c (__clogl): Likewise.
8888 * math/Makefile (libm-calls): Add x2y2m1.
8889 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8890 (__x2y2m1): Likewise.
8891 (__x2y2m1l): Likewise.
8892 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8893 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8898 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8899 * sysdeps/i386/fpu/libm-test-ulps: Update.
8900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8901
b87c4b24
JM
8902 [BZ #14621]
8903 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8904 int as type of variable DEPTH.
8905 (glob): Use size_t instead of int as type of variables NEWCOUNT
8906 and OLD_PATHC.
8907
6d3bf199
LD
89082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8909
22bf5c17
LD
8910 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8911 Add s_sincosf-sse2.
8912 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8913 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8914 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8915 macros for using routine as __sincosf_ia32.
8916 Use macro for function declaration and weak_alias.
8917 * sysdeps/i386/fpu/libm-test-ulps: Update.
8918
8919 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8921
8922 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8923 subnormal argument.
8924 * math/s_cexpf.c (__cexpf): Likewise.
8925 * math/s_csinf.c (__csinf): Likewise.
8926 * math/s_csinhf.c (__csinhf): Likewise.
8927 * math/s_ctanf.c (__ctanf): Likewise.
8928 * math/s_ctanhf.c (__ctanhf): Likewise.
8929 * math/s_ccosh.c (__ccoshf): Likewise.
8930 * math/s_cexp.c (__cexpl): Likewise.
8931 * math/s_csin.c (__csin): Likewise.
8932 * math/s_csinh.c (__csinh): Likewise.
8933 * math/s_ctan.c (__ctan): Likewise.
8934 * math/s_ctanh.c (ctanh): Likewise.
8935 * math/s_ccoshl.c (__ccoshl): Likewise.
8936 * math/s_cexpl.c (__cexpl): Likewise.
8937 * math/s_csinl.c (__csinl): Likewise.
8938 * math/s_csinhl.c (__csinhl): Likewise.
8939 * math/s_ctanl.c (__ctanl): Likewise.
8940 * math/s_ctanhl.c (__ctanhl): Likewise.
8941
203e5603
JM
89422012-09-25 Joseph Myers <joseph@codesourcery.com>
8943
8944 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8945 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8946 (_IO_off_t): Define to __off_t, not _G_off_t.
8947 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8948 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8949 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8950 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8951 type of __dummy and __dummy2 fields.
8952 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8953 (_G_ssize_t): Likewise.
8954 (_G_off_t): Likewise.
8955 (_G_pid_t): Likewise.
8956 (_G_uid_t): Likewise.
8957 (_G_wchar_t): Likewise.
8958 (_G_wint_t): Likewise.
8959 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8960 (_G_ssize_t): Likewise.
8961 (_G_off_t): Likewise.
8962 (_G_pid_t): Likewise.
8963 (_G_uid_t): Likewise.
8964 (_G_wchar_t): Likewise.
8965 (_G_wint_t): Likewise.
8966 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8967 (_G_ssize_t): Likewise.
8968 (_G_off_t): Likewise.
8969 (_G_pid_t): Likewise.
8970 (_G_uid_t): Likewise.
8971 (_G_wchar_t): Likewise.
8972 (_G_wint_t): Likewise.
8973
9fab36eb
SP
89742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8975
8976 * malloc/arena.c: Include malloc-sysdep.h.
8977 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8978 is sufficient to shrink the heap or an unmap is needed.
8979 * sysdeps/generic/malloc-sysdep.h: New file. Define
8980 new function check_may_shrink_heap.
8981 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8982 new function check_may_shrink_heap.
8983
2b4f00d1
SP
89842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8985
8986 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8987 comments.
8988
9a9028b1
DL
89892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8990
57c69bef
DL
8991 * catgets/test-gencat.sh: Add "set -e".
8992 * elf/tst-pathopt.sh: Likewise.
8993 * grp/tst_fgetgrent.sh: Likewise.
8994 * iconvdata/run-iconv-test.sh: Likewise.
8995 * intl/tst-gettext.sh: Likewise.
8996 * intl/tst-gettext2.sh: Likewise.
8997 * intl/tst-gettext4.sh: Likewise.
8998 * intl/tst-gettext6.sh: Likewise.
8999 * intl/tst-translit.sh: Likewise.
9000 * io/ftwtest-sh: Likewise.
9001 * libio/test-freopen.sh: Likewise.
9002 * malloc/tst-mtrace.sh: Likewise.
9003 * posix/globtest.sh: Likewise.
9004 * posix/tst-getconf.sh: Likewise.
9005 * posix/wordexp-tst.sh: Likewise.
9006 * stdio-common/tst-printf.sh: Likewise.
9007 * stdio-common/tst-unbputc.sh: Likewise.
9008 * stdlib/tst-fmtmsg.sh: Likewise.
9009 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9010 * catgets/Makefile: Do not specify -e option when running
9011 testsuite shell scripts.
9012 * elf/Makefile: Likewise.
9013 * grp/Makefile: Likewise.
9014 * iconvdata/Makefile: Likewise.
9015 * intl/Makefile: Likewise.
9016 * io/Makefile: Likewise.
9017 * libio/Makefile: Likewise.
9018 * malloc/Makefile: Likewise.
9019 * posix/Makefile: Likewise.
9020 * stdio-common/Makefile: Likewise.
9021 * stdlib/Makefile: Likewise.
9022 * sysdeps/x86_64/Makefile: Likewise.
9023
9a9028b1
DL
9024 * io/ftwtest-sh: Add copyright header.
9025 * posix/globtest.sh: Likewise.
9026 * posix/tst-getconf.sh: Likewise.
9027 * posix/wordexp-tst.sh: Likewise.
9028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9029
ced6f16e
L
90302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9031
94b32c39
L
9032 [BZ #13679]
9033 * Makeconfig (+link): Defined as $(+link-static) if
9034 $(build-shared) isn't yes.
9035 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9036 isn't yes.
9037 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9038
189e935b
L
9039 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9040
ced6f16e
L
9041 [BZ #14562]
9042 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9043 new chunk size with MALLOC_ALIGN_MASK.
9044
a9f8e53a
JM
90452012-09-24 Joseph Myers <joseph@codesourcery.com>
9046
9047 [BZ #5044]
9048 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9049 <rounding-mode.h>.
9050 (__printf_fphex): Determine rounding using get_rounding_mode and
9051 round_away.
9052 * stdio-common/tst-printf-round.c (struct hex_test): New
9053 structure.
9054 (hex_tests): New variable.
9055 (test_hex_in_one_mode): New function.
9056 (do_test): Also run tests for hex float output.
9057
43153109
JM
90582012-09-21 Joseph Myers <joseph@codesourcery.com>
9059
9060 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9061 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9062 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9063 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9064 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9065 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9066 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9067 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9068
8a26625d
JM
90692012-09-20 Joseph Myers <joseph@codesourcery.com>
9070
9071 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9072 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9073 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9074 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9075
f3fd569c
DL
90762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9077
9078 [BZ #14579]
9079 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9080 mode only.
9081 * elf/tst-rtld-load-self.sh: New test.
9082 * elf/Makefile: Run it.
9083
63bbedd4
JM
90842012-09-18 Joseph Myers <joseph@codesourcery.com>
9085
9086 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9087 (tst-writev-ENV): Remove.
9088 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9089
626f8b6a
CM
90902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9091
9092 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9093
b7aaa4d6
JM
90942012-09-17 Joseph Myers <joseph@codesourcery.com>
9095
9096 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9097 unconditional.
9098 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9099 Likewise.
9100 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9101 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9102 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9103 Likewise.
9104
65513990
L
91052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 [BZ #14587]
9108 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9109 * config.make.in (have-cpp-asm-debuginfo): Removed.
9110 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9111 * configure: Regenerated.
9112
784761be
JM
91132012-09-14 Joseph Myers <joseph@codesourcery.com>
9114
9115 [BZ #5044]
9116 * stdio-common/printf_fp.c: Include <stdbool.h> and
9117 <rounding-mode.h>.
9118 (___printf_fp): Determine rounding using get_rounding_mode and
9119 round_away.
9120 * stdio-common/tst-printf-round.c: New file.
9121 * stdio-common/Makefile (tests): Add tst-printf-round.
9122 (link-libm): New variable.
9123 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9124
9503345f
L
91252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 [BZ #14576]
9128 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9129 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9130 Likewise.
9131 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9132 Likewise.
9133
ad35fc00
JM
91342012-09-13 Joseph Myers <joseph@codesourcery.com>
9135
9136 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9137 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9138 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9140
6c9b0f68
JM
91412012-09-12 Joseph Myers <joseph@codesourcery.com>
9142
9143 [BZ #14518]
9144 * include/rounding-mode.h: New file.
9145 * sysdeps/generic/get-rounding-mode.h: Likewise.
9146 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9147 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9148 (MAX_VALUE): New macro.
9149 (MIN_VALUE): Likewise.
9150 (overflow_value): New function.
9151 (underflow_value): Likewise.
9152 (round_and_return): Use overflow_value and underflow_value to
9153 determine return values in overflow and underflow cases. Use
9154 round_away to determine rounding depending on rounding mode.
9155 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9156 determine return values in overflow and underflow cases.
9157 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9158 (struct test_results): New structure.
9159 (struct test): Use struct test_results to store expected results
9160 for all rounding modes.
9161 (TEST): Include expected results for all rounding modes.
9162 (test_in_one_mode): New function.
9163 (do_test): Use test_in_one_mode to compute and check results.
9164 Check results for all rounding modes.
9165 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9166 $(link-libm).
9167
19fcedd5
AM
91682012-12-09 Allan McRae <allan@archlinux.org>
9169
1e9d84cd 9170 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9171
8bbfd2f1
JM
91722012-09-11 Joseph Myers <joseph@codesourcery.com>
9173
9174 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9175 (_G_int32_t): Likewise.
9176 (_G_uint16_t): Likewise.
9177 (_G_uint32_t): Likewise.
9178 (_G_HAVE_BOOL): Likewise.
9179 (_G_HAVE_ATEXIT): Likewise.
9180 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9181 (_G_HAVE_IO_FILE_OPEN): Likewise.
9182 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9183 (_G_int32_t): Likewise.
9184 (_G_uint16_t): Likewise.
9185 (_G_uint32_t): Likewise.
9186 (_G_HAVE_BOOL): Likewise.
9187 (_G_HAVE_ATEXIT): Likewise.
9188 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9189 (_G_HAVE_IO_FILE_OPEN): Likewise.
9190 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9191 (_G_int32_t): Likewise.
9192 (_G_uint16_t): Likewise.
9193 (_G_uint32_t): Likewise.
9194 (_G_HAVE_BOOL): Likewise.
9195 (_G_HAVE_ATEXIT): Likewise.
9196 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9197 (_G_HAVE_IO_FILE_OPEN): Likewise.
9198
b1dc5912
L
91992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9200
9201 * csu/libc-tls.c: Update copyright years.
9202
0e886ef9
JM
92032012-09-10 Joseph Myers <joseph@codesourcery.com>
9204
28361c5e
JM
9205 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9206 [!_G_USING_THUNKS]: Remove conditional code.
9207 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9208 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9209
0e886ef9
JM
9210 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9211 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9212 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9213 (_G_VTABLE_LABEL_PREFIX): Likewise.
9214 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9215 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9216 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9217 (_G_VTABLE_LABEL_PREFIX): Likewise.
9218 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9219 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9220 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9221 (_G_VTABLE_LABEL_PREFIX): Likewise.
9222 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9223
bcba7aa2
L
92242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9225
9226 * libio/Makefile: Include ../Makeconfig before tests.
9227 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9228 only if $(build-shared) is yes.
9229
06585ee8
L
9230 * iconv/gconv_db.c: Update copyright years.
9231
80ccd52c
LD
92322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9233
9234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9235 unwind info if defined PIC. Fix special cases description.
9236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9237
9238 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9239 DP_HI_MASK entry.
9240 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9241
691bc9c1
L
92422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9243
3d9b46b3
L
9244 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9245
de2139a9
L
9246 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9247 is NULL.
9248
5ca78dd0
L
9249 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9250 (LDLIBS-tst-chk4): This.
9251 (LDFLAGS-tst-chk5): Renamed to ...
9252 (LDLIBS-tst-chk5): This.
9253 (LDFLAGS-tst-chk6): Renamed to ...
9254 (LDLIBS-tst-chk6): This.
9255 (LDFLAGS-tst-lfschk4): Renamed to ...
9256 (LDLIBS-tst-lfschk4): This.
9257 (LDFLAGS-tst-lfschk5): Renamed to ...
9258 (LDLIBS-tst-lfschk5): This.
9259 (LDFLAGS-tst-lfschk6): Renamed to ...
9260 (LDLIBS-tst-lfschk6): This.
9261
691bc9c1
L
9262 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9263 on $(common-objpfx)soversions.mk.
9264
65cafb1c
JM
92652012-09-07 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #10014]
9268 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9269 example host name.
9270
c78ab094
SP
92712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9272
9273 * malloc/arena.c (arena_get_retry): New function that gets
9274 another arena for the caller to try its request on.
9275 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9276 current arena cannot fulfill the request.
9277 (__libc_memalign): Likewise.
9278 (__libc_memalign): Likewise.
9279 (__libc_pvalloc): Likewise.
9280 (__libc_calloc): Likewise.
9281
01f49f59
JT
92822012-09-05 John Tobey <john.tobey@gmail.com>
9283
9284 [BZ #13542]
9285 * manual/arith.texi (Operations on Complex): Fix description
9286 of carg branch cut.
9287
4c23fed5
JM
92882012-09-06 Joseph Myers <joseph@codesourcery.com>
9289
1d3c8572
JM
9290 [BZ #10014]
9291 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9292 host name.
9293
4c23fed5
JM
9294 [BZ #10038]
9295 * manual/memory.texi (Memory): Make order of menu items match
9296 order of sections.
9297
04570aaa
L
92982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9301 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9302 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9303
b80af2f4
L
93042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 * csu/libc-tls.c (static_dtv): Renamed to ...
9307 (_dl_static_dtv): This. Make it global.
9308 (_dl_initial_dtv): Removed.
9309 (__libc_setup_tls): Updated.
9310 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9311 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9312 DL_INITIAL_DTV.
9313
2abe9f15
PM
93142012-09-06 Petr Machata <pmachata@redhat.com>
9315
9316 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9317 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9318 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9319 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9320
0948c3af
L
93212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9322
9323 [BZ #14545]
9324 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9325 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9326 freeing dtv[-1].
9327
a5055ad1
L
93282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 [BZ #14544]
9331 * Makeconfig (link-static-before-libc): Replace $(+prector)
9332 with $(+prectorT).
9333 (link-static-after-libc): Replace $(+postctor) with
9334 $(+postctorT).
9335 (link-bounded): Replace $(+prector)/$(+postctor) with
9336 $(+prectorT)/$(+postctorT).
9337 (+prectorT): New macro.
9338 (+postctorT): Likewise.
9339
ed8c2ecd
JM
93402012-09-06 Joseph Myers <joseph@codesourcery.com>
9341
9342 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9343 (round_str): Handle values above the maximum for IBM long double
9344 as inexact.
9345 * stdlib/tst-strtod-round.c (tests): Regenerated.
9346
14c996c8
AK
93472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9348
9349 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9350 assembler flag.
9351 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9352 zarch_nohighgprs around the zarch optimized routines.
9353 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9354 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9356 for zarch.
9357
430d6ce6
DM
93582012-09-05 David S. Miller <davem@davemloft.net>
9359
9360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9361
ff04dda4
DM
9362 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9363 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9364 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9365 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9366 entries.
9367
24d4e01b
AO
93682012-09-05 Alexandre Oliva <aoliva@redhat.com>
9369
9370 * malloc/arena.c: Fold copyright years.
9371 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9372
61d58174
AO
93732012-09-05 Alexandre Oliva <aoliva@redhat.com>
9374
9375 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9376
20196a5e
AO
93772012-09-05 Alexandre Oliva <aoliva@redhat.com>
9378
9379 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9380
5c447383
AO
93812012-09-05 Alexandre Oliva <aoliva@redhat.com>
9382
9383 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9384 change internal state upon failure.
9385
fad64255
AO
93862012-09-05 Alexandre Oliva <aoliva@redhat.com>
9387
9388 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9389 * malloc/memusage.c (mmap): Likewise.
9390 (mmap64, mremap): Likewise. Adjust name in comment.
9391
1ffb8c90
SP
93922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9393
9394 * libio/fileops.c: Fix typos in comments.
9395 * libio/oldfileops.c: Likewise.
9396 * libio/wfileops.c: Likewise.
9397
6ef9cc37
SP
93982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9399
9400 [BZ #1349]
9401 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9402 (tst-malloc-usable-ENV): Set environment for test case.
9403 * malloc/hooks.c (malloc_check_get_size): New function to get
9404 requested size.
9405 * malloc/malloc.c (musable): Use malloc_check_get_size.
9406 * malloc/tst-malloc-usable.c: New test case.
9407
4d038ae3
AS
94082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9409
9410 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9411
c4e85184
AM
94122012-09-05 Allan McRae <allan@archlinux.org>
9413
b9dafc56 9414 [BZ #13966]
c4e85184
AM
9415 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9416 determine header location.
9417 * configure: Regenerated.
9418
e1343020
AS
94192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9420
9421 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9422 float format.
9423 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9424 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9425 format.
e1343020
AS
9426 (test): Regenerate.
9427
0a9f1987
DM
94282012-09-04 David S. Miller <davem@davemloft.net>
9429
9430 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9431 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9432 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9433
29237804
FW
94342012-09-04 Florian Weimer <fweimer@redhat.com>
9435
9436 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9437 failures.
9438
edb3cb88
FW
9439 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9440
60160d83
JM
94412012-09-04 Joseph Myers <joseph@codesourcery.com>
9442
9443 [BZ #9914]
9444 * libio/iogetdelim.c: Include <limits.h>.
9445 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9446 + len + 1 would overflow.
9447
bcd6c8dc
AJ
94482012-09-03 Andreas Jaeger <aj@suse.de>
9449
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9451 * sysdeps/i386/fpu/libm-test-ulps: Update.
9452
4ffffbd2
LD
94532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9454
9455 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9456 Add s_sinf-sse2, s_conf-sse2.
9457
9458 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9459 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9460 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9461 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9462
9463 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9464 for using routine as __sinf_ia32.
9465 Use macro for function declaration and weak_alias.
9466 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9467 for using routine as __cosf_ia32.
9468 Use macro for function declaration and weak_alias.
9469
9470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9471 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9472
9473 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9474 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9476
9477 * math/libm-test.inc (cos_test): Add more test cases.
9478 (sin_test): Likewise.
9479 (sincos_test): Likewise.
9480
511fa286
AK
94812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9482
9483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9484 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9485 hidden.
9486 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9487
5f30cfec
L
94882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9489
9490 [BZ #14538]
9491 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9492 first element of the GOT.
9493 (elf_machine_load_address): Return the difference between
9494 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9495
0786794f
AM
94962012-09-01 Allan McRae <allan@archlinux.org>
9497
5f30cfec
L
9498 [BZ #13412]
9499 * configure.in (AWK): Require gawk version 3.0 or later.
9500 * configure: Regenerated.
0786794f 9501
26889eac
JM
95022012-09-01 Joseph Myers <joseph@codesourcery.com>
9503
9504 * sysdeps/unix/sysv/linux/kernel-features.h
9505 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9506 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9507 [__NR_clock_getres]: Make code unconditional.
9508 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9509 (clock_getcpuclockid): Remove code left unreachable by removal of
9510 conditionals.
9511 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9512 code unconditional.
9513 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9516 Make code unconditional.
9517 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/clock_settime.c
9520 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9521 conditional code.
9522 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9524
d22e28b0
L
95252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 [BZ #14476]
9528 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9529 scripts/test-installation.pl.
9530
9531 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9532 and $ld_so_version if it is set.
9533
050af9c4
SP
95342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9535
9536 [BZ #14516]
9537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9538 failure if reading from procfs failed.
9539 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9540
ad845c0b
JM
95412012-08-27 Joseph Myers <joseph@codesourcery.com>
9542
9543 * sysdeps/unix/sysv/linux/kernel-features.h
9544 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9545 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9546 Remove conditional code.
9547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9548 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9549 Remove conditional code.
9550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9551 * sysdeps/unix/sysv/linux/i386/fxstat.c
9552 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9554 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9555 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9557 * sysdeps/unix/sysv/linux/i386/lxstat.c
9558 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9560 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9561 Remove conditional code.
9562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9563 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9564 Remove conditional code.
9565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9567 <kernel-features.h>.
9568 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9569 Remove.
9570 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9571 Remove conditional code.
9572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9573 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9574 Remove conditional.
9575
5dbf56af
MF
95762012-08-27 Mike Frysinger <vapier@gentoo.org>
9577
9578 [BZ #5400]
9579 * NEWS: Add fixed bug number.
9580
d6e70f43
JM
95812012-08-27 Joseph Myers <joseph@codesourcery.com>
9582
7efb4737
JM
9583 [BZ #14519]
9584 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9585 underflowing exponent in case of negative sign.
9586 * stdlib/tst-strtod-round-data: Add more tests.
9587 * stdlib/tst-strtod-round.c (tests): Regenerated.
9588
af92131a
JM
9589 [BZ #3479]
9590 * stdlib/strtod_l.c (NDIG): Remove.
9591 (HEXNDIG): Likewise.
9592 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9593 smallest representable value.
9594 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9595 lie within an exact representation of 1/2 ulp of the result.
9596 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9597 unconditionally.
9598 (TENS_P9_IDX): Define unconditionally.
9599 (TENS_P9_SIZE): Likewise.
9600 (TENS_P10_IDX): Likewise.
9601 (TENS_P10_SIZE): Likewise.
9602 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9603 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9604 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9605 entries for 10^2^13 and 10^2^14.
9606 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9607 (TENS_P13_IDX): Define.
9608 (TENS_P13_SIZE): Likewise.
9609 (TENS_P14_IDX): Likewise.
9610 (TENS_P14_SIZE): Likewise.
9611 (_fpioconst_pow10): Change array size to
9612 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9613 unconditional.
9614 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9615 1024]: Add entries for 10^2^13 and 10^2^14.
9616 [LAST_POW10 > _LAST_POW10]: Remove #error.
9617 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9618 (_fpioconst_pow10): Change array size to
9619 FPIOCONST_POW10_ARRAY_SIZE.
9620 * stdlib/gen-fpioconst.c: New file.
9621 * stdlib/gen-tst-strtod-round.c: Likewise.
9622 * stdlib/tst-strtod-round-data: Likewise.
9623 * stdlib/tst-strtod-round.c: Likewise.
9624 * stdlib/Makefile (tests): Add tst-strtod-round.
9625
d6e70f43
JM
9626 [BZ #14459]
9627 * stdlib/strtod_l.c: Include <stdint.h>.
9628 (NDEBUG): Do not define.
9629 (round_and_return): Change EXPONENT parameter to type intmax_t.
9630 Rearrange calculations to avoid internal overflow possibilities.
9631 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9632 Rearrange calculations to avoid internal overflow possibilities.
9633 Assert that number fits inside MPNSIZE limbs.
9634 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9635 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9636 calculations and add assertions to avoid internal overflow
9637 possibilities. Add casts to avoid signed/unsigned operations.
9638 * stdlib/tst-strtod-overflow.c: New file.
9639 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9640
1f529f7d
MP
96412012-08-25 Marek Polacek <polacek@redhat.com>
9642
9643 * time/time.h: Fix some typos in comments.
9644
59a629f1
RM
96452012-08-23 Roland McGrath <roland@hack.frob.com>
9646
9647 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9648 * posix/tst-rfc3484-2.c: Likewise.
9649 * posix/tst-rfc3484-3.c: Likewise.
9650
d3bafbc9
SM
96512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9652
9653 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9654 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9655
4efcc022
JM
96562012-08-23 Joseph Myers <joseph@codesourcery.com>
9657
9658 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9659 #include of fxstatat64.c.
9660
3cc3ef96
RM
96612012-08-22 Roland McGrath <roland@hack.frob.com>
9662
f04e2132
RM
9663 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9664 * shadow/getspent_r.c: Likewise.
9665 * shadow/getspnam.c: Likewise.
9666 * shadow/getspnam_r.c: Likewise.
9667 * gshadow/getsgent.c: Likewise.
9668 * gshadow/getsgent_r.c: Likewise.
9669 * gshadow/getsgnam.c: Likewise.
9670 * gshadow/getsgnam_r.c: Likewise.
9671 * inet/getnetbyad.c: Likewise.
9672 * inet/getnetbyad_r.c: Likewise.
9673 * inet/getnetbynm.c: Likewise.
9674 * inet/getnetbynm_r.c: Likewise.
9675 * inet/getnetent.c: Likewise.
9676 * inet/getnetent_r.c: Likewise.
9677 * inet/getproto.c: Likewise.
9678 * inet/getproto_r.c: Likewise.
9679 * inet/getprtent.c: Likewise.
9680 * inet/getprtent_r.c: Likewise.
9681 * inet/getprtname.c: Likewise.
9682 * inet/getprtname_r.c: Likewise.
9683 * inet/getrpcbyname.c: Likewise.
9684 * inet/getrpcbyname_r.c: Likewise.
9685 * inet/getrpcbynumber.c: Likewise.
9686 * inet/getrpcbynumber_r.c: Likewise.
9687 * inet/getrpcent.c: Likewise.
9688 * inet/getrpcent_r.c: Likewise.
9689 * inet/getaliasent.c: Likewise.
9690 * inet/getaliasent_r.c: Likewise.
9691 * inet/getaliasname.c: Likewise.
9692 * inet/getaliasname_r.c: Likewise.
9693 * nscd/getgrgid_r.c: Likewise.
9694 * nscd/getgrnam_r.c: Likewise.
9695 * nscd/gethstbyad_r.c: Likewise.
9696 * nscd/gethstbynm3_r.c: Likewise.
9697 * nscd/getpwnam_r.c: Likewise.
9698 * nscd/getpwuid_r.c: Likewise.
9699 * nscd/getsrvbynm_r.c: Likewise.
9700 * nscd/getsrvbypt_r.c: Likewise.
9701 * nscd/gai.c: Likewise.
9702
c53d909c
RM
9703 * configure.in (build_nscd): New substituted variable, set
9704 by --disable-build-nscd and defaults to $use_nscd.
9705 * configure: Regenerated.
9706 * config.make.in (build-nscd): New substituted variable.
9707 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9708 Change conditional to require [$(build-nscd) = yes] as well.
9709 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9710
3cc3ef96
RM
9711 [BZ# 13696]
9712 * configure.in (use_nscd): New substituted variable, set by
9713 --disable-nscd. If enabled, define USE_NSCD.
9714 * configure: Regenerated.
9715 * config.h.in: Add USE_NSCD.
9716 * config.make.in (use-nscd): New substituted variable.
9717 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9718 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9719 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9720 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9721 (CFLAGS-getgrnam_r.c): Likewise.
9722 (CFLAGS-initgroups.c): Likewise.
9723 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9724 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9725 Variables removed.
9726 * inet/getnetgrent_r.c
9727 (nscd_setnetgrent): New function, broken out of ...
9728 (setnetgrent): ... here. Call it.
9729 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9730 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9731 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9732 * nscd/Makefile (routines, aux): Move definitions after include of
9733 Makeconfig. Conditionalize on [$(use-nscd) != no].
9734 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9735 Conditionalize on [USE_NSCD].
9736 (is_nscd, nscd_init_cb): Likewise.
9737 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9738 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9739 * nss/nss_db/db-init.c: Likewise.
9740 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9741 [USE_NSCD].
9742 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9743 (make_request): Use it.
9744 (cache_valid_p): New function.
9745 (__check_pf): Use it.
9746 * NEWS: Add item for --disable-nscd.
9747
07e51550
DL
97482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9749
9750 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9751 to support sed >= 4.2.1-20-ga9bf076.
9752 * configure: Regenerated.
9753
35a5b08b
RM
97542012-08-22 Roland McGrath <roland@hack.frob.com>
9755
9756 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9757 Conditionalize whole body on [IREL].
9758
8479f23a
JL
97592012-08-22 Jeff Law <law@redhat.com>
9760
9761 [BZ #14505]
9762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9763 if the family is PF_UNSPEC.
9764
48da0b21
MF
97652012-08-22 Mike Frysinger <vapier@gentoo.org>
9766
9767 * Makerules (lib-version): Rename from V.
9768 (install-lib-nosubdir): Change V to lib-version.
9769
15d0da8c
WS
97702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9771
9772 [BZ #14252]
9773 * powerpc32/power6/wcschr.c: New file.
9774 * powerpc32/power6/wcscpy.c: New file.
9775 * powerpc32/power6/wcsrchr.c: New file.
9776 * powerpc64/power6/wcschr.c: New file.
9777 * powerpc64/power6/wcscpy.c: New file.
9778 * powerpc64/power6/wcsrchr.c: New file.
9779
bcca0895
MK
97802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9781
9782 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9783 (two_way_short_needle): Use it.
5a4aaa33
RM
9784 * string/strstr.c (AVAILABLE1_USES_J): Define.
9785 * string/strcasestr.c: Likewise.
99677e57
MK
9786
9787 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9788 array references.
9789 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9790
400726de
MK
9791 [BZ #11607]
9792 * NEWS: Add an entry.
9793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9794 define their defaults.
9795 (two_way_short_needle): Detect end-of-string on-the-fly.
9796 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9797 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9798 * string/bug-strcasestr1.c: New test.
9799 * string/Makefile: Run it.
9800
20a71f2c
MK
98012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9802
9803 [BZ #11607]
9804 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9805 the first character.
9806
21ad0558
RM
98072012-08-21 Roland McGrath <roland@hack.frob.com>
9808
9809 * csu/elf-init.c (__libc_csu_irel): Function removed.
9810 * csu/libc-start.c (apply_irel): New function.
9811 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9812
0e1d9911
JM
98132012-08-21 Joseph Myers <joseph@codesourcery.com>
9814
9815 * sysdeps/unix/sysv/linux/kernel-features.h
9816 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9818 <kernel-features.h>.
9819 [__NR_fadvise64_64]: Make code unconditional.
9820 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9821 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9822 !__NR_fadvise64_64)]: Likewise.
9823 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9824 !__NR_fadvise64_64))]: Likewise.
9825 [__NR_fadvise64]: Make code unconditional.
9826 [!__NR_fadvise64]: Remove conditional code.
9827 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9828 <kernel-features.h>.
9829 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9830 unconditional.
9831 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9832 conditional code.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9834 not include <kernel-features.h>.
9835 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9836 unconditional.
9837 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9838 conditional code.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9840 include <kernel-features.h>.
9841 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9842 unconditional.
9843 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9844 conditional code.
9845
14a50c9d
WS
98462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9847
9848 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9849 slight instruction rearrangements per scrollpipe analysis.
9850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9851
c0f4faf0
RM
98522012-08-20 Roland McGrath <roland@hack.frob.com>
9853
696da859
RM
9854 * manual/syslog.texi (syslog; vsyslog, closelog):
9855 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9856 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9857
c0f4faf0
RM
9858 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9859 DSOCAPS to match condition on defining it.
9860
348363b2
JM
98612012-08-20 Joseph Myers <joseph@codesourcery.com>
9862
a35cbf28
JM
9863 * sysdeps/unix/sysv/linux/kernel-features.h
9864 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9866 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9867 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9869 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9870 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9872 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9873 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9874
445f7ecd
JM
9875 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9876 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9877
348363b2
JM
9878 * sysdeps/unix/sysv/linux/kernel-features.h
9879 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9880 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9881 unconditional.
9882 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9884 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9885 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9886 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9887 Make code unconditional.
9888 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9889 (__mmap64) [!__NR_mmap2]: Likewise.
9890 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9894 [__NR_mmap2]: Make code unconditional.
9895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9896 (__mmap64) [!__NR_mmap2]: Likewise.
9897
bc5bc0e5
AK
98982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9899
9900 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9901
88d506de
AJ
99022012-08-18 Andreas Jaeger <aj@suse.de>
9903
9904 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9905
493387d2
MF
99062012-08-18 Mike Frysinger <vapier@gentoo.org>
9907
9908 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9909 * include/unistd.h (__have_sock_cloexec): Likewise.
9910 (__have_pipe2): Likewise.
9911 (__have_dup3): Likewise.
9912
a277af22
MF
99132012-08-18 Mike Frysinger <vapier@gentoo.org>
9914
9915 [BZ #9685]
9916 * include/unistd.h (__have_pipe2): Change define into an extern int.
9917 (__have_dup3): Likewise.
9918 * socket/have_sock_cloexec.c: Include fcntl.h.
9919 (__have_pipe2): New variable.
9920 (__have_dup3): Likewise.
9921
fdab8fd3
MF
99222012-08-17 Mike Frysinger <vapier@gentoo.org>
9923
9924 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9925
31035e80
MP
99262012-08-17 Marek Polacek <polacek@redhat.com>
9927
9928 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9929 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9930
3bd9e993
RM
99312012-08-17 Roland McGrath <roland@hack.frob.com>
9932
c91c505f
RM
9933 * configure.in: Add AC_SUBST for sysheaders.
9934 * configure: Regenerated.
9935 * config.make.in (sysheaders): New substituted variable.
9936
7c6f9d53
RM
9937 * sysdeps/unix/mkfifo.c: Moved ...
9938 * sysdeps/posix/mkfifo.c: ... here.
9939 * sysdeps/unix/mkfifoat.c: Moved ...
9940 * sysdeps/posix/mkfifoat.c: ... here.
9941
9942 * sysdeps/unix/utime.c: Moved ...
9943 * sysdeps/posix/utime.c: ... here.
9944
9945 * sysdeps/unix/time.c: Moved ...
9946 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9947 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9948 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9949
9950 * sysdeps/unix/nice.c: Moved ...
9951 * sysdeps/posix/nice.c: ... here.
9952
9953 * sysdeps/unix/alarm.c: Moved ...
9954 * sysdeps/posix/alarm.c: ... here.
9955
3bd9e993
RM
9956 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9957
d1f09384
JL
99582012-08-17 Jeff Law <law@redhat.com>
9959
9960 * intl/Makefile (codeset_mo): New variable.
9961 ($(codeset_mo)): New target.
9962 (tst-codeset.out): Depend on that. Remove explicit rule.
9963 (tst-gettext3.out, tst-gettext5.out): Likewise.
9964 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9965 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9966 * intl/tst-codeset.sh: Remove.
9967 * intl/tst-gettext3.sh: Likewise.
9968 * intl/tst-gettext5.sh: Likewise.
9969
2ae1ae5c
RM
99702012-08-17 Roland McGrath <roland@hack.frob.com>
9971
c31fdb83
RM
9972 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9973 * sysdeps/unix/syscalls.list: ... here.
9974
a0844057
RM
9975 * sysdeps/posix/getaddrinfo.c
9976 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9977 (gaiconf_init, gaiconf_reload): Use them.
9978 [!_STATBUF_ST_NSEC]
9979 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9980 Define using time_t rather than struct timespec.
9981
750c1f2a
RM
9982 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9983 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9984 Macros removed.
9985 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9986 [!NO_THREADS].
9987 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9988 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9989 Likewise.
9990
2ae1ae5c
RM
9991 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9992 __libc_cleanup_push argument.
9993
e66a42f5
RM
9994 * bits/param.h: New file.
9995 * misc/sys/param.h: New file.
9996 * include/sys/param.h: New file.
9997 * misc/Makefile (headers): Add bits/param.h.
9998 * sysdeps/generic/sys/param.h: File removed.
9999 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10000 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10001 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10002 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10003
b7c08a66
RM
10004 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10005 last change.
10006
b2e1c562
RM
10007 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10008 [_IO_MTSAFE_IO].
10009 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10010 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10011 New macros.
10012
c75ccd4c
RM
10013 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10014 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10015 rather than -D_IO_MTSAFE_IO conditionally.
10016 * stdio-common/Makefile (CPPFLAGS): Likewise.
10017 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10018 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10019 Use $(libio-mtsafe).
10020 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10021 of -D_IO_MTSAFE_IO.
10022 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10023 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10024 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10025 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10026 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10027 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10028 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10029 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10030 (CFLAGS-fread_u_chk.c): Likewise.
10031 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10032 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10033 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10034 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10035 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10036 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10037 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10038 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10039 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10040
10041 * libio/Makefile: Test [$(libc-reentrant) = yes]
10042 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10043
10044 * Makeconfig
10045 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10046 * sysdeps/pthread/configure: File removed.
10047 * sysdeps/pthread/Makeconfig: New file.
10048 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10049 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10050
d9195db8
GB
100512012-08-16 Gary Benson <gbenson@redhat.com>
10052
10053 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10054 unmapping the first object in a namespace.
10055
86466cd9
RM
100562012-08-16 Roland McGrath <roland@hack.frob.com>
10057
10058 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10059 (__internal_setnetgrent): ... this. Add internal_function to
10060 definition. Add libc_hidden_def.
10061 (setnetgrent): Update caller.
10062 (internal_endnetgrent): Renamed to ...
10063 (__internal_endnetgrent): ... this. Add internal_function to
10064 definition. Add libc_hidden_def.
10065 (endnetgrent): Update caller.
10066 (internal_getnetgrent_r): Renamed to ...
10067 (__internal_getnetgrent_r): ... this. Add internal_function to
10068 definition. Add libc_hidden_def.
10069 (__getnetgrent_r): Update caller.
10070 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10071
c3c8283c
JM
100722012-08-16 Joseph Myers <joseph@codesourcery.com>
10073
10074 * stdlib/longlong.h: Update from GCC.
10075
db1ee0a8
RM
100762012-08-16 Roland McGrath <roland@hack.frob.com>
10077
10078 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10079 on _QL, which is set by umul_ppmm but never used.
10080 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10081 variables, which are set by GMP macros but never used.
10082 * stdio-common/_itowa.c (_itowa): Likewise.
10083 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10084 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10085
30f69637
CD
100862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10087
10088 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10089 struct La_sh_regs is not constant.
10090 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10091 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10092 and struct La_sparc64_regs are not constant.
10093
93a78ac4
JM
100942012-08-16 Joseph Myers <joseph@codesourcery.com>
10095
10096 * sysdeps/unix/sysv/linux/kernel-features.h
10097 (__ASSUME_POSIX_TIMERS): Remove.
10098 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10099 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10100 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10101 Make code unconditional.
10102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10104 Make code unconditional.
10105 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10107 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10109 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10110 Make code unconditional.
10111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10112 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10113 (__libc_missing_posix_timers): Remove.
10114
dd924cd7
RM
101152012-08-15 Roland McGrath <roland@hack.frob.com>
10116
4b4f2771
RM
10117 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10118 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10119
601c888b
RM
10120 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10121
176790a7
RM
10122 * elf/dl-sym.c: Include <stdlib.h>.
10123
329bc018
RM
10124 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10125 constants, which avoids warnings in 32-bit builds.
10126
e04e272d
RM
10127 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10128 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10129
952bf94a
RM
10130 * misc/lseek.c: File moved to ...
10131 * io/lseek.c: ... here.
10132
7c99b50a
RM
10133 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10134
dd924cd7
RM
10135 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10136 shifting LEN more than 31 bits at once.
10137
b3f479a8
LD
101382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10139
10140 [BZ #14195]
8c4ae0d4
RM
10141 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10142 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10143 * string/test-strncasecmp.c (check1): Renamed to...
10144 (bz12205): ...this.
10145 (bz14195): Add new testcase for two empty input strings and N > 0.
10146 (test_main): Call new testcase, adapt for renamed function.
10147
9c55864e
AJ
101482012-08-15 Andreas Jaeger <aj@suse.de>
10149
10150 [BZ #14090]
10151 * crypt/md5test2.c: New test, based on test supplied by Serge
10152 Belyshev <belyshev@depni.sinp.msu.ru>.
10153 * crypt/Makefile (xtests): Add md5test-giant..
10154 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10155
02dcb6c5
PE
101562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10157
10158 [BZ #14090]
10159 * crypt/md5.c (md5_process_block): Don't assume the buffer
10160 length is less than 2**32.
10161 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10162 length is less than 2**64.
10163
a3f95dcc
RM
101642012-08-15 Roland McGrath <roland@hack.frob.com>
10165
be75d758
RM
10166 * string/str-two-way.h: Include <sys/param.h>.
10167 (MAX): Macro removed.
10168
7312ca90
RM
10169 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10170 Move #define and #undef of memmove to just before and after
10171 including <string.h>.
10172
9a0a5486
RM
10173 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10174 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10175 and after including <string.h>. Move declarations of
10176 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10177 to before #include "string/memmove.c".
10178
67cc348d
RM
10179 * include/dirent.h: Declare __getdirentries.
10180
a3f95dcc
RM
10181 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10182 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10183
ca98e171
MF
101842012-08-14 Mike Frysinger <vapier@gentoo.org>
10185
10186 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10187 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10188 * sysdeps/i386/configure: Regenerated.
10189 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10190 STABS_CURRENT_FILE, and STABS_FUN.
10191 (END): Remove call to STABS_FUN_END.
10192 (STABS_CURRENT_FILE1): Delete.
10193 (STABS_CURRENT_FILE): Likewise.
10194 (STABS_FUN): Likewise.
10195 (STABS_FUN_END): Likewise.
10196 (STABS_FUN2): Likewise.
10197 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10198 * sysdeps/x86_64/configure: Regenerated.
10199
5908bf46
RM
102002012-08-14 Roland McGrath <roland@hack.frob.com>
10201
10202 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10203 * elf/dl-lookup.c: Likewise.
5908bf46 10204
f2c05b9e
JM
102052012-08-14 Joseph Myers <joseph@codesourcery.com>
10206
10207 * sysdeps/unix/sysv/linux/kernel-features.h
10208 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10209 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10210 unconditionally.
10211 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10212 unconditionally.
10213 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10214 condition on __ASSUME_CLONE_THREAD_FLAGS.
10215
e11f5155
AJ
102162012-08-14 Andreas Jaeger <aj@suse.de>
10217
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219
51a9ba86
MK
102202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10221
2fdd4f78
AJ
10222 * include/atomic.h (atomic_exchange_and_add): Split into ...
10223 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10224 New atomic macros.
51a9ba86 10225
ba6cba9e
MT
102262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10227
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10229
42443a47
JL
102302012-08-13 Jeff Law <law@redhat.com>
10231
10232 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10233 null byte in the output string.
10234
121dce05
JM
102352012-08-10 Joseph Myers <joseph@codesourcery.com>
10236
10237 * sysdeps/unix/sysv/linux/kernel-features.h
10238 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10239 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10240 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10241 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10242 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10243 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10244 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10245
bf51f568
JL
102462012-08-09 Jeff Law <law@redhat.com>
10247
10248 [BZ #13939]
10249 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10250 When avoid_arena is set, don't retry in the that arena. Pick the
10251 next one, whatever it might be.
10252 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10253 (arena_lock): Pass in new parameter to arena_get2.
10254 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10255 arena_get2.
10256 (__libc_malloc): Unify retrying after main arena failure with
10257 __libc_memalign version.
10258 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10259
f85fa270
L
102602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10261
10262 [BZ #14166]
10263 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10264 to __redirect_strstr.
10265 (__strstr_sse42): Use typeof __redirect_strstr.
10266 (__strstr_ia32): Likewise.
10267 (__libc_strstr): New prototype.
10268 (strstr): Renamed to ...
10269 (__libc_strstr): This.
10270 (strstr): New strong alias of __libc_strstr.
10271 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10273 __redirect_time.
10274 Include <time.h>.
10275 (__libc_time): New prototype.
10276 (time_ifunc): Replace time with __libc_time.
10277 (time): New strong alias and hidden definition of __libc_time.
10278 (__GI_time): Remove strong alias.
10279 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10280 Include <stddef.h>.
10281 (memmove): Redefined to __redirect_memmove.
10282 (__memmove_sse2): Use typeof __redirect_memmove.
10283 (__memmove_ssse3): Likewise.
10284 (__memmove_ssse3_back): Likewise.
10285 (__libc_memmove): New prototype.
10286 (memmove): Renamed to ...
10287 (__libc_memmove): This.
10288 (memmove): New strong alias of __libc_memmove.
10289
33b4a91e
MS
102902012-08-08 Mark Salter <msalter@redhat.com>
10291
10292 * elf/elf.h
10293 (R_MN10300_TLS_GD): Define.
10294 (R_MN10300_TLS_LD): Likewise.
10295 (R_MN10300_TLS_LDO): Likewise.
10296 (R_MN10300_TLS_GOTIE): Likewise.
10297 (R_MN10300_TLS_IE): Likewise.
10298 (R_MN10300_TLS_LE): Likewise.
10299 (R_MN10300_TLS_DTPMOD): Likewise.
10300 (R_MN10300_TLS_DTPOFF): Likewise.
10301 (R_MN10300_TLS_TPOFF): Likewise.
10302 (R_MN10300_SYM_DIFF): Likewise.
10303 (R_MN10300_ALIGN): Likewise.
10304 (R_MN10300_NUM): Update.
10305
b36137f1
JM
103062012-08-08 Joseph Myers <joseph@codesourcery.com>
10307
10308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10309 Remove.
10310
cdd915fd
RM
103112012-08-08 Roland McGrath <roland@hack.frob.com>
10312
a2433aac
RM
10313 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10314
cdd915fd
RM
10315 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10316 sysdeps/unix -> sysdeps/posix move.
10317 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10318
bf9b740a
AM
103192012-08-07 Allan McRae <allan@archlinux.org>
10320
10321 [BZ #14303]
10322 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10323 (SUNOS_CPP): Likewise.
10324 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10325 not found.
10326 (open_input): Call CPP using execvp.
10327
93df14ee
JM
103282012-08-07 Joseph Myers <joseph@codesourcery.com>
10329
10330 * sysdeps/unix/sysv/linux/kernel-features.h
10331 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10332 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10333 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10334 (__ASSUME_WAITID_SYSCALL): Likewise.
10335 * sysdeps/unix/sysv/linux/dl-execstack.c
10336 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10337 code unconditional.
10338 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10339 conditional code.
10340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10341 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10342 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10343 code.
10344 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10345 unconditional.
10346 [__ASSUME_WAITID_SYSCALL]: Likewise.
10347 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10348
d34689de
RM
103492012-08-07 Roland McGrath <roland@hack.frob.com>
10350
a281decc
RM
10351 * sysdeps/unix/closedir.c: Renamed to ...
10352 * sysdeps/posix/closedir.c: ... here.
10353 * sysdeps/unix/dirfd.c: Renamed to ...
10354 * sysdeps/posix/dirfd.c: ... here.
10355 * sysdeps/unix/dirstream.h: Renamed to ...
10356 * sysdeps/posix/dirstream.h: ... here.
10357 * sysdeps/unix/fdopendir.c: Renamed to ...
10358 * sysdeps/posix/fdopendir.c: ... here.
10359 * sysdeps/unix/opendir.c: Renamed to ...
10360 * sysdeps/posix/opendir.c: ... here.
10361 * sysdeps/unix/readdir.c: Renamed to ...
10362 * sysdeps/posix/readdir.c: ... here.
10363 * sysdeps/unix/readdir_r.c: Renamed to ...
10364 * sysdeps/posix/readdir_r.c: ... here.
10365 * sysdeps/unix/rewinddir.c: Renamed to ...
10366 * sysdeps/posix/rewinddir.c: ... here.
10367 * sysdeps/unix/seekdir.c: Renamed to ...
10368 * sysdeps/posix/seekdir.c: ... here.
10369 * sysdeps/unix/telldir.c: Renamed to ...
10370 * sysdeps/posix/telldir.c: ... here.
10371 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10372 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10374 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10375
22895b47
RM
10376 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10377 * bits/fcntl.h: ... here.
10378
707a53b6
RM
10379 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10380 not 0.
10381 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10382 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10383 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10384 (struct flock): Move l_start, l_len to the beginning.
10385 Use __pid_t for l_pid.
10386 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10387 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10388 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10389 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10390 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10391 [__USE_LARGEFILE64] (struct flock64): New type.
10392 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10393
f0bd3e25
RM
10394 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10395 * bits/dirent.h: ... here.
10396
d34689de
RM
10397 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10398 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10399
6dad2c06
JM
104002012-08-07 Joseph Myers <joseph@codesourcery.com>
10401
10402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10403 Change from 2.6.0 to 2.6.16.
10404 * sysdeps/unix/sysv/linux/configure: Regenerated.
10405 * sysdeps/unix/sysv/linux/kernel-features.h
10406 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10407 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10408 version.
10409 (__ASSUME_UTIMES): Likewise.
10410 (__ASSUME_CLONE_STOPPED): Remove.
10411 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10412 architectures, not kernel version.
10413 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10414 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10415 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10416 (__ASSUME_WAITID_SYSCALL): Likewise.
10417 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10418 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10419 * README: State 2.6.16 as minimum Linux kernel version. Do not
10420 refer to older versions.
10421
03af9520
RM
104222012-08-06 Roland McGrath <roland@hack.frob.com>
10423
8e49df1d
RM
10424 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10425 Define alphasort64 as an alias.
10426 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10427 Define versionsort64 as an alias.
10428 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10429 Define scandir64 as an alias.
10430 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10431 Define scandirat64 as an alias.
10432 * dirent/alphasort64.c (alphasort64):
10433 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10434 * dirent/versionsort64.c: Likewise.
10435 * dirent/scandir64.c: Likewise.
10436 * dirent/scandirat64.c: Likewise.
10437 * sysdeps/wordsize-64/alphasort.c: File removed.
10438 * sysdeps/wordsize-64/alphasort64.c: File removed.
10439 * sysdeps/wordsize-64/scandir.c: File removed.
10440 * sysdeps/wordsize-64/scandir64.c: File removed.
10441 * sysdeps/wordsize-64/scandirat.c: File removed.
10442 * sysdeps/wordsize-64/scandirat64.c: File removed.
10443 * sysdeps/wordsize-64/versionsort.c: File removed.
10444 * sysdeps/wordsize-64/versionsort64.c: File removed.
10445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10453
10454 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10456 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10458 [defined __arch64__ || defined __sparcv9]
10459 (__INO_T_MATCHES_INO64_T): New macro.
10460 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10461 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10462 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10463 * sysdeps/unix/sysv/linux/bits/dirent.h
10464 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10465 (_DIRENT_MATCHES_DIRENT64): New macro.
10466
03af9520
RM
10467 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10468 Define lockf64 as an alias.
10469 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10470 Define fseeko64 as an alias.
10471 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10472 Define ftello64 as an alias.
10473 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10474 Define _IO_fgetpos64 and fgetpos64 as aliases.
10475 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10476 Define _IO_fsetpos64 and fsetpos64 as aliases.
10477 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10478 Conditionalize body on this.
10479 * libio/fseeko64.c: Likewise.
10480 * libio/ftello64.c: Likewise.
10481 * libio/iofgetpos64.c: Likewise.
10482 * libio/iofsetpos64.c: Likewise.
10483 * sysdeps/wordsize-64/lockf.c: File removed.
10484 * sysdeps/wordsize-64/lockf64.c: File removed.
10485 * sysdeps/wordsize-64/fseeko.c: File removed.
10486 * sysdeps/wordsize-64/fseeko64.c: File removed.
10487 * sysdeps/wordsize-64/ftello.c: File removed.
10488 * sysdeps/wordsize-64/ftello64.c: File removed.
10489 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10490 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10491 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10492 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10494 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10500 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10503
10504 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10506 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10508 [defined __arch64__ || defined __sparcv9]
10509 (__OFF_T_MATCHES_OFF64_T): New macro.
10510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10511 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10513 (__OFF_T_MATCHES_OFF64_T): New macro.
10514
c5757acd
L
105152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * stdlib/secure-getenv.c (__secure_getenv): Replace
10518 GLIBC_2_16 with GLIBC_2_17.
10519
3a31811e
L
105202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10521
10522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10524
faa2bccb
DM
105252012-08-03 David S. Miller <davem@davemloft.net>
10526
10527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10528
85fe1997
JM
105292012-08-03 Joseph Myers <joseph@codesourcery.com>
10530
10531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10532 Remove.
10533 (__ASSUME_CORRECT_SI_PID): Likewise.
10534 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10535 (__ASSUME_TMPFS_NAME): Likewise.
10536 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10537 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10538 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10539 (HAVE_AUX_SECURE): Make definition unconditional.
10540 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10541 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10542
4f75b7a0
RM
105432012-08-03 Roland McGrath <roland@hack.frob.com>
10544
10545 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10546 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10547 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10548 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10549 __eloop_threshold instead of SYMLOOP_MAX.
10550
10551 * sysdeps/generic/eloop-threshold.h: New file.
10552 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10553 of MAXSYMLINKS.
10554 * elf/chroot_canon.c (chroot_canon): Likewise.
10555
7aab07e4
JM
105562012-08-03 Joseph Myers <joseph@codesourcery.com>
10557
10558 [BZ #13717]
10559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10560 Change to 2.6.0 everywhere.
10561 * sysdeps/unix/sysv/linux/configure: Regenerated.
10562 * sysdeps/unix/sysv/linux/kernel-features.h
10563 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10564 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10565 kernel versions.
10566 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10567 (__ASSUME_FUTEX_REQUEUE): Remove.
10568 (__ASSUME_STATFS64): Define unconditionally.
10569 (__ASSUME_AT_SECURE): Likewise.
10570 (__ASSUME_CORRECT_SI_PID): Likewise.
10571 (__ASSUME_TGKILL): Define without depending on kernel version for
10572 i386.
10573 (__ASSUME_UTIMES): Likewise.
10574 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10575 kernel version.
10576 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10577 (__ASSUME_TMPFS_NAME): Likewise.
10578 * README: Update reference to Linux kernel versions.
10579
b67e9372
MP
105802012-08-02 Marek Polacek <polacek@redhat.com>
10581
1f529f7d 10582 [BZ# 14150]
b67e9372
MP
10583 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10584 libc_cv_asm_type_prefix with %.
10585 * configure: Regenerated.
d2441631
RM
10586 * include/libc-symbols.h: Remove comment about
10587 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10588 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10589 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10590 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10591 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10592 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10594 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10595 * elf/tst-unique2mod1.c: Likewise.
10596 * elf/tst-unique1mod2.c: Likewise.
10597 * elf/tst-unique1mod1.c: Likewise.
10598 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10599 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10600 Replace ASM_TYPE_DIRECTIVE with .type.
10601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10602 * sysdeps/i386/sysdep.h: Likewise.
10603 * sysdeps/x86_64/sysdep.h: Likewise.
10604 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10606 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10607 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10608 * sysdeps/powerpc/powerpc32/sysdep.h:
10609 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10610 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10612 * sysdeps/i386/fpu/e_powf.S: Likewise.
10613 * sysdeps/i386/fpu/e_expl.S: Likewise.
10614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10615 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10616 * sysdeps/i386/fpu/e_pow.S: Likewise.
10617 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10618 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10619 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10620 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10621 * sysdeps/i386/fpu/e_log2.S: Likewise.
10622 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10624 * sysdeps/i386/fpu/e_powl.S: Likewise.
10625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10626 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10627 * sysdeps/i386/fpu/e_logl.S: Likewise.
10628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10629 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10630 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10631 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10633 * sysdeps/i386/fpu/e_log.S: Likewise.
10634 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10635 * sysdeps/i386/fpu/e_logf.S: Likewise.
10636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10638 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10639 * sysdeps/i386/fpu/e_log10.S: Likewise.
10640 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10642 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10643 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10645 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10646 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10647 * sysdeps/i386/i686/strtok.S: Likewise.
10648 * sysdeps/i386/i386-mcount.S: Likewise.
10649 * sysdeps/i386/strtok.S: Likewise.
10650 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10654 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10655 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10656 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10657 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10659 * sysdeps/x86_64/_mcount.S: Likewise.
10660 * sysdeps/x86_64/strtok.S: Likewise.
10661 * sysdeps/sh/_mcount.S: Likewise.
10662
2747bf9a
RM
106632012-08-01 Roland McGrath <roland@hack.frob.com>
10664
10665 * libio/iofopen.c: Include <fcntl.h>.
10666 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10667 (_IO_fopen64, fopen64): Define as aliases.
10668 * libio/iofopen64.c: Include <fcntl.h>.
10669 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10670 Conditionalize body on this.
10671 * sysdeps/wordsize-64/iofopen.c: File removed.
10672 * sysdeps/wordsize-64/iofopen64.c: File removed.
10673
3fb791b8
MP
106742012-08-01 Marek Polacek <polacek@redhat.com>
10675
10676 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10677 Use dlfcn directly instead of a variable.
10678 (binfmt-subdir): Do not define.
10679 (dlfcn): Likewise.
10680
a9f1039f
JM
106812012-08-01 Joseph Myers <joseph@codesourcery.com>
10682
23bddc06
JM
10683 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10684 Remove all definitions.
10685 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10686 <kernel-features.h>.
10687 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10688 (miss_F_GETOWN_EX): Remove all definitions.
10689 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10690 macro definition.
10691 [!__ASSUME_FCNTL64]: Remove conditional code.
10692 [__ASSUME_FCNTL64]: Make code unconditional.
10693 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10694 <kernel-features.h>.
10695 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10696 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10697 (lockf64) [__NR_fcntl64]: Make code unconditional.
10698 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10699
a9f1039f
JM
10700 * sysdeps/unix/sysv/linux/kernel-features.h
10701 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10702 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10703 Make code unconditional.
10704 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10705 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10707 [__NR_vfork]: Make code unconditional.
10708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10711 [__NR_vfork]: Make code unconditional.
10712 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10713 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10714
09c0ee5f
RM
107152012-08-01 Roland McGrath <roland@hack.frob.com>
10716
48aec5b9
RM
10717 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10718 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10719
cd97c966
RM
10720 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10721 Define mkstemp64 as an alias.
3f55550c
RM
10722 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10723 Define mkstemps64 as an alias.
cd97c966
RM
10724 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10725 Define mkostemp64 as an alias.
b8625cfc
RM
10726 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10727 Define mkostemps64 as an alias.
cd97c966
RM
10728 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10729 Conditionalize body on this.
10730 * misc/mkostemp64.c: Likewise.
b8625cfc 10731 * misc/mkostemps64.c: Likewise.
3f55550c 10732 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10733 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10734 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10735 * sysdeps/wordsize-64/mkostemp.c: File removed.
10736 * sysdeps/wordsize-64/mkstemp.c: File removed.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10741
09c0ee5f
RM
10742 [BZ #14138]
10743 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10744 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10745 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10746 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10747
10748 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10749 compat_symbol macros from <shlib-compat.h> rather than the underlying
10750 default_symbol_version and symbol_version macros, so that DEFAULT
10751 lines in shlib-versions are respected.
10752 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10753
7e66ee51
FW
107542012-08-01 Florian Weimer <fweimer@redhat.com>
10755
10756 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10757 Declare with warn_unused_result.
10758 (setgid, setregid, setegid, setresgid): Likewise.
10759 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10760 Likewise.
10761 * WUR-REPORT: Remove set*id functions.
10762
d2a54255
PT
107632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10764
10765 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10766
7ecdb005
RM
107672012-07-31 Roland McGrath <roland@hack.frob.com>
10768
789bd351
RM
10769 * include/sys/socket.h (__libc_accept, __libc_accept4):
10770 Add attribute_hidden.
10771 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10772
40ce302d
RM
10773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10774 use of PTR_MANGLE.
10775 * inet/getnetgrent_r.c (setup): Likewise.
10776
7ecdb005
RM
10777 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10778
e2eabb2c
DM
107792012-07-31 David S. Miller <davem@davemloft.net>
10780
10781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10782
d0419dbf
JM
107832012-07-31 Joseph Myers <joseph@codesourcery.com>
10784
10785 [BZ #13629]
10786 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10787 value between 1.0 and 2.0 and smaller part has absolute value less
10788 than 1.0.
10789 * math/s_clog10.c (__clog10): Likewise.
10790 * math/s_clog10f.c (__clog10f): Likewise.
10791 * math/s_clog10l.c (__clog10l): Likewise.
10792 * math/s_clogf.c (__clogf): Likewise.
10793 * math/s_clogl.c (__clogl): Likewise.
10794 * math/libm-test.inc (clog_test): Add more tests.
10795 (clog10_test): Likewise.
10796 * sysdeps/i386/fpu/libm-test-ulps: Update.
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10798
2bc13872
FW
107992012-07-31 Florian Weimer <fweimer@redhat.com>
10800
10801 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10802 Exit with zero in case no suitable GID is found, and write a
10803 message to standard error.
10804
bea9b193
RM
108052012-07-30 Roland McGrath <roland@hack.frob.com>
10806
10807 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10808 rather than to 1.
10809 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10810 (MAXPATHLEN): Removed.
10811 (NOGROUP, NODEV): New macros.
10812 (setbit, clrbit, isset, isclr): New macros.
10813 (howmany, roundup, powerof2): New macros.
10814 (DEV_BSIZE): New macro.
10815
10816 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10817 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10818
10819 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10820 definition on [!__NO_LONG_DOUBLE_MATH].
10821
10822 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10823 PTR_MANGLE and PTR_DEMANGLE.
10824
10825 * socket/accept4.c (accept4): Rename to __libc_accept4.
10826 Define accept4 as a weak alias.
10827
10828 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10829 on [_DIRENT_HAVE_D_TYPE].
10830 * io/ftw.c (ftw_dir): Likewise.
10831
10832 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10833
10834 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10835
10836 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10837 Use the BSD numbers rather than the arbitrary ones we had.
10838 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10839 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10840 (SIGXCPU, SIGXFSZ): New macros.
10841 (_NSIG): Now 32.
10842
10843 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10844 initializer on [_LIBC_REENTRANT].
10845
10846 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10847 definitions inside [_POSIX_MAPPED_FILES].
10848
10849 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10850
10851 * dirent/opendir.c: Include <fcntl.h>.
10852
10853 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10854 (__libc_getspecific): Likewise.
10855 (__libc_key_create): Likewise.
10856
10857 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10858 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10859 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10860 (tmpfile64): Define as alias.
10861 * sysdeps/wordsize-64/tmpfile.c: File removed.
10862 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10865
10866 * stdio-common/vfscanf.c: Include <stdbool.h>.
10867 * nss/makedb.c: Likewise.
10868 * stdio-common/_i18n_number.h: Likewise.
10869 * argp/argp-help.c: Likewise.
10870 * posix/wordexp.c: Likewise.
10871 * sysdeps/posix/spawni.c: Likewise.
10872 * nss/nss_files/files-initgroups.c: Likewise.
10873 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10874 * nss/nss_files/files-initgroups.c: Likewise.
10875 * nss/nss_db/db-netgrp.c: Likewise.
10876 * nss/nss_db/db-initgroups.c: Likewise.
10877 * io/fchmodat.c: Include <sys/stat.h>.
10878
10879 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10880 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10881
10882 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10883 [HAVE_MMAP].
10884
10885 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10886 Add multiple inclusion protection.
10887
e5abc686
DM
108882012-07-27 David S. Miller <davem@davemloft.net>
10889
10890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10891
815e6fa3
GB
108922012-07-27 Gary Benson <gbenson@redhat.com>
10893
10894 [BZ #14298]
10895 * elf/rtld.c: Include <stap-probe.h>.
10896 (dl_main): Added static probes "init_start" and "init_complete".
10897 * elf/dl-load.c: Include <stap-probe.h>.
10898 (lose): Take new parameter "nsid".
10899 Added static probe "map_failed".
10900 (_dl_map_object_from_fd): Pass namespace id to lose.
10901 Added static probe "map_start".
10902 (open_verify): Pass namespace id to lose.
10903 * elf/dl-open.c: Include <stap-probe.h>.
10904 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10905 and "reloc_complete".
10906 * elf/dl-close.c: Include <stap-probe.h>.
10907 (_dl_close_worker): Added static probes "unmap_start" and
10908 "unmap_complete".
10909 * elf/rtld-debugger-interface.txt: New file documenting the above.
10910
9f98c16c
RM
109112012-07-26 Roland McGrath <roland@hack.frob.com>
10912
10913 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10914 rather than a string variable.
10915 * sunrpc/rpc_main.c (h_output): Likewise.
10916 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10917
f3c22df3
PT
109182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10919
10920 * inet/check_native.c: New file.
10921
3129cfc6
JM
109222012-07-26 Joseph Myers <joseph@codesourcery.com>
10923
da865e95
JM
10924 [BZ #13629]
10925 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10926 if larger part has absolute value 1.0.
10927 * math/s_clog10.c (__clog10): Likewise.
10928 * math/s_clog10f.c (__clog10f): Likewise.
10929 * math/s_clog10l.c (__clog10l): Likewise.
10930 * math/s_clogf.c (__clogf): Likewise.
10931 * math/s_clogl.c (__clogl): Likewise.
10932 * math/libm-test.inc (clog_test): Add more tests.
10933 (clog10_test): Likewise.
10934 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10936
3129cfc6
JM
10937 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10938 (pltexit): Likewise.
10939 (La_regs): Likewise.
10940 (La_retval): Likewise.
10941 (int_retval): Likewise.
10942 Update #error for removed macros to refer only to definitions in
10943 tst-audit.h.
10944 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10945 macro.
10946 (pltexit): Likewise.
10947 (La_regs): Likewise.
10948 (La_retval): Likewise.
10949 (int_retval): Likewise.
10950 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10951 macro.
10952 (pltexit): Likewise.
10953 (La_regs): Likewise.
10954 (La_retval): Likewise.
10955 (int_retval): Likewise.
10956 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10957 macro.
10958 (pltexit): Likewise.
10959 (La_regs): Likewise.
10960 (La_retval): Likewise.
10961 (int_retval): Likewise.
10962 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10963 macro.
10964 (pltexit): Likewise.
10965 (La_regs): Likewise.
10966 (La_retval): Likewise.
10967 (int_retval): Likewise.
10968 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10969 macro.
10970 (pltexit): Likewise.
10971 (La_regs): Likewise.
10972 (La_retval): Likewise.
10973 (int_retval): Likewise.
10974 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10975 macro.
10976 (pltexit): Likewise.
10977 (La_regs): Likewise.
10978 (La_retval): Likewise.
10979 (int_retval): Likewise.
10980 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10981 macro definitions in tst-audit.h.
10982 * sysdeps/i386/tst-audit.h: New file.
10983 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10984 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10985 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10986 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10987 * sysdeps/sh/tst-audit.h: Likewise.
10988 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10989 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10990 * sysdeps/x86_64/tst-audit.h: Likewise.
10991
bfc07087
AJ
109922012-07-26 Andreas Jaeger <aj@suse.de>
10993
b1b2aaf8
AJ
10994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10995 ptrace.
10996
10997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10998 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10999 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11000 PTRACE_O_MASK.
11001 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11003 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11004
bfc07087
AJ
11005 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11006 value.
11007
11008 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11009 _sigsys.
11010 (si_call_addr, si_syscall, si_arch): Define new macro.
11011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11012 _sigsys.
11013 (si_call_addr, si_syscall, si_arch): Define new marcro.
11014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11015 _sigsys.
11016 (si_call_addr, si_syscall, si_arch): Define new macro.
11017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11018 _sigsys.
11019 (si_call_addr, si_syscall, si_arch): Define new macro.
11020
89b4b02f
JM
110212012-07-25 Joseph Myers <joseph@codesourcery.com>
11022
11023 [BZ #13717]
11024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11025 Change to 2.4.21 where previously 2.4.1.
11026 * sysdeps/unix/sysv/linux/configure: Regenerated.
11027 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11028 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11029 Linux kernel version.
11030 (__ASSUME_STD_AUXV): Remove.
11031 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11032 kernel version.
11033 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11034 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11035 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11036 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11037 (__ASSUME_NETLINK_SUPPORT): Likewise.
11038 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11039 (__no_netlink_support): Remove conditional definition.
11040 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11041 Remove.
11042 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11043 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11045 (if_nameindex_ioctl): Remove.
11046 (if_nameindex_netlink): Do not handle __no_netlink_support.
11047 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11048 code.
11049 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11050 Remove conditional code.
11051 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11052 code.
11053 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11054 unconditional.
11055 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11056 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11057 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11058 Remove.
11059 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11060 [!__ASSUME_STD_AUXV]: Remove conditional code.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11062 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11063 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11065 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11066 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11067 code.
11068 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11070 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11071 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11072 conditional code.
11073 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11075 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11076 code.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11078 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11079 conditional code.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11081 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11082 code unconditional.
11083 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11084 conditional code.
11085 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11086 unconditional.
11087 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11088 conditional code.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11090 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11091 unconditional.
11092 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11093 conditional code.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11095 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11096 code unconditional.
11097 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11098 conditional code.
11099 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11100 unconditional.
11101 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11102 conditional code.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11104 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11105 code unconditional.
11106 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11107 conditional code.
11108 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11109 unconditional.
11110 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11111 conditional code.
11112
842a39cd
AS
111132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11114
11115 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11117 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11118 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11119 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11120 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11122 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11123 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11124 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11127 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11128 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11131 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11133 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11135 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11136 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11138
84b3fd84
FW
111392012-07-25 Florian Weimer <fweimer@redhat.com>
11140
11141 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11142 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11143 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11144 Introduce __libc_secure_getenv.
0c7936d5
FW
11145 * stdlib/Versions (2.17): Add secure_getenv
11146 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11147 * stdlib/secure-getenv.c: Rename __secure_getenv to
11148 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11149 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11150 * stdlib/tst-secure-getenv.c: New.
11151 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11152 * manual/startup.texi (Environment Access): Document
11153 secure_getenv.
84b3fd84
FW
11154 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11155 __libc_secure_getenv.
11156 * inet/ruserpass.c (ruserpass): Likewise.
11157 * malloc/mtrace.c (mtrace): Likewise.
11158 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11159 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11160 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11161 * sysdeps/posix/tempname.c: Likewise. Evaluate
11162 HAVE_SECURE_GETENV.
11163 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11164 __secure_getenv to __libc_secure_getenv.
84b3fd84 11165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11167 Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11169 Likewise.
11170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11177
56e49b71
JM
111782012-07-25 Joseph Myers <joseph@codesourcery.com>
11179
11180 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11181 (struct La_i86_retval): Likewise.
11182 (struct La_x86_64_regs): Likewise.
11183 (struct La_x86_64_retval): Likewise.
11184 (struct La_x32_regs): Likewise.
11185 (struct La_x32_retval): Likewise.
11186 (struct La_ppc32_regs): Likewise.
11187 (struct La_ppc32_retval): Likewise.
11188 (struct La_ppc64_regs): Likewise.
11189 (struct La_ppc64_retval): Likewise.
11190 (struct La_sh_regs): Likewise.
11191 (struct La_sh_retval): Likewise.
11192 (struct La_s390_32_regs): Likewise.
11193 (struct La_s390_32_retval): Likewise.
11194 (struct La_s390_64_regs): Likewise.
11195 (struct La_s390_64_retval): Likewise.
11196 (struct La_sparc32_regs): Likewise.
11197 (struct La_sparc32_retval): Likewise.
11198 (struct La_sparc64_regs): Likewise.
11199 (struct La_sparc64_retval): Likewise.
11200 (struct audit_ifaces): Remove architecture-specific pltenter and
11201 pltexit members.
11202 * sysdeps/i386/ldsodefs.h: New file.
11203 * sysdeps/powerpc/ldsodefs.h: Likewise.
11204 * sysdeps/s390/ldsodefs.h: Likewise.
11205 * sysdeps/sh/ldsodefs.h: Likewise.
11206 * sysdeps/sparc/ldsodefs.h: Likewise.
11207 * sysdeps/x86_64/ldsodefs.h: Likewise.
11208
354691b7
MP
112092012-07-25 Marek Polacek <polacek@redhat.com>
11210
11211 [BZ #6808]
11212 * math/libm-test.inc (yn_test): Add another test.
11213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11214 to ERANGE when the result is +-Inf.
11215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11217 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11218 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11219
bf9e2071
JM
112202012-07-24 Joseph Myers <joseph@codesourcery.com>
11221
11222 * conform/data/time.h-data (NULL): Use macro-constant. Require
11223 equal to 0.
11224 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11225 clock_t.
11226 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11227
57633811
TS
112282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11229
11230 * configure.in <sysdeps resolving>: Correct printing
11231 Implies_before.
11232 * configure: Regenerate.
11233
c23c33b0
TS
112342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11235
11236 * math/w_ilogb.c: Include <limits.h>.
11237 * math/w_ilogbl.c: Likewise.
11238
b5982523
JM
112392012-07-20 Joseph Myers <joseph@codesourcery.com>
11240
11241 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11242 va_copy. Document allowing for unavailable va_copy only as
11243 pre-C99 compatibility.
11244 * manual/string.texi (Copying and Concatenation): Use va_copy
11245 instead of __va_copy in concat example.
11246
ac4ea442
PT
112472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11248
11249 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11250 (__sendto): Use create_address_port. Initialize APORT and deallocate
11251 it if not null.
11252
f98eafbd
PT
11253 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11254 with O_NOLINK passed to __file_name_lookup.
11255
898c7aab
PT
11256 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11257 with O_NOLINK passed to __file_name_lookup.
11258
0ced335a
PT
11259 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11260 negative N or less than NGIDS.
11261
b3404dbd
PT
11262 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11263 type to string_t. Set ERANGE as errno and return it if NAME is not big
11264 enough. Use memcpy instead of strncpy.
11265
0f48659e
JM
112662012-07-20 Joseph Myers <joseph@codesourcery.com>
11267
11268 * elf/Makefile (check-data): Remove.
11269 (localplt.data): New vpath directive.
11270 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11271 instead of $(check-data).
11272 * scripts/data/localplt-generic.data: Move to ...
11273 * sysdeps/generic/localplt.data: ... here.
11274 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11276 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11278 ... here.
11279 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11281 ... here.
11282 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11284 ... here.
11285 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11287 ... here.
11288 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11290 ... here.
11291 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11293 ... here.
11294
d37cbdaa
AZ
112952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296
11297 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11298 PPC32 and PPC64 files.
11299 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11300 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11301
46f85fc2
AK
113022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11303
11304 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11305 __makecontext_ret to ...
11306 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11307 ... here and call exit if uc_link is NULL. New file.
11308 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11309 __makecontext_ret.S.
11310 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11311 __makecontext_ret to ...
11312 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11313 ... here and call exit if uc_link is NULL. New file.
11314 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11315 __makecontext_ret.S.
11316
08f43f9b
AK
113172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11318
11319 * elf/elf.h (R_390_IRELATIVE): New definition.
11320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11321 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11322 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11324 (elf_machine_lazy_rel): Likewise.
11325 * sysdeps/s390/dl-irel.h: New file.
11326 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11327 * sysdeps/s390/s390-64/memset.S: New asm code.
11328 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11329 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11330 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11331 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11332 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11333 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11335 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11336 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11337 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11338 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11339 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11340 * sysdeps/s390/s390-32/memset.S: New asm code.
11341 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11342
3b05db33
MP
113432012-07-17 Marek Polacek <polacek@redhat.com>
11344
11345 [BZ #14349]
11346 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11347 * sysdeps/s390/s390-64/configure.in: Likewise.
11348 * sysdeps/sparc/configure.in: Likewise.
11349 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11350 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11351 * sysdeps/i386/configure.in: Likewise.
11352 * sysdeps/x86_64/configure.in: Likewise.
11353 * sysdeps/sh/configure.in: Likewise.
11354 * sysdeps/s390/s390-32/configure: Regenerated.
11355 * sysdeps/s390/s390-64/configure: Likewise.
11356 * sysdeps/x86_64/configure: Likewise.
11357 * sysdeps/sh/configure: Likewise.
11358 * sysdeps/powerpc/powerpc64/configure: Likewise.
11359 * sysdeps/powerpc/powerpc32/configure: Likewise.
11360 * sysdeps/sparc/configure: Likwise.
11361 * sysdeps/i386/configure: Likewise.
11362
a66877c6
MP
11363 * elf/dl-open.c: Comment fixes.
11364
cfc82fd8
JM
113652012-07-17 Joseph Myers <joseph@codesourcery.com>
11366
bd29910a
JM
11367 * Makefile [CXX] (check-data): Remove.
11368 [CXX] (c++-types.data): New vpath directive.
11369 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11370 vpath. Do not allow for C++ type data being missing.
11371 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11372 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11373 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11374 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11375 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11376 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11377 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11379 ... here.
11380 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11382 ... here.
11383 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11385 ... here.
11386 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11388 ... here.
11389 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11391 ... here.
11392 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11394 ... here.
11395 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11397 ... here.
11398 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11400
cfc82fd8
JM
11401 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11402 definitions to architecture-specific files.
11403 (TLS_IE): Likewise.
11404 (TLS_LD): Likewise.
11405 (TLS_GD): Likewise.
11406 * sysdeps/i386/tls-macros.h: New file.
11407 * sysdeps/powerpc/tls-macros.h: Likewise.
11408 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11409 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11410 * sysdeps/sh/tls-macros.h: Likewise.
11411 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11412 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11413 * sysdeps/x86_64/tls-macros.h: Likewise.
11414
f7db3170
TS
114152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11416
07cbfc23
TS
11417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11418 zero value for regular exit case.
11419
f7db3170
TS
11420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11421 (__start_context): Preserve zero value for regular exit case.
11422
dc97c227
TS
114232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11425
11426 * manual/setjmp.texi (setcontext): Clarify normal process
11427 termination when uc_link is the null pointer.
11428 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11429 exit call.
11430
d0cd7d02
AS
114312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11432
11433 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11434 preprocessor. Test for each exception mask separately.
11435
dd318934
AJ
114362012-07-16 Andreas Jaeger <aj@suse.de>
11437
11438 * po/ru.po: Update from translation team.
11439
8048311a
JM
114402012-07-15 Joseph Myers <joseph@codesourcery.com>
11441
11442 * conform/data/string.h-data (NULL): Use macro-constant. Require
11443 equal to 0.
11444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11445 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11446 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11447 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11449
b637d46e
AJ
114502012-07-13 Andreas Jaeger <aj@suse.de>
11451
11452 * po/fr.po: Update from translation team.
11453
541428fe
MP
114542012-07-12 Marek Polacek <polacek@redhat.com>
11455
11456 [BZ #14173]
11457 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11459 loop condition.
11460
ec332e94
JM
114612012-07-12 Joseph Myers <joseph@codesourcery.com>
11462
11463 [BZ #13717]
11464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11465 Change to 2.4.1 where previously 2.4.0.
11466 * sysdeps/unix/sysv/linux/configure: Regenerated.
11467 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11468 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11469 version.
11470 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11471 (__ASSUME_AT_CLKTCK): Remove.
11472 (__ASSUME_AT_PAGESIZE): Likewise.
11473 (__ASSUME_AT_XID): Likewise.
11474 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11475 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11476 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11477 unconditionally.
11478 (HAVE_AUX_PAGESIZE): Likewise.
11479 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11480 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11481 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11482
7b6e99be
JB
114832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11484
11485 [BZ #14307]
11486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11487 the temporary buffer used to invoke __gethostbyname2_r,
11488 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11489 host_data / struct gaih_addrtuple.
11490 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11491 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11492 header file nss/nsswitch.h.
11493 * nss/nsswitch.h (global scope): Add definition of implementation
11494 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11495 resolv/nss_dns/dns-host.c).
11496
608404eb
AJ
114972012-07-11 Andreas Jaeger <aj@suse.de>
11498
11499 * po/fr.po: Update from translation team.
11500
71220aca
AJ
11501 * po/sv.po: Update from translation team
11502 * po/fr.po: Another update from translation team.
11503
28cfe843
AZ
115042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505
11506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11507 for subnormals or multiply small sinh result by itself.
11508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11510
6b90f981
DM
115112012-07-11 David S. Miller <davem@davemloft.net>
11512
11513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11514
c6825772
AS
115152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11516
11517 [BZ #14347]
11518 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11519 (INTERNAL_MARK): Shift it here.
11520
7b8e0d49
MP
115212012-07-10 Marek Polacek <polacek@redhat.com>
11522
11523 [BZ #14151]
11524 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11525 libc_cv_asm_global_directive with .globl.
11526 * configure: Regenerated.
11527 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11528 with .globl.
11529 * sysdeps/i386/configure: Regenerated.
11530 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11531 with .globl.
11532 * sysdeps/x86_64/configure: Regenerated.
11533 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11534 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11535 * elf/tst-unique2mod2.c: Likewise.
11536 * elf/tst-unique2mod1.c: Likewise.
11537 * elf/tst-unique1mod2.c: Likewise.
11538 * elf/tst-unique1mod1.c: Likewise.
11539 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11540 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11543 * sysdeps/mach/sysdep.h: Likewise.
11544 * sysdeps/i386/sysdep.h: Likewise.
11545 * sysdeps/i386/i386-mcount.S: Likewise.
11546 * sysdeps/x86_64/_mcount.S: Likewise.
11547 * sysdeps/x86_64/sysdep.h: Likewise.
11548 * sysdeps/sh/_mcount.S: Likewise.
11549 * sysdeps/sh/sysdep.h: Likewise.
11550 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11551 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11552 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11554 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11556 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11557 * locale/localeinfo.h: Likewise.
11558 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11559 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11560
6c55cda3
RM
115612012-07-09 Roland McGrath <roland@hack.frob.com>
11562
11563 [BZ #14336]
11564 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11565 system".
11566 * manual/message.texi (The Uniforum approach): Likewise.
11567 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11568 (glibc iconv Implementation): Likewise.
11569
638a572e
JM
115702012-07-09 Joseph Myers <joseph@codesourcery.com>
11571
11572 [BZ #14337]
11573 * math/s_clog.c (__clog): Avoid scaling a value down where that
11574 could result in underflow.
11575 * math/s_clog10.c (__clog10): Likewise.
11576 * math/s_clog10f.c (__clog10f): Likewise.
11577 * math/s_clog10l.c (__clog10l): Likewise.
11578 * math/s_clogf.c (__clogf): Likewise.
11579 * math/s_clogl.c (__clogl): Likewise.
11580 * math/libm-test.inc (clog_test): Add more tests.
11581 (clog10_test): Likewise.
11582 * sysdeps/i386/fpu/libm-test-ulps: Update.
11583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11584
261f4859
AS
115852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11586
0abaf3e4
AS
11587 [BZ #14283]
11588 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11589 by 7 not 8 to examine high bit of fractional part.
11590
261f4859
AS
11591 [BZ #14042]
11592 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11593 for call to __mcount_internal.
11594 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11595 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11596 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11597
f17ac40d
JM
115982012-07-06 Joseph Myers <joseph@codesourcery.com>
11599
9ad63c23
JM
11600 [BZ #14154]
11601 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11602 approximation for values within 0x1p-13f of an odd multiple of
11603 pi/4.
11604 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11605 exception. Add more tests.
11606 * sysdeps/i386/fpu/libm-test-ulps: Update.
11607
f17ac40d
JM
11608 [BZ #6778]
11609 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11610 inputs and return -1 for them. Do not check for +Inf in case not
11611 reachable for +Inf.
11612 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11613 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11615 and return -1 for them. Do not check for +Inf in case not
11616 reachable for +Inf.
11617 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11618 define.
11619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11620 and return -1 for them. Do not check for +Inf in case not
11621 reachable for +Inf.
11622 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11623 spurious underflow.
11624 * sysdeps/i386/fpu/libm-test-ulps: Update.
11625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11626
fb21f89b
MF
116272012-07-06 Mike Frysinger <vapier@gentoo.org>
11628
11629 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11630
cdfe2c5e
JM
116312012-07-05 Joseph Myers <joseph@codesourcery.com>
11632
11633 [BZ #14157]
11634 [BZ #14331]
11635 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11636 could result in spurious underflow. Scale down values above
11637 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11638 * math/s_csqrtf.c (__csqrtf): Likewise.
11639 * math/s_csqrtl.c (__csqrtl): Likewise.
11640 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11641 spurious underflow.
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644
70d35b67
AS
116452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11646
704bc459
AS
11647 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11648 xopen-msg.sed.
11649 * catgets/xopen-msg.awk: New file.
11650 * catgets/xopen-msg.sed: Removed.
11651
70d35b67
AS
11652 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11653 po2text.sed.
11654 * intl/po2test.awk: New file.
11655 * intl/po2test.sed: Removed.
11656
ca61cf32
JM
116572012-07-04 Joseph Myers <joseph@codesourcery.com>
11658
11659 [BZ #14328]
11660 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11661 or multiply small sinh result by itself.
11662 * math/s_ctanf.c (__ctanf): Likewise.
11663 * math/s_ctanh.c (__ctanh): Likewise.
11664 * math/s_ctanhf.c (__ctanhf): Likewise.
11665 * math/s_ctanhl.c (__ctanhl): Likewise.
11666 * math/s_ctanl.c (__ctanl): Likewise.
11667 * math/libm-test.inc (ctan_test_tonearest): New function.
11668 (ctan_test_towardzero): Likewise.
11669 (ctan_test_downward): Likewise.
11670 (ctan_test_upward): Likewise.
11671 (ctanh_test_tonearest): Likewise.
11672 (ctanh_test_towardzero): Likewise.
11673 (ctanh_test_downward): Likewise.
11674 (ctanh_test_upward): Likewise.
11675 (main): Call these new functions.
11676 * sysdeps/i386/fpu/libm-test-ulps: Update.
11677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678
ca48a46a
MF
116792012-07-03 Mike Frysinger <vapier@gentoo.org>
11680
11681 * .gitignore: Delete /ports entry.
11682
9d63d37d
AJ
116832012-07-03 Andreas Jaeger <aj@suse.de>
11684
11685 * po/bg.po: Update from translation team.
11686 * po/cs.po: Likewise.
11687 * po/de.po: Likewise.
11688 * po/hr.po: Likewise.
11689 * po/nl.pl: Likewise.
11690 * po/pl.po: Likewise.
11691 * po/vi.po: Likewise.
11692
370ca3d2
JM
116932012-07-03 Joseph Myers <joseph@codesourcery.com>
11694
95f5a9a8
JM
11695 * Makeconfig [!+link] (+link-before-libc): New variable.
11696 [!+link] (+link-after-libc): Likewise.
11697 [!+link] (+link-tests): Likewise.
11698 [!+link] (+link): Define in terms of $(+link-before-libc) and
11699 $(+link-after-libc).
11700 [!+link-static] (+link-static-before-libc): New variable.
11701 [!+link-static] (+link-static-after-libc): Likewise.
11702 [!+link-static] (+link-static-tests): Likewise.
11703 [!+link-static] (+link-static): Define in terms of
11704 $(+link-static-before-libc) and $(+link-static-after-libc).
11705 [build-shared] (link-libc-before-gnulib): New variable.
11706 [build-shared] (link-libc-tests): Likewise.
11707 [build-shared] (link-libc): Define in terms of
11708 $(link-libc-before-gnulib).
11709 [!build-shared] (link-libc-tests): New variable.
11710 (link-libc-static-tests): New variable.
11711 [!gnulib] (gnulib-arch): New variable.
11712 [!gnulib] (gnulib-tests): Likewise.
11713 [!gnulib] (static-gnulib-arch): Likewise.
11714 [!gnulib] (static-gnulib-tests): Likewise.
11715 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11716 Define with "=" instead of ":=".
11717 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11718 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11719 * Rules (binaries-all-notests): New variable.
11720 (binaries-all-tests): Likewise.
11721 (binaries-static-notests): Likewise.
11722 (binaries-static-tests): Likewise.
11723 (binaries-all): Define using $(binaries-all-notests) and
11724 $(binaries-all-tests).
11725 (binaries-static): Define using $(binaries-static-notests) and
11726 $(binaries-static-tests).
11727 (binaries-shared-tests): New variable.
11728 (binaries-shared-notests): Likewise.
11729 (binaries-shared): Remove variable.
11730 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11731 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11732 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11733 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11734 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11735 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11736 * elf/Makefile (sln-modules): New variable.
11737 (extra-objs): Add $(sln-modules:=.o).
11738 (ldconfig-modules): Add static-stubs.
11739 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11740 * elf/static-stubs.c: New file.
11741
7a845b2c
JM
11742 [BZ #14283]
11743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11744 by 7 not 8 to examine high bit of fractional part. Use volatile
11745 variables when splitting into final array of floats if
11746 __FLT_EVAL_METHOD__ != 0.
11747 * math/libm-test.inc (cos_test): Add another test.
11748 (sin_test): Likewise.
11749 * sysdeps/i386/fpu/libm-test-ulps: Update.
11750
e2283f38
JM
11751 [BZ #14273]
11752 * math/libm-test.inc (cosh_test): Add more tests.
11753
370ca3d2
JM
11754 * version.h (RELEASE): Set to "development".
11755 (VERSION): Set to "2.16.90".
11756
ee9247c3
CD
117572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11758
11759 * NEWS: Update copyright. Remove last-updated date.
11760 Mention math library bug fixes and timezone data changes.
11761 * README: Mention GNU/Hurd, x32, and HPPA support status.
11762
4648c381
TS
117632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11764
11765 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11766
aac78a43
AJ
117672012-06-27 Andreas Jaeger <aj@suse.de>
11768
11769 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11770
ed3dbfad
AJ
117712012-06-25 Andreas Jaeger <aj@suse.de>
11772
11773 * sysdeps/s390/fpu/libm-test-ulps: Update.
11774
4d0ee855
AS
117752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11776 Thomas Schwinge <thomas@codesourcery.com>
11777
11778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11779 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11781 fanotify_mark.
11782
af1bce34
TS
117832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11784
a9fa33ba
TS
11785 * sysdeps/mach/start.c: Remove file.
11786 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11787 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11788 * sysdeps/sh/init-first.c: Likewise.
11789
58f902b8
TS
11790 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11791 registers for frame unwinding purposes, add CFI directives.
11792 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11794 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11795 Likewise.
11796
1518f58b
TS
11797 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11798 __fortify_fail returning.
11799 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11800
db9b5059
TS
11801 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11802 sysdeps/sh/____longjmp_chk.S.
11803 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11804 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11805 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11806 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11807
967705fe
TS
11808 * sysdeps/sh/abort-instr.h: New file.
11809 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11810 process in case exit returns.
11811
a9def8c4
TS
11812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11813 initialize the GOT register before use.
11814
2a649725
TS
11815 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11816 calculation of ARGC > 4.
11817
af1bce34
TS
11818 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11819 meaningful names to some local labels.
11820
d230f50a
KK
118212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11822 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11823
11824 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11825 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11826 (__arch_compare_and_exchange_val_16_acq): Likewise.
11827 (__arch_compare_and_exchange_val_32_acq): Likewise.
11828 (atomic_exchange_and_add): Fix gUSA sequence.
11829 (atomic_add): Likewise.
11830 (atomic_add_negative): Likewise.
11831 (atomic_add_zero): Likewise.
11832 (atomic_bit_test_set): Likewise.
11833
0479b305
AS
118342012-06-22 Andreas Schwab <schwab@redhat.com>
11835
11836 [BZ #13579]
11837 * include/link.h (struct link_map): Add l_free_initfini.
11838 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11839 l_initfini.
11840 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11841 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11842 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11843 set.
11844
0e3933b9
CD
118452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11846
11847 * configure.in: Use AC_LANG_SOURCE.
11848 * configure: Regenerate.
11849
4248b1b1
RM
118502012-06-22 Roland McGrath <roland@hack.frob.com>
11851
11852 * configure.in (libc_cv_localstatedir): New substituted variable.
11853 * configure: Regenerated.
11854 * config.make.in (localstatedir): New variable, substituted from
11855 libc_cv_localstatedir.
11856 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11857 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11858 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11859 * sysdeps/gnu/configure: Regenerated.
11860
006dd861
JL
118612012-06-21 Jeff Law <law@redhat.com>
11862
11863 [BZ #14277]
11864 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11865 free. Simplify list management for _LIBC case.
11866
79662d42
JM
118672012-06-21 Joseph Myers <joseph@codesourcery.com>
11868
b7abb4bf
JM
11869 [BZ #14273]
11870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11871 Clear sign bit of 64-bit integer value before comparing against
11872 overflow value.
11873
79662d42
JM
11874 * sysdeps/mach/configure: Regenerated.
11875
1f150908
L
118762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 [BZ #14278]
11879 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11880
28363bbf
JL
118812012-06-21 Jeff Law <law@redhat.com>
11882
11883 [BZ #13882]
11884 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11885 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11886 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11887 * elf/dl-open.c (dl_open_worker): Likewise.
11888
09615db4
CD
118892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11890
11891 * scripts/list-sources.sh: Scan PORTS for translations.
11892 * po/libc.pot: Regenerated.
11893
2174c6dd
AJ
118942012-06-21 Andreas Jaeger <aj@suse.de>
11895
11896 [BZ #12194]
11897 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11898 warning.
11899 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11900 * bits/byteswap-16.h (__bswap_16): Likewise.
11901 * bits/byteswap.h (__bswap_constant_16): Likewise.
11902
3ee947b1
L
119032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11904
11905 [BZ #14117]
a2f34833
L
11906 * sysdeps/i386/fpu_control.h: Removed.
11907 * sysdeps/x86_64/fpu_control.h: Moved to ...
11908 * sysdeps/x86/fpu_control.h: Here.
11909
3ee947b1
L
11910 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11911 (_FPU_SETCW): Likewise.
11912
ed1825f8
L
119132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11914
25f1282a
L
11915 [BZ #14117]
11916 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11917 * sysdeps/x86/fpu/bits/mathinline.h: This.
11918 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11919
ed1825f8
L
11920 [BZ #14050]
11921 [BZ #14117]
11922 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11923 functions if __x86_64__ is defined.
11924
36d54b74
CLT
119252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11926
11927 * string/endian.h: Add !__ASSEMBLER__ condition for including
11928 conversion interfaces.
11929
10285c21
JM
119302012-06-15 Joseph Myers <joseph@codesourcery.com>
11931
11932 [BZ #14241]
11933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11934 of ABS(x) in calculating zero to negative powers other than odd
11935 integers.
11936 * math/libm-test.inc (pow_test): Add more tests.
11937
06c5abbd
AJ
119382012-06-15 Andreas Jaeger <aj@suse.de>
11939
11940 * manual/contrib.texi (Contributors): Update entry of Liubov
11941 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11942 Machado Filho.
11943
a3aeac40
CH
119442012-06-15 Cyril Hrubis <metan@ucw.cz>
11945
11946 * string/string.h: Add __wur to GNU version of strerror_r.
11947
49bdf4c1
L
119482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11949
11950 [BZ #14229]
11951 * string/Makefile (tests): Add tst-strtok_r.
11952 * string/tst-strtok_r.c: New file.
11953 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11954 RAX_LP/RDX_LP on SAVE_PTR.
11955
834f9b8d
RM
119562012-06-14 Roland McGrath <roland@hack.frob.com>
11957
11958 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11959
75fa1921
JM
119602012-06-14 Joseph Myers <joseph@codesourcery.com>
11961
11962 * libm_test.inc (csqrt_test): Allow more spurious underflow
11963 exceptions.
11964 (j0_test): Likewise.
11965 (j1_test): Likewise.
11966 (y0_test): Likewise.
11967 (y1_test): Likewise.
11968
771766df
CD
119692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11970
11971 * po/Makefile (libc.pot): Use UTF-8 charset.
11972
ceb9e56b
PP
119732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11974
11975 [BZ #14210]
11976 Suppress sign-conversion warning from FD_SET.
11977 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11978 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11979 not unsigned long int.
11980 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11981
ddb28975
L
119822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11983
11984 [BZ #14050]
11985 [BZ #14117]
11986 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11987 __extern_always_inline instead of __extern_inline.
11988 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11989 (__signbit): Likewise.
11990 (__signbitl): Support C++ namespace.
11991 (lrintf): New inline function.
11992 (lrint): Likewise.
11993 (llrintf): Likewise.
11994 (llrint): Likewise.
11995 (fmaxf): Likewise.
11996 (fmax): Likewise.
11997 (fminf): Likewise.
11998 (fmin): Likewise.
11999 (rint): Likewise.
12000 (rintf): Likewise.
12001 (ceil): Likewise.
12002 (ceilf): Likewise.
12003 (floor): Likewise.
12004 (floorf): Likewise.
12005 (nearbyint): Likewise.
12006 (nearbyintf): Likewise.
12007
d7b4fb26
TS
120082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12009
12010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12011 non-default versions.
12012
eb55f5c2
RM
120132012-06-11 Roland McGrath <roland@hack.frob.com>
12014
12015 [BZ #14218]
12016 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12017
366af02c
TS
120182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12019
99ff6e5c
TS
12020 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12021 (FE_UPWARD, FE_DOWNWARD): Don't define.
12022 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12024
366af02c
TS
12025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12026 reading it.
12027 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12029
793ea851
KK
120302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12031
12032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12034 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12035 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12036
a728a38f
L
120372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 [BZ #14117]
c08010c7
L
12040 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12041 * sysdeps/i386/fpu/Implies: New file.
12042 * sysdeps/x86_64/fpu/Implies: Likewise.
12043 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12044 * sysdeps/x86/fpu/bits/fenv.h: This.
12045
a728a38f
L
12046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12047 __SSE_MATH__.
12048
6e230d11
SP
120492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12050
12051 [BZ #14134]
12052 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12053 character 0xffff that matches the last element of the
12054 conversion table.
12055
1b671feb
AZ
120562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12057
12058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12059 fmodl commit.
12060
6043738b
AZ
120612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12062
12063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12064 values higher than 25.6283.
12065
34ae0b32
AZ
120662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067
12068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12069 subnormal exponent extraction and add some __builtin_expect.
12070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12071 Fix for subnormal mantissa calculation.
12072
1214ec8f
MF
120732012-06-04 Mike Frysinger <vapier@gentoo.org>
12074
12075 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12076 cpu2 is -1 and errno is not ENOSYS.
12077
f3d1f93c
L
120782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 [BZ #14117]
0e4a3cd7
L
12081 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12082 * sysdeps/x86/bits/string.h: This.
12083 * sysdeps/x86_64/bits/string.h: Removed.
12084
6704c645
L
12085 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12086 if not compiling for x86-64, but compiling for >= i486.
12087
48495318
L
12088 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12089 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12090
14adcbfc
L
12091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12092 New macro from Linux kernel 3.4.0.
12093 (FP_XSTATE_MAGIC2): Likewise.
12094 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12095 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12096 (struct _fpx_sw_bytes): New struct.
12097 (struct _xsave_hdr): Likewise.
12098 (struct _ymmh_state): Likewise.
12099 (struct _xstate): Likewise.
12100
68e408ab
L
12101 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12102 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12104 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12106 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12107
f3d1f93c
L
12108 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12110 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12111 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12112 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12113 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12114
d9dc34cd
TMQMF
121152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12116
12117 [BZ #13743]
12118 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12119 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12120 (sysdep_headers): Include sys/platform/ppc.h.
12121 * sysdeps/powerpc/test-gettimebase.c: Test for
12122 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12123 * manual/Makefile (appendices): Include platform.texi.
12124 * manual/contrib.texi (Contributors): Update @node pointers.
12125 * manual/maint.texi (Maintenance): Likewise.
12126 (Platform): New node.
12127 * manual/platform.texi: New file. Document the new features.
12128
4af3879c
SP
121292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 Jakub Jelinek <jakub@redhat.com>
12131
12132 [BZ #14188]
12133 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12134 where __builtin_expect is unavailable.
12135
2fd6ff13
DM
121362012-06-03 David S. Miller <davem@davemloft.net>
12137
12138 * stdlib/longlong.h: Updated from GCC.
12139
173f7220
AS
121402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12141
12142 [BZ #14042]
12143 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12144 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12145 __mcount_internal.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12147 (GLIBC_2.16): Likewise.
12148
f34a1c6f
L
121492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12150
12151 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12152
88a4576f
JM
121532012-06-01 Joseph Myers <joseph@codesourcery.com>
12154
ea32bcdd
JM
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12156 (default-abi): New variable.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12159 variable.
12160 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12161 Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12163 Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12165 Likewise.
12166
88a4576f
JM
12167 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12168 definition. Document in comment.
12169
402fe938
DM
121702012-06-01 David S. Miller <davem@davemloft.net>
12171
12172 * stdlib/longlong.h: Updated from GCC.
12173
3553723f
L
121742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 [BZ #14117]
3bd872c4
L
12177 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12178 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12179 sys/debugreg.h sys/io.h here.
12180 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12181 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12182 sys/io.h.
12183 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12184 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12186 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12188 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12189
3553723f
L
12190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12191 Define only if __x86_64__ is defined.
12192
4842e4fe
JM
121932012-06-01 Joseph Myers <joseph@codesourcery.com>
12194
c5bfe3d5
JM
12195 [BZ #14048]
12196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12197 Use int64_t for variable i.
12198 * math/libm-test.inc (fmod_test): Add more tests.
12199
4842e4fe
JM
12200 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12201 z computation is not scheduled after fetestexcept.
12202 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12203 Use math_force_eval instead of asm to ensure calculation scheduled
12204 before exception test.
12205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12206 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12207
efb73488
AJ
122082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12209
12210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12211 computation is not scheduled after fetestexcept.
12212
29bcce7c
L
122132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12214
12215 [BZ #14117]
12216 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12217 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12218
73a68f94
AZ
122192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220
12221 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12222 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12223
67b6df78
L
122242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12225
edf2933a 12226 [BZ #14117]
ebc64a18
L
12227 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12228 <bits/wordsize.h>.
12229 (__WCHAR_MIN): Support __WORDSIZE == 64.
12230 (__WCHAR_MAX): Likewise.
12231
edf2933a
L
12232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12234
57c6cf40
L
12235 [BZ #14183]
12236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12237 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12238
67b6df78 12239 [BZ #14117]
8eb6281e
L
12240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12242
aac639f4
L
12243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12244 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12245
67b6df78
L
12246 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12247 Defined to 1 if __x86_64__ isn't defined.
12248 (_STAT_VER_LINUX_OLD): New.
12249 (st_atime): Remove duplicate.
12250 (st_mtime): Likewise.
12251 (st_ctime): Likewise.
12252
1c2cfe81
DM
122532012-05-31 David S. Miller <davem@davemloft.net>
12254
12255 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12256 entries.
12257
5be8418c
AS
122582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12259
e7725326
AS
12260 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12261 gen-libm-test.pl.
12262
5be8418c
AS
12263 [BZ #14132]
12264 * elf/dl-reloc.c: Include <_itoa.h>.
12265 (_dl_reloc_bad_type): Remove use of INTUSE.
12266 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12267 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12268 * stdio-common/psiginfo.c (psiginfo): Likewise.
12269 * stdio-common/psignal.c (psignal): Likewise.
12270 * string/strsignal.c (strsignal): Likewise.
12271 * include/signal.h (_sys_siglist): Declare hidden proto.
12272 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12273 INTVARDEF with libc_hidden_data_def.
12274 * stdio-common/itoa-udigits.c: Likewise.
12275 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12276 (_itoa_lower_digits_internal): Remove declaration.
12277 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12278 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12279 (_sys_sigabbrev_internal): Remove aliases.
12280 (_sys_siglist): Define hidden alias.
12281
507352f1
MT
122822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12283
12284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12285 bits/sysctl.h.
12286
42bbb1c3
L
122872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12288
12289 [BZ #14117]
6bd784b6
L
12290 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12291 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12292
8bca20f0
L
12293 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12295 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12296 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12298 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12299
f9e890a9
L
12300 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12302 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12303
471101a1
L
12304 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12305 with __addr.
12306 (insw): Likewise.
12307 (insl): Likewise.
12308 (outsb): Likewise.
12309 (outsw): Likewise.
12310 (outsl): Likewise.
12311
6451c862
L
12312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12314 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12315
a254b8c9
L
12316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12317 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12319 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12322
b8dfdd92
L
12323 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12324 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12325
578cd270
L
12326 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12327 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12328
de662f5f
L
12329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12332
25653439
L
12333 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12334 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12335 to ...
12336 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12337
6bad24a0
L
12338 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12340 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12341
42bbb1c3
L
12342 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12343 for x86-64.
12344 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12345
2d10d547
JM
123462012-05-31 Joseph Myers <joseph@codesourcery.com>
12347
12348 * math/math.h (M_El): Use two more decimal places.
12349 (M_LOG2El): Likewise.
12350 (M_LOG10El): Likewise.
12351 (M_LN2l): Likewise.
12352 (M_LN10l): Likewise.
12353 (M_PIl): Likewise.
12354 (M_PI_2l): Likewise.
12355 (M_PI_4l): Likewise.
12356 (M_1_PIl): Likewise.
12357 (M_2_PIl): Likewise.
12358 (M_2_SQRTPIl): Likewise.
12359 (M_SQRT2l): Likewise.
12360 (M_SQRT1_2l): Likewise.
12361
f230c29b
DM
123622012-05-31 David S. Miller <davem@davemloft.net>
12363
12364 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12365 values between float registers.
12366 * sysdeps/sparc/sparc64/memset.S: Likewise.
12367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12368
fed806c3
MF
123692012-05-31 Mike Frysinger <vapier@gentoo.org>
12370
12371 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12372 -D_FORTIFY_SOURCE=1.
12373 (CPPFLAGS-tst-longjmp_chk.c): Define.
12374 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12375 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12376 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12377 CFLAGS-tst-wchar-h.c.
12378
30917259
MP
123792012-05-31 Marek Polacek <polacek@redhat.com>
12380
12381 [BZ #14132]
12382 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12383 __endmntent_internal): Remove declaration.
12384 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12385 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12386 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12387
1c58d5dc
DM
123882012-05-30 David S. Miller <davem@davemloft.net>
12389
12390 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12391 (___Q_simulate_exceptions): Use real FP ops rather than writing
12392 into the %fsr.
12393 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12394 Likewise.
12395
7dc00e0d
L
123962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 [BZ #14117]
0bd53985
L
12399 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12400 * sysdeps/x86/bits/xtitypes.h: This.
12401
3a257e66
L
12402 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12403 * sysdeps/x86/bits/wordsize.h: This.
12404
62f62904
L
12405 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12406 * sysdeps/x86/bits/huge_vall.h: This.
12407
404fe9d9
L
12408 * sysdeps/i386/bits/select.h: Removed.
12409 * sysdeps/x86_64/bits/select.h: Renamed to ...
12410 * sysdeps/x86/bits/select.h: This.
12411
d48d0446
L
12412 * sysdeps/i386/bits/setjmp.h: Removed.
12413 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12414 * sysdeps/x86/bits/setjmp.h: This.
12415
7dc00e0d
L
12416 * sysdeps/i386/bits/mathdef.h: Removed.
12417 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12418 * sysdeps/x86/bits/mathdef.h: This.
12419
03277f8f
AS
124202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12421
12422 [BZ #14132]
12423 * include/sys/socket.h (__connect_internal)
12424 (__libc_sa_len_internal): Remove declaration.
12425 (__connect, __libc_sa_len): Declare hidden_proto.
12426 (SA_LEN): Remove use of INTUSE.
12427 * socket/connect.c: Add libc_hidden_def.
12428 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12429 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12430 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12431 alias.
12432 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12434 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12435 of adding _internal alias.
12436
13764867
L
124372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12438
12439 [BZ #14117]
6bd97696
L
12440 * sysdeps/i386/bits/link.h: Removed.
12441 * sysdeps/i386/bits/linkmap.h: Likewise.
12442 * sysdeps/x86_64/bits/link.h: Renamed to ...
12443 * sysdeps/x86/bits/link.h: This.
12444 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12445 * sysdeps/x86/bits/linkmap.h: This.
12446
f726f0bb
L
12447 * sysdeps/i386/bits/endian.h: Removed.
12448 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12449 * sysdeps/x86/bits/endian.h: This.
12450
13764867
L
12451 * sysdeps/i386/bits/byteswap.h: Removed.
12452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12453 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12454 * sysdeps/x86/bits/byteswap.h: This.
12455 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12456 * sysdeps/x86/bits/byteswap-16.h: This.
12457 * sysdeps/i386/Implies: Add x86.
12458 * sysdeps/x86_64/Implies: Likewise.
12459
ae251b0b
DM
124602012-05-30 David S. Miller <davem@davemloft.net>
12461
12462 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12463 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12465 (FP_TRAPPING_EXCEPTIONS): Define.
12466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12467 (FP_TRAPPING_EXCEPTIONS): Define.
12468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12469 subnormals only when inexact has been signalled or underflow
12470 exceptions are enabled.
12471 (_FP_PACK_CANONICAL): Likewise.
12472
d5c90867
L
124732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12474
12475 [BZ #14183]
12476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12477 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12478
63f1549e
RH
124792012-05-30 Richard Henderson <rth@twiddle.net>
12480
8d8f2279
RH
12481 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12482 with #ifndef NOT_IN_libc.
12483
63f1549e
RH
12484 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12485 marked to avoid plt entry.
12486
0ab0291b
L
124872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 [BZ #14112]
12490 * Makeconfig (default-abi): New macro.
12491 (abi-includes): Likewise.
12492 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12493 $(abi-$(default-abi)-lib-soname) for soname if defined.
12494 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12495 abi-variants.
12496 * Makefile (installed-stubs): Likewise.
12497 * include/stubs-biarch.h: Removed.
12498 * scripts/lib-names.awk: Only handle one library at a time.
12499 * scripts/soversions.awk: Remove WORDSIZE support.
12500 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12501 entries.
12502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12503 Removed.
12504 (syscall-list-default-condition): Likewise.
12505 (syscall-list-default-condition): Likewise.
12506 (syscall-list-includes): Likewise.
12507 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12508 syscall-list-* with abi-*. Handle undefined abi-variants.
12509 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12510 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12511 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12512 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12514 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12515 Removed.
12516 (syscall-list-32-options): Likewise.
12517 (syscall-list-32-condition): Likewise.
12518 (syscall-list-64-options): Likewise.
12519 (syscall-list-64-condition): Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12521 macro.
12522 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12523 Renamed to ...
12524 (abi-*): This.
12525 (abi-64-ld-soname): New macro.
12526 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12527 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12528 Renamed to ...
12529 (abi-*): This.
12530 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12531 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12532
4da0431d
JM
125332012-05-30 Joseph Myers <joseph@codesourcery.com>
12534
3a85279c
JM
12535 * sysdeps/unix/sysv/linux/kernel-features.h
12536 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12537 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12538 include <kernel-features.h>.
12539 [!__NR_ftruncate64]: Remove conditional code.
12540 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12541 [__NR_ftruncate64]: Make code unconditional.
12542 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12543 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12544 include <kernel-features.h>.
12545 [!__NR_ftruncate64]: Remove conditional code.
12546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12547 [__NR_ftruncate64]: Make code unconditional.
12548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12550 include <kernel-features.h>.
12551 [!__NR_ftruncate64]: Remove conditional code.
12552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12553 [__NR_ftruncate64]: Make code unconditional.
12554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12556 include <kernel-features.h>.
12557 [!__NR_ftruncate64]: Remove conditional code.
12558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12559 [__NR_ftruncate64]: Make code unconditional.
12560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12561
4da0431d
JM
12562 * configure.in (libc_cv_fpie): Weaken to a compile test using
12563 LIBC_TRY_CC_OPTION.
12564 * configure: Regenerated.
12565
11ef492c
AK
125662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12567
12568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12572 Refreshed.
12573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12579 Refreshed.
12580
d66ef399
DM
125812012-05-27 David S. Miller <davem@davemloft.net>
12582
12583 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12584 (___Q_zero): New.
12585 (__Q_simulate_exceptions): Return void. Change to simulate
12586 exceptions by writing into the %fsr.
12587 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12588 (__Qp_handle_exceptions): Likewise.
12589 (numbers): Delete.
12590 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12591 __Qp_handle_exceptions.
12592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12593 __Qp_handle_exceptions.
12594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12595 as unused and give dummy FP_RND_NEAREST initializer.
12596 (FP_INHIBIT_RESULTS): Define.
12597 (___Q_simulate_exceptions): Update declaration.
12598 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12599 formatting.
12600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12601 as unused and give dummy FP_RND_NEAREST initializer.
12602 (__Qp_handle_exceptions): Update declaration.
12603 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12604 formatting.
12605
04fb54b5
TS
126062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12607
12608 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12609 the temporary FPU control word.
12610 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12611 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12614 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12616 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12618 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12619 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12621
3f99608f
KK
126222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12623
12624 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12625 fields.
12626
65a4de4e
CLT
126272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12628
12629 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12630 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12633 Likewise.
12634 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12635 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12636 Likewise.
12637
15749d40
UD
126382012-05-27 Ulrich Drepper <drepper@gmail.com>
12639
12640 * po/h.po: Update from translation team.
12641
25dbcb27
AS
126422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12643
3d3f8e55
AS
12644 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12645
25dbcb27
AS
12646 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12647 handling of denormals.
12648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12649 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12650 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12651 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12655 Likewise.
12656
7ad47a80 126572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12658
12659 [BZ #14152]
12660 * math/libm-test.inc (fma_test): Don't always expect underflow
12661 exception.
12662
9c6ea9fa
SP
126632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12664
12665 [BZ #12416]
12666 * elf/tst-execstack.c: Include stackinfo.h.
12667 (do_test): Adjust test case to ensure that pthread_getattr_np
12668 behaviour remains the same after marking stack executable.
12669
a8239222
JM
126702012-05-25 Joseph Myers <joseph@codesourcery.com>
12671
12672 * sysdeps/unix/sysv/linux/kernel-features.h
12673 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12674 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12675 kernel-features.h.
12676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12678 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12679 kernel-features.h.
12680 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12681 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12682
918b5606
L
126832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12684
12685 * configure.in: Define the default includes to being none.
12686 * configure: Regenerated.
12687
3a097cc7
RM
126882012-05-25 Roland McGrath <roland@hack.frob.com>
12689
8422c9a5
RM
12690 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12691 * sysdeps/x86_64/setjmp.S: Likewise.
12692 * sysdeps/i386/bsd-setjmp.S: Likewise.
12693 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12694 * sysdeps/i386/setjmp.S: Likewise.
12695 * sysdeps/i386/__longjmp.S: Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12698
3a097cc7
RM
12699 * include/stap-probe.h: New file.
12700 * configure.in: Handle --enable-systemtap.
12701 * configure: Regenerated.
12702 * config.h.in (USE_STAP_PROBE): New #undef.
12703 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12704 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12705 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12706
21708942
JM
127072012-05-25 Joseph Myers <joseph@codesourcery.com>
12708
12709 [BZ #13717]
12710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12711 to 2.4.0 where earlier.
12712 * sysdeps/unix/sysv/linux/configure: Regenerated.
12713 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12714 <kernel-features.h>.
12715 [__ASSUME_32BITUIDS]: Make code unconditional.
12716 [!__ASSUME_32BITUIDS]: Remove conditional code.
12717 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12718 <kernel-features.h>.
12719 [__ASSUME_32BITUIDS]: Make code unconditional.
12720 [!__ASSUME_32BITUIDS]: Remove conditional code.
12721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12722 [__ASSUME_32BITUIDS]: Make code unconditional.
12723 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12724 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12725 <kernel-features.h>.
12726 [__ASSUME_32BITUIDS]: Make code unconditional.
12727 [!__ASSUME_32BITUIDS]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12729 <kernel-features.h>.
12730 [__ASSUME_32BITUIDS]: Make code unconditional.
12731 [!__ASSUME_32BITUIDS]: Remove conditional code.
12732 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12733 <kernel-features.h>.
12734 [__ASSUME_32BITUIDS]: Make code unconditional.
12735 [!__ASSUME_32BITUIDS]: Remove conditional code.
12736 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12737 <kernel-features.h>.
12738 [__ASSUME_32BITUIDS]: Make code unconditional.
12739 [!__ASSUME_32BITUIDS]: Remove conditional code.
12740 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12741 <kernel-features.h>.
12742 [__ASSUME_32BITUIDS]: Make code unconditional.
12743 [!__ASSUME_32BITUIDS]: Remove conditional code.
12744 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12745 <kernel-features.h>.
12746 [__ASSUME_32BITUIDS]: Make code unconditional.
12747 [!__ASSUME_32BITUIDS]: Remove conditional code.
12748 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12749 <kernel-features.h>.
12750 [__ASSUME_32BITUIDS]: Make code unconditional.
12751 [!__ASSUME_32BITUIDS]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12753 <kernel-features.h>.
12754 [__ASSUME_32BITUIDS]: Make code unconditional.
12755 [!__ASSUME_32BITUIDS]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
12765 <kernel-features.h>.
12766 [__NR_setresgid] (__setresgid): Do not declare.
12767 [__ASSUME_32BITUIDS]: Make code unconditional.
12768 [!__ASSUME_32BITUIDS]: Remove conditional code.
12769 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12770 <kernel-features.h>.
12771 [__NR_setresuid] (__setresuid): Do not declare.
12772 [__ASSUME_32BITUIDS]: Make code unconditional.
12773 [!__ASSUME_32BITUIDS]: Remove conditional code.
12774 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12775 <kernel-features.h>.
12776 [__ASSUME_32BITUIDS]: Make code unconditional.
12777 [!__ASSUME_32BITUIDS]: Remove conditional code.
12778 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12779 <kernel-features.h>.
12780 [__ASSUME_32BITUIDS]: Make code unconditional.
12781 [!__ASSUME_32BITUIDS]: Remove conditional code.
12782 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12783 <kernel-features.h>.
12784 [__ASSUME_32BITUIDS]: Make code unconditional.
12785 [!__ASSUME_32BITUIDS]: Remove conditional code.
12786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12787 <kernel-features.h>.
12788 [__ASSUME_32BITUIDS]: Make code unconditional.
12789 [!__ASSUME_32BITUIDS]: Remove conditional code.
12790 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12791 <kernel-features.h>.
12792 [__ASSUME_32BITUIDS]: Make code unconditional.
12793 [!__ASSUME_32BITUIDS]: Remove conditional code.
12794 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12795 <kernel-features.h>.
12796 [__ASSUME_32BITUIDS]: Make code unconditional.
12797 [!__ASSUME_32BITUIDS]: Remove conditional code.
12798 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12799 <kernel-features.h>.
12800 [__ASSUME_32BITUIDS]: Make code unconditional.
12801 [!__ASSUME_32BITUIDS]: Remove conditional code.
12802 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12803 <kernel-features.h>.
12804 [__ASSUME_32BITUIDS]: Make code unconditional.
12805 [!__ASSUME_32BITUIDS]: Remove conditional code.
12806 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
12815 (__ASSUME_SETRESUID_SYSCALL): Remove.
12816 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12817 (__ASSUME_32BITUIDS): Likewise.
12818 (__ASSUME_LDT_WORKS): Likewise.
12819 (__ASSUME_O_DIRECTORY): Likewise.
12820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12821 architecture but not kernel version.
12822 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12823 (__ASSUME_MMAP2_SYSCALL): Likewise.
12824 (__ASSUME_STAT64_SYSCALL): Likewise.
12825 (__ASSUME_IPC64): Likewise.
12826 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12827 <kernel-features.h>.
12828 [__ASSUME_32BITUIDS]: Make code unconditional.
12829 [!__ASSUME_32BITUIDS]: Remove conditional code.
12830 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12831 <kernel-features.h>.
12832 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12833 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12834 132096]: Remove conditional code.
12835 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12837 <kernel-features.h>.
12838 [__ASSUME_32BITUIDS]: Make code unconditional.
12839 [!__ASSUME_32BITUIDS]: Remove conditional code.
12840 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12845 <kernel-features.h>.
12846 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12847 unconditional.
12848 (__setresgid): Do not declare.
12849 [__ASSUME_32BITUIDS]: Make code unconditional.
12850 [!__ASSUME_32BITUIDS]: Remove conditional code.
12851 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12852 <kernel-features.h>.
12853 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12854 unconditional.
12855 (__setresuid): Do not declare.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12859 <kernel-features.h>.
12860 [__ASSUME_32BITUIDS]: Make code unconditional.
12861 [!__ASSUME_32BITUIDS]: Remove conditional code.
12862 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12863 <kernel-features.h>.
12864 [__ASSUME_32BITUIDS]: Make code unconditional.
12865 [!__ASSUME_32BITUIDS]: Remove conditional code.
12866
a386f1cc
RH
128672012-05-25 Richard Henderson <rth@twiddle.net>
12868
12869 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12870 dl_hwcap to ifunc resolver.
12871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12872 elf_ifunc_invoke.
12873 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12874 dl_hwcap to ifunc resolver.
12875 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12876
b6550497
JM
128772012-05-24 Joseph Myers <joseph@codesourcery.com>
12878
12879 [BZ #14153]
12880 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12881 for |x| <= 2**-26, not 2**-57.
12882 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12883 exception.
12884
b0bc23a1
JL
128852012-05-24 Jeff Law <law@redhat.com>
12886
12887 * stdio-common/Makefile (tests): Add bug25.
12888 * stdio-common/bug25.c: New test.
12889
347c92e9
L
128902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 [BZ #13576]
12893 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12894 multiple of MALLOC_ALIGNMENT in size.
12895 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12896
6bcc8b3f
JM
128972012-05-24 Joseph Myers <joseph@codesourcery.com>
12898
12899 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12900 Require >= 256.
12901 (FILENAME_MAX): Use macro-int-constant.
12902 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12903 (_IOFBF): Use macro-int-constant.
12904 (_IOLBF): Likewise.
12905 (_IONBF): Likewise.
12906 (SEEK_CUR): Likewise.
12907 (SEEK_END): Likewise.
12908 (SEEK_SET): Likewise.
12909 (TMP_MAX): Likewise.
12910 (EOF): Use macro-int-constant. Require < 0.
12911 (NULL): Use macro-constant. Require == 0.
12912 (stdin): Require type to be FILE *.
12913 (stdout): Likewise.
12914 (stderr): Likewise.
12915 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12916 macro-int-constant.
12917 (EXIT_SUCCESS): Likewise.
12918 (NULL): Use macro-constant. Require == 0.
12919 (RAND_MAX): Use macro-int-constant.
12920 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12921 [C99-based standards] (strtof): Require function.
12922 [C99-based standards] (strtold): Likewise.
12923 [C99-based standards] (strtoll): Likewise.
12924 [C99-based standards] (strtoull): Likewise.
12925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12926 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12927 [ISO || ISO99 || ISO11] (math.h): Likewise.
12928 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12931
d18ea0c5
AS
129322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12933
12934 [BZ #14132]
56d25bb8
AS
12935 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12936 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12937 * intl/dgettext.c (DCGETTEXT): Likewise.
12938 * intl/gettext.c (DCGETTEXT): Likewise.
12939 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12940 * posix/regex_internal.h (gettext): Likewise.
12941 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12942 Remove declaration.
12943 * include/argz.h (__argz_count_internal)
12944 (__argz_stringify_internal): Remove declaration.
12945 (__argz_count, __argz_stringify): Declare hidden proto.
12946 * intl/dcgettext.c: Remove use of INTDEF.
12947 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12948 * string/argz-stringify.c: Likewise.
12949 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12950 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12951 Declare hidden proto.
d18ea0c5
AS
12952 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12953 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12954 Declare hidden proto.
12955 * include/stdio.h (__asprintf_internal): Don't declare.
12956 (__asprintf): Don't define as macro. Declare hidden proto.
12957 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12958 (__fsetlocking): Declare hidden proto.
12959 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12960 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12961 hidden proto.
12962 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12963 (_IO_setlinebuf): Remove use of INTUSE.
12964 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12965 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12966 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12967 Remove declaration.
12968 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12969 (_IO_do_flush): Remove use of INTUSE.
12970 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12971 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12972 (_IO_adjust_column, _IO_least_wmarker)
12973 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12974 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12975 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12976 (_IO_default_doallocate, _IO_wdefault_doallocate)
12977 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12978 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12979 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12980 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12981 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12982 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12983 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12984 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12985 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12986 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12987 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12988 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12989 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12990 proto.
12991 (_IO_flush_all_internal, _IO_adjust_column_internal)
12992 (_IO_default_uflow_internal, _IO_default_finish_internal)
12993 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12994 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12995 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12996 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12997 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12998 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12999 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13000 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13001 (_IO_file_close_internal, _IO_file_close_it_internal)
13002 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13003 (_IO_file_init_internal, _IO_file_attach_internal)
13004 (_IO_file_fopen_internal, _IO_file_read_internal)
13005 (_IO_file_sync_internal, _IO_file_seek_internal)
13006 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13007 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13008 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13009 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13010 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13011 (_IO_list_all_internal, _IO_link_in_internal)
13012 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13013 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13014 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13015 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13016 (_IO_do_write_internal, _IO_padn_internal)
13017 (_IO_getline_info_internal, _IO_getline_internal)
13018 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13019 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13020 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13021 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13022 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13023 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13024 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13025 with libc_hidden_ver, remove use of INTUSE.
13026 * libio/genops.c: Likewise.
13027 * libio/freopen.c: Likewise.
13028 * libio/freopen64.c: Likewise.
13029 * libio/iofclose.c: Likewise.
13030 * libio/iofdopen.c: Likewise.
13031 * libio/iofflush.c: Likewise.
13032 * libio/iofflush_u.c: Likewise.
13033 * libio/iofgets.c: Likewise.
13034 * libio/iofgets_u.c: Likewise.
13035 * libio/iofopen.c: Likewise.
13036 * libio/iofopncook.c: Likewise.
13037 * libio/iofread.c: Likewise.
13038 * libio/iofread_u.c: Likewise.
13039 * libio/ioftell.c: Likewise.
13040 * libio/iofwrite.c: Likewise.
13041 * libio/iogetline.c: Likewise.
13042 * libio/iogets.c: Likewise.
13043 * libio/iogetwline.c: Likewise.
13044 * libio/iopadn.c: Likewise.
13045 * libio/iopopen.c: Likewise.
13046 * libio/ioseekoff.c: Likewise.
13047 * libio/ioseekpos.c: Likewise.
13048 * libio/iosetbuffer.c: Likewise.
13049 * libio/iosetvbuf.c: Likewise.
13050 * libio/ioungetc.c: Likewise.
13051 * libio/ioungetwc.c: Likewise.
13052 * libio/iovdprintf.c: Likewise.
13053 * libio/iovsprintf.c: Likewise.
13054 * libio/iovsscanf.c: Likewise.
13055 * libio/memstream.c: Likewise.
13056 * libio/obprintf.c: Likewise.
13057 * libio/oldfileops.c: Likewise.
13058 * libio/oldiofclose.c: Likewise.
13059 * libio/oldiofdopen.c: Likewise.
13060 * libio/oldiofopen.c: Likewise.
13061 * libio/oldiopopen.c: Likewise.
13062 * libio/oldstdfiles.c: Likewise.
13063 * libio/putc.c: Likewise.
13064 * libio/setbuf.c: Likewise.
13065 * libio/setlinebuf.c: Likewise.
13066 * libio/stdfiles.c: Likewise.
13067 * libio/strops.c: Likewise.
13068 * libio/vasprintf.c: Likewise.
13069 * libio/vscanf.c: Likewise.
13070 * libio/vsnprintf.c: Likewise.
13071 * libio/vswprintf.c: Likewise.
13072 * libio/wfiledoalloc.c: Likewise.
13073 * libio/wfileops.c: Likewise.
13074 * libio/wgenops.c: Likewise.
13075 * libio/wmemstream.c: Likewise.
13076 * libio/wstrops.c: Likewise.
13077 * libio/__fpurge.c: Likewise.
13078 * libio/__fsetlocking.c: Likewise.
13079 * assert/assert.c: Likewise.
13080 * debug/fgets_chk.c: Likewise.
13081 * debug/fgets_u_chk.c: Likewise.
13082 * debug/fread_chk.c: Likewise.
13083 * debug/fread_u_chk.c: Likewise.
13084 * debug/gets_chk.c: Likewise.
13085 * debug/obprintf_chk.c: Likewise.
13086 * debug/vasprintf_chk.c: Likewise.
13087 * debug/vdprintf_chk.c: Likewise.
13088 * debug/vsnprintf_chk.c: Likewise.
13089 * debug/vsprintf_chk.c: Likewise.
13090 * malloc/mtrace.c: Likewise.
13091 * misc/error.c: Likewise.
13092 * misc/syslog.c: Likewise.
13093 * stdio-common/asprintf.c: Likewise.
13094 * stdio-common/fxprintf.c: Likewise.
13095 * stdio-common/getw.c: Likewise.
13096 * stdio-common/isoc99_fscanf.c: Likewise.
13097 * stdio-common/isoc99_scanf.c: Likewise.
13098 * stdio-common/isoc99_vfscanf.c: Likewise.
13099 * stdio-common/isoc99_vscanf.c: Likewise.
13100 * stdio-common/isoc99_vsscanf.c: Likewise.
13101 * stdio-common/printf-prs.c: Likewise.
13102 * stdio-common/printf_fp.c: Likewise.
13103 * stdio-common/printf_fphex.c: Likewise.
13104 * stdio-common/printf_size.c: Likewise.
13105 * stdio-common/putw.c: Likewise.
13106 * stdio-common/scanf.c: Likewise.
13107 * stdio-common/sprintf.c: Likewise.
13108 * stdio-common/tmpfile.c: Likewise.
13109 * stdio-common/vfprintf.c: Likewise.
13110 * stdio-common/vfscanf.c: Likewise.
13111 * stdlib/strfmon_l.c: Likewise.
13112 * sunrpc/openchild.c: Likewise.
13113 * sunrpc/xdr_stdio.c: Likewise.
13114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13115 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13116
d6c33fda
RM
131172012-05-24 Roland McGrath <roland@hack.frob.com>
13118
c1487492
RM
13119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13120
13121 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13122 in the third column, to generate for the shared library an IFUNC
13123 that uses _dl_vdso_vsym.
13124 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13125 * Makeconfig (object-suffixes-noshared): New variable.
13126
13127 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13128 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13129 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13130 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13131
d6c33fda
RM
13132 [BZ #14132]
13133 * include/sys/time.h (__gettimeofday): Remove macro.
13134 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13135 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13136 Remove INTDEF.
13137 (__gettimeofday): Add libc_hidden_def.
13138 (gettimeofday): Add libc_hidden_weak.
13139 * sysdeps/mach/gettimeofday.c: Likewise.
13140 * sysdeps/posix/gettimeofday.c: Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13144 (__gettimeofday_internal): Remove strong_alias.
13145 (__gettimeofday): Add libc_hidden_def.
13146 (gettimeofday): Add libc_hidden_weak.
13147 * sysdeps/unix/syscalls.list (gettimeofday):
13148 Remove __gettimeofday_internal alias.
13149
b5a2bbe6
L
131502012-05-24 Daniel Jacobowitz <drow@false.org>
13151 H.J. Lu <hongjiu.lu@intel.com>
13152
13153 [BZ #12495]
13154 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13155 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13156 (largebin_index_32_big): New.
13157 (largebin_index): Use it for 16-byte alignment.
13158 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13159 correction with front_misalign.
13160
cfba4fda
L
131612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13162
7f907421
L
13163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13165 Likewise.
13166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13167 Likewise.
13168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13169 Likewise.
13170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13171 Likewise.
13172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13173 Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13175 Likewise.
13176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13177 Likewise.
13178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13179 Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13183 Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13185 Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13187 Likewise.
13188
cfba4fda
L
13189 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13190 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13191
80bad0cc
JM
131922012-05-24 Joseph Myers <joseph@codesourcery.com>
13193
7a25eb06
JM
13194 [BZ #10846]
13195 [BZ #14036]
13196 * math/libm-test.inc (exp_test): Add test from bug 14036.
13197 (pow_test): Add test from bug 10846.
13198
795405f9
JM
13199 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13200 and other flags.
13201 (special_function): Do not include flags in test name.
13202 (parse_args): Likewise.
13203 * sysdeps/i386/fpu/libm-test-ulps: Update.
13204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13205 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13208
80bad0cc
JM
13209 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13210 exceptions.
13211 * math/libm-test.inc ("Philosophy"): Update comment about
13212 exception testing.
13213 (UNDERFLOW_EXCEPTION): New macro.
13214 (UNDERFLOW_EXCEPTION_OK): Likewise.
13215 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13216 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13217 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13218 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13219 (INVALID_EXCEPTION_OK): Update value.
13220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13221 (OVERFLOW_EXCEPTION_OK): Likewise.
13222 (IGNORE_ZERO_INF_SIGN): Likewise.
13223 (test_exceptions): Handle underflow exceptions.
13224 (acos_test): Update for underflow exception expectations.
13225 (cexp_test): Likewise.
13226 (clog_test): Likewise.
13227 (clog10_test): Likewise.
13228 (csqrt_test): Likewise.
13229 (ctan_test): Likewise.
13230 (ctanh_test): Likewise.
13231 (exp_test): Likewise.
13232 (exp10_test): Likewise.
13233 (exp2_test): Likewise.
13234 (expm1_test): Likewise.
13235 (fma_test): Likewise.
13236 (j0_test): Likewise.
13237 (jn_test): Likewise.
13238 (nexttoward_test): Likewise.
13239 (pow_test): Likewise.
13240 (scalbn_test): Likewise.
13241 (scalbln_test): Likewise.
13242 (tan_test): Likewise.
13243 (y1_test): Likewise.
13244 * sysdeps/i386/fpu/libm-test-ulps: Update.
13245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13246
9e0e3d0b
DM
132472012-05-23 David S. Miller <davem@davemloft.net>
13248
13249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13250 (__libc_sigaction): Remove unused local variables.
13251
ccd0a08f
L
132522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13253
13254 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13255
62bdf9a6
PE
132562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13257
f8591f80
PE
13258 mktime: avoid signed integer overflow
13259 * time/mktime.c (__mktime_internal): Do not mishandle the case
13260 where diff == INT_MIN.
13261
94c7d826
PE
13262 mktime: simplify computation of average
13263 * time/mktime.c (ranged_convert): Use new time_t_avg function
13264 instead of rolling our own (probably-slower) code.
13265
ce73d683
PE
13266 mktime: do not assume signed right shift propagates sign bit
13267 * time/mktime.c (isdst_differ): New static function.
13268 (__mktime_internal): No need to normalize tm_isdst now.
13269 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13270 tm_isdst values.
13271
72a22e59
PE
13272 mktime: merge another wrapv change from gnulib
13273 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13274 from some compilers.
13275
68605433
PE
13276 mktime: remove incorrect attempt at unusual arithmetics
13277 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13278 The code didn't really work on such machines anyway.
13279 (TYPE_MINIMUM): Assume two's complement.
13280 (twos_complement_arithmetic): Verify that long_int and time_t
13281 are two's complement (or unsigned, in the latter case).
13282
03cf7fe3
PE
13283 mktime: check signed shifts on long_int and time_t, too
13284 * time/mktime.c (SHR): Check that shifts work as desired
13285 on the types long_int and time_t too, as SHR is used on
13286 such types.
13287
f04dfbc2
PE
13288 mktime: do not assume 'long' is wide enough
13289 * time/mktime.c (verify): Move decl up.
13290 (long_int): New type.
13291 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13292 to remove assumption in the code that 'long' is wide enough to
13293 store year values. This assumption is not true on x32 and on
13294 some non-glibc platforms.
13295
62bdf9a6
PE
13296 mktime: merge wrapv change from gnulib
13297 * time/mktime.c (WRAPV): New macro.
13298 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13299 (guess_time_tm, __mktime_internal): Do not assume that signed
13300 integer overflow wraps around; modern compilers generate code
13301 where this assumption is no longer valid.
13302
5e292e4f
L
133032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13306 Replace "jmp L(pseudo_end)" with "ret".
13307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13308 Likewise.
13309
8caf8c87
AJ
133102012-05-23 Andreas Jaeger <aj@suse.de>
13311
13312 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13313 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13314
1a09dc56
AJ
133152012-05-23 Andreas Jaeger <aj@suse.de>
13316 Maximilian Attems <max@stro.at>
13317
13318 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13319 New macros.
13320
1c87aba0
L
133212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13322
13323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13324 code so that pseudo_end is just ret and the stack pointer is
13325 correct also for static library in error case.
13326
40e45bd5
JM
133272012-05-23 Joseph Myers <joseph@codesourcery.com>
13328
c2670533
JM
13329 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13330 move to syscalls.list.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13335
40e45bd5
JM
13336 * manual/install.texi (Running make install): Do not mention Linux
13337 kernel version for which pt_chown is not needed.
13338 (Linux): Do not mention problems with nscd with 2.0 kernels.
13339 * INSTALL: Regenerated.
13340
be08eda5
AJ
133412012-05-23 Andreas Jaeger <aj@suse.de>
13342
13343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13344 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13345 macro.
13346 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13348 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13350 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13356 * sysdeps/unix/sysv/linux/bits/in.h
13357 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13358
a6a056bb
RM
133592012-05-22 Roland McGrath <roland@hack.frob.com>
13360
13361 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13362 (PREPARE_VERSION): Just use assert instead, it will be elided
13363 under [NDEBUG] anyway.
13364
c9009328
L
133652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13366
13367 * sysdeps/unix/sysv/linux/Makefile: Include
13368 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13369 (sysdep_routines): Remove sysctl.
c9009328
L
13370 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13371 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13374 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13375
73338355
AJ
133762012-05-22 Andreas Jaeger <aj@suse.de>
13377
13378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13379 that pseudo_end is just ret and the stack pointer is correct also
13380 for static library in error case.
13381
d44638b0
PP
133822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13383
13384 [BZ #14122]
13385 * nss/nsswitch.c (defconfig_entries): New variable.
13386 (__nss_database_lookup): Don't leak defconfig entries.
13387 (nss_parse_service_list): Don't leak on error paths.
13388 (free_database_entries): New function.
13389 (free_defconfig): New function.
13390 (free_mem): Move common code to free_database_entries.
13391
31a39bd8
L
133922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13393
da0331a8
L
13394 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13395 Add arch_prctl.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13397
31a39bd8
L
13398 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13399 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13401 New macro.
13402 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13403 (INTERNAL_SYSCALL_TYPES): Likewise.
13404 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13405 (LOAD_REGS_TYPES_[1-6]): Likewise.
13406 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13407 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13408
45470df3
AZ
134092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13410
13411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13412 copysignl for GLIBC_2_0.
13413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13414 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13416 logbl for GLIBC_2_0.
13417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13419
98a61bcb
L
134202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13421
a4f6e481
L
13422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13424
f63d5db6
L
13425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13426 Use "neg %eax".
13427
98a61bcb
L
13428 * time/mktime.c: Update copyright years.
13429
95770f14
PE
134302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13431
6226efbd
PE
13432 mktime: merge comment-quoting-style change from gnulib
13433 * time/mktime.c: Quote 'like this' in comments.
13434 The GNU coding standards suggest that we no longer quote `like this',
13435 as "`" and "'" are typically rendered asymmetrically nowadays.
13436 The typical gnulib style is to quote 'like this' when quoting
13437 code, and "like this" when quoting English.
13438
b99e4f78
PE
13439 * time/mktime.c (compile-command): Add "-I.".
13440
643e01e6
PE
13441 mktime: merge mktime-internal.h change from gnulib
13442 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13443
2554247d
PE
13444 mktime: merge time_r change from gnulib
13445 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13446
826dd0ab
PE
13447 mktime: merge DEBUG change from gnulib
13448 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13449 case system <time.h> has a #define.
13450
bd83aabe
PE
13451 mktime: merge <sys/types.h> change from gnulib
13452 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13453 since <time.t> is now guaranteed to define time_t.
13454
95770f14
PE
13455 mktime: merge HAVE_CONFIG_H change from gnulib
13456 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13457
5e1a27a9
L
134582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13459
0e44a77e
L
13460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13461 Use "neg %eax".
13462
5e1a27a9
L
13463 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13464 __rlim_t cast.
13465 (struct rusage): Use anonymous union to pad each field to
13466 __syscall_slong_t.
13467
46259bec
DM
134682012-05-21 David S. Miller <davem@davemloft.net>
13469
13470 * Makefules (o-iterator): Remove .s cases.
13471 (compile-command.s): Delete.
13472 (COMPILE.s): Delete.
13473 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13474
59f0c22e
JM
134752012-05-21 Joseph Myers <joseph@codesourcery.com>
13476
13477 * configure.in (libc_cv_predef_stack_protector): Only consider
13478 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13479 * configure: Regenerated.
13480
20c07380
L
134812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13482
bbb3154b
L
13483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13484 New macro. Use R*LP on int and pointer.
13485 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13486 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13487 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13488 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13489
20c07380
L
13490 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13491 [__WORDSIZE_TIME64_COMPAT32] instead of
13492 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13493 (struct utmp): Likewise.
13494 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13495 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13496 Renamed to ...
13497 (__WORDSIZE_TIME64_COMPAT32): This.
13498 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13499 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13500 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13502 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13503 (__WORDSIZE_TIME64_COMPAT32): New macro.
13504
d8d1017e
AJ
135052012-05-21 Andreas Jaeger <aj@suse.de>
13506
13507 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13508 only if [SHARED]. Add prototype for __wcschr_ia32.
13509
6c7fb145
RM
135102012-05-21 Roland McGrath <roland@hack.frob.com>
13511
13512 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13513 of %rbp unmolested in the jmp_buf while mangling the low bits.
13514 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13515 unmolested high bits of %rbp while demangling the low bits.
13516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13517
66274218
AJ
135182012-05-21 Andreas Jaeger <aj@suse.de>
13519
07c58f8f
AJ
13520 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13521 * sunrpc/svc_simple.c: Use it for registerrpc.
13522 * sunrpc/xcrypt.c: Use it for passwd2des.
13523
66274218
AJ
13524 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13525
61f65140
L
135262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13529 Don't define if [__SYSCALL_WORDSIZE != 32].
13530 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13531 New macro.
13532
5fefb436
AJ
135332012-05-21 Bruno Haible <bruno@clisp.org>
13534 Andreas Jaeger <aj@suse.de>
13535
13536 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13537 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13538 inptr and inend for must_buffer_ch.
13539 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13540 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13541 * stdio-common/Makefile (tests): Remove bug15.
13542 (bug15-ENV): Remove macro.
13543 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13544 anymore.
13545
d8e272ab
AJ
135462012-05-19 Andreas Jaeger <aj@suse.de>
13547 Roland McGrath <roland@hack.frob.com>
13548
13549 * manual/contrib.texi: Completely rewritten. It contains now an
13550 alphabetical list of contributors and their contributions.
13551
4a56a162
RH
135522012-05-21 Richard Henderson <rth@twiddle.net>
13553
13554 * misc/getauxval.c (__getauxval): Use unsigned long int.
13555 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13556 (getauxval): Use unsigned long int.
13557
d024d23c
L
135582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13559
13560 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13561
cbc00a03
RM
135622012-05-21 Roland McGrath <roland@hack.frob.com>
13563
13564 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13565 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13566 __alignof__ (long double).
13567
478143fa
AZ
135682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13569
13570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13571
c7683a6d
RH
135722012-05-20 Richard Henderson <rth@twiddle.net>
13573
13574 * misc/getauxval.c: New file.
13575 * misc/sys/auxv.h: New file.
13576 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13577 (routines): Add getauxval.
13578 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13580 * elf/dl-sysdep.c (_dl_auxv): Remove.
13581 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13582 * elf/dl-support.c (_dl_auxv): New variable.
13583 (_dl_aux_init): Initialize it.
13584 * manual/startup.texi (Auxiliary Vector): New node.
13585 * sysdeps/generic/bits/hwcap.h: New file.
13586 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13587 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13588 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13589 * sysdeps/sparc/sysdep.h: ... here. Include it.
13590 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13593 Update.
c7683a6d
RH
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13602
a6f1845d
AZ
136032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604
13605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13606
cbcbe830
DM
136072012-05-19 David S. Miller <davem@davemloft.net>
13608
13609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13610
e0b16cc2
JM
136112012-05-19 Joseph Myers <joseph@codesourcery.com>
13612
13613 [BZ #14123]
13614 * math/s_ccosh.c: Include <float.h>
13615 (__ccosh): Avoid internal overflow calculating sinh and cosh
13616 values before multiplying by sin and cos values.
13617 * math/s_ccoshf.c: Likewise.
13618 * math/s_ccoshl.c: Likewise.
13619 * math/s_csin.c: Likewise.
13620 * math/s_csinf.c: Likewise.
13621 * math/s_csinl.c: Likewise.
13622 * math/s_csinh.c: Likewise.
13623 * math/s_csinhf.c: Likewise.
13624 * math/s_csinhl.c: Likewise.
13625 * math/libm-test.inc (ccos_test): Add more tests.
13626 (ccosh_test): Likewise.
13627 (csin_test): Likewise.
13628 (csinh_test): Likewise.
13629 * sysdeps/i386/fpu/libm-test-ulps: Update.
13630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13631
6ad13e08
L
136322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13633
f66f0ce8
L
13634 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13635 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13636
6ad13e08
L
13637 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13638
b1d072a7
JM
136392012-05-19 Joseph Myers <joseph@codesourcery.com>
13640
13641 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13642 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13643 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13644 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13645 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13646 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13647 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13648 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13649 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13650 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13651 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13652 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13653 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13654 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13655 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13656 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13657 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13658 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13659 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13660 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13661 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13662 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13663 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13664 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13665 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13666 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13667 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13668 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13669 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13670 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13671 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13672
9eae47cb
AJ
136732012-05-18 Andreas Jaeger <aj@suse.de>
13674
13675 * csu/.gitignore: Delete.
13676
bb07f69f
L
136772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13678
13679 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13680 (timex): Use __syscall_slong_t.
13681
e6bdb741
AJ
136822012-05-18 Andreas Jaeger <aj@suse.de>
13683 Carlos O'Donell <carlos_odonell@mentor.com>
13684
13685 * manual/install.texi (Configuring and compiling): Update
13686 description about files modified in the source directory.
d6c33fda 13687 * INSTALL: Regenerated.
e6bdb741 13688
1b74487e
L
136892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13692 value. Use "or" to set return value to -1.
13693 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13694 negate return value.
13695
a88b64b9
TMQMF
136962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13697
13698 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13699 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13700 failure if the compiler has Graphite support disabled.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13702 Likewise.
13703 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13704 CFLAGS-memmove.c): Likewise.
13705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13706 Likewise.
13707
3707636e
L
137082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13709
610b8622
L
13710 * sysdeps/x86_64/x32/_itoa.h: New file.
13711
7cd195df
L
13712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13713 getdents system call only if kernel and user dirents have the
13714 same d_ino and d_off.
13715
94b07d20
L
13716 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13717 LLONG_MAX != LONG_MAX.
13718 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13719 (_fitoa_word): Likewise.
13720
18298070
L
13721 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13722 years.
13723 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13724 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13725 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13726
553c7ea4
L
13727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13728 include <bits/wordsize.h>. Check __x86_64__ instead of
13729 __WORDSIZE.
13730 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13731 if __x86_64__ is defined. Use anonymous union on fpstate.
13732
3707636e
L
13733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13734 anonymous union.
13735
b53ef01a
AS
137362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13737
37fb1dc0
AS
13738 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13739 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13741 Refer to _rtld_local_ro instead of _rtld_global_ro.
13742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13743 Likewise.
13744 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13745 Likewise.
13746 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13747 Likewise.
13748 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13749 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13750 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13751
b53ef01a
AS
13752 * sysdeps/powerpc/powerpc32/dl-machine.c
13753 (__elf_machine_runtime_setup) [PROF]: Don't reference
13754 _dl_prof_resolve.
13755
7a185db2
AJ
137562012-05-18 Andreas Jaeger <aj@suse.de>
13757
13758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13759 function only available for GCCs before 3.4 since GCC 3.4
13760 introduced a builtin.
13761 (lrint): Likewise.
13762 (llrintf): Likewise.
13763 (llrint): Likewise.
13764 (fmaxf): Likewise.
13765 (fmax): Likewise.
13766 (fminf): Likewise.
13767 (fmin): Likewise.
13768 (rint): Likewise.
13769 (rintf): Likewise.
13770 (nearbyint): Likewise.
13771 (nearbyintf): Likewise.
13772 (ceil): Likewise.
13773 (ceilf): Likewise.
13774 (floor): Likewise.
13775 (floorf): Likewise.
13776
3e5aef87
L
137772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13778
428bd707
L
13779 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13780 on both fields and cast pointer to __syscall_ulong_t.
13781
3e5aef87
L
13782 * bits/types.h (__fsword_t): New type.
13783 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13784 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13786 (__FSWORD_T_TYPE): Likewise.
13787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13788 (__FSWORD_T_TYPE): Likewise.
13789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13790 (__FSWORD_T_TYPE): Likewise.
13791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13792 (__FSWORD_T_TYPE): Likewise.
13793 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13794 __SWORD_TYPE with __fsword_t.
13795 (statfs64): Likewise.
13796
1ba7c3dc
DM
137972012-05-17 David S. Miller <davem@davemloft.net>
13798
13799 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13800
59910343
AJ
138012012-05-17 Andreas Jaeger <aj@suse.de>
13802
13803 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13804 warning.
13805
2e4c1e9e
L
138062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13807
13808 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13809
de7f5ce7
AJ
138102012-05-17 Andreas Jaeger <aj@suse.de>
13811
13812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13813 when it is used.
13814
286abc3d
CM
138152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13816
13817 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13818
477cc68e
L
138192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13820
13821 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13822 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13823
1a0994f5
CD
138242012-05-17 Andreas Jaeger <aj@suse.de>
13825 Carlos O'Donell <carlos_odonell@mentor.com>
13826
13827 [BZ #14059]
13828 * sysdeps/x86_64/multiarch/init-arch.h
13829 (bit_YMM_Usable): Rename to...
13830 (bit_AVX_Usable): ... this.
13831 (bit_FMA4_Usable): New macro.
13832 (bit_XMM_state): New macro.
13833 (bit_YMM_state): New macro.
13834 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13835 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13836 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13837 (CPUID_OSXSAVE): New macro.
13838 (CPUID_AVX): New macro.
13839 (CPUID_FMA4): New macro.
13840 (index_YMM_Usable): Rename to...
13841 (index_AVX_Usable): ... this.
13842 (HAS_AVX): Use HAS_ARCH_FEATURE.
13843 (HAS_FMA4): Likewise.
13844 (HAS_YMM_USABLE): Remove.
13845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13846 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13847 are present.
13848 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13849 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13850 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13851 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13852 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13853
0af797de
CM
138542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13855
13856 * math/libm-test.c: Support platforms without multiple rounding modes.
13857 * math/bug-nextafter.c: Support platforms without FP exceptions.
13858 * math/bug-nexttoward.c: Likewise.
13859 * math/test-fenv.c: Likewise.
13860 * math/test-misc.c: Likewise.
13861 * stdlib/bug-getcontext.c: Likewise.
13862
e39745ff
AJ
138632012-05-17 Andreas Jaeger <aj@suse.de>
13864
13865 * manual/examples/search.c (critter_cmp): Change signature to
13866 avoid warnings.
13867 * manual/string.texi (Collation Functions): Likewise.
13868
48970aba
L
138692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13870
13871 * bits/types.h: Fold copyright years.
13872 * bits/typesizes.h: Likewise.
13873 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13877 * time/time.h: Likewise.
13878
bedee953
PP
138792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13880
13881 [BZ #208]
13882 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13883 in instead of returning them. Return void.
13884 (__libc_mallinfo): Accumulate over all arenas.
13885 (__malloc_stats): Adjust for change in int_mallinfo interface.
13886
61653dfb
RM
138872012-05-16 Roland McGrath <roland@hack.frob.com>
13888
30b99d79
RM
13889 [BZ #10375]
13890 * configure.in (NM): Add AC_CHECK_TOOL for it.
13891 (libc_extra_cflags): New substituted variable.
13892 Check for -fstack-protector being used implicitly.
13893 * configure: Regenerated.
13894 * config.make.in (config-extra-cflags): New variable,
13895 gets @libc_extra_cflags@.
13896 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13897
61653dfb
RM
13898 [BZ #10375]
13899 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13900 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13901 * configure: Regenerated.
13902 * config.make.in (CPPUNDEFS): New substituted variable.
13903 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13904 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13905 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13906
661768bb
L
139072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13910 (mq_attr): Use __syscall_slong_t.
13911
d4261567
L
139122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13913
13914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13915 Check __x86_64__ instead of __WORDSIZE.
13916 (_STAT_VER_LINUX): Likewise.
13917 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13918 __syscall_ulong_t and __syscall_slong_t.
13919 (stat64): Likewise.
13920
cf3ff365
L
139212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13922
13923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13924
76cf3e4d
L
139252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13926
13927 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13928
a637753a
L
139292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13930
13931 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13932 __syscall_ulong_t.
13933
d5e05119
L
13934 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13935 include <bits/wordsize.h>. Check __x86_64__ instead of
13936 __WORDSIZE.
13937 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13938 defined.
13939 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13940
f62ee380
L
13941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13942 include <bits/wordsize.h>. Check __x86_64__ instead of
13943 __WORDSIZE.
13944 (user_regs_struct): Use "__extension__ unsigned long long"
13945 instead of "unsigned long" if __x86_64__ is defined.
13946 (user): Likewise. Pad after pointer field if __ILP32__ is
13947 defined.
13948
4e124ced
JM
139492012-05-16 Joseph Myers <joseph@codesourcery.com>
13950
6a3951a0
JM
13951 * configure.in (makeinfo): Require version 4.5 or later. Allow
13952 versions 5 to 9.
13953 * configure: Regenerated.
13954 * manual/install.texi (texinfo): Increase version requirement to
13955 4.5 or later.
13956 * INSTALL: Regenerated.
13957
4e124ced
JM
13958 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13959
953ca31a
L
139602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13961
13962 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13963
617aca05
L
13964 * sysdeps/x86_64/x32/ffs.c: New file.
13965
5762f7ae
L
13966 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13967 __syscall_ulong_t.
13968 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13969 defined. Use __syscall_ulong_t.
13970 (shminfo): Use __syscall_ulong_t.
13971 (shm_info): Likewise.
13972
a26b6856
L
13973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13974 __syscall_ulong_t.
13975
cb2b9ef7
L
13976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13977 <bits/wordsize.h>.
13978 (msgqnum_t): Use __syscall_ulong_t.
13979 (msglen_t): Likewise.
13980 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13981 __syscall_ulong_t.
13982
34683bb0
L
13983 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13985
84a68786
L
13986 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13987
48baa5f1
L
13988 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13989 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13990
180be88b
L
13991 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13992 __syscall_slong_t.
13993
5e90c8ad
L
13994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13995 include <bits/wordsize.h>. Check __x86_64__ instead of
13996 __WORDSIZE.
13997
23dfb58b
L
13998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13999 "unsigned long long int" if __x86_64__ is defined.
14000 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14001
ce5d54b0
L
14002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14004 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14005
13dc9eac
L
14006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14007 <stdint.h>.
14008 (GET_PC): Cast to uintptr_t first.
14009 (GET_FRAME): Likewise.
14010 (GET_STACK): Likewise.
14011
a7895d15
L
14012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14020 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14041
656416c9
AS
140422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14043
5bd66283
AS
14044 * Makerules (+depfiles): Also collect depfiles from .oS in
14045 $(extra-objs).
14046 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14047 .oS, $(libnldbl-routines)).
14048
656416c9
AS
14049 * Makerules (native-compile-mkdep-flags): Define.
14050 * sunrpc/Makefile (extra-objs): Add $(addprefix
14051 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14052 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14053 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14054 calling $(make-target-directory).
14055
a46f2169
L
140562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14057
14058 * bits/types.h (__snseconds_t): Removed.
14059 * time/time.h (struct timespec): Replace __snseconds_t with
14060 __syscall_slong_t.
14061 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14062 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14063 Likewise.
14064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14065 (__SNSECONDS_T_TYPE): Likewise.
14066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14067 (__SNSECONDS_T_TYPE): Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14069 (__SNSECONDS_T_TYPE): Likewise.
14070
6af6528b
L
140712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 * sysdeps/mach/hurd/bits/typesizes.h
14074 (__SYSCALL_SLONG_TYPE): New macro.
14075 (__SYSCALL_ULONG_TYPE): Likewise.
14076
de986b56
L
140772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 * bits/types.h (__syscall_slong_t): New type.
14080 (__syscall_ulong_t): Likewise.
14081
14082 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14083 (__SYSCALL_ULONG_TYPE): Likewise.
14084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14085 (__SYSCALL_SLONG_TYPE): Likewise.
14086 (__SYSCALL_ULONG_TYPE): Likewise.
14087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14088 (__SYSCALL_SLONG_TYPE): Likewise.
14089 (__SYSCALL_ULONG_TYPE): Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14091 (__SYSCALL_SLONG_TYPE): Likewise.
14092 (__SYSCALL_ULONG_TYPE): Likewise.
14093
85736dc7
L
140942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14095
14096 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14097 Add sigaltstack-offsets.sym.
14098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14099 <sigaltstack-offsets.h>.
14100 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14101 longjmp_msg pointer.
14102 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14103 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14104 signal stack.
14105 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14106
cc03b296
JM
141072012-05-15 Joseph Myers <joseph@codesourcery.com>
14108
a9538892
JM
14109 * elf/stackguard-macros.h: Remove file.
14110 * sysdeps/generic/stackguard-macros.h: New file.
14111 * sysdeps/i386/stackguard-macros.h: Likewise.
14112 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14113 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14114 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14115 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14116 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14117 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14118 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14119 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14120 <elf/stackguard-macros.h>.
14121
cc03b296
JM
14122 [BZ #14109]
14123 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14124 __aligned__ in attribute.
14125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14126 (gregset_t): Likewise.
14127
93171016
L
141282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14129
14130 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14131 * sysdeps/x86_64/64/Implies-after: Here. New file.
14132 * sysdeps/x86_64/x32/Implies-after: New file.
14133
d86813a0
L
141342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14137 and access return value for _dl_profile_fixup. Use R10_LP to
14138 load frame size.
14139
2953ec75
L
141402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14143
3b550e9e
L
141442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14147 * sysdeps/x86_64/x32/sysdep.h: New file.
14148
eda41706
L
141492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14150
14151 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14152 * sysdeps/x86_64/setjmp.S: Likewise.
14153
9ea01d93
AZ
141542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155
14156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14158 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14160 remove unused global constant.
14161
02a91938
CM
141622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14163
14164 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14165 include of <not-cancel.h>.
14166
6540185f
RM
141672012-05-15 Roland McGrath <roland@hack.frob.com>
14168
14169 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14170
509072a0
AJ
141712012-05-15 Jeff Law <law@redhat.com>
14172 Andreas Jaeger <aj@suse.de>
14173
14174 [BZ #13594]
14175 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14176 out from...
14177 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14178 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14180 code changing __hst_map_handle.map.
14181
ba75122d
RM
141822012-05-15 Roland McGrath <roland@hack.frob.com>
14183
14184 * configure.in (sysnames): Look for Implies-before and Implies-after
14185 files.
14186 * configure: Regenerated.
14187
890d8bd8
L
141882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14189
14190 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14191 8-byte data alignment with LP_SIZE alignment.
14192
f6ee6623
L
141932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14194
14195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14196 into R10_LP.
14197
ea2626f6
L
141982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14201
085f715e
L
142022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14205 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14207 Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14209
be8498fc
L
142102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14213 (stackinfo_sub_sp): Likewise.
14214
70bc83b9
L
142152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14216
14217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14218 RAX_LP.
14219
9bc0b730
L
142202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14223 into R*_LP.
14224
6d2850e7
L
142252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14228 sizes into R*_LP.
14229
3cb84561
L
142302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14231
14232 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14233
54e2ed81
L
142342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14237 into R11_LP and load __x86_64_shared_cache_size_half into
14238 R8_LP.
14239
8a17f349
L
142402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14243 R8_LP.
14244
777b1eea
AZ
142452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14246
14247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14248 logb for POWER7.
14249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14250 logbf for POWER7.
14251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14252 logbl for POWER7.
14253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14254 powerpc32/power7/fpu/s_logb.c via #include.
14255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14256 powerpc32/power7/fpu/s_logbf.c via #include.
14257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14258 powerpc32/power7/fpu/s_logbl.c via #include.
14259
d20d4ac2
JM
142602012-05-15 Joseph Myers <joseph@codesourcery.com>
14261
14262 * README.libm: Remove file.
14263
6cdef1ab
L
142642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14265
14266 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14267 count for x32. Use R*_LP and omit operand-size suffix.
14268
0b254d8f
L
142692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14270
14271 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14272 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14273 * sysdeps/x86_64/x32/shlib-versions: New file.
14274
ceb809dc
RM
142752012-05-14 Roland McGrath <roland@hack.frob.com>
14276
14277 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14278 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14279 Use _dl_fatal_printf instead.
14280
37f1abd4
JM
142812012-05-14 Joseph Myers <joseph@codesourcery.com>
14282
14283 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14284 set if not set by the user. Do not allow for being unset.
14285 * sysdeps/unix/sysv/linux/configure: Regenerated.
14286
11de3a33
L
142872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14290 the `q' suffix from lea and replace .quad with ASM_ADDR.
14291
e02f153a
L
142922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14293
14294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14295 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14296 instead of $17.
14297 (PTR_DEMANGLE): Likewise.
14298
520ae0fd
L
142992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14302 (LP_OP): Likewise.
14303 (ASM_ADDR): Likewise.
14304 (RAX_LP): Likewise.
14305 (RBP_LP): Likewise.
14306 (RBX_LP): Likewise.
14307 (RCX_LP): Likewise.
14308 (RDI_LP): Likewise.
14309 (RSI_LP): Likewise.
14310 (RSP_LP): Likewise.
14311 (R8_LP): Likewise.
14312 (R9_LP): Likewise.
14313 (R10_LP): Likewise.
14314 (R10_LP): Likewise.
14315 (R11_LP): Likewise.
14316 (R12_LP): Likewise.
14317 (R13_LP): Likewise.
14318 (R14_LP): Likewise.
14319 (R15_LP): Likewise.
14320
b985be81
L
143212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14322
14323 * sysdeps/x86_64/x32/dl-machine.h: New file.
14324
6a4888ff
AJ
143252012-05-14 Andreas Jaeger <aj@suse.de>
14326
14327 * manual/Makefile (subdir): Remove export of subdir.
14328 (all): Remove target.
14329 (.PHONY): Remove all from list.
14330 (mkinstalldirs): Remove.
14331 (.PHONY): Remove installdirs from list.
14332 ($(inst_infodir)/libc.info): Use make-target-directory.
14333 (installdirs): Remove.
14334 (subdir_%): Remove.
14335 (glibc-targets): Remove.
14336 (lib): Remove.
14337 (stubs): Remove.
14338 ($(objpfx)stubs ../po/manual.pot): Remove.
14339 ($(objpfx)stamp%): Remove.
14340 (make-target-directory): Remove.
14341 (subdir_install): Remove.
14342 (routines): Remove.
14343 (aux): Remove.
14344 (sources): Remove.
14345 (objects): Remove.
14346 (headers): Remove.
14347
14348 [BZ #13750]
14349 * manual/.gitignore: Remove, it's not needed anymore.
14350 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14351 all files in it.
14352 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14353 directory.
14354 (texis): Renamed to $(objpfx)texis.
14355 (texis-path): New, contains path to generated files.
14356 (chapters.%): Use texis-path for complete path, add extra argument
14357 libc-texinfo.sh.
14358 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14359 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14360 (summary,texi, stamp-summary): Use complete path of
14361 files. Generate files in build dir.
14362 (dir-add.texi): Build in build dir.
14363 (libm-err.texi,stamp-libm-err): Likewise.
14364 (version.texi, stamp-version): Likewise.
14365 (.%c.texi): Likewise.
14366 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14367 (mostlyclean): Remove target.
14368 (realclean): Remove target.
14369 (generated): Add new variable with contents from mostlyclean and
14370 realclean, remove entries duplicated in common-mostlyclean, add
14371 stamp-libm-err and stamp-version.
14372 (generated-dirs): Add libc directory.
14373 ($(inst_infodir)/libc.info): Install files from build dir.
14374
14375 * manual/install.texi (Configuring and compiling): Adjust since
14376 the info files are not part of the tar ball anymore.
14377
7ac77294
AJ
143782012-05-14 Andreas Jaeger <aj@suse.de>
14379
14380 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14381 variable.
14382
ffb7875d
JM
143832012-05-14 Joseph Myers <joseph@codesourcery.com>
14384
14385 [BZ #13717]
14386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14387 to 2.2.0 where earlier.
14388 * sysdeps/unix/sysv/linux/configure: Regenerated.
14389 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14390 Remove conditional code.
14391 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14392 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14393 Remove conditional code.
14394 [!__NR_lchown]: Likewise.
14395 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14396 [__NR_lchown]: Likewise.
14397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14398 comment referencing __ASSUME_LCHOWN_SYSCALL.
14399 * sysdeps/unix/sysv/linux/i386/sigaction.c
14400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14402 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14403 Remove conditional code.
14404 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14405 (__protocol_available): Remove #if 0 code.
14406 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14407 conditional code.
14408 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14409 * sysdeps/unix/sysv/linux/kernel-features.h
14410 (__ASSUME_GETCWD_SYSCALL): Don't define.
14411 (__ASSUME_REALTIME_SIGNALS): Likewise.
14412 (__ASSUME_PREAD_SYSCALL): Likewise.
14413 (__ASSUME_PWRITE_SYSCALL): Likewise.
14414 (__ASSUME_POLL_SYSCALL): Likewise.
14415 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14416 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14417 non-SPARC.
14418 (__ASSUME_SIOCGIFNAME): Don't define.
14419 (__ASSUME_MSG_NOSIGNAL): Likewise.
14420 (__ASSUME_SENDFILE): Define unconditionally.
14421 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14422 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14423 conditional code.
14424 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14425 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14427 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14428 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14429 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14430 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14435 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14455 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14456 Remove conditional code.
14457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14458 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14459 Remove conditional code.
14460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14461 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14462 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14463 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14464 Remove conditional code.
14465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14467 Remove conditional code.
14468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14470 Remove conditional code.
14471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14476 Remove conditional code.
14477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14481 * sysdeps/unix/sysv/linux/sigaction.c
14482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/sigpending.c
14485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14487 * sysdeps/unix/sysv/linux/sigprocmask.c
14488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14490 * sysdeps/unix/sysv/linux/sigsuspend.c
14491 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14492 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14494 (__libc_missing_rt_sigs): Remove.
14495 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14496 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14497 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14498 Remove conditional code.
14499 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14501 return 1.
14502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14503 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14505 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14506
1bfb7291
AJ
145072012-05-14 Andreas Jaeger <aj@suse.de>
14508
caae5a81
AJ
14509 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14510 it's not used in glibc.
14511 (__coshm1): Likewise.
14512 (__acosh1p): Likewise.
14513 (__sgn): Likewise.
14514
1bfb7291
AJ
14515 * manual/string.texi (Copying and Concatenation): Add missing
14516 variable in concat example.
14517 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14518
c044d724
L
145192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14520
144c5467 14521 [BZ #14103]
c044d724
L
14522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14523 __builtin_clzl with __builtin_clzll.
14524
2523c62b
L
145252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14526
14527 [BZ #14104]
14528 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14529 libc_freeres_ptr.
14530
d7bb4c42
LD
145312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14532
14533 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14534 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14535 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14537
9dc4e1fb
MF
145382012-05-14 Mike Frysinger <vapier@gentoo.org>
14539
14540 * NEWS: Update ia64 info.
14541
c7df0112
AS
145422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14543
14544 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14545 used as bcopy.
14546
dc70356c
TS
145472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14548
14549 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14550 * sysdeps/unix/syscalls.list (dup3): Likewise.
14551 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14552 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14553
9fb1a21f
L
145542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14555
14556 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14557 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14558
4822a2a5
L
145592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14560
14561 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14562 thread pointer.
14563 (TLS_IE): Use mov/add instead of movq/addq to load thread
14564 pointer.
14565 (TLS_GD_PREFIX): New.
14566 (TLS_GD): Use it.
14567
842b81d6
DM
145682012-05-11 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14571 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14572 (_FPU_SETCW): Likewise.
14573
1cf463cd
L
145742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14575
14576 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14577 is 32-byte aligned.
14578
60cc4a18
AS
145792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14580
14581 [BZ #11837]
14582 * iconvdata/gb18030.c: Update tables.
14583 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14584 characters specially.
14585 (BODY for TO_LOOP): Add encoding of missing ranges.
14586
febb44a4
TS
145872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14588
14589 [BZ #13673]
14590 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14591 * sysdeps/mach/hurd/dup3.c: Likewise.
14592 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14593 * sysdeps/powerpc/memmove.c:: Likewise.
14594
0a10fb9e
L
145952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14596
14597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14598 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14599
df8a552f
L
146002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14601
14602 * elf/elf.h (R_X86_64_RELATIVE64): New.
14603 (R_X86_64_NUM): Updated.
14604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14605 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14606 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14607 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14608 tst-quad1pie tst-quad2pie
14609 (modules-names): Add tst-quadmod1 tst-quadmod2.
14610 ($(objpfx)tst-quad1): New dependency.
14611 ($(objpfx)tst-quad2): Likewise.
14612 ($(objpfx)tst-quad1pie): Likewise.
14613 ($(objpfx)tst-quad2pie): Likewise.
14614 * sysdeps/x86_64/tst-quad1.c: New file.
14615 * sysdeps/x86_64/tst-quad1pie.c: New file.
14616 * sysdeps/x86_64/tst-quad2.c: Likewise.
14617 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14618 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14619 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14620 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14621 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14622
f34d6f84
ST
146232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14624
f42d41d1
ST
14625 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14626 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14627 * streams/stropts.h (t_scalar_t): Define type.
14628
3c3571fc
ST
14629 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14630 (_PATH_PRESERVE): Set to "/var/lib".
14631 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14632
61f06bd3
ST
14633 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14634 instead of int.
14635
918d4d71
ST
14636 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14637 if __dir_mkfile succeeded.
14638
f34d6f84
ST
14639 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14640 checking for _hurd_dtablesize. Unlock it right after having
14641 finished _hurd_dtable allocation.
14642
10589b4a
TS
146432012-05-10 Thomas Schwinge <thomas@schwinge.name>
14644
674cdbc7
TS
14645 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14646 * sysdeps/mach/hurd/configure: Regenerated.
14647 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14648 special-casing to...
14649 * sysdeps/gnu/configure.in: ... this new file.
14650 * sysdeps/unix/sysv/linux/configure: Regenerated.
14651 * sysdeps/gnu/configure: New generated file.
14652
8e41b99f
TS
14653 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14654 for Linux: use nsec instead of usec, as well as:
14655 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14656 members of type struct timespec.
14657 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14658 New macros.
14659 (struct stat64): Likewise.
14660 (_STATBUF_ST_NSEC): New macro.
14661 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14662
10589b4a
TS
14663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14664 __strtoul_internal rather than strtoul.
14665
63643c85
PT
146662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14667
14668 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14669 and reject them.
14670
3faebe6a
ST
146712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14672
14673 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14674 which preserves existing values.
14675 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14676
c6474b07
PT
146772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14678
14679 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14680 TIMEOUT values. Return EINVAL for NFDS values either negative or
14681 greater than FD_SETSIZE.
14682
1043890b
ST
146832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14684
14685 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14686 allocated, call __vm_protect to finish enabling the existing space, and
14687 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14688 allocate the remainder.
14689
37ed8b9b
PT
146902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14691
14692 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14693 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14694
db653660
ST
146952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14696
37ed8b9b
PT
14697 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14698 sysdeps/mach/hurd/readlink.c.
b29d4053 14699
db653660
ST
14700 * posix/tst-sysconf.c (posix_options): Only use
14701 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14702 _POSIX_SYNCHRONIZED_IO when they are defined
14703 * sysdeps/mach/hurd/bits/posix_opt.h:
14704 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14705 (_XOPEN_REALTIME): Undefine macro.
14706 (_XOPEN_REALTIME_THREADS): Undefine macro.
14707 (_XOPEN_SHM): Undefine macro.
14708 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14709 macro to -1.
14710 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14711 macro to -1.
14712 (_POSIX_ASYNC_IO): Undefine macro.
14713 (_POSIX_PRIORITIZED_IO): Undefine macro.
14714 (_POSIX_SPIN_LOCKS): Define macro to -1.
14715
ee16e894
ST
14716 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14717 SA_NODEFER, SA_RESETHAND.
14718 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14719 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14720 F_DUPFD_CLOEXEC.
14721
6103ae3b
TS
147222012-05-10 Thomas Schwinge <thomas@schwinge.name>
14723
14724 * elf/Makefile (pldd-modules): Define unconditionally.
14725
80b4e5f3
TS
147262012-05-10 Thomas Schwinge <thomas@schwinge.name>
14727
14728 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14729
edadcbd6
ST
147302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14731
14732 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14733 Return ENOENT when name is empty.
14734 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14735
80694780
TS
147362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14737
1792c087
TS
14738 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14739
80694780
TS
14740 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14741
6b645f0d
ST
147422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14743
80694780
TS
14744 Fix mlock in all cases except non-readable pages.
14745 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14746 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14747
6b645f0d
ST
14748 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14749 (__mkdir): When path is `/', just fail with EEXIST.
14750 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14751
e468f8a3
TS
147522012-05-10 Thomas Schwinge <thomas@schwinge.name>
14753
14754 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14755 <sys/uio.h> (for writev).
14756 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14757 and <sys/param.h> (for MIN).
14758
a4186cff
PT
147592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14760
14761 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14762 REQUESTED_TIME. Properly set the remaining time and return EINTR
14763 if interrupted.
14764
510bbf14
TS
147652012-05-10 Thomas Schwinge <thomas@schwinge.name>
14766
14767 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14768 Depend on against $(link-rpcuserlibs).
14769
5d5722e8
ST
147702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14771
a4186cff
PT
14772 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14773 (__libc_stack_end): Do not use attribute_relro.
14774 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14775 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14776 to libthread-provided value.
a4186cff
PT
14777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14778 attribute_relro.
5d5722e8 14779
37233df9
TS
147802012-05-10 Thomas Schwinge <thomas@schwinge.name>
14781
be971a2b
TS
14782 [BZ #3748]
14783 * bits/libc-lock.h (__libc_once_get): New macro.
14784 * sysdeps/mach/bits/libc-lock.h: Likewise.
14785 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14787 instead of using implementation details.
14788
37233df9
TS
14789 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14790 * libio/freopen.c: Likewise.
14791 * libio/freopen64.c: Likewise.
14792 * misc/syslog.c: Likewise.
14793 * nscd/connections.c: Likewise.
14794 * nscd/netgroupcache.c: Likewise.
14795 * sysdeps/posix/getcwd.c: Likewise.
14796
38de94a5
RM
147972012-05-10 Roland McGrath <roland@hack.frob.com>
14798
14799 * math/w_ilogbf.c: Add #include <limits.h>.
14800
67530489
ST
148012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14802
a4186cff 14803 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14804 path instead of returning without unlocking.
14805
67530489
ST
14806 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14807 immediate-write ioctls.
14808 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14809
5aa3a74a
TS
148102012-05-10 Thomas Schwinge <thomas@schwinge.name>
14811
18bad2ae
TS
14812 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14813 __builtin_frame_address instead of making assumptions about the
14814 location of the return address relative to DATA. Force early load of
14815 the return address.
14816 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14817 __builtin_frame_address.
14818
5aa3a74a
TS
14819 dup3 for GNU Hurd.
14820 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14821 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14822 implement dup3 and do some further code clean-ups.
14823 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14825
ecd0de9a
ST
148262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14827
cd9fa985
ST
14828 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14829
a4186cff
PT
14830 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14831 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14832 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14833 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14834 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14835 d->port.lock.
802ca5a5 14836
a4186cff
PT
14837 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14838 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14839 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14840
bcf55240
TS
148412012-05-10 Thomas Schwinge <thomas@schwinge.name>
14842
6960eb42
TS
14843 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14844 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14845 definitions.
14846
eb43375f
TS
14847 accept4 for GNU Hurd.
14848 * include/sys/socket.h (__libc_accept4): New prototype.
14849 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14850 to implement __libc_accept4.
14851 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14852 __libc_accept4.
14853 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14854
bcf55240
TS
14855 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14856 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14857 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14858 signal-defines.sym.
14859
6178c55b
ST
148602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14861
a4186cff 14862 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14863
6f080c2f
TS
148642012-05-10 Thomas Schwinge <thomas@schwinge.name>
14865
14866 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14867 assertion on O_CLOEXEC flag.
14868 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14869 * hurd/intern-fd.c: Likewise.
14870 * hurd/port2fd.c: Likewise.
14871
bcfe3a54
ST
148722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14873
14874 [BZ #3906]
14875 * bits/in.h (IPV6_PKTINFO): Define new macro.
14876 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14877
89c9aa49
AZ
148782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14879
14880 [BZ #13954]
14881 [BZ #13955]
14882 [BZ #13956]
14883 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14885 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14889 * math/libm-test.inc (logb_test) : Additional logb tests.
14890
021db4be
AJ
148912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14892 Andreas Jaeger <aj@suse.de>
14893
14894 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14895 * configure: Regenerated.
14896 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14897 * config.make.in (link-obsolete-rpc): New substituted variable.
14898 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14899 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14900 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14901 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14902 so that libc.a contains the symbols.
14903 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14904 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14905 * sunrpc/auth_none.c: Likewise.
14906 * sunrpc/auth_unix.c: Likewise.
14907 * sunrpc/authdes_prot.c: Likewise.
14908 * sunrpc/authuxprot.c: Likewise.
14909 * sunrpc/clnt_gen.c: Likewise.
14910 * sunrpc/clnt_perr.c: Likewise.
14911 * sunrpc/clnt_raw.c: Likewise.
14912 * sunrpc/clnt_simp.c: Likewise.
14913 * sunrpc/clnt_tcp.c: Likewise.
14914 * sunrpc/clnt_udp.c: Likewise.
14915 * sunrpc/clnt_unix.c: Likewise.
14916 * sunrpc/des_crypt.c: Likewise.
14917 * sunrpc/des_soft.c: Likewise.
14918 * sunrpc/get_myaddr.c: Likewise.
14919 * sunrpc/key_call.c: Likewise.
14920 * sunrpc/key_prot.c: Likewise.
14921 * sunrpc/netname.c: Likewise.
14922 * sunrpc/pm_getmaps.c: Likewise.
14923 * sunrpc/pm_getport.c: Likewise.
14924 * sunrpc/pmap_clnt.c: Likewise.
14925 * sunrpc/pmap_prot.c: Likewise.
14926 * sunrpc/pmap_prot2.c: Likewise.
14927 * sunrpc/pmap_rmt.c: Likewise.
14928 * sunrpc/publickey.c: Likewise.
14929 * sunrpc/rpc_cmsg.c: Likewise.
14930 * sunrpc/rpc_common.c: Likewise.
14931 * sunrpc/rpc_dtable.c: Likewise.
14932 * sunrpc/rpc_prot.c: Likewise.
14933 * sunrpc/rpc_thread.c: Likewise.
14934 * sunrpc/rtime.c: Likewise.
14935 * sunrpc/svc.c: Likewise.
14936 * sunrpc/svc_auth.c: Likewise.
14937 * sunrpc/svc_raw.c: Likewise.
14938 * sunrpc/svc_run.c: Likewise.
14939 * sunrpc/svc_tcp.c: Likewise.
14940 * sunrpc/svc_udp.c: Likewise.
14941 * sunrpc/svc_unix.c: Likewise.
14942 * sunrpc/svcauth_des.c: Likewise.
14943 * sunrpc/xcrypt.c: Likewise.
14944 * sunrpc/xdr.c: Likewise.
14945 * sunrpc/xdr_array.c: Likewise.
14946 * sunrpc/xdr_float.c: Likewise.
14947 * sunrpc/xdr_intXX_t.c: Likewise.
14948 * sunrpc/xdr_mem.c: Likewise.
14949 * sunrpc/xdr_rec.c: Likewise.
14950 * sunrpc/xdr_ref.c: Likewise.
14951 * sunrpc/xdr_sizeof.c: Likewise.
14952 * sunrpc/xdr_stdio.c: Likewise.
14953
b5c086a2
RM
149542012-05-10 Roland McGrath <roland@hack.frob.com>
14955
14956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14957 change. Update copyright years.
14958
6d74dd09
JM
149592012-05-10 Joseph Myers <joseph@codesourcery.com>
14960
14961 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14962
28e72501
MK
149632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14964 Joseph Myers <joseph@codesourcery.com>
14965 Paul Pluzhnikov <ppluzhnikov@google.com>
14966
14967 [BZ #14012]
14968 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14969 requiring rpcgen.
14970 [cross-compiling] (extra-libs): Likewise.
14971 [cross-compiling] (extra-libs-others): Likewise.
14972 [cross-compiling] (librpcsvc-routines): Likewise.
14973 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14974 [cross-compiling] (omit-deps): Likewise.
14975 (sunrpc-CPPFLAGS): New variable.
14976 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14977 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14978 (cross-rpcgen-objs): New variable.
14979 (extra-objs): Append $(cross-rpcgen-objs).
14980 ($(cross-rpcgen-objs)): New rule.
14981 ($(objpfx)cross-rpcgen): Likewise.
14982 (rpcgen-cmd): Define to use $(built-program-file). Expand
14983 comment.
14984 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14985 ($(objpfx)x%.stmp): Likewise.
14986 * sunrpc/proto.h [IS_IN_build] (_): Define.
14987 [IS_IN_build] (_libc_intl_domainname): Likewise.
14988
c8c59454
L
149892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14990
14991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14992 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14993 and R_X86_64_TPOFF64.
14994
6f27cd16
JM
149952012-05-10 Joseph Myers <joseph@codesourcery.com>
14996
14997 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14998 sysdeps/unix/sysv/syscalls.list.
14999 (stime): Likewise.
15000 (utime): Likewise.
15001 * sysdeps/unix/sysv/syscalls.list: Remove file.
15002
02467e1c
PE
150032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15004
15005 [BZ #3440]
15006 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15007 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15008 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15009 (__LC_IDENTIFICATION): Make these macros useful in #if
15010 expressions, as required by C99.
15011
da392631
AS
150122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15013
15014 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15015 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15016 after this.
15017
8115f29b
L
150182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15019
15020 * stdlib/longlong.h: Updated from GCC.
15021
bdd74070
AJ
150222012-05-09 Andreas Jaeger <aj@suse.de>
15023
edfe0dbe
AJ
15024 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15025 default is first entry.
15026 (run_mode): Set type.
15027 (main): Remove informal message about syslog.
15028 (options): Fix typo.
15029
bcfe3a54
ST
15030 [BZ #14053]
15031 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15032 to asm.
bcfe3a54
ST
15033 (lrint): Likewise.
15034 (llrintf): Likewise.
15035 (llrint): Likewise.
15036 (rint): Likewise.
15037 (rintf): Likewise.
15038 (nearbyint): Likewise.
15039 (nearbyintf): Likewise.
bdd74070 15040
91d8d69e
AJ
150412012-05-09 Andreas Jaeger <aj@suse.de>
15042 Pedro Alves <palves@redhat.com>
15043
15044 * nscd/nscd.c (run_mode): Use enum.
15045 (main): Cleanup coding style issue.
15046
bb90b80b
AJ
150472012-05-09 Alexandre Oliva <aoliva@redhat.com>
15048 Andreas Jaeger <aj@suse.de>
15049
bcfe3a54
ST
15050 * nscd/nscd.c (go_background): Replaced with...
15051 (run_mode): ... this.
bb90b80b 15052 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15053 (options): Add -F --foreground.
15054 (main): Implement it.
15055 (parse_opt): Parse it.
bb90b80b 15056
1a4b75a1
AJ
150572012-05-09 Andreas Jaeger <aj@suse.de>
15058
15059 [BZ #14083]
15060 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15061 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15062 -Wconversion warning.
15063 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15064 Likewise.
15065
b1cc2472
JM
150662012-05-09 Joseph Myers <joseph@codesourcery.com>
15067
15068 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15069 == 0.
15070 (LC_ALL): Use macro-int-constant.
15071 (LC_COLLATE): Likewise.
15072 (LC_CTYPE): Likewise.
15073 (LC_MESSAGES): Likewise.
15074 (LC_MONETARY): Likewise.
15075 (LC_NUMERIC): Likewise.
15076 (LC_TIME): Likewise.
15077 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15078 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15080 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15081 Specify type.
15082 [C99-based standards] (float_t): Expect type.
15083 [C99-based standards] (double_t): Expect type.
15084 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15085 type.
15086 [C99-based standards] (HUGE_VALL): Likewise.
15087 [C99-based standards] (INFINITY): Likewise.
15088 [C99-based standards] (NAN): Likewise.
15089 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15090 [C99-based standards] (FP_NAN): Likewise.
15091 [C99-based standards] (FP_NORMAL): Likewise.
15092 [C99-based standards] (FP_SUBNORMAL): Likewise.
15093 [C99-based standards] (FP_ZERO): Likewise.
15094 [C99-based standards] (FP_FAST_FMA): Use
15095 optional-macro-int-constant. Specify type. Require == 1.
15096 [C99-based standards] (FP_FAST_FMAF): Likewise.
15097 [C99-based standards] (FP_FAST_FMAL): Likewise.
15098 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15099 [C99-based standards] (FP_ILOGBNAN): Likewise.
15100 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15101 Specify type.
15102 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15103 [C99-based standards] (math_errhandling): Specify type.
15104 [ISO99 || ISO11] (signgam): Do not allow.
15105 [non-C99-based standards] (copysignf): Do not allow.
15106 [non-C99-based standards] (exp2f): Likewise.
15107 [non-C99-based standards] (log2f): Likewise.
15108 [non-C99-based standards] (modff): Allow.
15109 [non-C99-based standards] (erff): Do not allow.
15110 [non-C99-based standards] (erfcf): Likewise.
15111 [non-C99-based standards] (gammaf): Likewise.
15112 [non-C99-based standards] (hypotf): Likewise.
15113 [non-C99-based standards] (j0f): Likewise.
15114 [non-C99-based standards] (j1f): Likewise.
15115 [non-C99-based standards] (jnf): Likewise.
15116 [non-C99-based standards] (lgammaf): Likewise.
15117 [non-C99-based standards] (tgammaf): Likewise.
15118 [non-C99-based standards] (y0f): Likewise.
15119 [non-C99-based standards] (y1f): Likewise.
15120 [non-C99-based standards] (ynf): Likewise.
15121 [non-C99-based standards] (isnanf): Likewise.
15122 [non-C99-based standards] (acoshf): Likewise.
15123 [non-C99-based standards] (asinhf): Likewise.
15124 [non-C99-based standards] (atanhf): Likewise.
15125 [non-C99-based standards] (cbrtf): Likewise.
15126 [non-C99-based standards] (expm1f): Likewise.
15127 [non-C99-based standards] (ilogbf): Likewise.
15128 [non-C99-based standards] (log1pf): Likewise.
15129 [non-C99-based standards] (logbf): Likewise.
15130 [non-C99-based standards] (nextafterf): Likewise.
15131 [non-C99-based standards] (remainderf): Likewise.
15132 [non-C99-based standards] (rintf): Likewise.
15133 [non-C99-based standards] (scalbf): Likewise.
15134 [non-C99-based standards] (copysignl): Likewise.
15135 [non-C99-based standards] (exp2l): Likewise.
15136 [non-C99-based standards] (log2l): Likewise.
15137 [non-C99-based standards] (modfl): Allow.
15138 [non-C99-based standards] (erfl): Do not allow.
15139 [non-C99-based standards] (erfcl): Likewise.
15140 [non-C99-based standards] (gammal): Likewise.
15141 [non-C99-based standards] (hypotl): Likewise.
15142 [non-C99-based standards] (j0l): Likewise.
15143 [non-C99-based standards] (j1l): Likewise.
15144 [non-C99-based standards] (jnl): Likewise.
15145 [non-C99-based standards] (lgammal): Likewise.
15146 [non-C99-based standards] (tgammal): Likewise.
15147 [non-C99-based standards] (y0l): Likewise.
15148 [non-C99-based standards] (y1l): Likewise.
15149 [non-C99-based standards] (ynl): Likewise.
15150 [non-C99-based standards] (isnanl): Likewise.
15151 [non-C99-based standards] (acoshl): Likewise.
15152 [non-C99-based standards] (asinhl): Likewise.
15153 [non-C99-based standards] (atanhl): Likewise.
15154 [non-C99-based standards] (cbrtl): Likewise.
15155 [non-C99-based standards] (expm1l): Likewise.
15156 [non-C99-based standards] (ilogbl): Likewise.
15157 [non-C99-based standards] (log1pl): Likewise.
15158 [non-C99-based standards] (logbl): Likewise.
15159 [non-C99-based standards] (nextafterl): Likewise.
15160 [non-C99-based standards] (remainderl): Likewise.
15161 [non-C99-based standards] (rintl): Likewise.
15162 [non-C99-based standards] (scalbl): Likewise.
15163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15164 [non-C99-based standards] (FP_*): Do not allow.
15165 [C99-based standards] (FP_*): Change to
15166 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15167 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15168 allow.
15169 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15170 (SIG_ERR): Likewise.
15171 [X/Open-based standards] (SIG_HOLD): Likewise.
15172 (SIG_IGN): Likewise.
15173 (SIGABRT): Use macro-int-constant. Specify type. Require
15174 positive value.
15175 (SIGFPE): Likewise.
15176 (SIGILL): Likewise.
15177 (SIGINT): Likewise.
15178 (SIGSEGV): Likewise.
15179 (SIGTER): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15188 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15189 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15190 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15191 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15193 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15198 [X/Open-based standards] (SIGTRAP): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15203 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15204 allow.
15205
b9f1922d
IW
152062012-05-08 Ian Wienand <ianw@vmware.com>
15207
15208 [BZ #14080]
15209 * time/tzset.c (__tzset_parse_tz): Update default rules for
15210 daylight time changes in the Energy Policy Act of 2005.
15211
1db86e88
AJ
152122012-05-09 Andreas Jaeger <aj@suse.de>
15213
15214 [BZ #13983]
15215 * elf/ldconfig.c (parse_conf): Change string to make clear that
15216 ldconfig only issued a warning if ld.so.conf does not exist.
15217
dee4a4e3
DM
152182012-05-08 David S. Miller <davem@davemloft.net>
15219
ee0db190
DM
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15221 movxtod instead of popping the value on the stack.
15222
dee4a4e3
DM
15223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15224
6a43ec98
CD
152252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15226
15227 * config.h.in: Add HAVE_ARM_PCS_VFP.
15228
05c2c961
RMG
152292012-05-08 Roland Mc Grath <roland@hack.frob.com>
15230
bcfe3a54
ST
15231 [BZ #13979]
15232 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15233 checking but the checks are disabled for any reason.
05c2c961 15234
4b30f61a
L
152352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15238 and ELF64_R_TYPE with ELFW(R_TYPE).
15239
eee2bc67
JM
152402012-05-08 Joseph Myers <joseph@codesourcery.com>
15241
7ea5391a
JM
15242 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15243 (ulimit): Likewise.
15244
eee2bc67
JM
15245 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15246 (settimeofday): Likewise.
15247
abb66a67
MF
152482012-05-08 Mike Frysinger <vapier@gentoo.org>
15249
15250 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15251 a struct th_u2 inside the union, and move tu_block/tu_code into
15252 a new th_u3 union of tu_block/tu_code inside of that. Move
15253 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15254 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15255 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15256 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15257 (th_stuff): Change to th_u1.tu_stuff.
15258 (th_data): Define.
15259 (th_msg): Change to th_u1.th_u2.tu_data.
15260
7f18b530
DM
152612012-05-07 David S. Miller <davem@davemloft.net>
15262
05760585
DM
15263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15264
7f18b530
DM
15265 [BZ #14074]
15266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15267 (SETUP_PIC_REG): Use it.
15268 (SETUP_PIC_REG_LEAF): Use it.
15269
495fd99f
JM
152702012-05-07 Joseph Myers <joseph@codesourcery.com>
15271
15272 [BZ #13885]
15273 [BZ #13923]
15274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15275 USE_AS_EXPM1L.
15276 (EXPL_FINITE): Likewise.
15277 (FLDLOG): Likewise.
15278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15279 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15280 e_expl.S.
15281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15282 USE_AS_EXPM1L.
15283 (EXPL_FINITE): Likewise.
15284 (FLDLOG): Likewise.
15285 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15286 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15287 e_expl.S.
15288 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15289 test of -max_value argument for long double.
15290 * sysdeps/i386/fpu/libm-test-ulps: Update.
15291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15292
6693d694
DM
152932012-05-06 David S. Miller <davem@davemloft.net>
15294
15295 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15296 quad soft-float symbols whose references which are compiler
15297 generated.
15298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15299
6c23e11c
JM
153002012-05-06 Joseph Myers <joseph@codesourcery.com>
15301
d8b82cad
JM
15302 [BZ #13884]
15303 [BZ #13914]
15304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15305 USE_AS_EXP10L.
15306 (EXPL_FINITE): Likewise.
15307 (FLDLOG): Likewise.
15308 (c0): Likewise.
15309 (c1): Likewise.
15310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15311 Adjust comments for base varying.
15312 (__expl_finite): Change alias to EXPL_FINITE.
15313 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15314 e_expl.S.
15315 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15316 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15318 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15320 USE_AS_EXP10L.
15321 (EXPL_FINITE): Likewise.
15322 (FLDLOG): Likewise.
15323 (c0): Likewise.
15324 (c1): Likewise.
15325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15326 Adjust comments for base varying.
15327 (__expl_finite): Change alias to EXPL_FINITE.
15328 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15329 tests for bugs.
15330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15331
6c23e11c
JM
15332 [BZ #14064]
15333 * math/libm-test.inc (check_float_internal): Correct ulp
15334 calculation for subnormal expected results.
15335
29ba805c
AJ
153362012-05-06 Andreas Jaeger <aj@suse.de>
15337
15338 * Makeconfig (+math-flags): New, set to -frounding-math.
15339 (+cflags): Add +math-flags so that all of glibc gets compiled with
15340 it.
15341
15342 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15343
7b17aeda
JM
153442012-05-05 Joseph Myers <joseph@codesourcery.com>
15345
5779f134
JM
15346 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15347 Disable one test.
15348
41498f4d
JM
15349 [BZ #13787]
15350 [BZ #13922]
15351 [BZ #14036]
15352 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15353 (__ieee754_expl): Allow for and saturate large arguments.
15354 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15355 (u_threshold): Likewise.
15356 (__exp): Call __ieee754_exp before checking for overflow and
15357 underflow.
15358 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15359 (u_threshold): Likewise.
15360 (__expf): Call __ieee754_expf before checking for overflow and
15361 underflow.
15362 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15363 (u_threshold): Likewise.
15364 (__expl): Call __ieee754_expl before checking for overflow and
15365 underflow.
15366 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15367 (__ieee754_expl): Allow for and saturate large arguments.
15368 * math/libm-test.inc (exp_test): Add another test. Do not allow
15369 missing overflow exception on overflow.
15370 (expm1_test): Do not allow missing overflow exception on overflow.
15371
6698b8bf
JM
15372 * sysdeps/i386/fpu/e_expl.c: Move to ...
15373 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15374 rather than using inline asm.
15375 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15376 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15377 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15378
7b17aeda
JM
15379 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15380 (nice): Likewise.
15381 (poll): Likewise.
15382 (signal): Likewise.
15383 (time): Likewise.
15384 (times): Likewise.
15385
f7c85819
JM
153862012-05-04 Joseph Myers <joseph@codesourcery.com>
15387
15388 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15389 sysdeps/unix/common/syscalls.list.
15390 (fchmod): Likewise.
15391 (fchown): Likewise.
15392 (ftruncate): Likewise.
15393 (getrusage): Likewise.
15394 (gettimeofday): Likewise.
15395 (setpgid): Likewise.
15396 (setregid): Likewise.
15397 (setreuid): Likewise.
15398 (sigaction): Likewise.
15399 (truncate): Likewise.
15400 (vhangup): Likewise.
15401 * sysdeps/unix/common/syscalls.list: Remove file.
15402 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15403 * sysdeps/unix/sysv/linux/Implies: Likewise.
15404
336270d0
L
154052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15406
15407 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15409 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15410 Moved to ...
15411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15412 Here.
15413 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15414 to ...
15415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15416 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15417 to ...
15418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15419 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15420 to ...
15421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15423 to ...
15424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15426 to ...
15427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15429 to ...
15430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15431 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15432 to ...
15433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15434 Here.
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15436 to ...
15437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15438 Here.
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15440 to ...
15441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15443 Moved to ...
15444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15445 Here.
15446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15447 to ...
15448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15449
d128e450
JM
154502012-05-04 Joseph Myers <joseph@codesourcery.com>
15451
fa8ee516
JM
15452 * sysdeps/unix/common/bits/dirent.h: Remove file.
15453 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15454
d128e450
JM
15455 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15456 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15457 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15458 * sysdeps/unix/bsd/isatty.c: Likewise.
15459 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15460 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15461 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15462
ff8faaf0 154632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15464
62881be4 15465 [BZ #13563]
31dc8730
AZ
15466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15467 long double comparison inaccuracies.
15468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15470
6fef930c
AS
154712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15472
15473 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15475
8f203e6c
JM
154762012-05-04 Joseph Myers <joseph@codesourcery.com>
15477
15478 [BZ #14049]
15479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15480 nonzero digits before rounding a hex value.
15481 * stdlib/tst-strtod.c (tests): Add another test.
15482
5197d9c2
AK
154832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15484
15485 * sysdeps/s390/fpu/libm-test-ulps: Update.
15486
f0c1dedf
AJ
154872012-05-03 Andreas Jaeger <aj@suse.de>
15488
15489 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15490 does not get optimized out.
15491 (malloc_opt_barrier): New.
15492
a65ef2ae 154932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15494 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15495
2b942cb7 15496 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15497 intermediate file deletion.
2b942cb7 15498 (generated): Add .symlist files.
a65ef2ae 15499
54b71e02
JM
155002012-05-03 Joseph Myers <joseph@codesourcery.com>
15501
15502 [BZ #13775]
15503 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15504 Redirect under this condition.
15505 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15506 [__USE_GNU] (__dprintf_chk): Not under this condition.
15507 [__USE_GNU] (__vdprintf_chk): Likewise.
15508 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15509 under this condition.
15510 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15511 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15512 [__USE_XOPEN2K8] (vdprintf): Likewise.
15513 [__USE_GNU] (__dprintf_chk): Not under this condition.
15514 [__USE_GNU] (__vdprintf_chk): Likewise.
15515 [__USE_GNU] (dprintf): Likewise.
15516 [__USE_GNU] (vdprintf): Likewise.
15517
d3dfcc41
RM
155182012-05-03 Roland McGrath <roland@hack.frob.com>
15519
15520 * elf/Makefile (common-generated): Set this instead of generated for
15521 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15522 $(all-built-dso)-derived lists.
15523
7ac30cc5
AJ
155242012-05-03 Andreas Jaeger <aj@suse.de>
15525
0c51e550
AJ
15526 * sysdeps/i386/fpu/libm-test-ulps: Update.
15527
7ac30cc5
AJ
15528 * FAQ: Removed.
15529 * FAQ.in: Likewise.
15530 * scripts/gen-FAQ.pl: Likewise.
15531 * manual/install.texi (Installation): Point to online location of
15532 FAQ.
15533 * Makefile (files-for-dist): Remove FAQ.
15534 (FAQ): Remove.
15535
d4c2917f
AM
155362012-05-02 Allan McRae <allan@archlinux.org>
15537
15538 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15539 (LDFLAGS-reldepmod5.so): Likewise.
15540 (LDFLAGS-reldep6mod1.so): Likewise.
15541 (LDFLAGS-reldep6mod4.so): Likewise.
15542 (LDFLAGS-reldep8mod3.so): Likewise.
15543 (LDFLAGS-unload4mod1.so): Likewise.
15544 (LDFLAGS-unload4mod2.so): Likewise.
15545 (LDFLAGS-tst-initorder): Likewise.
15546 (LDFLAGS-tst-initordera2.so): Likewise.
15547 (LDFLAGS-tst-initordera3.so): Likewise.
15548 (LDFLAGS-tst-initordera4.so): Likewise.
15549 (LDFLAGS-tst-initorderb2.so): Likewise.
15550 (LDFLAGS-noload): Likewise.
15551 (LDFLAGS-next): Likewise.
15552 (LDFLAGS-order2mod1.so): Likewise.
15553 (LDFLAGS-order2mod2.so): Likewise.
15554 (LDFLAGS-tst-initorder2): Likewise.
15555 (LDFLAGS-tst-initorder2a.so): Likewise.
15556 (LDFLAGS-tst-initorder2b.so): Likewise.
15557 (LDFLAGS-tst-initorder2c.so): Likewise.
15558 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15559
d77f993f
DM
155602012-05-02 David S. Miller <davem@davemloft.net>
15561
15562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15563
171a70b4
PP
155642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15565
15566 [BZ #14055]
15567 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15568
0be196ad
AJ
155692012-05-02 Andreas Jaeger <aj@suse.de>
15570
15571 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15572 since we manipulate rounding mode.
15573 (CPPFLAGS-test-idouble.c): Likewise.
15574 (CPPFLAGS-test-ifloat.c): Likewise.
15575 (CFLAGS-test-ldouble.c): Likewise.
15576 (CFLAGS-test-double.c): Likewise.
15577 (CFLAGS-test-float.c): Likewise.
15578 (CFLAGS-test-misc.c): Likewise.
15579 (CFLAGS-test-test-fenv.c): Likewise.
15580
4f9d04aa
AZ
155812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15582
2b942cb7
RM
15583 [BZ #2550]
15584 [BZ #2570]
15585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15586 comparisons to determine direction to adjust input.
4f9d04aa 15587
82a79e7d
RM
155882012-05-01 Roland McGrath <roland@hack.frob.com>
15589
f5a01ca9
RM
15590 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15591 output to the target.
15592
90fe4186
RM
15593 * scripts/localplt.awk: New file.
15594 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15595 (check-localplt-CFLAGS): Variable removed.
15596 ($(all-built-dso:=.jmprel)): New static pattern rule.
15597 (generated): Add those targets.
15598 (localplt-built-dso): New variable.
15599 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15600
15601 * elf/check-localplt.c: File removed.
15602
82397ed6
RM
15603 * scripts/check-execstack.awk: New file.
15604 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15605 (check-execstack-CFLAGS): Variable removed.
15606 ($(objpfx)check-execstack.h): Target removed.
15607 ($(objpfx)execstack-default): New target.
15608 (generated): Add that instead of check-execstack.h.
15609 ($(all-built-dso:=.phdr)): New static pattern rule.
15610 (generated): Add those targets.
15611 * elf/check-execstack.c: File removed.
15612
82a79e7d
RM
15613 * scripts/check-textrel.awk: New file.
15614 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15615 (check-textrel-CFLAGS): Variable removed.
15616 (all-built-dso): Use := to define.o
15617 ($(all-built-dso:=.dyn)): New static pattern rule.
15618 (generated): Add those targets.
15619 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15620 * config.make.in (READELF): New substituted variable.
15621 * elf/check-textrel.c: File removed.
15622
62fde54f 156232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15624
615605c9
JM
15625 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15626 allow.
15627 * conform/data/ctype.h-data [C99-based standards] (isblank):
15628 Expect function.
15629 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15630 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15632 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15633 Specify type. Require positive value.
15634 (EILSEQ): Likewise.
15635 (ERANGE): Likewise.
15636 [ISO || POSIX] (EILSEQ): Do not expect.
15637 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15638 Specify type. Require positive value.
15639 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15713 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15714 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15715 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15716 Require >= 2.
15717 (FLT_ROUNDS): Expect as macro, not constant.
15718 (FLT_MANT_DIG): Use macro-int-constant.
15719 (DBL_MANT_DIG): Likewise.
15720 (LDBL_MANT_DIG): Likewise.
15721 (FLT_DIG): Likewise.
15722 (DBL_DIG): Likewise.
15723 (LDBL_DIG): Likewise.
15724 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15725 (DBL_MIN_EXP): Likewise.
15726 (LDBL_MIN_EXP): Likewise.
15727 (FLT_MAX_EXP): Use macro-int-constant.
15728 (DBL_MAX_EXP): Likewise.
15729 (LDBL_MAX_EXP): Likewise.
15730 (FLT_MAX_10_EXP): Likewise.
15731 (DBL_MAX_10_EXP): Likewise.
15732 (LDBL_MAX_10_EXP): Likewise.
15733 (FLT_MAX): Use macro-constant.
15734 (DBL_MAX): Likewise.
15735 (LDBL_MAX): Likewise.
15736 (FLT_EPSILON): Use macro-constant. Give upper bound.
15737 (DBL_EPSILON): Likewise.
15738 (LDBL_EPSILON): Likewise.
15739 (FLT_MIN): Likewise.
15740 (DBL_MIN): Likewise.
15741 (LDBL_MIN): Likewise.
15742 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15743 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15744 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15745 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15746 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15747 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15748 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15749 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15750 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15751 [ISO11] (FLT_TRUE_MIN): Likewise.
15752 [ISO11] (LDBL_TRUE_MIN): Likewise.
15753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15754 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15755 (SCHAR_MIN): Use macro-int-constant. Specify type.
15756 (SCHAR_MAX): Likewise.
15757 (UCHAR_MAX): Likewise.
15758 (CHAR_MIN): Likewise.
15759 (CHAR_MAX): Likewise.
15760 (MB_LEN_MAX): Use macro-int-constant.
15761 (SHRT_MIN): Use macro-int-constant. Specify type.
15762 (SHRT_MAX): Likewise.
15763 (USHRT_MAX): Likewise.
15764 (INT_MAX): Likewise.
15765 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15766 bound negative.
15767 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15768 bound with "U".
15769 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15770 bound with "L".
15771 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15772 bound negative. Suffix upper bound with "L".
15773 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15774 bound with "UL".
15775 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15776 Specify type.
15777 [C99-based standards] (LLONG_MAX): Likewise.
15778 [C99-based standards] (ULLONG_MAX): Likewise.
15779 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15780 == 0.
15781 [ISO11] (max_align_t): Require type.
15782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15783
c9140a62
JM
15784 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15785 from $CFLAGS, without defining away __attribute__ calls.
15786 (checknamespace): Use $CFLAGS_namespace.
15787
9af0bf29
JM
15788 * conform/conformtest.pl (@keywords): Only include C99 keywords
15789 for standards based on C99 or C11.
15790
343222a2
JM
15791 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15792 Disable tests.
15793 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15794 UNIX98]: Likewise.
15795
661f8cf0
JM
15796 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15797 usability of symbols in #if.
15798
ee74b9cb
JM
15799 * conform/conformtest.pl: If macro or constant types start
15800 "promoted:", expect the symbol to be of the following type
15801 promoted by the integer promotions.
62fde54f 15802
aafc49b3
JM
15803 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15804 in one place. Also handle "macro-constant".
15805
fefdf574
JM
15806 * conform/conformtest.pl: Only accept expected macro values with
15807 "==". Parse all "macro" lines in one place.
15808 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15809
f2d922fe
JM
15810 * conform/conformtest.pl: Handle braced types on "constant" lines
15811 instead of handling "typed-constant".
15812 * conform/data/signal.h-data: Use "constant" instead of
15813 "typed-constant".
15814
d22956c9
JM
15815 * conform/conformtest.pl: Handle "optional-" at start of lines in
15816 one place rather than duplicating several cases. Handle each
15817 format of "macro" line with initial "optional-".
15818
028e2e38
JM
15819 * conform/conformtest.pl: Only accept expected constant or
15820 optional-constant values with "==". Parse all "constant" lines in
15821 one place. Parse all "optional-constant" lines in one place.
15822 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15823 * conform/data/fmtmsg.h-data: Likewise.
15824 * conform/data/netinet/in.h-data: Likewise.
15825 * conform/data/tar.h-data: Likewise.
15826 * conform/data/limits.h-data: Use "==" form on "constant" and
15827 "optional-constant" lines.
15828
1b8f2850
JM
15829 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15830 Use -std=c99 for XOPEN2K.
15831 (@knownproblems): Remove.
15832 (newtoken): Don't check %isknown.
15833
a05a144b
JM
15834 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15835 Do not expect macro.
15836 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15848 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15849 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15866 [XPG3] (acosh): Likewise.
15867 [XPG3] (asinh): Likewise.
15868 [XPG3] (atanh): Likewise.
15869 [XPG3] (cbrt): Likewise.
15870 [XPG3] (expm1): Likewise.
15871 [XPG3] (ilogb): Likewise.
15872 [XPG3] (log1p): Likewise.
15873 [XPG3] (logb): Likewise.
15874 [XPG3] (nextafter): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15877 [XPG3] (remainder): Likewise.
15878 [XPG3] (rint): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15886 [UNIX98 || XOPEN2K] (scalb): Expect.
15887 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15888 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16024
73c5ebe3
JM
16025 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16026 _XOPEN_SOURCE_EXTENDED for XPG4.
16027
39c33b6c
JM
16028 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16029
62fde54f
JM
16030 * Makeconfig (localtime): Remove variable.
16031 (inst_localtime-file): Likewise.
16032
0741d64c
AS
160332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16034
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16036 Update.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16038 Update.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16040 Update.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16042 Update.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16044 Update.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16046 Update.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16048 Update.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16050 Update.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16052 Update.
16053
7cb029ee
JM
160542012-05-01 Joseph Myers <joseph@codesourcery.com>
16055
16056 [BZ #2550]
16057 [BZ #2570]
16058 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16059 comparisons to determine direction to adjust input.
16060 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16061 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16063 Likewise.
16064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16065 Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16067 Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16070 Likewise.
16071 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16072 Likewise.
16073 * math/libm-test.inc (nexttoward_test): Add more tests.
16074
412bd966
AS
160752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16076
16077 [BZ #14040]
16078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16079 in version GLIBC_2.1, not GLIBC_2.0.
16080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16081 Likewise.
16082
9568c0c2
JM
160832012-04-30 Joseph Myers <joseph@codesourcery.com>
16084
adfbc8ac
JM
16085 [BZ #13942]
16086 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16087 (1 - x) * (1 + x).
16088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16089 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16090 * math/libm-test.inc (acos_test): Add more tests.
16091 (asin_test): Likewise.
16092 * sysdeps/i386/fpu/libm-test-ulps: Update.
16093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16094
5ba3cc69
JM
16095 [BZ #14034]
16096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16097 of square root.
16098 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16099 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16100 * math/libm-test.inc (acos_test_tonearest): New function.
16101 (acos_test_towardzero): Likewise.
16102 (acos_test_downward): Likewise.
16103 (acos_test_upward): Likewise.
16104 (asin_test_tonearest): Likewise.
16105 (asin_test_towardzero): Likewise.
16106 (asin_test_downward): Likewise.
16107 (asin_test_upward): Likewise.
16108 (main): Call the new functions.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16111
9568c0c2
JM
16112 [BZ #13884]
16113 [BZ #13924]
16114 * math/e_exp10.c: Include <float.h>.
16115 (__ieee754_exp10): Handle underflow here rather than multiplying
16116 large negative argument by M_LN10.
16117 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16118 of __ieee754_expf.
16119 * math/e_exp10l.c: Include <float.h>.
16120 (__ieee754_exp10l): Handle underflow here rather than multiplying
16121 large negative argument by M_LN10l.
16122 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16123 spurious overflow exception on underflow.
16124
5ac3ea17
MP
161252012-04-29 Marek Polacek <polacek@redhat.com>
16126
16127 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16128 (__fortify_function): New macro.
16129 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16130 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16131 __extern_always_inline.
16132 * libio/bits/stdio2.h: Likewise.
16133 * libio/bits/stdio.h: Likewise.
16134 * string/string.h: Likewise.
16135 * string/bits/string3.h: Likewise.
16136 * include/stdio.h: Likewise.
16137 * stdlib/bits/stdlib.h: Likewise.
16138 * stdlib/stdlib.h: Likewise.
16139 * rt/bits/mqueue2.h: Likewise.
16140 * rt/mqueue.h: Likewise.
16141 * posix/bits/unistd.h: Likewise.
16142 * posix/unistd.h: Likewise.
16143 * io/bits/poll2.h: Likewise.
16144 * io/bits/fcntl2.h: Likewise.
16145 * io/fcntl.h: Likewise.
16146 * io/sys/poll.h: Likewise.
16147 * misc/bits/syslog.h: Likewise.
16148 * misc/bits/syslog-ldbl.h: Likewise.
16149 * misc/sys/syslog.h: Likewise.
16150 * socket/bits/socket2.h: Likewise.
16151 * socket/sys/socket.h: Likewise.
16152 * debug/tst-chk1.c: Likewise.
16153 * wcsmbs/bits/wchar2.h: Likewise.
16154 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16155 * wcsmbs/wchar.h: Likewise.
16156
ecf0ebfb
AJ
161572012-04-29 Andreas Jaeger <aj@suse.de>
16158
16159 * Makerules (tests): Remove enable-check-abi protection.
16160 (check-abi-warn): Remove.
16161 (check-abi-%): Remove check-abi-warn usage.
16162
16163 * configure.in: Remove check-abi configure option.
16164 * configure: Regenerated.
16165 * config.make.in (enable-check-abi): Remove.
16166
6d5c57fa
AS
161672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16168
24c5d07e 16169 [BZ #14033]
ded5180a
AS
16170 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16171 double functions to double *_finite functions.
16172
7e0d315d
AS
16173 [BZ #13941]
16174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16175 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16176 LDBL_MIN_EXP.
16177 * stdio-common/Makefile (tests): Add tst-sprintf3.
16178 * stdio-common/tst-sprintf3.c: New file.
16179
6d5c57fa
AS
16180 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16181 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16182
0749ff8b
JM
161832012-04-28 Joseph Myers <joseph@codesourcery.com>
16184
16185 * conform/conformtest.pl: Remove duplicate typed-constant
16186 handling.
16187
8dbd5d7b
DM
161882012-04-28 David S. Miller <davem@davemloft.net>
16189
16190 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16191 (check-abi-%): Remove AWK script prerequisite and explicit
16192 abilist directory.
16193 (check-abi): Rewrite to just diff the symlist with the abilist.
16194 (config-tls, config-abi-config): Delete, no longer used.
16195 (update-abi-%): Remove AWK script and explicit abilist directory.
16196 (update-abi): Rewrite to simply compare and conditionally copy the
16197 symlist and the sysdep abilist file. Remove update-abi-config
16198 checks.
16199 * abilist/ld.abilist: Remove.
16200 * abilist/libBrokenLocale.abilist: Remove.
16201 * abilist/libanl.abilist: Remove.
16202 * abilist/libcrypt.abilist: Remove.
16203 * abilist/libdl.abilist: Remove.
16204 * abilist/librt.abilist: Remove.
16205 * abilist/libthread_db.abilist: Remove.
16206 * abilist/libutil.abilist: Remove.
16207 * scripts/extract-abilist.awk: Remove.
16208 * scripts/merge-abilist.awk: Remove.
16209 * sysdeps/generic/libcidn.abilist: New file.
16210 * sysdeps/generic/libnss_compat.abilist: New file.
16211 * sysdeps/generic/libnss_db.abilist: New file.
16212 * sysdeps/generic/libnss_dns.abilist: New file.
16213 * sysdeps/generic/libnss_files.abilist: New file.
16214 * sysdeps/generic/libnss_hesiod.abilist: New file.
16215 * sysdeps/generic/libnss_nis.abilist: New file.
16216 * sysdeps/generic/libnss_nisplus.abilist: New file.
16217 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16219 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16220 file.
16221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16223 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16224 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16225 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16226 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16227 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16228 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16229 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16230 file.
16231 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16232 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16234 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16235 file.
16236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16237 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16239 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16240 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16241 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16242 file.
16243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16244 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16246 file.
16247 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16249 New file.
16250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16251 New file.
16252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16253 New file.
16254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16255 New file.
16256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16257 New file.
16258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16259 New file.
16260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16261 New file.
16262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16263 New file.
16264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16265 New file.
16266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16267 New file.
16268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16269 New file.
16270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16271 New file.
16272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16273 New file.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16275 file.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16277 New file.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16279 New file.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16281 file.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16283 New file.
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16285 New file.
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16287 file.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16289 New file.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16291 New file.
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16293 New file.
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16295 New file.
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16297 New file.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16299 New file.
16300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16302 file.
16303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16304 New file.
16305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16306 file.
16307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16308 file.
16309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16310 file.
16311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16312 file.
16313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16314 file.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16316 New file.
16317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16318 file.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16320 file.
16321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16322 New file.
16323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16324 file.
16325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16327 file.
16328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16329 New file.
16330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16331 file.
16332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16333 file.
16334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16335 file.
16336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16337 file.
16338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16339 file.
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16341 New file.
16342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16343 file.
16344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16345 file.
16346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16347 New file.
16348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16349 file.
16350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16351 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16352 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16353 file.
16354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16355 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16356 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16357 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16358 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16359 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16360 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16362 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16363 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16366 file.
16367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16368 New file.
16369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16370 file.
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16372 file.
16373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16374 file.
16375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16376 file.
16377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16378 file.
16379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16380 New file.
16381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16382 New file.
16383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16384 file.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16386 New file.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16388 file.
16389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16391 file.
16392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16393 New file.
16394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16395 file.
16396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16397 file.
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16399 file.
16400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16401 file.
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16403 file.
16404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16405 New file.
16406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16407 New file.
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16409 file.
16410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16411 New file.
16412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16413 file.
16414
41d73a1b
JM
164152012-04-28 Joseph Myers <joseph@codesourcery.com>
16416
16417 * conform/conformtest.pl: Fix typo in handling typed-constant from
16418 allow-header.
16419
28aeeda4
JM
164202012-04-27 Joseph Myers <joseph@codesourcery.com>
16421
adae8f5e
JM
16422 * README: Cut down references to pre-2.6 Linux kernels and
16423 Linuxthreads. Update lists of configurations in libc and ports
16424 and sort alphabetically. Say "or newer" with Linux kernel version
16425 requirements.
16426
28aeeda4
JM
16427 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16428
a462cb63
RA
164292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16430
16431 [BZ #887]
16432 * math/libm-test.inc (logb_test_downward): New test to expose
16433 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16434 rounding mode.
16435
6ad3493e
JM
164362012-04-27 Joseph Myers <joseph@codesourcery.com>
16437
16438 [BZ #14027]
16439 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16440 to be done.
16441 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16442 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16443
2ce4f015
JM
164442012-04-26 Joseph Myers <joseph@codesourcery.com>
16445
5aeb141a
JM
16446 * sysdeps/unix/i386/brk.S: Remove file.
16447 * sysdeps/unix/i386/dl-brk.S: Likewise.
16448 * sysdeps/unix/i386/pipe.S: Likewise.
16449 * sysdeps/unix/i386/sigreturn.S: Likewise.
16450 * sysdeps/unix/i386/syscall.S: Likewise.
16451 * sysdeps/unix/i386/vfork.S: Likewise.
16452 * sysdeps/unix/i386/wait.S: Likewise.
16453
7143acae
JM
16454 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16455 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16456
2ce4f015
JM
16457 * configure.in (arm*-none*): Do not allow without
16458 --enable-hacker-mode.
16459 (netbsd*): Remove case setting base_os.
16460 (386bsd*): Likewise.
16461 (freebsd*): Likewise.
16462 (bsdi*): Likewise.
16463 (osf*): Likewise.
16464 (sunos*): Likewise.
16465 (ultrix*): Likewise.
16466 (newsos*): Likewise.
16467 (dynix*): Likewise.
16468 (*bsd*): Likewise.
16469 (sysv*): Likewise.
16470 (isc*): Likewise.
16471 (esix*): Likewise.
16472 (sco*): Likewise.
16473 (minix*): Likewise.
16474 (irix4*): Likewise.
16475 (irix6*): Likewise.
16476 (solaris[2-9]*): Likewise.
16477 (none): Likewise.
16478 * configure: Regenerated.
16479
0ac229c8
AZ
164802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481
16482 [BZ #11521]
16483 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16484 overflow or cancellation in calculating denominator.
16485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16487 down expression to avoid unexpected rounding in newer GCCs.
16488 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16489
33f244f4
DM
164902012-04-26 David S. Miller <davem@davemloft.net>
16491
16492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16493 long-double compat symbols.
16494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16507
cfa1f3e8
DM
165082012-04-25 David S. Miller <davem@davemloft.net>
16509
16510 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16511 HWCAP_* values only after the memory barriers have been defined.
16512 (atomic_full_barrier): Define.
16513 (atomic_read_barrier): Define.
16514 (atomic_write_barrier): Define.
16515
6e236b92
SP
165162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16517
16518 * shlib-versions: Add libgcc_s version information.
16519 * sysdeps/generic/libgcc_s.h: Remove.
16520 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16521 libgcc_s.h.
16522 * sysdeps/gnu/unwind-resume.c: Likewise.
16523 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16524
aab39a09
DM
165252012-04-25 David S. Miller <davem@davemloft.net>
16526
16527 * sysdeps/unix/sparc/brk.S: Delete.
16528 * sysdeps/unix/sparc/dl-brk.S: Delete.
16529 * sysdeps/unix/sparc/pipe.S: Delete.
16530 * sysdeps/unix/sparc/sysdep.S: Delete.
16531 * sysdeps/unix/sparc/sysdep.h: Delete.
16532 * sysdeps/unix/sparc/vfork.S: Delete.
16533 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16534 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16536 ret_ERRVAL, r0, r1, MOVE): Define.
16537 (JUMPTARGET): Remove.
16538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16539 sysdeps/unix/sparc/sysdep.h
16540 (ENTRY, END): Remove.
16541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16542
a3cc4f48
JM
165432012-04-25 Joseph Myers <joseph@codesourcery.com>
16544
2ed8cda2
JM
16545 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16546 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16547 -DIS_IN_build.
16548
35d76d59
JM
16549 * timezone/README: Update upstream location and email address for
16550 tzcode and tzdata.
16551 * timezone/zdump.c: Update from tzcode 2012b.
16552 * timezone/zic.c: Likewise.
16553
a3cc4f48
JM
16554 * configure.in (libc_cv_as_needed): Remove test.
16555 * configure: Regenerated.
16556 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16557 conditional definition.
16558 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16559 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16560 * config.make.in (have-as-needed): Remove variable.
16561
ceab42c3
SP
165622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16563 Paul Pluzhnikov <ppluzhnikov@google.com>
16564
16565 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16566 strings correctly.
16567
3ce2865f
CLT
165682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16569
16570 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16571 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16572 * sysdeps/sh/strlen.S: Likewise.
16573
f37e0d68
JM
165742012-04-24 Joseph Myers <joseph@codesourcery.com>
16575
ae186e9a
JM
16576 * sysdeps/unix/fork.S: Remove file.
16577 * sysdeps/unix/i386/fork.S: Likewise.
16578 * sysdeps/unix/sparc/fork.S: Likewise.
16579
b96914af
JM
16580 * sysdeps/unix/system.c: Remove file.
16581 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16582
f37e0d68
JM
16583 * sysdeps/unix/getegid.S: Remove file.
16584 * sysdeps/unix/geteuid.S: Likewise.
16585
87ef29ca
RM
165862012-04-24 Roland McGrath <roland@hack.frob.com>
16587
83bcd236
RM
16588 * scripts/check-localplt.awk: New file.
16589 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16590 of diff.
16591 * scripts/data/localplt-generic.data: Add a comment.
16592
87ef29ca
RM
16593 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16594 NODE when __dir_mkfile failed.
16595 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16596 Reported by Ludovic Courtès <ludo@gnu.org>.
16597
e5a6e567
AJ
165982012-04-24 Andreas Jaeger <aj@suse.de>
16599
16600 * Makerules (common-clean): Also remove gen-as-const-headers
16601 files.
16602
c1820385
JM
166032012-04-24 Joseph Myers <joseph@codesourcery.com>
16604
16605 * Makerules (native-compile): Do not change working directory for
16606 build. Use $(OUTPUT_OPTION) in command.
16607 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16608
94e02fc4
AZ
166092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610
16611 [BZ #13886]
16612 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16613 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16614 * math/libm-test.inc (floor_test): Add more tests.
16615 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16616
3a533ca3
JM
166172012-04-24 Joseph Myers <joseph@codesourcery.com>
16618
940ab4b3
JM
16619 * sysdeps/unix/getdents.c: Remove file.
16620 * sysdeps/unix/sysv/getdents.c: Likewise.
16621 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16622
90e037bd
JM
16623 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16624 sysdeps/unix/mman/syscalls.list.
16625 (mmap): Likewise.
16626 (mprotect): Likewise.
16627 (msync): Likewise.
16628 (munmap): Likewise.
16629 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16630 * sysdeps/unix/mman/syscalls.list: Remove.
16631 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16632
3a533ca3
JM
16633 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16634 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16635 * configure: Regenerated.
16636 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16637 $(libgcc_s_suffix).
16638 * config.make.in (libgcc_s_suffix): Remove variable.
16639
1ad743de
JM
166402012-04-23 Joseph Myers <joseph@codesourcery.com>
16641
4ad451e2
JM
16642 * sysdeps/unix/sysv/gethostname.c: Move to ...
16643 * sysdeps/posix/gethostname.c: ... here.
16644
5e37ce39
JM
16645 * sysdeps/unix/execve.S: Remove file.
16646
1ad743de
JM
16647 * sysdeps/unix/_exit.S: Remove file.
16648
4e681b5b
AJ
166492012-04-23 Andreas Jaeger <aj@suse.de>
16650
16651 [BZ #13739]
16652 * manual/Makefile: Remove make dist support, there's no
16653 need for a stand-alone documentation tar ball.
16654 (TEXI2DVI): Define always, it's not in Makeconfig.
16655 (dist): Removed.
16656 (tar-it): Removed.
16657 (edition): Removed.
16658 (glibc-doc-$(edition).tar): Removed
16659 (%.Z): Removed.
16660 (%.gz): Removed.
16661 (%.uu): Removed.
16662 (ETAGS): Remove, it's in Makeconfig.
16663 (move-if-change): Remove, it's in Makeconfig.
16664
38686a03 166652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16666
16667 [BZ #13970]
16668 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16669 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16670 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16671 (strtod_l, strtof_l, strtold_l): Remove __wur.
16672 It is not necessarily an error to ignore strtol's return value.
16673 One can reliably look at the stored endptr to decide whether
16674 the number had valid syntax.
16675
7c0616fa
AJ
166762012-04-21 Andreas Jaeger <aj@suse.de>
16677
803cb6b7 16678 [BZ #13739]
7c0616fa
AJ
16679 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16680
b0fe253f
JM
166812012-04-21 Joseph Myers <joseph@codesourcery.com>
16682
16683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16684 * sysdeps/unix/sysv/Versions: Remove file.
16685
8280f22d
MT
166862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16687
16688 [BZ #13927]
16689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16690
75ce411f 166912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16692
16693 [BZ #7064]
16694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16695 version from __vm86.
16696
097d59fa
JM
166972012-04-20 Joseph Myers <joseph@codesourcery.com>
16698
a90f3bcb
JM
16699 * sysdeps/unix/common/lxstat.c: Remove file.
16700 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16701
edc7ea78
JM
16702 * sysdeps/unix/sysv/Makefile: Remove file.
16703
cb78c221
JM
16704 * sysdeps/unix/sysv/direct.h: Remove file.
16705
efa6a45f
JM
16706 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16707 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16708 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16709 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16710 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16711 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16712 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16713
9c9f2d0c
JM
16714 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16715
4541c83b
JM
16716 * sysdeps/unix/xmknod.c: Remove file.
16717 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16718
f5d153a0
JM
16719 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16720
aa746595
JM
16721 * sysdeps/unix/sysv/i386/time.S: Remove file.
16722
cce5905e
JM
16723 * sysdeps/unix/fxstat.c: Remove file.
16724 * sysdeps/unix/xstat.c: Likewise.
16725 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16726
37fa3841
JM
16727 * sysdeps/unix/sysv/sigaction.c: Remove file.
16728
ff1962a3
JM
16729 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16730 (sysdep_headers): Remove variable.
16731 [termio.h not in sysdep_headers] (generated): Likewise.
16732 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16733 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16734 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16735 * sysdeps/unix/sysv/tcflow.c: Likewise.
16736 * sysdeps/unix/sysv/tcflush.c: Likewise.
16737 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16738 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16739 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16740 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16741 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16742
e7740d31
JM
16743 * sysdeps/unix/siglist.c: Remove file.
16744
ee06f18b
JM
16745 * sysdeps/unix/getppid.S: Remove file.
16746
097d59fa
JM
16747 * sysdeps/unix/mkdir.c: Remove file.
16748 * sysdeps/unix/rmdir.c: Likewise.
16749
ff3d51ec
AS
167502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16751
16752 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16753 ERR_MAX value.
16754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16755 errlist-compat value.
16756
50f81fd7
DM
167572012-04-18 David S. Miller <davem@davemloft.net>
16758
16759 * sysdeps/generic/memcopy.h (reg_char): Delete.
16760 * debug/strcat_chk.c: Use char, not reg_char.
16761 * debug/strcpy_chk.c: Likewise.
16762 * debug/strncat_chk.c: Likewise.
16763 * debug/strncpy_chk.c: Likewise.
16764 * string/memchr.c: Likewise.
16765 * string/memrchr.c: Likewise.
16766 * string/rawmemchr.c: Likewise.
16767 * string/strcat.c: Likewise.
16768 * string/strchr.c: Likewise.
16769 * string/strchrnul.c: Likewise.
16770 * string/strcmp.c: Likewise.
16771 * string/strcpy.c: Likewise.
16772 * string/strncat.c: Likewise.
16773 * string/strncmp.c: Likewise.
16774 * string/strncpy.c: Likewise.
16775
8ff41c46
WS
167762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16777
16778 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16779 __builtin_memcopy is called when src and dest ranges are known to not
16780 overlap.
16781
6b652f46
WS
167822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16783
16784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16785 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16786 fwd_align_merge macro call.
16787 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16788 bwd_align_merge macro call.
16789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16790
b282631e
WS
167912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16792
16793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16794 bwd_align_merge macros.
16795 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16796 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16798
95aa737c
DM
167992012-04-18 David S. Miller <davem@davemloft.net>
16800
16801 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16802
7a99a614
AJ
168032012-04-18 Andreas Jaeger <aj@suse.de>
16804
16805 [BZ# 6794]
16806 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16807 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16809
16810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16811 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16813
16814 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16815 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16816 Adjust for changed ldbl-128 files.
16817
16818 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16819 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16821
e5270c23
DM
168222012-04-17 David S. Miller <davem@davemloft.net>
16823
16824 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16825
fb5e92c9
AS
168262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16827
16828 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16829 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16830 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16831 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16832 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16833 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16834
76da7265
AZ
168352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16836
16837 [BZ #6794]
16838 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16839 * math/libm-test.inc: Add ilogb errno and exception tests.
16840 * math/w_ilogb.c: New file: ilogb wrapper.
16841 * math/w_ilogbf.c: New file: ilogbf wrapper.
16842 * math/w_ilogbl.c: New file: ilogbl wrapper.
16843 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16844 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16845 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16846 exception being thrown with 0.0 as argument.
16847 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16848 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16849 exception being thrown with 0.0 as argument.
16850 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16851 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16852 exception being thrown with 0.0 as argument.
16853 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16854 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16855 exception being thrown with 0.0 as argument.
16856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16857 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16858 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16859 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16861 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16862 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16863 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16864 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16865
0396e69d
PB
168662012-04-17 Petr Baudis <pasky@ucw.cz>
16867
16868 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16869 with altivec.
16870
750b5926
MP
168712012-04-16 Marek Polacek <polacek@redhat.com>
16872
16873 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16874
751728a1
MP
168752012-04-16 Marek Polacek <polacek@redhat.com>
16876
16877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16878 operands of fdivp instruction.
16879
34a27407
L
168802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16881
16882 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16883 * elf/tst-auditmod3b.c: Likewise.
16884 * elf/tst-auditmod4b.c: Likewise.
16885 * elf/tst-auditmod5b.c: Likewise.
16886 * elf/tst-auditmod6b.c: Likewise.
16887 * elf/tst-auditmod6c.c: Likewise.
16888 * elf/tst-auditmod7b.c: Likewise.
16889 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16890 * sysdeps/x86_64/preconfigure.in: Likewise.
16891 * sysdeps/x86_64/preconfigure: Regenerated.
16892
7e73e17d
L
168932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16896 __ILP32__.
16897
c7a6ab72
AB
168982012-04-13 Antoine Balestrat <merkil33@gmail.com>
16899
16900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16901 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16902
a9e8e0e0
CL
169032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16904
16905 [BZ #13973]
16906 * locale/iso-639.def: Fix gl language name. Spotted by
16907 Yaron Shahrabani.
16908
ec98af7d
RM
169092012-04-12 Roland McGrath <roland@hack.frob.com>
16910
16911 [BZ #2074]
16912 * libio/libio.h (__io_write_fn): Update comment.
16913
247c3ede
PB
169142012-04-12 Petr Baudis <pasky@ucw.cz>
16915
16916 [BZ #2074]
16917 * stdio.texi (Hook Functions): The user provided writer function
16918 is not allowed to return -1.
16919
55939d6d
DM
169202012-04-11 David S. Miller <davem@davemloft.net>
16921
16922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16923
90020f5a
MF
169242012-04-11 Mike Frysinger <vapier@gentoo.org>
16925
16926 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16927 Add a leading slash to rtkaio.
16928
288f9098
JM
169292012-04-11 Jim Meyering <meyering@redhat.com>
16930
90020f5a
MF
16931 [BZ #11959]
16932 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16933 It is not necessarily an error to ignore fwrite's return
16934 value. One can reliably use ferror to test for errors after
16935 the fact.
288f9098 16936
4be2b570
L
169372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * bits/types.h (__snseconds_t): New type.
16940 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16941
16942 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16944 (__SNSECONDS_T_TYPE): Likewise.
16945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16946 (__SNSECONDS_T_TYPE): Likewise.
16947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16948 (__SNSECONDS_T_TYPE): Likewise.
16949
288f9098 169502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16951
16952 [BZ #2636]
16953 * manual/time.texi (Processor Time): Return type of times is
16954 elapsed real time since an arbitrary point in the past.
16955 (CPU Time): Move CLK_TCK from here...
16956 (Processor Time): ...to here. Correct description.
16957 * manual/conf.texi (Constants for Sysconf): Correct description of
16958 _SC_CLK_TCK.
16959
d7dd4413
DM
169602012-04-10 David S. Miller <davem@davemloft.net>
16961
16962 [BZ #13967]
16963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16964 where the is a gap between DT_REL(A) and DT_JMPREL.
16965
b46068fc
L
169662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16969 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16970 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16971
73d65cc3
SP
169722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16973
16974 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16975 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16976 (dl_main): Handle --inhibit-cache.
16977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16978 _dl_inhibit_cache.
16979 * elf/dl-load.c (_dl_map_object): Use it.
16980 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16981
bcc8d661
JM
169822012-04-09 Joseph Myers <joseph@codesourcery.com>
16983
8f9a2fae
JM
16984 [BZ #13872]
16985 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16986 (__ieee754_powl): Saturate large exponents rather than testing for
16987 overflow of y*log2(x).
16988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16989 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16990 exceptions.
16991
bcc8d661
JM
16992 [BZ #11521]
16993 * math/s_ctan.c: Include <float.h>.
16994 (__ctan): Avoid internal overflow or cancellation in calculating
16995 denominator.
16996 * math/s_ctanf.c: Likewise.
16997 * math/s_ctanl.c: Likewise.
16998 * math/s_ctanh.c: Likewise.
16999 * math/s_ctanhf.c: Likewise.
17000 * math/s_ctanhl.c: Likewise.
17001 * math/libm-test.inc (ctan_test): Add more tests.
17002 (ctanh_test): Likewise.
17003 * sysdeps/i386/fpu/libm-test-ulps: Update.
17004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005
823fbbb4
AJ
170062012-04-09 Andreas Jaeger <aj@suse.de>
17007
03879793
AJ
17008 [BZ #6894]
17009 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17010 is an optional BSD extension.
17011
823fbbb4
AJ
17012 [BZ #10254]
17013 * manual/stdio.texi (Opening Streams): Document additional fopen
17014 parameters.
17015
8de131cb
RM
170162012-04-09 Roland McGrath <roland@hack.frob.com>
17017
17018 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17019 %eax without telling the compiler.
17020
c0ed9d7d
CD
170212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17022
17023 [BZ # 13963]
17024 * manual/install.texi: Use sourceware.org.
17025
c483f6b4
JM
170262012-04-09 Joseph Myers <joseph@codesourcery.com>
17027
d7dd9453
JM
17028 [BZ #13873]
17029 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17030 (__ieee754_pow): Generate overflow and underflow using huge*huge
17031 and tiny*tiny rather than just returning constant infinity or zero
17032 for large exponents.
17033 * math/libm-test.inc (pow_test): Require overflow exceptions for
17034 applicable cases of large exponents.
17035
c483f6b4
JM
17036 [BZ #706]
17037 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17038 (__ieee754_pow): Use iterative multiplication algorithm only for
17039 integer exponents with absolute value below 1024. Check for odd
17040 integer exponents when using algorithm for real exponents.
17041 * math/libm-test.inc (pow_test): Add more tests.
17042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17043
d2de7579
JM
170442012-04-08 Joseph Myers <joseph@codesourcery.com>
17045
17046 [BZ #13705]
17047 * math/libm-test.inc (exp_test): Do not allow overflow exception
17048 on underflow test.
17049
f77f1232
AJ
170502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17051
17052 [BZ #13705]
17053 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17054 instead of __kernel_standard_f.
17055
3884932b
MF
170562012-04-08 Mike Frysinger <vapier@gentoo.org>
17057
17058 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17059 * sysdeps/x86_64/memset_chk.S: Likewise.
17060
54472e9c
AJ
170612012-04-08 Andreas Jaeger <aj@suse.de>
17062
6ab0fbfc
AJ
17063 [BZ #10153]
17064 * manual/startup.texi (Environment Access): Describe return value
17065 for putenv and setenv.
17066
61efba8c
AJ
17067 [BZ #6895]
17068 * manual/filesys.texi (Directory Entries): Add description for
17069 DT_LNK.
17070
95c3f29a
AJ
17071 [BZ #6890]
17072 * manual/filesys.texi (Directory Entries): Clarify that it's file
17073 system not operating system in the description of DT_UNKNOWN.
17074
54472e9c
AJ
17075 [BZ #6578]
17076 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17077
624254b1
SC
170782012-04-08 Stephen Compall <s11@member.fsf.org>
17079
17080 [BZ #6649]
17081 * manual/llio.texi (Opening and Closing Files): Add cross
17082 reference to explain mode argument.
17083
1e4920e0
MF
170842012-04-07 Mike Frysinger <vapier@gentoo.org>
17085
17086 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17087 * sysdeps/x86_64/memset_chk.S: Likewise.
17088
5ed848f3
DM
170892012-04-07 David S. Miller <davem@davemloft.net>
17090
17091 * elf/elf.h (R_SPARC_WDISP10): Define.
17092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17093 R_SPARC_SIZE32.
17094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17095 R_SPARC_SIZE64 and R_SPARC_H34.
17096
96154cd8
CD
170972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17098
17099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17100 conditions and remove no longer applicable assertion.
17101
9904dc47
L
171022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17103
17104 * bits/byteswap.h: Include <features.h>.
17105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17107
f8887d0a
L
171082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17109
17110 * bits/byteswap.h (__bswap_16): Removed.
17111 Include <bits/byteswap-16.h> to get __bswap_16.
17112 * sysdeps/i386/bits/byteswap.h: Likewise.
17113 * sysdeps/s390/bits/byteswap.h: Likewise.
17114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17115 * bits/byteswap-16.h: New file.
17116 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17117 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17118 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17119 * string/Makefile (headers): Add bits/byteswap-16.h.
17120
62470f60
PP
171212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17122
17123 [BZ #13895]
17124 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17125 extra indirection.
17126 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17127 * nss/tst-nss-static.c: New.
17128
4dad7bab
RM
171292012-04-06 Robert Millan <rmh@gnu.org>
17130
17131 [BZ #6486]
17132 * manual/llio.texi (File Position Primitive): lseek
17133 refers to WHENCE when it really means OFFSET.
17134
e9142a17
AJ
171352012-04-06 Andreas Jaeger <aj@suse.de>
17136
2c040eff
AJ
17137 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17138 strncmp declarations.
17139
e9142a17
AJ
17140 * abilist/libc.abilist: Add __poll and __ppoll.
17141
ff9f1c5f
DM
171422012-04-05 David S. Miller <davem@davemloft.net>
17143
dcd2ae90
DM
17144 * scripts/check-local-headers.sh: Accept a host triplet in the
17145 path matched by the exclude regexp.
17146
993eb054
DM
17147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17148 definition.
17149 * sysdeps/powerpc/powerpc32/dl-machine.h
17150 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17151 * sysdeps/s390/s390-32/dl-machine.h
17152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17153 * sysdeps/sparc/sparc32/dl-machine.h
17154 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17155 * sysdeps/sparc/sparc64/dl-machine.h
17156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17157
ff9f1c5f
DM
17158 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17159 lazy binding.
48e2e132 17160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17161 undefined symbol errors.
17162
48e2e132 17163 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17164 DT_NEEDED entries.
17165
e80d6f94
MM
171662012-04-05 Michael Matz <matz@suse.de>
17167
17168 [BZ #13592]
17169 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17170
349fa79f
AJ
171712012-04-05 Andreas Jaeger <aj@suse.de>
17172
17173 [BZ #13908]
17174 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17175 comment.
17176
f402708f
KK
171772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17178
17179 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17180 which ROUND is no valid rounding mode.
17181
2ecccfc9
KK
171822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17183
17184 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17185 read again.
17186 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17187
8a53f50f
KK
171882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17189
17190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17191 an exception using FPU order intentionally.
17192
171932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17194
17195 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17196 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17197 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17198 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17199
d653abb7
SJ
172002012-04-05 Simon Josefsson <simon@josefsson.org>
17201
17202 [BZ #12340]
17203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17204 EINVAL when BUFLEN is too smal.
17205
c3b1bf7d
TS
172062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17207
17208 [BZ #13553]
17209 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17210 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17211
b1aa60f3
AJ
172122012-04-03 Andreas Jaeger <aj@suse.de>
17213
c3b1bf7d 17214 [BZ #13938]
67f60a26
AJ
17215 * manual/setjmp.texi (System V contexts): Fix sentence.
17216
b1aa60f3
AJ
17217 [BZ #13926]
17218 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17219 New macro for this case.
17220 [!__GNUC__] (__bswap_64): New inline function for this case.
17221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17222 * bits/byteswap.h: Likewise.
17223 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17224 ull, guard with __GLIBC_HAVE_LONG_LONG.
17225
17226 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17227 __GLIBC_HAVE_LONG_LONG.
17228
17229 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17230 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17231
39c59c35
TMQMF
172322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17233
17234 [BZ #13691]
17235 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17236 inptr and inend, rather than using last_ch.
17237
135ffda8
DM
172382012-04-02 David S. Miller <davem@davemloft.net>
17239
17240 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17241 * stdio-common/printf-parse.h (read_int): Change return type to
17242 'int', return -1 on INT_MAX overflow.
17243 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17244 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17245 overflows INT_MAX. Check for overflow of in-format-string precision
17246 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17247 SIZE_MAX not INT_MAX for integer overflow test.
17248 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17249 skip the construct in the format string but do not record anything.
17250 * stdio-common/bug22.c: Adjust to test both width/prevision
17251 INT_MAX overflow as well as total length INT_MAX overflow. Check
17252 explicitly for proper errno values.
17253
228c019e
TS
172542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17255
302cadd3
TS
17256 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17257 CHAR_MAX.
17258 * string/test-strcmp.c [! WIDE]: Likewise.
17259 * time/tst-mktime2.c: Likewise for INT_MAX.
17260 * string/test-string.h: #include <sys/param.h> for MIN.
17261
228c019e
TS
17262 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17263 * sysdeps/i386/init-first.c (init): Likewise.
17264 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17265 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17266 * sysdeps/sh/init-first.c (init): Likewise.
17267
cfa633f5
UD
172682012-04-01 Ulrich Drepper <drepper@gmail.com>
17269
17270 * po/ru.po: Update from translation team.
d1635ef8 17271 * po/vi.po: Likewise.
cfa633f5 17272
6cd0a5ea
SP
172732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17274
17275 * resolv/nss_dns/dns-host.c: Merge copyright years.
17276
4b43400f
LD
172772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17278
17279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17280 Optimize memcpy with prefetch if
17281 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17282 src, dst pointers have unequal 16 byte alignments.
17283
48c41d04
SP
172842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17285
17286 [BZ #13928]
17287 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17288 from a CNAME entry and return the minimum ttl for the query.
17289 (gaih_getanswer_slice): Likewise.
17290
b8dc394d
JL
172912012-03-30 Jeff Law <law@redhat.com>
17292
17293 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17294 due to long keys.
17295 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17296 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17297
2f5a5ed0
JL
17298 * resolv/nss_dns/dns-host.c: Update copyright year.
17299
1d39e359
UD
173002012-03-30 Ulrich Drepper <drepper@gmail.com>
17301
c030f70c 17302 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17303 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17304
1d39e359
UD
17305 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17306 comments for sendmmsg.
17307
173082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17309
17310 [BZ #13691]
17311 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17312 with only 1 character between 0x0041 and 0x01b0.
17313 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17314 * wcsmbs/tst-mbsnrtowcs.c: New file.
17315
20fde227
DM
173162012-03-29 David S. Miller <davem@davemloft.net>
17317
17318 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17319 small copies by hand.
17320
984a4237
JL
173212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17322
17323 [BZ #13761]
17324 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17325 _nss_compat_initgroups_dyn): Fall back to malloc/free
17326 for large group memberships.
17327
18c9d62b
DM
173282012-03-28 David S. Miller <davem@davemloft.net>
17329
88d85d4f
DM
17330 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17331 that branches into memcpy.
17332 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17335 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17337 bits.
17338 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17339 implementation too.
17340 * sysdeps/sparc/mempcpy.S: New file.
17341
e5aa83e1
DM
17342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17343 the IFUNC routine in the libc case.
17344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17345
88570753
DM
17346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17348 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17349 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17350 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17351 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17352 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17353 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17354
249d7567
DM
17355 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17356 loop to 256 bytes instead of 64 bytes and fix test signedness.
17357
18c9d62b
DM
17358 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17359 * sysdeps/sparc/sparc32/Makefile: rather than here...
17360 * sysdeps/sparc/sparc64/Makefile: and here.
17361
05f3d1f6
UD
173622012-03-28 Ulrich Drepper <drepper@gmail.com>
17363
17364 * malloc/mallocbug.c: Avoid warnings about unused variables.
17365
86ae07a8
JL
173662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17367
17368 [BZ #13760]
17369 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17370 in the right place. Discard and retry query if response is
17371 larger than input buffer size.
17372
41bf21a1
JM
173732012-03-28 Joseph Myers <joseph@codesourcery.com>
17374
d6270972
JM
17375 [BZ #369]
17376 [BZ #2678]
17377 [BZ #3866]
17378 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17379 x for large integer exponent.
17380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17382 sign of result as needed afterwards.
17383 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17385 result for underflowing pow the same as for overflow.
17386 (__kernel_standard_l): Handle powl overflow and underflow here
17387 rather than calling __kernel_standard.
17388 * math/libm-test.inc (pow_test): Add more tests.
17389
414fca03 17390 [BZ #3868]
41bf21a1
JM
17391 [BZ #13879]
17392 [BZ #13910]
17393 [BZ #13911]
17394 [BZ #13912]
17395 [BZ #13913]
17396 [BZ #13915]
17397 [BZ #13916]
17398 [BZ #13917]
17399 [BZ #13918]
17400 [BZ #13919]
17401 [BZ #13920]
17402 [BZ #13921]
17403 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17404 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17405 (__kernel_standard_l): New function.
17406 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17407 __kernel_standard.
17408 * math/w_acosl.c (__acosl): Likewise.
17409 * math/w_asinl.c (__asinl): Likewise.
17410 * math/w_atan2l.c (__atan2l): Likewise.
17411 * math/w_atanhl.c (__atanhl): Likewise.
17412 * math/w_coshl.c (__coshl): Likewise.
17413 * math/w_exp10l.c (__exp10l): Likewise.
17414 * math/w_exp2l.c (__exp2l): Likewise.
17415 * math/w_fmodl.c (__fmodl): Likewise.
17416 * math/w_hypotl.c (__hypotl): Likewise.
17417 * math/w_j0l.c (__j0l, __y0l): Likewise.
17418 * math/w_j1l.c (__j1l, __y1l): Likewise.
17419 * math/w_jnl.c (__jnl, __ynl): Likewise.
17420 * math/w_lgammal.c (__lgammal): Likewise.
17421 * math/w_log10l.c (__log10l): Likewise.
17422 * math/w_log2l.c (__log2l): Likewise.
17423 * math/w_logl.c (__logl): Likewise.
17424 * math/w_powl.c (__powl): Likewise.
17425 * math/w_remainderl.c (__remainderl): Likewise.
17426 * math/w_scalbl.c (sysv_scalbl): Likewise.
17427 * math/w_sinhl.c (__sinhl): Likewise.
17428 * math/w_sqrtl.c (__sqrtl): Likewise.
17429 * math/w_tgammal.c (__tgammal): Likewise.
17430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17431 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17432 * math/libm-test.inc (acos_test): Add more tests.
17433 (acosh_test): Likewise.
17434 (asin_test): Likewise.
17435 (atanh_test): Likewise.
17436 (exp_test): Likewise.
17437 (exp10_test): Likewise.
17438 (exp2_test): Likewise.
17439 (expm1_test): Likewise.
17440 (lgamma_test): Likewise.
17441 (log_test): Likewise.
17442 (log10_test): Likewise.
17443 (log1p_test): Likewise.
17444 (log2_test): Likewise.
17445 (pow_test): Do not allow some spurious overflow exceptions.
17446 (sqrt_test): Add more tests.
17447 (tgamma_test): Likewise.
17448 (y0_test): Likewise.
17449 (y1_test): Likewise.
17450 (yn_test): Likewise.
17451
dd62fda6
AB
174522012-03-27 Anton Blanchard <anton@samba.org>
17453
17454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17455 MAP_HUGETLB.
17456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17459
1e3cdfda
AJ
174602012-03-27 David S. Miller <davem@davemloft.net>
17461
b855ab85
DM
17462 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17463
1e3cdfda
AJ
17464 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17465 have-as-vis3 check.
17466
174672012-03-27 Andreas Jaeger <aj@suse.de>
17468
17469 * sysdeps/x86_64/elf/configure.in: Moved to ...
17470 * sysdeps/x86_64/configure.in: ... here.
17471 * sysdeps/x86_64/elf/start.S: Moved to ...
17472 * sysdeps/x86_64/start.S: ... here.
17473 * sysdeps/x86_64/elf/configure: Delete.
17474
17475 * sysdeps/x86_64/configure.in: Merge contents from
17476 sysdeps/i386/configure.in (without i686 check).
17477
17478 * sysdeps/i386/elf/Versions: Merge into ...
17479 * sysdeps/i386/Versions: ... this.
17480 * sysdeps/i386/elf/Versions: Delete file.
17481 * sysdeps/i386/elf/start.S: Moved to ...
17482 * sysdeps/i386/start.S: ...here.
17483 * sysdeps/i386/elf/configure.in: Merge into...
17484 * sysdeps/i386/configure.in: ...here.
17485 * sysdeps/i386/elf/configure.in: Delete file.
17486 * sysdeps/i386/elf/configure: Delete file.
17487
17488 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17489 * debug/backtracesyms.c: ... here.
17490 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17491 * debug/backtracesymsfd.c: ... here.
17492 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17493 * sysdeps/generic/ifunc-sel.h: ... here.
17494
17495 * sysdeps/unix/i386/start.c: Delete file.
17496 * sysdeps/unix/sparc/start.c: Delete file.
17497 * sysdeps/unix/start.c: Delete file.
17498
17499 * sysdeps/sh/elf/configure.in: Moved to ...
17500 * sysdeps/sh/configure.in: ... here.
17501 * sysdeps/sh/elf/start.S: Moved to ...
17502 * sysdeps/sh/start.S: ... here.
17503 * sysdeps/sh/elf/configure: Delete file.
17504
17505 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17506 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17507 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17508 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17509 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17510 * sysdeps/powerpc/powerpc64/start.S: here.
17511 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17512 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17513 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17514 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17515 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17516
17517 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17518 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17519 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17520 * sysdeps/powerpc/powerpc32/start.S: ... here.
17521 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17522 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17523 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17524
17525 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17526 * sysdeps/powerpc/ifunc-sel.h: ... here.
17527 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17528 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17529
17530 * sysdeps/sparc/elf/configure.in: Moved to ...
17531 * sysdeps/sparc/configure.in: ... here.
17532 * sysdeps/sparc/elf/configure: Delete file.
17533 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17534 * sysdeps/sparc/sparc32/start.S: ... here.
17535 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17536 * sysdeps/sparc/sparc64/start.S: ... here.
17537 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17538 * sysdeps/sparc/sparc32/Makefile: ... this.
17539 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17540 * sysdeps/sparc/sparc64/Makefile: ... this.
17541
17542 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17543 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17544 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17545 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17546 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17547 * sysdeps/s390/s390-32/setjmp.S: ... here.
17548 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17549 * sysdeps/s390/s390-32/configure.in: ... here.
17550 * sysdeps/s390/s390-32/elf/configure: Delete file.
17551 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17552 * sysdeps/s390/s390-32/start.S: ... here.
17553
17554 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17555 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17556 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17557 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17558 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17559 * sysdeps/s390/s390-64/setjmp.S: ... here.
17560 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17561 * sysdeps/s390/s390-64/configure.in: ... here
17562 * sysdeps/s390/s390-64/elf/configure: Delete file.
17563 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17564 * sysdeps/s390/s390-64/start.S: ... here.
17565 * sysdeps/s390/s390-64/elf/configure: Delete.
17566
17567 * configure.in: Remove support for elf directories in sysdeps.
17568
17569 * configure: Regenerated.
17570 * sysdeps/i386/configure: Regenerated.
17571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17572 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17573 * sysdeps/s390/s390-32/configure: Regenerated.
17574 * sysdeps/s390/s390-64/configure: Regenerated.
17575 * sysdeps/sh/configure: Regenerated.
17576 * sysdeps/sparc/configure: Regenerated.
17577 * sysdeps/x86_64/configure: Regenerated.
17578
a3f61311
AS
175792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17580
c876e002
AS
17581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17582
a3f61311
AS
17583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17584 denormal result into account.
17585
ac4c54f0
RM
175862012-03-25 Roland McGrath <roland@hack.frob.com>
17587
17588 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17589 Reported by Allan McRae <allan@archlinux.org>.
17590
6a9b9c02
JL
175912012-03-23 Jeff Law <law@redhat.com>
17592
17593 * nss/getnssent.c (__nss_getent): Fix typo.
17594
4c42a0c1
DM
175952012-03-23 David S. Miller <davem@davemloft.net>
17596
17597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17598
1532c7ac
L
175992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17600
17601 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17602 to pad to uint64_t for each field.
17603 (dl_tls_index): Replace unsigned long with uint64_t.
17604
3ff42526
PP
176052012-03-23 Daniel Jacobowitz <dmj@google.com>
17606 Paul Pluzhnikov <ppluzhnikov@google.com>
17607
17608 [BZ #6528]
17609 * grp/Makefile (otherlibs): Don't set it.
17610 * inet/Makefile (otherlibs): Likewise.
17611 * login/Makefile (otherlibs): Likewise.
17612 * nscd/Makefile (otherlibs): Likewise.
17613 * posix/Makefile (otherlibs): Likewise.
17614 * pwd/Makefile (otherlibs): Likewise.
17615 * rt/Makefile (otherlibs): Likewise.
17616 * sunrpc/Makefile (otherlibs): Likewise.
17617 * nss/Makefile (otherlibs): Likewise.
17618 Add libnss_files to routines and static-only-routines.
17619 ($(objpfx)getent): Remove rule.
17620 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17621 static-only-routines.
17622
7c69cd14
JM
176232012-03-22 Joseph Myers <joseph@codesourcery.com>
17624
17625 [BZ #13892]
17626 * math/s_cexp.c: Include <float.h>.
17627 (__cexp): Handle exp result overflowing not necessarily
17628 overflowing both real and imaginary parts of result.
17629 * math/s_cexpf.c: Likewise.
17630 * math/s_cexpl.c: Likewise.
17631 * math/libm-test.inc (cexp_test): Add more tests.
17632 * sysdeps/i386/fpu/libm-test-ulps: Update.
17633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17634
81b035fe
L
176352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17636
17637 * include/link.h (ELFW): New macro.
17638 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17639 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17640
1da7940c
L
176412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17644 with uint64_t.
17645
b749dbb9
L
176462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17647
17648 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17649 declaration.
17650 (struct La_x32_retval): Likewise.
17651
2ff87f3f
L
176522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17653
17654 * sysdeps/x86_64/preconfigure.in: New file.
17655 * sysdeps/x86_64/preconfigure: New generated file.
17656
c0df8e69
JM
176572012-03-22 Joseph Myers <joseph@codesourcery.com>
17658
48e44791
JM
17659 [BZ #13824]
17660 * math/e_exp2l.c: Include <float.h>.
17661 (__ieee754_exp2l): Handle overflow and underflow cases
17662 separately. Only pass fractional part of argument to
17663 __ieee754_expl.
17664 * math/libm-test.inc (exp2_test): Add more tests.
17665
c0df8e69
JM
17666 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17667 negating x to take absolute value.
17668 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17669 Likewise.
17670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17672 Likewise.
17673 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17674 computing low part if x was negated.
17675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17676
c8e43ba7
L
176772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17678
17679 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17680 la_x32_gnu_pltexit.
17681 (pltexit): Cast int_retval to ptrdiff_t.
17682 * elf/tst-auditmod3b.c: Likewise.
17683 * elf/tst-auditmod4b.c: Likewise.
17684 * elf/tst-auditmod5b.c: Likewise.
17685 * elf/tst-auditmod6b.c: Likewise.
17686 * elf/tst-auditmod6c.c: Likewise.
17687 * elf/tst-auditmod7b.c: Likewise.
17688
17689 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17690 and x32_gnu_pltexit.
17691
17692 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17693 __ELF_NATIVE_CLASS.
17694 (La_x32_regs): New macro.
17695 (La_x32_retval): Likewise.
17696 (la_x32_gnu_pltenter): New function prototype.
17697 (la_x32_gnu_pltexit): Likewise.
17698
7998fa78
AS
176992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17700
dcb33988
AS
17701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17702 exponent.
17703
233fc563
AS
17704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17705
7998fa78
AS
17706 * configure.in (libc_cv_cc_nofma): Check for option to disable
17707 generation of FMA instructions.
17708 * configure: Regenerate.
17709 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17710 * sysdeps/ieee754/dbl-64/Makefile: New file.
17711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17712 Remove brandred-fma4.
17713 (CFLAGS-brandred-fma4.c): Remove.
17714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17716 define.
17717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17718 define.
17719
8e95c99a
L
177202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17723 LLONG_MAX != LONG_MAX.
17724 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17725 (_fitoa_word): Likewise.
17726 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17727 LLONG_MAX != LONG_MAX.
17728 * stdio-common/_itowa.h: Include <_itoa.h>.
17729 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17730 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17731 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17732 only if not defined.
17733 (_ITOA_WORD_TYPE): Likewise.
17734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17735 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17736
6f4db457
DM
177372012-03-21 David S. Miller <davem@davemloft.net>
17738
17739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17740
7785fe5a
L
177412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17742
17743 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17744 of x86_64 when setting libc_cv_slibdir, libdir and
17745 libc_cv_localedir.
17746 * sysdeps/unix/sysv/linux/configure: Regenerated.
17747
4535cd55
JM
177482012-03-21 Joseph Myers <joseph@codesourcery.com>
17749
17750 * manual/lang.texi (Old Varargs): Remove section.
17751 (How Variadic): Update menu.
17752 (va_start): Do not mention varargs.h.
17753
17228132
TS
177542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17755 Joseph Myers <joseph@codesourcery.com>
17756
17757 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17758 link test.
17759 * configure: Regenerated.
17760
8149f976
TS
177612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17762
05f3d1f6
UD
17763 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17764 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17765 conformtest.pl
8149f976 17766
1a4ac776
JM
177672012-03-21 Joseph Myers <joseph@codesourcery.com>
17768
be22ce65
JM
17769 * NOTES: Remove.
17770 * Makefile (files-for-dist): Remove NOTES.
17771 (NOTES): Remove rule.
17772 * README: Don't refer to NOTES.
17773 * manual/creature.texi: Don't include macros.texi.
17774 * manual/intro.texi (creature.texi): Remove comment referring to
17775 NOTES.
17776
40b601fb
JM
17777 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17778 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17779 * configure: Regenerated.
17780 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17781 LIBC_TRY_CC_OPTION.
17782 (libc_cv_as_i686): Likewise.
17783 (libc_cv_cc_avx): Likewise.
17784 (libc_cv_cc_sse2avx): Likewise.
17785 (libc_cv_cc_fma4): Likewise.
17786 (libc_cv_cc_novzeroupper): Likewise.
17787 * sysdeps/i386/configure: Regenerated.
17788
1a4ac776
JM
17789 [BZ #13883]
17790 * sysdeps/i386/fpu/s_cexp.S: Remove.
17791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17792 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17793 * math/libm-test.inc (cexp_test): Add more tests.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796
a458e7fe
AM
177972012-03-21 Allan McRae <allan@archlinux.org>
17798
17799 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17800
0cb7efc5
JM
178012012-03-21 Joseph Myers <joseph@codesourcery.com>
17802
17803 [BZ #13871]
17804 * math/w_exp2.c: Do not include <float.h>.
17805 (o_threshold, u_threshold): Remove.
17806 (__exp2): Calculate result before checking finiteness and calling
17807 __kernel_standard.
17808 * math/w_exp2f.c: Likewise.
17809 * math/w_exp2l.c: Likewise.
17810 * math/libm-test.inc (exp2_test): Require overflow exception for
17811 1e6 input.
2460d3aa
JM
17812
17813 [BZ #3866]
17814 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17815 range of signed 64-bit integers before using fistpll. Remove
17816 checks for whether integers fit in mantissa bits.
17817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17818 the range of signed 32-bit integers before using fistpl. Remove
17819 checks for whether integers fit in mantissa bits.
17820 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17821 (__ieee754_powl): Test for y outside the range of signed 64-bit
17822 integers before using fistpll. Reduce 64-bit values to 63-bit
17823 ones as needed.
17824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17825 divide-by-zero is raised for zero to large negative powers.
17826 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17827 (__ieee754_powl): Test for y outside the range of signed 64-bit
17828 integers before using fistpll. Reduce 64-bit values to 63-bit
17829 ones as needed.
17830 * math/libm-test.inc (pow_test): Add more tests.
17831
eb96ffb0
L
178322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17833
17834 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17835 <stdio-common/_itoa.h>.
17836 * debug/segfault.c: Likewise.
17837 * elf/dl-cache.c: Likewise.
17838 * elf/dl-minimal.c: Likewise.
17839 * elf/dl-misc.c: Likewise.
17840 * elf/dl-sysdep.c: Likewise.
17841 * elf/dl-version.c: Likewise.
17842 * elf/rtld.c: Likewise.
17843 * hurd/hurdsock.c: Likewise.
17844 * hurd/lookup-retry.c: Likewise.
17845 * malloc/malloc.c: Likewise.
17846 * malloc/mtrace.c: Likewise.
17847 * nscd/nscd_getgr_r.c: Likewise.
17848 * nscd/nscd_getpw_r.c: Likewise.
17849 * nscd/nscd_getserv_r.c: Likewise.
17850 * posix/getopt_init.c: Likewise.
17851 * posix/wordexp.c: Likewise.
17852 * stdio-common/_itoa.c: Likewise.
17853 * stdio-common/printf_fphex.c: Likewise.
17854 * stdio-common/vfprintf.c: Likewise.
17855 * string/_strerror.c: Likewise.
17856 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17857 * sysdeps/i386/i686/hp-timing.h: Likewise.
17858 * sysdeps/mach/_strerror.c: Likewise.
17859 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17860 * sysdeps/mach/hurd/sethostid.c: Likewise.
17861 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17862 * sysdeps/mach/xpg-strerror.c: Likewise.
17863 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17865 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17866 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17868 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17870 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17871 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17872 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17874 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17877 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17881 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17882 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17884
17885 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17886
17887 * stdio-common/_itoa.h: Moved to ...
17888 * sysdeps/generic/_itoa.h: Here.
17889
17890 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17891
17892 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17893 instead of "_itoa.h" and "_itowa.h".
17894 * stdio-common/vfprintf.: Likewise.
17895
d1af992d
L
178962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17897
17898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17899 <bits/wordsize.h>.
17900 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17901 (__signbit): Likwise.
17902 (llrintf): Likwise.
17903 (llrint): Likwise.
17904
114883e0
L
179052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17908 __WORDSIZE != 64.
17909
c135cc1b
JM
179102012-03-20 Joseph Myers <joseph@codesourcery.com>
17911
17912 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17913 OVERFLOW_EXCEPTION_OK.
17914 * math/libm-test.inc ("Philosophy"): Update comment about
17915 exception testing.
17916 (OVERFLOW_EXCEPTION): Define.
17917 (OVERFLOW_EXCEPTION_OK): Likewise.
17918 (INVALID_EXCEPTION_OK): Renumber.
17919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17920 (IGNORE_ZERO_INF_SIGN): Likewise.
17921 (test_exceptions): Handle FE_OVERFLOW.
17922 (exp10_test): Expect overflow exceptions.
17923 (exp2_test): Likewise.
17924 (expm1_test): Likewise.
17925 (nextafter_test): Likewise.
17926 (pow_test): Likewise.
17927 (scalbn_test): Likewise.
17928 (scalbln_test): Likewise.
17929
95443d88
L
179302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * sysdeps/x86_64/bits/atomic.h
17933 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17934 64bit integer.
17935 (atomic_exchange_acq): Likewise.
17936 (__arch_exchange_and_add_body): Likewise.
17937 (__arch_add_body): Likewise.
17938 (atomic_add_negative): Likewise.
17939 (atomic_add_zero): Likewise.
17940
490df6c4
L
179412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17942
c2722551 17943 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17944 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17945
5e52b189
L
179462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17947
17948 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17949 Check __x86_64__ instead of __WORDSIZE.
17950
a9879d4c
L
179512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17952
17953 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17954
5df98260
DM
179552012-03-19 David S. Miller <davem@davemloft.net>
17956
e1497744
DM
17957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17958
5df98260
DM
17959 * sysdeps/sparc/fpu/fenv_private.h: New file.
17960 * sysdeps/sparc/fpu/math_private.h: Use it.
17961 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17962 Remove.
17963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17964 (libc_feholdexcept_setroundl): Remove.
17965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17966 Remove.
17967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17969
b4c35121
L
179702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17973 int64_t instead of long int.
17974 (INSERT_WORDS64): Likwise.
17975
56965fd7
L
179762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17979 _Unwind_GetCFA return to _Unwind_Ptr first.
17980
83d1aec8
JM
179812012-03-19 Joseph Myers <joseph@codesourcery.com>
17982
1897ad44
JM
17983 [BZ #13629]
17984 * math/s_clog.c: Include <float.h>.
17985 (__clog): Scale large or subnormal inputs.
17986 * math/s_clogf.c: Likewise.
17987 * math/s_clogl.c: Likewise.
17988 * math/s_clog10.c: Include <float.h>.
17989 (M_LOG10_2): Define.
17990 (__clog10): Scale large or subnormal inputs.
17991 * math/s_clog10f.c: Likewise.
17992 * math/s_clog10l.c: Likewise.
17993 * math/libm-test.inc (clog_test): Add more tests.
17994 (clog10_test): Likewise.
17995 * sysdeps/i386/fpu/libm-test-ulps: Update.
17996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17997
7726d6a9
JM
17998 [BZ #11451]
17999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18000 x and y.
18001 * math/libm-test.inc (atan2_test): Add another test.
18002
83d1aec8
JM
18003 * Makerules (common-objdir-compile): Remove.
18004 * sysdeps/unix/Makefile (config-generated): Do not add
18005 $(unix-generated) to variable.
18006 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18007 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18008 Remove rule.
18009 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18010 Likewise.
18011 [generic bits/local_lim.h] (before-compile): Do not append to
18012 variable.
18013 [generic bits/local_lim.h] (common-generated): Likewise.
18014 [generic sys/param.h] (before-compile): Do not append to variable.
18015 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18016 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18019 include.
18020 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18021 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18022 [generic sys/param.h] ($(addprefix
18023 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18024 [generic sys/param.h] (common-generated): Do not append to
18025 variable.
18026 [generic sys/param.h] (sysdep_headers): Likewise.
18027 [generic bits/errno.h] (before-compile): Do not append to
18028 variable.
18029 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18030 rule.
18031 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18032 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18033 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18034 [generic bits/errno.h] (common-generated): Do not append to
18035 variable.
18036 [generic bits/ioctls.h] (before-compile): Do not append to
18037 variable.
18038 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18039 rule.
18040 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18041 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18042 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18043 rule.
18044 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18045 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18046 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18047 [generic bits/ioctls.h] (common-generated): Do not append to
18048 variable.
18049 [generic sys/syscall.h] (syscall.h): Remove variable.
18050 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18051 rule.
18052 [generic sys/syscall.h] (before-compile): Do not append to
18053 variable.
18054 [generic sys/syscall.h] (common-generated): Likewise.
18055 * sysdeps/unix/errnos-tmpl.c: Remove file.
18056 * sysdeps/unix/errnos.awk: Likewise.
18057 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18058 * sysdeps/unix/ioctls.awk: Likewise.
18059 * sysdeps/unix/mk-local_lim.c: Likewise.
18060 * sysdeps/unix/snarf-ioctls: Likewise.
18061
4851a949
RH
180622012-03-19 Richard Henderson <rth@twiddle.net>
18063
bd37f2ee
RH
18064 * sysdeps/i386/fpu/fenv_private.h: New file.
18065 * sysdeps/i386/fpu/math_private.h: Use it.
18066 (math_opt_barrier, math_force_eval): Remove.
18067 (libc_feholdexcept_setround_53bit): Remove.
18068 (libc_feupdateenv_53bit): Remove.
18069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18070 (math_opt_barrier, math_force_eval): Remove.
18071 (libc_feholdexcept): Remove.
18072 (libc_feholdexcept_setround): Remove.
18073 (libc_fetestexcept, libc_fesetenv): Remove.
18074 (libc_feupdateenv_test): Remove.
18075 (libc_feupdateenv, libc_feholdsetround): Remove.
18076 (libc_feresetround): Remove.
18077
d0adc922
RH
18078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18079 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18080
0fe0f1f8
RH
18081 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18082 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18083 (libc_feupdateenv_testl): New.
18084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18085 (libc_feupdateenv_testf): New.
18086 (libc_feupdateenv): Use libc_feupdateenv_test.
18087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18089
eb92c487
RH
18090 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18091 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18092 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18093 (libc_feresetround_noex): New.
18094 (libc_feresetround_noexf): New.
18095 (libc_feresetround_noexl): New.
18096 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18097 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18098 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18099 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18100 SET_RESTORE_ROUND.
18101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18103 (__cos): Likewise.
18104 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18106 SET_RESTORE_ROUND_NOEX.
18107 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18108 SET_RESTORE_ROUND_NOEXF.
18109 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18110 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18111 (libc_feholdsetroundf): New.
18112 (libc_feresetround, libc_feresetroundf): New.
18113
7d2e8012
RH
18114 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18115 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18116 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18117
b4dabbb4
RH
18118 * sysdeps/generic/math_private.h: Include <fenv.h>.
18119 (default_libc_feholdexcept): New.
18120 (default_libc_feholdexcept_setround): New.
18121 (default_libc_fesetenv, default_libc_feupdateenv): New.
18122 (libc_feholdexcept): Only define if undefined.
18123 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18124 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18125 (libc_feholdexcept_setroundl): Likewise.
18126 (libc_feholdexcept_setround_53bit): Likewise.
18127 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18128 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18129 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18130 (libc_feupdateenv_53bit): Likewise.
18131 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18132 (libc_feholdexcept): Convert from macro to inline function.
18133 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18134 (libc_fesetenv, libc_feupdateenv): Likewise.
18135
4851a949
RH
18136 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18137 not previously defined.
18138 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18139 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18140 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18141 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18142 * sysdeps/ieee754/flt-32/math_private.h: New file.
18143 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18144 math_private.h below SET_FLOAT_WORD.
18145 (__isnan, __isinf_ns, __finite): Remove.
18146 (__isnanf, __isinf_nsf, __finitef): Remove.
18147
e79d442e
AS
181482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18149
18150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18151
90b80344
DM
181522012-03-17 David S. Miller <davem@davemloft.net>
18153
18154 [BZ #6471]
18155 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18156 for 2.16.
18157
edc21804
DM
181582012-03-16 David S. Miller <davem@davemloft.net>
18159
77e927af
DM
18160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18161 warnings.
18162
374976dd
DM
18163 [BZ #6471]
18164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18165 properly.
18166 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18167 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18168 sysdep_routines when subdir is sysvipc.
18169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18170 __getshmlba helper.
18171
edc21804
DM
18172 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18173
473c3ef3
L
181742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18175
18176 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18177 [__LP64__].
18178
eb0f39b6
L
181792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18180
18181 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18182 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18183 (__lround): Renamed to ...
18184 (__llround): This. Replace long int with long long int.
18185 Define lround functions as aliases of llround functions.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18187
6b6cd74b
L
181882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18189
18190 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18191 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18192 adresses to uintptr_t. Replace "long int" and "unsigned long
18193 int" with "greg_t" on va_arg.
18194
f1a77b01
L
181952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18196
18197 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18198 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18199
18200 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18201 Move e_machine check before EI_CLASS check. Handle x32
18202 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18203 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18204 SKIP_EM_IA_64 and include
18205 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18206
18207 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18208 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18209 (add_system_dir): New macro.
18210
18211 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18212 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18213
11b90b9f
JM
182142012-03-16 Joseph Myers <joseph@codesourcery.com>
18215
c36e1d23
JM
18216 [BZ #2551]
18217 [BZ #2552]
18218 [BZ #2553]
18219 [BZ #2554]
18220 [BZ #2562]
18221 [BZ #2563]
18222 [BZ #2565]
18223 [BZ #2566]
18224 [BZ #2576]
18225 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18226 (y0): Likewise.
18227 * math/w_j0f.c (j0f): Likewise.
18228 (y0f): Likewise.
18229 * math/w_j0l.c (__j0l): Likewise.
18230 (__y0l): Likewise.
18231 * math/w_j1.c (j1): Likewise.
18232 (y1): Likewise.
18233 * math/w_j1f.c (j1f): Likewise.
18234 (y1f): Likewise.
18235 * math/w_j1l.c (__j1l): Likewise.
18236 (__y1l): Likewise.
18237 * math/w_jn.c (jn): Likewise.
18238 (yn): Likewise.
18239 * math/w_jnf.c (jnf): Likewise.
18240 (ynf): Likewise.
18241 * math/w_jnl.c (__jnl): Likewise.
18242 (__ynl): Likewise.
18243 * math/libm-test.inc (j0_test): Add more tests.
18244 (j1_test): Likewise.
18245 (jn_test): Likewise. Add trailing semicolon to existing test.
18246 (y0_test): Likewise.
18247 (y1_test): Likewise.
18248 * sysdeps/i386/fpu/libm-test-ulps: Update.
18249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18250
11b90b9f
JM
18251 [BZ #13851]
18252 [BZ #13854]
18253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18254 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18255 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18257 (__tanl): Set errno for infinite argument.
18258 * sysdeps/i386/fpu/mptan.c: Remove.
18259 * sysdeps/i386/fpu/s_tan.S: Likewise.
18260 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18261 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18262 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18263 * math/libm-test.inc (tan_test): Add more tests and enable more
18264 tests for double and long double.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267
6a1bd2a1
JK
182682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18269
18270 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18271 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18272
10a803e0
RM
182732012-03-16 Roland McGrath <roland@hack.frob.com>
18274
18275 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18276 * configure.in: Use it for both main tree and add-ons.
18277 * configure: Regenerated.
18278
f196c7f7
L
182792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18280
18281 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18282
8848d99d
JM
182832012-03-16 Joseph Myers <joseph@codesourcery.com>
18284
96cbe7f4
JM
18285 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18286 in comment.
18287
8848d99d
JM
18288 [BZ #13851]
18289 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18290 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18294 infinite argument.
18295 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18297 != 0 for prec == 2.
18298 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18299 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18300 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18301 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18302 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18303 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18304 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18305 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18306 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18307 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18308 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18309 * math/libm-test.inc (cos_test): Add more tests and enable more
18310 tests for long double.
18311 (sin_test): Likewise.
18312 (sincos_test): Likewise.
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18315
dd7f4703
DM
183162012-03-16 David S. Miller <davem@davemloft.net>
18317
18318 * sysdeps/sparc/fpu/math_private.h: New file.
18319
006f1daa
DM
183202012-03-15 David S. Miller <davem@davemloft.net>
18321
c0c83bc8
DM
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18323 file.
e6a62e18 18324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18326 file.
e6a62e18
DM
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18333 sysdep routines.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18335
88cb87d9
DM
18336 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18337 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18338
006f1daa 18339 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18341 sparc-ifunc.h
006f1daa 18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18344 Likewise.
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18346 Likewise.
006f1daa
DM
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18351 Likewise.
006f1daa
DM
18352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18357 Likewise.
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18359 Likewise.
006f1daa
DM
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18384
11e0098e
AS
183852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18386
18387 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18388 scaling.
18389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18390
e85b09d0
AJ
183912012-03-15 Andreas Jaeger <aj@suse.de>
18392
18393 [BZ #13852]
18394 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18395 ieee754/flt-32 implementation for sin, cos and sincos.
18396 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18397 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18398 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18399 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18400 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18401 ieee754/flt-32 implementation for tan.
18402
18403 * math/libm-test.inc (cos_test): Enable some large input tests for
18404 float as well
18405 (sin_test): Likewise.
18406 (sincos_test): Likewise.
18407 (tan_test): Add tests for large input.
18408
18409 * sysdeps/i386/fpu/libm-test-ulps: Update.
18410
81c64153
AJ
184112012-03-15 Andreas Jaeger <aj@suse.de>
18412
18413 [BZ #13658]
18414 * math/libm-test.inc (cos_test): Add more test cases.
18415 (sin_test): Likewise.
18416 (sincos_test): Likewise.
18417
7bbfa5c6
AJ
184182012-03-15 Andreas Jaeger <aj@suse.de>
18419
18420 [BZ #13837]
18421 * math/libm-test.inc (cos_test): Add a test case for large input
18422 value.
18423 (sin_test): Likewise.
18424 (sincos_test): Likewise.
18425
184262012-03-15 Andreas Jaeger <aj@suse.de>,
18427 Joseph Myers <joseph@codesourcery.com>
18428
18429 [BZ #13658]
0671f479 18430 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18431 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18432 * sysdeps/i386/fpu/branred.c: Likewise.
18433 * sysdeps/i386/fpu/dosincos.c: Likewise.
18434 * sysdeps/i386/fpu/mpa.c: Likewise.
18435 * sysdeps/i386/fpu/s_cos.S: Likewise.
18436 * sysdeps/i386/fpu/s_sin.S: Likewise.
18437 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18438 * sysdeps/i386/fpu/sincos32.c: Likewise.
18439
18440 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18441 Define.
18442 (libc_feupdateenv_53bit): Define.
18443 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18444 Define.
18445 (libc_feupdateenv_53bit): Define.
18446
18447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18448 53 bit (without extend i386 double precision).
18449
18450 * math/libm-test.inc (sincos_test): Add tests for large input.
18451 (sin): Likewise.
18452 (cos): Likewise.
18453
18454 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18455
9cad04ea
AS
184562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18457
18458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18459
f7062b9a
DM
184602012-03-15 David S. Miller <davem@davemloft.net>
18461
18462 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18463 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18464 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18465 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18478 file.
f7062b9a 18479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18481 file.
f7062b9a 18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18484 file.
f7062b9a 18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18487 file.
f7062b9a
DM
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18490 fmin/fmax sysdep routines.
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18492
7bd951ff
DM
184932012-03-14 David S. Miller <davem@davemloft.net>
18494
559398ab
DM
18495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18524 routines.
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18526 file.
559398ab 18527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18529 file.
559398ab 18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18532 file.
559398ab 18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18535 file.
559398ab 18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18538 file.
559398ab 18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18541 file.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18543 file.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18545 file.
18546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18547 file.
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18549 New file.
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18551 file.
18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18553 file.
559398ab 18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18556 file.
559398ab 18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18559 file.
559398ab 18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18562 file.
559398ab 18563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18565 VIS3 routines.
559398ab
DM
18566
18567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18568 New file.
18569
5a1c1e32
DM
18570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18571
eae47a36
DM
18572 * sysdeps/sparc/configure.in: New file.
18573 * sysdeps/sparc/configure: Generate.
18574 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18575 * configure: Regenerate.
18576 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18577 * config.make.in (have-as-vis3): New.
18578 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18579 available use -Av9d instead of -Av9a.
18580 * sysdeps/sparc/sparc64/Makefile: Likewise.
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18583 New file.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18585 file.
18586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18587 New file.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18589 file.
eae47a36
DM
18590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18595
c0c83bc8
DM
18596 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18597 fzeros/fnegs to load 0x80000000 into a float register instead of
18598 using the stack.
7bd951ff
DM
18599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18600
bd951ccb
JM
186012012-03-14 Joseph Myers <joseph@codesourcery.com>
18602
18603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18604 bits/syscall.h.
18605 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18606 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18607 ($(inst_includedir)/bits/syscall.h): Remove rule.
18608 ($(objpfx)bits/syscall.d): Include instead of
18609 $(objpfx)syscall-list.d.
18610 (generated): Change syscall-list.h and syscall-list.d to
18611 bits/syscall.h and bits/syscall.d.
18612
bb4e6db2
RM
186132012-03-14 Roland McGrath <roland@hack.frob.com>
18614
18615 [BZ #13846]
18616 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18617
aa4a2ae1
JM
186182012-03-14 Joseph Myers <joseph@codesourcery.com>
18619
e456826d
JM
18620 [BZ #13841]
18621 * math/s_csqrt.c: Include <float.h>.
18622 (__csqrt): Scale large or subnormal inputs.
18623 * math/s_csqrtf.c: Likewise.
18624 * math/s_csqrtl.c: Likewise.
18625 * math/libm-test.inc (csqrt_test): Add more tests.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18628
aa4a2ae1
JM
18629 [BZ #13840]
18630 * math/libm-test.inc (hypot_test): Add more tests.
18631
7c10fd35
DM
186322012-03-13 David S. Miller <davem@davemloft.net>
18633
18634 [BZ #13840]
18635 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18636 double-precision for the calculation instead of scaling.
18637
f453b98b
JM
186382012-03-13 Joseph Myers <joseph@codesourcery.com>
18639
18640 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18641 manipulate bits before adding and subtracting TWO52[sx].
18642 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18644 Likewise.
18645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18646
09a3453f
DM
186472012-03-13 David S. Miller <davem@davemloft.net>
18648
8e59da90
DM
18649 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18650 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18652 rtld-global-offsets.h
18653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18654
2a8ab7f2
DM
18655 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18656 large parameters.
18657
10f62770
DM
18658 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18659
5f0bdb18
DM
18660 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18661 'err' in the ifdef scope in which it is actually used.
18662
09a3453f
DM
18663 * nss/nss_db/db-init.c: Include string.h
18664
b4b2eb5e
DM
186652012-03-12 David S. Miller <davem@davemloft.net>
18666
98bb2f1c
DM
18667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18668 masking out of the most significant byte of random value used.
18669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18670 Fix coding style in previous change.
18671
b4b2eb5e
DM
18672 * sysdeps/unix/sysv/linux/kernel-features.h
18673 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18674 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18675 expression.
18676 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18677 later.
18678
6e226b09
DM
186792012-03-11 David S. Miller <davem@davemloft.net>
18680
a1bcbd40
DM
18681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18682 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18684 for 'resultvar' otherwise things get truncated on 64-bit.
18685
cb9d6174
DM
18686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18687 Fix masking out of the most significant byte of random value used.
18688
6e226b09
DM
18689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18690
058c132d
AS
186912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18692
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18694
2d2cd515
DM
186952012-03-09 David S. Miller <davem@davemloft.net>
18696
18697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18698 variables with appropriate CPP guards.
18699 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18700 frame pointer, not the stack pointer. Correct layout comments. Fix test
18701 on resulting framesize and the management of the outregs buffer for pltexit.
18702 Preserve floating point return values across _dl_call_pltexit call.
18703 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18704 framesize and the management of the outregs buffer for pltexit.
18705 Preserve floating point return values across _dl_call_pltexit
18706 call.
18707 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18708 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18709 (print_exit): Fix format string for return register value.
18710
9a07f9d0
JM
187112012-03-10 Joseph Myers <joseph@codesourcery.com>
18712
18713 * sunrpc/Makefile (others): Add rpcgen.
18714 ($(objpfx)rpcgen): Remove special build rule and dependency on
18715 libc.
18716 * sunrpc/rpcgen.c: New file.
18717
547b5e30
PE
187182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18719
c524201a
PE
18720 [BZ #13673]
18721 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18722 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18723 * sysdeps/i386/crti.S: Likewise.
18724 * sysdeps/i386/crtn.S: Likewise.
18725 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18726 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18727 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18728 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18729 * sysdeps/sh/crti.S: Likewise.
18730 * sysdeps/sh/crtn.S: Likewise.
18731 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18732
7b6235f2
PE
18733 [BZ #13673]
18734 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18735 with URL.
18736 * locale/programs/locfile-kw.gperf: Likewise.
18737 * locale/programs/charmap-kw.h: Regenerated.
18738 * locale/programs/locfile-kw.h: Likewise.
18739
547b5e30
PE
18740 [BZ #13673]
18741 * intl/plural.y: Replace FSF snail mail address with URL.
18742 * intl/plural.c: Regenerated.
18743
5f0a5dae
RH
187442012-03-09 Richard Henderson <rth@twiddle.net>
18745
18746 * include/math_private.h: Remove file.
18747 * math/math_private.h: Move file ...
18748 * sysdeps/generic/math_private.h: ... here.
18749
b8c03620
RH
18750 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18751 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18752 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18753
4e234f5d 18754 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18755 and <math_private.h>.
18756 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18757 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18758 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18759 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18760 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18844 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18845 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18846 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18847 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18850 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18851 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18853 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18854 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18855 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18856 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18857 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18866 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18868 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18870 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18871 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18875 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18878 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18880 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18884 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18885 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18889 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18890 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18892 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18905 * sysdeps/ieee754/k_standard.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19021 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19025 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19028 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19066 * sysdeps/ieee754/s_lib_version.c: Likewise.
19067 * sysdeps/ieee754/s_matherr.c: Likewise.
19068 * sysdeps/ieee754/s_signgam.c: Likewise.
19069 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19072 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19073 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19074 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19075 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19076 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19077 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19078 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19079 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19080 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19083 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19084 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19086 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19090
1991fa03
JM
190912012-03-09 Joseph Myers <joseph@codesourcery.com>
19092
19093 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19094 * sunrpc/rpc_main.c: Likewise.
19095 * sunrpc/rpc_svcout.c: Likewise.
19096
60d6f5a6
DM
190972012-03-09 David S. Miller <davem@davemloft.net>
19098
19099 * include/math_private.h: New file.
19100
4962050e
JM
191012012-03-09 Joseph Myers <joseph@codesourcery.com>
19102
02a6f887
JM
19103 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19104 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19105 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19106 from <bits/socket_type.h>.
19107 (enum __socket_type): Don't define here.
19108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19110 bits/socket_type.h.
19111
c6e013c1
JM
19112 [BZ #13566]
19113 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19114 checking __USE_GNU.
19115
4962050e
JM
19116 * Makerules ($(inst_includedir)/%.h): New rule.
19117 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19118 (install-others): Remove variable setting.
19119 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19120
38842f45
RH
191212012-03-08 Richard Henderson <rth@twiddle.net>
19122
67bb6da6
RH
19123 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19124 from macro to inline function; merge with the
19125 !__LIBC_INTERNAL_MATH_INLINES version.
19126 (__ieee754_sqrtf): Likewise.
19127
15194b4b
RH
19128 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19129 to inline function.
19130 (__rintf, __floor, __floorf): Likewise.
19131
64e21ede
RH
19132 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19133 macro to inline function.
19134 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19135
38842f45
RH
19136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19137 not <math/math_private.h>.
19138
c64bf5fe
DM
191392012-03-08 David S. Miller <davem@davemloft.net>
19140
19141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19142 copyright year.
19143 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19144
82d86f28
TS
191452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19146
19147 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19148 normalization.
19149 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19150 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19151
aea5d727
UD
191522012-03-08 Ulrich Drepper <drepper@gmail.com>
19153
19154 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19155 be defined individually, they must be defined as a block. Define
19156 S for printing a string instead of hidint the different by using a
19157 macro for adding the 'l'.
19158 * stdio-common/tst-fphex-wide.c: Adjust.
19159
70bca0a3
MP
191602012-03-07 Marek Polacek <polacek@redhat.com>
19161
19162 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19163
65b81130
MP
191642012-03-08 Marek Polacek <polacek@redhat.com>
19165
19166 [BZ #13806]
19167 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19168 * stdio-common/tst-fphex.c: Define a few macros to make the
19169 test reusable. Use them.
19170 * stdio-common/tst-fphex-wide.c: New file.
19171
07037eeb
JM
191722012-03-08 Joseph Myers <joseph@codesourcery.com>
19173
a7a93d50
JM
19174 [BZ #6911]
19175 * manual/macros.texi (gnusystems): New macro.
19176 (nongnusystems): Likewise.
19177 (gnulinuxhurdsystems): Likewise.
19178 (gnuhurdsystems): Likewise..
19179 (gnulinuxsystems): Likewise.
19180 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19181 variants of the GNU system, not "GNU system".
19182 * manual/conf.texi: Likewise.
19183 * manual/errno.texi: Likewise. Update example of errno macro
19184 expansion.
19185 * manual/filesys.texi: Likewise.
19186 (getumask): Document as specific to GNU/Hurd.
19187 * manual/install.texi: Likewise. Reword some references to
19188 GNU/Linux.
19189 * manual/intro.texi: Likewise.
19190 * manual/io.texi: Likewise.
19191 (File Name Portability): Detail which constraints are inapplicable
19192 to all GNU systems and which are only inapplicable to GNU/Hurd.
19193 * manual/job.texi: Likewise.
19194 * manual/llio.texi: Likewise.
19195 (O_NOCTTY): Document as present on GNU/Linux.
19196 * manual/maint.texi: Likewise.
19197 * manual/memory.texi: Likewise.
19198 * manual/pattern.texi: Likewise.
19199 * manual/pipe.texi: Likewise.
19200 * manual/process.texi: Likewise.
19201 * manual/resource.texi: Likewise.
19202 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19203 child on GNU/Hurd.
19204 * manual/setjmp.texi: Likewise.
19205 * manual/signal.texi: Likewise.
19206 * manual/startup.texi: Likewise.
19207 * manual/stdio.texi: Likewise.
19208 * manual/terminal.texi: Likewise.
19209 (ONLCR): Document as POSIX.
19210 (OXTABS): Document availability on GNU/Linux as XTABS.
19211 (ONOEOT): Document availability separately from other bits.
19212 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19213 * manual/time.texi: Likewise.
19214 * manual/users.texi: Likewise.
19215 * INSTALL: Regenerated.
19216 * sysdeps/gnu/errlist.c: Regenerated.
19217
07037eeb
JM
19218 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19219 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19220 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19221 puts.
19222 * configure: Regenerated.
19223
d1d3431a
JM
192242012-03-07 Joseph Myers <joseph@codesourcery.com>
19225
af6a1e37
JM
19226 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19227 default includes instead of AC_HEADER_CHECK.
19228 * sysdeps/i386/configure: Regenerated.
19229
d1d3431a
JM
19230 [BZ #10716]
19231 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19232 * math/s_cacoshf.c (__cacoshf): Likewise.
19233 * math/s_cacoshl.c (__cacoshl): Likewise.
19234 * math/s_casinh.c (__casinh): Set signs of result from argument.
19235 * math/s_casinhf.c (__casinhf): Likewise.
19236 * math/s_casinhl.c (__casinhl): Likewise.
19237 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19238 (casinh_test): Add more tests.
19239 * sysdeps/i386/fpu/libm-test-ulps: Update.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241
482ff4da
UD
192422012-03-07 Ulrich Drepper <drepper@gmail.com>
19243
872fda05
UD
19244 * po/zh_TW.po: Update from translation team.
19245
a4300c7a
UD
19246 * login/Makefile (distribute): Remove variable.
19247 * catgets/Makefile: Likewise.
19248 * mach/Makefile: Likewise.
19249 * malloc/Makefile: Likewise.
19250 * misc/Makefile: Likewise.
19251 * iconv/Makefile: Likewise.
19252 * nscd/Makefile: Likewise.
19253 * hurd/Makefile: Likewise.
19254 * manual/Makefile: Likewise.
19255 * locale/Makefile: Likewise.
19256 * intl/Makefile: Likewise.
19257 * conform/Makefile: Likewise.
19258 * nss/Makefile: Likewise.
19259 * time/Makefile: Likewise.
19260 * soft-fp/Makefile: Likewise.
19261 * dirent/Makefile: Likewise.
19262 * gmon/Makefile: Likewise.
19263 * po/Makefile: Likewise.
19264 * rt/Makefile: Likewise.
19265 * socket/Makefile: Likewise.
19266 * math/Makefile: Likewise.
19267 * signal/Makefile: Likewise.
19268 * debug/Makefile: Likewise.
19269 * elf/Makefile: Likewise.
19270 * timezone/Makefile: Likewise.
19271 * stdlib/Makefile: Likewise.
19272 * iconvdata/Makefile: Likewise.
19273 * sunrpc/Makefile: Likewise.
19274 * io/Makefile: Likewise.
19275 * argp/Makefile: Likewise.
19276 * inet/Makefile: Likewise.
19277 * hesiod/Makefile: Likewise.
19278 * grp/Makefile: Likewise.
19279 * csu/Makefile: Likewise.
19280 * wctype/Makefile: Likewise.
19281 * crypt/Makefile: Likewise.
19282 * libio/Makefile: Likewise.
19283 * string/Makefile: Likewise.
19284 * nis/Makefile: Likewise.
19285 * resolv/Makefile: Likewise.
19286 * stdio-common/Makefile: Likewise.
19287 * wcsmbs/Makefile: Likewise.
19288 * dlfcn/Makefile: Likewise.
19289 * posix/Makefile: Likewise.
19290
3b7c4e74 19291 [BZ #6959]
482ff4da
UD
19292 * timezone/Makefile: Don't install timezone files, just the programs
19293 and scripts.
19294
f72ed77d
UD
192952012-03-06 Ulrich Drepper <drepper@gmail.com>
19296
a000466f
UD
19297 * nss/databases.def: Add missing gshadow entry.
19298
f72ed77d
UD
19299 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19300
a53b7a4e
MP
193012012-03-06 Marek Polacek <polacek@redhat.com>
19302
19303 [BZ #13726]
19304 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19305 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19306 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19307 * stdio-common/tst-long-dbl-fphex.c: New file.
19308
e9258400
DM
193092012-03-06 David S. Miller <davem@davemloft.net>
19310
19311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19312 (set_obp_int): New function.
19313 (get_obp_int): New function.
19314 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19316 Avoid unused variable warnings on 'val' and use builtin_expect.
19317 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19318 __builtin_expect.
e9258400
DM
19319 (INLINE_CLONE_SYSCALL): Likewise.
19320
3bd2c723
DM
193212012-03-05 David S. Miller <davem@davemloft.net>
19322
19323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19324
bbb78d03
AS
193252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19326
884c5db4
AS
19327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19328
bbb78d03
AS
19329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19330 only for |x| >= 40.
19331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19332
1c9f702a 193332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19334
19335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19336 Replace gettimeofday with __vdso_gettimeofday.
19337
7be16f82
RM
19338 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19339 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19340 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19341
19342 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19343 time with __vdso_time.
19344
ed58a00f
JM
193452012-03-05 Joseph Myers <joseph@codesourcery.com>
19346
19347 * manual/lang.texi (size_t): Note types to which size_t may be
19348 equivalent with the GNU C Library, but do not describe when
19349 differences between them are significant.
19350
30ee4ced
AJ
193512012-03-05 Andreas Jaeger <aj@suse.de>
19352
19353 * sysdeps/i386/fpu/libm-test-ulps: Update.
19354
b7cd39e8
JM
193552012-03-05 Joseph Myers <joseph@codesourcery.com>
19356
19357 [BZ #3976]
19358 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19359 (__ieee754_pow): Save and restore rounding mode and use
19360 round-to-nearest for main computations.
19361 * math/libm-test.inc (pow_test_tonearest): New function.
19362 (pow_test_towardzero): Likewise.
19363 (pow_test_downward): Likewise.
19364 (pow_test_upward): Likewise.
19365 (main): Call the new functions.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19368
19369 [BZ #3976]
19370 * math/libm-test.inc (cosh_test_tonearest): New function.
19371 (cosh_test_towardzero): Likewise.
19372 (cosh_test_downward): Likewise.
19373 (cosh_test_upward): Likewise.
19374 (sinh_test_tonearest): Likewise.
19375 (sinh_test_towardzero): Likewise.
19376 (sinh_test_downward): Likewise.
19377 (sinh_test_upward): Likewise.
19378 (main): Call the new functions.
19379 * sysdeps/i386/fpu/libm-test-ulps: Update.
19380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19381
6c6a98c9
TV
193822012-03-05 Tom de Vries <tom@codesourcery.com>
19383
19384 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19385 default stack guard is set in last bytes.
19386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19387
21bb2d2e 193882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19389
21bb2d2e 19390 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19391
21bb2d2e
AJ
19392 [BZ #13656]
19393 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19394 possibly allocate from heap instead of stack.
19395 * stdio-common/bug-vfprintf-nargs.c: New file.
19396 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19397
c6922934
AS
193982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19399
19400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19401
bc957d53
MP
194022012-03-03 Marek Polacek <polacek@redhat.com>
19403
19404 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19405 * math/math_private.h: Likewise.
19406 * stdlib/tst-strtod.c: Likewise.
19407 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19408 * sysdeps/x86_64/bits/atomic.h: Likewise.
19409
6358490d
DM
194102012-03-02 David S. Miller <davem@davemloft.net>
19411
19412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19416 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19417 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19418 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19419 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19420
01ae168d
RM
194212012-03-02 Roland McGrath <roland@hack.frob.com>
19422
d9a17c07
RM
19423 [BZ #13792]
19424 * manual/examples/README: New file, says the example source files
19425 can be used under GPL>=2.
19426 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19427 line containing just "*/".
19428 * manual/examples/add.c: Add copyright header (GPL>=2).
19429 * manual/examples/argp-ex1.c: Likewise.
19430 * manual/examples/argp-ex2.c: Likewise.
19431 * manual/examples/argp-ex3.c: Likewise.
19432 * manual/examples/argp-ex4.c: Likewise.
19433 * manual/examples/atexit.c: Likewise.
19434 * manual/examples/db.c: Likewise.
19435 * manual/examples/dir.c: Likewise.
19436 * manual/examples/dir2.c: Likewise.
19437 * manual/examples/execinfo.c: Likewise.
19438 * manual/examples/filecli.c: Likewise.
19439 * manual/examples/filesrv.c: Likewise.
19440 * manual/examples/fmtmsgexpl.c: Likewise.
19441 * manual/examples/genpass.c: Likewise.
19442 * manual/examples/inetcli.c: Likewise.
19443 * manual/examples/inetsrv.c: Likewise.
19444 * manual/examples/isockad.c: Likewise.
19445 * manual/examples/longopt.c: Likewise.
19446 * manual/examples/memopen.c: Likewise.
19447 * manual/examples/memstrm.c: Likewise.
19448 * manual/examples/mkfsock.c: Likewise.
19449 * manual/examples/mkisock.c: Likewise.
19450 * manual/examples/mygetpass.c: Likewise.
19451 * manual/examples/pipe.c: Likewise.
19452 * manual/examples/popen.c: Likewise.
19453 * manual/examples/rprintf.c: Likewise.
19454 * manual/examples/search.c: Likewise.
19455 * manual/examples/select.c: Likewise.
19456 * manual/examples/setjmp.c: Likewise.
19457 * manual/examples/sigh1.c: Likewise.
19458 * manual/examples/sigusr.c: Likewise.
19459 * manual/examples/stpcpy.c: Likewise.
19460 * manual/examples/strdupa.c: Likewise.
19461 * manual/examples/strftim.c: Likewise.
19462 * manual/examples/strncat.c: Likewise.
19463 * manual/examples/subopt.c: Likewise.
19464 * manual/examples/swapcontext.c: Likewise.
19465 * manual/examples/termios.c: Likewise.
19466 * manual/examples/testopt.c: Likewise.
19467 * manual/examples/testpass.c: Likewise.
19468 * manual/examples/timeval_subtract.c: Likewise.
19469
01ae168d
RM
19470 [BZ #13792]
19471 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19472 function to ...
19473 * manual/timeval_subtract.c.texi: ... here, new file.
19474
49efa33d
DM
194752012-03-02 David S. Miller <davem@davemloft.net>
19476
19477 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19478
28afd92d
JM
194792012-03-02 Joseph Myers <joseph@codesourcery.com>
19480
804360ed
JM
19481 [BZ #3976]
19482 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19483 (__sin): Save and restore rounding mode and use round-to-nearest
19484 for all computations.
19485 (__cos): Save and restore rounding mode and use round-to-nearest
19486 for all computations.
19487 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19488 <fenv.h>.
19489 (tan): Save and restore rounding mode and use round-to-nearest for
19490 all computations.
19491 * math/libm-test.inc (cos_test_tonearest): New function.
19492 (cos_test_towardzero): Likewise.
19493 (cos_test_downward): Likewise.
19494 (cos_test_upward): Likewise.
19495 (sin_test_tonearest): Likewise.
19496 (sin_test_towardzero): Likewise.
19497 (sin_test_downward): Likewise.
19498 (sin_test_upward): Likewise.
19499 (tan_test_tonearest): Likewise.
19500 (tan_test_towardzero): Likewise.
19501 (tan_test_downward): Likewise.
19502 (tan_test_upward): Likewise.
19503 (main): Call the new functions.
19504 * sysdeps/i386/fpu/libm-test-ulps: Update.
19505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19506
a6d06d7b
JM
19507 [BZ #10135]
19508 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19509 small n, then large n, before computing and testing k+n.
19510 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19512 Likewise.
19513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19514 Likewise.
19515 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19516 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19523 * math/libm-test.inc (scalbn_test): Add more tests.
19524 (scalbln_test): Likewise.
19525
07e12bb3
JM
19526 * manual/filesys.texi (mode_t): Describe constraints on size and
19527 signedness, not exact equivalence to a particular type.
19528 (ino_t): Likewise.
19529 (ino64_t): Likewise.
19530 (dev_t): Likewise.
19531 (nlink_t): Likewise.
19532 (blkcnt_t): Likewise.
19533 (blkcnt64_t): Likewise.
19534 * manual/llio.texi (off_t): Likewise.
19535
28afd92d
JM
19536 [BZ #3976]
19537 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19538 (__ieee754_exp): Save and restore rounding mode and use
19539 round-to-nearest for all computations.
19540 * math/libm-test.inc (exp_test_tonearest): New function.
19541 (exp_test_towardzero): Likewise.
19542 (exp_test_downward): Likewise.
19543 (exp_test_upward): Likewise.
19544 (main): Call the new functions.
19545 * sysdeps/i386/fpu/libm-test-ulps: Update.
19546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19547
b1eeb65d
CD
195482012-03-01 Chris Demetriou <cgd@google.com>
19549
19550 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19551 have predictable order.
19552
53362a4b
DM
195532012-03-01 David S. Miller <davem@davemloft.net>
19554
3c969083
DM
19555 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19556
759707de
DM
19557 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19558 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19559 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19560 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19561
dfdb8ff2
DM
19562 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19563 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19564 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19566 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19567 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19568 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19569 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19570 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19571
ead89f96
DM
19572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19573
7f66bd07
DM
19574 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19575 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19576 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19577
53362a4b
DM
19578 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19580 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19581 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19582 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19585 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19586 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19587 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19588 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19594 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19595 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19596 * sysdeps/sparc/elf/configure: Regenerated.
19597
7b1902cb
JM
195982012-03-01 Joseph Myers <joseph@codesourcery.com>
19599
bec039bc
JM
19600 * configure.in (AS, LD): Require binutils 2.20 or later.
19601 * configure: Regenerated.
19602 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19603 as required minimum version.
19604 * INSTALL: Regenerated.
19605
7b1902cb
JM
19606 [BZ #2541]
19607 [BZ #4108]
19608 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19609 before squaring exponent.
19610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19611 bottom long double and 27 bits of top long double before squaring
19612 exponent.
19613 * math/libm-test.inc (erfc_test): Add more tests.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617
f775c276
KT
196182012-03-01 Kai Tietz <ktietz@redhat.com>
19619
19620 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19621 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19622 containing bit-fields.
19623 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19624 * soft-fp/single.h (_FP_UNION_S): Likewise.
19625 * soft-fp/double.h (_FP_UNION_D): Likewise.
19626
5b8a4d4a
JM
196272012-02-29 Joseph Myers <joseph@codesourcery.com>
19628
0bab47b6
JM
19629 [BZ #13786]
19630 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19631 not include ../strcmp.S.
19632 [USE_AS_STRNCASECMP_L]: Likewise.
19633 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19634 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19635 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19636 (__strncasecmp_l_ia32): Define as alias to
19637 __strncasecmp_l_nonascii.
19638
0fcad3e2
JM
19639 [BZ #5794]
19640 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19641 * sysdeps/i386/fpu/libm-test-ulps: Update.
19642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19643
5b8a4d4a
JM
19644 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19646
8fdceb2e
JL
196472012-02-29 Jeff Law <law@redhat.com>
19648
19649 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19650 out of bounds read.
19651
1f393a11
MP
196522012-02-29 Marek Polacek <polacek@redhat.com>
19653
19654 [BZ #13706]
19655 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19656 * elf/Makefile: Add rules to run tst-unused-dep.out.
19657
8847f037
DM
196582012-02-28 David S. Miller <davem@davemloft.net>
19659
19660 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19661 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19664 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19665 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19666
169d7f11
JM
196672012-02-29 Joseph Myers <joseph@codesourcery.com>
19668
19669 * math/libm-test.inc (llround_test): Move one test from
19670 lround_test. Use TEST_f_L in moved test.
19671 (lround_test): Move misplaced test to llround_test. Add testcase
19672 from bug 2561.
19673
39adf059
UD
196742012-02-28 Ulrich Drepper <drepper@gmail.com>
19675
19676 * sysdeps/x86_64/fpu/e_expf.S: New file.
19677 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19678
71b5d1c5
SB
196792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19680
19681 [BZ #13637]
19682 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19683 of remain_len that may cause incomplete multi-byte character and
19684 false match.
19685 * posix/bug-regex33.c: New file.
19686 * posix/Makefile (tests): Add bug-regex33.
19687
1f77f049
JM
196882012-02-28 Joseph Myers <joseph@codesourcery.com>
19689
19690 * manual/macros.texi: New file.
19691 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19692 * manual/libc.texinfo: Include macros.texi.
19693 * manual/creatute.texi: Likewise.
19694 * manual/install.texi: Likewise.
19695 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19696 @glibcadj{} in references to the GNU C Library.
19697 * manual/charset.texi: Likewise.
19698 * manual/conf.texi: Likewise.
19699 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19700 when not using those macros.
19701 * manual/creature.texi: Likewise.
19702 * manual/crypt.texi: Likewise.
19703 * manual/errno.texi: Likewise.
19704 * manual/filesys.texi: Likewise.
19705 * manual/header.texi: Likewise.
19706 * manual/install.texi: Likewise.
19707 * manual/intro.texi: Likewise.
19708 * manual/io.texi: Likewise.
19709 * manual/job.texi: Likewise.
19710 * manual/lang.texi: Likewise.
19711 * manual/libc.texiinfo: Likewise.
19712 * manual/llio.texi: Likewise.
19713 * manual/locale.texi: Likewise.
19714 * manual/maint.texi: Likewise.
19715 * manual/math.texi: Likewise.
19716 * manual/memory.texi: Likewise.
19717 * manual/message.texi: Likewise.
19718 * manual/nss.texi: Likewise.
19719 * manual/pattern.texi: Likewise.
19720 * manual/process.texi: Likewise.
19721 * manual/resource.texi: Likewise.
19722 * manual/search.texi: Likewise.
19723 * manual/setjmp.texi: Likewise.
19724 * manual/signal.texi: Likewise.
19725 * manual/socket.texi: Likewise.
19726 * manual/startup.texi: Likewise.
19727 * manual/stdio.texi: Likewise.
19728 * manual/string.texi: Likewise.
19729 * manual/sysinfo.texi: Likewise.
19730 * manual/syslog.texi: Likewise.
19731 * manual/terminal.texi: Likewise.
19732 * manual/time.texi: Likewise.
19733 * manual/users.texi: Likewise.
19734 * INSTALL: Regenerated.
19735 * NOTES: Regenerated.
d40c5d54 19736 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19737
450bf206
AS
197382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19739
19740 * include/dirent.h: Include <dirstream.h> before
19741 <dirent/dirent.h>.
19742
741a235b
DM
197432012-02-28 David S. Miller <davem@davemloft.net>
19744
19745 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19746 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19747 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19748 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19749
d6b5aa58
DM
197502012-02-27 David S. Miller <davem@davemloft.net>
19751
1aff59a3
DM
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19754 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19755 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19756
d6b5aa58
DM
19757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19758 frame pointer instead of stack pointer relative arg slot.
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19760 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19761 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19762
433f48bf
CD
197632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19764
19765 [BZ #3992]
19766 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19767
d674b76d
DM
197682012-02-27 David S. Miller <davem@davemloft.net>
19769
19770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19776 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19777 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19778
0e7727f7
JM
197792012-02-27 Joseph Myers <joseph@codesourcery.com>
19780
19781 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19782 later. Allow versions 5-9.
43be4ca2 19783 * configure: Regenerated.
0e7727f7
JM
19784 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19785 required minimum version and 4.6 as recommended version. Do not
19786 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19787 * INSTALL: Regenerated.
0e7727f7 19788
a78bc654
DM
197892012-02-27 David S. Miller <davem@davemloft.net>
19790
428d5830
DM
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19797 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19798 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19799
a78bc654
DM
19800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19801 manipulate bits before adding and subtracting TWO112[sx].
19802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19803
4579f81c
RM
198042012-02-27 Roland McGrath <roland@hack.frob.com>
19805
36c8acb4
RM
19806 [BZ #13775]
19807 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19808 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19809 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19810 being in POSIX, because they are in 1003.1-2008.
19811
84ad622b
RM
19812 * rt/tst-aio.c: Include <fcntl.h>.
19813 * rt/tst-aio7.c: Likewise.
19814 * rt/tst-aio64.c: Likewise.
19815
4579f81c
RM
19816 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19817
abd923db
JM
198182012-02-27 Joseph Myers <joseph@codesourcery.com>
19819
19820 * manual/install.texi (--with-headers): Describe headers as
19821 interface headers, not private headers.
19822 (Specific advice for GNU/Linux systems): Describe use of headers
19823 from "make headers_install", not private headers from older
19824 kernels.
43be4ca2 19825 * INSTALL: Regenerated.
abd923db
JM
19826 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19827 Change to 2.6.19.
19828 * sysdeps/unix/sysv/linux/configure: Regenerated.
19829
6664049b
JM
19830 * manual/llio.texi (fclean): Remove documentation.
19831
bb8b6697
JM
19832 * manual/Makefile (libc-texi-generated): New variable. Include
19833 version.texi.
19834 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19835 $(libc-texi-generated), not duplicated list of files.
19836 (version.texi, stamp-version): New rules.
19837 (realclean): Remove $(libc-texi-generated), not individual files
19838 from that list. Do not remove dir-add.texinfo.
19839 * manual/libc.texinfo: Comment out uses of edition numbers and
19840 references to printed manual. Remove last-updated dates.
19841 (EDITION): Comment out.
19842 (ISBN): Likewise.
19843 (VERSION, UPDATED): Remove.
19844 (version.texi): Include.
19845
12e5c3b9
AS
198462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19847
19848 * sysdeps/posix/spawni.c: Include <signal.h>.
19849 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19850 * sysdeps/pthread/aio_fsync.c: Likewise.
19851
4efeffc1 198522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19853
ba63ba08
UD
19854 * conform/Makefile (tests): Run only when not cross-compiling and
19855 when fast-check is not defined.
19856
d94a4670
UD
19857 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19858 * conform/data/limits.h-data: Fixes for POSIX2008.
19859 * conform/run-conformtest.sh: Run all tests.
19860 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19861 headers.
19862 * include/bits/dlfcn.h: Likewise.
19863 * include/langinfo.h: Likewise.
19864 * include/monetary.h: Likewise.
19865 * include/sys/poll.h: Likewise.
19866
19867 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19868 for __USE_GNU.
19869 * posix/spawn.h: Define __need_sigset_t.
19870 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19871 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19872 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19873 to get sigevent_t only.
19874 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19875 only for __USE_GNU.
19876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19877 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19878 process_vm_writev only for __USE_GNU.
19879 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19880
19881 * conform/Makefile: For now ignore errors from run-conformtest.
19882 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19883 POSIX to avoid namespace pollution. Don't prepend headers.
19884 * conform/data/aio.h-data: Fixes for POSIX testing.
19885 * conform/data/fcntl.h-data: Likewise.
19886 * conform/data/glob.h-data: Likewise.
19887 * conform/data/grp.h-data: Likewise.
19888 * conform/data/pthread.h-data: Likewise.
19889 * conform/data/pwd.h-data: Likewise.
19890 * conform/data/signal.h-data: Likewise.
19891 * conform/data/spawn.h-data: Likewise.
19892 * conform/data/stdio.h-data: Likewise.
19893 * conform/data/stdlib.h-data: Likewise.
19894 * conform/data/stropts.h-data: Likewise.
19895 * conform/data/sys/mman.h-data: Likewise.
19896 * conform/data/sys/stat.h-data: Likewise.
19897 * conform/data/sys/types.h-data: Likewise.
19898 * conform/data/sys/wait.h-data: Likewise.
19899 * conform/data/time.h-data: Likewise.
19900 * conform/data/unistd.h-data: Likewise.
19901 * conform/data/utime.h-data: Likewise.
19902
19903 * io/sys/stat.h: fchmod was always in POSIX.
19904 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19905 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19906 * rt/aio.h: Define __need_timespec before including <time.h>.
19907 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19908 struct. Add forward declaration of pthread_attr_t and use it in
19909 sigevent.
19910 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19912 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19913 always remove CLK_TCK definition.
19914
c20105c3
AS
199152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19916
19917 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19918
7a270350
UD
199192012-02-25 Ulrich Drepper <drepper@gmail.com>
19920
31341567
UD
19921 * conform/run-conformtest.sh: New file.
19922 * conform/Makefile: Run run-conformtest for tests.
19923 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19924 support.
19925
19926 * conform/data/uchar.h-data: New file.
19927 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19928 * conform/data/arpa/inet.h-data: Likewise.
19929 * conform/data/assert.h-data: Likewise.
19930 * conform/data/complex.h-data: Likewise.
19931 * conform/data/cpio.h-data: Likewise.
19932 * conform/data/ctype.h-data: Likewise.
19933 * conform/data/dirent.h-data: Likewise.
19934 * conform/data/dlfcn.h-data: Likewise.
19935 * conform/data/errno.h-data: Likewise.
19936 * conform/data/fcntl.h-data: Likewise.
19937 * conform/data/float.h-data: Likewise.
19938 * conform/data/fmtmsg.h-data: Likewise.
19939 * conform/data/fnmatch.h-data: Likewise.
19940 * conform/data/ftw.h-data: Likewise.
19941 * conform/data/glob.h-data: Likewise.
19942 * conform/data/grp.h-data: Likewise.
19943 * conform/data/iconv.h-data: Likewise.
19944 * conform/data/inttypes.h-data: Likewise.
19945 * conform/data/langinfo.h-data: Likewise.
19946 * conform/data/libgen.h-data: Likewise.
19947 * conform/data/limits.h-data: Likewise.
19948 * conform/data/locale.h-data: Likewise.
19949 * conform/data/math.h-data: Likewise.
19950 * conform/data/monetary.h-data: Likewise.
19951 * conform/data/mqueue.h-data: Likewise.
19952 * conform/data/ndbm.h-data: Likewise.
19953 * conform/data/net/if.h-data: Likewise.
19954 * conform/data/netdb.h-data: Likewise.
19955 * conform/data/netinet/in.h-data: Likewise.
19956 * conform/data/nl_types.h-data: Likewise.
19957 * conform/data/poll.h-data: Likewise.
19958 * conform/data/pthread.h-data: Likewise.
19959 * conform/data/pwd.h-data: Likewise.
19960 * conform/data/regex.h-data: Likewise.
19961 * conform/data/sched.h-data: Likewise.
19962 * conform/data/search.h-data: Likewise.
19963 * conform/data/semaphore.h-data: Likewise.
19964 * conform/data/setjmp.h-data: Likewise.
19965 * conform/data/signal.h-data: Likewise.
19966 * conform/data/spawn.h-data: Likewise.
19967 * conform/data/stdarg.h-data: Likewise.
19968 * conform/data/stdio.h-data: Likewise.
19969 * conform/data/stdlib.h-data: Likewise.
19970 * conform/data/string.h-data: Likewise.
19971 * conform/data/strings.h-data: Likewise.
19972 * conform/data/stropts.h-data: Likewise.
19973 * conform/data/sys/ipc.h-data: Likewise.
19974 * conform/data/sys/mman.h-data: Likewise.
19975 * conform/data/sys/msg.h-data: Likewise.
19976 * conform/data/sys/resource.h-data: Likewise.
19977 * conform/data/sys/select.h-data: Likewise.
19978 * conform/data/sys/sem.h-data: Likewise.
19979 * conform/data/sys/shm.h-data: Likewise.
19980 * conform/data/sys/socket.h-data: Likewise.
19981 * conform/data/sys/stat.h-data: Likewise.
19982 * conform/data/sys/statvfs.h-data: Likewise.
19983 * conform/data/sys/time.h-data: Likewise.
19984 * conform/data/sys/timeb.h-data: Likewise.
19985 * conform/data/sys/times.h-data: Likewise.
19986 * conform/data/sys/types.h-data: Likewise.
19987 * conform/data/sys/uio.h-data: Likewise.
19988 * conform/data/sys/un.h-data: Likewise.
19989 * conform/data/sys/utsname.h-data: Likewise.
19990 * conform/data/sys/wait.h-data: Likewise.
19991 * conform/data/syslog.h-data: Likewise.
19992 * conform/data/tar.h-data: Likewise.
19993 * conform/data/termios.h-data: Likewise.
19994 * conform/data/utime.h-data: Likewise.
19995 * conform/data/utmpx.h-data: Likewise.
19996 * conform/data/varargs.h-data: Likewise.
19997 * conform/data/wchar.h-data: Likewise.
19998 * conform/data/wctype.h-data: Likewise.
19999 * conform/data/wordexp.h-data: Likewise.
20000
20001 * include/stropts.h: New file.
20002 * include/uchar.h: New file.
20003 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20004 * include/assert.h: Likewise.
20005 * include/ctype.h: Likewise.
20006 * include/dirent.h: Likewise.
20007 * include/dlfcn.h: Likewise.
20008 * include/fcntl.h: Likewise.
20009 * include/fnmatch.h: Likewise.
20010 * include/glob.h: Likewise.
20011 * include/grp.h: Likewise.
20012 * include/libio.h: Likewise.
20013 * include/locale.h: Likewise.
20014 * include/math.h: Likewise.
20015 * include/net/if.h: Likewise.
20016 * include/netdb.h: Likewise.
20017 * include/netinet/in.h: Likewise.
20018 * include/pthread.h: Likewise.
20019 * include/pwd.h: Likewise.
20020 * include/regex.h: Likewise.
20021 * include/sched.h: Likewise.
20022 * include/search.h: Likewise.
20023 * include/setjmp.h: Likewise.
20024 * include/signal.h: Likewise.
20025 * include/stdio.h: Likewise.
20026 * include/stdlib.h: Likewise.
20027 * include/string.h: Likewise.
20028 * include/sys/cdefs.h: Likewise.
20029 * include/sys/mman.h: Likewise.
20030 * include/sys/msg.h: Likewise.
20031 * include/sys/resource.h: Likewise.
20032 * include/sys/select.h: Likewise.
20033 * include/sys/socket.h: Likewise.
20034 * include/sys/stat.h: Likewise.
20035 * include/sys/statvfs.h: Likewise.
20036 * include/sys/time.h: Likewise.
20037 * include/sys/times.h: Likewise.
20038 * include/sys/uio.h: Likewise.
20039 * include/sys/utsname.h: Likewise.
20040 * include/sys/wait.h: Likewise.
20041 * include/termios.h: Likewise.
20042 * include/time.h: Likewise.
20043 * include/ulimit.h: Likewise.
20044 * include/unistd.h: Likewise.
20045 * include/utime.h: Likewise.
20046 * include/wchar.h: Likewise.
20047 * include/wctype.h: Likewise.
20048 * include/wordexp.h: Likewise.
20049
20050 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20051
7a270350
UD
20052 * time/time.h: TIME_UTC must be a macro.
20053 Make timespec_get available for ISO C11 only as well.
20054
7724defc
UD
200552012-02-24 Ulrich Drepper <drepper@gmail.com>
20056
20057 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20058 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20059
6b1d1d46
JM
200602012-02-24 Joseph Myers <joseph@codesourcery.com>
20061
20062 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20063
0f8bbd69
JM
200642012-02-24 Joseph Myers <joseph@codesourcery.com>
20065
20066 * manual/texinfo.tex: Update to version 2012-01-19.16.
20067
66ab80bc
JM
200682012-02-24 Joseph Myers <joseph@codesourcery.com>
20069
20070 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20071
74981cc5
RM
200722012-02-24 Roland McGrath <roland@hack.frob.com>
20073
ee968201
RM
20074 [BZ #13738]
20075 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20076 * manual/fdl-1.3.texi: New file.
20077 * manual/fdl-1.1.texi: File removed.
20078
74981cc5
RM
20079 [BZ #13738]
20080 * manual/libc.texinfo (FDL_VERSION): New @set.
20081 Use it for mention of FDL in cover text.
20082 (Documentation License): Use it in @include file name.
20083
7bb764bc
JM
200842012-02-22 Joseph Myers <joseph@codesourcery.com>
20085 Roland McGrath <roland@hack.frob.com>
20086
20087 [BZ #5461]
20088 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20089 not LONG_LONG_MAX and LONG_LONG_MIN.
20090 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20091 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20092 name.
20093 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20094
6cbeae47
JM
200952012-02-22 Joseph Myers <joseph@codesourcery.com>
20096
20097 [BZ #2547]
20098 [BZ #11365]
20099 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20100 manipulate bits before adding and subtracting TWO23[sx].
20101 * math/libm-test.inc (nearbyint_test): Add more tests.
20102
fe45ce09
JM
201032012-02-22 Joseph Myers <joseph@codesourcery.com>
20104
20105 [BZ #2548]
20106 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20107 bits before adding and subtracting TWO23[sx].
20108 * math/libm-test.inc (rint_test): Add more tests.
20109 (rint_test_tonearest): Likewise.
20110 (rint_test_towardzero): Likewise.
20111 (rint_test_downward): Likewise.
20112 (rint_test_upward: Likewise.
20113
ff3b3d82
JM
201142012-02-22 Joseph Myers <joseph@codesourcery.com>
20115
20116 [BZ #10110]
20117 * include/stdc-predef.h: New file. Extracted from features.h.
20118 * include/features.h: Include stdc-predef.h.
20119 * Makefile (headers): Add stdc-predef.h.
20120 * CONFORMANCE (Compiler limitations): Update.
20121
ef0aab35
JM
201222012-02-22 Joseph Myers <joseph@codesourcery.com>
20123
20124 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20125
58639409
DM
201262012-02-21 David S. Miller <davem@davemloft.net>
20127
20128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20129 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20130
c0e70b25
DM
201312012-02-20 David S. Miller <davem@davemloft.net>
20132
20133 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20134 using a normal save/restore sequence, rather than allocating a
20135 dummy stack frame just to store a frame pointer and restore.
20136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20137
fb06851d
JM
201382012-02-21 Joseph Myers <joseph@codesourcery.com>
20139
20140 * manual/install.texi: Fix stray word in line-wrapped comment.
20141
7a8b71c3
DM
201422012-02-20 David S. Miller <davem@davemloft.net>
20143
d510c123
DM
20144 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20145 both binutils and gcc support GOTDATA.
20146
0722d7c2
DM
20147 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20148 "rd %pc" in the PIC register setup sequences.
20149
3d2b3019
DM
20150 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20151 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20152 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20153 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20154 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20156 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20159 (SYSCALL_ERROR_HANDLER): Likewise.
20160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20161 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20163 (SYSCALL_ERROR_HANDLER): Likewise.
20164
c80098a9
DM
20165 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20166 (HAVE_GCC_GOTDATA): New.
20167 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20168 relocation support in both binutils and gcc.
20169 * sysdeps/sparc/elf/configure: Regenerate.
20170
3a2545a0
DM
20171 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20172 * sysdeps/sparc/sparc32/elf/configure: Delete.
20173 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20174 * sysdeps/sparc/sparc64/elf/configure: Delete.
20175 * sysdeps/sparc/elf/configure.in: New file.
20176 * sysdeps/sparc/elf/configure: Generate.
20177
7a8b71c3
DM
20178 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20179 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20180 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20181 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20182 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20183
f1e86fca
JM
201842012-02-21 Joseph Myers <joseph@codesourcery.com>
20185
20186 * manual/install.texi: Do not mention specific glibc version
20187 numbers.
20188 * manual/libc.texinfo (VERSION, UPDATED): Update.
20189 (@copying): Use @copyright{} and range of years.
20190
0e7dfaef
JM
201912012-02-21 Joseph Myers <joseph@codesourcery.com>
20192
20193 [BZ #13695]
20194 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20195 [crti.S not in sysdirs] (generated): Do not append.
20196 [crti.S not in sysdirs] (omit-deps): Likewise.
20197 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20198 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20199 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20200 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20201 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20202 Likewise.
20203 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20204 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20205 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20206 * csu/defs.awk: Remove file.
20207 * sysdeps/generic/initfini.c: Likewise.
20208 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20209 variable.
20210 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20211 Likewise.
20212
599af3ca
JM
202132012-02-20 Joseph Myers <joseph@codesourcery.com>
20214
20215 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20216 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20220 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20221 <bits/epoll.h>.
20222 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20223 (__EPOLL_PACKED): Define to empty if not defined by
20224 <bits/epoll.h>.
20225 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20227 bits/epoll.h.
20228
0e499750
JM
202292012-02-20 Joseph Myers <joseph@codesourcery.com>
20230
20231 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20232 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20233 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20234 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20235 <bits/timerfd.h>.
20236 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20238 bits/timerfd.h.
20239
5ad91f6e
JM
202402012-02-20 Joseph Myers <joseph@codesourcery.com>
20241
20242 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20243 in C locale.
20244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20245 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20248
06b99b02
AJ
202492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20250
20251 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20253
7638c0fd
AS
202542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20255
20256 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20257 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20258 defined.
20259 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20260 Likewise.
20261 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20262 entry for 2.16.
20263
92221550
AJ
202642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20265
20266 * math/w_acos.c: Use non-signaling floating-point comparisons.
20267 * math/w_acosf.c: Likewise.
20268 * math/w_acosh.c: Likewise.
20269 * math/w_acoshf.c: Likewise.
20270 * math/w_acoshl.c: Likewise.
20271 * math/w_acosl.c: Likewise.
20272 * math/w_asin.c: Likewise.
20273 * math/w_asinf.c: Likewise.
20274 * math/w_asinl.c: Likewise.
20275 * math/w_atanh.c: Likewise.
20276 * math/w_atanhf.c: Likewise.
20277 * math/w_atanhl.c: Likewise.
20278 * math/w_exp2.c: Likewise.
20279 * math/w_exp2f.c: Likewise.
20280 * math/w_exp2l.c: Likewise.
20281 * math/w_j0.c: Likewise.
20282 * math/w_j0f.c: Likewise.
20283 * math/w_j0l.c: Likewise.
20284 * math/w_j1.c: Likewise.
20285 * math/w_j1f.c: Likewise.
20286 * math/w_j1l.c: Likewise.
20287 * math/w_jn.c: Likewise.
20288 * math/w_jnf.c: Likewise.
20289 * math/w_log.c: Likewise.
20290 * math/w_log10.c: Likewise.
20291 * math/w_log10f.c: Likewise.
20292 * math/w_log10l.c: Likewise.
20293 * math/w_log2.c: Likewise.
20294 * math/w_log2f.c: Likewise.
20295 * math/w_log2l.c: Likewise.
20296 * math/w_logf.c: Likewise.
20297 * math/w_logl.c: Likewise.
20298 * math/w_sqrt.c: Likewise.
20299 * math/w_sqrtf.c: Likewise.
20300 * math/w_sqrtl.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20306
ebaf36eb
JM
203072012-02-19 Joseph Myers <joseph@codesourcery.com>
20308
20309 [BZ #9739]
20310 * manual/string.texi (strnlen): Use correct parameter name in
20311 equivalent expression.
20312
71c254a6
JM
203132012-02-19 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #11174]
20316 * manual/users.texi (seteuid): Consistently use neweuid for
20317 argument name.
20318
16d2c631
JM
203192012-02-19 Joseph Myers <joseph@codesourcery.com>
20320
20321 [BZ #13704]
20322 * manual/nss.texi (Services in the NSS configuration): Correct
20323 list of services in example configuration file.
20324
cd837b09
NB
203252012-02-19 Nick Bowler <nbowler@draconx.ca>
20326
20327 [BZ #11322]
20328 * manual/arith.texi: Remove statements about negative zero
20329 behaving identically to zero.
20330
02c4bbad
JM
203312012-02-18 Joseph Myers <joseph@codesourcery.com>
20332
20333 [BZ #5993]
20334 * manual/install.texi: Do not document upgrading from libc5.
20335
366842e7
JM
203362012-02-18 Joseph Myers <joseph@codesourcery.com>
20337
20338 [BZ #4596]
20339 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20340
dd54084d
DM
203412012-02-18 David S. Miller <davem@davemloft.net>
20342
20343 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20344 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20345 %o7 across the call.
20346 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20347 instead.
20348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20349 SETUP_PIC_REG_LEAF.
20350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20351 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20352 * sysdeps/sparc/crtn.S: Likewise.
20353
2bcc53a3
UD
203542012-02-17 Ulrich Drepper <drepper@gmail.com>
20355
20356 * aout/Makefile: Remove.
20357
09c093b5
RK
203582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20359
20360 [BZ #13058]
20361 * manual/examples/argp-ex1.c (main): Format definition in GNU
20362 style.
20363 * manual/examples/argp-ex2.c (main): Likewise.
20364 * manual/examples/argp-ex3.c (main): Likewise.
20365 * manual/examples/argp-ex4.c (main): Likewise.
20366 * manual/examples/longopt.c (main): Use new-style prototype
20367 definition.
20368 * manual/examples/strncat.c (main): Specify return type and use
20369 (void) for arguments.
20370 * manual/examples/subopt.c (main): Use char **argv argument.
20371
2ee633a2
JM
203722012-02-17 Joseph Myers <joseph@codesourcery.com>
20373
20374 [BZ #5077]
20375 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20376 rounding modes.
20377
0520adde
FB
203782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20379
20380 [BZ #6907]
20381 * manual/string.texi (strchr): Change when strchrnul is
20382 recommended.
20383
3f4081cd
DGM
203842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20385
20386 [BZ #174]
20387 * manual/locale.texi (setlocale): Document LOCPATH.
20388
d1b10e78
JM
203892012-02-17 Joseph Myers <joseph@codesourcery.com>
20390
20391 [BZ #10210]
20392 * manual/process.texi (execle): Move @dots{} before last argument.
20393
79c6869c
PB
203942012-02-17 Paul Bolle <pebolle@tiscali.nl>
20395
20396 [BZ #12047]
20397 * manual/charset.texi (Generic Charset Conversion): Fix typo
20398 (LC_TYPE -> LC_CTYPE).
20399
cc6e48bc
NB
204002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20401
20402 [BZ #5805]
20403 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20404 (scalbnf): Likewise.
20405 (scalbnl): Likewise.
20406 (scalbln): Likewise.
20407 (scalblnf): Likewise.
20408 (scalblnl): Likewise.
20409 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20410 (vwarnx): Likewise.
20411 (verr): Likewise.
20412 (verrx): Likewise.
20413 * manual/filesys.texi (telldir): Use braces around return type.
20414 * manual/llio.texi (mmap): Add space after comma.
20415 (mmap64): Likewise.
20416 * manual/math.texi (jn): Use @var{} on parameter names.
20417 (jnf): Likewise.
20418 (jnl): Likewise.
20419 (yn): Likewise.
20420 (ynf): Likewise.
20421 (ynl): Likewise.
20422 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20423 line.
20424 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20425 "...".
20426 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20427 (sched_get_priority_max): Likewise.
20428 * manual/signal.texi (sigvec): Add space after comma.
20429 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20430 names.
20431 (if_indextoname): Likewise.
20432 (if_freenameindex): Likewise.
20433 (sendto): Use ',' instead of '.' in prototype.
20434 * manual/startup.texi (syscall): Use @dots{} instead of literal
20435 "...".
20436 * manual/stdio.texi (__fpending): Separate initial words of
20437 paragraph from @deftypefun line.
20438 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20439 "...".
20440 (vsyslog): Use @var{} on parameter names.
20441 * manual/terminal.texi (stty): Use @var{} on parameter names.
20442 * manual/users.texi (getutmp): Use @var{} on parameter names.
20443 (getutmpx): Likewise.
20444
5b23062f
JM
204452012-02-17 Joseph Myers <joseph@codesourcery.com>
20446
20447 [BZ #6884]
20448 * manual/stdio.texi (fopen): Fix typos in description of
20449 ",ccs=STRING".
20450
8dee4833
AJ
204512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20452
20453 [BZ #4026]
20454 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20455 get clock_id definition.
20456
9078ce93
TS
204572012-02-17 Thomas Schwinge <thomas@schwinge.name>
20458
20459 [BZ #4822]
20460 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20461 (madvise): Cast every argument to void on its own.
20462
3835c55f
JM
204632012-02-17 Joseph Myers <joseph@codesourcery.com>
20464
20465 [BZ #9902]
20466 * manual/startup.texi (Exit Status): Fix typo.
20467
35c47e37
JM
204682012-02-17 Joseph Myers <joseph@codesourcery.com>
20469
20470 [BZ #10140]
20471 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20472 * manual/examples/argp-ex2.c: Likewise.
20473 * manual/examples/argp-ex3.c: Likewise.
20474
e3b69ca7
RH
204752012-02-16 Richard Henderson <rth@redhat.com>
20476
20477 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20478 * sysdeps/s390/s390-32/initfini.c: Remove.
20479 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20480 * sysdeps/s390/s390-64/initfini.c: Remove.
20481
df83af67
KK
204822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20483
20484 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20485 compiler output for sysdeps/generic/initfini.c.
20486 * sysdeps/sh/elf/initfini.c: Remove file.
20487
f63f3380
DM
204882012-02-16 David S. Miller <davem@davemloft.net>
20489
fb59b3a4
DM
20490 [BZ #11494]
20491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20492
f63f3380
DM
20493 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20494 * sysdeps/sparc/crti.S: New file.
20495 * sysdeps/sparc/crtn.S: New file.
20496 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20497 * sysdeps/sparc/sparc64/Makefile: Likewise.
20498
df6a4a4a
MF
204992012-02-15 Mike Frysinger <vapier@gentoo.org>
20500
6dd8f3dc 20501 [BZ #3335]
df6a4a4a
MF
20502 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20503
1cac7236
RM
205042012-02-15 Roland McGrath <roland@hack.frob.com>
20505
d2c736f8
RM
20506 [BZ #4822]
20507 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20508
1cac7236
RM
20509 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20510 (write, read, close): Likewise.
20511 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20512
8e475601
JM
205132012-02-15 Joseph Myers <joseph@codesourcery.com>
20514
20515 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20516 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20517 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20518 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20519 <bits/signalfd.h>.
20520 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20522 bits/signalfd.h.
20523
ed656b40
MP
205242012-02-14 Marek Polacek <polacek@redhat.com>
20525
20526 * sysdeps/x86_64/crti.S: New file.
20527 * sysdeps/x86_64/crtn.S: New file.
20528 * sysdeps/x86_64/elf/initfini.c: Remove file.
20529
2a979d3a
JM
205302012-02-13 Joseph Myers <joseph@codesourcery.com>
20531
20532 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20533 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20534 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20535 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20536 <bits/inotify.h>.
20537 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20539 bits/inotify.h.
20540
2a418ac3
JM
205412012-02-13 Joseph Myers <joseph@codesourcery.com>
20542
20543 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20544 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20546 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20547 <bits/eventfd.h>.
20548 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20550 bits/eventfd.h.
20551
fb779be7
TS
205522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20553
e19e83c5
RM
20554 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20555 __feraiseexcept instead of feraiseexcept.
7c35ffed 20556
fb779be7
TS
20557 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20558 nanosleep invocations.
20559 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20560 strings, and add error checking for a nanosleep invocations.
20561
59ba27a6
PE
205622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20563
20564 Replace FSF snail mail address with URLs, as per GNU coding standards.
20565 Most of the snail mail addresses were wrong anyway, and omitting
20566 them makes the source code easier to maintain. Almost all of the
20567 changes are to license notices and to locale LC_IDENTIFICATION
20568 addresses, except for this one:
20569 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20570 not its snail mail address.
20571
57b957eb
RH
205722012-02-09 Richard Henderson <rth@twiddle.net>
20573
af850b1c
RH
20574 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20575 of kernel-features.h.
20576
57b957eb
RH
20577 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20578
6b73181a
MP
205792012-02-08 Marek Polacek <polacek@redhat.com>
20580
20581 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20582 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20583 * sysdeps/gnu/_G_config.h: Likewise.
20584 * sysdeps/generic/_G_config.h: Likewise.
20585
26ecc33a
AS
205862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20587
6c6dbc63
AS
20588 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20589 tests.
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20591
e216c012
AS
20592 * sysdeps/powerpc/powerpc32/crti.S: New file.
20593 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20594 * sysdeps/powerpc/powerpc64/crti.S: New file.
20595 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20596
26ecc33a
AS
20597 * Makeconfig (have-initfini): Don't set.
20598 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20599 * configure.in (nopic_initfini): Don't substitute.
20600 * config.h.in (HAVE_INITFINI): Don't #undef.
20601 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20602 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20603
3add8e13
JM
206042012-02-08 Joseph Myers <joseph@codesourcery.com>
20605
20606 Support crti.S and crtn.S provided directly by architectures.
20607 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20608 [crti.S in sysdirs] (omit-deps): Likewise.
20609 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20610 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20611 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20612 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20613 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20614 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20615 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20616 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20617 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20618 compiler output for sysdeps/generic/initfini.c.
20619 * sysdeps/i386/elf/Makefile: Remove file.
20620 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20621
a22f12b4
MP
206222012-02-07 Marek Polacek <polacek@redhat.com>
20623
20624 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20625 * sysdeps/gnu/_G_config.h: Likewise.
20626 * sysdeps/mach/hurd/_G_config.h: Likewise.
20627
148cf100
MP
206282012-02-07 Marek Polacek <polacek@redhat.com>
20629
20630 * math/Makefile (tests): Add tst-CMPLX2.
20631 * math/tst-CMPLX2.c: New file.
20632
cfdc0dd7
AS
206332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20634
84ba42c4
AS
20635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20636
cfdc0dd7
AS
20637 * math/libm-test.inc (jn_test): Add missing L suffix.
20638
622c86f4
MP
206392012-02-06 Marek Polacek <polacek@redhat.com>
20640
20641 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20642 * sysdeps/i386/fpu/e_powf.S: Likewise.
20643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20644 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20645 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20646 * sysdeps/i386/fpu/e_pow.S: Likewise.
20647 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20648 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20649 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20650 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20651 * sysdeps/i386/fpu/e_log2.S: Likewise.
20652 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20653 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20654 * sysdeps/i386/fpu/e_powl.S: Likewise.
20655 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20656 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20657 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20658 * sysdeps/i386/fpu/e_logl.S: Likewise.
20659 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20660 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20665 * sysdeps/i386/fpu/e_log.S: Likewise.
20666 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20667 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20668 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20669 * sysdeps/i386/fpu/e_logf.S: Likewise.
20670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20672 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20673 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20674 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20675 * sysdeps/i386/fpu/e_log10.S: Likewise.
20676 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20677 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20678 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20679 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20680 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20681 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20682 * sysdeps/i386/asm-syntax.h: Likewise.
20683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20686 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20687 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20688 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20689 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20690 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20692 * sysdeps/powerpc/sysdep.h: Likewise.
20693 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20695
d4a54ac6
JM
206962012-02-06 Joseph Myers <joseph@codesourcery.com>
20697
20698 [BZ #411]
20699 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20700
314054ea
JM
207012012-02-06 Joseph Myers <joseph@codesourcery.com>
20702
20703 * sysdeps/i386/sysdep.h: Include <features.h>.
20704 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20705 version.
20706
d8e0ca50
JM
207072012-02-05 Joseph Myers <joseph@codesourcery.com>
20708
20709 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20710 Define.
20711 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20712 LOAD_PIC_REG_STR.
20713
b1da7dd9
JM
207142012-02-03 Joseph Myers <joseph@codesourcery.com>
20715
20716 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20717 (SETUP_PIC_REG): Use GET_PC_THUNK.
20718 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20719 macro.
20720
9a1d9254
JM
207212012-02-03 Joseph Myers <joseph@codesourcery.com>
20722
20723 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20724 for non-PIC compilation.
20725 (SETUP_PIC_REG): Add .p2align directive.
20726 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20727 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20728 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20729 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20730 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20731 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20732 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20733 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20734 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20735 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20736 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20737 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20738 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20739 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20740 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20741 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20745 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20746 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20748 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20754 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20755 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20767
65dc3b75
JM
207682012-02-03 Joseph Myers <joseph@codesourcery.com>
20769
20770 * math/tst-CMPLX.c: Include <stdio.h>.
20771
d55bf177
JM
207722012-01-31 Joseph Myers <joseph@codesourcery.com>
20773
20774 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20775 float.
20776 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20777 * sysdeps/sparc/bits/mathdef.h: Likewise.
20778
69db4f8f
MP
207792012-01-31 Marek Polacek <polacek@redhat.com>
20780
20781 * libio/libio.h: Don't define _PARAMS.
20782 * locale/programs/config.h: Don't define PARAMS.
20783 * stdlib/strtol_l.c: Likewise.
20784 (__strtol_l): Remove PARAMS from the prototype.
20785
41b81892
UD
207862012-01-31 Ulrich Drepper <drepper@gmail.com>
20787
3b49edc0
UD
20788 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20789 names. Just use the correct names. Remove unnecessary wrapper
20790 functions.
20791 * malloc/arena.c: Likewise.
20792 * malloc/hooks.c: Likewise.
20793
41b81892
UD
20794 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20795 ARENA_TEST says not to. Simplify test for creation of a new arena.
20796 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20797
27a25b6e
UD
207982012-01-30 Ulrich Drepper <drepper@gmail.com>
20799
20800 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20801 into tail calls.
20802 (update_get_addr): New function.
20803 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20804 GET_ADDR_MODULE parameter.
20805
c8a89e7d
JM
208062012-01-30 Joseph Myers <joseph@codesourcery.com>
20807
20808 * crypt/cert.c: Remove __STDC__ conditionals.
20809 * crypt/crypt-entry.c: Likewise.
20810 * crypt/crypt_util.c: Likewise.
20811 * libio/filedoalloc.c: Likewise.
20812 * libio/fileops.c: Likewise.
20813 * libio/genops.c: Likewise.
20814 * libio/iofclose.c: Likewise.
20815 * libio/iofdopen.c: Likewise.
20816 * libio/iofopen.c: Likewise.
20817 * libio/iofopen64.c: Likewise.
20818 * libio/iogetdelim.c: Likewise.
20819 * libio/iopopen.c: Likewise.
20820 * libio/obprintf.c: Likewise.
20821 * libio/oldfileops.c: Likewise.
20822 * libio/oldiofclose.c: Likewise.
20823 * libio/oldiofdopen.c: Likewise.
20824 * libio/oldiofopen.c: Likewise.
20825 * libio/oldiopopen.c: Likewise.
20826 * libio/wfiledoalloc.c: Likewise.
20827 * libio/wgenops.c: Likewise.
20828 * locale/programs/xmalloc.c: Likewise.
20829 * misc/syslog.c: Likewise.
20830 * stdio-common/xbug.c: Likewise.
20831 * string/memchr.c: Likewise.
20832 * string/memcmp.c: Likewise.
20833 * string/memrchr.c: Likewise.
20834 * string/rawmemchr.c: Likewise.
20835 * sysdeps/posix/getcwd.c: Likewise.
20836 * time/strftime_l.c: Likewise.
20837
3b100462
JM
208382012-01-30 Joseph Myers <joseph@codesourcery.com>
20839
20840 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20841 * config.make.in (config-cflags-sse2avx): Define.
20842 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20843 Fix typo.
20844
607998af
CM
208452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20846
20847 * scripts/config.guess: Update from upstream config git repository.
20848 * scripts/config.sub: Likewise.
20849
3601428f
CM
208502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20851
3ac8b282
CM
20852 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20853 (EM_NUM): Update.
20854 (R_TILEPRO_*, R_TILEGX_*): New macros.
20855
e034841e
CM
20856 * scripts/firstversions.awk: Fix bug in version range handling.
20857
540d7568
CM
20858 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20859
3601428f
CM
20860 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20861
463de862
CM
20862 * include/sys/epoll.h: New file.
20863 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20864 libc_hidden_def.
20865
73139a76
UD
208662012-01-28 Ulrich Drepper <drepper@gmail.com>
20867
96bc5b45
UD
20868 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20869 Avoid unnecessary __WORDSIZE == 64 test.
20870 (fmaxf): Use VEX format if possible.
20871 (fmax): Likewise.
20872 (fminf): Likewise.
20873 (fmin): Likewise.
20874
56f6f6a2
UD
20875 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20876 * math/math_private.h: Remove libc_fegetround* and
20877 libc_fesetround*.
20878 * sysdeps/i386/configure.in: Check for -msse2avx.
20879 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20880 also if SSE2AVX is defined.
20881 Remove libc_fegetround* and libc_fesetround*.
20882 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20883 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20885 of HAS_YMM_USABLE.
20886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20891
73139a76
UD
20892 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20893
d73f93a4
AZ
208942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20895
20896 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20897 size is not set.
20898 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20899
6ee65ed6
UD
209002012-01-27 Ulrich Drepper <drepper@gmail.com>
20901
20902 [BZ #13618]
20903 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20904 relocation.
20905 * Makeconfig (libm): Define.
20906 * elf/Makefile: Add rules to build and run tst-relsort1.
20907 * elf/tst-relsort1.c: New file.
20908 * elf/tst-relsort1mod1.c: New file.
20909 * elf/tst-relsort1mod2.c: New file.
20910
8db21882
JM
209112012-01-27 Joseph Myers <joseph@codesourcery.com>
20912
20913 * math/s_ldexp.c: Remove __STDC__ conditionals.
20914 * math/s_ldexpf.c: Likewise.
20915 * math/s_ldexpl.c: Likewise.
20916 * math/s_nextafter.c: Likewise.
20917 * math/s_nexttowardf.c: Likewise.
20918 * math/s_significand.c: Likewise.
20919 * math/s_significandf.c: Likewise.
20920 * math/s_significandl.c: Likewise.
20921 * math/w_jnl.c: Likewise.
20922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20944 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20945 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20946 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20947 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20949 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20950 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20951 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20952 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20953 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20954 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20955 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20956 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20958 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20959 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20960 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20961 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20962 * sysdeps/ieee754/k_standard.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21042 * sysdeps/ieee754/s_matherr.c: Likewise.
21043 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21044 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21047
965a54a4
JM
210482012-01-26 Joseph Myers <joseph@codesourcery.com>
21049
21050 * crypt/md5.h: Remove __STDC__ conditionals.
21051 * libio/libioP.h: Likewise.
21052 * locale/programs/config.h: Likewise.
21053 * sysdeps/generic/sysdep.h: Likewise.
21054 * sysdeps/i386/asm-syntax.h: Likewise.
21055 * sysdeps/s390/asm-syntax.h: Likewise.
21056 * sysdeps/unix/sysdep.h: Likewise.
21057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21059
7071ad79
JM
210602012-01-26 Joseph Myers <joseph@codesourcery.com>
21061
21062 * libio/libio.h: Remove __STDC__ conditionals.
21063 * malloc/obstack.h: Likewise.
21064 * math/complex.h: Likewise.
21065 * math/math.h: Likewise.
21066 * sysdeps/generic/_G_config.h: Likewise.
21067 * sysdeps/gnu/_G_config.h: Likewise.
21068 * sysdeps/mach/hurd/_G_config.h: Likewise.
21069 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21070 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21071 * sysdeps/sparc/bits/mathdef.h: Likewise.
21072
afc5ed09
UD
210732012-01-26 Ulrich Drepper <drepper@gmail.com>
21074
21075 [BZ #13583]
21076 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21077 Clean up HAS_* macros.
afc5ed09 21078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21079 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21080 possible.
21081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21082 HAS_AVX.
21083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21088
bdb6de1d
JM
210892012-01-25 Joseph Myers <joseph@codesourcery.com>
21090
21091 * elf/tst-unique3.cc (gets): Remove declaration.
21092 * elf/tst-unique3lib.cc (gets): Likewise.
21093 * elf/tst-unique3lib2.cc (gets): Likewise.
21094 * elf/tst-unique4.cc (gets): Likewise.
21095
b15549e6
UD
210962012-01-24 Ulrich Drepper <drepper@gmail.com>
21097
21098 * include/stdio.h: Add C++ protection. Add gets declarations and
21099 definitions.
21100 * debug/tst-chk1.c: Don't declare gets here.
21101 * stdio-common/tst-gets.c: Likewise.
21102
a037381f
JM
211032012-01-24 Joseph Myers <joseph@codesourcery.com>
21104
21105 * posix/glob: Remove directory.
21106
f1d4aa75
JM
211072012-01-24 Joseph Myers <joseph@codesourcery.com>
21108
21109 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21110
81c0c964
PT
211112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21112
21113 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21114 of the non-standard EPFNOSUPPORT.
21115
0ea698ae
ST
211162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21117
21118 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21119 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21120 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21121
d220b117
UD
211222012-01-21 Ulrich Drepper <drepper@gmail.com>
21123
21124 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21125
3e1aa84e
UD
211262012-01-20 Ulrich Drepper <drepper@gmail.com>
21127
21128 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21129 transient errors.
21130 * nscd/grpcache.c (cache_addgr): Likewise.
21131 * nscd/hstcache.c (cache_addhst): Likewise.
21132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21133 * nscd/pwdcache.c (cache_addpw): Likewise.
21134 * nscd/servicescache.c (cache_addserv): Likewise.
21135
400aa020
UD
211362012-01-16 Ulrich Drepper <drepper@gmail.com>
21137
d77e7869
UD
21138 * malloc/malloc.c: Various cleanups.
21139 * malloc/hooks.c: Likewise.
21140
400aa020
UD
21141 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21142 * stdlib/bug-fmtmsg1.c: New file.
21143
21144 * stdlib/fmtmsg.c (init): Add missing unlock.
21145 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21146
e0a309cf
MP
211472012-01-12 Marek Polacek <polacek@redhat.com>
21148
21149 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21150 and _GNU_SOURCE.
21151
929d11c7
WS
211522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21153
21154 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21155 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21156 macro to ensure uniqueness of label name.
21157 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21158 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21159
41d0e869
UD
211602012-01-11 Ulrich Drepper <drepper@gmail.com>
21161
0cc5ed3b
UD
21162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21163
41d0e869
UD
21164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21165 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21168
a47a831a
UD
211692012-01-10 Ulrich Drepper <drepper@gmail.com>
21170
daa891c0
UD
21171 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21172
21173 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21174 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21176
e58ef0f2
UD
21177 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21178
a47a831a 21179 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21180 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21183
21184 * math/bits/math-finite.h: Add ldexp support.
21185
a0bfc9c7
MP
211862012-01-10 Marek Polacek <polacek@redhat.com>
21187
21188 * locale/programs/localedef.h (show_archive_content): Add noreturn
21189 attribute.
21190
d6e97a1d
UD
211912012-01-09 Ulrich Drepper <drepper@gmail.com>
21192
21193 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21194
d5835c26
UD
211952012-01-08 Ulrich Drepper <drepper@gmail.com>
21196
e5f484c6
UD
21197 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21198
d5835c26
UD
21199 * io/Makefile (headers): Add bits/poll2.h.
21200
d1f741e9
WS
212012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21202
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21204 typo #include statement.
21205
ec09c1c4
UD
212062012-01-08 Ulrich Drepper <drepper@gmail.com>
21207
21208 * include/sys/cdefs.h: Define __attribute_alloc_size.
21209 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21210 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21211 * elf/pldd.c: Likewise.
21212 * iconv/iconv_charmap.c: Likewise.
21213 * iconv/iconvconfig.c: Likewise.
21214 * iconv/strtab.c: Likewise.
21215 * locale/programs/locale.c: Likewise.
21216 * locale/programs/localedef.h: Likewise.
21217 * locale/programs/simple-hash.c: Likewise.
21218 * nscd/nscd.h: Likewise.
21219 * nss/makedb.c: Likewise.
21220 * sysdeps/generic/ldconfig.h: Likewise.
21221 * locale/programs/localedef.c: Remove xmalloc prototype.
21222 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21223
20b38e03
PP
212242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21225
21226 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21227 appropriate.
21228
a0da5fe1
UD
212292012-01-08 Ulrich Drepper <drepper@gmail.com>
21230
1d5a644a 21231 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21232 * math/tst-CMPLX.c: New file.
1d5a644a 21233
8784a6db
UD
21234 * math/complex.h (CMPLXL): Fix typo.
21235
d9a216c0
UD
21236 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21237 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21238 GLIBC_2.16.
21239 * debug/tst-chk1.c: Add poll and ppoll tests.
21240 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21241 * include/sys/poll.h: Add hidden proto for ppoll.
21242 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21243 * sysdeps/mach/hurd/ppoll.c: Likewise.
21244 * io/ppoll.c: Likewise.
21245 * debug/poll_chk.c: New file.
21246 * debug/ppoll_chk.c: New file.
21247 * include/bits/poll2.h: New file.
21248 * io/bits/poll2.h: New file.
21249
ac097f5c
UD
21250 [BZ #1350]
21251 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21252
2119dcfa
UD
21253 * configure.in: static is always set to yes. Remove.
21254 * config.make.in: Don't set build-static.
21255 * Makeconfig: Remove use of build-static.
21256 * dlfcn/Makefile: Likewise.
21257 * elf/Makefile: Likewise.
21258 * math/Makefile: Likewise.
21259 * misc/Makefile: Likewise.
21260 * nptl/Makefile: Likewise.
21261 * sysdeps/mach/hurd/Makefile: Likewise.
21262
121766a9
UD
21263 * configure.in: PWD_P is not used anymore.
21264 * config.make.in: Remove PWD_P entry.
21265
51a1d39c 21266 * configure.in: Remove last remnants of RANLIB.
8720d066 21267 No need to check for signed size_t anymore.
215f4bdc
UD
21268 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21269 and IA-64.
3857022a 21270 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21271 * aclocal.m4: Likewise.
21272
d3ed7225
UD
21273 * wcsmbs/mbrtoc16.c: Implement using towc function.
21274 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21275 * wcsmbs/wcsmbsload.c: Likewise.
21276 * iconv/gconv_simple.c: Likewise.
21277 * iconv/gconv_int.h: Likewise.
21278 * iconv/gconv_builtin.h: Likewise.
21279 * iconv/iconv_prog.c: Remove CHAR16 handling.
21280
21281 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21282
21283 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21284
a0da5fe1
UD
21285 * configure.in: Remove --with-elf and --enable-bounded options.
21286 Dont set base_machine for ia64. More non-ELF conditions removed.
21287 Remove testing and setting of leading underscore information.
21288 * config.make.in (build-bounded): Set to no.
21289 * config.h.in: Remove NO_UNDERSCORES entry.
21290 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21291 them.
21292 * csu/start.c: Remove !NO_UNDERSCORE code.
21293 * locale/localeinfo.h: Likewise.
21294 * sysdeps/generic/machine-gmon.h: Likewise.
21295 * sysdeps/generic/sysdep.h: Likewise.
21296 * sysdeps/i386/sysdep.h: Likewise.
21297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21298 * sysdeps/mach/sysdep.h: Likewise.
21299 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21301 * sysdeps/sh/sysdep.h: Likewise.
21302 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21303 * sysdeps/unix/i386/sysdep.S: Likewise.
21304 * sysdeps/unix/sparc/start.c: Likewise.
21305 * sysdeps/unix/sparc/sysdep.S: Likewise.
21306 * sysdeps/unix/sparc/sysdep.h: Likewise.
21307 * sysdeps/unix/start.c: Likewise.
21308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21309 * sysdeps/x86_64/sysdep.h: Likewise.
21310
df78418a
UD
213112012-01-07 Ulrich Drepper <drepper@gmail.com>
21312
a784e502
UD
21313 [BZ #13553]
21314 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21315 for non-gcc.
21316 * argp/argp-fmtstream.h: Use const instead __const.
21317 * argp/argp.h: Likewise.
21318 * assert/assert.h: Likewise.
21319 * bits/fenv.h: Likewise.
21320 * bits/sched.h: Likewise.
21321 * bits/sigset.h: Likewise.
21322 * bits/sigthread.h: Likewise.
21323 * catgets/nl_types.h: Likewise.
21324 * conform/data/pthread.h-data: Likewise.
21325 * crypt/crypt-private.h: Likewise.
21326 * crypt/crypt.h: Likewise.
21327 * crypt/crypt_util.c: Likewise.
21328 * ctype/ctype.h: Likewise.
21329 * debug/execinfo.h: Likewise.
21330 * debug/mbsnrtowcs_chk.c: Likewise.
21331 * debug/mbsrtowcs_chk.c: Likewise.
21332 * debug/wcsnrtombs_chk.c: Likewise.
21333 * debug/wcsrtombs_chk.c: Likewise.
21334 * debug/wcstombs_chk.c: Likewise.
21335 * dirent/dirent.h: Likewise.
21336 * dlfcn/dlfcn.h: Likewise.
21337 * elf/neededtest4.c: Likewise.
21338 * grp/grp.h: Likewise.
21339 * gshadow/gshadow.h: Likewise.
21340 * iconv/gconv.h: Likewise.
21341 * iconv/gconv_int.h: Likewise.
21342 * iconv/gconv_simple.c: Likewise.
21343 * iconv/iconv.h: Likewise.
21344 * iconv/loop.c: Likewise.
21345 * iconv/skeleton.c: Likewise.
21346 * include/aio.h: Likewise.
21347 * include/aliases.h: Likewise.
21348 * include/argz.h: Likewise.
21349 * include/arpa/inet.h: Likewise.
21350 * include/assert.h: Likewise.
21351 * include/dirent.h: Likewise.
21352 * include/dlfcn.h: Likewise.
21353 * include/execinfo.h: Likewise.
21354 * include/fcntl.h: Likewise.
21355 * include/fenv.h: Likewise.
21356 * include/glob.h: Likewise.
21357 * include/grp.h: Likewise.
21358 * include/libintl.h: Likewise.
21359 * include/mntent.h: Likewise.
21360 * include/netdb.h: Likewise.
21361 * include/pwd.h: Likewise.
21362 * include/rpc/netdb.h: Likewise.
21363 * include/sched.h: Likewise.
21364 * include/search.h: Likewise.
21365 * include/shadow.h: Likewise.
21366 * include/signal.h: Likewise.
21367 * include/stdio.h: Likewise.
21368 * include/stdlib.h: Likewise.
21369 * include/string.h: Likewise.
21370 * include/sys/socket.h: Likewise.
21371 * include/sys/stat.h: Likewise.
21372 * include/sys/statfs.h: Likewise.
21373 * include/sys/statvfs.h: Likewise.
21374 * include/sys/syslog.h: Likewise.
21375 * include/sys/time.h: Likewise.
21376 * include/sys/uio.h: Likewise.
21377 * include/time.h: Likewise.
21378 * include/unistd.h: Likewise.
21379 * include/utmp.h: Likewise.
21380 * include/wchar.h: Likewise.
21381 * include/wctype.h: Likewise.
21382 * inet/aliases.h: Likewise.
21383 * inet/arpa/inet.h: Likewise.
21384 * inet/netinet/ether.h: Likewise.
21385 * inet/netinet/in.h: Likewise.
21386 * intl/libintl.h: Likewise.
21387 * io/bits/fcntl2.h: Likewise.
21388 * io/fcntl.h: Likewise.
21389 * io/ftw.h: Likewise.
21390 * io/sys/poll.h: Likewise.
21391 * io/sys/stat.h: Likewise.
21392 * io/sys/statfs.h: Likewise.
21393 * io/sys/statvfs.h: Likewise.
21394 * io/utime.h: Likewise.
21395 * libio/bits/stdio.h: Likewise.
21396 * libio/bits/stdio2.h: Likewise.
21397 * libio/libio.h: Likewise.
21398 * libio/libioP.h: Likewise.
21399 * libio/stdio.h: Likewise.
21400 * locale/lc-ctype.c: Likewise.
21401 * locale/locale.h: Likewise.
21402 * login/utmp.h: Likewise.
21403 * malloc/arena.c: Likewise.
21404 * malloc/malloc.c: Likewise.
21405 * malloc/malloc.h: Likewise.
21406 * malloc/mcheck.c: Likewise.
21407 * malloc/mtrace.c: Likewise.
21408 * math/bits/mathcalls.h: Likewise.
21409 * math/fenv.h: Likewise.
21410 * math/math_private.h: Likewise.
21411 * misc/bits/error.h: Likewise.
21412 * misc/bits/syslog.h: Likewise.
21413 * misc/err.h: Likewise.
21414 * misc/error.h: Likewise.
21415 * misc/fstab.h: Likewise.
21416 * misc/mntent.h: Likewise.
21417 * misc/regexp.h: Likewise.
21418 * misc/search.h: Likewise.
21419 * misc/sgtty.h: Likewise.
21420 * misc/sys/mman.h: Likewise.
21421 * misc/sys/syslog.h: Likewise.
21422 * misc/sys/uio.h: Likewise.
21423 * misc/sys/xattr.h: Likewise.
21424 * misc/ttyent.h: Likewise.
21425 * nis/rpcsvc/ypclnt.h: Likewise.
21426 * nss/nss.h: Likewise.
21427 * posix/bits/unistd.h: Likewise.
21428 * posix/fnmatch.h: Likewise.
21429 * posix/glob.h: Likewise.
21430 * posix/sched.h: Likewise.
21431 * posix/spawn.h: Likewise.
21432 * posix/sys/wait.h: Likewise.
21433 * posix/unistd.h: Likewise.
21434 * posix/wordexp.h: Likewise.
21435 * pwd/pwd.h: Likewise.
21436 * resolv/netdb.h: Likewise.
21437 * resource/sys/resource.h: Likewise.
21438 * rt/aio.h: Likewise.
21439 * rt/bits/mqueue2.h: Likewise.
21440 * rt/mqueue.h: Likewise.
21441 * shadow/shadow.h: Likewise.
21442 * signal/signal.h: Likewise.
21443 * socket/send.c: Likewise.
21444 * socket/sendto.c: Likewise.
21445 * socket/sys/socket.h: Likewise.
21446 * stdio-common/printf.h: Likewise.
21447 * stdlib/bits/stdlib.h: Likewise.
21448 * stdlib/fmtmsg.h: Likewise.
21449 * stdlib/monetary.h: Likewise.
21450 * stdlib/stdlib.h: Likewise.
21451 * stdlib/ucontext.h: Likewise.
21452 * streams/stropts.h: Likewise.
21453 * string/argz.h: Likewise.
21454 * string/bits/string2.h: Likewise.
21455 * string/string.h: Likewise.
21456 * string/strings.h: Likewise.
21457 * sunrpc/rpc/auth.h: Likewise.
21458 * sunrpc/rpc/auth_des.h: Likewise.
21459 * sunrpc/rpc/clnt.h: Likewise.
21460 * sunrpc/rpc/netdb.h: Likewise.
21461 * sunrpc/rpc/pmap_clnt.h: Likewise.
21462 * sunrpc/rpc/xdr.h: Likewise.
21463 * sysdeps/generic/inttypes.h: Likewise.
21464 * sysdeps/generic/net/if.h: Likewise.
21465 * sysdeps/generic/sys/swap.h: Likewise.
21466 * sysdeps/gnu/net/if.h: Likewise.
21467 * sysdeps/gnu/utmpx.h: Likewise.
21468 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21469 * sysdeps/i386/i486/bits/string.h: Likewise.
21470 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21471 * sysdeps/s390/bits/string.h: Likewise.
21472 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21473 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21474 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21475 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21476 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21477 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21478 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21479 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21480 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21481 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21482 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21483 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21484 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21485 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21486 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21487 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21488 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21493 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21494 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21495 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21496 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21497 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21498 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21500 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21501 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21502 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21503 * sysvipc/sys/ipc.h: Likewise.
21504 * sysvipc/sys/msg.h: Likewise.
21505 * sysvipc/sys/sem.h: Likewise.
21506 * sysvipc/sys/shm.h: Likewise.
21507 * termios/termios.h: Likewise.
21508 * time/sys/time.h: Likewise.
21509 * time/time.h: Likewise.
21510 * wcsmbs/bits/wchar2.h: Likewise.
21511 * wcsmbs/uchar.h: Likewise.
21512 * wcsmbs/wchar.h: Likewise.
21513 * wctype/wctype.h: Likewise.
21514
0269750c
UD
21515 [BZ #13551]
21516 * Makeconfig: Remove all but ELF support including AIX support.
21517 * Makerules: Likewise.
21518 * config.h.in: Likewise.
21519 * config.make.in: Likewise.
21520 * configure: Likewise.
21521 * configure.in: Likewise.
21522 * csu/Makefile: Likewise.
21523 * csu/version.c: Likewise.
21524 * debug/Makefile: Likewise.
21525 * dlfcn/Makefile: Likewise.
21526 * elf/Makefile: Likewise.
21527 * extra-lib.mk: Likewise.
21528 * iconv/Makefile: Likewise.
21529 * include/libc-symbols.h: Likewise.
21530 * include/shlib-compat.h: Likewise.
21531 * resolv/Makefile: Likewise.
21532 * resolv/res_libc.c: Likewise.
21533 * rt/Makefile: Likewise.
21534 * sysdeps/i386/asm-syntax.h: Likewise.
21535 * sysdeps/i386/sysdep.h: Likewise.
21536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21537 * sysdeps/mach/sysdep.h: Likewise.
21538 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21539 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21540 * sysdeps/s390/asm-syntax.h: Likewise.
21541 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21542 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21543 * sysdeps/sh/sysdep.h: Likewise.
21544 * sysdeps/unix/sparc/sysdep.h: Likewise.
21545 * sysdeps/wordsize-32/divdi3.c: Likewise.
21546 * sysdeps/x86_64/sysdep.h: Likewise.
21547
00bbd29b
UD
21548 * argp/Versions: Remove _argp_unlock_xxx.
21549
21550 [BZ #13559]
21551 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21552 * abilist/libBrokenLocale.abilist: Likewise.
21553 * abilist/libanl.abilist: Likewise.
21554 * abilist/libc.abilist: Likewise.
21555 * abilist/libcrypt.abilist: Likewise.
21556 * abilist/libdl.abilist: Likewise.
21557 * abilist/libm.abilist: Likewise.
21558 * abilist/libnsl.abilist: Likewise.
21559 * abilist/libpthread.abilist: Likewise.
21560 * abilist/libresolv.abilist: Likewise.
21561 * abilist/librt.abilist: Likewise.
21562 * abilist/libthread_db.abilist: Likewise.
21563 * abilist/libutil.abilist: Likewise.
21564 * abilist/libnss_db.abilist: New file.
21565
21566 * scripts/abilist.awk: Add support for indirect functions.
21567
a2693a0e
UD
21568 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21569
3f05895f
UD
21570 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21571
ecb6fb48
UD
21572 * shlib-versions: Remove entries for ports architectures.
21573
664f8cb9
UD
21574 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21575 files in ports.
21576 * elf/stackguard-macros.h: Remove support for IA-64.
21577 * elf/tst-auditmod1.c: Likewise.
21578 * sysdeps/generic/ldsodefs.h: Likewise.
21579
7ae81d88
UD
21580 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21581 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21582 configure files.
21583
bdeba135
UD
21584 [BZ #13552]
21585 * configure.in: Remove --enable-omitfp support.
21586 * FAQ.in: Adjust.
21587 * config.make.in: Likewise.
21588 * Makeconfig: Likewise.
21589 * manual/install.texi: Likewise.
21590
d75a0a62
UD
21591 In case anyone cares, the IA-64 architecture could move to ports.
21592 * sysdeps/ia64/*: Removed.
21593 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21594 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21595
dcc9756b
UD
21596 [BZ #13555]
21597 * configure.in: Remove entries for unsupported architectures.
21598
d3761ebc 21599 [BZ #13533]
9954432e
UD
21600 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21601 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21602 routines.
21603 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21604 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21605 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21606 fall back to using wcrtomb.
21607 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21608 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21609 renaming.
21610 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21611 * wcsmbs/tst-c16c32-1.c: New file.
21612
21613 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21614 local variable.
21615
c3a87236
UD
21616 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21617
28926a1b
UD
21618 * elf/tst-unique3.cc: Add explicit declaration of gets.
21619 * elf/tst-unique3lib.cc: Likewise.
21620 * elf/tst-unique3lib2.cc: Likewise.
21621 * elf/tst-unique4.cc: Likewise.
21622
df78418a
UD
21623 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21624
8ecd6b2a
JM
216252012-01-06 Joseph Myers <joseph@codesourcery.com>
21626
21627 [BZ #13566]
21628 * assert/assert.h (static_assert): Don't define for C++.
21629 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21630 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21631
9f115170
UD
216322012-01-03 Ulrich Drepper <drepper@gmail.com>
21633
5e0d0300
UD
21634 * iconv/loop.c (single loop): Fix assertion in storing of
21635 remaining bytes.
21636
9f115170
UD
21637 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21638
81fb02b0
UD
216392012-01-01 Ulrich Drepper <drepper@gmail.com>
21640
21641 * posix/getconf.c: Update copyright year.
21642 * nss/getent.c: Likewise.
a316c1f6 21643 * nss/makedb.c: Likewise.
81fb02b0
UD
21644 * iconv/iconvconfig.c: Likewise.
21645 * iconv/iconv_prog.c: Likewise.
21646 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21647 * elf/pldd.c: Likewise.
21648 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21649 * catgets/gencat.c: Likewise.
21650 * csu/version.c: Likewise.
21651 * elf/ldd.bash.in: Likewise.
21652 * elf/sprof.c (print_version): Likewise.
21653 * locale/programs/locale.c: Likewise.
21654 * locale/programs/localedef.c: Likewise.
a316c1f6 21655 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21656 * nscd/nscd.c (print_version): Likewise.
21657 * debug/xtrace.sh: Likewise.
21658 * malloc/memusage.sh: Likewise.
21659 * malloc/mtrace.pl: Likewise.
21660 * debug/catchsegv.sh: Likewise.
21661
2ba92745
JJ
216622011-12-30 Jakub Jelinek <jakub@redhat.com>
21663
21664 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21665 pure attribute.
21666
dadebdae
UD
216672011-12-24 Ulrich Drepper <drepper@gmail.com>
21668
d3761ebc 21669 [BZ #13533]
db6af3eb
UD
21670 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21671 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21672 transformations.
21673 * iconv/gconv_int.h: Likewise.
21674 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21675 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21676 from libc for GLIBC_2.16.
21677 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21678 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21679 * wcsmbs/uchar.h: Really define mbstate_t.
21680 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21681 * wcsmbs/c16rtomb.c: New file.
21682 * wcsmbs/mbrtoc16.c: New file.
21683 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21684 for C/POSIX locale.
21685 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21686 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21687
dadebdae
UD
21688 * wcsmbs/wchar.h: Add missing __restrict.
21689
67371b56
UD
216902011-12-23 Ulrich Drepper <drepper@gmail.com>
21691
74033a25
UD
21692 [BZ #13532]
21693 * time/Makefile (routines): Add timespec_get.
21694 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21695 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21696 timespec for ISO C11.
21697 * time/timespec_get.c: New file.
21698 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21699 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21700
380d7e87
UD
21701 [BZ #13531]
21702 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21703 * stdlib/stdlib.h: Declare aligned_alloc.
21704 * Versions.def: Add GLIBC_2.16 for libc.
21705 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21706
4e9e7a35
UD
21707 [BZ 13527]
21708 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21709 ISO C11.
21710
380d7e87 21711 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21712 code.
21713
03a71829
UD
21714 [BZ #13528]
21715 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21716
839e283e
UD
21717 [BZ #13529]
21718 * assert/assert.h (static_assert): Define.
21719
ce5294e2 21720 * version.h: Update for 2.16 development version.
90fa7312 21721
8d44e150 21722 [BZ #13526]
d7809905
UD
21723 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21724 _ISOC11_SOURCE.
21725
c0da14cd
UD
21726 * version.h (RELEASE): Bump for 2.15 release.
21727 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21728
530a3249
MP
21729 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21730 Patch by Marek Polacek <mpolacek@redhat.com>.
21731
67371b56
UD
21732 * bits/byteswap.h: Protect long long constants with __extension__.
21733 * sysdeps/i386/bits/byteswap.h: Likewise.
21734 * sysdeps/ia64/bits/byteswap.h: Likewise.
21735 * sysdeps/s390/bits/byteswap.h: Likewise.
21736 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21737
15db4de1
LD
217382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21739
21740 [BZ #13540]
bbe315ea
LD
21741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21742 destination buffer.
15db4de1
LD
21743 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21744
2b2596b1
MP
217452011-12-23 Marek Polacek <polacek@redhat.com>
21746
21747 * elf/dl-addr.c (determine_info): Add inline keyword.
21748 * elf/tst-auditmod4b.c (check_avx): Likewise.
21749 * elf/tst-auditmod6b.c (check_avx): Likewise.
21750 * elf/tst-auditmod6c.c (check_avx): Likewise.
21751 * elf/tst-auditmod7b.c (check_avx): Likewise.
21752
70c6c246
UD
217532011-12-23 Ulrich Drepper <drepper@gmail.com>
21754
21755 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21756 !__SSE_MATH__.
21757
c044cf14
LD
217582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21759
15db4de1 21760 [BZ #13540]
c044cf14
LD
21761 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21762 processing for last bytes.
21763
6b13d9d9
BH
217642011-08-06 Bruno Haible <bruno@clisp.org>
21765
d455f537
BH
21766 [BZ #13061]
21767 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21768 U+0385, not to U+1FEE.
21769
6b13d9d9
BH
21770 [BZ #13062]
21771 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21772 entry for U+00A5 U+0301.
21773
db910efd
UD
217742011-12-22 Ulrich Drepper <drepper@gmail.com>
21775
27deeafc
UD
21776 [BZ #13166]
21777 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21778 buffer for the output is too small.
21779
aed9d171
UD
21780 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21781 optimization.
21782
db910efd
UD
21783 [BZ #13185]
21784 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21785 SSE flags if possible.
21786
2bd779ae
LD
217872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21788
e7f9dac3 21789 [BZ #13540]
2bd779ae
LD
21790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21791 processing for last bytes.
21792
154bfc16
JM
217932011-12-22 Joseph Myers <joseph@codesourcery.com>
21794
21795 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21796 (syscall-list-default-options, syscall-list-default-condition)
21797 (syscall-list-includes): Define.
21798 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21799 list of ABIs and options and #if conditions for each ABI. Do not
21800 handle common syscalls between ABIs specially.
21801 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21802 Remove.
21803 (syscall-list-variants, syscall-list-32bit-options)
21804 (syscall-list-32bit-condition, syscall-list-64bit-options)
21805 (syscall-list-64bit-condition): Define.
21806 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21807 (syscall-list-variants, syscall-list-32bit-options)
21808 (syscall-list-32bit-condition, syscall-list-64bit-options)
21809 (syscall-list-64bit-condition): Define.
21810 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21811 Remove.
21812 (syscall-list-variants, syscall-list-32bit-options)
21813 (syscall-list-32bit-condition, syscall-list-64bit-options)
21814 (syscall-list-64bit-condition): Define.
21815 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21816 Remove.
21817 (syscall-list-variants, syscall-list-32bit-options)
21818 (syscall-list-32bit-condition, syscall-list-64bit-options)
21819 (syscall-list-64bit-condition): Define.
21820
21eaf3a5
UD
218212011-12-22 Ulrich Drepper <drepper@gmail.com>
21822
16c6f992
UD
21823 * locale/iso-639.def: Add brx entry.
21824
41043168
UD
21825 [BZ #13328]
21826 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21827 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21828
21eaf3a5
UD
21829 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21830 __feraiseexcept_renamed.
21831
e3a851a2
UD
218322011-12-21 Ulrich Drepper <drepper@gmail.com>
21833
4920765e
UD
21834 [BZ #13538]
21835 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21836 EPOLLET with unsigned values.
21837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21838 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21839
e3a851a2
UD
21840 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21841 to large cancellation.
21842 * math/s_cacoshf.c: Likewise.
21843 * math/s_cacoshl.c: Likewise.
21844
b27e24b8
RK
218452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21846
21847 [BZ #13305]
aebefeee 21848 [BZ #12786]
b27e24b8
RK
21849 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21850 * math/s_cacoshf.c: Likewise.
21851 * math/s_cacoshl.c: Likewise.
21852
ee190f67
UD
218532011-12-21 Ulrich Drepper <drepper@gmail.com>
21854
21855 [BZ #13439]
21856 * iconv/gconv.h: Define __GCONV_SWAP.
21857 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21858 * iconvdata/utf-16.c: Likewise.
21859 * iconvdata/utf-32.c: Likewise.
21860
707f25df
AS
218612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21862
21863 [BZ #13524]
21864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21865 numerator after shifting it by one limb.
21866
d2daaa1e
RÁE
218672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21868
21869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21870 under [__USE_EXTERN_INLINES].
21871
a4647e72
UD
218722011-12-17 Ulrich Drepper <drepper@gmail.com>
21873
21874 [BZ #13446]
21875 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21876
f0b264f1
AZ
218772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21878
21879 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21880 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21881 optimized code.
21882 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21883 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21884 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21885 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21886 for strncasecmp/strncasecmp_l compilation.
21887 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21888 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21889
8ef4f244
MP
218902011-12-08 Marek Polacek <mpolacek@redhat.com>
21891
21892 [BZ #13484]
21893 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21894 of __asm__.
21895
97ac2654
UD
218962011-12-17 Ulrich Drepper <drepper@gmail.com>
21897
21898 [BZ #13506]
21899 * time/tzfile.c (__tzfile_read): Check values from file header.
21900
91d2a845
WS
219012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21902
21903 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21904 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21905 * powerpc/powerpc32/dl-start.S: Likewise.
21906 * powerpc/powerpc32/elf/start.S: Likewise.
21907 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21908 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21909 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21910 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21911 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21912 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21913 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21914 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21915 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21916 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21917 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21918 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21919 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21920 * powerpc/powerpc32/memset.S: Likewise.
21921 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21922 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21923 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21924 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21925 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21926 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21927 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21928 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21929 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21930 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21932 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21933 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21934
a1267ba1
AZ
219352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936
21937 * math/libm-test.inc: Added more nearbyint tests.
21938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21942
ad8ac1bd
RL
219432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21944
21945 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21946 FD_CLOEXEC.
21947
1d3e4b61
UD
219482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21949
21950 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21951 Add wcscpy-ssse3 wcscpy-c.
21952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21953 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21954 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21955 * sysdeps/x86_64/wcschr.S: New file.
21956 * sysdeps/x86_64/wcsrchr.S: New file.
21957 * string/test-strcmp.c: Remove checking of wcscmp function for
21958 wrong alignments.
21959 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21960 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21961 wcsrchr-sse2 wcsrchr-c.
21962 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21963 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21964 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21965 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21966 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21967 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21968 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21969 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21971 * wcsmbc/wcschr.c (WCSCHR): New macro.
21972
5b330a2d
UD
219732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21974
21975 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21976 * wcsmbs/test-wcsrchr.c: New file.
21977 * string/test-strrchr.c: Add wcsrchr support.
21978 (WIDE): New macro.
21979 * wcsmbs/test-wcscpy.c: New file.
21980 * string/test-strcpy.c: Add wcscpy support.
21981 (WIDE): New macro.
26428b7c 21982
f039c043
UD
219832011-12-10 Ulrich Drepper <drepper@gmail.com>
21984
21985 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21986 the inner loop.
21987
850fb039
AS
219882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21989
21990 [BZ #13472]
21991 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21992
4efbd5cb
UD
219932011-12-04 Ulrich Drepper <drepper@gmail.com>
21994
52ff5dd0 21995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21996 Minor optimizations.
52ff5dd0 21997
4efbd5cb
UD
21998 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21999 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22000 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22001
8a426e12
UD
220022011-12-03 Ulrich Drepper <drepper@gmail.com>
22003
aff2453d
UD
22004 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22005 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22006 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22007 for gcc to avoid warnings.
22008 * inet/Makefile (tests): Add tst-checks.
22009 * inet/tst-checks.c: New file.
22010
22011 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22012 warning.
22013
22014 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22015 __wmemcmp_sse2.
22016
22017 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22018 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22019
8a426e12
UD
22020 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22021
9bea3473
UD
220222011-12-02 Ulrich Drepper <drepper@gmail.com>
22023
3a965496
UD
22024 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22025 problem.
22026
9bea3473
UD
22027 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22028
f101631b
UD
220292011-11-29 Joseph Myers <joseph@codesourcery.com>
22030
22031 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22032 conditional on GCC version.
22033 (__arch_compare_and_exchange_val_8_acq)
22034 (__arch_compare_and_exchange_val_16_acq)
22035 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22036 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22037 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22038
a98275aa
UD
220392011-12-02 Joseph Myers <joseph@codesourcery.com>
22040
22041 * sysdeps/sh/backtrace.c: New file.
22042
d4cc29a2
AS
220432011-12-02 Andreas Schwab <schwab@redhat.com>
22044
22045 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22046 parenthesis.
22047
6257af2d
AS
220482011-12-01 Andreas Schwab <schwab@redhat.com>
22049
22050 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22051 falling back to utime.
22052
b5f44c1a
AS
220532011-11-30 Andreas Schwab <schwab@redhat.com>
22054
22055 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22056 expectations for float.
22057
f3a6cc0a
AS
220582011-11-29 Andreas Schwab <schwab@redhat.com>
22059
22060 * locale/weight.h (findidx): Add parameter len.
22061 * locale/weightwc.h (findidx): Likewise.
22062 * posix/fnmatch_loop.c (FCT): Adjust caller.
22063 * posix/regcomp.c (build_equiv_class): Likewise.
22064 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22065 * posix/regexec.c (check_node_accept_bytes): Likewise.
22066 * string/strcoll_l.c (STRCOLL): Likewise.
22067 * string/strxfrm_l.c (STRXFRM): Likewise.
22068
9d65ea3a
UD
220692011-11-17 Ulrich Drepper <drepper@gmail.com>
22070
22071 * Makefile.in: Remove CVSOPT handling.
22072 * configure.in: Remove use of AC_REVISION.
22073 * iconvdata/Makefile (distribute): No need to filter out CVS.
22074 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22075 handling.
22076
5583a086
AS
220772011-11-16 Andreas Schwab <schwab@redhat.com>
22078
22079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22080 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22081 [USE_AS_STRNCASECMP_L]: Likewise.
22082 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22083 NO_TLS_DIRECT_SEG_REFS.
22084 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22085 Fix argument offsets for non-PIC.
22086 [USE_AS_STRNCASECMP_L]: Likewise.
22087 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22088 NO_TLS_DIRECT_SEG_REFS.
22089
d62a8200
UD
220902011-11-15 Ulrich Drepper <drepper@gmail.com>
22091
9d65ea3a 22092 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22093 O_CLOEXEC.
22094 * locale/loadlocale.c (_nl_load_locale): Likewise.
22095
09f93bd3
AS
220962011-11-15 Andreas Schwab <schwab@redhat.com>
22097
446514f9
AS
22098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22099 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22101 (SYSCALL_GETTIME): Set errno on error.
22102
09f93bd3
AS
22103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22104 count references to noai6ai_cached.
22105
312be3f9
UD
221062011-11-15 Ulrich Drepper <drepper@gmail.com>
22107
22108 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22109
22110 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22111 FD_CLOEXEC for /proc/self/maps.
22112
22113 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22114 FD_CLOEXEC for /proc/meminfo.
22115
22116 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22117 gai.conf.
22118
22119 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22120 FD_CLOEXEC for given file.
22121
22122 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22123
22124 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22125 FD_CLOEXEC for /etc/hosts.
22126 (_gethtent): Likewise.
22127
22128 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22129
22130 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22131 cancellation and set FD_CLOEXEC for /etc/netgroup.
22132
22133 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22134 reading /etc/publickey.
22135
22136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22137 allow cancellation when reading /etc/group.
22138
22139 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22140 cancellation.
22141 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22142
22143 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22144 when using data file.
22145
22146 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22147
22148 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22149 (write_nis_obj): Use "c" and "e" in fopen.
22150
22151 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22152
22153 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22154
22155 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22156
22157 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22158
22159 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22160 locale.alias.
22161
22162 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22163
22164 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22165
22166 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22167
22168 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22169 file parsing and set FD_CLOEXEC.
22170
82af0fa8
UD
221712011-11-14 Ulrich Drepper <drepper@gmail.com>
22172
22173 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22174
a5fb313c
AS
221752011-11-14 Andreas Schwab <schwab@redhat.com>
22176
22177 * malloc/arena.c (arena_get2): Don't call reused_arena when
22178 _int_new_arena failed.
22179
6abf3465
UD
221802011-11-14 Ulrich Drepper <drepper@gmail.com>
22181
22182 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22183 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22185 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22188 to compile strcasecmp and strncasecmp.
22189 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22190 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22191
22192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22193
76e3966e
UD
221942011-11-13 Ulrich Drepper <drepper@gmail.com>
22195
22196 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22197 locale-defines.sym to gen-as-const-headers.
22198 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22199 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22201 to compile strcasecmp and strncasecmp.
22202 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22203 strcasecmp_l and strncasecmp_l.
22204 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22205 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22206 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22207 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22208 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22209 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22210 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22211 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22212 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22213 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22214 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22215
ab26144e
UD
222162011-11-12 Ulrich Drepper <drepper@gmail.com>
22217
7edb22ef
UD
22218 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22219 result of SYSDEP_GETTIME_CPU to retval.
22220 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22221 parameter list to macro. Remove trailing semicolon. Adjust users.
22222
9694fc44
UD
22223 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22224 variable.
22225
8ad89ef8
UD
22226 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22227 mantissa words.
22228 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22229
0c822ef9
UD
22230 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22231 from unused variable.
22232
874e0564
UD
22233 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22234 DWARF definitions.
22235 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22236 for assembling.
22237
3a2edc79
UD
22238 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22239 over namespaces.
22240
f3c2577f
UD
22241 * sunrpc/rpc_prot.c (rejected): Fix case value.
22242
294ce126
UD
22243 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22244 unsigned long long int to avoid warnings in shift.
22245
5e2b63c6
UD
22246 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22247 of use of trans.
22248 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22249 variable tmp.
22250
e7f4b08e
UD
22251 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22252 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22253 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22254
ab26144e
UD
22255 * nis/nis_table.c (nis_list): Use variable of correct type for
22256 result of __follow_path call.
22257
8a6d5255
AZ
222582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22259
22260 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22261 of math functions ceil, trunc, floor, round, and sqrt, when
22262 avaliable on the platform.
22263 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22264 name clash.
22265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22267 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22268
aaddc98c
MP
222692011-10-30 Marek Polacek <mpolacek@redhat.com>
22270
22271 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22273
95b7042b
RM
222742011-11-11 Roland McGrath <roland@hack.frob.com>
22275
22276 * include/unistd.h: Fix __readlink return type.
22277 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22278
57769839
UD
222792011-11-11 Ulrich Drepper <drepper@gmail.com>
22280
22281 * stdlib/ucontext.h: Undo last change for makecontext.
22282
edc5984d
AS
222832011-11-11 Andreas Schwab <schwab@redhat.com>
22284
98591e58
AS
22285 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22286
edc5984d
AS
22287 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22288 * setjmp/setjmp.h: Mark functions as non-leaf.
22289 * setjmp/bits/setjmp2.h: Likewise.
22290 * stdlib/ucontext.h: Likewise.
22291
77cdc054
AS
222922011-11-10 Andreas Schwab <schwab@redhat.com>
22293
22294 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22295 (reused_arena): Don't check arena limit.
22296 (arena_get2): Atomically check arena limit.
22297
fe72eebd
UD
222982011-11-08 Ulrich Drepper <drepper@gmail.com>
22299
5f078c32
UD
22300 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22301 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22302
fe72eebd
UD
22303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22304 instructions.
22305
ae1bc2fa
AS
223062011-11-07 Andreas Schwab <schwab@redhat.com>
22307
7583a88d
AS
22308 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22309 handler when locking.
22310
ae1bc2fa
AS
22311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22312 Fix size of allocated buffer.
22313
10fb0bfa
AS
223142011-11-04 Andreas Schwab <schwab@redhat.com>
22315
998832a4
AS
22316 [BZ #10103]
22317 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22318 declarations for long double functions.
22319 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22320
10fb0bfa
AS
22321 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22322
3d7ba52b
AS
223232011-11-03 Andreas Schwab <schwab@redhat.com>
22324
a9ae54a1
AS
22325 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22326 installed.
22327
3d7ba52b
AS
22328 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22329 is disabled.
22330
bc8db248
ST
223312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22332
22333 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22334
45b96dd6
AS
223352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22336
647776f6
AS
22337 * include/alloca.h (stackinfo_alloca_round): Define.
22338 (extend_alloca): Use it.
22339 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22340 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22341 here.
22342
d91a8b93
AS
22343 * scripts/check-local-headers.sh: Ignore libaudit.h.
22344
45b96dd6
AS
22345 * nscd/Makefile (extra-objs): Make recursively expanded.
22346
432d41ce
UD
223472011-11-01 Ulrich Drepper <drepper@gmail.com>
22348
34372fc6
UD
22349 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22351
fadb59f8
UD
22352 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22353 * posix/tst-rfc3484-2.c: Likewise.
22354 * posix/tst-rfc3484-3.c: Likewise.
22355
78239589
UD
22356 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22357 process_vm_writev.
22358 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22359 process_vm_writev.
22360 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22361 process_vm_writev from libc using GLIBC_2.15 version.
22362
432d41ce
UD
22363 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22364
02f9c6cf
PP
223652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22366
22367 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22368 stack usage.
22369
3a2c0242
UD
223702011-10-31 Ulrich Drepper <drepper@gmail.com>
22371
f4ec4833
UD
22372 [BZ #13367]
22373 * nss/getent.c (initgroups_keys): Show error message in case no group
22374 names are given.
22375
3a2c0242
UD
22376 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22377 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22378 __bump_nl_timestamp.
22379 * nscd/connections (nscd_init): When host database is served open
22380 netlink socket and request notification about configuration changes.
22381 (main_loop_poll): Track netlink file descriptor and bump timestamp
22382 in case data becomes available.
22383 (main_loop_epoll): Likewise.
22384 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22385 (database_pers_head): Add extra_data fileds.
22386 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22387 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22388 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22389 Adjust caller.
22390 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22391 in6ai data, call __free_in6ai.
22392 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22393 Add -DHAVE_NETLINK.
22394 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22395 interface information. Reuse previous data if netlink timestamp
22396 is not changed.
22397 (__bump_nl_timestamp): New function.
22398 (__free_in6ai): New function.
22399
636064eb
UD
224002011-10-30 Ulrich Drepper <drepper@gmail.com>
22401
22402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22403 close_not_cancel_no_status here.
22404 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22405
9beb2334
UD
224062011-10-29 Ulrich Drepper <drepper@gmail.com>
22407
6ef76f3b
UD
22408 [BZ #13276]
22409 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22410 return value.
22411
0ffc4f3e 22412 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22413 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22414 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22415
cb95113e
UD
224162011-07-03 Andreas Jaeger <aj@suse.de>
22417
22418 [BZ #10709]
22419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22420 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22421 * math/libm-test.inc (sin_test): Add test case.
22422
a1b560ff
UD
224232011-10-29 Ulrich Drepper <drepper@gmail.com>
22424
c9aaface
UD
22425 [BZ #13337]
22426 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22427 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22428
d272e7f1
UD
22429 * elf/chroot_canon.c (chroot_canon): Cleanups.
22430
1bc33071
UD
22431 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22432
1760874d
TJ
22433 [BZ #13335]
22434 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22435 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22436
51d91b18
UD
22437 * string/test-strchr.c: Make usable for strchrnul testing.
22438 * string/test-strchrnul.c: New file.
22439 * string/Makefile (strop-tests): Add strchrnul.
22440
a1b560ff 22441 * po/it.po: Update from translation team.
b611fb81 22442 * po/es.po: Likewise.
a1b560ff 22443
a5b81e1f
UD
224442011-10-28 Ulrich Drepper <drepper@gmail.com>
22445
fd52bc6d
UD
22446 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22447 the three constants needed as parameters. Drop the others.
22448 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22449 __m128i_strloadu_tolower.
52e4b9eb
UD
22450 Create and initialize variable zero and use it in all the places
22451 where _mm_setzero_si128 was used.
fd52bc6d 22452
a5b81e1f
UD
22453 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22454 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22455 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22457 anymore.
22458 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22459 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22460 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22461 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22463 __mpranred, __mptan.
22464 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22465 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22466 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22467 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22468 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22469 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22471 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22472 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22473
b4343346
AS
224742011-10-28 Andreas Schwab <schwab@redhat.com>
22475
0c92d8a8
AS
22476 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22477 redefine if SHARED.
22478 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22479
b4343346
AS
22480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22481 wide char related routines to wcsmbs subdir.
22482
3871f58f
AS
224832011-10-27 Andreas Schwab <schwab@redhat.com>
22484
22485 [BZ #13344]
22486 * misc/sys/cdefs.h (__THROWNL): Define.
22487 * posix/unistd.h: Use __THREADNL instead of __THREAD
22488 for memory synchronization functions.
22489
94d44d9f
RM
224902011-10-26 Roland McGrath <roland@hack.frob.com>
22491
21b64b15 22492 [BZ #13349]
94d44d9f
RM
22493 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22494 doesn't exist.
22495 * manual/stdio.texi (Obstack Streams): Node removed.
22496
f6ce9294
AS
224972011-10-26 Andreas Schwab <schwab@redhat.com>
22498
80479147
AS
22499 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22500 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22502
f6ce9294
AS
22503 * math/math_private.h (math_force_eval): Allow non-addressable
22504 arguments.
22505 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22506
618280a1
UD
225072011-10-25 Ulrich Drepper <drepper@gmail.com>
22508
e0016b11
UD
22509 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22510 file is not needed.
22511
22512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22515 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22519 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22520 Add AVX variants.
22521 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22523 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22525 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22526 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22527 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22540
22541 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22542 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22543
618280a1
UD
22544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22545 place. Use VEX encoding when compiling for AVX.
22546
37822576
AS
225472011-10-25 Andreas Schwab <schwab@redhat.com>
22548
1f1e1947
AS
22549 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22550 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22551
37822576
AS
22552 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22553
31ea014d
UD
225542011-10-25 Ulrich Drepper <drepper@gmail.com>
22555
d7826aa1 22556 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22557 useless if() expression.
d7826aa1
UD
22558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22574 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22577
31ea014d
UD
22578 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22579
16437fec
AS
225802011-10-25 Andreas Schwab <schwab@redhat.com>
22581
22582 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22583 condition.
22584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22585
31d3cc00
UD
225862011-10-25 Ulrich Drepper <drepper@gmail.com>
22587
22588 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22589 .text section. Avoid duplicate constants.
22590 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22600 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22602 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22605 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22607 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22613 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22614 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22615 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22616 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22617 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22618 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22619 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22620 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22621 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22623 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22624 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22625 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22626 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22630 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22632 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22633 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22634 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22635
58985aa9
UD
226362011-10-24 Ulrich Drepper <drepper@gmail.com>
22637
202c9deb
UD
22638 * sysdeps/x86_64/dla.h: Move to ...
22639 * sysdeps/x86_64/fpu/dla.h: ...here.
22640 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22641 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22642
af968f62
UD
22643 * config.make.in: Add have-mfma4 entry.
22644 * configure.in: Substitute libc_cv_cc_fma4.
22645 * math/Makefile (dbl-only-routines): Add sincostab.
22646 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22647 Use __sincostab not sincos.
22648 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22649 name is a macro.
22650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22654 using __copysign.
22655 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22656 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22657 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22658 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22659 and __inv.
22660 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22661 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22662 __copysign.
22663 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22664 define aliases when function name is a macro.
22665 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22666 sysdeps/ieee754/dbl-64/sincos.tbl.
22667 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22668 fma4-enabled routines.
22669 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22670 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22671 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22673 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22674 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22679 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22681 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22699
58985aa9
UD
22700 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22701 rename.
22702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22710
a201fbcf
AS
227112011-10-24 Andreas Schwab <schwab@redhat.com>
22712
22713 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22714
fc2ee42a
LD
227152011-10-23 Ulrich Drepper <drepper@gmail.com>
22716
bb3129bd
UD
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22718
0275fff8
UD
22719 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22720 prediction.
22721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22722
2fa2ae85
UD
22723 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22724 Remove unused variable magic_bits.
22725 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22726
fc2ee42a
LD
22727 * string/strnlen.c: Define and use STRNLEN macro.
22728 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22729 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22730 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22731 * wcsmbs/wcslen.c: Define and use WCSLEN.
22732 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22733 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22734 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22735 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22736 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22737 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22738 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22739
ce7dd29f
LD
227402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22741
22742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22743 strnlen-sse2-no-bsf.
22744 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22746 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22747 Add strnlen support.
22748 (USE_AS_STRNLEN): New macro.
22749 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22751 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22752 * sysdeps/x86_64/wcslen.S: New file.
22753
979c70a3
MZ
227542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22755
22756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22757 XMM-moves are used for copying on small sizes.
22758
2d09f82f
LD
227592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22760
22761 * wcsmbs/Makefile (strop-tests): Add wcschr.
22762 * wcsmbs/test-wcschr.c: New file.
22763 * string/test-strchr.c: Update.
22764 Add wcschr support.
22765 (WIDE): New macro.
22766
619fccca
LD
227672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22768
2d09f82f 22769 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22770 * wcsmbs/test-wcslen.c: New file.
22771 * string/test-strlen.c: Update.
22772 Add wcslen support.
22773 (WIDE): New macro.
22774
09f699ea
UD
227752011-10-23 Ulrich Drepper <drepper@gmail.com>
22776
22777 * po/it.po: Update from translation team.
22778
95584d3b
LD
227792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22780
22781 * sysdeps/x86_64/wcscmp.S: Update.
22782 Fix wrong comparison semantics.
22783 wcscmp shall use signed comparison not unsigned.
22784 Don't use substraction to avoid overflow bug.
22785 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22786 * wcsmbc/wcscmp.c: Likewise.
22787 * string/test-strcmp.c: Likewise.
22788 Add new tests to check cases with negative values.
22789
c8b3296b
UD
227902011-10-23 Ulrich Drepper <drepper@gmail.com>
22791
22792 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22793 * sysdeps/x86_64/dla.h: ...here. New file.
22794 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22803
246ad57a
AS
228042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22805
22806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22807 __ynl_finite aliases.
22808
a1a87169
UD
228092011-10-22 Ulrich Drepper <drepper@gmail.com>
22810
0d355eb7
UD
22811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22812
a1a87169
UD
22813 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22814 define DLA_FMA.
22815 [DLA_FMA] (EMULV): Use DLA_FMA.
22816 [DLA_FMA] (MUL12): Use EMULV.
22817 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22818 that are not needed.
22819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22826
ee2aafe0
AS
228272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22828
22829 * math/s_nan.c: Undef __nan.
22830 * math/s_nanf.c: Undef __nanf.
22831 * math/s_nanl.c: Undef __nanl.
22832 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22833 "math_private.h".
22834
bc62c2fb
UD
228352011-10-22 Ulrich Drepper <drepper@gmail.com>
22836
77425c63
UD
22837 * math/s_catan.c: Add branch predictions.
22838 * math/s_catanf.c: Likewise.
22839 * math/s_catanh.c: Likewise.
22840 * math/s_catanhf.c: Likewise.
22841 * math/s_catanhl.c: Likewise.
22842 * math/s_catanl.c: Likewise.
22843 * math/s_cexp.c: Likewise.
22844 * math/s_cexpf.c: Likewise.
22845 * math/s_cexpl.c: Likewise.
22846 * math/s_clog.c: Likewise.
22847 * math/s_clog10.c: Likewise.
22848 * math/s_clog10f.c: Likewise.
22849 * math/s_clog10l.c: Likewise.
22850 * math/s_clogf.c: Likewise.
22851 * math/s_clogl.c: Likewise.
22852 * math/s_csqrt.c: Likewise.
22853 * math/s_csqrtf.c: Likewise.
22854 * math/s_csqrtl.c: Likewise.
22855 * math/s_ctanf.c: Likewise.
22856 * math/s_ctanh.c: Likewise.
22857 * math/s_ctanhf.c: Likewise.
22858 * math/s_ctanhl.c: Likewise.
22859 * math/s_ctanl.c: Likewise.
22860
bc62c2fb
UD
22861 * math/math_private.h: Define __nan, __nanf, __nanl.
22862 * math/s_cacosh.c: Include <math_private.h>.
22863 * math/s_cacoshl.c: Likewise.
22864 * math/s_casinh.c: Likewise.
22865 * math/s_casinhf.c: Likewise.
22866 * math/s_casinhl.c: Likewise.
22867 * math/s_ccos.c: Rely entire on ccosh.
22868 * math/s_ccosf.c: Rely entire on ccoshf.
22869 * math/s_ccosl.c: Rely entirely on ccoshl.
22870 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22871 Remove tests for FE_INVALID.
22872 * math/s_ccoshf.c: Likewise.
22873 * math/s_ccoshl.c: Likewise.
22874 * math/s_csin.c: Likewise.
22875 * math/s_csinf.c: Likewise.
22876 * math/s_csinh.c Likewise.
22877 * math/s_csinhf.c: Likewise.
22878 * math/s_csinhl.c: Likewise.
22879 * math/s_csinl.c: Likewise.
22880 * math/s_ctan.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22882 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22883 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22884
8ec250a4
UD
228852011-10-21 Ulrich Drepper <drepper@gmail.com>
22886
c196fed8
UD
22887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22888 compilation problems.
22889
8ec250a4
UD
22890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22891 __builtin_expect.
22892
8d4f46c6
UD
228932011-10-20 Ulrich Drepper <drepper@gmail.com>
22894
ed72b654
UD
22895 * sysdeps/i386/configure.in: Test for -mfma4 option.
22896 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22897 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22898 COMMON_CPUID_INDEX_80000001.
22899 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22900 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22901 use it if FMA3 is not supported.
22902 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22903
8d4f46c6
UD
22904 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22905 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22906
d45c60c2
AS
229072011-10-20 Andreas Schwab <schwab@redhat.com>
22908
22909 [BZ #12892]
22910 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22911 it would create a cycle with a link time dependency.
22912
d9a4d2ab
UD
229132011-10-19 Ulrich Drepper <drepper@gmail.com>
22914
855d1560
UD
22915 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22916 instruction.
22917 * string/Makefile (strop-tests): Add rawmemchr.
22918 * string/test-rawmemchr.c: New file.
22919
d9a4d2ab
UD
22920 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22922 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22923 when compiling str{,n}casecmp and when AVX is available. Hook up
22924 new optimized code in initializers.
22925
8f3b1ffe
AS
229262011-10-19 Andreas Schwab <schwab@redhat.com>
22927
22928 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22929 __feraiseexcept instead of feraiseexcept.
22930
d38f1dba
UD
229312011-10-18 Ulrich Drepper <drepper@gmail.com>
22932
d9a8d0ab
UD
22933 * math/math_private.h: Define defaults for libc_fetestexcept and
22934 libc_feupdateenv.
22935 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22936 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22940 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22941 libc_fetestexcept and libc_feupdateenv.
22942
4855e3dd
UD
22943 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22944 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22945 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22946 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22947 libc_feholdexcept_setround.
22948
581d30e3
UD
22949 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22950 Add s_nearbyint-c and s_nearbyintf-c.
22951 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22952 nearbyintf inlines.
22953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22954 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22956 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22957
d38f1dba
UD
22958 * math/math_private.h: Define defaults for libc_fegetround,
22959 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22960 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22961 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22963 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22964 standard functions.
22965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22966 Remove comments and hacks for old compiler versions.
22967 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22968 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22969 libc_feholdexceptl.
22970
caa6c9d8
AS
229712011-10-18 Andreas Schwab <schwab@redhat.com>
22972
22973 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22974 (__feraiseexcept_renamed): Add __NTH.
22975 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22976 namespace violations.
22977
97c066e6
UD
229782011-10-17 Ulrich Drepper <drepper@gmail.com>
22979
99ce7b04
UD
22980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22981
1004d182
UD
22982 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22983
228a984d
UD
22984 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22985 recently added interfaces.
22986 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22987
c8553a6a
UD
22988 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22989 about macro parameter expansion.
22990
ed22dcf6
UD
22991 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22992 __NO_MATH_INLINES is defined. Cleanups.
22993
22994 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22995 and __floorf is target has SSE4.1.
22996 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22997 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22998 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22999 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23000
b171c137
UD
23001 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23002 name.
23003 (floorf): Likewise.
23004
97c066e6
UD
23005 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23006
629f62ef
AS
230072011-10-17 Andreas Schwab <schwab@redhat.com>
23008
49a43d80
AS
23009 * misc/sys/cdefs.h: Fix last change.
23010
629f62ef
AS
23011 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23012 database lookup.
23013
e453f6cd
UD
230142011-10-16 Ulrich Drepper <drepper@gmail.com>
23015
aa78043a
UD
23016 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23017
ad0f5cad
UD
23018 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23019 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23021 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23025 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23028 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23029 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23030 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23031 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23032 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23033 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23034 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23035 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23037 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23038 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23039 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23040
23041 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23042 ceil, ceilf, floor, floorf.
23043
23044 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23045 Perform IRELATIVE relocations last.
23046
e453f6cd
UD
23047 * elf/do-rel.h: Add another parameter nrelative, replacing the
23048 local variable with the same name. Change name of the function
23049 to end in Rel or Rela (uppercase).
23050 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23051 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23052 elf_dynamic_do_##reloc function.
23053
fd5bdc09
UD
230542011-10-15 Ulrich Drepper <drepper@gmail.com>
23055
79b195b5
UD
23056 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23057 is sufficient, at least on modern CPUs.
23058
d4a28569
UD
23059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23060
b61099b5
UD
23061 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23062 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23063
bcf01e6d
UD
23064 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23065 __expl_finite.
23066 * math/bits/math-finite.h: Add entries for exp.
23067 * math/e_expl.c: Add __*_finite alias.
23068 * sysdeps/i386/fpu/e_exp.S: Likewise.
23069 * sysdeps/i386/fpu/e_expf.S: Likewise.
23070 * sysdeps/i386/fpu/e_expl.c: Likewise.
23071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23072 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23075 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23076 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23078
ba1a0d59
UD
23079 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23080 is sufficient, at least on modern CPUs.
23081
fd5bdc09
UD
23082 * ctype/ctype-info.c (__ctype_init): Define.
23083 * include/ctype.h (__ctype_init): Declare.
23084 (__ctype_b_loc): The variable is always initialized.
23085 (__ctype_toupper_loc): Likewise.
23086 (__ctype_tolower_loc): Likewise.
23087 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23088 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23089
7872cfb0
AS
230902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23091
b468825a
AS
23092 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23093
7872cfb0
AS
23094 * configure.in: Also look in $cxxmachine/include for C++ system
23095 headers.
23096
be13f7bf
LD
230972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23098
23099 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23100 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23101 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23102 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23104 (USE_AS_WMEMCMP): New macro.
23105 Fixing indents.
23106 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23107 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23108 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23109 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23111 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23112 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23113 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23114 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23115 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23116 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23117 (USE_AS_WMEMCMP): New macro.
23118 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23119 * sysdeps/string/test-memcmp.c: Update.
23120 Fix simple_wmemcmp.
23121 Add new tests.
23122 * wcsmbs/wmemcmp.c: Update.
23123 (WMEMCMP): New macro.
23124 Fix overflow bug.
23125
556a2007
AJ
231262011-10-12 Andreas Jaeger <aj@suse.de>
23127
23128 [BZ #13268]
23129 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23130
538faaa7
UD
231312011-10-15 Ulrich Drepper <drepper@gmail.com>
23132
ab6737ff
UD
23133 * libio/iofwide.c (do_length): Avoid warning.
23134
538faaa7
UD
23135 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23136
396a21b1
UD
231372011-10-14 Ulrich Drepper <drepper@gmail.com>
23138
cdf2901f
UD
23139 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23140
38ad40ce
UD
23141 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23142 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23143 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23144 * sysdeps/i386/i686/fpu/e_log.S: New file.
23145 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23146 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23147
396a21b1
UD
23148 * ctype/ctype.h: Add support for inlined isXXX functions when
23149 compiling C++ code.
23150
6b1f68c9
AS
231512011-10-14 Andreas Schwab <schwab@redhat.com>
23152
349290c0
AS
23153 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23154
6b1f68c9
AS
23155 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23156
f2282d42
RM
231572011-10-13 Roland McGrath <roland@hack.frob.com>
23158
23159 [BZ #13291]
23160 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23161
5298ffa8
AS
231622011-10-13 Andreas Schwab <schwab@redhat.com>
23163
714fad23
AS
23164 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23165 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23166 feraiseexcept.
23167
81dcc7fb
AS
23168 * sysdeps/x86_64/memrchr.S: Check for zero size.
23169
5298ffa8
AS
23170 * string/stratcliff.c: Add memrchr tests.
23171
951fbcec
LD
231722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23173
23174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23175 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23176 rawmemchr-sse2 rawmemchr-sse2-bsf.
23177 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23178 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23179 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23180 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23181 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23182 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23183 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23184 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23186 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23187 * string/memrchr.c (MEMRCHR): New macro.
23188
0ac5ae23
UD
231892011-10-12 Ulrich Drepper <drepper@gmail.com>
23190
23191 Add integration with gcc's -ffinite-math-only and optimize wrapper
23192 functions in libm.
23193 * Versions.def: Define GLIBC_2.15 version for libm.
23194 * math/Makefile (headers): Add bits/math-finite.h.
23195 * math/bits/math-finite.h: New file.
23196 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23197 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23198 * math/e_acoshl.c: Add __*_finite alias.
23199 * math/e_acosl.c: Likewise.
23200 * math/e_asinl.c: Likewise.
23201 * math/e_atan2l.c: Likewise.
23202 * math/e_atanhl.c: Likewise.
23203 * math/e_coshl.c: Likewise.
23204 * math/e_exp10.c: Likewise.
23205 * math/e_exp10f.c: Likewise.
23206 * math/e_exp10l.c: Likewise.
23207 * math/e_exp2l.c: Likewise.
23208 * math/e_fmodl.c: Likewise.
23209 * math/e_gammal_r.c: Likewise.
23210 * math/e_hypotl.c: Likewise.
23211 * math/e_j0l.c: Likewise.
23212 * math/e_j1l.c: Likewise.
23213 * math/e_jnl.c: Likewise.
23214 * math/e_lgammal_r.c: Likewise.
23215 * math/e_log10l.c: Likewise.
23216 * math/e_log2l.c: Likewise.
23217 * math/e_logl.c: Likewise.
23218 * math/e_powl.c: Likewise.
23219 * math/e_sinhl.c: Likewise.
23220 * math/e_sqrtl.c: Likewise.
23221 * math/e_scalb.c: Completely rewritten and optimized.
23222 * math/e_scalbf.c: Likewise.
23223 * math/e_scalbl.c: Likewise.
23224 * math/w_acos.c: Likewise.
23225 * math/w_acosf.c: Likewise.
23226 * math/w_acosl.c: Likewise.
23227 * math/w_acosh.c: Likewise.
23228 * math/w_acoshf.c: Likewise.
23229 * math/w_acoshl.c: Likewise.
23230 * math/w_asin.c: Likewise.
23231 * math/w_asinf.c: Likewise.
23232 * math/w_asinl.c: Likewise.
23233 * math/w_atan2.c: Likewise.
23234 * math/w_atan2f.c: Likewise.
23235 * math/w_atan2l.c: Likewise.
23236 * math/w_atanh.c: Likewise.
23237 * math/w_atanhf.c: Likewise.
23238 * math/w_atanhl.c: Likewise.
23239 * math/w_exp10.c: Likewise.
23240 * math/w_exp10f.c: Likewise.
23241 * math/w_exp10l.c: Likewise.
23242 * math/w_fmod.c: Likewise.
23243 * math/w_fmodf.c: Likewise.
23244 * math/w_fmodl.c: Likewise.
23245 * math/w_j0.c: Likewise.
23246 * math/w_j0f.c: Likewise.
23247 * math/w_j0l.c: Likewise.
23248 * math/w_j1.c: Likewise.
23249 * math/w_j1f.c: Likewise.
23250 * math/w_j1l.c: Likewise.
23251 * math/w_jn.c: Likewise.
23252 * math/w_jnf.c: Likewise.
23253 * math/w_log.c: Likewise.
23254 * math/w_logf.c: Likewise.
23255 * math/w_logl.c: Likewise.
23256 * math/w_log10.c: Likewise.
23257 * math/w_log10f.c: Likewise.
23258 * math/w_log10l.c: Likewise.
23259 * math/w_log2.c: Likewise.
23260 * math/w_log2f.c: Likewise.
23261 * math/w_log2l.c: Likewise.
23262 * math/w_pow.c: Likewise.
23263 * math/w_powf.c: Likewise.
23264 * math/w_powl.c: Likewise.
23265 * math/w_remainder.c: Likewise.
23266 * math/w_remainderf.c: Likewise.
23267 * math/w_remainderl.c: Likewise.
23268 * math/w_scalb.c: Likewise.
23269 * math/w_scalbf.c: Likewise.
23270 * math/w_scalbl.c: Likewise.
23271 * math/w_sqrt.c: Likewise.
23272 * math/w_sqrtf.c: Likewise.
23273 * math/w_sqrtl.c: Likewise.
23274 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23275 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23276 used.
23277 * math/math_private.h: Declare __kernel_standard_f.
23278 * math/w_cosh.c: Remove cruft and optimize a bit.
23279 * math/w_coshf.c: Likewise.
23280 * math/w_coshl.c: Likewise.
23281 * math/w_exp2.c: Likewise.
23282 * math/w_exp2f.c: Likewise.
23283 * math/w_exp2l.c: Likewise.
23284 * math/w_hypot.c: Likewise.
23285 * math/w_hypotf.c: Likewise.
23286 * math/w_hypotl.c: Likewise.
23287 * math/w_lgamma.c: Likewise.
23288 * math/w_lgamma_r.c: Likewise.
23289 * math/w_lgammaf.c: Likewise.
23290 * math/w_lgammaf_r.c: Likewise.
23291 * math/w_lgammal.c: Likewise.
23292 * math/w_lgammal_r.c: Likewise.
23293 * math/w_sinh.c: Likewise.
23294 * math/w_sinhf.c: Likewise.
23295 * math/w_sinhl.c: Likewise.
23296 * math/w_tgamma.c: Likewise.
23297 * math/w_tgammaf.c: Likewise.
23298 * math/w_tgammal.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23301 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23302 Minor optimizations. Pretty printing. Remove cruft.
23303 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23304 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23305 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23306 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23307 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23308 * sysdeps/i386/fpu/e_asin.S: Likewise.
23309 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23310 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23311 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23312 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23313 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23316 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23317 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23318 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23319 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23320 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23321 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23322 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23323 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23324 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23325 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23326 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23327 * sysdeps/i386/fpu/e_log.S: Likewise.
23328 * sysdeps/i386/fpu/e_log10.S: Likewise.
23329 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23331 * sysdeps/i386/fpu/e_log2.S: Likewise.
23332 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23334 * sysdeps/i386/fpu/e_logf.S: Likewise.
23335 * sysdeps/i386/fpu/e_logl.S: Likewise.
23336 * sysdeps/i386/fpu/e_pow.S: Likewise.
23337 * sysdeps/i386/fpu/e_powf.S: Likewise.
23338 * sysdeps/i386/fpu/e_powl.S: Likewise.
23339 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23340 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23341 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23342 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23345 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23346 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23347 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23369 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23370 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23371 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23372 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23373 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23374 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23375 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23376 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23377 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23378 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23382 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23439 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23441 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23442 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23443 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23444 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23445 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23446 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23447 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23448 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23450 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23451 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23452 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23453 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23454 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23456 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23458 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23459 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23460 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23461 (__isnanf): Likewise.
23462 (__isinf_ns): Likewise.
23463 (__isinf_nsf): Likewise.
23464 (__finite): Likewise.
23465 (__finitef): Likewise.
23466 (__ieee754_sqrt): Define as macro.
23467 (__ieee754_sqrtf): Define as macro.
23468 (__ieee754_sqrtl): Define as macro.
23469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23470 inlined copy.
23471 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23472 __FINITE_MATH_ONLY__ consistent.
23473 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23474
12cc2fcd
AS
234752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23476
a843a204
AS
23477 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23478 of rawmemchr.
23479
12cc2fcd
AS
23480 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23481
c853acd5
UD
234822011-10-09 Ulrich Drepper <drepper@gmail.com>
23483
23484 * po/ja.po: Update from translation team.
23485
c658d255
RM
234862011-10-08 Roland McGrath <roland@hack.frob.com>
23487
110946e4
RM
23488 * locale/programs/locarchive.c (prepare_address_space): New function.
23489 (create_archive, enlarge_archive, open_archive): Use it.
23490
50604220
RM
23491 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23492 inside [SHARED], where it is used.
23493
c658d255
RM
23494 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23495
23496 * nss/getent.c (netgroup_keys): Remove unused variable.
23497 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23498
6a621eb7
UD
234992011-10-08 Ulrich Drepper <drepper@gmail.com>
23500
7edb55ce
UD
23501 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23502 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23505 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23506 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23507 * math/Makefile (libm-calls): Add s_isinf_ns.
23508 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23509 * math/multc3.c: Likewise.
23510 * math/s_casin.c: Likewise.
23511 * math/s_casinf.c: Likewise.
23512 * math/s_casinl.c: Likewise.
23513 * math/s_ccos.c: Likewise.
23514 * math/s_ccosf.c: Likewise.
23515 * math/s_ccosl.c: Likewise.
23516 * math/s_ctan.c: Likewise.
23517 * math/s_ctanf.c: Likewise.
23518 * math/s_ctanh.c: Likewise.
23519 * math/s_ctanhf.c: Likewise.
23520 * math/s_ctanhl.c: Likewise.
23521 * math/s_ctanl.c: Likewise.
23522 * math/w_fmod.c: Likewise.
23523 * math/w_fmodf.c: Likewise.
23524 * math/w_fmodl.c: Likewise.
23525 * math/w_remainder.c: Likewise.
23526 * math/w_remainderf.c: Likewise.
23527 * math/w_remainderl.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23529 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23532 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23533 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23534 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23535 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23536
187da0ae
UD
23537 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23538 of the number.
23539 * stdio-common/printf_fphex.c: Likewise.
23540 * stdio-common/printf_size.c: Likewise.
23541
9277c064
UD
23542 * math/e_exp10.c: Include math_private.h using <...> not "...".
23543 * math/e_exp10f.c: Likewise.
23544 * math/e_exp10l.c: Likewise.
23545 * math/e_exp2l.c: Likewise.
23546 * math/e_j0l.c: Likewise.
23547 * math/e_j1l.c: Likewise.
23548 * math/e_jnl.c: Likewise.
23549 * math/e_lgammal_r.c: Likewise.
23550 * math/e_rem_pio2l.c: Likewise.
23551 * math/e_scalb.c: Likewise.
23552 * math/e_scalbf.c: Likewise.
23553 * math/e_scalbl.c: Likewise.
23554 * math/k_cosl.c: Likewise.
23555 * math/k_sinl.c: Likewise.
23556 * math/k_tanl.c: Likewise.
23557 * math/s_cacoshf.c: Likewise.
23558 * math/s_catan.c: Likewise.
23559 * math/s_catanf.c: Likewise.
23560 * math/s_catanh.c: Likewise.
23561 * math/s_catanhf.c: Likewise.
23562 * math/s_catanhl.c: Likewise.
23563 * math/s_catanl.c: Likewise.
23564 * math/s_ccosh.c: Likewise.
23565 * math/s_ccoshf.c: Likewise.
23566 * math/s_ccoshl.c: Likewise.
23567 * math/s_cexp.c: Likewise.
23568 * math/s_cexpf.c: Likewise.
23569 * math/s_cexpl.c: Likewise.
23570 * math/s_clog.c: Likewise.
23571 * math/s_clog10.c: Likewise.
23572 * math/s_clog10f.c: Likewise.
23573 * math/s_clog10l.c: Likewise.
23574 * math/s_clogf.c: Likewise.
23575 * math/s_clogl.c: Likewise.
23576 * math/s_csin.c: Likewise.
23577 * math/s_csinf.c: Likewise.
23578 * math/s_csinh.c: Likewise.
23579 * math/s_csinhf.c: Likewise.
23580 * math/s_csinhl.c: Likewise.
23581 * math/s_csinl.c: Likewise.
23582 * math/s_csqrt.c: Likewise.
23583 * math/s_csqrtf.c: Likewise.
23584 * math/s_csqrtl.c: Likewise.
23585 * math/s_ctan.c: Likewise.
23586 * math/s_ctanf.c: Likewise.
23587 * math/s_ctanh.c: Likewise.
23588 * math/s_ctanhf.c: Likewise.
23589 * math/s_ctanhl.c: Likewise.
23590 * math/s_ctanl.c: Likewise.
23591 * math/s_ldexp.c: Likewise.
23592 * math/s_ldexpf.c: Likewise.
23593 * math/s_ldexpl.c: Likewise.
23594 * math/s_significand.c: Likewise.
23595 * math/s_significandf.c: Likewise.
23596 * math/s_significandl.c: Likewise.
23597 * math/w_acos.c: Likewise.
23598 * math/w_acosf.c: Likewise.
23599 * math/w_acosh.c: Likewise.
23600 * math/w_acoshf.c: Likewise.
23601 * math/w_acoshl.c: Likewise.
23602 * math/w_acosl.c: Likewise.
23603 * math/w_asin.c: Likewise.
23604 * math/w_asinf.c: Likewise.
23605 * math/w_asinl.c: Likewise.
23606 * math/w_atan2.c: Likewise.
23607 * math/w_atan2f.c: Likewise.
23608 * math/w_atan2l.c: Likewise.
23609 * math/w_atanh.c: Likewise.
23610 * math/w_atanhf.c: Likewise.
23611 * math/w_atanhl.c: Likewise.
23612 * math/w_cosh.c: Likewise.
23613 * math/w_coshf.c: Likewise.
23614 * math/w_coshl.c: Likewise.
23615 * math/w_dremf.c: Likewise.
23616 * math/w_exp10.c: Likewise.
23617 * math/w_exp10f.c: Likewise.
23618 * math/w_exp10l.c: Likewise.
23619 * math/w_exp2.c: Likewise.
23620 * math/w_exp2f.c: Likewise.
23621 * math/w_fmod.c: Likewise.
23622 * math/w_fmodf.c: Likewise.
23623 * math/w_fmodl.c: Likewise.
23624 * math/w_hypot.c: Likewise.
23625 * math/w_hypotf.c: Likewise.
23626 * math/w_hypotl.c: Likewise.
23627 * math/w_j0.c: Likewise.
23628 * math/w_j0f.c: Likewise.
23629 * math/w_j0l.c: Likewise.
23630 * math/w_j1.c: Likewise.
23631 * math/w_j1f.c: Likewise.
23632 * math/w_j1l.c: Likewise.
23633 * math/w_jn.c: Likewise.
23634 * math/w_jnf.c: Likewise.
23635 * math/w_jnl.c: Likewise.
23636 * math/w_lgamma.c: Likewise.
23637 * math/w_lgamma_r.c: Likewise.
23638 * math/w_lgammaf.c: Likewise.
23639 * math/w_lgammaf_r.c: Likewise.
23640 * math/w_lgammal.c: Likewise.
23641 * math/w_lgammal_r.c: Likewise.
23642 * math/w_log.c: Likewise.
23643 * math/w_log10.c: Likewise.
23644 * math/w_log10f.c: Likewise.
23645 * math/w_log10l.c: Likewise.
23646 * math/w_log2.c: Likewise.
23647 * math/w_log2f.c: Likewise.
23648 * math/w_log2l.c: Likewise.
23649 * math/w_logf.c: Likewise.
23650 * math/w_logl.c: Likewise.
23651 * math/w_pow.c: Likewise.
23652 * math/w_powf.c: Likewise.
23653 * math/w_powl.c: Likewise.
23654 * math/w_remainder.c: Likewise.
23655 * math/w_remainderf.c: Likewise.
23656 * math/w_remainderl.c: Likewise.
23657 * math/w_scalb.c: Likewise.
23658 * math/w_scalbf.c: Likewise.
23659 * math/w_scalbl.c: Likewise.
23660 * math/w_sinh.c: Likewise.
23661 * math/w_sinhf.c: Likewise.
23662 * math/w_sinhl.c: Likewise.
23663 * math/w_sqrt.c: Likewise.
23664 * math/w_sqrtf.c: Likewise.
23665 * math/w_sqrtl.c: Likewise.
23666 * math/w_tgamma.c: Likewise.
23667 * math/w_tgammaf.c: Likewise.
23668 * math/w_tgammal.c: Likewise.
23669
6a621eb7
UD
23670 * po/ja.po: Update from translation team.
23671
bf582445
AJ
236722011-09-29 Andreas Jaeger <aj@suse.de>
23673
f9efbf3a
AJ
23674 [BZ #13179]
23675 * sunrpc/netname.c (netname2host): Fix logic.
23676
bf582445
AJ
23677 [BZ #6779]
23678 [BZ #6783]
23679 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23680 correctly.
23681 * math/w_remainder.c (__remainder): Likewise.
23682 * math/w_remainderf.c (__remainderf): Likewise.
23683 * math/libm-test.inc (remainder_test): Add test cases.
23684
48693bea
AK
236852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23686
23687 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23688 sdiv_qrnnd.
23689
42622229
LD
236902011-10-07 Ulrich Drepper <drepper@gmail.com>
23691
23692 * string/test-memcmp.c: Avoid unncessary #defines.
23693 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23694
093ecf92
LD
236952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23696
23697 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23698 Use new sse2 version for core i3 - i7 as it's faster
23699 than sse42 version.
23700 (bit_Prefer_PMINUB_for_stringop): New.
23701 * sysdeps/x86_64/rawmemchr.S: Update.
23702 Replace with faster SSE2 version.
23703 * sysdeps/x86_64/memrchr.S: New file.
23704 * sysdeps/x86_64/memchr.S: Update.
23705 Replace with faster SSE2 version.
23706
fde56e5c
MP
237072011-09-12 Marek Polacek <mpolacek@redhat.com>
23708
23709 * elf/dl-load.c (lose): Add cast to avoid warning.
23710
21fd49a9
UD
237112011-10-07 Ulrich Drepper <drepper@gmail.com>
23712
5a06e643
UD
23713 * po/ca.po: Update from translation team.
23714
684ae515
UD
23715 * inet/getnetgrent_r.c: Hook up nscd.
23716 * nscd/Makefile (routines): Add nscd_netgroup.
23717 (nscd-modules): Add netgroupcache.
23718 (CFLAGS-netgroupcache.c): Define.
23719 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23720 (cache_search): Add const to second parameter.
23721 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23722 INNETGR.
23723 (dbs): Add netgrdb entry.
23724 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23725 (verify_persistent_db): Handle netgrdb.
23726 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23727 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23728 GETFDNETGR.
23729 (netgroup_response_header): Define.
23730 (innetgroup_response_header): Define.
23731 (datahead): Add netgroup_response_header and innetgroup_response_header
23732 elements.
23733 * nscd/nscd.conf: Add entries for netgroup cache.
23734 * nscd/nscd.h (dbtype): Add netgrdb.
23735 (_PATH_NSCD_NETGROUP_DB): Define.
23736 (netgroup_iov_disabled): Declare.
23737 (xmalloc, xcalloc, xrealloc): Move declarations here.
23738 (cache_search): Adjust prototype.
23739 Add netgroup-related prototypes.
23740 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23741 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23742 (__nscd_innetgr): Declare.
23743 * nscd/selinux.c (perms): Use access_vector_t as element type and
23744 add netgroup-related initializers.
23745 * nscd/netgroupcache.c: New file.
23746 * nscd/nscd_netgroup.c: New file.
23747 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23748 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23749 For four parameters use innetgr.
23750 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23751 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23752 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23753 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23754
21fd49a9
UD
23755 * nscd/connections.c (register_traced_file): Don't register file
23756 for disabled databases.
23757
054c0457
UD
237582011-10-06 Ulrich Drepper <drepper@gmail.com>
23759
32b63198
UD
23760 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23761
054c0457
UD
23762 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23763 from tree and freeing node.
23764
64031225
JO
237652011-09-25 Jiri Olsa <jolsa@redhat.com>
23766
23767 * nss/nsswitch.c (__nss_database_lookup): Handle
23768 nss_parse_service_list out of memory case.
23769
0490345c
JO
237702011-09-15 Jiri Olsa <jolsa@redhat.com>
23771
23772 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23773 out of memory case.
23774
3a62d00d
AS
237752011-10-04 Andreas Schwab <schwab@redhat.com>
23776
23777 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23778 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23779 pass it down.
23780 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23781 elf_machine_rela, elf_machine_lazy_rel.
23782 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23783 (ELF_DYNAMIC_DO_REL): Likewise.
23784 (ELF_DYNAMIC_DO_RELA): Likewise.
23785 (ELF_DYNAMIC_RELOCATE): Likewise.
23786 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23787 to ELF_DYNAMIC_DO_REL.
23788 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23789 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23790 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23791 elf_machine_rela.
23792 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23793 skip_ifunc, don't call ifunc function if non-zero.
23794 (elf_machine_rela): Likewise.
23795 (elf_machine_lazy_rel): Likewise.
23796 (elf_machine_lazy_rela): Likewise.
23797 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23798 (elf_machine_lazy_rel): Likewise.
23799 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23800 Likewise.
23801 (elf_machine_lazy_rel): Likewise.
23802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23803 Likewise.
23804 (elf_machine_lazy_rel): Likewise.
23805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23806 (elf_machine_lazy_rel): Likewise.
23807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23808 (elf_machine_lazy_rel): Likewise.
23809 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23810 (elf_machine_lazy_rel): Likewise.
23811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23812 (elf_machine_lazy_rel): Likewise.
23813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23814 (elf_machine_lazy_rel): Likewise.
23815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23816 (elf_machine_lazy_rel): Likewise.
23817
68577918
UD
238182011-09-28 Ulrich Drepper <drepper@gmail.com>
23819
23820 * nss/nss_files/files-init.c (_nss_files_init): Use static
23821 initialization for all the *_traced_file variables.
23822
68822d74
AS
238232011-09-28 Andreas Schwab <schwab@redhat.com>
23824
23825 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23826
2056100b
RM
238272011-09-27 Roland McGrath <roland@hack.frob.com>
23828
23829 [BZ #13226]
23830 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23831
32c76b63
AS
238322011-09-27 Andreas Schwab <schwab@redhat.com>
23833
23834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23835 Reread the line before reparsing it.
23836
bf972c9d
AS
238372011-09-26 Andreas Schwab <schwab@redhat.com>
23838
23839 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23840
e057a1b5
JM
238412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23842 Maxim Kuvyrkov <maxim@codesourcery.com>
23843 Joseph Myers <joseph@codesourcery.com>
23844
23845 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23846 if needed for __stack_chk_guard.
23847
bc7e1c36
RM
238482011-09-19 Roland McGrath <roland@hack.frob.com>
23849
ecb1482f
RM
23850 * sysdeps/posix/spawni.c (script_execute): Always define it.
23851 It will be optimized away if unused.
23852 (maybe_script_execute): New function.
23853 (__spawni): Call it.
23854
bc7e1c36
RM
23855 * Makerules: Don't include tls.make.
23856 (config-tls): Always set to thread.
23857 * tls.make.c: File removed.
23858
1c3b002b
MF
238592011-09-19 Mike Frysinger <vapier@gentoo.org>
23860
23861 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23862 * config.make.in (CPPFLAGS-config): New substituted variable.
23863
2840865d
UD
238642011-09-15 Ulrich Drepper <drepper@gmail.com>
23865
88738eb6
UD
23866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23867
cbf645a6 23868 [BZ #13192]
2840865d
UD
23869 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23870 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23871
b402e91a
RM
238722011-09-15 Roland McGrath <roland@hack.frob.com>
23873
23874 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23875 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23877 (CALL_FAIL): Likewise.
23878 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23879 (CALL_FAIL): Macro removed.
23880 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23881
4c1a1f71
UD
238822011-09-15 Ulrich Drepper <drepper@gmail.com>
23883
23884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23885 for __FINITE_MATH_ONLY__ == 1.
23886
edc121be
AS
238872011-09-15 Andreas Schwab <schwab@redhat.com>
23888
23889 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23890 __ieee754_sqrt instead of sqrt.
23891 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23892 __ieee754_sqrtf instead of sqrtf.
23893 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23894 __floorf instead of floorf.
23895 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23896 __floorf, __truncf instead of floorf, truncf.
23897
cd205654
UD
238982011-09-14 Ulrich Drepper <drepper@gmail.com>
23899
ee4d0315
UD
23900 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23901
cd205654
UD
23902 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23903 __extern_always_inline.
23904 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23905 32-bit.
23906
48b67d71
AS
239072011-09-14 Andreas Schwab <schwab@redhat.com>
23908
23909 * elf/rtld.c (dl_main): Also relocate in dependency order when
23910 doing symbol dependency testing.
23911
1ae12c75
AS
239122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23913
23914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23915 Always define `refsym'.
23916
995a80df
AS
239172011-09-13 Andreas Schwab <schwab@redhat.com>
23918
e529793b
AS
23919 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23920 (__FD_ELT): Renamed from __FDELT.
23921 * misc/bits/select2.h (__FD_ELT): Likewise.
23922 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23923 __FD_MASK instead of __FDELT, __FDMASK.
23924 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23925 Likewise.
23926 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23927 Likewise.
23928
52d4fef8
AS
23929 * elf/Makefile (gen-ldd): Fix pattern.
23930
995a80df
AS
23931 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23932 (init_tls): Likewise.
23933
8682f8b0
UD
239342011-09-12 Ulrich Drepper <drepper@gmail.com>
23935
23936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23937
de82006d
AS
239382011-09-12 Andreas Schwab <schwab@redhat.com>
23939
a7c8e6a1
AS
23940 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23941 `struct cmsghdr *' instead of `void *'.
23942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23943 Likewise.
23944
0f31fe77
AS
239452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23946
23947 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23948 if non-absolute.
23949 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23950 ldd_rewrite_script.
0f31fe77 23951
32b4c839
UD
239522011-09-11 Ulrich Drepper <drepper@gmail.com>
23953
83cd1420
UD
23954 * configure.in: Remove --with-tls option.
23955 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23956 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23957 out in case it is missing.
23958 * sysdeps/ia64/elf/configure.in: Likewise.
23959 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23960 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23961 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23962 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23963 * sysdeps/sh/elf/configure.in: Likewise.
23964 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23966 * sysdeps/x86_64/elf/configure.in: Likewise.
23967 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23968 * sysdeps/mach/hurd/tls.h: Likewise.
23969
633f745d
UD
23970 [BZ #13067]
23971 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23972
f318beb8
UD
23973 [BZ #13090]
23974 * configure.in: Fix use of AC_INIT.
23975
32b4c839
UD
23976 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23977
3ce1f295
UD
239782011-09-10 Ulrich Drepper <drepper@gmail.com>
23979
bb016596
UD
23980 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23981 __set_errno.
8e58439c
UD
23982 * malloc/hooks.c: Likewise.
23983
aebae053 23984 [BZ #11929]
02d46fc4
UD
23985 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23986 variables statically.
23987 (narenas): Initialize.
23988 (list_lock): Initialize.
bb016596
UD
23989 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23990 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23991 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23992 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23993 Add initializers to main_arena and mp_.
23994 (malloc_state): Remove pagesize member. Change all users to use
23995 GLRO(dl_pagesize).
23996
23997 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23998 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23999 is always initialized.
24000
22a89187
UD
24001 * malloc/malloc.c: Removed unused configurations and dead code.
24002 * malloc/arena.c: Likewise.
24003 * malloc/hooks.c: Likewise.
02d46fc4 24004 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24005
d063d164
UD
24006 * include/tls.h: Removed. USE___THREAD must always be defined.
24007 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24008 * elf/dl-libc.c: Likewise.
24009 * elf/dl-tsd.c: Likewise.
24010 * include/errno.h: Likewise.
24011 * include/netdb.h: Likewise.
24012 * include/resolv.h: Likewise.
24013 * inet/herrno-loc.c: Likewise.
24014 * inet/herrno.c: Likewise.
24015 * malloc/arena.c: Likewise.
24016 * malloc/hooks.c: Likewise.
24017 * malloc/malloc.c: Likewise.
24018 * resolv/res-state.c: Likewise.
24019 * resolv/res_libc.c: Likewise.
24020 * sysdeps/i386/dl-machine.h: Likewise.
24021 * sysdeps/ia64/dl-machine.h: Likewise.
24022 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24023 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24024 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24025 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24026 * sysdeps/sh/dl-machine.h: Likewise.
24027 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24028 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24029 * sysdeps/unix/i386/sysdep.S: Likewise.
24030 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24031 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24033 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24036 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24041 * sysdeps/x86_64/dl-machine.h: Likewise.
24042 * tls.make.c: Likewise.
24043
3ce1f295
UD
24044 * configure.in: Remove --with-__thread option. Make tests for
24045 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24046 tls_model attribute fail if no support is available. Remove
24047 USE_IN_LIBIO.
24048 * Makeconfig: Adjust for dropped configure option. All features are
24049 now mandatory.
24050 * Makerules: Likewise.
24051 * Versions.def: Likewise.
24052 * argp/argp-fmtstream.c: Likewise.
24053 * argp/argp-fmtstream.h: Likewise.
24054 * argp/argp-help.c: Likewise.
24055 * assert/assert.c: Likewise.
24056 * config.h.in: Likewise.
24057 * config.make.in: Likewise.
24058 * configure: Likewise.
24059 * configure.in: Likewise.
24060 * csu/Versions: Likewise.
24061 * csu/init.c: Likewise.
24062 * elf/tst-audit2.c: Likewise.
24063 * elf/tst-tls10.c: Likewise.
24064 * elf/tst-tls10.h: Likewise.
24065 * elf/tst-tls11.c: Likewise.
24066 * elf/tst-tls12.c: Likewise.
24067 * elf/tst-tls14.c: Likewise.
24068 * elf/tst-tlsmod11.c: Likewise.
24069 * elf/tst-tlsmod12.c: Likewise.
24070 * elf/tst-tlsmod13.c: Likewise.
24071 * elf/tst-tlsmod13a.c: Likewise.
24072 * elf/tst-tlsmod14a.c: Likewise.
24073 * elf/tst-tlsmod15b.c: Likewise.
24074 * elf/tst-tlsmod16a.c: Likewise.
24075 * elf/tst-tlsmod16b.c: Likewise.
24076 * elf/tst-tlsmod7.c: Likewise.
24077 * elf/tst-tlsmod8.c: Likewise.
24078 * elf/tst-tlsmod9.c: Likewise.
24079 * gmon/gmon.c: Likewise.
24080 * grp/fgetgrent_r.c: Likewise.
24081 * grp/putgrent.c: Likewise.
24082 * hurd/fopenport.c: Likewise.
24083 * include/libc-symbols.h: Likewise.
24084 * include/tls.h: Likewise.
24085 * intl/gettextP.h: Likewise.
24086 * intl/loadinfo.h: Likewise.
24087 * locale/global-locale.c: Likewise.
24088 * locale/localeinfo.h: Likewise.
24089 * mach/devstream.c: Likewise.
24090 * malloc/arena.c: Likewise.
24091 * malloc/set-freeres.c: Likewise.
24092 * misc/err.c: Likewise.
24093 * misc/getttyent.c: Likewise.
24094 * misc/mntent_r.c: Likewise.
24095 * posix/getopt.c: Likewise.
24096 * posix/wordexp.c: Likewise.
24097 * pwd/fgetpwent_r.c: Likewise.
24098 * resolv/Versions: Likewise.
24099 * resolv/res_hconf.c: Likewise.
24100 * shadow/fgetspent_r.c: Likewise.
24101 * shadow/putspent.c: Likewise.
24102 * stdio-common/printf_fphex.c: Likewise.
24103 * stdio-common/tmpfile.c: Likewise.
24104 * stdlib/abort.c: Likewise.
24105 * stdlib/fmtmsg.c: Likewise.
24106 * sunrpc/auth_unix.c: Likewise.
24107 * sunrpc/clnt_perr.c: Likewise.
24108 * sunrpc/clnt_tcp.c: Likewise.
24109 * sunrpc/clnt_udp.c: Likewise.
24110 * sunrpc/clnt_unix.c: Likewise.
24111 * sunrpc/openchild.c: Likewise.
24112 * sunrpc/svc_simple.c: Likewise.
24113 * sunrpc/svc_tcp.c: Likewise.
24114 * sunrpc/svc_udp.c: Likewise.
24115 * sunrpc/svc_unix.c: Likewise.
24116 * sunrpc/xdr.c: Likewise.
24117 * sunrpc/xdr_array.c: Likewise.
24118 * sunrpc/xdr_rec.c: Likewise.
24119 * sunrpc/xdr_ref.c: Likewise.
24120 * sunrpc/xdr_stdio.c: Likewise.
24121
1248c1c4
PB
241222011-09-09 Ulrich Drepper <drepper@gmail.com>
24123
24124 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24125
241262011-07-03 Andreas Jaeger <aj@suse.de>
24127
24128 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24130 regenerate with gen-libm-tests.pl.
24131
241322010-05-12 Petr Baudis <pasky@suse.cz>
24133
24134 [BZ #11589]
24135 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24136 around j0() zero points by switching to j1().
24137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24141
f22e1074
UD
241422011-09-09 Ulrich Drepper <drepper@gmail.com>
24143
f19009c1
UD
24144 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24145 instead of 0.
24146 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24147 instead of 0.
f19009c1
UD
24148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24149 Patch in part by Pavel Roskin <proski@gnu.org>.
24150
3f8cc204
UD
24151 [BZ #13138]
24152 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24153 realloc.
24154 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24155 Free memory block if necessary.
24156
f22e1074
UD
24157 [BZ #12847]
24158 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24159 be NULL. Don't lock in this case.
24160
0a2349f9
RM
241612011-09-09 Roland McGrath <roland@hack.frob.com>
24162
24163 * elf/elf.h (ELFOSABI_GNU): New macro.
24164 (ELFOSABI_LINUX): Define to that.
24165
f3cdd467
DZ
241662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24167
24168 * string/strncat.c (strncat): Undef the symbol in case it has been
24169 defined in bits/string.h.
24170
74718d13
UD
241712011-09-09 Ulrich Drepper <drepper@gmail.com>
24172
633e9e0f
UD
24173 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24174
0a2349f9 24175 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24176 link map.
24177
f9924780
AJ
241782011-08-17 Andreas Jaeger <aj@suse.de>
24179
24180 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24181
7f5517aa
PP
241822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24183 Ian Lance Taylor <iant@google.com>
24184
24185 * math/libm-test.inc (lround_test): New testcase.
24186 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24187
762011fe
UD
241882011-09-08 Ulrich Drepper <drepper@gmail.com>
24189
92963737
UD
24190 * Makefile: Remove support for automatic cvs check-ins.
24191 * Makerules: Likewise.
24192 * config.make.in: Likewise.
24193 * configure.in: Likewise.
24194 * intl/Makefile: Likewise.
24195 * locale/Makefile: Likewise.
24196 * po/Makefile: Likewise.
24197 * posix/Makefile: Likewise.
24198 * sysdeps/gnu/Makefile: Likewise.
24199 * sysdeps/mach/hurd/Makefile: Likewise.
24200 * sysdeps/sparc/sparc32/Makefile: Likewise.
24201
b0727fd8
JS
24202 [BZ #13118]
24203 * posix/Makefile (bug-regex32-ENV): Define.
24204 Patch by John Stanley <jpsinthemix@verizon.net>.
24205
a0f33f99
UD
24206 * misc/Makefile (headers): Add bits/select2.h.
24207 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24208 * misc/bits/select2.h: New file.
24209 * include/bits/select2.h: New file.
24210 * debug/Makefile (routines): Add fdelt_chk.
24211 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24212 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24213 FD_ISSET.
24214 * debug/fdelt_chk.c: New file.
24215
762011fe
UD
24216 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24217 * wcsmbs/test-wmemcmp.c: Likewise.
24218 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24219 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24220
242212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24222
24223 * string/Makefile (strop-tests): Add memcmp.
24224 * string/test-wmemcmp.c: New file.
24225 * string/test-memcmp.c: Add wmemcmp support.
24226
7f513ec8
RM
242272011-09-08 Roland McGrath <roland@hack.frob.com>
24228
0442afb4
RM
24229 [BZ #13153]
24230 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24231 2011-07-19 change.
24232
7f513ec8
RM
24233 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24234 garbage value in a __mach_port_mod_refs call in the cases of the
24235 task-self and thread-self ports.
24236
a12b2239
ST
242372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24238
24239 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24240
610f9ab4
AS
242412011-09-08 Andreas Schwab <schwab@redhat.com>
24242
7f513ec8 24243 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24244
48882a1a
LD
242452011-09-07 Ulrich Drepper <drepper@gmail.com>
24246
b49865be
UD
24247 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24248
fdc86bc9
UD
24249 * elf/dl-libc.c (dlerror_run): Pass back error code from
24250 dl_catch_error.
24251
c966526a
UD
24252 [BZ #13123]
24253 * elf/dl-load.c (lose): Free l_origin if it is valid.
24254
48882a1a
LD
24255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24256 names.
24257 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24259 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24261 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24262 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24263
77a2a8b4
AZ
242642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24265
24266 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24267 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24268 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24270 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24271 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24272 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24273 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24274 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24275 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24276
24f579d8
AM
242772011-08-15 Alan Modra <amodra@gmail.com>
24278
24279 [BZ #13092]
24280 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24281 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24282 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24283 ppc_mcount to static-only-routines.
24284 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24285 __mcount_internal.
24286 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24287 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24288
3d4837df
UD
242892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24290
24291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24292 for finite and infinity parameters.
24293
22700377
WS
242942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24295
24296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24297 and add nop instructions for throughput optimization.
24298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24299
5025581e
WS
243002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24301
24302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24303 aligned copy for power7 with vector-scalar instructions.
24304 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24305
08a300c9
L
243062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24309 AVX check.
24310
59178ef9
AS
243112011-09-07 Andreas Schwab <schwab@redhat.com>
24312
24313 [BZ #13144]
24314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24315 last change.
24316
e38ba7ab
UD
243172011-09-07 Ulrich Drepper <drepper@gmail.com>
24318
24319 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24320 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24321 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24322 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24323 clock_gettime.
24324
d53a73ac
UD
243252011-09-06 Ulrich Drepper <drepper@gmail.com>
24326
fc8bffcc
UD
24327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24328 Forgot to demangle the pointer.
24329
ceaa0c5d
UD
24330 * sysdeps/i386/sysdep.h: Define atom_text_section.
24331 * sysdeps/x86_64/sysdep.h: Likewise.
24332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24333 section with atom_text_section.
24334 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24338 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24339
a77d3c17
UD
24340 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24342 already be defined. Change to take two parameters and don't assign
24343 result to variable. Adjust all users.
24344 Define INTERNAL_GETTIME if not already defined.
24345 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24346 call.
24347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24348 HAVE_CLOCK_GETTIME_VSYSCALL.
24349 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24350
d53a73ac
UD
24351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24352 gettimeofday vsyscall, just use time.
24353
a8f84144
AS
243542011-09-06 Andreas Schwab <schwab@redhat.com>
24355
24356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24357 <errno.h>.
24358
ef606249
UD
243592011-09-06 Ulrich Drepper <drepper@gmail.com>
24360
24361 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24362 syscall on x86-64.
24363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24364 syscall.
24365 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24367 syscall if possible.
24368
6585cb60
UD
243692011-09-05 Ulrich Drepper <drepper@gmail.com>
24370
24371 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24372 e_ident. Don't pass to find_mapsXX.
24373 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24374
a5f524e4
LD
243752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24376
24377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24378 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24379 * sysdeps/x86_64/multiarch/strchr.S: Update.
24380 Check bit_slow_BSF bit.
24381 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24382 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24383 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24384
554881ef
UD
243852011-09-05 Ulrich Drepper <drepper@gmail.com>
24386
d96de963
UD
24387 [BZ #13134]
24388 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24389 before glibc 2.15.
24390 (tryshell): Define.
24391 (__spawni): Change last parameter to be flag. Test
24392 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24393 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24394 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24395 * posix/spawni.c: Likewise.
24396 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24397 * posix/spawnp.c: Likewise. Change normal version to use
24398 SPAWN_XFLAGS_USE_PATH.
24399 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24400 SPAWN_XFLAGS_TRY_SHELL.
24401
d48e5868
UD
24402 [BZ #13150]
24403 * posix/glob.h: Remove gcc 1.x support.
24404
554881ef
UD
24405 [BZ #13068]
24406 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24407
693fb948
LD
244082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24409
24410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24411 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24412 strrchr-sse2-bsf
24413 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24414 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24415 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24416 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24417 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24419
1b48c537
UD
244202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24421
49d42c37
UD
24422 * sysdeps/x86_64/wcscmp.S: New file.
24423
1b48c537
UD
24424 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24425 wcscmp-c wcscmp-sse2
24426 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24427 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24428 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24429 * wcsmbs/wcscmp.c: Allow renaming.
24430
15c95c5d
DM
244312011-09-05 David S. Miller <davem@davemloft.net>
24432
24433 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24434 stack slot, rather than the struct return pointer slot.
24435 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24436 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24438 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24439
2f0ad8f3
UD
244402011-09-05 Ulrich Drepper <drepper@gmail.com>
24441
d88ae418
UD
24442 * po/ja.po: Update from translation team.
24443
2f0ad8f3
UD
24444 [BZ #13144]
24445 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24446 kernel in 64-bit binaries.
24447
5f4318d1
DM
244482011-09-01 David S. Miller <davem@davemloft.net>
24449
24450 * elf/elf.h (HWCAP_SPARC_*): Move to..
24451 * sysdeps/sparc/sysdep.h: this new file and add new values.
24452 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24453 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24454 _DL_HWCAP_COUNT to 24.
24455 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24456 entries.
24457 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24458 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24459 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24461 instead of magic constants.
24462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24463
3ba57516
DM
244642011-08-31 David S. Miller <davem@davemloft.net>
24465
24466 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24468 Reimplement to do errno handling inline.
24469 (SYSCALL_ERROR_HANDLER): New macro.
24470 (__SYSCALL_STRING): Do not do errno handling in asm.
24471 (__CLONE_SYSCALL_STRING): Delete.
24472 (__INTERNAL_SYSCALL_STRING): Delete.
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24474 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24475 (PSEUDO): Reimplement to do errno handling inline.
24476 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24477 (SYSCALL_ERROR_HANDLER): New macro.
24478 (__SYSCALL_STRING): Do not do errno handling in asm.
24479 (__CLONE_SYSCALL_STRING): Delete.
24480 (__INTERNAL_SYSCALL_STRING): Delete.
24481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24482 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24483 i386.
24484 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24485 (inline_syscall*): Add 'err' argument.
24486 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24487 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24488 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24489 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24490
24491 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24492 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24493
2bc17433
AS
244942011-08-30 Andreas Schwab <schwab@redhat.com>
24495
24496 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24497
fbeb5f4d
JO
244982011-08-29 Jiri Olsa <jolsa@redhat.com>
24499
24500 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24501 directive.
24502
ad69cc26
DM
245032011-08-24 David S. Miller <davem@davemloft.net>
24504
24505 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24506
39dd69df
AS
245072011-08-24 Andreas Schwab <schwab@redhat.com>
24508
24509 * elf/Makefile: Add rules to build and run unload8 test.
24510 * elf/unload8.c: New file.
24511 * elf/unload8mod1.c: New file.
24512 * elf/unload8mod1x.c: New file.
24513 * elf/unload8mod2.c: New file.
24514 * elf/unload8mod3.c: New file.
24515
24516 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24517 it wasn't used.
24518
2c0b250a
DM
245192011-08-23 David S. Miller <davem@davemloft.net>
24520
24521 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24522 subtract stack bias.
24523 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24524 %sp not %fp in calculations.
24525 (_JMPBUF_UNWINDS_ADJ): Likewise.
24526
22044b48
DM
24527 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24528 (aio_suspend): Call it to force an exception region around the
24529 AIO_MISC_WAIT() invocation.
24530
2cae4995
AS
245312011-08-23 Andreas Schwab <schwab@redhat.com>
24532
24533 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24534 backslash.
24535
873a772e
AJ
245362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24537
24538 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24539 protection macro.
24540 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24541 and <dl-machine.h>.
24542 (Elf64_FuncDesc): Remove.
24543
25ad0df1
DM
245442011-08-22 David S. Miller <davem@davemloft.net>
24545
24546 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24547 sigaltstack check, add missing cfi directives.
24548 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24549 missing cfi directives, and sigaltstack handling.
24550
e888bcbe
AS
245512011-08-16 Andreas Schwab <schwab@redhat.com>
24552
24553 [BZ #11724]
24554 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24555 object is seen twice.
24556 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24557
24558 * elf/Makefile (distribute): Add tst-initorder2.c.
24559 (tests): Add tst-initorder2.
24560 (modules-names): Add tst-initorder2a tst-initorder2b
24561 tst-initorder2c tst-initorder2d. Add rules to build them.
24562 ($(objpfx)tst-initorder2.out): New rule.
24563 * elf/tst-initorder2.c: New file.
24564 * elf/tst-initorder2.exp: New file.
24565
87162f46
AS
245662011-08-22 Andreas Schwab <schwab@redhat.com>
24567
70538b7f
AS
24568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24569
f55ffe58
AS
24570 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24571 dependencies back to end of function.
24572
87162f46
AS
24573 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24574 $(elfobjdir)/ld.so.
24575
91b392a4
UD
245762011-08-21 Ulrich Drepper <drepper@gmail.com>
24577
24578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24579 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24581 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24582 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24583 of __vdso_gettimeofday.
24584 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24585 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24586 attribute_hidden.
24587 (_libc_vdso_platform_setup): Remove initialization of
24588 __vdso_gettimeofday and __vdso_time.
24589
5c43483f
UD
245902011-08-20 Ulrich Drepper <drepper@gmail.com>
24591
775a77e7
UD
24592 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24593 and fgetc_unlocked.
24594 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24595 getc_unlocked.
89f447ed 24596
49c74ba9
UD
24597 * elf/dl-open.c (add_to_global): Report additions to the global scope
24598 for LD_DEBUG=scopes.
24599 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24600 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24601
5c43483f
UD
24602 [BZ #13114]
24603 * stdio-common/Makefile (tests): Add bug24.
24604 * stdio-common/bug24.c: New file.
24605
a101b025
AJ
246062011-08-19 Andreas Jaeger <aj@suse.de>
24607
24608 [BZ #13114]
24609 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24610 non-existant file when using close-on-exec mode.
24611
c88f1766
UD
246122011-08-20 Ulrich Drepper <drepper@gmail.com>
24613
0276a718
UD
24614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24615 the very first instruction.
24616
c88f1766
UD
24617 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24618 the CFI state in the end.
24619 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24620 inclusion of dl-trampoline.h.
24621 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24622
51ccffa0
AS
246232011-08-19 Andreas Schwab <schwab@redhat.com>
24624
94d7165f
AS
24625 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24626 expectations for long double.
24627
51ccffa0
AS
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24629 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24630
fd708658 246312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24632
24633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24634 artificual limit depends upon the system page size.
24635
44f0a71e
UD
246362011-08-17 Ulrich Drepper <drepper@gmail.com>
24637
24638 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24639 * resolv/Makefile: Define CFLAGS-libresolv.
24640
8de79a24
AS
246412011-08-17 Andreas Schwab <schwab@redhat.com>
24642
24643 * nss/makedb.c (compute_tables): Make variables used in nested
24644 function static.
24645
27724598
UD
246462011-08-17 Ulrich Drepper <drepper@gmail.com>
24647
c5305d88
UD
24648 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24649 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24650 if buffer was too small.
24651
27724598
UD
24652 * elf/pldd.c (main): Attach to all threads in the process.
24653 Rewrite /proc handling to use *at functions.
24654
076fe015
UD
246552011-08-16 Ulrich Drepper <drepper@gmail.com>
24656
174baab3
UD
24657 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24658 specifies first scope to show.
24659 (dl_open_worker): Update callers. Move printing scope of new
24660 object to before the relocation.
44f0a71e 24661 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24662 * sysdeps/generic/ldsodefs.h: Update declaration.
24663
076fe015
UD
24664 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24665 string for the scope number.
24666
a60df2c3
UD
246672011-08-14 Ulrich Drepper <drepper@gmail.com>
24668
24669 * nscd/servicescache.c (cache_addserv): Make sure written is always
24670 initialized.
24671
5e4287d1
RM
246722011-08-14 Roland McGrath <roland@hack.frob.com>
24673
85ae0589
RM
24674 * sysdeps/i386/i486/bits/atomic.h
24675 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24676 statement expression, so as to suppress "set but not used" warning.
24677 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24678
69f63097
RM
24679 * string/strncat.c (STRNCAT): Use prototype definition.
24680
675456ef
RM
24681 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24682 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24683 -Iprograms here.
24684 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24685 (localedef-modules): Add localedef.
24686 (locale-modules): Add locale.
24687
5e4287d1
RM
24688 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24689 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24690 to avoid a warning.
24691
9c96ff23
DM
246922011-08-14 David S. Miller <davem@davemloft.net>
24693
24694 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24695 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24696
f9ddf089
UD
246972011-08-13 Ulrich Drepper <drepper@gmail.com>
24698
44f0a71e 24699 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24700 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24701 * elf/rtld.c (dl_main): Set l_name of vDSO.
24702 Call _dl_show_scope when DL_DEBUG_SCOPES.
24703 (process_dl_debug): Recognize scopes flag and also set it for all.
24704 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24705 Declare _dl_show_scope.
24706
1dc27704
UD
24707 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24708 (do_dlopen): Pass caller_dlopen to dl_open.
24709 (__libc_dlopen_mode): Initialize caller_dlopen.
24710
f9ddf089
UD
24711 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24712 of libc. Make tolower call locale-independent. Optimize a bit by
24713 using isdigit instead of isalnum.
24714 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24715
9ac533d3
UD
247162011-08-12 Ulrich Drepper <drepper@gmail.com>
24717
24718 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24719 was a dependency or dynamically loaded.
24720
89edf2e9
UD
247212011-08-11 Ulrich Drepper <drepper@gmail.com>
24722
8e999d29
UD
24723 * intl/l10nflist.c: Allow architecture-specific pop function.
24724 * sysdeps/x86_64/l10nflist.c: New file.
24725
89edf2e9
UD
24726 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24727 classification.
24728
14d96785
AS
247292011-08-10 Andreas Schwab <schwab@redhat.com>
24730
24731 * include/dirent.h: Add libc_hidden_proto for scandirat and
24732 scandirat64. Don't declare __scandirat64.
24733 * dirent/scandirat.c: Add libc_hidden_def.
24734 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24735 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24736
6761ac04
DM
247372011-08-10 David S. Miller <davem@davemloft.net>
24738
24739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24740 enum.
24741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24744
c55fbd1e
UD
247452011-08-09 Ulrich Drepper <drepper@gmail.com>
24746
24747 * Versions.def [libc]: Add GLIBC_2.15.
24748 * dirent/Makefile (routines): Add scandirat and scandirat64.
24749 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24750 GLIBC_2.15.
24751 * dirent/dirent.h: Declare scandirat and scandirat64.
24752 * dirent/scandirat.c: New file.
24753 * dirent/scandirat64.c: New file.
24754 * sysdeps/wordsize-64/scandirat.c: New file.
24755 * sysdeps/wordsize-64/scandirat64.c: New file.
24756 * dirent/opendir.c: Define opendirat.
24757 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24758 using scandirat.
24759 * dirent/scandir64.c: Adjust for scandir.c change.
24760 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24761 __scandirat64, and __scandir_cancel_handler.
24762 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24763 additional parameter and use openat instead of open (outside of ld.so).
24764 Add new __opendir as wrapper around __opendirat.
24765 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24766 here without requiring old scandirat implementation.
24767
879165f2
UD
247682011-08-08 Ulrich Drepper <drepper@gmail.com>
24769
24770 * dirent/scandir.c (cancel_handler): Renamed to
24771 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24772 defined. Adjust users.
24773 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24774 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24775
cb7e923b
UD
247762011-08-04 Ulrich Drepper <drepper@gmail.com>
24777
16292edd
UD
24778 * string/test-string.h (IMPL): Use __STRING to expand name and then
24779 stringify it.
24780
cb7e923b
UD
24781 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24782 of cleanups.
24783
cff82933
LD
247842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24785
24786 * string/Makefile: Update.
24787 (strop-tests): Append strncat.
24788 * string/test-wcscmp.c: New file.
24789 New comprehensive test for wcscmp.
24790 * string/test-strcmp.c: Update.
24791 (WIDE): New define.
24792
9be9bfcc
AS
247932011-07-22 Andreas Schwab <schwab@redhat.com>
24794
24795 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24796 line.
24797
2e96f1c7
AS
247982011-07-26 Andreas Schwab <schwab@redhat.com>
24799
24800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24801 encoding to ACE if AI_IDN.
24802
85188888
JJ
248032011-08-01 Jakub Jelinek <jakub@redhat.com>
24804
24805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24806 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24807
5fa16e9b
LD
248082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24809
24810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24811 Fix overflow bug in strncat.
24812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24813
24814 * string/test-strncat.c: Update.
24815 Add new tests for checking overflow bugs.
24816
248172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24818
24819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24820 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24821 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24822 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24823 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24824 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24825 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24826 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24827 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24828
24829 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24830 (USE_AS_STRCAT): Define.
24831 Add strcat and strncat support.
24832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24833
8c1a459f
AS
248342011-07-25 Andreas Schwab <schwab@redhat.com>
24835
24836 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24837 __n bigger than INT_MAX+1.
24838 (__strncmp_g): Likewise.
24839
bba33c28
UD
248402011-07-23 Ulrich Drepper <drepper@gmail.com>
24841
798be72d
UD
24842 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24843 * libio/stido.h: Likewise.
24844
8accd4dc
UD
24845 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24846 (AF_NFC): Define.
24847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24848 (AF_NFC): Define.
24849
cbff0d96
UD
24850 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24853 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24854 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24855
9191c04a
UD
24856 [BZ #13021]
24857 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24858 installed.
24859
bba33c28
UD
24860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24861 typo.
24862 (_dl_x86_64_save_sse): Likewise.
24863
90f139dd
UD
248642011-07-22 Ulrich Drepper <drepper@gmail.com>
24865
1aae088a
UD
24866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24867 OSXSAVE.
24868 (_dl_x86_64_save_sse): Likewise.
24869
8e2045f5
UD
24870 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24871
90f139dd
UD
24872 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24873
1d002f25
AS
248742011-07-21 Andreas Schwab <schwab@redhat.com>
24875
24876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24877 change.
24878 (_dl_x86_64_save_sse): Use correct AVX check.
24879
21137f89
UD
248802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24881
24882 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24883 bug in strncpy/strncat.
24884 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24885
a65c0b7a
UD
248862011-07-21 Ulrich Drepper <drepper@gmail.com>
24887
24888 * string/tester.c (test_strcat): Add tests for different alignments
24889 of source and destination.
24890 (test_strncat): Likewise.
24891
6986b98a
UD
248922011-07-20 Ulrich Drepper <drepper@gmail.com>
24893
90bb2039
UD
24894 [BZ #12852]
24895 * posix/glob.c (glob): Check passed in values before using them in
24896 expressions to avoid some overflows.
24897 (glob_in_dir): Likewise.
24898
5644ef54
UD
24899 [BZ #13007]
24900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24901 check for AVX enablement so that we don't crash with old kernels and
24902 new hardware.
24903 * elf/tst-audit4.c: Add same checks here.
24904 * elf/tst-audit6.c: Likewise.
24905
24906 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24907
bfc9dc9b
AS
249082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24909
24910 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24911
702e64bb
UD
249122011-07-20 Ulrich Drepper <drepper@gmail.com>
24913
24914 * po/cs.po: Update from translation team.
24915 * po/bg.po: Likewise.
24916
295e904f
MP
249172011-07-12 Marek Polacek <mpolacek@redhat.com>
24918
24919 * misc/sys/cdefs.h: Add support for const attribute.
24920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24921 to gnu_dev_{major,minor,makedev} functions.
24922
3ff94596
MP
249232011-07-20 Marek Polacek <mpolacek@redhat.com>
24924
24925 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24926
28b59fca
AS
249272011-07-20 Andreas Schwab <schwab@redhat.com>
24928
24929 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24930 strlen results.
24931
19df733e
AK
249322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24933
24934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24935 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24936 register in order to avoid conflicts with the soft frame pointer
24937 being held in r11 when necessary.
24938 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24939 (INTERNAL_VSYSCALL_NCS): Likewise.
24940
c8835729
MP
249412011-07-14 Marek Polacek <mpolacek@redhat.com>
24942
24943 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24944 * elf/dl-fini.c (_dl_fini): Adjust caller.
24945 * elf/dl-close.c (_dl_close_worker): Likewise.
24946 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24947
b902330c
MP
249482011-07-15 Marek Polacek <mpolacek@redhat.com>
24949
8991e135
MP
24950 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24951 "aux_cache->nlibs < 0".
24952
b902330c
MP
24953 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24954 in the reload-count case.
24955
99710781
LD
249562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24957
24958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24959 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24960 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24961 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24962 * sysdeps/x86_64/multiarch/strcat.S: New file.
24963 * sysdeps/x86_64/multiarch/strncat.S: New file.
24964 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24965 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24966 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24967 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24969 (USE_AS_STRCAT): Define.
24970 Add strcat and strncat support.
24971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24972 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24973 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24974 * string/strncat.c: Update.
24975 (USE_AS_STRNCAT): Define.
24976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24977 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24978 and i7.
24979 * sysdeps/x86_64/multiarch/init-arch.h
24980 (bit_Prefer_PMINUB_for_stringop): New.
24981 (index_Prefer_PMINUB_for_stringop): Likewise.
24982 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24983 bit_Prefer_PMINUB_for_stringop.
24984
7dc6bd90
UD
249852011-07-19 Ulrich Drepper <drepper@gmail.com>
24986
24987 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24988 buffer64.
24989 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24990 of casting of buffer.
24991 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24992 buffer32 and buffer64.
24993 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24994 writes instead of casting of buffer.
24995 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24996 buffer32.
24997 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24998 casting of buffer.
24999
e0e72284
AS
250002011-07-19 Andreas Schwab <schwab@redhat.com>
25001
25002 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25003
feb1eb0b
UD
250042011-07-19 Ulrich Drepper <drepper@gmail.com>
25005
25006 * nscd/nscd.c (termination_handler): Don't do anything for a database
25007 if it has not yet been initialized.
25008
298711ff
UD
250092011-07-18 Ulrich Drepper <drepper@gmail.com>
25010
25011 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25012
250132011-07-15 Marek Polacek <mpolacek@redhat.com>
25014
25015 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25016
f9d68389
UD
250172011-07-18 Ulrich Drepper <drepper@gmail.com>
25018
25019 * po/nl.po: Update from translation team.
25020 * po/sv.po: Likewise.
25021
db290cf5
RM
250222011-07-16 Roland McGrath <roland@hack.frob.com>
25023
25024 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25025 now disallowed by GCC.
5c550700 25026
fd5e21c7
RM
25027 * configure.in (use-default-link): Default to yes if a test -shared
25028 link meets our qualifications.
25029 * configure: Regenerated.
25030
5c550700
RM
25031 * config.make.in (output-format): New variable.
25032 * configure.in: Check for ld --print-output-format support.
25033 * configure: Regenerated.
25034 * Makerules ($(common-objpfx)format.lds)
25035 [$(output-format) != unknown]: Just use $(output-format),
25036 instead of the linker-script munging.
25037
9fa2c032
RM
250382011-07-14 Roland McGrath <roland@hack.frob.com>
25039
a6928d51
RM
25040 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25041 of $(common-objpfx)shlib.lds.
25042 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25043
661607b3
RM
25044 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25045 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25046
9fa2c032
RM
25047 * configure.in (-z relro check): Adjust test code to add a large
25048 writable data section after it.
25049 * configure: Regenerated.
25050
defe9061
RM
250512011-07-11 Roland McGrath <roland@hack.frob.com>
25052
25053 * configure.in (-z relro check): Fix test code to make the variable
25054 truly const.
25055 * configure: Regenerated.
25056
319b9ad4
UD
250572011-07-11 Ulrich Drepper <drepper@gmail.com>
25058
25059 * nscd/nscd.h (struct traced_file): Define.
25060 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25061 elements. Add traced_files.
25062 (inotify_fd): Declare.
25063 (register_traced_file): Declare.
25064 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25065 (inotify_fd): Export.
25066 (resolv_conf_descr): Remove.
25067 (nscd_init): Move inotify descriptor creation to main.
25068 Don't register files for notification here.
25069 (register_traced_file): New function.
25070 (invalidate_cache): Don't use reset_res to determine whether to call
25071 res_init, go through the list of registered files.
25072 (main_loop_poll): The inotify descriptors are now stored in the
25073 structures for the traced files.
25074 (main_loop_epoll): Likewise
25075 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25076 to __nss_disable_nscd.
25077 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25078 for a database anymore. Check the records for all the registered
25079 files instead.
25080 * nss/Makefile (libnss_files-routines): Add files-init.
25081 (libnss_db-routines): Add db-init.
25082 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25083 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25084 * nss/nss_db/db-init.c: New file.
25085 * nss/nss_files/files-init.c: New file.
25086 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25087 __nss_lookup_function.
25088 (__nss_lookup_function): Call nss_load_library.
25089 (nss_load_all_libraries): New function.
25090 (__nss_disable_nscd): Take parameter with callback function for files
25091 to register. Set is_nscd. Load all the DSOs for the NSS modules
25092 used for the cached services.
25093 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25094 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25095 options for features to all the files in nscd.
25096
25097 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25098
23bee3e8
RM
250992011-07-10 Roland McGrath <roland@hack.frob.com>
25100
25101 * csu/elf-init.c (__libc_csu_init): Comment typo.
25102
46a5b7f0
UD
251032011-07-09 Ulrich Drepper <drepper@gmail.com>
25104
25105 * po/pl.po: Update from translation team.
25106 * po/ja.po: Likewise.
25107 * po/ru.po: Likewise.
25108 * po/ko.po: Likewise.
25109 * po/fr.po: Likewise.
25110
d30cf5bb
RM
251112011-07-09 Roland McGrath <roland@hack.frob.com>
25112
113ddea4
RM
25113 * configure.in (.ctors/.dtors header and trailer check):
25114 Use an empirical test on a built program.
25115 * configure: Regenerated.
25116
574920b4
RM
25117 * configure.in (-z relro check): Use an empirical test on a built DSO.
25118 Detect, but do not require, on ia64.
25119 * configure: Regenerated.
25120
d30cf5bb
RM
25121 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25122 Update tests that use readelf to use $READELF instead.
25123 * configure: Regenerated.
25124
8538fdb3
UD
251252011-07-08 Ulrich Drepper <drepper@gmail.com>
25126
25127 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25128 if the result is not used.
25129
04d08991
AJ
251302011-07-05 Andreas Jaeger <aj@suse.de>
25131
25132 [BZ#9696]
25133 * stdlib/tst-strtod.c: Add testcase.
25134
de283087
AD
251352011-07-07 Ulrich Drepper <drepper@gmail.com>
25136
4e5f31c8 25137 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25138 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25139 The latter has a higher limit. Take additional parameter to pass to
25140 the new function.
25141 (__pathconf): Pass file to __statfs_link_max.
25142 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25143 __statfs_link_max.
25144 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25145 __statfs_link_max.
25146
de283087
AD
25147 [BZ #12868]
25148 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25150 Handle Lustre.
25151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25152 (__statfs_filesize_max): Likewise.
25153 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25154
c75fa153
AJ
251552011-07-05 Andreas Jaeger <aj@suse.de>
25156
25157 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25158
1a544854
UD
251592011-07-06 Marek Polacek <mpolacek@redhat.com>
25160
25161 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25162 `status' variable.
25163 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25164 Likewise.
25165
6f0eec67
UD
251662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25167
25168 * Makefile (strop-tests): Add strncat.
25169 * string/test-strncat.c: New file.
25170
aae30307
UD
251712011-06-30 Marek Polacek <mpolacek@redhat.com>
25172
25173 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25174
c0cfb5eb
UD
251752011-06-21 Andreas Jaeger <aj@suse.de>
25176
25177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25178 Copy rule from iconvdata/Makefile.
25179
01636b21
UD
251802011-07-06 Ulrich Drepper <drepper@gmail.com>
25181
25182 [BZ #12922]
25183 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25184 but no long options are defined, just return 'W'.
25185
9895c8bc
UD
251862011-06-22 Marek Polacek <mpolacek@redhat.com>
25187
25188 [BZ #9696]
25189 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25190
5d4cf042
UD
251912011-07-06 Ulrich Drepper <drepper@gmail.com>
25192
25193 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25194 netgroups to read.
960e5535 25195 (innetgr): Likewise.
5d4cf042 25196
751eb97e
RM
251972011-07-05 Roland McGrath <roland@hack.frob.com>
25198
25199 * config.make.in (install_root): Default to $(DESTDIR).
25200
f15f1e45
UD
252012011-07-05 Ulrich Drepper <drepper@gmail.com>
25202
25203 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25204
4e34ac6a
RM
252052011-07-02 Roland McGrath <roland@hack.frob.com>
25206
5e9b6af4
RM
25207 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25208
84f9ea0f
RM
25209 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25210 containing directory rather than embedding absolute directory names.
25211
ea5ee9f7
RM
25212 * scripts/check-local-headers.sh: Rewritten using awk.
25213 Match by word, not by line. Print error messages for matches.
25214 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25215
1b74661a
RM
25216 * Makerules [shlib-lds-flags empty]:
25217 ($(common-objpfx)libc_pic.opts): New target.
25218 ($(common-objpfx)libc_pic.os.clean): New target.
25219 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25220
25221 * config.make.in (OBJCOPY): New variable.
25222 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25223 * configure: Regenerated.
25224
f781ef40
RM
25225 * config.make.in (use-default-link): New variable.
25226 * configure.in (use_default_link): Grok --with-default-link to set it.
25227 * configure: Regenerated.
25228 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25229 (shlib-lds, shlib-lds-flags): Define to empty.
25230
2d4fa81e
RM
25231 * Makerules (shlib-lds): New variable.
25232 (shlib-lds-flags): New variable.
25233 (build-shlib, build-moduile, build-module-asneeded): Use it.
25234 ($(common-objpfx)libc.so): Use $(shlib-lds).
25235 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25236 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25237
31fffa6b
RM
25238 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25239 DT_FLAGS/DT_FLAGS_1 with zero flags.
25240
4e34ac6a
RM
25241 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25242 linker script munging.
25243
fcfc776b
UD
252442011-07-02 Ulrich Drepper <drepper@gmail.com>
25245
25246 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25247 as 128-bit value.
25248 * crypt/sha512.c (sha512_process_block): Perform total addition using
25249 128-bit if possible.
25250 (__sha512_finish_ctx): Likewise.
25251 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25252 as 64-bit value.
25253 * crypt/sha256.c (SWAP64): Define.
25254 (sha256_process_block): Perform total addition using 64-bit if
25255 possible.
25256 (__sha256_finish_ctx): Likewise.
25257
99231d9a
UD
252582011-07-01 Ulrich Drepper <drepper@gmail.com>
25259
25260 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25262 * nscd/hstcache.c (cache_addhst): Likewise.
25263 * nscd/grpcache.c (cache_addgr): Likewise.
25264 * nscd/aicache.c (addhstaiX): Likewise
25265 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25266
445b4a53
TK
252672011-07-01 Thorsten Kukuk <kukuk@suse.de>
25268
25269 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25271 * nscd/hstcache.c (cache_addhst): Likewise.
25272 * nscd/grpcache.c (cache_addgr): Likewise.
25273 * nscd/aicache.c (addhstaiX): Likewise
25274
6d4d8e8e
AS
252752011-07-01 Andreas Schwab <schwab@redhat.com>
25276
25277 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25278 domain only when needed.
25279
89f654c5
AS
252802011-06-30 Andreas Schwab <schwab@redhat.com>
25281
25282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25283 is always restored.
25284
cf3b23ff
UD
252852011-06-29 Ulrich Drepper <drepper@gmail.com>
25286
25287 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25288 are re-adding the entry.
25289 * nscd/servicescache.c (cache_addserv): Likewise.
25290
751626f9
AJ
252912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25292
25293 * sysdeps/generic/dl-irel.h: fix protection against multiple
25294 inclusions.
25295 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25296
9113ea1f
UD
252972011-06-28 Ulrich Drepper <drepper@gmail.com>
25298
5c0b8d90
UD
25299 [BZ #12935]
25300 * malloc/memusage.sh: Fix quoting in message.
25301 * debug/xtrace.sh: Likewise.
25302
9113ea1f
UD
25303 * configure.in: Remove support for --experimental-malloc option, make
25304 it the default.
25305 * config.make.in: Likewise.
25306 * malloc/Makefile: Likewise.
25307
a4172181
AS
253082011-06-27 Andreas Schwab <schwab@redhat.com>
25309
25310 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25311 two-byte characters.
25312
78a7eee7
RM
253132011-06-27 Roland McGrath <roland@hack.frob.com>
25314
62bede13
RM
25315 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25316 AC_CACHE_CHECK invocation.
25317 * configure: Regenerated.
25318
78a7eee7
RM
25319 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25320
5ce33a62
UD
253212011-06-27 Ulrich Drepper <drepper@gmail.com>
25322
034807a9
UD
25323 [BZ #12350]
25324 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25325 bit from old_res_options.
25326
4902da17
UD
25327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25328
5ce33a62
UD
25329 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25330 value type for setfct.
25331
c2344f56
L
253322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25333
25334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25335 __gettimeofday instead of gettimeofday.
25336
68468076
UD
253372011-06-26 Ulrich Drepper <drepper@gmail.com>
25338
25339 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25340
acb0d739
L
253412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25342
25343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25344
25345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25346 info.
25347
8912479f
L
253482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25349
25350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25351 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25352 strcpy-sse2-unaligned strncpy-sse2-unaligned
25353 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25354 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25355 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25356 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25357 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25358 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25360 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25361 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25362 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25363 (STRCPY): Support SSE2 and SSSE3 versions.
25364
d5495a11
UD
253652011-06-24 Ulrich Drepper <drepper@gmail.com>
25366
25367 [BZ #12874]
25368 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25369 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25370 kernels which artificially limit size of requests.
25371
0b1cbaae
L
253722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25373
25374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25375 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25376 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25377 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25378 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25379 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25380 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25381 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25384 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25385 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25386 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25387 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25388 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25390 Enable unaligned load optimization for Intel Core i3, i5 and i7
25391 processors.
25392 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25393 Define.
25394 (index_Fast_Unaligned_Load): Define.
25395 (HAS_FAST_UNALIGNED_LOAD): Define.
25396
07f494a0
MP
253972011-06-23 Marek Polacek <mpolacek@redhat.com>
25398
25399 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25400
fa3fc0fe
UD
254012011-06-22 Ulrich Drepper <drepper@gmail.com>
25402
25403 [BZ #12907]
25404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25405 until it is clear that the information is realy needed.
25406 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25407
e12df166
AS
254082011-06-22 Andreas Schwab <schwab@redhat.com>
25409
25410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25411
852eb34d
UD
254122011-06-22 Ulrich Drepper <drepper@gmail.com>
25413
84e2a551
UD
25414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25415 /sys/devices/system/cpu/online if it is usable.
25416
852eb34d
UD
25417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25418 reading the information from the /proc filesystem to once a second.
25419
6e502e19
UD
254202011-06-21 Andreas Jaeger <aj@suse.de>
25421
25422 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25423 NULL after inclusion of kernel headers.
25424
75d39ff2
UD
254252011-06-21 Ulrich Drepper <drepper@gmail.com>
25426
51f9aa6a
UD
25427 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25428 calls to internal_setent.
25429
c0244a9d
UD
25430 [BZ #12885]
25431 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25432 addresses using gethostbyname4_r ignore IPv4 addresses.
25433
c5e3c2ae
UD
25434 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25435 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25436
75d39ff2
UD
25437 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25438
42675c6f
DM
254392011-06-20 David S. Miller <davem@davemloft.net>
25440
25441 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25442 inclusions.
25443 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25444
25445 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25446 (elf_irel): Use it.
25447 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25448 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25449 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25450 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25451 * sysdeps/x86_64/dl-irel.h: Likewise.
25452
25453 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25454 * elf/dl-sym.c: Likewise.
25455
57912a71
UD
254562011-06-15 Ulrich Drepper <drepper@gmail.com>
25457
25458 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25459 need to dereference resplen2.
25460
ee22793d
AS
254612011-06-14 Andreas Schwab <schwab@redhat.com>
25462
25463 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25464
a9e836b0
UD
254652011-06-15 Ulrich Drepper <drepper@gmail.com>
25466
77fb9117
UD
25467 * Makeconfig: Define vardbdir and inst_vardbdir.
25468 * nss/Makefile: Add rules to install db-Makefile.
25469
40c1b22c
UD
25470 * nss/nss_db/db-XXX.c: Cleanup.
25471
9f2da732
UD
25472 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25473 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25474 GLIBC_PRIVATE.
25475 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25476 * nss/makedb.c: Implement -g option to specify that value strings
25477 are generated and should not be added to table iterated over for
25478 get*ent calls.
25479 * nss/nss_db/db-initgroups.c: New file.
25480
82e9a1f7
UD
25481 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25482 interface.
25483
c41af17e
UD
25484 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25485 (internal_getgrouplist): Adjust to name change.
25486 Update use_initgroups_entry if this is not the first call.
25487 * nss/databases.def: Add initgroups entry.
25488
a9e836b0
UD
25489 * nss/makedb.c (compute_tables): Check result of multiple hash table
25490 sizes to minimize maximum chain length.
25491
2666d441
UD
254922011-06-14 Ulrich Drepper <drepper@gmail.com>
25493
25494 * Versions.def: Add entry for libnss_db.
25495 * shlib-versions: Likewise.
25496 * nss/Makefile: Add rules to build libnss_db.
25497 * nss/Versions: Add libnss_db information. Organize libnss_files
25498 entries better.
25499 * nss/db-Makefile: Add gshadow support. Change rules for the new
25500 makedb progra. Some minor improvements to generate smaller files.
25501 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25502 here from...
25503 * nss/makedb.c: ...here.
25504 Improve database format to be smaller and require less memory at
25505 runtime.
25506 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25507 db anymore.
25508 * nss/nss_db/db-netgrp.c: Likewise.
25509 * nss/nss_db/db-open.c: Likewise.
25510 * nss/nss_files/flies-XXX.x: Adjust comments.
25511 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25512 * nss/nss_files/files-grp.c: Likewise.
25513 * nss/nss_files/files-hosts.c: Likewise.
25514 * nss/nss_files/files-network.c: Likewise.
25515 * nss/nss_files/files-proto.c: Likewise.
25516 * nss/nss_files/files-pwd.c: Likewise.
25517 * nss/nss_files/files-rpc.c: Likewise.
25518 * nss/nss_files/files-service.c: Likewise.
25519 * nss/nss_files/files-sgrp.c: Likewise.
25520 * nss/nss_files/files-spwd.c: Likewise.
25521 * nss/nss_db/db-alias.c: Removed.
25522 * nss/nss_db/dummy-db.h: Removed.
25523
9ee76b5a
UD
255242011-06-02 Ulrich Drepper <drepper@gmail.com>
25525
25526 * nss/makedb.c: Rewritten to not use database library.
25527 * nss/Makefile: Update to build new makedb program.
25528
c71ca1f8
AJ
255292011-06-14 Andreas Jaeger <aj@suse.de>
25530
25531 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25532 memset declaration.
25533
3154bfb8
UD
255342011-06-10 Andreas Schwab <schwab@redhat.com>
25535
25536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25537 tmpbuf.
25538
b350afab
RM
255392011-06-10 Roland McGrath <roland@hack.frob.com>
25540
decd4e50
RM
25541 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25542 * elf/Makefile ($(objpfx)ld.so): Likewise.
25543
5615eaf2
RM
25544 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25545 Don't list ld.so twice in dependencies.
25546
25547 * posix/bug-regex31.c: Include <stdlib.h>.
25548
25549 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25550
25551 * nis/nss_compat/compat-spwd.c
25552 (getspent_next_nss_netgr): Remove unused variable.
25553 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25554
25555 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25556 nonmembers" output to use the right array.
25557
25558 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25559
25560 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25561
25562 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25563 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25564 * catgets/gencat.c (read_input_file): Likewise.
25565 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25566
25567 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25568 variable definition inside #if's controlling its use.
25569
25570 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25571
25572 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25573
25574 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25575
25576 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25577 unreachable code.
25578
25579 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25580
b68e08db
RM
25581 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25582 * configure: Regenerated.
25583
b350afab
RM
25584 * Makerules: Revert last change.
25585 * elf/Makefile: Likewise.
25586
28368601
RM
255872011-06-09 Roland McGrath <roland@hack.frob.com>
25588
25589 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25590 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25591 (reloc-link): Likewise.
25592
11988f8f
UD
255932011-06-09 Ulrich Drepper <drepper@gmail.com>
25594
25595 * elf/Makefile: Add rules to build pldd.
25596 * elf/pldd.c: New file.
25597 * elf/pldd-xx.c: New file.
25598
e80fab37
UD
255992011-06-07 Ulrich Drepper <drepper@gmail.com>
25600
25601 * version.h: Update for 2.15 development version.
25602
9b849836
DM
256032011-06-07 David S. Miller <davem@davemloft.net>
25604
25605 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25606 ifuncs.
25607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25608 elf_machine_lazy_rel): Likewise.
25609 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25611 elf_machine_lazy_rel): Likewise.
25612 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25613 dl_hwcap via passed in argument.
25614 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25615 Likewise.
25616
5a31b283
AK
256172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25618
25619 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25620
069e52f8
RM
256212011-06-06 Roland McGrath <roland@hack.frob.com>
25622
25623 [BZ #12849]
25624 * manual/fdl-1.1.texi: New file, verbatim from:
25625 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25626 * manual/lgpl-2.1.texi: New file, verbatim from:
25627 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25628 * manual/Makefile (licenses): New variable, list those new file names.
25629 (texis): Use it.
25630 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25631
25632 * manual/fdl.texi: File removed.
25633 * manual/lesser.texi: File removed.
25634 * manual/libc.texinfo (Copying, Documentation License):
25635 Use new @include file names, put @appendix directive before @include.
25636
f16846a5
JJ
256372011-06-04 Jakub Jelinek <jakub@redhat.com>
25638
25639 [BZ #12841]
25640 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25641 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25642 (mq_open): Add __NTH.
25643
3d29045b
L
256442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25645
25646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25647 Assume Intel Core i3/i5/i7 processor if AVX is available.
25648
8c297311
UD
256492011-05-31 Ulrich Drepper <drepper@gmail.com>
25650
25651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25652 typo.
25653
c8fc0c91
UD
256542011-05-31 Andreas Schwab <schwab@redhat.com>
25655
25656 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25657 memory. Use alloca_account. Fix memory leak when retrying.
25658
5b27a807
UD
256592011-05-31 Ulrich Drepper <drepper@gmail.com>
25660
356f8bc6
UD
25661 * version.h (RELEASE): Bump for 2.14 release.
25662 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25663
5b27a807
UD
25664 * config.make.in (RANLIB): Remove entry.
25665
01f16ab0
UD
256662011-05-30 Ulrich Drepper <drepper@gmail.com>
25667
41fce8bd
UD
25668 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25669 (libc.pot): Work around missing support for .ksh extension in xgettext.
25670
4769ae77
UD
25671 [BZ #12684]
25672 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25673 if both request failed.
25674 (send_dg): In case of server errors clear resplen or *resplen2.
25675
6b1e7d19
UD
25676 [BZ #12454]
25677 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25678 when there are multiple maps.
25679 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25680 (_dl_fini): Remove test here.
25681
01f16ab0
UD
25682 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25683
b1ebd700
UD
256842011-05-29 Ulrich Drepper <drepper@gmail.com>
25685
7ae22829
UD
25686 [BZ #12350]
25687 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25688 bit from old_res_options.
25689 (gaih_inet): Likewise.
25690
553149f6 25691 [BZ #11099]
18a84741 25692 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25693 as signed.
25694
652ffab1
UD
25695 * resolv/res_init.c (res_setoptions): Make the code more compact.
25696
16985fd0
UD
25697 [BZ #11558]
25698 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25699 set RES_USEVC.
25700
0464f746
UD
25701 [BZ #11634]
25702 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25703
7d17596c
UD
25704 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25705
cf6bbbd7
UD
25706 [BZ #11781]
25707 * malloc/malloc.h: Declare malloc hook variables as volatile.
25708
13f1ab36
UD
25709 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25710 in last patch.
25711
b1ebd700
UD
25712 [BZ #11799]
25713 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25714 raise in the comment.
80e2212d
UD
25715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25717 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25718
ce67228d
UD
257192011-05-28 Ulrich Drepper <drepper@gmail.com>
25720
8887a920
UD
25721 [BZ #12811]
25722 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25723 grow the buffers more if it already has to be sufficient.
25724 (build_wcs_upper_buffer): Likewise.
25725 * posix/regexec.c (check_matching): Likewise.
25726 (clean_state_log_if_needed): Likewise.
25727 (extend_buffers): Don't enlarge buffers beyond size of the input
25728 buffer.
25729 Patches mostly by Emil Wojak <emil@wojak.eu>.
25730 * posix/bug-regex32.c: New file.
25731 * posix/Makefile (tests): Add bug-regex32.
25732
4f031072
UD
25733 * locale/findlocale.c (_nl_find_locale): Return right away if
25734 _nl_explode_name failed.
25735 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25736
d0478f0c
UD
25737 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25738
de81b246
UD
25739 * debug/xtrace.sh: Unify messages.
25740 * malloc/memusage.sh: Likewise.
25741
c738465a
UD
25742 [BZ #12813]
25743 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25744 time symbol from vDSO. Substitute with vsyscall if not available.
25745 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25746 __vdso_time.
25747
f1f929d7
UD
25748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25749 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25750 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25751 Add sendmmsg and internal_sendmmsg.
25752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25753 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25755
ce67228d
UD
25756 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25757 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25759
e57420c6
UD
257602011-05-27 Ulrich Drepper <drepper@gmail.com>
25761
a8509ca5
UD
25762 [BZ #12813]
25763 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25764 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25765 available.
25766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25767 __vdso_getcpu.
25768
e57420c6
UD
25769 [BZ #12814]
25770 * iconvdata/Makefile (tests): Add bug-iconv9.
25771 * iconvdata/bug-iconv9.c: New file.
25772
4d07db15
AS
257732011-05-27 Andreas Schwab <schwab@redhat.com>
25774
25775 [BZ #12814]
25776 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25777
ea486f69
JJ
257782011-05-25 Jakub Jelinek <jakub@redhat.com>
25779
25780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25781 (struct user_regs_struct): Change intcs field back to cs.
25782
6f038433
UD
257832011-05-25 Ulrich Drepper <drepper@gmail.com>
25784
25785 * po/ja.po: Update from translation team.
25786
67f86a25
UD
257872011-05-23 Ulrich Drepper <drepper@gmail.com>
25788
25789 [BZ #12795]
25790 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25791 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25792
def7fbd6
AS
257932011-05-20 Andreas Schwab <schwab@redhat.com>
25794
25795 * stdlib/longlong.h: Update from GCC.
25796
f50ef8f1
AS
257972011-05-23 Andreas Schwab <schwab@redhat.com>
25798
25799 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25800 parameter name.
25801 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25802 Add parameter name.
25803 (__sysconf): Pass it down.
25804
de7ce8f1
UD
258052011-05-22 Ulrich Drepper <drepper@gmail.com>
25806
f2962a71
UD
25807 [BZ #12671]
25808 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25809 some situations.
25810 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25811 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25812 add in in __libc_use_alloca calls. Adjust callers.
25813 (glob): Use malloc in some situations.
25814
de7ce8f1
UD
25815 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25816 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25817 pltexit.
25818
aec84f53
UD
258192011-05-21 Ulrich Drepper <drepper@gmail.com>
25820
05bb4a68
UD
25821 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25822 and CLOCK_BOOTTIME_ALARM.
25823
7ea72f99
UD
25824 [BZ #12782]
25825 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25826 is returned.
25827
7e4afad5
UD
25828 * string/_strerror.c (__strerror_r): Print negative errors as signed
25829 numbers.
25830
8e211fec
UD
25831 [BZ #12777]
25832 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25833 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25834 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25835
f7d82dc9
UD
25836 * configure.in: Fix typo in redirection and correct removal of test
25837 files in two cases.
25838
cc9e536d
UD
25839 [BZ #12788]
25840 * locale/setlocale.c (new_composite_name): Fix test to check for
25841 identical name of all categories.
25842
aec84f53
UD
25843 [BZ #12792]
25844 * libio/filedoalloc.c (local_isatty): New function.
25845 (_IO_file_doallocate): Use local_isatty.
25846 * stdio-common/perror.c (perror): In case a new stream is used
25847 forward the stream error.
25848 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25849 error flag.
25850
78e64fdc
RT
258512011-05-20 Ulrich Drepper <drepper@gmail.com>
25852
34a9094f
UD
25853 [BZ #11869]
25854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25855 alloca.
25856 * include/alloca.h (extend_alloca_account): Define.
25857
78e64fdc
RT
25858 [BZ #11857]
25859 * posix/regex.h: Fix comments with documentation of user-accessible
25860 fields after compilation and describe correct free'ing of pattern
25861 after re_compile_pattern.
25862 Patch by Reuben Thomas <rrt@sc3d.org>.
25863
457bddfc
RA
258642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25865
25866 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25867 and -mno-altivec to prevent the compiler from using Altivec and/or
25868 VSX instructions when the corresponding registers are not available.
25869
a4527b51
AS
258702011-05-19 Andreas Schwab <schwab@redhat.com>
25871
25872 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25873
ed690b2f
UD
258742011-05-19 Ulrich Drepper <drepper@gmail.com>
25875
25876 * libio/freopen.c (freopen): Use __dup2, not dup2.
25877 * libio/freopen64.c (freopen64): Likewise.
25878
8db73634
L
258792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 [BZ #12775]
25882 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25883 * math/Makefile (tests): Add test-powl.
25884 (CFLAGS-test-powl.c): Define.
25885 * math/test-powl.c: New file.
25886
0a197a9d
L
258872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25888
25889 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25890
ee30c380
UD
258912011-05-17 Ulrich Drepper <drepper@gmail.com>
25892
25893 [BZ #11837]
25894 * iconvdata/gb18030.c: Update to GB18020-2005.
25895
6ce75379
UD
258962011-05-16 Ulrich Drepper <drepper@gmail.com>
25897
a4b89fd8
AR
25898 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25899 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25900 Patch by Aharon Robbins <arnold@skeeve.com>.
25901
ea389b12
UD
25902 [BZ #11892]
25903 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25904 on the stack.
25905
68a3f91f
UD
25906 [BZ #11895]
25907 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25908 through underflows.
25909
15cc7dd1
UD
25910 [BZ #12766]
25911 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25912 point to strings before performing equality test for error_one_per_line
25913 mode.
25914
f3799213
UD
25915 [BZ #11697]
25916 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25917
d79a9c94
UD
25918 [BZ #11820]
25919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25920 (struct user_fpregs_struct): Avoid __uint*_t types.
25921
56e5eb46
UD
25922 [BZ #6420]
25923 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25924 symbol info. Use it instead of calling _dl_addr locally.
25925 (lock_and_info): New function.
25926 (tr_freehook): Call lock_and_info and pass symbol info as additional
25927 parameter to tr_where.
25928 (tr_mallochook): Likewise.
25929 (tr_reallochook): Likewise.
25930 (tr_memalignhook): Likewise.
25931
6ce75379
UD
25932 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25933 used and couldn't be at all thread-safe.
25934
f8a3b5bf
UD
259352011-05-15 Ulrich Drepper <drepper@gmail.com>
25936
94b7cc37
UD
25937 * libio/freopen.c (freopen): Don't close old file descriptor
25938 before the new one is opened. Instead dup the new file descriptor
25939 to the old one after the new stream is created.
25940 * libio/freopen64.c (freopen64): Likewise.
25941 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25942 * libio/fileops.c (_IO_new_file_close_it): Handle new
25943 _IO_FLAGS2_NOCLOSE flag.
25944 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25945 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25946 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25947 _IO_FLAGS2_NOCLOSE flag.
25948 * include/unistd.h: Add hidden_proto for dup3.
25949 Define __have_dup3.
25950 * io/dup3.c: Define hidden symbol.
25951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25952
bd25564e
UD
25953 [BZ #7101]
25954 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25955 when an incomplete long option is used.
25956 * posix/tst-getopt_long1.c: New file.
25957 * posix/Makefile (tests): Add tst-getopt_long1.
25958
c84cfef4
UD
25959 [BZ #10138]
25960 * scripts/config.guess: Update from autoconf-2.68.
25961 * scripts/config.sub: Likewise.
25962
3b85df27
UD
25963 [BZ #10157]
25964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25965 tests into ...
25966 (has_cpuclock): ...this. New function.
25967 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25968 macro here based on has_cpuclock code.
25969
15a856b1
UD
25970 [BZ #10149]
25971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25972 First byte (not low byte) is now always NUL.
25973 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25974
05f399e6
UD
25975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25976 Use non-cancelable interfaces.
25977
10a52685 25978 [BZ #9809]
94ecc67d
UD
25979 * locale/iso-639.def: Add entry for Sorani.
25980
f8a3b5bf
UD
25981 [BZ #11901]
25982 * include/stdlib.h: Move include protection to the right place.
25983 Define abort_msg_s. Declare __abort_msg with it.
25984 * stdlib/abort.c (__abort_msg): Adjust type.
25985 * assert/assert.c (__assert_fail_base): New function. Majority
25986 of code from __assert_fail. Allocate memory for __abort_msg with
25987 mmap.
25988 (__assert_fail): Now call __assert_fail_base.
25989 * assert/assert-perr.c: Remove bulk of implementation. Use
25990 __assert_fail_base.
25991 * include/assert.hL Declare __assert_fail_base.
25992 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25993 mmap.
25994 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25995
1af4e298
UD
259962011-05-14 Ulrich Drepper <drepper@gmail.com>
25997
f8a3b5bf 25998 [BZ #11952]
d26dfc60
MG
25999 [BZ #12453]
26000 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26001 until all modules are registered in the DTV.
26002 * elf/Makefile: Add rules to build and run tst-tls19.
26003 * elf/tst-tls19.c: New file.
26004 * elf/tst-tls19mod1.c: New file.
26005 * elf/tst-tls19mod2.c: New file.
26006 * elf/tst-tls19mod3.c: New file.
26007 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26008
2fc54d6f
UD
26009 [BZ #12083]
26010 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26011 correctly.
26012
98d76b46
UD
26013 [BZ #12601]
26014 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26015 two-byte sequence errors.
26016 * iconvdata/Makefile (tests): Add bug-iconv8.
26017 * iconvdata/bug-iconv8.c: New file.
26018
da3c19ef
UD
26019 [BZ #12626]
26020 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26021 buf2 definition.
26022
ca408c15
UD
26023 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26024
d6f67f7d
UD
26025 [BZ #12432]
26026 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26027 (dummy_getcfa): New function.
26028 (init): Get _Unwind_GetCFA address, use dummy if not found.
26029 (backtrace_helper): In recursion check, also check whether CFA changes.
26030 (__backtrace): Completely initialize arg.
26031
1af4e298 26032 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26033 storing incomplete byte sequence in state object. Avoid testing for
26034 guaranteed too small input if we know there is enough data available.
1af4e298 26035
da62f81b
AS
260362011-05-11 Andreas Schwab <schwab@redhat.com>
26037
26038 * Makeconfig (+link-pie): Indent.
26039 * Rules (binaries-pie): Define if $(have-fpie) and
26040 $(build-shared).
26041 (binaries-shared): Also filter out $(binaries-pie).
26042 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26043 * nscd/Makefile (others-pie): Add nscd.
26044 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26045 ($(objpfx)nscd): Remove command override.
26046 * login/Makefile (others-pie): Add pt_chown.
26047 ($(objpfx)pt_chown): Remove command override.
26048 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26049 remove command overrides.
26050
fcabc0f8
UD
260512011-05-13 Ulrich Drepper <drepper@gmail.com>
26052
20030ae6
UD
26053 * libio/tst_putwc.c: Fix error messages.
26054
fcabc0f8
UD
26055 [BZ #12724]
26056 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26057 currently writing and seek to current position when not.
26058 * libio/Makefile (tests): Add bug-fclose1.
26059 * libio/bug-fclose1.c: New file.
26060
320a5dc0
PB
260612011-05-12 Ulrich Drepper <drepper@gmail.com>
26062
26063 [BZ #12511]
26064 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26065 don't set DF_1_NODELETE here.
26066 (do_lookup_x): When entering new entry test for copy relocation
26067 and if necessary set DF_1_NODELETE flag.
26068 * elf/tst-unique4.cc: New file.
26069 * elf/tst-unique4.h: New file.
26070 * elf/tst-unique4lib.cc: New file.
26071 * elf/Makefile: Add rules to build and run tst-unique4.
26072 Patch by Piotr Bury <pbury@goahead.com>.
26073
22836f52
UD
260742011-05-11 Ulrich Drepper <drepper@gmail.com>
26075
f574184a
UD
26076 [BZ #12052]
26077 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26078
e1fb097f
UD
26079 [BZ #12625]
26080 * misc/mntent_r.c (addmntent): Flush the stream after the output
26081
22836f52
UD
26082 [BZ #12393]
26083 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26084 (is_trusted_path_normalize): Skip initial colon. Append slash
26085 to empty buffer. Duplicate is_trusted_path code but allow
26086 constructed patch to be prefix.
26087 (is_dst): Allow $ORIGIN followed by /.
26088 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26089 Correct testing of result of is_trusted_path_normalize
26090 (decompose_rpath): Fix warning.
26091
7b3b0b2a
UD
260922011-05-10 Ulrich Drepper <drepper@gmail.com>
26093
26094 [BZ #11257]
26095 * grp/initgroups.c (internal_getgrouplist): When we found the service
26096 list through the initgroups entry in nsswitch.conf do not always
26097 continue on a successful lookup. Don't always use the
eac80ce2 26098 __nss_group_database value if it is set.
7b3b0b2a
UD
26099 * nss/nsswitch.conf (initgroups): Change action for successful db
26100 lookup to continue for compatibility.
26101
2a81eaa5
UD
261022011-05-09 Ulrich Drepper <drepper@gmail.com>
26103
be97a69e
UD
26104 [BZ #11532]
26105 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26106 and CP774 modules.
26107 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26108 and CP774 modules.
26109 * iconvdata/tst-tables.sh: Likewise.
26110 * iconvdata/cp770.c: New file.
26111 * iconvdata/cp771.c: New file.
26112 * iconvdata/cp772.c: New file.
26113 * iconvdata/cp773.c: New file.
26114 * iconvdata/cp774.c: New file.
26115 * iconvdata/testdata/CP770: New file.
26116 * iconvdata/testdata/CP770..UTF8: New file.
26117 * iconvdata/testdata/CP771: New file.
26118 * iconvdata/testdata/CP771..UTF8: New file.
26119 * iconvdata/testdata/CP772: New file.
26120 * iconvdata/testdata/CP772..UTF8: New file.
26121 * iconvdata/testdata/CP773: New file.
26122 * iconvdata/testdata/CP773..UTF8: New file.
26123 * iconvdata/testdata/CP774: New file.
26124 * iconvdata/testdata/CP774..UTF8: New file.
26125
26126 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26127 END CHARMAP line.
26128 * iconvdata/gen-8bit-gap.sh: Likewise.
26129 * iconvdata/gen-8bit.sh: Likewise.
26130
c1e9e399
UD
26131 * locale/iso-639.def: Add ary entry.
26132
24c55fb3 26133 [BZ #11258]
96b4b1b0
UD
26134 * locale/C-translit.h.in: Add U20A1 transliteration.
26135
bdc2f971
KB
26136 [BZ #12178]
26137 * locale/iso-639.def: Add wae entry.
26138 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26139
2952b117
UD
26140 [BZ #12545]
26141 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26142 for n.
26143
2a81eaa5
UD
26144 [BZ #12711]
26145 * locale/C-translit.h.in: Add entry for U20B9.
26146 Patch by pravin.d.s@gmail.com.
26147
28377d1b
UD
261482011-05-08 Ulrich Drepper <drepper@gmail.com>
26149
7fb90fb8
UD
26150 [BZ #12713]
26151 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26152 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26153 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26154 in rtld. Use *stat64.
7fb90fb8 26155 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26156 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26157 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26158 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26159 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26160 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26161 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26162 __fstatat64 macros.
7fb90fb8
UD
26163 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26164 * dirent/rewinddir.c: Add libc_hidden_def.
26165 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26166 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26167
28377d1b
UD
26168 * include/dirent.h (__alloc_dir): Add flags parameter.
26169 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26170 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26171 __alloc_dir.
26172 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26173 from fdopendir if O_CLOEXEC is already set.
26174
66bdbaa4
AM
261752011-03-15 Alan Modra <amodra@gmail.com>
26176
26177 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26178 l_tls_firstbyte_offset non-zero. Save padding offset in
26179 l_tls_firstbyte_offset for later use.
26180 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26181 freeing static tls block.
26182
95721191
JN
261832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26184
26185 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26186 where #ifdef was intended. The intent is to prevent ARG_MAX from
26187 being defined by the kernel headers.
26188
f87dfb1f
UD
261892011-05-07 Ulrich Drepper <drepper@gmail.com>
26190
26191 [BZ #12734]
26192 * resolv/resolv.h: Define RES_NOTLDQUERY.
26193 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26194 no-tld-query and set RES_NOTLDQUERY.
26195 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26196 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26197 modern BIND to search name as TLD unless forbidden.
26198
47c3cd7a
UD
261992011-05-07 Petr Baudis <pasky@suse.cz>
26200 Ulrich Drepper <drepper@gmail.com>
26201
26202 [BZ #12393]
26203 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26204 (is_trusted_path): ...to here.
c1e9ea35 26205 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26206 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26207 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26208
8a35c912
PP
262092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26210
26211 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26212 __BEGIN/__END_DECLS.
26213
acd41f47
UD
262142011-05-06 Ulrich Drepper <drepper@gmail.com>
26215
26216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26217 NSS_STATUS_NOTFOUND if no record was found.
26218
597df647
AS
262192011-05-05 Andreas Schwab <schwab@redhat.com>
26220
26221 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26222 (headers-not-in-tirpc): Remove rpc/netdb.h
26223 * resolv/netdb.h: Revert last change.
26224
b9af1301
PP
262252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26226
26227 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26228 circular dependency between libgcc.a and libc.a.
26229
4e34d5f5
AS
262302011-05-05 Andreas Schwab <schwab@redhat.com>
26231
26232 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26233 * nis/Makefile: Don't install rpcsvc/*.
26234 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26235 instead of <rpc/types.h>.
26236 (MAXHOSTNAMELEN): Define.
26237
00ee369c
AS
262382011-05-03 Andreas Schwab <schwab@redhat.com>
26239
26240 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26241
0b592a30
MB
262422011-04-28 Maciej Babinski <mbabinski@google.com>
26243
26244 [BZ #12714]
26245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26246 gethostbyname4_r when IPv6 results are possible.
26247
6e04cbbe
UD
262482011-05-02 Ulrich Drepper <drepper@gmail.com>
26249
26250 [BZ #12723]
26251 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26252 _PC_PIPE_BUF handling.
26253
e4ecafe0
BH
262542011-04-30 Bruno Haible <bruno@clisp.org>
26255
26256 [BZ #12717]
26257 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26258 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26259 to 'int'.
26260 * inet/getnameinfo.c (getnameinfo): Likewise.
26261
125ee683
UD
262622011-04-29 Ulrich Drepper <drepper@gmail.com>
26263
26264 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26265 to groups setting in database lookup.
26266 * nss/nsswitch.conf: Add initgroups entry.
26267
b722481a
EB
262682011-04-22 Ulrich Drepper <drepper@gmail.com>
26269
26270 [BZ #12685]
26271 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26272 mode string.
26273 Patch by Eric Blake <eblake@redhat.com>.
26274
4df46dbd
L
262752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26276
26277 * sunrpc/Makefile (need-export-routines): Add svc_run.
26278 (routines): Remove svc_run.
26279 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26280 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26281 * sunrpc/svc_run.c (svc_run): Likewise.
26282 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26283
e84142d2
UD
262842011-04-21 Ulrich Drepper <drepper@gmail.com>
26285
26286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26287 problem in reallocation in last patch.
26288
877175d8
UD
262892011-04-20 Ulrich Drepper <drepper@gmail.com>
26290
26291 * sunrpc/Makefile: Move inclusion of Rules.
26292
ab8eed78
UD
262932011-04-19 Ulrich Drepper <drepper@gmail.com>
26294
26295 * nss/nss_files/files-initgroups.c: New file.
26296 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26297 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26298 _nss_files_initgroups_dyn.
26299
e3d8f584
RS
263002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26301
26302 * elf/elf.h (R_ARM_IRELATIVE): Define.
26303
af190f45
UD
263042011-04-19 Ulrich Drepper <drepper@gmail.com>
26305
26306 * po/ru.po: Update from translation team.
26307
53cf59ef
UD
263082011-04-17 Ulrich Drepper <drepper@gmail.com>
26309
26310 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26311 dependencies.
26312
4c559bcd
MF
263132011-02-06 Mike Frysinger <vapier@gentoo.org>
26314
26315 [BZ #12653]
26316 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26317 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26319 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26321
4420675c
AS
263222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26323
26324 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26325 differing bytes.
26326 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26329
75ea32ab
UD
263302011-04-17 Ulrich Drepper <drepper@gmail.com>
26331
26332 [BZ #12420]
26333 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26334 storing it.
26335 * stdlib/bug-getcontext.c: New file.
26336 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26337
27390476
AK
263382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26339
26340 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26341 instructions into .machine "z9-109".
26342 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26343 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26344
10442705
AK
263452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26346
26347 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26348 between environment variables and auxiliary vector.
26349
7b57bfe5
UD
263502011-04-16 Ulrich Drepper <drepper@gmail.com>
26351
26352 * Makefile: Add rules to build linkobj/libc.so.
26353 * include/libc-symbols.h: Define libc_hidden_nolink.
26354 * include/rpc/auth.h: Mark functions which are to be hidden.
26355 * include/rpc/auth_des.h: Likewise.
26356 * include/rpc/auth_unix.h: Likewise.
26357 * include/rpc/clnt.h: Likewise.
26358 * include/rpc/des_crypt.h: Likewise.
26359 * include/rpc/key_prot.h: Likewise.
26360 * include/rpc/pmap_clnt.h: Likewise.
26361 * include/rpc/pmap_prot.h: Likewise.
26362 * include/rpc/pmap_rmt.h: Likewise.
26363 * include/rpc/rpc_msg.h: Likewise.
26364 * include/rpc/svc.h: Likewise.
26365 * include/rpc/svc_auth.h: Likewise.
26366 * include/rpc/xdr.h: Likewise.
26367 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26368 * nss/Makefile: Likewise.
26369 * sunrpc/Makefile: Don't install headers. Build library with normal
26370 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26371 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26372 for the compat linking library. Remove use of INTDEF/INTUSE.
26373 * sunrpc/auth_none.c: Likewise.
26374 * sunrpc/auth_unix.c: Likewise.
26375 * sunrpc/authdes_prot.c: Likewise.
26376 * sunrpc/authuxprot.c: Likewise.
26377 * sunrpc/clnt_gen.c: Likewise.
26378 * sunrpc/clnt_perr.c: Likewise.
26379 * sunrpc/clnt_raw.c: Likewise.
26380 * sunrpc/clnt_simp.c: Likewise.
26381 * sunrpc/clnt_tcp.c: Likewise.
26382 * sunrpc/clnt_udp.c: Likewise.
26383 * sunrpc/clnt_unix.c: Likewise.
26384 * sunrpc/des_crypt.c: Likewise.
26385 * sunrpc/des_soft.c: Likewise.
26386 * sunrpc/get_myaddr.c: Likewise.
26387 * sunrpc/key_call.c: Likewise.
26388 * sunrpc/key_prot.c: Likewise.
26389 * sunrpc/netname.c: Likewise.
26390 * sunrpc/pm_getmaps.c: Likewise.
26391 * sunrpc/pm_getport.c: Likewise.
26392 * sunrpc/pmap_clnt.c: Likewise.
26393 * sunrpc/pmap_prot.c: Likewise.
26394 * sunrpc/pmap_prot2.c: Likewise.
26395 * sunrpc/pmap_rmt.c: Likewise.
26396 * sunrpc/publickey.c: Likewise.
26397 * sunrpc/rpc_cmsg.c: Likewise.
26398 * sunrpc/rpc_common.c: Likewise.
26399 * sunrpc/rpc_dtable.c: Likewise.
26400 * sunrpc/rpc_prot.c: Likewise.
26401 * sunrpc/rpc_thread.c: Likewise.
26402 * sunrpc/rtime.c: Likewise.
26403 * sunrpc/svc.c: Likewise.
26404 * sunrpc/svc_auth.c: Likewise.
26405 * sunrpc/svc_authux.c: Likewise.
26406 * sunrpc/svc_raw.c: Likewise.
26407 * sunrpc/svc_run.c: Likewise.
26408 * sunrpc/svc_simple.c: Likewise.
26409 * sunrpc/svc_tcp.c: Likewise.
26410 * sunrpc/svc_udp.c: Likewise.
26411 * sunrpc/svc_unix.c: Likewise.
26412 * sunrpc/svcauth_des.c: Likewise.
26413 * sunrpc/xcrypt.c: Likewise.
26414 * sunrpc/xdr.c: Likewise.
26415 * sunrpc/xdr_array.c: Likewise.
26416 * sunrpc/xdr_float.c: Likewise.
26417 * sunrpc/xdr_intXX_t.c: Likewise.
26418 * sunrpc/xdr_mem.c: Likewise.
26419 * sunrpc/xdr_rec.c: Likewise.
26420 * sunrpc/xdr_ref.c: Likewise.
26421 * sunrpc/xdr_sizeof.c: Likewise.
26422 * sunrpc/xdr_stdio.c: Likewise.
26423
e6c61494
UD
264242011-04-10 Ulrich Drepper <drepper@gmail.com>
26425
26426 [BZ #12650]
26427 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26428 * sysdeps/ia64/dl-tls.h: Likewise.
26429 * sysdeps/powerpc/dl-tls.h: Likewise.
26430 * sysdeps/s390/dl-tls.h: Likewise.
26431 * sysdeps/sh/dl-tls.h: Likewise.
26432 * sysdeps/sparc/dl-tls.h: Likewise.
26433 * sysdeps/x86_64/dl-tls.h: Likewise.
26434 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26435
34fe483e
AS
264362011-03-14 Andreas Schwab <schwab@redhat.com>
26437
26438 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26439 rpath element also skip the following colon.
26440 (expand_dynamic_string_token): Add is_path parameter and pass
26441 down to DL_DST_REQUIRED and _dl_dst_substitute.
26442 (decompose_rpath): Call expand_dynamic_string_token with
26443 non-zero is_path. Ignore empty rpaths.
26444 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26445 with zero is_path.
26446
f12a32e6
AS
264472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26448
26449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26450 Make cancelable.
26451
38a7d692
UD
264522011-04-09 Ulrich Drepper <drepper@gmail.com>
26453
26454 [BZ #12655]
26455 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26456 Patch by Filipe David Manana <fdmanana@apache.org>.
26457
e451d22b
AS
264582011-04-07 Andreas Schwab <schwab@redhat.com>
26459
26460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26461 Maintain aligned stack.
26462 (CHECK_RSP): Remove unused macro.
26463
dedc7c7b
UD
264642011-04-03 Ulrich Drepper <drepper@gmail.com>
26465
26466 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26467 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26468
94521213
UD
264692011-04-02 Ulrich Drepper <drepper@gmail.com>
26470
26471 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26472
8cb700c0 26473 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26474
0354e355
L
264752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 [BZ #12518]
26478 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26479 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26480 * sysdeps/x86_64/memmove.c: New file.
26481 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26482 (memcpy): Renamed to ...
26483 (__new_memcpy): This.
26484 (memcpy): Provide GLIBC_2_14 memcpy.
26485 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26486 (memcpy): Provide GLIBC_2_2_5 memcpy.
26487
8593482f
UD
264882011-04-01 Ulrich Drepper <drepper@gmail.com>
26489
26490 [BZ #12631]
26491 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26492
81a5726b
AS
264932011-03-30 Andreas Schwab <schwab@redhat.com>
26494
26495 * misc/syncfs.c: New file.
26496 * misc/Makefile (routines): Add syncfs.
26497 * posix/unistd.h: Declare syncfs.
26498 * sysdeps/unix/syscalls.list: Add syncfs.
26499
00e5419f
AS
265002011-04-01 Andreas Schwab <schwab@redhat.com>
26501
26502 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26503 open_by_handle_at.
26504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26505 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26509 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26511
748876bf
UD
265122011-04-01 Ulrich Drepper <drepper@gmail.com>
26513
658e451d
UD
26514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26516 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26518 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26521
748876bf
UD
26522 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26523 sync_file_range.c with -fexceptions.
26524 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26525 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26526 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26527 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26528 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26529 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26531 sync_file_range as cancellation point
26532 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26533 now a wrapper around __call_sync_file_range with cancellation handling.
26534 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26535 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26536 function name to __call_sync_file_range.
26537 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26538 Add call_sync_file_range.
748876bf 26539
6e63d5e1
AS
265402011-04-01 Andreas Schwab <schwab@redhat.com>
26541
26542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26543 bits/timex.h.
6e63d5e1 26544
46998f74
UD
265452011-04-01 Ulrich Drepper <drepper@gmail.com>
26546
4c1423ed
UD
26547 * iconv/iconv.h: Fix typo in comment.
26548 * io/fcntl.h: Likewise.
26549 * libio/stdio.h: Likewise.
26550 * posix/spawn.h: Likewise.
26551 * posix/unistd.h: Likewise.
26552 * stdlib/stdlib.h: Likewise.
26553 * time/time.h: Likewise.
26554 * wcsmbs/wchar.h: Likewise.
26555
158648c0
UD
26556 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26557 open_by_handle): Add.
26558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26559 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26560 Augment a few comments.
26561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26566 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26567 open_by_handle.
26568
46998f74
UD
26569 * io/fcntl.h (AT_EMPTY_PATH): Define.
26570
83fe108b
UD
265712011-03-30 Ulrich Drepper <drepper@gmail.com>
26572
26573 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26574 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26575 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26576 to...
26577 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26578 * Versions.def: Add GLIBC_2.14.
26579 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26580 Export.
83fe108b 26581
bb242059
UD
265822011-03-22 Ulrich Drepper <drepper@gmail.com>
26583
26584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26585 round counter.
26586 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26587
c97a1282
L
265882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26589
26590 [BZ #12597]
26591 * string/test-strncmp.c (do_page_test): New function.
26592 (check2): Likewise.
26593 (test_main): Call check2.
26594 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26595
2a115601
UD
265962011-03-20 Ulrich Drepper <drepper@gmail.com>
26597
26598 [BZ #12587]
26599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26600 Handle cache information in CPU leaf 4.
26601 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26602
8126d904
UD
266032011-03-18 Ulrich Drepper <drepper@gmail.com>
26604
042c49c6 26605 [BZ #12583]
8126d904
UD
26606 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26607 character representation.
26608 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26609
ccfe366e
RA
266102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26611
26612 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26613 END(__isnan) to END(__isnanf) to match function entry point/label
26614 EALIGN(__isnanf,...).
26615
c6e13027
JJ
266162011-03-10 Jakub Jelinek <jakub@redhat.com>
26617
26618 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26619
33f85a3f
UD
266202011-03-10 Ulrich Drepper <drepper@gmail.com>
26621
028478fa
UD
26622 [BZ #12510]
26623 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26624 copy from the symbol referenced in the relocation to initialize the
26625 used variable.
26626 Patch by Piotr Bury <pbury@goahead.com>.
26627 * elf/Makefile: Add rules to build and tst-unique3.
26628 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26629 * elf/tst-unique3.cc: New file.
26630 * elf/tst-unique3.h: New file.
26631 * elf/tst-unique3lib.cc: New file.
26632 * elf/tst-unique3lib2.cc: New file.
26633
33f85a3f
UD
26634 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26635
03592fc7
MF
266362011-03-10 Mike Frysinger <vapier@gentoo.org>
26637
26638 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26639 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26640 to _start.
03592fc7 26641
6a5ee102
UD
266422011-03-06 Ulrich Drepper <drepper@gmail.com>
26643
26644 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26645 to-be-loaded object along a path to loader is ld.so.
26646
7e4ba49c
HJ
266472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26648 Ulrich Drepper <drepper@gmail.com>
26649
26650 * sysdeps/x86_64/memset.S: After aligning destination, code
26651 branches to different locations depending on the value of
26652 misalignment, when multiarch is enabled. Fix this.
26653
266542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26655
26656 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26657 Set _x86_64_preferred_memory_instruction for AMD processsors.
26658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26659 Set bit_Prefer_SSE_for_memop for AMD processors.
26660
13a804de
UD
266612011-03-04 Ulrich Drepper <drepper@gmail.com>
26662
26663 * libio/fmemopen.c (fmemopen): Optimize a bit.
26664
9d25c392
AS
266652011-03-03 Andreas Schwab <schwab@redhat.com>
26666
26667 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26668
a5543c6a
RM
266692011-03-03 Roland McGrath <roland@redhat.com>
26670
26671 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26672
012d35f7
DM
266732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26674
7e4ba49c 26675 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26676 __bzero_ultra1 instead of __memset_ultra1.
26677
4bff6e01
AS
266782011-02-23 Andreas Schwab <schwab@redhat.com>
26679 Ulrich Drepper <drepper@gmail.com>
26680
26681 [BZ #12509]
26682 * include/link.h (struct link_map): Add l_orig_initfini.
26683 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26684 returning unsuccessfully.
26685 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26686 close of a file loaded at startup, restore the original l_initfini
26687 list.
26688 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26689 list, store the pointer.
26690 * elf/Makefile ($(objpfx)noload-mem): New rule.
26691 (noload-ENV): Define.
26692 (tests): Add $(objpfx)noload-mem.
26693 * elf/noload.c: Include <memcheck.h>.
26694 (main): Call mtrace. Close all opened handles.
26695
f2092faf
AS
266962011-02-17 Andreas Schwab <schwab@redhat.com>
26697
26698 [BZ #12454]
26699 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26700 dependencies are missing.
26701
6c8a2e88
ST
267022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26703
f2092faf 26704 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26705 Hurd needs munmap.
26706 * sysdeps/mach/hurd/ifreq.h: New file.
26707
84a42118
PB
267082011-01-27 Petr Baudis <pasky@suse.cz>
26709 Ulrich Drepper <drepper@gmail.com>
26710
071f805e 26711 [BZ 12445]#
84a42118
PB
26712 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26713 to extend_alloca().
26714 * stdio-common/bug23.c: New file.
26715 * stdio-common/Makefile (tests): Add bug23.
26716
e23fe25b
AS
267172010-09-28 Andreas Schwab <schwab@redhat.com>
26718 Ulrich Drepper <drepper@gmail.com>
26719
26720 [BZ #12489]
26721 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26722 before performing relro protection. At old place add assertion
26723 to make sure nothing changed.
26724
d3f02e10
NS
267252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26726 Glauber de Oliveira Costa <glommer@gmail.com>
26727
26728 * elf/elf.h: Add new ARM TLS relocs.
26729
d55fd7a5
RA
267302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26731
26732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26733 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26734 cast from r3.
26735 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26736 'tests' variable.
26737 * sysdeps/wordsize-64/tst-writev.c: New file.
26738
2206397e
RA
267392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26740
26741 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26742 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26743 insns in _dl_start to prevent a TOC reference before relocs are
26744 resolved.
26745
e9433893
UD
267462011-02-15 Ulrich Drepper <drepper@gmail.com>
26747
26748 [BZ #12469]
26749 * Makeconfig: Remove RANLIB definition.
26750 * Makerules: Don't use RANLIB.
26751 * aclocal.m4: Remove ranlib test.
26752 * configure.in: No need to check for ranlib.
26753 * elf/rtld-Rules: Don't use RANLIB.
26754
f75286c6
ST
267552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26756
8e31c82d
ST
26757 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26758 protection macro.
26759 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26760 inclusion protection macro.
26761
f75286c6
ST
26762 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26763 SIGRTMIN and SIGRTMAX and print information in that case only when
26764 SIGRTMIN is defined.
26765
c1d0e639
JJ
267662011-02-11 Jakub Jelinek <jakub@redhat.com>
26767
26768 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26769 arginfo fn returning -1.
26770
26771 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26772 and thousands string is zero terminated.
26773
edf9294e
AS
267742011-02-03 Andreas Schwab <schwab@redhat.com>
26775
26776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26777 sysdeps/unix/sysv/linux/bits/socket.h.
26778
2b7e92df
ST
267792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26780
edf9294e
AS
26781 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26782 (__CPU_COUNT): Remove old macros.
26783 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26784 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26785 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26786 (__sched_cpualloc, __sched_cpufree): Add declarations.
26787
a4c7ea7b
UD
267882011-02-05 Ulrich Drepper <drepper@gmail.com>
26789
26790 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26791 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26792 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26793 (readdhstai): Return value of addhstaiX call.
26794 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26795 (addgrbyX): Return value returned by cache_addgr.
26796 (readdgrbyname): Return value returned by addgrbyX.
26797 (readdgrbygid): Likewise.
26798 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26799 (addpwbyX): Return value returned by cache_addpw.
26800 (readdpwbyname): Return value returned by addhstbyX.
26801 (readdpwbyuid): Likewise.
26802 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26803 (addservbyX): Return value returned by cache_addserv.
26804 (readdservbyname): Return value returned by addservbyX:
26805 (readdservbyport): Likewise.
26806 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26807 (addhstbyX): Return value returned by cache_addhst.
26808 (readdhstbyname): Return value returned by addhstbyX.
26809 (readdhstbyaddr): Likewise.
26810 (readdhstbynamev6): Likewise.
26811 (readdhstbyaddrv6): Likewise.
26812 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26813 (readdinitgroups): Return value returned by addinitgroupsX.
26814 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26815 (prune_cache): Keep track of timeout value of re-added entries.
26816 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26817 * nscd/nscd.h: Adjust prototypes of readd* functions.
26818
a0bf67cc
RM
268192011-02-04 Roland McGrath <roland@redhat.com>
26820
26821 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26822 (nis_stats): Likewise.
26823 * nis/nis_modify.c (nis_modify): Likewise.
26824 * nis/nis_remove.c (nis_remove): Likewise.
26825 * nis/nis_add.c (nis_add): Likewise.
26826
26827 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26828
26829 * posix/fnmatch_loop.c: Add some consts.
26830
26831 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26832
435b95eb
L
268332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26834
26835 [BZ #12460]
26836 * config.make.in (config-cflags-novzeroupper): Define.
26837 * configure.in: Substitute libc_cv_cc_novzeroupper.
26838 * elf/Makefile (AVX-CFLAGS): Define.
26839 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26840 (CFLAGS-tst-auditmod4a.c): Likewise.
26841 (CFLAGS-tst-auditmod4b.c): Likewise.
26842 (CFLAGS-tst-auditmod6b.c): Likewise.
26843 (CFLAGS-tst-auditmod6c.c): Likewise.
26844 (CFLAGS-tst-auditmod7b.c): Likewise.
26845 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26846
8517b15e
UD
268472011-02-02 Ulrich Drepper <drepper@gmail.com>
26848
26849 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26850 function to the callback.
26851 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26852
10a656fe
AS
268532011-02-02 Andreas Schwab <schwab@redhat.com>
26854
26855 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26856 of errno.
26857
968dad0a
UD
268582011-01-19 Ulrich Drepper <drepper@gmail.com>
26859
9f94d2ea 26860 [BZ #11724]
968dad0a
UD
26861 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26862 of constructors.
26863 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26864 of destructors.
26865 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26866
26867 [BZ #11724]
26868 * elf/Makefile: Add rules to build and run new test.
26869 * elf/tst-initorder.c: New file.
26870 * elf/tst-initorder.exp: New file.
26871 * elf/tst-initordera1.c: New file.
26872 * elf/tst-initordera2.c: New file.
26873 * elf/tst-initordera3.c: New file.
26874 * elf/tst-initordera4.c: New file.
26875 * elf/tst-initorderb1.c: New file.
26876 * elf/tst-initorderb2.c: New file.
26877 * elf/tst-order-a1.c: New file.
26878 * elf/tst-order-a2.c: New file.
26879 * elf/tst-order-a3.c: New file.
26880 * elf/tst-order-a4.c: New file.
26881 * elf/tst-order-b1.c: New file.
26882 * elf/tst-order-b2.c: New file.
26883 * elf/tst-order-main.c: New file.
26884 New test case by George Gensure <werkt0@gmail.com>.
26885
86e92359
UD
268862010-10-01 Andreas Schwab <schwab@redhat.com>
26887
26888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26889 decoding ACE if AI_CANONIDN.
26890
5d5732b0
UD
268912011-01-18 Ulrich Drepper <drepper@gmail.com>
26892
26893 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26894
a77e8cbc
UD
268952011-01-17 Ulrich Drepper <drepper@gmail.com>
26896
6392473f
UD
26897 * version.h (RELEASE): Bump for 2.13 release.
26898 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26899
620a0529
UD
26900 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26901
18ba70a5
UD
26902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26903 MADV_NOHUGEPAGE.
32465c3e
UD
26904 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26905 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26910
c0dafcf1
UD
26911 * posix/getconf.c: Update copyright year.
26912 * catgets/gencat.c: Likewise.
26913 * csu/version.c: Likewise.
26914 * debug/catchsegv.sh: Likewise.
26915 * debug/xtrace.sh: Likewise.
26916 * elf/ldconfig.c: Likewise.
26917 * elf/ldd.bash.in: Likewise.
26918 * elf/sprof.c (print_version): Likewise.
26919 * iconv/iconv_prog.c: Likewise.
26920 * iconv/iconvconfig.c: Likewise.
26921 * locale/programs/locale.c: Likewise.
26922 * locale/programs/localedef.c: Likewise.
26923 * malloc/memusage.sh: Likewise.
26924 * malloc/mtrace.pl: Likewise.
26925 * nscd/nscd.c (print_version): Likewise.
26926 * nss/getent.c: Likewise.
26927
a77e8cbc
UD
26928 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26929 PF_CAIF, and PF_ALG.
26930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26931
77e8bddf
AS
269322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26933
1f20b93a
AS
26934 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26935 (modules-names): Use them.
26936 (ifunc-test-modules, ifunc-pie-tests): Define.
26937 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26938 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26939 (test-extras): Likewise.
26940 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26941 $(compile-command.c).
26942 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26943 (all-built-dso): Define.
26944 (check-textrel.out, check-execstack.out): Depend on it.
26945
77e8bddf
AS
26946 * configure.in: Don't override --enable-multi-arch.
26947
bc425b33
UD
269482011-01-15 Ulrich Drepper <drepper@gmail.com>
26949
26950 [BZ #6812]
26951 * nscd/hstcache.c (tryagain): Define.
26952 (cache_addhst): Return tryagain not notfound for temporary errors.
26953 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26954 failed.
26955
794c3ad3
UD
269562011-01-14 Ulrich Drepper <drepper@gmail.com>
26957
70181fdd
UD
26958 [BZ #10563]
26959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26960 to make the syscall.
26961 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26962
794c3ad3
UD
26963 [BZ #12378]
26964 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26965 and fall back to matching as normal character if the string ends before
26966 the matching ']' is found. This is what POSIX requires.
26967 * posix/testfnm.c: Adjust test result.
26968 * posix/globtest.sh: Adjust test result. Add new test.
26969 * posix/tst-fnmatch.input: Likewise.
26970 * posix/tst-fnmatch2.c: Add new test.
26971
68dc9497
AS
269722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26973
26974 * elf/Makefile (check-execstack): Revert last change. Depend on
26975 check-execstack.h.
26976 (check-execstack.h): New target.
26977 (generated): Add check-execstack.h.
26978 * elf/check-execstack.c: Include "check-execstack.h".
26979 (main): Revert last change.
26980 (handle_file): Return zero if GNU_STACK is absent and
26981 DEFAULT_STACK_PERMS doesn't include PF_X.
26982
451f001b
UD
269832011-01-13 Ulrich Drepper <drepper@gmail.com>
26984
cfa28e56
UD
26985 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26986 in child fails because the descriptor is already closed.
8cf8ce17
UD
26987 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26988 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26989 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26990
1086d70d
UD
26991 [BZ #12397]
26992 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26993 syscall.
26994
451f001b
UD
26995 [BZ #10484]
26996 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26997 temporary buffer used to handle multi lookups locally.
a85b5cb4 26998 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26999
08769175
UD
270002011-01-12 Ulrich Drepper <drepper@gmail.com>
27001
27002 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27003 loader is ld.so.
27004
5e49c52e
UD
270052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27006
27007 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27008 alignment for SSE2.
27009
60522a5f
UD
270102011-01-12 Ulrich Drepper <drepper@gmail.com>
27011
27012 [BZ #12394]
27013 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27014 characters. When rounding increased number of integer digits recompute
27015 number of groups.
27016 * stdio-common/tst-grouping.c: New file.
27017 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27018
f257bbd7
UD
270192011-01-09 Ulrich Drepper <drepper@gmail.com>
27020
27021 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27022 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27023
27024 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27025 void.
27026 * bits/select.h: Likewise.
27027
fa9c15cb
UD
270282011-01-08 Ulrich Drepper <drepper@gmail.com>
27029
27030 * po/ja.po: Update from translation team.
27031
16c2895f
DM
270322011-01-04 David S. Miller <davem@sunset.davemloft.net>
27033
27034 [BZ #11155]
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27036 implementation just like for lxstat, fxstatat, et al.
27037
2543fef2
JM
270382010-12-27 Jim Meyering <meyering@redhat.com>
27039
27040 [BZ #12348]
27041 * posix/regexec.c (build_trtable): Return failure indication upon
27042 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27043
98727dbe
UD
270442010-12-25 Ulrich Drepper <drepper@gmail.com>
27045
5bd6dc5c
UD
27046 [BZ #12201]
27047 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27048 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27049 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27050 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27051
97983464
UD
27052 [BZ #12207]
27053 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27054
98727dbe
UD
27055 [BZ #12204]
27056 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27057 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27058
4a531bb0
L
270592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27062 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27063 script has SORT_BY_INIT_PRIORITY.
27064 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27065 NO_CTORS_DTORS_SECTIONS is defined.
27066 * elf/soinit.c: Likewise.
27067 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27068 NO_CTORS_DTORS_SECTIONS is defined.
27069 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27070 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27071 * sysdeps/sh/init-first.c: Likewise.
27072 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27073
07eb4b71
UD
270742010-12-24 Ulrich Drepper <drepper@gmail.com>
27075
27076 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27077 always use the slow path.
27078
30950a5f
RA
270792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27080
27081 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27082 similar rule which adds the sysdep directories to the header search in
27083 order to pick up the correct platform stackinfo.h.
27084 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27085 perform test if it is, otherwise return successfully without testing.
27086 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27087 DEFAULT_STACK_PERMS define in stackinfo.h.
27088 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27089 defined in stackinfo.h.
27090 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27091 DEFAULT_STACK_PERMS defined in stackinfo.h.
27092 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27093 * sysdeps/ia64/stackinfo.h: Likewise.
27094 * sysdeps/s390/stackinfo.h: Likewise.
27095 * sysdeps/sh/stackinfo.h: Likewise.
27096 * sysdeps/sparc/stackinfo.h: Likewise.
27097 * sysdeps/x86_64/stackinfo.h: Likewise.
27098 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27099 PF_X for powerpc64. Retain PF_X for powerpc32.
27100
db753e2c
UD
271012010-12-19 Ulrich Drepper <drepper@gmail.com>
27102
14b697f7
UD
27103 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27104 accurately.
db753e2c
UD
27105 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27106 GETDENTS_64BIT_ALIGNED.
27107
28300719
UD
271082010-12-14 Ulrich Drepper <dreper@gmail.com>
27109
14b697f7 27110 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27111
4f197237
AS
271122010-12-10 Andreas Schwab <schwab@redhat.com>
27113
dbb0472f
AS
27114 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27115 _GNU_SOURCE.
27116
4f197237
AS
27117 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27118 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27119 Remove __restrict.
27120 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27121 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27122
fb88ac72
UD
271232010-12-09 Ulrich Drepper <drepper@gmail.com>
27124
27125 [BZ #11655]
27126 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27127 are initialized.
27128
42acbb92
JJ
271292010-12-09 Jakub Jelinek <jakub@redhat.com>
27130
27131 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27132
c038d98d
UD
271332010-12-03 Ulrich Drepper <drepper@gmail.com>
27134
27135 * po/it.po: Update from translation team.
27136
3a4a2499
L
271372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27138
27139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27140 unused codes.
27141
1e24cf6e
UD
271422010-11-30 Ulrich Drepper <drepper@gmail.com>
27143
27144 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27145
a7690819
AS
271462010-11-24 Andreas Schwab <schwab@redhat.com>
27147
27148 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27149 specially.
27150 (gaih_getanswer_slice): Likewise.
27151
3bf8d1b1
JJ
271522010-10-20 Jakub Jelinek <jakub@redhat.com>
27153
27154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27155
6db52fbb
PB
271562010-05-31 Petr Baudis <pasky@suse.cz>
27157
27158 [BZ #11149]
27159 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27160 silently even in the chroot mode.
27161
eaca7569
UD
271622010-11-22 Ulrich Drepper <drepper@gmail.com>
27163
27164 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27165 last patch a bit. Pretty printing
27166
3056dcdb
UD
271672010-05-31 Petr Baudis <pasky@suse.cz>
27168
27169 [BZ #10085]
27170 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27171 initialization of skip_initgroups_dyn.
27172
cf7c9078
UD
271732010-11-19 Ulrich Drepper <drepper@gmail.com>
27174
27175 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27176 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27177
a1fb5e3e
UD
271782010-11-16 Ulrich Drepper <drepper@gmail.com>
27179
27180 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27181
3540d66b
AS
271822010-11-11 Andreas Schwab <schwab@redhat.com>
27183
27184 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27185 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27186 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27187 ($(objpfx)tst-fnmatch-mem): New rule.
27188 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27189 * posix/tst-fnmatch.c (main): Call mtrace.
27190
13b69574
L
271912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27192
27193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27194 Support Intel processor model 6 and model 0x2c.
27195
da93d214
LM
271962010-11-10 Luis Machado <luisgpm@br.ibm.com>
27197
27198 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27199 signed comparison.
27200
8ca52c6e
L
272012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 [BZ #12205]
27204 * string/test-strncasecmp.c (check_result): New function.
27205 (do_one_test): Use it.
27206 (check1): New function.
27207 (test_main): Use it.
27208 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27209 Support strcasecmp and strncasecmp.
27210
69da074d
UD
272112010-11-08 Ulrich Drepper <drepper@gmail.com>
27212
27213 [BZ #12194]
27214 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27215 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27216
ff02d528
L
272172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27218
27219 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27220 IFUNC support.
27221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27222 memset-x86-64.
27223 * sysdeps/x86_64/multiarch/bzero.S: New file.
27224 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27225 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27226 * sysdeps/x86_64/multiarch/memset.S: New file.
27227 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27229 Set bit_Prefer_SSE_for_memop for Intel processors.
27230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27231 Define.
27232 (index_Prefer_SSE_for_memop): Define.
27233 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27234
344d0b54
LM
272352010-11-04 Luis Machado <luisgpm@br.ibm.com>
27236
27237 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27238 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27239
c0dde15b
UD
272402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27241
27242 [BZ #12191]
27243 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27244 (__x86_64_raw_data_cache_size_half): Likewise.
27245 (__x86_64_raw_shared_cache_size): Likewise.
27246 (__x86_64_raw_shared_cache_size_half): Likewise.
27247
27248 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27249 (__x86_64_raw_data_cache_size_half): Likewise.
27250 (__x86_64_raw_shared_cache_size): Likewise.
27251 (__x86_64_raw_shared_cache_size_half): Likewise.
27252 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27253 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27254 and __x86_64_raw_shared_cache_size_half. Round
27255 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27256 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27257 to multiple of 256 bytes.
27258
0e516e0e
MS
272592010-11-03 Ulrich Drepper <drepper@gmail.com>
27260
27261 [BZ #12167]
27262 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27263 of inacessible symlinks. Verify result of symlink before returning it.
27264 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27265 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27266
0e012e87
ER
272672010-10-28 Erich Ritz <erichritz@gmail.com>
27268
27269 * math/math.h (isinf): Fix typo in comment.
27270
de0ff7bc
UD
272712010-11-01 Ulrich Drepper <drepper@gmail.com>
27272
27273 * po/da.po: Update from translation team.
27274
fa41c84d
UD
272752010-10-26 Ulrich Drepper <drepper@gmail.com>
27276
27277 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27278 is added to the list.
27279
f0967738
AK
272802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27281 Ulrich Drepper <drepper@gmail.com>
27282
27283 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27284 the global list here. Move code to...
27285 (_dl_add_to_namespace_list): ...here. New function.
27286 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27287 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27288 * elf/dl-load.c (lose): Don't remove the element from the list.
27289 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27290 (_dl_map_object): Likewise.
27291
272922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27293
27294 [BZ #12159]
27295 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27296 into all bytes of SSE register.
27297 Patch by Richard Li <richardpku@gmail.com>.
27298
f0967738 272992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27300
27301 [BZ #12140]
27302 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27303 perturbing.
27304
d0b9e94f
MB
273052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27306
27307 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27308 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27309 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27310 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27312 submachine.
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27314
8e9f92e9
AS
273152010-10-22 Andreas Schwab <schwab@redhat.com>
27316
27317 * include/dlfcn.h (__RTLD_SECURE): Define.
27318 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27319 mode & __RTLD_SECURE instead.
27320 (open_path): Rename preloaded parameter to secure.
27321 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27322 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27323 * elf/dl-deps.c (openaux): Likewise.
27324 * elf/rtld.c (struct map_args): Remove is_preloaded.
27325 (map_doit): Don't use it.
27326 (dl_main): Likewise.
27327 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27328 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27329
bc96fbda
AS
273302010-09-09 Andreas Schwab <schwab@redhat.com>
27331
27332 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27333 (sysd-rules-targets): Remove duplicates.
27334 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27335 rtld-%.$o dependency.
27336
22cd1c9b
AS
273372010-10-18 Andreas Schwab <schwab@redhat.com>
27338
27339 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27340 _dl_map_object do it.
27341
18edac48
UD
273422010-10-19 Ulrich Drepper <drepper@gmail.com>
27343
27344 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27345 fast fma builtins, define the macros in the C99 standard.
27346 (FP_FAST_FMAF): Likewise.
27347 (FP_FAST_FMAL): Likewise.
27348 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27349
27350 * bits/mathdef.h: Update copyright year.
27351 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27352
d2050124
MM
273532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27354
27355 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27356 builtins, define the macros in the C99 standard.
27357 (FP_FAST_FMAF): Likewise.
27358 (FP_FAST_FMAL): Likewise.
27359 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27360 multiply/add.
27361 (FP_FAST_FMAF): Likewise.
27362
475facd1
JJ
273632010-10-15 Jakub Jelinek <jakub@redhat.com>
27364
27365 [BZ #3268]
27366 * math/libm-test.inc (fma_test): Some new testcases.
27367 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27368 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27369 y and infinite z. Do multiplication by C already in long double.
27370 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27372 y and infinite z. Do bitwise or of inexact bit into u.d.
27373 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27374 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27375 * sysdeps/i386/fpu/s_fma.S: Removed.
27376 * sysdeps/i386/fpu/s_fmal.S: Removed.
27377
7c08a05c
JJ
273782010-10-16 Jakub Jelinek <jakub@redhat.com>
27379
27380 [BZ #3268]
27381 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27383 computation is not scheduled after fetestexcept. Fix value
27384 of minimum denormal long double.
27385
f3f7372d
JJ
273862010-10-14 Jakub Jelinek <jakub@redhat.com>
27387
27388 [BZ #3268]
27389 * math/libm-test.inc (fma_test): Add some more tests.
27390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27391 correctly.
27392
14d43591
AS
273932010-10-15 Andreas Schwab <schwab@redhat.com>
27394
27395 * scripts/data/localplt-s390-linux-gnu.data: New file.
27396 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27397
5e908464
JJ
273982010-10-13 Jakub Jelinek <jakub@redhat.com>
27399
27400 [BZ #3268]
27401 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27402 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27403 instead of dbl-64.
27404 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27405 inlines.
27406 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27408 if one of x and y is very large and the other is subnormal.
27409 * sysdeps/s390/fpu/s_fmaf.c: New file.
27410 * sysdeps/s390/fpu/s_fma.c: New file.
27411 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27412 * sysdeps/powerpc/fpu/s_fma.S: New file.
27413 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27414 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27415 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27416
274172010-10-12 Jakub Jelinek <jakub@redhat.com>
27418
27419 [BZ #3268]
27420 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27421 fma tests.
27422 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27423 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27424 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27425 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27426 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27427 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27429
b833d51f
UD
274302010-10-12 Ulrich Drepper <drepper@redhat.com>
27431
27432 [BZ #12078]
27433 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27434 * posix/bug-regex31.input: Add test case.
27435
1751705d
UD
274362010-10-11 Ulrich Drepper <drepper@gmail.com>
27437
e9b9cbf5
UD
27438 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27439 * posix/bug-regex31.input: New file.
27440
27441 [BZ #12078]
27442 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27443 (parse_sub_exp): Fix last change, use postorder.
27444
ef06edbe
UD
27445 * posix/bug-regex31.c: New file.
27446 * posix/Makefile: Add rules to build and run bug-regex31.
27447
a129c80d
UD
27448 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27449
27450 [BZ #12078]
27451 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27452
b76b818e
UD
27453 [BZ #12108]
27454 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27455 to have entries in sys_siglist.
27456
1751705d
UD
27457 [BZ #12093]
27458 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27459 be NULL.
27460
9ff8d36f
JJ
274612010-10-07 Jakub Jelinek <jakub@redhat.com>
27462
27463 [BZ #3268]
27464 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27465 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27466 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27467 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27468 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27469 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27470 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27471 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27472 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27473 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27474 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27475 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27476 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27477 * math/ftestexcept.c (fetestexcept): Likewise.
27478 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27479 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27480 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27481 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27482 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27483 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27484 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27485
af325969
UD
274862010-10-11 Ulrich Drepper <drepper@gmail.com>
27487
c579b202 27488 [BZ #12107]
af325969
UD
27489 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27490 newline.
27491
67a67b95
UD
274922010-10-06 Ulrich Drepper <drepper@gmail.com>
27493
27494 * string/bug-strstr1.c: New file.
27495 * string/Makefile: Add rules to build and run bug-strstr1.
27496
5fb308bc
EB
274972010-10-05 Eric Blake <eblake@redhat.com>
27498
27499 [BZ #12092]
27500 * string/str-two-way.h (two_way_long_needle): Always clear memory
27501 when skipping input due to the shift table.
27502
45db99c7
UD
275032010-10-03 Ulrich Drepper <drepper@gmail.com>
27504
3b111893
UD
27505 [BZ #12005]
27506 * malloc/mcheck.c: Handle large requests.
27507
45db99c7
UD
27508 [BZ #12077]
27509 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27510 for strncmp and strncasecmp.
27511 * string/stratcliff.c: Add tests for strcmp and strncmp.
27512 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27513
cf7a1eb8
NI
275142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27515
27516 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27517 __set_fpscr.
27518
6484ba5e
AJ
275192010-09-30 Andreas Jaeger <aj@suse.de>
27520
27521 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27522 (CGROUP_SUPER_MAGIC): Define.
27523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27524 Handle btrfs and cgroup file systems.
27525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27526 Likewise.
27527
91c42559
LM
275282010-09-27 Luis Machado <luisgpm@br.ibm.com>
27529
27530 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27531 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27532
87a97932
AK
275332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27534
27535 [BZ #12067]
27536 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27537 trying to locate the ELF header.
27538
c21cc9bc
AS
275392010-09-27 Andreas Schwab <schwab@redhat.com>
27540
27541 [BZ #11611]
27542 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27543 Mask out sign-bit copies when constructing f_fsid.
27544
315970f6
PB
275452010-09-24 Petr Baudis <pasky@suse.cz>
27546
27547 * debug/stack_chk_fail_local.c: Add missing licence exception.
27548 * debug/warning-nop.c: Likewise.
27549
1ac7a2c7
JM
275502010-09-15 Joseph Myers <joseph@codesourcery.com>
27551
27552 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27553 implementing getdents64 using getdents syscall, set d_type if
27554 __ASSUME_GETDENTS32_D_TYPE.
27555
56801c50
AS
275562010-09-16 Andreas Schwab <schwab@redhat.com>
27557
27558 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27559 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27560
dda51327
UD
275612010-09-21 Ulrich Drepper <drepper@redhat.com>
27562
27563 [BZ #12037]
27564 * posix/unistd.h: Undo change of feature selection for ftruncate from
27565 2010-01-11.
27566
8ffcee4a
UD
275672010-09-20 Ulrich Drepper <drepper@redhat.com>
27568
a545ecd9 27569 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27570 detection.
27571
e24f0a8b
AS
275722010-09-20 Andreas Schwab <schwab@redhat.com>
27573
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27575 fanotify_mark.
27576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27577
7291c56f
AS
275782010-09-14 Andreas Schwab <schwab@redhat.com>
27579
27580 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27581 variables after CHECK_SP call.
27582 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27583
bc5fb037
AS
275842010-09-13 Andreas Schwab <schwab@redhat.com>
27585 Ulrich Drepper <drepper@redhat.com>
27586
27587 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27588 re-relocationg ld.so.
27589 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27590 _dl_init_paths call.
27591 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27592 here anymore.
27593
e66e7419
UD
275942010-09-14 Ulrich Drepper <drepper@redhat.com>
27595
27596 * resolv/res_init.c (__res_vinit): Count the default server we added.
27597
c044aa75
CLT
275982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27599 Ulrich Drepper <drepper@redhat.com>
27600
27601 [BZ #11968]
27602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27603 (____longjmp_chk): Use %ebx for saving value across system call.
27604 Add unwind info.
27605
32cf4069
AS
276062010-09-06 Andreas Schwab <schwab@redhat.com>
27607
27608 * manual/Makefile: Don't mix pattern rules with normal rules.
27609
817328ee
AS
276102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27611
27612 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27613 operation.
27614 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27615 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27616 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27617 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27619 Likewise.
27620
29fddf61
UD
276212010-09-04 Ulrich Drepper <drepper@redhat.com>
27622
27623 [BZ #11979]
27624 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27625 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27626
0959ffc9
UD
276272010-09-02 Ulrich Drepper <drepper@redhat.com>
27628
27629 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27630 * sysdeps/x86_64/addmul_1.S: Likewise.
27631 * sysdeps/x86_64/lshift.S: Likewise.
27632 * sysdeps/x86_64/mul_1.S: Likewise.
27633 * sysdeps/x86_64/rshift.S: Likewise.
27634 * sysdeps/x86_64/sub_n.S: Likewise.
27635 * sysdeps/x86_64/submul_1.S: Likewise.
27636
ece29840
ST
276372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27638
0959ffc9
UD
27639 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27640 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27641 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27642 * bits/sched.h [__need_schedparam]
ece29840 27643 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27644 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27645 (__defined_schedparam): Define to 1.
ece29840
ST
27646 (__sched_param): New structure, identical to sched_param.
27647 (__need_schedparam): Undefine.
27648
e53a31fe
MF
276492010-08-31 Mike Frysinger <vapier@gentoo.org>
27650
fdc0c10d
MF
27651 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27652 (epoll_create1): Declare.
27653
e53a31fe
MF
27654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27655
a726d796
AS
276562010-08-31 Andreas Schwab <schwab@redhat.com>
27657
27658 [BZ #7066]
27659 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27660 shifting retval into place.
27661
2f3e3dc7
UD
276622010-09-01 Ulrich Drepper <drepper@redhat.com>
27663
f2933da9
UD
27664 * nis/rpcsvc/nis.h: Update copyright notice.
27665 * nis/rpcsvc/nis.x: Likewise.
27666 * nis/rpcsvc/nis_callback.h: Likewise.
27667 * nis/rpcsvc/nis_callback.x: Likewise.
27668 * nis/rpcsvc/nis_object.x: Likewise.
27669 * nis/rpcsvc/nis_tags.h: Likewise.
27670 * nis/rpcsvc/yp.h: Likewise.
27671 * nis/rpcsvc/yp.x: Likewise.
27672 * nis/rpcsvc/ypupd.h: Likewise.
27673 * nis/yp_xdr.c: Likewise.
27674 * nis/ypupdate_xdr.c: Likewise.
27675
2f3e3dc7
UD
27676 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27677 mainly the body of pmap_getport. Add parameters to specify timeouts.
27678 (pmap_getport): Use __libc_rpc_getport.
27679 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27680 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27681 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27682
f3dcc2f9
AS
276832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27684
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27686 fanotify_mark.
27687
6d34eb5b
RM
276882010-08-27 Roland McGrath <roland@redhat.com>
27689
27690 * sysdeps/i386/i686/multiarch/Makefile
27691 (CFLAGS-varshift.c): New variable.
27692
9ea3de11
UD
276932010-08-27 Ulrich Drepper <drepper@redhat.com>
27694
c96d23fc
UD
27695 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27696 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27697
9ea3de11
UD
27698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27699
27700 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27701
623aac7f
L
277022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27703
27704 * sysdeps/x86_64/strlen.S: Unroll the loop.
27705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27706 strlen-sse2 strlen-sse2-bsf.
27707 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27708 __strlen_no_bsf if bit_Slow_BSF is set.
27709 (__strlen_sse42): Removed.
27710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27711 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27712
8b2b7715
RM
277132010-08-25 Roland McGrath <roland@redhat.com>
27714
27715 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27716 * sysdeps/x86_64/multiarch/varshift.c: New file.
27717 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27718 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27719 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27720 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27721
e73015f2
L
277222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27723
27724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27725 strlen-sse2 strlen-sse2-bsf.
27726 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27727 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27728 (__strlen_sse2): Removed.
27729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27730 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27732 bit_Slow_BSF for Atom.
27733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27734 (index_Slow_BSF): Define.
27735 (HAS_SLOW_BSF): Define.
27736
df24a73e
UD
277372010-08-25 Ulrich Drepper <drepper@redhat.com>
27738
27739 [BZ #10851]
27740 * resolv/res_init.c (__res_vinit): When no server address at all
27741 is given default to loopback.
27742
f2ac4868
RM
277432010-08-24 Roland McGrath <roland@redhat.com>
27744
09055553
RM
27745 * configure.in: Remove config-name.h generation.
27746 * configure: Regenerated.
27747 * config-name.in: File removed.
27748 * scripts/config-uname.sh: New file.
27749 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27750 ($(objdir)config-name.h): New target.
27751
f2ac4868
RM
27752 * sunrpc/rpc_parse.h: Avoid nested comment.
27753
73f27d5e
RH
277542010-08-24 Richard Henderson <rth@redhat.com>
27755 Ulrich Drepper <drepper@redhat.com>
27756 H.J. Lu <hongjiu.lu@intel.com>
27757
27758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27760 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27761 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27762 _mm_alignr_epi8 with _mm_loadu_si128.
27763 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27764 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27765 (__m128i_shift_right): Removed.
27766 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27767 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27768 * sysdeps/x86_64/multiarch/varshift.h: New file.
27769 * sysdeps/x86_64/multiarch/varshift.S: New file.
27770
84b9230c
MF
277712010-08-21 Mike Frysinger <vapier@gentoo.org>
27772
27773 * configure.in: Move assembler checks to before sysdep dir checking.
27774
9bbd0ddc
PB
277752010-08-20 Petr Baudis <pasky@suse.cz>
27776
27777 * LICENSES: Sync the sunrpc license.
27778
9da4bb31
UD
277792010-08-19 Ulrich Drepper <drepper@redhat.com>
27780
a7ab6ec8
UD
27781 * sunrpc/auth_des.c: Update copyright notice once again.
27782 * sunrpc/auth_none.c: Likewise.
27783 * sunrpc/auth_unix.c: Likewise.
27784 * sunrpc/authdes_prot.c: Likewise.
27785 * sunrpc/authuxprot.c: Likewise.
27786 * sunrpc/bindrsvprt.c: Likewise.
27787 * sunrpc/clnt_gen.c: Likewise.
27788 * sunrpc/clnt_perr.c: Likewise.
27789 * sunrpc/clnt_raw.c: Likewise.
27790 * sunrpc/clnt_simp.c: Likewise.
27791 * sunrpc/clnt_tcp.c: Likewise.
27792 * sunrpc/clnt_udp.c: Likewise.
27793 * sunrpc/clnt_unix.c: Likewise.
27794 * sunrpc/des_crypt.c: Likewise.
27795 * sunrpc/des_soft.c: Likewise.
27796 * sunrpc/get_myaddr.c: Likewise.
27797 * sunrpc/getrpcport.c: Likewise.
27798 * sunrpc/key_call.c: Likewise.
27799 * sunrpc/key_prot.c: Likewise.
27800 * sunrpc/openchild.c: Likewise.
27801 * sunrpc/pm_getmaps.c: Likewise.
27802 * sunrpc/pm_getport.c: Likewise.
27803 * sunrpc/pmap_clnt.c: Likewise.
27804 * sunrpc/pmap_prot.c: Likewise.
27805 * sunrpc/pmap_prot2.c: Likewise.
27806 * sunrpc/pmap_rmt.c: Likewise.
27807 * sunrpc/rpc/auth.h: Likewise.
27808 * sunrpc/rpc/auth_unix.h: Likewise.
27809 * sunrpc/rpc/clnt.h: Likewise.
27810 * sunrpc/rpc/des_crypt.h: Likewise.
27811 * sunrpc/rpc/key_prot.h: Likewise.
27812 * sunrpc/rpc/netdb.h: Likewise.
27813 * sunrpc/rpc/pmap_clnt.h: Likewise.
27814 * sunrpc/rpc/pmap_prot.h: Likewise.
27815 * sunrpc/rpc/pmap_rmt.h: Likewise.
27816 * sunrpc/rpc/rpc.h: Likewise.
27817 * sunrpc/rpc/rpc_des.h: Likewise.
27818 * sunrpc/rpc/rpc_msg.h: Likewise.
27819 * sunrpc/rpc/svc.h: Likewise.
27820 * sunrpc/rpc/svc_auth.h: Likewise.
27821 * sunrpc/rpc/types.h: Likewise.
27822 * sunrpc/rpc/xdr.h: Likewise.
27823 * sunrpc/rpc_clntout.c: Likewise.
27824 * sunrpc/rpc_cmsg.c: Likewise.
27825 * sunrpc/rpc_common.c: Likewise.
27826 * sunrpc/rpc_cout.c: Likewise.
27827 * sunrpc/rpc_dtable.c: Likewise.
27828 * sunrpc/rpc_hout.c: Likewise.
27829 * sunrpc/rpc_main.c: Likewise.
27830 * sunrpc/rpc_parse.c: Likewise.
27831 * sunrpc/rpc_parse.h: Likewise.
27832 * sunrpc/rpc_prot.c: Likewise.
27833 * sunrpc/rpc_sample.c: Likewise.
27834 * sunrpc/rpc_scan.c: Likewise.
27835 * sunrpc/rpc_scan.h: Likewise.
27836 * sunrpc/rpc_svcout.c: Likewise.
27837 * sunrpc/rpc_tblout.c: Likewise.
27838 * sunrpc/rpc_util.c: Likewise.
27839 * sunrpc/rpc_util.h: Likewise.
27840 * sunrpc/rpcinfo.c: Likewise.
27841 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27842 * sunrpc/rpcsvc/key_prot.x: Likewise.
27843 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27844 * sunrpc/rpcsvc/mount.x: Likewise.
27845 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27846 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27847 * sunrpc/rpcsvc/rex.x: Likewise.
27848 * sunrpc/rpcsvc/rstat.x: Likewise.
27849 * sunrpc/rpcsvc/rusers.x: Likewise.
27850 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27851 * sunrpc/rpcsvc/spray.x: Likewise.
27852 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27853 * sunrpc/rtime.c: Likewise.
27854 * sunrpc/svc.c: Likewise.
27855 * sunrpc/svc_auth.c: Likewise.
27856 * sunrpc/svc_authux.c: Likewise.
27857 * sunrpc/svc_raw.c: Likewise.
27858 * sunrpc/svc_run.c: Likewise.
27859 * sunrpc/svc_simple.c: Likewise.
27860 * sunrpc/svc_tcp.c: Likewise.
27861 * sunrpc/svc_udp.c: Likewise.
27862 * sunrpc/svc_unix.c: Likewise.
27863 * sunrpc/svcauth_des.c: Likewise.
27864 * sunrpc/xcrypt.c: Likewise.
27865 * sunrpc/xdr.c: Likewise.
27866 * sunrpc/xdr_array.c: Likewise.
27867 * sunrpc/xdr_float.c: Likewise.
27868 * sunrpc/xdr_mem.c: Likewise.
27869 * sunrpc/xdr_rec.c: Likewise.
27870 * sunrpc/xdr_ref.c: Likewise.
27871 * sunrpc/xdr_sizeof.c: Likewise.
27872 * sunrpc/xdr_stdio.c: Likewise.
27873
9da4bb31
UD
27874 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27875 handling.
27876
bdaa77bc
AS
278772010-08-19 Andreas Schwab <schwab@redhat.com>
27878
27879 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27880
fe2f79db
LM
278812010-08-19 Luis Machado <luisgpm@br.ibm.com>
27882
27883 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27885 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27886 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27887 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27888 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27889 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27890 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27892 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27893 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27894 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27895 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27896 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27897
b9b42ee0
AB
278982010-07-26 Anton Blanchard <anton@samba.org>
27899
27900 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27901 * malloc/arena.c (heap_trim): Likewise.
27902
1c06ba31
UD
279032010-08-16 Ulrich Drepper <drepper@redhat.com>
27904
27905 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27906 here. Not...
27907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27908 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27909
f8392f40
L
279102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 * sysdeps/i386/elf/Makefile: New file.
27913
3162f12e
AS
279142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27915
27916 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27917 from fanotify_init.
27918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27920
28c90b2c
UD
279212010-08-15 Ulrich Drepper <drepper@redhat.com>
27922
27923 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27924 of strncasecmp_l.
1feccb6c 27925 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27926
ca6bb004
UD
279272010-08-14 Ulrich Drepper <drepper@redhat.com>
27928
e9f82e0d
UD
27929 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27930 strncase_l-nonascii.
27931 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27932 Add strncase_l-ssse3.
27933 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27934 * sysdeps/x86_64/strcmp.S: Likewise.
27935 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27936 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27937 * sysdeps/x86_64/strncase.S: New file.
27938 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27939 * sysdeps/x86_64/strncase_l.S: New file.
27940 * string/Makefile (strop-tests): Add strncasecmp.
27941 * string/test-strncasecmp.c: New file.
27942
27943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27944 warning.
27945
ca6bb004
UD
27946 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27948
052fa7b3
AS
279492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27950
27951 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27952
962dba78
UD
279532010-08-12 Ulrich Drepper <drepper@redhat.com>
27954
27955 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27956 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27957 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27958
bebff237
AM
279592010-05-01 Alan Modra <amodra@gmail.com>
27960
27961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27962 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27963 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27964 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27965 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27966 tidying. Don't tail-call __sigjmp_save for static lib.
27967 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27968 save location.
27969 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27970 (CALL_MCOUNT): Add eh info, and nop after bl.
27971 (TAIL_CALL_SYSCALL_ERROR): New macro.
27972 (PSEUDO_RET): Use it.
27973 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27974 Correct save location of integer regs and cr.
27975 (_dl_profile_resolve): Correct cr save location. Delete nops
27976 after bl when SHARED. Reduce cfi size a little by better
27977 placement of cfi directives.
27978 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27979 make a stack frame. Instead use parm save area as a temp.
27980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27981 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27983 Don't make a stack frame for parent, use parm save area.
27984 Increase child stack frame to 112 bytes. Don't save unused reg,
27985 and adjust reg usage. Set up cfi on error recovery and
27986 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27988 (__makecontext): Add dummy nop after jump to exit.
27989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27990 Use correct parm save area and cr save, reduce stack frame.
27991 Correct cfi for possible PSEUDO_RET frame setup.
27992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27993 Branch to local label emitted by PSEUDO_RET rather than
27994 __syscall_error.
27995
02637374
AS
279962010-08-12 Andreas Schwab <schwab@redhat.com>
27997
27998 [BZ #11904]
27999 * locale/programs/locale.c (print_assignment): New function.
28000 (show_locale_vars): Use it.
28001
c3e2f19b
UD
280022010-08-11 Ulrich Drepper <drepper@redhat.com>
28003
3cdaa6ad
UD
28004 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28005 field.
28006 (struct statfs64): Likewise.
28007 (_STATFS_F_FLAGS): Define.
28008 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28010 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28011 (ST_VALID): Define locally.
28012 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28013 __statvfs_getflags, use the provided value.
28014 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28015 __ASSUME_STATFS_F_FLAGS.
28016
754f7da3
UD
28017 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28018
10b3bedc
UD
28019 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28020 Add sys/fanotify.h.
28021 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28022 fanotify_mask for GLIBC_2.13.
28023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28024 fanotify_init and fanotify_mark.
28025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28026 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28027
c08fb0d7
UD
28028 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28029 Add prlimit.
28030 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28031 prlimit64 for GLIBC_2.13.
28032 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28033 prlimit64.
28034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28035 syscall.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28037 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28038 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28039 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28041 add prlimit alias.
28042 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28043
15bac72b
UD
28044 [BZ #11903]
28045 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28046 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28047
c3e2f19b
UD
28048 * nss/Makefile: Add rules to build and run tst-nss-test1.
28049 * shlib-versions: Add entry for libnss_test1.
28050 * nss/nss_test1.c: New file.
28051 * nss/tst-nss-test1.c: New file.
28052
28053 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28054 (__nss_configure_lookup): Set appropriate entry in
28055 __nss_configure_lookup to true.
28056 * nss/nsswitch.h: Define enum with indeces of databases in
28057 databases and __nss_database_custom arrays. Declare
28058 __nss_database_custom.
28059 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28060 to avoid using nscd when custom rules are installed.
28061 * nss/getXXbyYY_r.c: Likewise.
28062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28063
28064 * nss/nss_files/files-parse.c: Whitespace fixes.
28065
f15ce4d8
UD
280662010-08-09 Ulrich Drepper <drepper@redhat.com>
28067
28068 [BZ #11883]
28069 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28070 * posix/fnmatch_loop.c: Likewise.
28071
d22e4cc9
AK
280722010-07-17 Andi Kleen <ak@linux.intel.com>
28073
28074 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28075 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28076 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28077 * Versions.def [GLIBC_2.13]: Add.
28078
805bc17d
UD
280792010-08-06 Ulrich Drepper <drepper@redhat.com>
28080
28081 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28082 Also fail if tpwd after pwuid call is NULL.
28083
5a42321d
ST
280842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28085
28086 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28087 when converting to ms.
28088
fd3ebeda
ST
280892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28090
28091 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28092 EOPNOTSUPP errors with ENOTTY.
28093 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28094 EOPNOTSUPP errors with ENOTTY.
28095
73507d3a
UD
280962010-07-31 Ulrich Drepper <drepper@redhat.com>
28097
28098 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28099 Add strcasecmp_l-ssse3.
28100 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28101 strcasecmp.
28102 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28103 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28104 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28105
fe36dd02
UD
281062010-07-30 Ulrich Drepper <drepper@redhat.com>
28107
66f6765a
UD
28108 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28109
42e08a54
UD
28110 * string/Makefile (strop-tests): Add strcasecmp.
28111 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28112 strcasecmp_l-nonascii.
28113 (gen-as-const-headers): Add locale-defines.sym.
28114 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28115 * sysdeps/x86_64/strcasecmp.S: New file.
28116 * sysdeps/x86_64/strcasecmp_l.S: New file.
28117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28118 * sysdeps/x86_64/locale-defines.sym: New file.
28119 * string/test-strcasecmp.c: New file.
28120
fe36dd02
UD
28121 * string/test-strcasestr.c: Test both ends of the range of characters.
28122 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28123
48cbc0d6
RM
281242010-07-29 Roland McGrath <roland@redhat.com>
28125
76e6d6bc 28126 [BZ #11856]
48cbc0d6
RM
28127 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28128
880113d9
UD
281292010-07-27 Ulrich Drepper <drepper@redhat.com>
28130
28131 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28132 for ld.so.
28133
deb9cabb
AS
281342010-07-27 Andreas Schwab <schwab@redhat.com>
28135
28136 * manual/memory.texi (Malloc Tunable Parameters): Document
28137 M_PERTURB.
28138
1c7570ff
RM
281392010-07-26 Roland McGrath <roland@redhat.com>
28140
28141 [BZ #11840]
28142 * configure.in (-fgnu89-inline check): Set and substitute
28143 gnu89_inline, not libc_cv_gnu89_inline.
28144 * configure: Regenerated.
28145 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28146
24fb0f88
UD
281472010-07-26 Ulrich Drepper <drepper@redhat.com>
28148
28149 * string/test-strnlen.c: New file.
28150 * string/Makefile (strop-tests): Add strnlen.
28151 * string/tester.c (test_strnlen): Add a few more test cases.
28152 * string/tst-strlen.c: Better error reporting.
28153
28154 * sysdeps/x86_64/strnlen.S: New file.
28155
8e96b93a
UD
281562010-07-24 Ulrich Drepper <drepper@redhat.com>
28157
28158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28159 lower-latency instructions.
28160
dbc676d4
UD
281612010-07-23 Ulrich Drepper <drepper@redhat.com>
28162
28163 * string/test-strcasestr.c: New file.
28164 * string/test-strstr.c: New file.
28165 * string/Makefile (strop-tests): Add strstr and strcasestr.
28166 * string/str-two-way.h: Don't undefine MAX.
28167 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28168
f6a31e0e
AS
281692010-07-21 Andreas Schwab <schwab@redhat.com>
28170
28171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28172 strcasestr-nonascii.
28173 (CFLAGS-strcasestr-nonascii.c): Define.
28174 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28176 Remove unused attribute.
28177
5dbc3b6c
RM
281782010-07-20 Roland McGrath <roland@redhat.com>
28179
28180 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28181 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28182 ld.so.cache was broken. With it, there is no way to disable dsocaps
28183 like LD_HWCAP_MASK can disable hwcaps.
28184
23d101d8
EPM
281852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28186
28187 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28188
cc9f2e47
UD
281892010-07-16 Ulrich Drepper <drepper@redhat.com>
28190
28191 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28192 call in strcasestr.
28193 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28194 __strcasestr_sse42_nonascii.
28195 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28196 strcasestr-nonascii.c.
28197 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28198
77c1b069
LM
281992010-06-15 Luis Machado <luisgpm@br.ibm.com>
28200
28201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28205
440566c3
UD
282062010-07-09 Ulrich Drepper <drepper@redhat.com>
28207
28208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28209 fcntl.
28210
5be9d05d
AS
282112010-07-06 Andreas Schwab <schwab@redhat.com>
28212
c30b7ee2 28213 [BZ #11577]
5be9d05d
AS
28214 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28215 dl_signal_cerror.
28216
8a492a67
UD
282172010-07-06 Ulrich Drepper <drepper@redhat.com>
28218
28219 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28220 _PC_PIPE_BUF using F_GETPIPE_SZ.
28221
713df3d5
RM
282222010-07-05 Roland McGrath <roland@redhat.com>
28223
28224 * manual/arith.texi (Rounding Functions): Fix rint description
28225 implicit in round description.
28226
702e8f14
UD
282272010-07-02 Ulrich Drepper <drepper@redhat.com>
28228
28229 * elf/Makefile: Fix linking for a few tests to make recent linker
28230 happy.
28231
52ed8be9
AS
282322010-06-30 Andreas Schwab <schwab@redhat.com>
28233
28234 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28235 $(common-objpfx)libc_nonshared.a.
28236
f47c9a11
LM
282372010-06-21 Luis Machado <luisgpm@br.ibm.com>
28238
28239 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28240 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28241 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28242 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28243 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28244 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28245 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28246 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28261 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28262 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28263 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28264 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28265 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28266 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28267 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28268 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28269 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28270 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28271 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28272 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28287
6fb8cbcb
L
282882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28291 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28292 * string/memmove.c (memmove): Renamed to ...
28293 (MEMMOVE): ...this. Default to memmove.
28294 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28295 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28296 (END_CHK): Define.
28297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28298 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28299 mempcpy-ssse3-back memmove-ssse3-back.
28300 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28303 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28304 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28305 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28306 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28307 * sysdeps/x86_64/multiarch/memmove.c: New file.
28308 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28309 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28310 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28311 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28312 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28314 Define.
28315 (index_Fast_Copy_Backward): Define.
28316 (HAS_ARCH_FEATURE): Define.
28317 (HAS_FAST_REP_STRING): Define.
28318 (HAS_FAST_COPY_BACKWARD): Define.
28319
4e733bac 283202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28321
28322 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28323 Restore proper fallback handling.
28324
63c4ed22
UD
283252010-06-19 Ulrich Drepper <drepper@redhat.com>
28326
ac2b484c
UD
28327 [BZ #11701]
28328 * posix/group_member.c (__group_member): Correct checking loop.
28329
63c4ed22
UD
28330 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28331 OOM in getpwuid_r correctly. Return error number when the caller
28332 should return, otherwise -1.
28333 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28334 call returning > 0 value.
28335 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28336
765ade4b
AS
283372010-06-07 Andreas Schwab <schwab@redhat.com>
28338
28339 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28340 libc_nonshared.a from targets in modules-names.
28341
80da2e09
KS
283422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28343
28344 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28345 requires it.
28346
158db122
LM
283472010-06-10 Luis Machado <luisgpm@br.ibm.com>
28348
28349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28351 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28353
caa78cf8
AS
283542010-06-02 Andreas Schwab <schwab@redhat.com>
28355
28356 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28357
b2ef2c01
UD
283582010-06-14 Ulrich Drepper <drepper@redhat.com>
28359
28360 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28361 and F_GETPIPE_SZ.
28362 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28368
fbd643b6
RM
283692010-06-14 Roland McGrath <roland@redhat.com>
28370
28371 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28372
f32f2869
JJ
283732010-06-07 Jakub Jelinek <jakub@redhat.com>
28374
28375 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28376 __REDIRECT followed by __THROW.
28377 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28378 * posix/getopt.h (getopt): Likewise.
28379
2a50c078
EPM
283802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28381
28382 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28383 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28384 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28385 in AT_FLAGS.
28386 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28387 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28388
eb5ad2eb
LM
283892010-05-28 Luis Machado <luisgpm@br.ibm.com>
28390
28391 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28392
3c88fe1e
L
283932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28394
28395 [BZ #11640]
28396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28397 Properly check family and model.
28398
d2f73151
TY
283992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28400
28401 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28402
ebd2e13d
LM
284032010-05-24 Luis Machado <luisgpm@br.ibm.com>
28404
28405 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28406
b32b8b45
UD
284072010-05-21 Ulrich Drepper <drepper@redhat.com>
28408
28409 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28410 symbol reference.
28411
9acbe24d
AS
284122010-05-19 Andreas Schwab <schwab@redhat.com>
28413
28414 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28415 symbol reference.
28416
f0ccf6ea
AS
284172010-05-21 Andreas Schwab <schwab@redhat.com>
28418
3d04ff3a
AS
28419 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28420 and internal_recvmmsg.
28421 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28422 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28423 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28424 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28425
f0ccf6ea
AS
28426 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28427 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28428 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28429
5b08ac57
AS
284302010-05-20 Andreas Schwab <schwab@redhat.com>
28431
28432 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28433
4828935d
LM
284342010-05-17 Luis Machado <luisgpm@br.ibm.com>
28435
28436 POWER7 optimizations.
28437 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28438 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28439
373d545e
UD
284402010-05-19 Ulrich Drepper <drepper@redhat.com>
28441
28442 * version.h: Update for 2.13 development version.
28443
21a2b1ae
AS
284442010-05-12 Andrew Stubbs <ams@codesourcery.com>
28445
28446 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28447 exceptions. Return 0.
28448
3f7dcb2b
RM
284492010-05-07 Roland McGrath <roland@redhat.com>
28450
28451 * elf/ldconfig.c (main): Add a const.
28452
5f24d53a 284532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28454
a160f8d8
UD
28455 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28456 (args_options): Add no-idn option.
28457 (ahosts_keys_int): Add idn_flags to ai_flags.
28458 (parse_option): Handle 'i' option to clear idn_flags.
28459
5f24d53a
UD
28460 * malloc/malloc.c (_int_free): Possible race in the most recently
28461 added check. Only act on the data if no current modification
28462 happened.
265bb1ce
UD
28463
28464See ChangeLog.17 for earlier changes.
This page took 3.860469 seconds and 5 git commands to generate.