]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move getlogin_r_chk to login/ subdir.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c7405830
RM
12013-05-06 Roland McGrath <roland@hack.frob.com>
2
ee586a6d
RM
3 * debug/getlogin_r_chk.c: Moved to ...
4 * login/getlogin_r_chk.c: ... here.
5 * debug/Makefile (routines): Move getlogin_r_chk to ...
6 * login/Makefile (routines): ... here.
7 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8 * login/Versions (libc: GLIBC_2.4): ... here.
9
355f9165
RM
10 * io/poll.c (__poll): Renamed from poll.
11 Add libc_hidden_def.
12 (poll): Define as weak alias.
13
bd9ffde6
RM
14 * debug/ptsname_r_chk.c: Moved to ...
15 * login/ptsname_r_chk.c: ... here.
16 * debug/Makefile (routines): Move ptsname_r_chk to ...
17 * login/Makefile (routines): ... here.
18 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19 * login/Versions (libc: GLIBC_2.4): ... here.
20
8fb16a04
RM
21 * posix/getlogin.c: Moved to ...
22 * login/getlogin.c: ... here.
23 * posix/getlogin_r.c: Moved to ...
24 * login/getlogin_r.c: ... here.
25 * posix/getlogin_r.c: Moved to ...
26 * login/getlogin_r.c: ... here.
27 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28 * login/Makefile (routines): ... here.
29 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30 * login/Versions (libc: GLIBC_2.0): ... here.
31
b99b892f
RM
32 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33 (setrlimit): Define as weak alias.
34
c7405830
RM
35 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36 Call __ names for open, ftruncate, and close.
37 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38 (truncate): Define as weak alias.
39
5bf96de5
JM
402013-05-06 Joseph Myers <joseph@codesourcery.com>
41
9ea3513c
JM
42 * math/gen-libm-test.pl (parse_args): Initialize x before each
43 test of frexp, modf and remquo.
44
5bf96de5
JM
45 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46 test signgam value.
47
16e616a7
AZ
482013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 [BZ #15418]
51 [BZ #15419]
52 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53 internal tests.
54 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55
d5e82754
RM
562013-05-06 Roland McGrath <roland@hack.frob.com>
57
58 * elf/dl-writev.h: New file.
59 * elf/dl-misc.c: Include it.
60 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62
a7548d41
JM
632013-05-04 Joseph Myers <joseph@codesourcery.com>
64
b7dab1e4
JM
65 * math/libm-test.inc (noXFails): Remove variable.
66 (noXPasses): Likewise.
67 (BUILD_COMPLEX_INT): Remove macro.
68 (print_screen): Remove xfail argument.
69 (print_screen_max_error): Likewise.
70 (update_stats): Likewise.
71 (print_max_error): Likewise. Update calls to other affected
72 functions.
73 (print_complex_max_error): Likewise.
74 (test_single_exception): Update calls to print_screen.
75 (test_single_errno): Likewise.
76 (check_float_internal): Remove xfail argument. Update calls to
77 other affected functions.
78 (check_float): Likewise.
79 (check_complex): Likewise.
80 (check_int): Likewise.
81 (check_long): Likewise.
82 (check_bool): Likewise.
83 (check_longlong): Likewise.
84 (main): Don't print noXFails and noXPasses.
85 * math/gen-libm-test.pl (top level): Don't mention expected
86 failure handling in comment.
87 (new_test): Don't handle expected failures.
88 (parse_args): Don't mention expected failure handling in comment.
89 (generate_testfile): Don't handle expected failures.
90 (parse_ulps): Likewise.
91 (print_ulps_file): Likewise.
92 (get_failure): Remove function.
93 (output_test): Don't handle expected failures.
94 * make/README.libm-test: Don't mention expected failure handling.
95
a7548d41
JM
96 * math/libm-test.inc (plus_zero): Make const. Add initializer.
97 (minus_zero): Likewise.
98 (plus_infty): Likewise.
99 (minus_infty): Likewise.
100 (qnan_value): Likewise.
101 (max_value): Likewise.
102 (min_value): Likewise.
103 (min_subnorm_value): Likewise.
104 (initialize): Do not initialize those variables dynamically.
105
60bfd54c
RM
1062013-05-03 Roland McGrath <roland@hack.frob.com>
107
cc0e6ed8
RM
108 * io/open.c (__open_2): Moved to ...
109 * io/open_2.c: ... this new file.
110 * io/open64.c (__open64_2): Moved to ...
111 * io/open64_2.c: ... this new file.
112 * io/openat.c (__openat_2): Moved to ...
113 * io/openat_2.c: ... this new file.
114 * io/openat64.c (__openat64_2): Moved to ...
115 * io/openat64_2.c: ... this new file.
116 * io/Makefile (routines): Add them.
117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
118 * sysdeps/unix/sysv/linux/open_2.c: File removed.
119 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
120 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
121 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
122 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
123 (__openat64): Add hidden_ver.
124 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
125 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
126
60bfd54c
RM
127 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
128 Separately conditionalize setting of GLRO(dl_sysinfo) so
129 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
130 as well, but the actual setting is only under [NEED_DL_SYSINFO].
131
83e7640f
AZ
1322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133
134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
136 definition.
137 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
139 (_libc_vdso_platform_setup): Add __vdso_time initialization.
140 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
141 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
142
d5dc2af3
JM
1432013-05-03 Joseph Myers <joseph@codesourcery.com>
144
c31a5b1e
JM
145 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
146 test signgam value.
147
d5dc2af3
JM
148 * math/libm-test.inc (hypot_test): Do not use
149 IGNORE_ZERO_INF_SIGN.
150
164fd39d
AJ
1512013-05-03 Andreas Jaeger <aj@suse.de>
152
153 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
154 Linux 3.9.
155 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
156 (PF_MAX): Adjust for VSOCK change.
157
8237f48c
AZ
1582013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159
160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
161
9df02941
CD
1622013-05-02 Carlos O'Donell <carlos@redhat.com>
163
164 [BZ #15264]
165 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
166 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
167 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
168
d422395e
DM
1692013-05-02 David S. Miller <davem@davemloft.net>
170
171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
172
a07c5731
OB
1732013-05-01 Ondřej Bílka <neleai@seznam.cz>
174
175 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
176
1324e37f
RM
1772013-05-01 Roland McGrath <roland@hack.frob.com>
178
179 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
180
0695940b
RS
1812013-05-01 Richard Smith <richard@metafoo.co.uk>
182
bb5f27ad 183 [BZ #14952]
0695940b
RS
184 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
185 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
186 Use __attribute__ ((__gnu_inline__)).
187 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
188 Don't use __attribute__ ((__gnu_inline__)).
189
10de07f5
JM
1902013-05-01 Joseph Myers <joseph@codesourcery.com>
191
192 [BZ #15423]
193 * math/s_catan.c (__catan): Handle small real or imaginary part of
194 input specially to avoid spurious underflow.
195 * math/s_catanf.c (__catanf): Likewise.
196 * math/s_catanh.c (__catanh): Likewise.
197 * math/s_catanhf.c (__catanhf): Likewise.
198 * math/s_catanhl.c (__catanhl): Likewise.
199 * math/s_catanl.c (__catanl): Likewise.
200 * math/libm-test.inc (catan_test): Add more tests.
201 (catanh_test): Likewise.
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
204
cb4d5414
AZ
2052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
206
207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
208
caf84319
JM
2092013-04-30 Joseph Myers <joseph@codesourcery.com>
210
211 [BZ #15416]
212 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
213 accurately for denominator in atan2.
214 * math/s_catanf.c (__catanf): Likewise.
215 * math/s_catanh.c (__catanh): Likewise.
216 * math/s_catanhf.c (__catanhf): Likewise.
217 * math/s_catanhl.c (__catanhl): Likewise.
218 * math/s_catanl.c (__catanl): Likewise.
219 * math/libm-test.inc (catan_test): Add more tests.
220 (catanh_test): Likewise.
221 * sysdeps/i386/fpu/libm-test-ulps: Update.
222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
223
d569c6ee
SP
2242013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
225
6dbe713d
SP
226 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
227
f0ee064b
SP
228 * benchtests/Makefile (bench): Remove slow benchmarks.
229 * benchtests/atan-inputs: Add slow benchmark inputs.
230 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
231 (BENCH_FUNC): Accept variant offset.
232 (VARIANT): Define.
233 * benchtests/bench-skeleton.c (main): Run benchmark for each
234 variant.
235 * benchtests/cos-inputs: Add slow benchmark inputs.
236 * benchtests/exp-inputs: Likewise.
237 * benchtests/pow-inputs: Likewise.
238 * benchtests/sin-inputs: Likewise.
239 * benchtests/slowatan-inputs: Remove.
240 * benchtests/slowatan.c: Remove.
241 * benchtests/slowcos-inputs: Remove.
242 * benchtests/slowcos.c: Remove.
243 * benchtests/slowexp-inputs: Remove.
244 * benchtests/slowexp.c: Remove.
245 * benchtests/slowpow-inputs: Remove.
246 * benchtests/slowpow.c: Remove.
247 * benchtests/slowsin-inputs: Remove.
248 * benchtests/slowsin.c: Remove.
249 * benchtests/slowtan-inputs: Remove.
250 * benchtests/slowtan.c: Remove.
251 * benchtests/tan-inputs: Add slow benchmark inputs.
252 * scripts/bench.pl: Parse comments and directives.
253
d569c6ee
SP
254 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
255 in CPPFLAGS.
256 ($(objpfx)bench-%.c): Remove *-ITER.
257 * benchtests/bench-modf.c: Remove definition of ITER.
258 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
259 (main): Loop for DURATION seconds instead of fixed number of
260 iterations.
261 * scripts/bench.pl: Don't expect iterations in parameters.
262
a6a242fe
RM
2632013-04-29 Roland McGrath <roland@hack.frob.com>
264
265 * io/fchdir.c (__fchdir): Renamed from fchdir.
266 (fchdir): Define as weak alias.
267
f2da7793
JM
2682013-04-29 Joseph Myers <joseph@codesourcery.com>
269
270 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
271 (ERRNO_EDOM): Likewise.
272 (ERRNO_ERANGE): Likewise.
273 (noErrnoTests): New variable.
274 (init_max_error): Set errno to 0.
275 (test_single_errno): New function.
276 (test_errno): Likewise.
277 (check_float_internal): Call test_errno. Set errno to 0.
278 (check_complex): Refer to errno tests in comment.
279 (check_int): Call test_errno. Set errno to 0.
280 (check_long): Likewise.
281 (check_bool): Likewise.
282 (check_longlong): Likewise.
283 (cos_test): Use ERRNO_* flags for errno tests instead of
284 check_int.
285 (expm1_test): Likewise.
286 (fmod_test): Likewise.
287 (ilogb_test): Likewise.
288 (lgamma_test): Likewise.
289 (pow_test): Likewise.
290 (remainder_test): Likewise.
291 (sin_test): Likewise.
292 (tan_test): Likewise.
293 (yn_test): Likewise.
294 (initialize): Set errno to 0.
295 (main): Print number of errno tests.
296 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
297
b1a36ceb
AJ
2982013-04-29 Andreas Jaeger <aj@suse.de>
299
c3ed8088
AJ
300 [BZ #15084]
301 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
302 and RES_USEVC.
303
f1a24198
AJ
304 [BZ #15085]
305 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
306 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
307 unimplemented.
308
9ce3b2cb
AJ
309 [BZ #15380]
310 * stdlib/random.c (__initstate): Return NULL if
311 __initstate fails.
312
f1a24198 313 [BZ #15086]
b1a36ceb
AJ
314 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
315 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
316 RES_SNGLKUPREOP.
317
7e7b6f36
AZ
3182013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
321
4d14f449
JM
3222013-04-29 Joseph Myers <joseph@codesourcery.com>
323
324 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
325 of individual tests.
326 (casin_test): Likewise.
327 (casinh_test): Likewise.
328
5b4217d7
JM
3292013-04-27 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #15409]
332 * math/s_catan.c (__catan): Handle arguments with large real or
333 imaginary part separately without squaring.
334 * math/s_catanf.c (__catanf): Likewise.
335 * math/s_catanh.c (__catanh): Likewise.
336 * math/s_catanhf.c (__catanhf): Likewise.
337 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
338 and redefine.
339 (__catanhl): Handle arguments with large real or imaginary part
340 separately without squaring.
341 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
342 and redefine.
343 (__catanl): Handle arguments with large real or imaginary part
344 separately without squaring.
345 * math/libm-test.inc (catan_test): Add more tests.
346 (catanh_test): Likewise.
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
4220c3ef
AJ
3502013-04-27 Andreas Jaeger <aj@suse.de>
351
352 [BZ #15007]
353 * stdlib/stdlib.h: Update guards for qecvt.
354 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
355 <stdlib.h>.
356
4721b2d1
AM
3572013-04-27 Allan McRae <allan@archlinux.org>
358
359 * sysdeps/i386/fpu/libm-test-ulps: Update.
360
f0302940
JM
3612013-04-26 Joseph Myers <joseph@codesourcery.com>
362
9457fd95
JM
363 [BZ #15406]
364 * math/s_catan.c: Include <float.h>.
365 (__catan): Ensure underflow exception occurs for underflowed
366 result.
367 * math/s_catanf.c: Include <float.h>.
368 (__catanf): Ensure underflow exception occurs for underflowed
369 result.
370 * math/s_catanh.c: Include <float.h>.
371 (__catanh): Ensure underflow exception occurs for underflowed
372 result.
373 * math/s_catanhf.c: Include <float.h>.
374 (__catanhf): Ensure underflow exception occurs for underflowed
375 result.
376 * math/s_catanhl.c: Include <float.h>.
377 (__catanhl): Ensure underflow exception occurs for underflowed
378 result.
379 * math/s_catanl.c: Include <float.h>.
380 (__catanl): Ensure underflow exception occurs for underflowed
381 result.
382 * math/libm-test.inc (catan_test): Add more tests.
383 (catanh_test): Likewise.
384
f0302940
JM
385 [BZ #15405]
386 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
387 underflowed result.
388 * math/s_ccoshf.c (__ccoshf): Likewise.
389 * math/s_ccoshl.c (__ccoshl): Likewise.
390 * math/s_csin.c (__csin): Likewise.
391 * math/s_csinf.c (__csinf): Likewise.
392 * math/s_csinh.c (__csinh): Likewise.
393 * math/s_csinhf.c (__csinhf): Likewise.
394 * math/s_csinhl.c (__csinhl): Likewise.
395 * math/s_csinl.c (__csinl): Likewise.
396 * math/libm-test.inc (ccos_test): Add more tests.
397 (ccosh_test): Likewise.
398 (csin_test): Likewise.
399 (csinh_test): Likewise.
400
aa630f59
AZ
4012013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402
403 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
404 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
405 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
406 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
407 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
408 powerpc/power5+/fpu folders.
409 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
410
411
1b835983
MT
4122013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
413
414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
415
73709b26
JM
4162013-04-25 Joseph Myers <joseph@codesourcery.com>
417
418 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
419 additions to variable.
420 [$(config-machine) = x86_64] (modules-names): Likewise.
421 ($(objpfx)tst-audit3): Remove dependency.
422 ($(objpfx)tst-audit3.out): Likewise.
423 ($(objpfx)tst-audit4): Likewise.
424 ($(objpfx)tst-audit4.out): Likewise.
425 ($(objpfx)tst-audit5): Likewise.
426 ($(objpfx)tst-audit5.out): Likewise.
427 ($(objpfx)tst-audit6): Likewise.
428 ($(objpfx)tst-audit6.out): Likewise.
429 ($(objpfx)tst-audit7): Likewise.
430 ($(objpfx)tst-audit7.out): Likewise.
431 (tst-audit3-ENV): Remove variable.
432 (tst-audit4-ENV): Likewise.
433 (tst-audit5-ENV): Likewise.
434 (tst-audit6-ENV): Likewise.
435 (tst-audit7-ENV): Likewise.
436 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
437 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
438 addition to variable.
439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
440 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
444 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
445 tst-audit3, tst-audit4 and tst-audit5.
446 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
447 tst-audit6 and tst-audit7.
448 [$(subdir) = elf] (modules-names): Add audit modules for those
449 tests.
450 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
451 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
452 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
453 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
454 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
455 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
456 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
457 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
458 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
459 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
460 [$(subdir) = elf] (tst-audit3-ENV): New variable.
461 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
462 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
463 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
464 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
465 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
466 Likewise.
467 [$(subdir) = elf && $(config-cflags-avx) = yes]
468 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
469 [$(subdir) = elf && $(config-cflags-avx) = yes]
470 (CFLAGS-tst-auditmod4a.c): Likewise.
471 [$(subdir) = elf && $(config-cflags-avx) = yes]
472 (CFLAGS-tst-auditmod4b.c): Likewise.
473 [$(subdir) = elf && $(config-cflags-avx) = yes]
474 (CFLAGS-tst-auditmod6b.c): Likewise.
475 [$(subdir) = elf && $(config-cflags-avx) = yes]
476 (CFLAGS-tst-auditmod6c.c): Likewise.
477 [$(subdir) = elf && $(config-cflags-avx) = yes]
478 (CFLAGS-tst-auditmod7b.c): Likewise.
479 * elf/tst-audit3.c: Move to ...
480 * sysdeps/x86_64/tst-audit3.c: ... here.
481 * elf/tst-audit4.c: Move to ...
482 * sysdeps/x86_64/tst-audit4.c: ... here.
483 * elf/tst-audit5.c: Move to ...
484 * sysdeps/x86_64/tst-audit5.c: ... here.
485 * elf/tst-audit6.c: Move to ...
486 * sysdeps/x86_64/tst-audit6.c: ... here.
487 * elf/tst-audit7.c: Move to ...
488 * sysdeps/x86_64/tst-audit7.c: ... here.
489 * elf/tst-auditmod3a.c: Move to ...
490 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
491 * elf/tst-auditmod3b.c: Move to ...
492 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
493 * elf/tst-auditmod4a.c: Move to ...
494 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
495 * elf/tst-auditmod4b.c: Move to ...
496 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
497 * elf/tst-auditmod5a.c: Move to ...
498 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
499 * elf/tst-auditmod5b.c: Move to ...
500 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
501 * elf/tst-auditmod6a.c: Move to ...
502 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
503 * elf/tst-auditmod6b.c: Move to ...
504 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
505 * elf/tst-auditmod6c.c: Move to ...
506 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
507 * elf/tst-auditmod7a.c: Move to ...
508 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
509 * elf/tst-auditmod7b.c: Move to ...
510 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
511
1ef74943
PP
5122013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
513
514 [BZ #15366]
515 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
516 define unconditionally.
517 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
518 define unconditionally.
519 (INT8_C, INT16_C, etc.): Likewise.
520
93fd48c5
MR
5212013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
522
ae9552cf
MR
523 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
524 __ehdr_start with hidden visibility.
525
93fd48c5
MR
526 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
527
418601aa
CD
5282013-04-24 Carlos O'Donell <carlos@redhat.com>
529
530 * math/libm-test.inc (cos_test): Use accurate hex constants.
531 (sincost_test): Likewise.
532
2f38fbfe
JM
5332013-04-24 Joseph Myers <joseph@codesourcery.com>
534
5e221800
JM
535 * math/libm-test.inc (catan_test): Add more tests.
536 (catanh_test): Likewise.
537
77f143fd
JM
538 * math/s_catanf.c (__catanf): Use suffixed floating-point
539 constants.
540 * math/s_catanhf.c (__catanhf): Likewise.
541 * math/s_catanhl.c (__catanhl): Likewise.
542 * math/s_catanl.c (__catanl): Likewise.
543
2f38fbfe
JM
544 [BZ #15394]
545 * math/s_catan.c (__catan): Calculate imaginary part of result
546 with log1p not log unless computing log of number close to 0.
547 * math/s_catanf.c (__catanf): Likewise.
548 * math/s_catanl.c (__catanl): Likewise.
549 * math/s_catanh.c (__catanh): Calculate real part of result with
550 log1p not log unless computing log of number close to 0.
551 * math/s_catanhf.c (__catanhf): Likewise.
552 * math/s_catanhl.c (__catanhl): Likewise.
553 * math/libm-test.inc (catan_test): Add more tests.
554 (catanh_test): Likewise.
555 * sysdeps/i386/fpu/libm-test-ulps: Update.
556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557
45d69176
SP
5582013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
559
560 * benchtests/Makefile: Mention files in which fast and slow
561 paths of math functions are implemented.
562
87f51853
RM
5632013-04-23 Roland McGrath <roland@hack.frob.com>
564
565 * sysdeps/posix/timespec_get.c: New file.
566
3c026539
AZ
5672013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
570 POWER.
571 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
572 for POWER.
573 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
574 powerpc/power5/fpu folders.
575 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
576 * benchtests/Makefile: Add modf testcase.
577 * benchtests/bench-modf.c: New file: Benchmark test for mo
578
ff491d14
SP
5792013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
580
581 [BZ #14888]
582 * time/Makefile (tests): Add tst-strptime-whitespace.
583 * time/strptime_l.c (get_number): Use ISSPACE.
584 (__strptime_internal): Likewise.
585 * time/tst-strptime-whitespace.c: New test case.
586
7ed3f4e8
AS
5872013-04-23 Andreas Schwab <schwab@linux-m68k.org>
588
589 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
590 member.
591 (_nss_files_init): Set it here.
592
5c95f7b6
HC
5932013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
594
595 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
596 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
597 unsigned.
598
d34c9158
JBG
5992013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
600
601 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
602
2169712d
SP
6032013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
604
605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
606 size just once.
607
29c5de99
DM
6082013-04-21 David S. Miller <davem@davemloft.net>
609
610 * po/ru.po: Update Russion translation from translation project.
611
ccdad15d
AC
6122013-04-17 Adam Conrad <adconrad@0c3.net>
613
614 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
615 and setfsgid.
616
0f122b8d
CD
6172013-04-17 Carlos O'Donell <carlos@redhat.com>
618
5c5b07da 619 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 620 * configure: Regenerate.
5c5b07da 621 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
622 Add example to error message.
623 * sysdeps/i386/configure: Regenerate.
624
037714dd
SP
6252013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
626
627 * benchtests/Makefile (bench): Add cos, tan, slowcos and
628 slowtan.
629 * benchtests/cos-inputs: New file.
630 * benchtests/slowcos-inputs: New file.
631 * benchtests/slowcos.c: New file.
632 * benchtests/slowtan-inputs: New file.
633 * benchtests/slowtan.c: New file.
634 * benchtests/tan-inputs: New file.
635
e913141d
RM
6362013-04-16 Roland McGrath <roland@hack.frob.com>
637
638 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
639 considered kosher.
640
a2964074
SP
6412013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
642
4856bcd2
SP
643 * benchtests/Makefile: Include cppflags-iterator.mk to add
644 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
645
a2964074
SP
646 * Makefile.in (bench-clean): New target.
647 * benchtests/Makefile (bench-clean): Likewise.
648
9fbf9aca
DH
6492013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
650
651 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
652
207d1e2a
TS
6532013-04-15 Thomas Schwinge <thomas@codesourcery.com>
654
655 * stdio-common/tstdiomisc.c: Fix coding-style violation.
656
306dfba9
AS
6572013-04-15 Andreas Schwab <schwab@suse.de>
658
659 * nscd/grpcache.c (cache_addgr): Properly check for short write.
660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
661 * nscd/pwdcache.c (cache_addpw): Likewise.
662 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
663 more than recsize.
664
206a6699
SP
6652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
666
667 * benchtests/Makefile (bench): Write all output to
668 bench-out.tmp together.
669
0582f6b3
AS
6702013-04-15 Andreas Schwab <schwab@suse.de>
671
672 * nscd/nscd.c (main): Don't fork again after closing files.
673
acb4325f
SP
6742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
675
5cb26d0a
SP
676 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
677
acb4325f
SP
678 * benchtests/Rules (bench-deps): Collect dependencies into a
679 single variable. Add Makefile to dependencies.
680 ($(objpfx)bench-%.c): Depend on bench-deps.
681
47792506
RM
6822013-04-12 Roland McGrath <roland@hack.frob.com>
683 Xavier Roche <roche+kml2@exalead.com>
684
685 [BZ #15361]
686 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
687 just that it's a file descriptor.
688 * manual/llio.texi (Synchronizing AIO Operations): Update description
689 for EBADF error from aio_fsync.
690
8fc1bee5
SP
6912013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
692
693 * Rules (bench): Move target definition...
694 * benchtests/Makefile: ... here.
695
aba5e333
CD
6962013-04-11 Carlos O'Donell <carlos@redhat.com>
697
698 * math/libm-test.inc (cos_test): Fix PI/2 test.
699 (sincos_test): Likewise.
700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
701 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
702
273cdee8
AS
7032013-04-11 Andreas Schwab <schwab@suse.de>
704
6ecec3b6
AS
705 [BZ #13988]
706 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
707 accept exponent character only when digits were seen.
708 * stdio-common/Makefile (tests): Add bug26.
709 * stdio-common/bug26.c: New file.
710
273cdee8
AS
711 [BZ #14293]
712 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
713 non-freeable.
714
8da491f5
SP
7152013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
716
01dc6df9
SP
717 * Makeconfig (rtld-prefix): Define built linker prefix.
718 * Rules (run-bench): Use it.
719 * math/Makefile (run-regen-ulps): Likewise.
720
8da491f5
SP
721 * Rules (bench): Remove eval.
722
abe7f530
SP
7232013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
724 Roland McGrath <roland@hack.frob.com>
725 Ondrej Bilka <neleai@seznam.cz>
726
727 [BZ #15346]
728 * time/getdate.c: Include ctype.h and alloca.h.
729 (__getdate_r): Trim leading and trailing spaces of input.
730 * time/tst-getdate.c (tests): Add tests with leading and
731 trailing spaces.
732
61c23e62
RM
7332013-04-08 Roland McGrath <roland@hack.frob.com>
734
735 [BZ #14280]
736 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
737 when computing value.
738
7208a313
CD
7392013-04-06 Carlos O'Donell <carlos@redhat.com>
740
085b2d41
CD
741 * math/README.libm-test (How can I generate "libm-test-ulps"?):
742 Use testrun.sh to run libm tests.
743
7208a313
CD
744 [BZ #15309]
745 * elf/dl-open.c (dl_open_worker): memset all of seen array.
746
872c0acd
MM
7472013-04-06 Marko Myllynen <myllynen@redhat.com>
748
749 [BZ #15264]
750 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
751
26510bdd
CD
7522013-04-06 Carlos O'Donell <carlos@redhat.com>
753
754 * Makefile.in (regen-ulps): New target.
755 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
756 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
757 [ifneq (no,$(PERL)] (regen-ulps): New target.
758 [ifeq (no,$(PERL)] (regen-ulps): New target.
759 * math/libm-test.inc (ulps_file_name): Define.
760 (output_dir): New variable.
761 (options): Add "output-dir" option.
762 (parse_opt): Handle 'o' case.
763 (main): If output_dir is non-NULL use it as a prefix
764 otherwise use "".
765 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
766
a01f19c8
CD
7672013-04-06 Carlos O'Donell <carlos@redhat.com>
768
769 [BZ #10060, #10062]
770 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
771 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
772 fail configure if __sync_val_compare_and_swap is not inlined.
773 * sysdeps/i386/configure: Regenerate.
774 * configure.in: Build for i686 when configured for i386.
775 * configure: Regenerate.
776 * README: Remove i386 reference.
777
b7a329a5
CD
7782013-04-06 Carlos O'Donell <carlos@redhat.com>
779
780 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
782
bf0f50df
TS
7832013-04-05 Thomas Schwinge <thomas@codesourcery.com>
784
ee091edf
TS
785 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
786 (lmsnanval): New variables.
787 (F): Add conversion tests.
788 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
789 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
790
a8b792d6
TS
791 * stdio-common/tstdiomisc.c (F): Properly collect individual
792 tests' results.
793
a1cbf437
TS
794 [BZ #14686, #15336]
795 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
796 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
797 Instead, use input NaN values or generate a qNaN by arithmetic
798 operation. Also fix bugs to comply with the standard.
799 * math/libm-test.inc (remainder_test): Add more tests.
800
8b43a0c9
TS
801 [BZ #15335, #15342]
802 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
804 input NaN values or generate a qNaN by arithmetic operation.
805
d91da4ce
TS
806 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
807 unreachable code.
808
bf0f50df
TS
809 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
810 definitions.
811
05e166c8
JM
8122013-04-03 Joseph Myers <joseph@codesourcery.com>
813
814 [BZ #14478]
815 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
816 underflowed result.
817 * math/s_cexpf.c (__cexpf): Likewise.
818 * math/s_cexpl.c (__cexpl): Likewise.
819 * math/libm-test.inc (cexp_test): Add more tests.
820
1cef1b19
AS
8212013-04-03 Andreas Schwab <schwab@suse.de>
822
823 [BZ #15330]
824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
825 order arrays from heap if bigger than alloca cutoff.
826
74d87055
TS
8272013-04-03 Thomas Schwinge <thomas@codesourcery.com>
828
829 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
830 (SNAN_TESTS_double): Refer to GCC PR56831.
831 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
832 GCC PR56828.
833
d755bba4
SP
8342013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
835
90d5d5bb
SP
836 * Rules (bench): Move bench.out after the run is complete.
837
73e0cd5d
SP
838 * Rules (bench): Echo currently running benchmark.
839
64aabd4b
SP
840 * benchtests/Makefile (bench): Add atan and slowatan.
841 * benchtests/atan-inputs: New file.
842 * benchtests/slowatan-inputs: New file.
843 * benchtests/slowatan.c: New file.
844
c871eccd
SP
845 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
846 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
847 its value.
848
d755bba4
SP
849 [BZ #15305]
850 * sysdeps/unix/sysv/linux/kernel-features.h
851 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
852 __ASSUME_XFS_RESTRICTED_CHOWN.
853 * sysdeps/unix/sysv/linux/pathconf.c
854 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
855 Save and restore errno.
856
52ce4860
JM
8572013-04-02 Joseph Myers <joseph@codesourcery.com>
858
859 [BZ #15327]
860 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
861 arguments using __kernel_casinh.
862 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
863 arguments using __kernel_casinhf.
864 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
865 arguments using __kernel_casinhl.
866 * math/libm-test.inc (cacosh_test): Add more tests.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869
81f311c2
SP
8702013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
871
e7906a47
SP
872 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
874
92e3664b
SP
875 * bench/Makefile (bench): Add sin and slowsin.
876 * benchtests/sin-inputs: New file.
877 * benchtests/slowsin-inputs: New file.
878 * benchtests/slowsin.c: New file.
879
81f311c2
SP
880 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
881 (bench): Add slowexp and slowpow.
882 (exp-ITER): Increase iterations.
883 (pow-ITER): Likewise.
884 * benchtests/exp-inputs: Change input.
885 * benchtests/pow-inputs: Likewise.
886 * benchtests/slowexp-inputs: New file.
887 * benchtests/slowexp.c: New file.
888 * benchtests/slowpow-inputs: New file.
889 * benchtests/slowpow.c: New file.
890
ab0f1aa9
AZ
8912013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
892
893 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
894 instructions.
895 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
896 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
897 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
898 * benchtests/Makefile: Add rint benchtest.
899 * benchtests/rint-inputs: Input for rint benchtest.
900
57267616
TS
9012013-04-02 Thomas Schwinge <thomas@codesourcery.com>
902
903 * Versions.def (libm): Add GLIBC_2.18.
904 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
905 hidden libm prototypes.
906 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
907 * math/Makefile (libm-calls): Add s_issignaling.
908 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
909 __issignalingf, __issignalingl. Adjust all libm.abilist files.
910 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
911 declaration.
912 * math/math.h [__USE_GNU] (issignaling): New macro.
913 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
914 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
915 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
916 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
917 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
919 * manual/arith.texi (issignaling): New section.
920 * manual/libm-err-tab.pl (@all_functions): Update comment.
921 * math/gen-libm-test.pl (parse_args): Apply special handling for
922 issignaling.
923 * math/libm-test.inc (print_float, issignaling_test): New
924 functions.
925 (check_float_internal): Add issignaling checks.
926 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
927 default definition.
928 * sysdeps/powerpc/math-tests.h: New file.
929 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
930 tests.
931 * math/test-snan.c (TEST_FUNC): Likewise.
932
6142896d
DM
9332013-03-30 David S. Miller <davem@davemloft.net>
934
935 * po/de.po: Update from translation team.
936
ccc8cadf
JM
9372013-03-30 Joseph Myers <joseph@codesourcery.com>
938
939 [BZ #10357]
940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
941 imaginary part less than 1.0 and real part less than 0.5
942 specially.
943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
945 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
946 (cacos_test): Add more tests.
947 (casin_test): Likewise.
948 (casinh_test): Likewise.
949 * sysdeps/i386/fpu/libm-test-ulps: Update.
950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951
0f6a8d4b
SP
9522013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
953
0d1029de
SP
954 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
955 ONE with its value.
956
c2d94018
SP
957 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
958 (__pow_mp): Replace ONE and MONE with their values.
959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
962 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
965
27ec37f1
SP
966 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
967
a64d7e0e
SP
968 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
969 (__pow_mp): Replace ZERO and MZERO with their values.
970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
972 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
974 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
975 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
976 (__sqr): Likewise.
977
d26dd3eb
SP
978 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
979
0f6a8d4b
SP
980 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
981
e57b0c61
RM
9822013-03-28 Roland McGrath <roland@hack.frob.com>
983
984 * include/stdlib.h [!SHARED] (__call_tls_dtors):
985 Declare with __attribute__ ((weak)).
986 * stdlib/exit.c (__libc_atexit) [!SHARED]:
987 Call __call_tls_dtors only if it's not NULL.
988
356b3480
RM
9892013-03-28 Roland McGrath <roland@hack.frob.com>
990
288f7d79
RM
991 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
992 didn't do it already, then set _dl_phdr and _dl_phnum based on the
993 magic __ehdr_start linker symbol if it's defined.
994 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
995 them up here if it was already done.
996
dc0a0263
RM
997 * elf/dl-support.c (_dl_phdr): Make pointer to const.
998 (_dl_aux_init): Use const in cast when setting it.
999 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1000 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1001 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1002
3d3436ae
RM
1003 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1004 Declare them here.
1005 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1006 * csu/libc-tls.c: Nor here.
1007 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1008
356b3480
RM
1009 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1010 (__libc_message): Never call vsyslog.
1011
b0f1246a
AM
10122013-03-28 Alan Modra <amodra@gmail.com>
1013
1014 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1015 Define as empty.
1016 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1017 Likewise.
1018
fbbe2b9a
AZ
10192013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020
1021 [BZ #15214]
1022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1023 underflow.
1024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1025
1728ab37
SP
10262013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1027
7a86be6e
SP
1028 [BZ #15304]
1029 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1030 Don't add gid passed as argument.
1031
1728ab37
SP
1032 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1033
3a7182a1
JM
10342013-03-27 Joseph Myers <joseph@codesourcery.com>
1035
1036 [BZ #15307]
1037 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1038 imaginary part between 1.0 and 1.5 and real part less than 0.5
1039 specially.
1040 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1041 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1042 * math/libm-test.inc (cacos_test): Add more tests.
1043 (casin_test): Likewise.
1044 (casinh_test): Likewise.
1045 * sysdeps/i386/fpu/libm-test-ulps: Update.
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1047
6f2e90e7
SP
10482013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1049
5739f705
SP
1050 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1051 constants.
1052 (norm): Likewise.
1053 (denorm): Likewise.
1054 (__dbl_mp): Likewise.
1055 (add_magnitudes): Likewise.
1056 (sub_magnitudes): Likewise.
1057 (__add): Likewise.
1058 (__sub): Likewise.
1059 (__mul): Likewise.
1060 (__sqr): Likewise.
1061 (__inv): Likewise.
1062 (__dvd): Likewise.
1063
e375e83d
SP
1064 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1065 commented code.
1066 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1067 (__dubcos): Likewise.
1068 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1069 (__ieee754_acos): Likewise.
1070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1071 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1072 (__exp1): Likewise.
1073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1075 (log1): Likewise.
1076 (my_log2): Likewise.
1077 (checkint): Likewise.
1078 * sysdeps/ieee754/dbl-64/e_remainder.c
1079 (__ieee754_remainder): Likewise.
1080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1082 (bsloww): Likewise.
1083 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1084
6f2e90e7
SP
1085 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1086 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1087 MANTISSA_STORE_T to store computations on mantissa. Use
1088 macros for rounding and division.
1089 (denorm): Likewise.
1090 (__dbl_mp): Likewise.
1091 (add_magnitudes): Likewise.
1092 (sub_magnitudes): Likewise.
1093 (__mul): Likewise.
1094 (__sqr): Likewise.
1095 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1096 powers of two in terms of TWOPOW macro.
1097 (mp_no): Make type of mantissa as MANTISSA_T.
1098 [!RADIXI]: Define RADIXI.
1099 [!TWO52]: Define TWO52.
1100 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1101
fce14d4e
AZ
11022013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103
1104 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1105 llroundl symbol when building for PPC32.
1106
9ad027fb
MW
11072013-03-24 Mark H Weaver <mhw@netris.org>
1108
1109 * manual/arith.texi (Normalization Functions): Fix prototypes for
1110 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1111
e42a38dd
AZ
11122013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1113
1114 [BZ #13889]
1115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1116 high value to check if expl overflow.
1117 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1118 to check for underflow and overflow.
1119 * math/libm-test.inc: Add exp test.
1120
2e0fb521
DL
11212013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1122
1123 [BZ #11120]
1124 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1125 with NOT_IN_libc.
1126
b5784d95
AZ
11272013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1130 symbol.
1131
5aa4a1a1
TS
11322013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1133
bdef0be7
TS
1134 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1135 wrap blocks consisting of several statements.
1136
5aa4a1a1
TS
1137 * sysdeps/generic/math-tests.h: New file.
1138 * sysdeps/i386/fpu/math-tests.h: Likewise.
1139 * math/test-snan.c: Include it.
1140 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1141
98c48fe5
JM
11422013-03-21 Joseph Myers <joseph@codesourcery.com>
1143
1144 [BZ #15285]
1145 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1146 (__ieee754_j0l): Do not improve calculations using cos of twice
1147 input for inputs above LDBL_MAX / 2.0L.
1148 (__ieee754_y0l): Likewise.
1149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1150 (__ieee754_j1l): Do not improve calculations using cos of twice
1151 input for inputs above LDBL_MAX / 2.0L.
1152 (__ieee754_y1l): Likewise.
1153 * math/libm-test.inc (j0_test): Add another test.
1154 (j1_test): Likewise.
1155 (y0_test): Likewise.
1156 (y1_test): Likewise.
1157 * sysdeps/i386/fpu/libm-test-ulps: Update.
1158
3775a8bc
SP
11592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1160
1161 * Rules ($(objpfx)bench-%.c): Include code from a C source
1162 file.
1163
0a1b2ae6
JM
11642013-03-21 Joseph Myers <joseph@codesourcery.com>
1165
1166 [BZ #15287]
1167 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1168 imaginary part 1.0 and real part less than 0.5 specially.
1169 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1170 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1171 * math/libm-test.inc (cacos_test): Add more tests.
1172 (casin_test): Likewise.
1173 (casinh_test): Likewise.
1174 * sysdeps/i386/fpu/libm-test-ulps: Update.
1175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1176
b33d4ce4
SP
11772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1178
1179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1180 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1181
bef0b507
JM
11822013-03-20 Joseph Myers <joseph@codesourcery.com>
1183
1184 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1185 * config.make.in (config-cflags-sse4): Remove variable.
1186 (config-cflags-avx): Likewise.
1187 (config-cflags-sse2avx): Likewise.
1188 (config-cflags-novzeroupper): Likewise.
1189 (config-asflags-i686): Likewise.
1190 (have-mfma4): Likewise.
1191 (have-as-vis3): Likewise.
1192 (MIG): Likewise.
1193 * configure.in (MIG): Do not AC_SUBST.
1194 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1195 (libc_cv_cc_sse4): Do not AC_SUBST.
1196 (libc_cv_cc_avx): Likewise.
1197 (libc_cv_cc_sse2avx): Likewise.
1198 (libc_cv_cc_novzeroupper): Likewise.
1199 (libc_cv_cc_fma4): Likewise.
1200 (libc_cv_as_i686): Likewise.
1201 (libc_cv_sparc_as_vis3): Likewise.
1202 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1203 LIBC_CONFIG_VAR.
1204 (config-asflags-i686): Likewise.
1205 (config-cflags-avx): Likewise.
1206 (config-cflags-sse2avx): Likewise.
1207 (have-mfma4): Likewise.
1208 (config-cflags-novzeroupper): Likewise.
1209 * sysdeps/mach/configure.in (MIG): Likewise.
1210 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1211 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1212 LIBC_CONFIG_VAR.
1213 (config-cflags-avx): Likewise.
1214 (config-cflags-sse2avx): Likewise.
1215 (have-mfma4): Likewise.
1216 (config-cflags-novzeroupper): Likewise.
1217 * configure: Regenerated.
1218 * sysdeps/i386/configure: Likewise.
1219 * sysdeps/mach/configure: Likewise.
1220 * sysdeps/sparc/configure: Likewise.
1221 * sysdeps/x86_64/configure: Likewise.
1222
912cc4b3
RM
12232013-03-20 Roland McGrath <roland@hack.frob.com>
1224
1225 [BZ #14812]
1226 * locale/programs/localedef.c (options): Put N_ translation marker
1227 on argument names, not just descriptions.
1228
04eed2b0
MS
12292013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1230
1231 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1232
a065ceff
OB
12332013-03-20 Ondřej Bílka <neleai@seznam.cz>
1234
9bb2a810 1235 [BZ #14176]
a065ceff
OB
1236 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1237
a600e5ce
RM
12382013-03-19 Roland McGrath <roland@hack.frob.com>
1239
1240 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1241 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1242 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1243 [!BEFORE_ABORT] (before_abort): New function.
1244 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1245 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1246 (writev_for_fatal): New function.
1247 (WRITEV_FOR_FATAL): New macro; call that.
1248 (backtrace_and_maps): New function.
1249 (BEFORE_ABORT): New macro; call that.
1250 (struct str_list): Type removed.
1251 (__libc_message, __libc_fatal): Functions removed.
1252 Include <sysdeps/posix/libc_fatal.c> instead.
1253
6b18bea6
JM
12542013-03-19 Joseph Myers <joseph@codesourcery.com>
1255
1256 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1257 constants.
1258 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1259 double constants.
1260
aaa8cb4b
AS
12612013-03-19 Andreas Schwab <schwab@suse.de>
1262
44673770
AS
1263 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1264 * sysdeps/gnu/configure: Regenerate.
1265
aaa8cb4b
AS
1266 * configure.in: Substitute libc_cv_rtlddir.
1267 * configure: Regenerate.
1268 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1269 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1270 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1271 * elf/Makefile (install-others, CFLAGS-interp.c)
1272 (ldso_install, common-ldd-rewrite): Likewise.
1273 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1274 $(inst_slibdir)/$(rtld-installed-name).
1275 * scripts/rellns-sh: Add -p option.
1276 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1277 for source.
1278
d3cfc668
SP
12792013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1280
1281 * manual/nptl.texi: Renamed to ...
1282 * manual/threads.texi: ... this.
1283 * manual/Makefile (chapters): Update.
1284
0e2b9cdd
RM
12852013-03-18 Roland McGrath <roland@hack.frob.com>
1286
1287 [BZ #14812]
1288 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1289 on argument names, not just descriptions.
0e2b9cdd
RM
1290 * malloc/memusagestat.c (options): Likewise.
1291 * nss/getent.c (options): Likewise.
63270c24
RM
1292
12932013-03-18 Benno Schulenberg <bensberg@justemail.net>
1294
1295 [BZ #14812]
1296 * iconv/iconv_prog.c (options): Put N_ translation marker
1297 on argument names, not just descriptions.
1298 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1299
b2e1393c
OB
13002013-03-18 Ondrej Bilka <neleai@seznam.cz>
1301
1302 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1303 implementation which is faster on all x86_64 architectures.
1304 Tested on AMD, Intel Nehalem, SNB, IVB.
1305 * sysdeps/x86_64/strnlen.S: Likewise.
1306
1307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1308 Remove all multiarch strlen and strnlen versions.
1309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1310 Remove strlen and strnlen related parts.
1311
1312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1313 Inline strlen part.
1314 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1315
1316 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1317 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1319 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1320 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1321 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1322
ec4ff04d
CD
13232013-03-17 Carlos O'Donell <carlos@redhat.com>
1324
1325 * manual/memory.texi (Malloc Tunable Parameters):
1326 Sort parameters alphabetically. Add comments for missing entries.
1327
cd18e90a
DM
13282013-03-17 David S. Miller <davem@davemloft.net>
1329
1330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1331
2a185d32
JM
13322013-03-16 Joseph Myers <joseph@codesourcery.com>
1333
d2f9799e
JM
1334 [BZ #15283]
1335 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1336 for arguments at most half maximum finite value.
1337 * math/libm-test.inc (j0_test): Add more tests.
1338 (j1_test): Likewise.
1339 (y0_test): Likewise.
1340 (y1_test): Likewise.
1341 * sysdeps/i386/fpu/libm-test-ulps: Update.
1342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1343
2a185d32
JM
1344 [BZ #14155]
1345 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1346 1 / x and functions P and Q for arguments above 0x1p256L.
1347 (__ieee754_y0l): Likewise.
1348 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1349 (__ieee754_y1l): Likewise.
1350 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1351 (j1_test): Likewise.
1352 (y0_test): Likewise.
1353 (y1_test): Likewise.
1354
6cbec759
TS
13552013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1356
1357 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1358 variable.
1359
bc16e260
RM
13602013-03-15 Roland McGrath <roland@hack.frob.com>
1361
aefc9b8c
RM
1362 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1363 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1364 zero since it's initialized to EXEC_PAGESIZE.
1365
bc16e260
RM
1366 * sysdeps/unix/sysv/linux/ldsodefs.h
1367 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1368 * sysdeps/generic/ldsodefs.h: ... here.
1369
a57da955
TS
13702013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1371
af00a34d
TS
1372 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1373
495ded2c
TS
1374 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1375 math/test-snan.c.
1376 * math/test-snan.c: Renamed from
1377 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1378 * math/Makefile (tests): Add test-snan.
1379 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1380 test-powerpc-snan.
1381
777b0332
TS
1382 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1383 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1384 functions.
1385 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1386 __builtin_nan family of functions.
1387 * math/libm-test.inc (initialize): Initialize qnan_value with
1388 __builtin_nan family of functions.
1389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1390 Remove variables.
1391 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1392 Remove functions.
1393 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1394 storage class. Initialize qNaN_var and sNaN_var with
1395 __builtin_nan and __builtin_nans families of functions,
1396 respectively.
1397
64d063b8
TS
1398 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1399 (sqrt_test): Remove duplicate test with qNaN input.
1400 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1401 (round_test, signbit_test, significand_test): Note missing +/-Inf
1402 as well as qNaN tests.
1403
67e971f1
TS
1404 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1405 qNaN_var. Fix a few strings, too.
1406 * math/libm-test.inc (nan_value): Rename to qnan_value.
1407 * math/gen-libm-test.pl (%beautify): Adjust to that.
1408 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1409 * math/test-misc.c (main): Likewise.
1410 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1411 to __qnan_bytes, and __qnan_union, respectively.
1412 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1413 Likewise.
1414 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1415 and lqnanval, respectively.
1416 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1417 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1418 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1419 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1420
64487e12
TS
1421 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1422 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1423 doubles.
1424
e015e27b
TS
1425 * math/test-misc.c (main): Fix copy'n'pastos.
1426 * misc/tst-efgcvt.c (special): Likewise.
1427
a57da955
TS
1428 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1429 Remove declarations.
1430
1e380345
SP
14312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1432
1433 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1434 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1435 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1437
ef26eece
AZ
14382013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439
1440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1441 macro to return vdso values correctly in IFUNC implementations.
1442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1443 Optimization by using IFUNC.
1444
8cfdb7e0
SP
14452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1446 Richard Henderson <rth@redhat.com>
1447 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1448
1449 * Makefile.in (bench): New target.
1450 * NEWS: Mention the benchmark framework.
1451 * Rules (bench): Likewise.
1452 (binaries-bench): Generate binaries for functions to
1453 benchmark.
1454 * benchtests/Makefile: New makefile for benchmark tests.
1455 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1456 programs.
1457 * benchtests/exp-inputs: New input file for EXP function.
1458 * benchtests/pow-inputs: New input file for POW function.
1459 * scripts/bench.pl: New script to generate source files for
1460 benchmark programs.
1461
bcda9880
SP
14622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1463
d22ca8cd
SP
1464 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1466 computations on mantissa. Use macros for rounding and
1467 division.
1468 (denorm): Likewise.
1469 (__dbl_mp): Likewise.
1470 (add_magnitudes): Likewise.
1471 (sub_magnitudes): Likewise.
1472 (__mul): Likewise.
1473 (__sqr): Likewise.
1474 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1475 powers of two in terms of TWOPOW macro.
1476 (mp_no): Make type of mantissa as MANTISSA_T.
1477 [!RADIXI]: Define RADIXI.
1478 [!TWO52]: Define TWO52.
1479 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1480
bcda9880
SP
1481 * manual/nptl.texi (cindex): Modify threads to pthreads.
1482
06d5adfb
JM
14832013-03-15 Joseph Myers <joseph@codesourcery.com>
1484
1485 * sysdeps/x86_64/preconfigure: Regenerated.
1486
41c7328e
JM
14872013-03-14 Joseph Myers <joseph@codesourcery.com>
1488
1489 [BZ #14155]
1490 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1491 0x1p28 and above.
1492 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1493 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1494 0x1p28 and above.
1495 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1496 * math/libm-test.inc (j0_test): Do not allow one spurious
1497 underflow exception.
1498 (y1_test): Likewise.
1499
e25cfa60
SP
15002013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
0409959c
SP
1502 * manual/Makefile (chapters): Add nptl.
1503 * manual/debug.texi (Debugging Support): Add link to Threads
1504 chapter.
1505 * manual/nptl.texi: New file.
1506
e25cfa60
SP
1507 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1508
58a1335e
PB
15092013-03-14 Petr Baudis <pasky@ucw.cz>
1510
1511 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1512 for non-NULL pointer before the memory validity test. Pointed
1513 out by Holger Brunck <holger.brunck@keymile.com>.
1514
9dc7c64f
AS
15152013-03-13 Andreas Schwab <schwab@suse.de>
1516
1517 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1518 instead of .os.
1519
54206aa6
JM
15202013-03-13 Joseph Myers <joseph@codesourcery.com>
1521
1522 * timezone/zic.c: Update from tzcode 2013b.
1523
e98cdb38
CD
15242013-03-12 Carlos O'Donell <carlos@redhat.com>
1525
1526 * manual/install.texi (Configuring and compiling):
1527 Mention i686 and i586.
1528 * INSTALL: Regenerate.
1529
9967e003
RM
15302013-03-12 Roland McGrath <roland@hack.frob.com>
1531
1532 * sysdeps/init_array/elf-init.c: New file.
1533 * csu/elf-init.c
1534 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1535 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1536
1537 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1538 __gmon_start__ as global, but as static with a .preinit_array pointer.
1539 * sysdeps/init_array/gmon-start.c: New file. Use that.
1540 * sysdeps/init_array/crti.S: New file, empty except for comments.
1541 * sysdeps/init_array/crtn.S: Likewise.
1542
e6b5a293 15432013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1544
1545 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1546 definining bcopy.
80f844c9
OB
1547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1548 Remove Prefer_SSE_for_memop.
1549 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1550 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1551 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1553 memset-x86-64.
80f844c9 1554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1555 Remove bzero, memset ifunc support.
80f844c9
OB
1556 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1557 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1558 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1559 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1560
fb6b0fcb
AS
15612013-03-11 Andreas Schwab <schwab@suse.de>
1562
1563 [BZ #15234]
1564 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1565 by SHLIB_COMPAT.
1566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1567 (GLIBC_2.16): Remove pthread_atfork.
1568
3e6bd4b1
PP
15692013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1570
1571 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1572 (ptestcases.h): Likewise.
1573
222d7f00
RM
15742013-03-08 Roland McGrath <roland@hack.frob.com>
1575
1576 * Makeconfig ($(common-objpfx)config.status): Depend on
1577 sysdeps/*/preconfigure{,.in} too.
1578
1ba4f030
JM
15792013-03-08 Joseph Myers <joseph@codesourcery.com>
1580
a222d91a
JM
1581 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1582 (__free_hook): Use void * instead of __malloc_ptr_t.
1583 (__malloc_hook): Likewise.
1584 (__realloc_hook): Likewise.
1585 (__memalign_hook): Likewise.
1586 (__after_morecore_hook): Likewise.
1587 * malloc/arena.c (save_malloc_hook): Likewise.
1588 (save_free_hook): Likewise.
1589 * malloc/hooks.c (malloc_hook_ini): Likewise.
1590 (realloc_hook_ini): Likewise.
1591 (memalign_hook_ini): Likewise.
1592 * malloc/malloc.c (malloc_hook_ini): Likewise.
1593 (realloc_hook_ini): Likewise.
1594 (memalign_hook_ini): Likewise.
1595 (__free_hook): Likewise.
1596 (__malloc_hook): Likewise.
1597 (__realloc_hook): Likewise.
1598 (__memalign_hook): Likewise.
1599 (__libc_malloc): Likewise.
1600 (__libc_free): Likewise.
1601 (__libc_realloc): Likewise.
1602 (__libc_memalign): Likewise.
1603 (__libc_valloc): Likewise.
1604 (__libc_pvalloc): Likewise.
1605 (__libc_calloc): Likewise.
1606 (__posix_memalign): Likewise.
1607 * malloc/morecore.c (__sbrk): Likewise.
1608 (__default_morecore): Likewise.
1609
5cc45e10
JM
1610 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1611
dd54b864
JM
1612 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1613 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1614 __malloc_ptrdiff_t.
1615
1ba4f030
JM
1616 * malloc/malloc.h (__malloc_size_t): Remove macro.
1617 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1618 __malloc_size_t.
1619 (old_memalign_hook): Likewise.
1620 (old_realloc_hook): Likewise.
1621 (struct hdr): Likewise.
1622 (flood): Likewise.
1623 (mallochook): Likewise.
1624 (memalignhook): Likewise.
1625 (reallochook): Likewise.
1626 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1627 (tr_old_realloc_hook): Likewise.
1628 (tr_old_memalign_hook): Likewise.
1629 (tr_mallochook): Likewise.
1630 (tr_reallochook): Likewise.
1631 (tr_memalignhook): Likewise.
1632
edf66e57
AZ
16332013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634
1635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1636 default_ldbl_pack and using as default implementation.
1637 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1638 implementation.
1639 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1640 redundant definition.
1641 (ldbl_insert_mantissa): Likewise.
1642 (ldbl_canonicalize): Likewise.
1643 (ldbl_nearbyint): Likewise.
1644 (ldbl_pack): Rename to ldbl_pack_ppc.
1645 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1646 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1647 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1648
6d9145d8
SP
16492013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1650
1651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1652 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1654 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1656 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1657 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1658 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1659
4dd4e157
AJ
16602013-03-07 Andreas Jaeger <aj@suse.de>
1661
1662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1663 bits/mman-linux.h.
1664
adbb8027
SP
16652013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1666
ce544b5b
SP
1667 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1668 Include mpa.h and declare __MPEXP.
1669 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1671 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1674 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1675 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1676
4cc149fd
SP
1677 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1678 (__slowpow): Use long double EXPL and LOGL functions to
1679 compute POW.
1680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1681 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1684 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1685 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1686
e6ebd4a7
SP
1687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1688 intermediate variable to calculate exponent.
1689 (__sqr): Likewise.
1690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1691 Likewise.
1692 (__sqr): Likewise.
1693
82a9811d
SP
1694 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1695 [!NO__SQR]: Define __sqr.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1697 and NO__SQR. Remove all code except __mul and __sqr. Include
1698 sysdeps/ieee754/dbl-64/mpa.c.
1699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1700
adbb8027
SP
1701 [BZ #12723]
1702 * posix/Makefile (tests): Add tst-pathconf.
1703 * posix/tst-pathconf.c: New test case.
1704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1705 _PC_PIPE_BUF.
1706 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1707
39120df9
PF
17082013-03-06 Patsy Franklin <pfrankli@redhat.com>
1709
1710 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1711
67525cb8
AJ
17122013-03-06 Andreas Jaeger <aj@suse.de>
1713
664a9ce4
AJ
1714 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1715 definition via __MAP_ANONYMOUS.
1716
8e39047d
AJ
1717 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1718 it's not part of Linux headers.
1719
67525cb8
AJ
1720 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1721 (MAP_HUGE_MASK): Define.
1722
1723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1724 Define.
1725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1727 Define.
1728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1729 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1730 Define.
1731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1732 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1733 Define.
1734 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1735
1736 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1737 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1738 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1739 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1740 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1742
1743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1744 Handle f2fs.
1745
1746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1747 Handle f2fs and efivarfs.
1748
1749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1750 f2fs.
1751
1752 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1753 (EFIVARFS_MAGIC): Add.
1754 (F2FS_LINK_MAX): Add.
1755
e1b42695
PP
17562013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1757
1758 * stdio-common/vfprintf.c: Replace __builtin_expect with
1759 __glibc_unlikely.
1760
2d67d91a
JM
17612013-03-06 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #13550]
1764 * sysdeps/generic/bp-sym.h: Remove file.
1765 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1766 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1767 <bp-sym.h> and <bp-asm.h>.
1768 (__longjmp): Don't use BP_SYM.
1769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1770 and <bp-asm.h>.
1771 (memcpy): Don't use BP_SYM.
1772 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1773 <bp-sym.h> and <bp-asm.h>.
1774 (memcpy): Don't use BP_SYM.
1775 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1776 <bp-asm.h>.
1777 (memcpy): Don't use BP_SYM.
1778 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1779 <bp-asm.h>.
1780 (memset): Don't use BP_SYM.
1781 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1782 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1783 (__bzero): Don't use BP_SYM.
1784 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1785 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1786 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1787 <bp-sym.h> and <bp-asm.h>.
1788 (memcmp): Don't use BP_SYM. Remove comment about bounded
1789 pointers.
1790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1791 <bp-sym.h> and <bp-asm.h>.
1792 (memcpy): Don't use BP_SYM.
1793 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1794 <bp-sym.h> and <bp-asm.h>.
1795 (memset): Don't use BP_SYM.
1796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1798 (__bzero): Don't use BP_SYM.
1799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1802 <bp-sym.h> and <bp-asm.h>.
1803 (strncmp): Don't use BP_SYM. Remove comment about bounded
1804 pointers.
1805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1806 <bp-sym.h> and <bp-asm.h>.
1807 (memcpy): Don't use BP_SYM.
1808 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1809 <bp-sym.h> and <bp-asm.h>.
1810 (memset): Don't use BP_SYM.
1811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1813 (__bzero): Don't use BP_SYM.
1814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1817 <bp-sym.h> and <bp-asm.h>.
1818 (__memchr): Don't use BP_SYM.
1819 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1820 <bp-sym.h> and <bp-asm.h>.
1821 (memcmp): Don't use BP_SYM. Remove comment about bounded
1822 pointers.
1823 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1824 <bp-sym.h> and <bp-asm.h>.
1825 (memcpy): Don't use BP_SYM.
1826 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (__mempcpy): Don't use BP_SYM.
1829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (__memrchr): Don't use BP_SYM.
1832 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1833 <bp-sym.h> and <bp-asm.h>.
1834 (memset): Don't use BP_SYM.
1835 (__bzero): Likewise.
1836 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1837 <bp-sym.h> and <bp-asm.h>.
1838 (__rawmemchr): Don't use BP_SYM.
1839 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1840 <bp-sym.h> and <bp-asm.h>.
1841 (__STRCMP): Don't use BP_SYM.
1842 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1843 <bp-sym.h> and <bp-asm.h>.
1844 (strchr): Don't use BP_SYM.
1845 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1846 <bp-sym.h> and <bp-asm.h>.
1847 (__strchrnul): Don't use BP_SYM.
1848 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1849 <bp-sym.h> and <bp-asm.h>.
1850 (strlen): Don't use BP_SYM.
1851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1852 <bp-sym.h> and <bp-asm.h>.
1853 (strncmp): Don't use BP_SYM. Remove comment about bounded
1854 pointers.
1855 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1856 <bp-sym.h> and <bp-asm.h>.
1857 (__strnlen): Don't use BP_SYM.
1858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1859 <bp-sym.h> and <bp-asm.h>.
1860 (__GI__setjmp): Don't use BP_SYM.
1861 (_setjmp): Likewise.
1862 (__sigsetjmp): Likewise.
1863 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1864 (L(start_addresses)): Don't use BP_SYM.
1865 (_start): Likewise.
1866 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1867 <bp-asm.h>.
1868 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1869 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1870 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1871 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1872 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1873 <bp-asm.h>.
1874 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1875 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1876 about bounded pointers.
1877 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1878 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1879 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1880 <bp-asm.h>.
1881 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1882 about bounded pointers. Remove GKM FIXME comments.
1883 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1884 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1885 <bp-asm.h>.
1886 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1887 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1888 Remove GKM FIXME comments.
1889 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1890 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1891 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1892 <bp-asm.h>.
1893 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1894 about bounded pointers. Remove GKM FIXME comment.
1895 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1896 and <bp-asm.h>.
1897 (strncmp): Don't use BP_SYM. Remove comment about bounded
1898 pointers.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1900 <bp-sym.h> and <bp-asm.h>.
1901 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1903 <bp-sym.h> and <bp-asm.h>.
1904 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1905 comment.
1906
cdcf361f
PP
19072013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1908
1909 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1910 call free(NULL).
1911
3c4a2b15
DM
19122013-03-05 David S. Miller <davem@davemloft.net>
1913
1914 * po/es.po: Update from translation team.
1915
cdcf361f 19162013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1917
1918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1919 <bits/mman-linux.h>.
1920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1921 is fine.
1922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1923 <bits/mman-linux.h> to end of file.
1924 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1925 is fine.
1926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1927 <bits/mman-linux.h> to end of file.
1928 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1929 is fine.
1930 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1931 <bits/mman-linux.h> to end of file.
1932
1933 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1934 (MCL_CURRENT, MCL_FUTURE): Define here.
1935
5f67c04f
AK
19362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1937
8a4473cc 1938 [BZ #15232]
5f67c04f
AK
1939 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1940 attribute_hidden.
1941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1942
c3e94a95
AK
19432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1944
1945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1946 fourth parameter needed for rt_sigprocmask syscall.
1947 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1948 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1953
cfb6382a
JM
19542013-03-04 Joseph Myers <joseph@codesourcery.com>
1955
1956 [BZ #13550]
1957 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1958 comment about bounded pointers.
1959 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1960 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1961
539d8e01
AJ
19622013-03-04 Andreas Jaeger <aj@suse.de>
1963
1964 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1965 common definitions.
1966
1967 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1968 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1969 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1973
2e167a70 19742013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1975
1976 [BZ #15055]
1977 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1978 __ieee754_sqrl instead of __sqrl.
1979
68508633
JM
19802013-03-01 Joseph Myers <joseph@codesourcery.com>
1981
1982 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1983 * sysdeps/powerpc/fpu_control.h: ... here.
1984 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1985 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1986 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1987 * sysdeps/powerpc/bits/mathinline.h: ... here.
1988
7775448e
RM
19892013-03-01 Roland McGrath <roland@hack.frob.com>
1990
1991 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1992 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1993 to just [NEED_DL_SYSINFO_DSO].
1994 * elf/dl-support.c: Likewise.
1995 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1996 * elf/rtld.c (dl_main): Likewise.
1997 * elf/setup-vdso.h (setup_vdso): Likewise.
1998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1999 * sysdeps/unix/sysv/linux/dl-sysdep.c
2000 (_dl_discover_osversion): Likewise.
2001
4e9b5995
CD
20022013-03-01 Carlos O'Donell <carlos@redhat.com>
2003
2004 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2005 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2006
e23872c8
SP
20072013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2008
e5c74c63
SP
2009 * NEWS: Mention libm performance improvements and non-x86 PI
2010 futex support.
2011
e23872c8
SP
2012 * csu/libc-start.c (__pthread_initialize_minimal): Change
2013 function arguments.
2014 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2015
b5510883
JM
20162013-02-28 Joseph Myers <joseph@codesourcery.com>
2017
2018 [BZ #13550]
2019 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2020 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2021 <bp-sym.h> and <bp-asm.h>.
2022 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2024 and <bp-asm.h>.
2025 (memcpy): Don't use BP_SYM.
2026 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2027 <bp-asm.h>.
2028 (__mpn_add_n): Don't use BP_SYM.
2029 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2030 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2031 and <bp-asm.h>.
2032 (__mpn_addmul_1): Don't use BP_SYM.
2033 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2035 <bp-sym.h>.
2036 (_setjmp): Don't use BP_SYM.
2037 (__novmx_setjmp): Likewise.
2038 (__GI__setjmp): Likewise.
2039 (__vmx_setjmp): Likewise.
2040 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2041 <bp-sym.h>.
2042 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2043 (__bzero): Don't use BP_SYM.
2044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2046 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2047 <bp-sym.h> and <bp-asm.h>.
2048 (memcpy): Don't use BP_SYM.
2049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2050 <bp-sym.h> and <bp-asm.h>.
2051 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2053 <bp-sym.h> and <bp-asm.h>.
2054 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2055 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2056 <bp-asm.h>.
2057 (__mpn_lshift): Don't use BP_SYM.
2058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2059 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2060 <bp-asm.h>.
2061 (memset): Don't use BP_SYM.
2062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2064 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2065 <bp-asm.h>.
2066 (__mpn_mul_1): Don't use BP_SYM.
2067 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2069 <bp-sym.h> and <bp-asm.h>.
2070 (memcmp): Don't use BP_SYM.
2071 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2072 <bp-sym.h> and <bp-asm.h>.
2073 (memcpy): Don't use BP_SYM.
2074 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2075 <bp-sym.h> and <bp-asm.h>.
2076 (memset): Don't use BP_SYM.
2077 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2078 <bp-sym.h> and <bp-asm.h>.
2079 (strncmp): Don't use BP_SYM.
2080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2081 <bp-sym.h> and <bp-asm.h>.
2082 (memcpy): Don't use BP_SYM.
2083 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2084 <bp-sym.h> and <bp-asm.h>.
2085 (memset): Don't use BP_SYM.
2086 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2087 <bp-sym.h> and <bp-asm.h>.
2088 (__memchr): Don't use BP_SYM.
2089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2090 <bp-sym.h> and <bp-asm.h>.
2091 (memcmp): Don't use BP_SYM.
2092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2093 <bp-sym.h> and <bp-asm.h>.
2094 (memcpy): Don't use BP_SYM.
2095 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2096 <bp-sym.h> and <bp-asm.h>.
2097 (__mempcpy): Don't use BP_SYM.
2098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2099 <bp-sym.h> and <bp-asm.h>.
2100 (__memrchr): Don't use BP_SYM.
2101 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2102 <bp-sym.h> and <bp-asm.h>.
2103 (memset): Don't use BP_SYM.
2104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2105 <bp-sym.h> and <bp-asm.h>.
2106 (__rawmemchr): Don't use BP_SYM.
2107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2108 <bp-sym.h> and <bp-asm.h>.
2109 (__STRCMP): Don't use BP_SYM.
2110 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2111 <bp-sym.h> and <bp-asm.h>.
2112 (strchr): Don't use BP_SYM.
2113 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2114 <bp-sym.h> and <bp-asm.h>.
2115 (__strchrnul): Don't use BP_SYM.
2116 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2117 <bp-sym.h> and <bp-asm.h>.
2118 (strlen): Don't use BP_SYM.
2119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2120 <bp-sym.h> and <bp-asm.h>.
2121 (strncmp): Don't use BP_SYM.
2122 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2123 <bp-sym.h> and <bp-asm.h>.
2124 (__strnlen): Don't use BP_SYM.
2125 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2126 <bp-asm.h>.
2127 (__mpn_rshift): Don't use BP_SYM.
2128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2129 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2130 <bp-sym.h> and <bp-asm.h>.
2131 (__sigsetjmp): Don't use BP_SYM.
2132 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2133 (L(start_addresses)): Don't use BP_SYM.
2134 (_start): Likewise.
2135 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2136 <bp-asm.h>.
2137 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2138 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2139 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2140 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2141 <bp-asm.h>.
2142 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2143 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2144 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2145 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2146 <bp-asm.h>.
2147 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2148 comments.
2149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2150 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2151 <bp-asm.h>.
2152 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2153 FIXME comments.
2154 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2155 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2156 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2157 <bp-asm.h>.
2158 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2159 comment.
2160 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2161 and <bp-asm.h>.
2162 (strncmp): Don't use BP_SYM,
2163 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2164 <bp-asm.h>.
2165 (__mpn_sub_n): Don't use BP_SYM.
2166 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2167 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2168 and <bp-asm.h>.
2169 (__mpn_submul_1): Don't use BP_SYM.
2170 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2172 <bp-sym.h> and <bp-asm.h>.
2173 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2175 <bp-sym.h> and <bp-asm.h>.
2176 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2177 comment.
2178
8d19fe64
SP
21792013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2180
2181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2182 Use ZK to minimize writes to Z.
2183 (sub_magnitudes): Simplify code a bit.
2184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2185 Use ZK to minimize writes to Z.
2186 (sub_magnitudes): Simplify code a bit.
2187
85bd816a
RM
21882013-02-27 Roland McGrath <roland@hack.frob.com>
2189
2190 * csu/gmon-start.c: Add special exception to license text.
2191
b5977bf2
RH
21922013-02-27 Richard Henderson <rth@redhat.com>
2193
2194 * scripts/config.guess: Update from config.git.
2195 * scripts/config.sub: Likewise.
2196
11d6e2f2
SP
21972013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2198
09c14ed2
SP
2199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2200
a688864e
SP
2201 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2202
6295157a
SP
2203 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2204
b8de2202
SP
2205 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2206
11d6e2f2
SP
2207 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2208
7e80ddb8
RM
22092013-02-26 Roland McGrath <roland@hack.frob.com>
2210
2211 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2212 [$(build-shared = yes].
7e80ddb8 2213
7da6d9ed
SP
22142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2215
45f05884
SP
2216 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2217 (__mul): Reduce iterations for calculating mantissa.
2218
2236d359
SP
2219 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2220 MPTWO.
2221 (__mpranred): Likewise.
2222
7da6d9ed
SP
2223 [BZ #15160]
2224 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2225 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2226
b7688c42
PE
22272013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2228
2229 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2230 Define __attribute__.
2231
53a5c423
SP
22322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2233
2234 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2235 unused.
2236 * posix/regex_internal.h (__attribute): Remove.
2237 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2238 (re_string_context_at): Likewise.
2239 (bitset_not): Use __attribute__ and mark function as possibly
2240 unused.
2241 (bitset_merge): Likewise.
2242 (bitset_mask): Likewise.
2243 (re_string_char_size_at): Likewise.
2244 (re_string_wchar_at): Likewise.
2245 (re_string_elem_size_at): Likewise.
2246
60f5a8b5
SP
22472013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2248
2a983a2e
SP
2249 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2250 code.
2251 (cc32): Likewise.
2252
e69804d1
SP
2253 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2254 (__acr): Likewise.
2255 (__cpy): Likewise.
2256 (norm): Likewise.
2257 (denorm): Likewise.
2258 (__dbl_mp): Likewise.
2259 (add_magnitudes): Likewise.
2260 (sub_magnitudes): Likewise.
2261 (__mul): Likewise.
2262 (__inv): Likewise.
2263
2f22a1e8
SP
2264 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2265 style.
2266
8930ddc7
SP
2267 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2268 style.
2269
dc60cb11
SP
2270 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2271 code.
2272
60f5a8b5
SP
2273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2274 up changes with default code.
2275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2276 Likewise.
2277
b4d1fd33
AM
22782013-02-24 Allan McRae <allan@archlinux.org>
2279
faf6f8bc
AM
2280 * manual/socket.texi (The Internet Namespace): Order menu items
2281 to match that in the file.
2282
b4d1fd33
AM
2283 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2284 node listing of the info page menu.
2285
2366713d
JM
22862013-02-21 Joseph Myers <joseph@codesourcery.com>
2287
2288 [BZ #13550]
2289 * sysdeps/i386/bp-asm.h: Remove file.
2290 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2291 (PARMS): Do not use macros from bp-asm.h.
2292 (S1): Likewise.
2293 (S2): Likewise.
2294 (SIZE): Likewise.
2295 (__mpn_add_n): Do not use BP_SYM
2296 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2297 "bp-asm.h".
2298 (PARMS): Do not use macros from bp-asm.h.
2299 (S1): Likewise.
2300 (SIZE): Likewise.
2301 (__mpn_addmul_1): Do not use BP_SYM
2302 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2303 "bp-asm.h".
2304 (PARMS): Do not use macros from bp-asm.h.
2305 (SIGMSK): Likewise.
2306 (_setjmp): Likewise. Do not use BP_SYM.
2307 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2308 "bp-asm.h".
2309 (PARMS): Do not use macros from bp-asm.h.
2310 (SIGMSK): Likewise.
2311 (setjmp): Likewise. Do not use BP_SYM.
2312 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2313 "bp-asm.h".
2314 (PARMS): Do not use macros from bp-asm.h.
2315 (__frexp): Do not use BP_SYM.
2316 (frexp): Likewise.
2317 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2318 "bp-asm.h".
2319 (PARMS): Do not use macros from bp-asm.h.
2320 (__frexpf): Do not use BP_SYM.
2321 (frexpf): Likewise.
2322 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2323 "bp-asm.h".
2324 (PARMS): Do not use macros from bp-asm.h.
2325 (__frexpl): Do not use BP_SYM.
2326 (frexpl): Likewise.
2327 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2328 "bp-asm.h".
2329 (PARMS): Do not use macros from bp-asm.h.
2330 (__remquo): Do not use BP_SYM.
2331 (remquo): Likewise.
2332 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2333 "bp-asm.h".
2334 (PARMS): Do not use macros from bp-asm.h.
2335 (__remquof): Do not use BP_SYM.
2336 (remquof): Likewise.
2337 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2338 "bp-asm.h".
2339 (PARMS): Do not use macros from bp-asm.h.
2340 (__remquol): Do not use BP_SYM.
2341 (remquol): Likewise.
2342 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2343 "bp-asm.h".
2344 (PARMS): Do not use macros from bp-asm.h.
2345 (DEST): Likewise.
2346 (SRC): Likewise.
2347 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2348 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2349 "bp-asm.h".
2350 (PARMS): Do not use macros from bp-asm.h.
2351 (strlen): Do not use BP_SYM.
2352 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
2357 (SIZE): Likewise.
2358 (__mpn_add_n): Do not use BP_SYM.
2359 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2360 "bp-asm.h".
2361 (PARMS): Do not use macros from bp-asm.h.
2362 (S1): Likewise.
2363 (SIZE): Likewise.
2364 (__mpn_addmul_1): Do not use BP_SYM.
2365 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2366 weak_alias.
2367 (bzero): Likewise.
2368 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2369 "bp-asm.h".
2370 (PARMS): Do not use macros from bp-asm.h.
2371 (S): Likewise.
2372 (SIZE): Likewise.
2373 (__mpn_lshift): Do not use BP_SYM.
2374 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2375 "bp-asm.h".
2376 (PARMS): Do not use macros from bp-asm.h.
2377 (DEST): Likewise.
2378 (SRC): Likewise.
2379 (LEN): Likewise.
2380 (memcpy): Likewise. Do not use BP_SYM.
2381 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2382 libc_hidden_def and weak_alias.
2383 (mempcpy): Do not use BP_SYM in weak_alias.
2384 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2385 "bp-asm.h".
2386 (PARMS): Do not use macros from bp-asm.h.
2387 (DEST): Likewise.
2388 (LEN): Likewise.
2389 [!BZERO_P] (CHR): Likewise.
2390 (memset): Likewise. Do not use BP_SYM.
2391 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2392 "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2394 (S1): Likewise.
2395 (SIZE): Likewise.
2396 (__mpn_mul_1): Do not use BP_SYM.
2397 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2398 "bp-asm.h".
2399 (PARMS): Do not use macros from bp-asm.h.
2400 (S): Likewise.
2401 (SIZE): Likewise.
2402 (__mpn_rshift): Do not use BP_SYM.
2403 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2404 "bp-asm.h".
2405 (PARMS): Do not use macros from bp-asm.h.
2406 (STR): Likewise.
2407 (CHR): Likewise.
2408 (strchr): Likewise. Do not use BP_SYM.
2409 (index): Do not use BP_SYM in weak_alias.
2410 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2411 "bp-asm.h".
2412 (PARMS): Do not use macros from bp-asm.h.
2413 (DEST): Likewise.
2414 (SRC): Likewise.
2415 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2416 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2417 "bp-asm.h".
2418 (PARMS): Do not use macros from bp-asm.h.
2419 (strlen): Do not use BP_SYM.
2420 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
2425 (SIZE): Likewise.
2426 (__mpn_sub_n): Do not use BP_SYM.
2427 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2428 "bp-asm.h".
2429 (PARMS): Do not use macros from bp-asm.h.
2430 (S1): Likewise.
2431 (SIZE): Likewise.
2432 (__mpn_submul_1): Do not use BP_SYM.
2433 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2434 "bp-asm.h".
2435 (PARMS): Do not use macros from bp-asm.h.
2436 (S1): Likewise.
2437 (S2): Likewise.
2438 (SIZE): Likewise.
2439 (__mpn_add_n): Do not use BP_SYM.
2440 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2441 weak_alias.
2442 (bzero): Likewise.
2443 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2444 "bp-asm.h".
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (BLK2): Likewise.
2447 (LEN): Likewise.
2448 (memcmp): Do not use BP_SYM.
2449 (bcmp): Do not use BP_SYM in weak_alias.
2450 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
2457 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
2464 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2465 "bp-asm.h".
2466 (PARMS): Do not use macros from bp-asm.h.
2467 (DEST): Likewise.
2468 (SRC): Likewise.
2469 (LEN): Likewise.
2470 (__mempcpy): Likewise. Do not use BP_SYM.
2471 (mempcpy): Do not use BP_SYM in weak_alias.
2472 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2473 "bp-asm.h".
2474 (PARMS): Do not use macros from bp-asm.h.
2475 (DEST): Likewise.
2476 (LEN): Likewise.
2477 [!BZERO_P] (CHR): Likewise.
2478 (memset): Likewise. Do not use BP_SYM.
2479 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2480 "bp-asm.h".
2481 (PARMS): Do not use macros from bp-asm.h.
2482 (STR2): Likewise.
2483 (strcmp): Do not use BP_SYM.
2484 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2485 "bp-asm.h".
2486 (PARMS): Do not use macros from bp-asm.h.
2487 (STR): Likewise.
2488 (DELIM): Likewise.
2489 [USE_AS_STRTOK_R] (SAVE): Likewise.
2490 (FUNCTION): Likewise. Do not use BP_SYM.
2491 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2492 aliases.
2493 (strtok_r): Likewise.
2494 (__GI___strtok_r): Likewise.
2495 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2496 (PARMS): Do not use macros from bp-asm.h.
2497 (S): Likewise.
2498 (SIZE): Likewise.
2499 (__mpn_lshift): Do not use BP_SYM.
2500 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2501 (PARMS): Do not use macros from bp-asm.h.
2502 (STR): Likewise.
2503 (CHR): Likewise.
2504 (__memchr): Do not use BP_SYM.
2505 (memchr): Do not use BP_SYM in weak_alias.
2506 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2507 (PARMS): Do not use macros from bp-asm.h.
2508 (BLK2): Likewise.
2509 (LEN): Likewise.
2510 (memcmp): Do not use BP_SYM.
2511 (bcmp): Do not use BP_SYM in weak_alias.
2512 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2513 (PARMS): Do not use macros from bp-asm.h.
2514 (S1): Likewise.
2515 (SIZE): Likewise.
2516 (__mpn_mul_1): Do not use BP_SYM.
2517 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2518 "bp-asm.h".
2519 (PARMS): Do not use macros from bp-asm.h.
2520 (STR): Likewise.
2521 (CHR): Likewise.
2522 (__rawmemchr): Do not use BP_SYM.
2523 (rawmemchr): Do not use BP_SYM in weak_alias.
2524 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2525 (PARMS): Do not use macros from bp-asm.h.
2526 (S): Likewise.
2527 (SIZE): Likewise.
2528 (__mpn_rshift): Do not use BP_SYM.
2529 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2530 (PARMS): Do not use macros from bp-asm.h.
2531 (SIGMSK): Likewise.
2532 (__sigsetjmp): Likewise. Do not use BP_SYM.
2533 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2534 (_start): Do not use BP_SYM.
2535 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2536 (PARMS): Do not use macros from bp-asm.h.
2537 (DEST): Likewise.
2538 (SRC): Likewise.
2539 (__stpcpy): Likewise. Do not use BP_SYM.
2540 (stpcpy): Do not use BP_SYM in weak_alias.
2541 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2542 "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2544 (DEST): Likewise.
2545 (SRC): Likewise.
2546 (LEN): Likewise.
2547 (__stpncpy): Likewise. Do not use BP_SYM.
2548 (stpncpy): Do not use BP_SYM in weak_alias.
2549 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2550 (PARMS): Do not use macros from bp-asm.h.
2551 (STR): Likewise.
2552 (CHR): Likewise.
2553 (strchr): Likewise. Do not use BP_SYM.
2554 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2555 "bp-asm.h".
2556 (PARMS): Do not use macros from bp-asm.h.
2557 (STR): Likewise.
2558 (CHR): Likewise.
2559 (__strchrnul): Likewise. Do not use BP_SYM.
2560 (strchrnul): Do not use BP_SYM in weak_alias.
2561 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2562 "bp-asm.h".
2563 (PARMS): Do not use macros from bp-asm.h.
2564 (STOP): Likewise.
2565 (strcspn): Do not use BP_SYM.
2566 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2567 "bp-asm.h".
2568 (PARMS): Do not use macros from bp-asm.h.
2569 (STR): Likewise.
2570 (STOP): Likewise.
2571 (strpbrk): Likewise. Do not use BP_SYM.
2572 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2573 "bp-asm.h".
2574 (PARMS): Do not use macros from bp-asm.h.
2575 (STR): Likewise.
2576 (CHR): Likewise.
2577 (strrchr): Likewise. Do not use BP_SYM.
2578 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2579 (PARMS): Do not use macros from bp-asm.h.
2580 (SKIP): Likewise.
2581 (strspn): Do not use BP_SYM.
2582 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2583 (PARMS): Do not use macros from bp-asm.h.
2584 (STR): Likewise.
2585 (DELIM): Likewise.
2586 (SAVE): Likewise.
2587 (FUNCTION): Likewise. Do not use BP_SYM.
2588 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2589 aliases.
2590 (strtok_r): Likewise.
2591 (__GI___strtok_r): Likewise.
2592 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2593 (PARMS): Do not use macros from bp-asm.h.
2594 (S1): Likewise.
2595 (S2): Likewise.
2596 (SIZE): Likewise.
2597 (__mpn_sub_n): Do not use BP_SYM.
2598 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2599 "bp-asm.h".
2600 (PARMS): Do not use macros from bp-asm.h.
2601 (S1): Likewise.
2602 (SIZE): Likewise.
2603 (__mpn_submul_1): Do not use BP_SYM.
2604 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2605 <bp-sym.h>.
2606 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2607 and <bp-asm.h>.
2608 (PARMS): Do not use macros from bp-asm.h.
2609 (FLAGS): Likewise.
2610 (PTID): Likewise.
2611 (TLS): Likewise.
2612 (CTID): Likewise.
2613 (__clone): Do not use BP_SYM.
2614 (clone): Do not use BP_SYM in weak_alias.
2615 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2616 and <bp-asm.h>.
2617 (PARMS): Do not use macros from bp-asm.h.
2618 (LEN): Likewise.
2619 (__mmap64): Do not use BP_SYM.
2620 (mmap64): Do not use BP_SYM in weak_alias.
2621 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2622 <bp-sym.h> and <bp-asm.h>.
2623 (PARMS): Do not use macros from bp-asm.h.
2624 (__posix_fadvise64_l64): Do not use BP_SYM.
2625 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2626 (PARMS): Do not use macros from bp-asm.h.
2627 (NSOPS): Likewise.
2628 (semtimedop): Do not use BP_SYM.
2629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2630 and <bp-asm.h>.
2631
582a3cff
AM
26322013-02-21 Allan McRae <allan@archlinux.org>
2633
2634 * manual/message.texi (Charset conversion in gettext):
2635 Move @end statement to beginning of line.
2636
bab8a695
SP
26372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2638
80945231
SP
2639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2640 static.
2641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2642 Likewise.
2643
bab8a695
SP
2644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2645 (denorm): Likewise.
2646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2648
e21d7aa7
AK
26492013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2650
2651 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2652 tail-call to the resolved function if pltexit isn't needed.
2653
4c7a4263
SP
26542013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
2656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2657 or Y being zero as being unlikely.
2658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2659 Likewise.
2660
41f49342
CD
26612013-02-20 Carlos O'Donell <carlos@redhat.com>
2662
2663 * manual/nss.texi (System Databases and Name Service Switch):
2664 Remove frobnicate @pxref.
2665
50022a93
TS
26662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2667
2668 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2669 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2670
08cbd996
PM
26712013-02-20 Petr Machata <pmachata@redhat.com>
2672
2673 * elf/elf.h (R_ARM_TARGET1): New macro.
2674 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2675 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2676 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2677 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2678 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2679 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2680 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2681 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2682 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2683 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2684 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2685 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2686 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2687 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2688 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2689 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2690 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2691 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2692 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2693 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2694 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2695 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2696 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2697 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2698 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2699 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2700 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2701 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2702 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2703 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2704 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2705 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2706 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2707 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2708 (R_ARM_THM_GOT_BREL12): Likewise.
2709 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2710 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2711 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2712 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2713 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2714 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2715 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2716 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2717 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2718
c7b275d6
TS
27192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2720
2721 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2722 __attribute_used__ to __attribute__ ((unused)).
2723
20cd7fb3
SP
27242013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2725
2726 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2727 powerpc mpa.c.
2728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2729 comment formatting.
2730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2731
92945b52
JM
27322013-02-19 Joseph Myers <joseph@codesourcery.com>
2733
2734 [BZ #13550]
2735 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2736 Remove macro.
2737 (ENTER): Remove both macro definitions.
2738 (LEAVE): Likewise.
2739 (CHECK_BOUNDS_LOW): Likewise.
2740 (CHECK_BOUNDS_HIGH): Likewise.
2741 (CHECK_BOUNDS_BOTH): Likewise.
2742 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2743 (RETURN_BOUNDED_POINTER): Likewise.
2744 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2745 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2746 (POP_ERRNO_LOCATION_RETURN): Likewise.
2747 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2748 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2749 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2750 macros.
2751 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2752 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2753 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2754 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2755 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2756 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2757 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2758 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2759 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2760 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2761 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2762 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2764 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2765 removed macros.
2766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2767 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2768 macros.
2769 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2771 * sysdeps/i386/i586/memset.S (memset): Likewise.
2772 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2773 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2774 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2775 macros.
2776 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2777 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2778 Change uses of L(2) to L(out).
2779 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2780 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2781 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2782 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2783 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2784 removed macros.
2785 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2786 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2787 macros.
2788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2789 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2790 (RETURN): Do not use macro LEAVE.
2791 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2792 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2793 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2794 * sysdeps/i386/i686/memset.S (memset): Likewise.
2795 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2796 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2797 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2798 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2799 Likewise.
2800 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2801 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2802 L(1_2) and L(1_3) into L(1).
2803 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2804 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2805 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2806 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2807 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2808 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2809 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2810 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2812 macros.
2813 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2814 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2815 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2816 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2817 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2818 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2819 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2820 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2821 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2822 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2823 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2824 * sysdeps/i386/strspn.S (strspn): Likewise.
2825 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2826 conditional code.
2827 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2828 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2829 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2830 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2831 L(1_3) into L(1_1).
2832 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2833 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2834 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2835 macros.
2836 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2837
2389741a
JJ
28382013-02-19 Jakub Jelinek <jakub@redhat.com>
2839
2840 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2841 macro.
2842
2016b3cd
SP
28432013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2844
e4f22324
SP
2845 * math/atest-exp.c (exp_mpn): Remove ROUND.
2846 * math/atest-exp2.c (exp_mpn): Likewise.
2847 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2848
2016b3cd
SP
2849 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2850 * stdlib/tst-tls-atexit-lib.c: Likewise.
2851 * stdlib/tst-tls-atexit.c: Likewise.
2852
4be9b544
MF
28532013-02-18 Mike Frysinger <vapier@gentoo.org>
2854
2855 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2856 and __attribute_alloc_size__.
2857
2f62b9ee
MF
28582013-02-18 Mike Frysinger <vapier@gentoo.org>
2859
2860 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2861 __attribute_alloc_size__.
2862 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2863 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2864
6ff444c4
MF
28652013-02-18 Mike Frysinger <vapier@gentoo.org>
2866
2867 * include/programs/xmalloc.h: New file.
2868 * catgets/gencat.c: Include it.
2869 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2870 * elf/pldd.c: Likewise.
2871 * iconv/iconv_charmap.c: Likewise.
2872 * iconv/iconvconfig.c: Likewise.
2873 * iconv/strtab.c: Likewise.
2874 * locale/programs/locale.c: Likewise.
2875 * locale/programs/localedef.h: Likewise.
2876 * locale/programs/simple-hash.c: Likewise.
2877 * nscd/nscd.h: Likewise.
2878 * nss/makedb.c: Likewise.
2879 * sysdeps/generic/ldconfig.h: Likewise.
2880
be179c8a
SP
28812013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2882
ba384f6e
SP
2883 * Versions.def: Add GLIBC_2.18.
2884 * include/link.h (struct link_map): New member l_tls_dtor_count.
2885 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2886 (__call_tls_dtors): Likewise.
2887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2888 __cxa_thread_atexit_impl.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2890 Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2892 Likewise.
2893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2896 Likewise.
2897 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2901 Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2904 Likewise.
2905 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2906 (tests): Add test case tst-tls-atexit.
2907 (modules-names): Add shared library for tst-tls-atexit.
2908 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2909 (GLIBC_PRIVATE): Add __call_tls_dtors.
2910 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2911 for libstdc++.
2912 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2913 * stdlib/tst-tls-atexit.c: New test case.
2914 * stdlib/tst-tls-atexit-lib.c: New test case.
2915
ffaa74cf 2916 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2917
be179c8a
SP
2918 * elf/Versions (ld): Add _dl_find_dso_for_object.
2919 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2920 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2921 (dl_open_worker): Use _dl_find_dso_for_object.
2922 * elf/dl-sym.c (do_sym): Likewise.
2923 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2924
f78b5caa
AK
29252013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2926
2927 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2928 Syntactic changes only.
2929 (_dl_runtime_profile): Do a tail-call to the resolved function.
2930
29691210
JM
29312013-02-17 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #13550]
2934 * sysdeps/x86_64/bp-asm.h: Remove file.
2935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2936 <bp-sym.h> and <bp-asm.h>.
2937 (__clone): Do not use BP_SYM.
2938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2939 <bp-sym.h> and <bp-asm.h>.
2940 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2941 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2942 "bp-asm.h".
2943 (_setjmp): Do not use BP_SYM.
2944 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2945 "bp-asm.h".
2946 (setjmp): Do not use BP_SYM.
2947 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2948 libc_hidden_def.
2949 (mempcpy): Do not use BP_SYM in weak_alias.
2950 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2951 "bp-asm.h".
2952 (strchr): Do not use BP_SYM.
2953 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2954 "bp-asm.h".
2955 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2956 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2957 (_start): Do not use BP_SYM.
2958 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2959 "bp-asm.h".
2960 (strcat): Do not use BP_SYM.
2961 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2962 "bp-asm.h".
2963 (STRCMP): Do not use BP_SYM.
2964 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2965 "bp-asm.h".
2966 (STRCPY): Do not use BP_SYM.
2967 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2968 "bp-asm.h".
2969 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2970 "bp-asm.h".
2971 (FUNCTION): Do not use BP_SYM.
2972 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2973 weak_alias.
2974 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2975
f238fd19
AJ
29762013-02-17 Andreas Jaeger <aj@suse.de>
2977
2978 * time/Versions: Sort entries.
2979 * string/Versions: Likewise.
2980 * resolv/Versions: Likewise.
2981 * posix/Versions: Likewise.
2982 * iconv/Versions: Likewise.
2983 * elf/Versions: Likewise.
2984 * wcsmbs/Versions: Likewise.
2985
bd07f23c 29862013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2987
22af19f9
SP
2988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2989 loop termination condition.
2990
4709fe76
SP
2991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2992 variable to calculate EZ.
2993 (__sqr): Likewise.
2d0e0f29
SP
2994
2995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2996 the lower precision input.
2997
daaa7713
JM
29982013-02-15 Joseph Myers <joseph@codesourcery.com>
2999
3000 [BZ #13550]
3001 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3002 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3003 (run-via-rtld-prefix): Do not handle %-bp tests.
3004 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3005 (all-object-suffixes): Remove .ob.
3006 (bppfx): Remove variable.
3007 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3008 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3009 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3010 [$(build-bounded) = yes] (libtype.ob): Likewise.
3011 * Makerules (elide-routines.ob): Remove variable.
3012 (do-tests-clean): Do not handle *-bp.out.
3013 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3014 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3015 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3016 (tests): Do not include $(tests-bp.out).
3017 (xtests): Do not include $(xtests-bp.out).
3018 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3019 [$(build-bounded) = yes] ($(addprefix
3020 $(objpfx),$(binaries-bounded))): Remove rule.
3021 ($(objpfx)%-bp.out): Remove rule.
3022 * config.make.in (build-bounded): Remove variable.
3023 * crypt/Makefile [$(build-bounded) = yes]
3024 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3025 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3026 append to variable.
3027 [$(build-bounded) = yes] (install-lib): Likewise.
3028 [$(build-bounded) = yes] (generated): Likewise.
3029 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3030 Remove rule.
3031 * intl/Makefile [$(build-bounded) = yes]
3032 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3033 * math/Makefile [$(build-bounded) = yes]
3034 ($(tests:%=$(objpfx)%-bp): Likewise.
3035 * misc/Makefile [$(build-bounded) = yes]
3036 ($(objpfx)tst-tsearch-bp): Likewise.
3037 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3038 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3039 Remove dependency.
3040 * string/Makefile (o-objects.ob): Remove variable.
3041 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3042 (CFLAGS-.ob): Remove variable.
3043 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3044 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3045 both definitions of variable.
3046 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3047 (ASFLAGS-.ob): Remove variable.
3048
e97ed6dd
JM
30492013-02-14 Joseph Myers <joseph@codesourcery.com>
3050
2bdd4ca6
JM
3051 [BZ #13550]
3052 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3053 Remove __BOUNDED_POINTERS__ from condition.
3054 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3055 * string/bits/string2.h [!__NO_STRING_INLINES &&
3056 !__BOUNDED_POINTERS__]: Likewise.
3057 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3060 Remove conditional code.
3061 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3062 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3063 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3064 condition.
3065
e97ed6dd
JM
3066 [BZ #13550]
3067 * csu/libc-start.c: Do not include <bp-sym.h>.
3068 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3069 * elf/dl-open.c: Do not include <bp-sym.h>.
3070 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3071 * math/fegetenv.c: Do not include <bp-sym.h>.
3072 (fegetenv): Do not use BP_SYM in versioned symbols.
3073 * nptl/sysdeps/pthread/bits/libc-lockP.h
3074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3075 <bp-sym.h>.
3076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3077 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3079 (__pthread_mutex_destroy): Likewise.
3080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3081 (__pthread_mutex_lock): Likewise.
3082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3083 (__pthread_mutex_trylock): Likewise.
3084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3085 (__pthread_mutex_unlock): Likewise.
3086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3087 (__pthread_mutexattr_init): Likewise.
3088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3089 (__pthread_mutexattr_destroy): Likewise.
3090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3091 (__pthread_mutexattr_settype): Likewise.
3092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3093 (__pthread_rwlock_init): Likewise.
3094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3095 (__pthread_rwlock_destroy): Likewise.
3096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3097 (__pthread_rwlock_rdlock): Likewise.
3098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3099 (__pthread_rwlock_tryrdlock): Likewise.
3100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3101 (__pthread_rwlock_wrlock): Likewise.
3102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3103 (__pthread_rwlock_trywrlock): Likewise.
3104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3105 (__pthread_rwlock_unlock): Likewise.
3106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3107 (__pthread_key_create): Likewise.
3108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3109 (__pthread_setspecific): Likewise.
3110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3111 (__pthread_getspecific): Likewise.
3112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3113 Likewise.
3114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3115 (_pthread_cleanup_push_defer): Likewise.
3116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3117 (_pthread_cleanup_pop_restore): Likewise.
3118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3119 (pthread_setcancelstate): Likewise.
3120 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3121 <bp-sym.h>.
3122 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3123 (memchr): Do not use BP_SYM in weak_alias.
3124 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3125 (fegetenv): Do not use BP_SYM in versioned symbols.
3126 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3127 (fesetenv): Do not use BP_SYM in versioned symbols.
3128 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3129 (feupdateenv): Do not use BP_SYM in versioned symbols.
3130 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3131 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3132 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3133 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3134 (open64): Do not use BP_SYM in weak_alias.
3135 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3136 (fegetenv): Do not use BP_SYM in versioned symbols.
3137 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3138 (fesetenv): Do not use BP_SYM in versioned symbols.
3139 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3140 (feupdateenv): Do not use BP_SYM in versioned symbols.
3141 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3142 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3143 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3144 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3145 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3147 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3148 <bp-sym.h>.
3149 (__libc_start_main): Do not use BP_SYM.
3150
d6752ccd
SP
31512013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
cb57ce60
SP
3153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3154 redundant return line.
3155 (norm): Likewise.
3156 (denorm): Likewise.
3157 (dbl_mp): Likewise.
3158 (sub_magnitudes): Likewise.
3159 (__add): Likewise.
3160 (__sub): Likewise.
3161 (__mul): Likewise.
3162 (__inv): Likewise.
3163 (__dvd): Likewise.
3164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3165 (norm): Likewise.
3166 (denorm): Likewise.
3167 (dbl_mp): Likewise.
3168 (sub_magnitudes): Likewise.
3169 (__add): Likewise.
3170 (__sub): Likewise.
3171 (__mul): Likewise.
3172 (__inv): Likewise.
3173 (__dvd): Likewise.
3174
f414520d
SP
3175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3176 instead of __mul.
3177 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3178 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3179 (cc32): Likewise.
3180
d6752ccd
SP
3181 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3182 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3184 of __mul for squares.
3185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3186 function
3187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3188 Likewise.
3189 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3190 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3191
70d9946a
JM
31922013-02-13 Joseph Myers <joseph@codesourcery.com>
3193
3194 [BZ #13550]
3195 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3196 code.
3197 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3198 prototype or function definition. Rename ubp_* variables and
3199 parameters. Remove argv definitions conditional on
3200 [__BOUNDED_POINTERS__].
3201 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3202 * elf/dl-runtime.c (_dl_fixup): Likewise.
3203 * include/set-hooks.h (RUN_HOOK): Likewise.
3204 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3205 definition.
3206 * string/strcpy.c (strcpy): Do not use __unbounded.
3207 * sysdeps/generic/frame.h (struct layout): Likewise.
3208 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3209 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3210 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3211 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3212 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3213 (__backtrace): Likewise.
3214 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3215 use __ptrvalue.
3216 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3218 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3219 Likewise.
3220 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3221 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3223 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3224 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3225 Do not use __unbounded.
3226 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3227 Rename __unboundedrlimits parameter to rlimits in prototype.
3228 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3229 Do not use __unbounded.
3230 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3231 not use __ptrvalue.
3232 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3233 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3234 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3236 __ptrvalue or __unbounded.
3237 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3238 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3239 use __unbounded.
3240 (__new_msgctl): Do not use __ptrvalue.
3241 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3242 __unbounded.
3243 (__libc_msgrcv): Do not use __ptrvalue.
3244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3245 startup_info): Do not use __unbounded.
3246 (__libc_start_main): Likewise. Rename ubp_* variables and
3247 parameters. Remove argv definitions conditional on
3248 [__BOUNDED_POINTERS__].
3249 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3250 __ptrvalue.
3251 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3252 use __unbounded.
3253 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3254 or __ptrvalue.
3255 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3256 use __unbounded.
3257 (__new_shmctl): Do not use __ptrvalue.
3258 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3259 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3260 Likewise.
3261 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3263 (__libc_sigaction): Likewise.
3264 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3265 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3268
cc7834d6
OB
32692013-02-13 Ondřej Bílka <neleai@seznam.cz>
3270
ffb1ec7b 3271 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3272
3273 * string/mempcpy.c: Implement by calling memcpy.
3274
bdf02814
SP
32752013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3276
c2af38aa
SP
3277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3278
4e92d59e
SP
3279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3280 evaluation.
3281
909279a5
SP
3282 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3283 values in the mantissa.
3284
bdf02814
SP
3285 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3286 minimize writes to Z.
3287 (sub_magnitudes): Simplify code a bit.
3288
cd525923
RM
32892013-02-12 Roland McGrath <roland@hack.frob.com>
3290
3291 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3292 from the message. The linker prefixes all warnings with that already.
3293
7e2f0d2d
AS
32942013-02-12 Andreas Schwab <schwab@suse.de>
3295
a445af0b
AS
3296 [BZ #15078]
3297 * posix/regexec.c (extend_buffers): Add parameter min_len.
3298 (check_matching): Pass minimum needed length.
3299 (clean_state_log_if_needed): Likewise.
3300 (get_subexp): Likewise.
3301 * posix/Makefile (tests): Add bug-regex34.
3302 (bug-regex34-ENV): Define.
3303 * posix/bug-regex34.c: New file.
3304
7e2f0d2d
AS
3305 [BZ #11561]
3306 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3307 elements compare against the byte sequence of it, not its name.
3308 * posix/Makefile (tests): Add bug-regex35.
3309 (bug-regex35-ENV): Define.
3310 * posix/bug-regex35.c: New file.
3311
a175b684
TV
33122013-02-11 Tom de Vries <tom@codesourcery.com>
3313
3314 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3315 comment.
3316 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3317 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3318 (CHECK_EOL): Add undef.
3319
310998fe 33202013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3321
3322 * bits/stdlib-bsearch.h: New file.
3323 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3324 * stdlib/stdlib.h: Likewise.
41eda41d 3325
8ded91fb
RM
33262013-02-11 Roland McGrath <roland@hack.frob.com>
3327
3328 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3329 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3330 declaration.
3331 * manual/search.texi (Array Search Function): Add missing const in
3332 lfind prototype.
3333 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3334 declaration to use rlim_t.
3335 (Basic Scheduling Functions): Remove erroneous const from
3336 sched_getparam prototype. Remove erroneous * from
3337 sched_get_priority_max and sched_get_priority_min prototypes.
3338 (Resource Usage): Fix summary @comment on vtimes to refer to
3339 sys/vtimes.h rather than vtimes.h.
3340 Add missing *s in vtimes prototype.
3341 (Limits on Resources): Fix ulimit prototype to return long int.
3342 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3343 prototypes to use long int rather than double.
3344 (BSD Random): Fix initstate and setstate to use char *, not void *.
3345 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3346 prototype to make second argument 'struct aiocb64 *const[]'.
3347 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3348 (Status of AIO Operations): Remove erroneous const in aio_return and
3349 aio_return64 prototypes.
3350 (Synchronizing I/O): Fix sync prototype to return void.
3351 * manual/startup.texi (Suboptions): Remove an erroneous const in
3352 getsubopt prototype.
3353 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3354 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3355 use size_t rather than int.
3356 (Scanning All Users): Likewise for getpwent_r.
3357 (Setting Groups): Add missing const to setgroups prototype.
3358 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3359 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3360 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3361 'const void *' rather than 'const char *'.
3362 (Host Address Functions): Likewise for inet_ntop.
3363 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3364 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3365 ssize_t for return value.
3366 (Sending Data): Likewise for send, sendto, sendmsg.
3367 (Socket Option Functions): Add a missing const in setsockopt prototype.
3368 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3369 use wchar_t for the argument.
3370 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3371 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3372 take no arguments.
3373 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3374 double/float/long double for second argument.
3375 Fix return types of significand, significandf, significandl.
3376 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3377 argument in fchmod prototype.
3378 (File Owner): Use uid_t and gid_t in fchown prototype.
3379 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3380 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3381 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3382 use 'const struct dirent **' as argument types to CMP function pointer
3383 argument.
3384 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3385 (File Times): Fix summary magic @comment for struct utimbuf and utime
3386 to refer to utime.h, not time.h.
3387 * manual/string.texi (Argz Functions): Add missing const in
3388 argz_extract and argz_next prototypes.
3389 (Finding Tokens in a String): Likewise for basename.
3390 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3391 (Copying and Concatenation): Fix typo in wmemmove prototype.
3392 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3393 (Signal Stack): Remove erroneous const in sigstack prototype.
3394 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3395 prototype.
3396 (Simple Calendar Time): Likewise for stime.
3397 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3398 prototype.
3399 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3400 say sys/sysctl.h instead.
3401 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3402 and vsyslog prototypes.
3403
fe77fe6d
TV
34042013-02-11 Tom de Vries <tom@codesourcery.com>
3405
3406 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3407 Remove.
3408
3a09b620
RM
34092013-02-11 Roland McGrath <roland@hack.frob.com>
3410
3411 * misc/sys/mman.h: Fix typo in mremap comment.
3412
550a0b89
RM
34132013-02-08 Roland McGrath <roland@hack.frob.com>
3414
3415 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3416 the '\0' terminator.
3417
a2da1673
JM
34182013-02-08 Joseph Myers <joseph@codesourcery.com>
3419
3420 [BZ #13550]
3421 * debug/segfault.c: Don't include <bp-checks.h>.
3422 * sysdeps/generic/bp-checks.h: Remove file.
3423 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3424 (__GETDENTS): Don't use CHECK_N.
3425 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3426 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3427 (__getgroups): Don't use CHECK_N.
3428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3429 (setgroups): Don't use CHECK_N.
3430 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3431 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3432 (__libc_msgrcv): Don't use CHECK_N.
3433 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3434 (__libc_msgsnd): Don't use CHECK_N.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3436 <bp-checks.h>.
3437 (__libc_pread): Don't use CHECK_N.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3439 include <bp-checks.h>.
3440 (__libc_pread64): Don't use CHECK_N.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3442 include <bp-checks.h>.
3443 (__libc_pwrite): Don't use CHECK_N.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3445 include <bp-checks.h>.
3446 (__libc_pwrite64): Don't use CHECK_N.
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3448 <bp-checks.h>.
3449 (__libc_pread): Don't use CHECK_N.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3451 include <bp-checks.h>.
3452 (__libc_pread64): Don't use CHECK_N.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3454 include <bp-checks.h>.
3455 (__libc_pwrite): Don't use CHECK_N.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3457 include <bp-checks.h>.
3458 (__libc_pwrite64): Don't use CHECK_N.
3459 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3460 (do_pread): Don't use CHECK_N.
3461 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3462 (do_pread64): Don't use CHECK_N.
3463 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3464 (do_pwrite): Don't use CHECK_N.
3465 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3466 (do_pwrite64): Don't use CHECK_N.
3467 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3468 (__libc_readv): Don't use CHECK_N.
3469 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3470 (semop): Don't use CHECK_N.
3471 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3472 <bp-checks.h>.
3473 (semtimedop): Don't use CHECK_N.
3474 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3475 (__libc_pread): Don't use CHECK_N.
3476 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3477 <bp-checks.h>.
3478 (__libc_pread64): Don't use CHECK_N.
3479 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3480 <bp-checks.h>.
3481 (__libc_pwrite): Don't use CHECK_N.
3482 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3483 <bp-checks.h>.
3484 (__libc_pwrite64): Don't use CHECK_N.
3485 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3486 <bp-checks.h>.
3487 (__libc_msgrcv): Don't use CHECK_N.
3488 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3489 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3490 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3491 (__libc_writev): Don't use CHECK_N.
3492
b84660a8
RM
34932013-02-08 Roland McGrath <roland@hack.frob.com>
3494
7f3e75f8
RM
3495 * string/strcpy.c: Removed unused variable.
3496
b84660a8
RM
3497 * Makeconfig (+sysdep-includes): Define with := rather than =.
3498 Use an existing include/ subdir of each sysdeps dir before it.
3499
471514d3
CD
35002013-02-08 Carlos O'Donell <carlos@redhat.com>
3501
3502 * nscd/connection.c (register_traced_file): Comment function.
3503 [HAVE_INOTIFY] (union __inev): Define.
3504 [HAVE_INOTIFY] (inotify_check_files): New function.
3505 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3506 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3507 clear_db_cache.
3508 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3509
b2d3c3be
CD
35102013-02-08 Carlos O'Donell <carlos@redhat.com>
3511
3512 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3513 loaded if not already and that a failure is permanent.
3514
b39949d2
CD
35152013-02-08 Carlos O'Donell <carlos@redhat.com>
3516
ddacd1db 3517 [BZ #15006]
b39949d2
CD
3518 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3519 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3520
b2c9eff4
JM
35212013-02-08 Joseph Myers <joseph@codesourcery.com>
3522
f3aae3f3
JM
3523 [BZ #13550]
3524 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3525 (CHECK_1_NULL_OK): Likewise.
3526 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3527 (__fxstat): Do not use CHECK_1.
3528 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3529 <bp-checks.h>.
3530 (___fxstat64): Do not use CHECK_1.
3531 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3532 <bp-checks.h>.
3533 (__fxstatat): Do not use CHECK_1.
3534 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3535 <bp-checks.h>.
3536 (__fxstatat64): Do not use CHECK_1.
3537 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3538 <bp-checks.h>.
3539 (__fxstat): Do not use CHECK_1.
3540 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3541 <bp-checks.h>.
3542 (__fxstatat): Do not use CHECK_1.
3543 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3544 <bp-checks.h>.
3545 (__getresgid): Do not use CHECK_1.
3546 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3547 <bp-checks.h>.
3548 (__getresuid): Do not use CHECK_1.
3549 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3550 <bp-checks.h>.
3551 (__lxstat): Do not use CHECK_1.
3552 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3553 <bp-checks.h>.
3554 (__old_msgctl): Do not use CHECK_1.
3555 (__new_msgctl): Likewise.
3556 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3557 <bp-checks.h>.
3558 (__new_setrlimit): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3560 <bp-checks.h>.
3561 (__old_shmctl): Do not use CHECK_1.
3562 (__new_shmctl): Likewise.
3563 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3564 <bp-checks.h>.
3565 (__xstat): Do not use CHECK_1.
3566 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3567 (__lxstat): Do not use CHECK_1.
3568 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3569 <bp-checks.h>.
3570 (___lxstat64): Do not use CHECK_1.
3571 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3572 (__old_msgctl): Do not use CHECK_1.
3573 (__new_msgctl): Likewise.
3574 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3575 <bp-checks.h>.
3576 (__gettimeofday): Do not use CHECK_1.
3577 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3578 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3579 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3580 <bp-checks.h>.
3581 (__gettimeofday): Do not use CHECK_1.
3582 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3583 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3584 (__new_shmctl): Do not use CHECK_1.
3585 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3586 <bp-checks.h>.
3587 (do_sigtimedwait): Do not use CHECK_1.
3588 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3589 <bp-checks.h>.
3590 (do_sigwaitinfo): Do not use CHECK_1.
3591 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3592 <bp-checks.h>.
3593 (msgctl): Do not use CHECK_1.
3594 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3595 <bp-checks.h>.
3596 (shmctl): Do not use CHECK_1.
3597 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3598 (ustat): Do not use CHECK_1.
3599 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3600 <bp-checks.h>.
3601 (__fxstat): Do not use CHECK_1.
3602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3603 <bp-checks.h>.
3604 (__fxstatat): Do not use CHECK_1.
3605 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3606 <bp-checks.h>.
3607 (__lxstat): Do not use CHECK_1.
3608 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3609 <bp-checks.h>.
3610 (__xstat): Do not use CHECK_1.
3611 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3612 (__xstat): Do not use CHECK_1.
3613 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3614 (___xstat64): Do not use CHECK_1.
3615
b2c9eff4
JM
3616 [BZ #13550]
3617 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3618 definitions.
3619 (CHECK_BOUNDS_HIGH): Likewise.
3620 * string/strcpy.c: Do not include <bp-checks.h>.
3621 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3622
f1d70dad
RM
36232013-02-07 Roland McGrath <roland@hack.frob.com>
3624
3625 * nscd/nscd-client.h (__nscd_drop_map_ref):
3626 Add __attribute__ ((unused)).
3627 * nis/nss-nisplus.h (niserr2nss): Likewise.
3628
3629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3630 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3631
3632 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3633 Remove inline keyword.
3634 * include/rounding-mode.h (round_away): Likewise.
3635 * libio/wfileops.c (adjust_wide_data): Likewise.
3636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3637 (__m128i_strloadu_tolower): Likewise.
3638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3639 (__m128i_strloadu_tolower): Likewise.
3640 * time/mktime.c (ydhms_diff): Likewise.
3641 * locale/elem-hash.h (elem_hash): Likewise.
3642 * locale/setlocale.c (setdata): Likewise.
3643 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3644 (re_string_wchar_at): Likewise.
3645 (bitset_not, bitset_merge, bitset_mask): Likewise.
3646 [!(__GNUC__ > 3)] (inline): Remove macro.
3647 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3648 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3649 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3650 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3651 * string/memcmp.c (memcmp_bytes): Likewise.
3652 * locale/programs/locarchive.c (compute_hashval): Likewise.
3653 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3654 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3655 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3656 * nss/getent.c (print_rpc, print_protocols): Likewise.
3657 (print_passwd, print_group, print_aliases): Likewise.
3658 * nis/nss-nisplus.h (niserr2nss): Likewise.
3659 * nscd/connections.c (restart_p): Likewise.
3660 Change return type to bool.
3661
eab55bfb
RM
36622013-02-05 Roland McGrath <roland@hack.frob.com>
3663
7bd642f5
RM
3664 * Makeconfig (all-Depend-files): Add existing
3665 $(sorted-subdirs:=/Depend) files.
3666 (all-subdirs): Remove nss.
3667 * sysdeps/unix/inet/Subdirs: Add it here instead.
3668 * hesiod/Depend: New file.
3669
573c29b2
RM
3670 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3671 instead of calling alloca.
3672
b2e25af0
RM
3673 * io/lseek.c (__lseek): Rename to __libc_lseek.
3674 Define __lseek as an alias.
3675
eab55bfb
RM
3676 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3677
9a0d1941
CD
36782013-02-04 Carlos O'Donell <carlos@redhat.com>
3679
3680 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3681 else clause and remove check for non-standard endianness.
3682
b83bbec4
DM
36832013-02-04 David S. Miller <davem@davemloft.net>
3684
3685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3686
6277fdab
JM
36872013-02-04 Joseph Myers <joseph@codesourcery.com>
3688
3689 [BZ #13550]
3690 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3691 (__ubp_memchr): Remove prototype.
3692 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3693 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3694 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3695 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3696 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3697 Remove alias.
3698 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3699 (__ubp_memchr): Likewise.
3700 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3701 (__ubp_memchr): Likewise.
3702 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3703 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3704 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3705 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3706 CHECK_STRING.
3707 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3708 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3709 (__getcwd): Do not use CHECK_STRING.
3710 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3711 <bp-checks.h>.
3712 (__real_chown): Do not use CHECK_STRING.
3713 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3714 <bp-checks.h>.
3715 (fchownat): Do not use CHECK_STRING.
3716 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3717 CHECK_STRING.
3718 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3719 <bp-checks.h>.
3720 (__lchown): Do not use CHECK_STRING.
3721 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3722 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3723 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3724 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3726 include <bp-checks.h>.
3727 (truncate64): Do not use CHECK_STRING.
3728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3729 <bp-checks.h>.
3730 (__real_chown): Do not use CHECK_STRING.
3731 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3732 <bp-checks.h>.
3733 (__lchown): Do not use CHECK_STRING.
3734 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3735 <bp-checks.h>.
3736 (__chown): Do not use CHECK_STRING.
3737 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3738 <bp-checks.h>.
3739 (truncate64): Do not use CHECK_STRING.
3740 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3743 (__xmknod): Do not use CHECK_STRING.
3744 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3745 <bp-checks.h>.
3746 (__xmknodat): Do not use CHECK_STRING.
3747 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3748 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3749
903ae060
AS
37502013-02-04 Andreas Schwab <schwab@suse.de>
3751
3752 [BZ #14142]
3753 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3754 * include/netdb.h: Likewise for h_errno.
3755 * elf/tst-stackguard1.c: Include <tls.h>.
3756
542f9466
JK
37572013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 * elf/link.h (struct link_map): Extend the l_addr comment.
3760 * include/link.h (struct link_map): Likewise.
3761
e782a927
JM
37622013-02-01 Joseph Myers <joseph@codesourcery.com>
3763
3764 [BZ #13550]
3765 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3766 (BOUNDED_1): Remove macro.
3767 * debug/backtrace.c: Don't include <bp-checks.h>.
3768 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3769 (__backtrace): Likewise.
3770 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3771 <bp-checks.h>.
3772 (__backtrace): Don't use BOUNDED_1.
3773 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3774 <bp-checks.h>.
3775 (__backtrace): Don't use BOUNDED_1.
3776 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3777 (__backtrace): Don't use BOUNDED_1.
3778 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3779 (shmat): Don't use BOUNDED_N.
3780
8cf28c5e
JM
37812013-01-31 Joseph Myers <joseph@codesourcery.com>
3782
3a7ac8a0
JM
3783 [BZ #13550]
3784 * sysdeps/generic/bp-start.h: Remove file.
3785 * csu/libc-start.c: Don't include <bp-start.h>.
3786 (LIBC_START_MAIN): Set up __environ directly instead of using
3787 INIT_ARGV_and_ENVIRON.
3788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3789 <bp-start.h>.
3790
f3499f95
JM
3791 [BZ #13550]
3792 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3793 definitions.
3794 (CHECK_FCNTL): Likewise.
3795 (CHECK_N_PAGES): Likewise.
3796
32a45bea
JM
3797 [BZ #13550]
3798 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3799 definitions.
3800 (CHECK_SIGSET_NULL_OK): Likewise.
3801 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3802 <bp-checks.h>.
3803 (sigpending): Don't use CHECK_SIGSET.
3804 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3805 <bp-checks.h>.
3806 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3807 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3808 <bp-checks.h>.
3809 (do_sigsuspend): Don't use CHECK_SIGSET.
3810 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3811 use CHECK_SIGSET.
3812 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3813 (do_sigwait): Don't use CHECK_SIGSET.
3814 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3815 use CHECK_SIGSET.
3816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3817 include <bp-checks.h>.
3818 (sigpending): Don't use CHECK_SIGSET.
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3820 include <bp-checks.h>.
3821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3822 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3823 <bp-checks.h>.
3824 (sigpending): Don't use CHECK_SIGSET.
3825 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3826 <bp-checks.h>.
3827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3828
2e8a5c8c
JM
3829 [BZ #13550]
3830 * sysdeps/generic/bp-semctl.h: Remove file.
3831 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3832 <bp-checks.h> and <bp-semctl.h>.
3833 (__old_semctl): Don't use CHECK_SEMCTL.
3834 (__new_semctl): Likewise.
3835 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3836 and <bp-semctl.h>.
3837 (__old_semctl): Don't use CHECK_SEMCTL.
3838 (__new_semctl): Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3840 <bp-checks.h> and <bp-semctl.h>.
3841 (__old_semctl): Don't use CHECK_SEMCTL.
3842 (__new_semctl): Likewise.
3843 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3844 <bp-checks.h> and <bp-semctl.h>.
3845 (semctl): Don't use CHECK_SEMCTL.
3846
c2d54929
JM
3847 [BZ #13550]
3848 * Makerules (elide-bp-thunks): Remove variable.
3849 (elide-routines.oS): Don't use $(elide-bp-thunks).
3850 (elide-routines.os): Likewise.
3851 (elide-routines.o): Likewise.
3852 (elide-routines.op): Likewise.
3853 (elide-routines.og): Likewise.
3854 (objects): Don't use $(bp-thunks).
3855 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3856 include.
3857 (common-generated): Do not add s-proto-bp.d.
3858 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3859 (int): Likewise.
3860 (typ): Likewise.
3861 Do not generate makefile rules for bounded-pointer thunks.
3862 * sysdeps/generic/bp-thunks.h: Remove file.
3863 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3864 * sysdeps/unix/s-proto-bp.S: Likewise.
3865
8cf28c5e
JM
3866 [BZ #15062]
3867 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3868 parts of result separately when argument is not close to line from
3869 -i to i and one part of argument is small.
3870 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3871 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3872 * math/libm-test.inc (cacos_test): Add more tests.
3873 (casin_test): Likewise.
3874 (casinh_test): Likewise.
3875 * sysdeps/i386/fpu/libm-test-ulps: Update.
3876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3877
c4e33b8d
DM
38782013-01-31 David S. Miller <davem@davemloft.net>
3879
3880 * po/de.po: Update from translation team.
3881
3b60b421
MK
38822013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3883
3884 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3885
bb931195
TS
38862013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3887
b5a5da23
TS
3888 * configure.in (_AC_PROG_CC_C89): New definition.
3889 * configure: Regenerate.
3890
bb931195
TS
3891 * configure.in (AC_PROG_CPP): New definition.
3892 * configure: Regenerate.
3893
8c53a12c
JM
38942013-01-23 Joseph Myers <joseph@codesourcery.com>
3895
3896 * debug/tst-backtrace.h: New file.
3897 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3898 (ret): Remove variable.
3899 (x): Likewise.
3900 (FAIL): Remove macro.
3901 (NO_INLINE): Likewise.
3902 (fn1): Use match function instead of strstr.
3903 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3904 (ret): Remove variable.
3905 (x): Likewise.
3906 (FAIL): Remove macro.
3907 (NO_INLINE): Likewise.
3908 (fn): Use match function instead of strstr.
3909 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3910 (ret): Remove variable.
3911 (x): Likewise.
3912 (FAIL): Remove macro.
3913 (NO_INLINE): Likewise.
3914 (handle_signal): Use match function instead of strstr.
3915 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3916 (ret): Remove variable.
3917 (x): Likewise.
3918 (FAIL): Remove macro.
3919 (NO_INLINE): Likewise.
3920 (handle_signal): Use match function instead of strstr.
3921
4858fa2a
RM
39222013-01-23 Roland McGrath <roland@hack.frob.com>
3923
3924 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3925
bae8e7f5
DM
39262013-01-23 David S. Miller <davem@davemloft.net>
3927
3928 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3929 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3930 argument of CAS if possible.
3931 * sysdeps/sparc/sparc64/bits/atomic.h
3932 (__arch_compare_and_exchange_val_32_acq): Likewise.
3933 (__arch_compare_and_exchange_val_64_acq): Likewise.
3934
9cbbc4ae
PT
39352013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3936
3937 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3938 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3939 Include <limits.h>.
67b3f58c 3940 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3941
5655a0b5
AC
39422013-01-23 Adam Conrad <adconrad@0c3.net>
3943
3944 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3945 (LDFLAGS-tst-array5): Likewise.
3946
052aff95
JM
39472013-01-23 Joseph Myers <joseph@codesourcery.com>
3948
3949 [BZ #15036]
3950 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3951 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3952 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3953 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3954
7c1e01aa
DM
39552013-01-21 David S. Miller <davem@davemloft.net>
3956
3957 * sysdeps/sparc/backtrace.c: New file.
3958 * sysdeps/sparc/sparc32/backtrace.h: New file.
3959 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3960 * sysdeps/sparc/sparc64/backtrace.h: New file.
3961 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3962 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3963 -funwind-tables.
3964
ab087e0a
AS
39652013-01-21 Andreas Schwab <schwab@suse.de>
3966
3967 [BZ #15020]
3968 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3969 closed its stdout.
3970
ed689c2f
AS
39712013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3972
3973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3974 "mpa2.h".
3975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3976
31d470ac
JM
39772013-01-18 Joseph Myers <joseph@codesourcery.com>
3978 Mark Mitchell <mark@codesourcery.com>
3979 Tom de Vries <tom@codesourcery.com>
3980 Paul Pluzhnikov <ppluzhnikov@google.com>
3981
3982 * debug/tst-backtrace2.c: New file.
3983 * debug/tst-backtrace3.c: Likewise.
3984 * debug/tst-backtrace4.c: Likewise.
3985 * debug/tst-backtrace5.c: Likewise.
3986 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3987 (CFLAGS-tst-backtrace3.c): Likewise.
3988 (CFLAGS-tst-backtrace4.c): Likewise.
3989 (CFLAGS-tst-backtrace5.c): Likewise.
3990 (LDFLAGS-tst-backtrace2): Likewise.
3991 (LDFLAGS-tst-backtrace3): Likewise.
3992 (LDFLAGS-tst-backtrace4): Likewise.
3993 (LDFLAGS-tst-backtrace5): Likewise.
3994 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3995 tst-backtrace4 and tst-backtrace5.
3996
90567f30 39972013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3998 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3999
4000 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4001 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4002 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4003 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4005 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4006 "+r" and remove output regs list as redundant. Add explicit inline
4007 asm to specify register of return val to work around compiler codegen
4008 bug. Remove (int) cast on return value. Add return type parameter to
4009 use in macro so that this macro does not truncate return value for
4010 64-bit values.
4011 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4012 pass to INTERNAL_VSYSCALL_NCS.
4013 (INLINE_VSYSCALL): Add 'long int' as return type to
4014 INTERNAL_VSYSCALL_NCS macro invocation.
4015 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4016 INTERNAL_VSYSCALL_NCS macro invocation.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4018
d3b9ea61
SP
40192013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4020
0b57daeb
SP
4021 [BZ #14496]
4022 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4023 Fix application of SIMD FP exception mask.
4024
caa99d06
SP
4025 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4026 mp_no from a power of two.
4027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4028 __mpexp_twomm1. Use __pow_mp.
4029
d3b9ea61
SP
4030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4031 multiplication.
4032
1dbaee3c
DM
40332013-01-17 David S. Miller <davem@davemloft.net>
4034
4035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4036
728d7b43
JM
40372013-01-17 Joseph Myers <joseph@codesourcery.com>
4038
4039 [BZ #15023]
4040 * include/complex.h: Condition contents on [!_COMPLEX_H].
4041 (__kernel_casinhf): New prototype.
4042 (__kernel_casinh): Likewise.
4043 (__kernel_casinhl): Likewise.
4044 * math/Makefile (libm_calls): Add k_casinh.
4045 * math/k_casinh.c: New file.
4046 * math/k_casinhf.c: Likewise.
4047 * math/k_casinhl.c: Likewise.
4048 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4049 finite nonzero arguments.
4050 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4051 finite nonzero arguments.
4052 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4053 finite nonzero arguments.
4054 * math/s_casinh.c: Do not include <float.h>.
4055 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4056 * math/s_casinhf.c: Do not include <float.h>.
4057 (__casinhf): Move code for finite nonzero arguments to
4058 k_casinhf.c.
4059 * math/s_casinhl.c: Do not include <float.h>.
4060 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4061 redefine.
4062 (__casinhl): Move code for finite nonzero arguments to
4063 k_casinhl.c.
4064 * math/libm-test.inc (cacos_test): Add more tests.
4065 * sysdeps/i386/fpu/libm-test-ulps: Update.
4066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4067
2a26ef3a
PT
40682013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4069
4070 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4071 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4072 [!HAVE_MREMAP]: Remove [defined linux] case.
4073 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4074
a897655d
SP
40752013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
4077 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4078
881ebe89 40792013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4080
4081 * elf/elf.h (R_386_SIZE32): New relocation.
4082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4083 R_386_SIZE32.
4084 (elf_machine_rela): Likewise.
4085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4086 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4087
59981e9b
JM
40882013-01-17 Joseph Myers <joseph@codesourcery.com>
4089
4090 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4091 (FP_FAST_FMA): Do not define.
4092 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4093 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4094 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4095 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4096 !_SOFT_FLOAT]: Likewise.
4097 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4098 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4099 value.
4100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4101 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4102 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4103 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4104 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4105 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4106 file.
4107
cfa8054f
AS
41082013-01-16 Andreas Schwab <schwab@suse.de>
4109
4110 [BZ #14327]
4111 * include/stdlib.h (__mktemp): Add declaration.
4112 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4113 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4114
dd930cc5
SP
41152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
881ebe89
SP
4117 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4118 definitions.
4119 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4120 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4121 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4122 definitions here.
4123 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4124 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4125 definitions.
4126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4127 and ONE.
4128 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4129 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4130 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4131 definitions.
4132 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4133 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4134 definitions.
4135 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4136
dd930cc5
SP
4137 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4138
c19a9f89
DM
41392013-01-15 David S. Miller <davem@davemloft.net>
4140
1aa61767
DM
4141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4142 trunc{,f} to libm-sysdep_routes.
4143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4145 file.
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4148 file.
4149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4150 file.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4153 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4154 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4155 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4156 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4157 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4158 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4159
c42d5e98
DM
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4161 nearbyint{,f} to libm-sysdep_routes.
4162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4164 New file.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4166 file.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4168 New file.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4170 file.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4174 file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4177 file.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4181
c19a9f89
DM
4182 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4183 libc_feholdexcept and libc_fesetenv.
4184
357679d2
MF
41852013-01-15 Mike Frysinger <vapier@gentoo.org>
4186
4187 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4188
65a82e3d
DM
41892013-01-14 David S. Miller <davem@davemloft.net>
4190
8b954ab9
DM
4191 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4192 (SPARC_ASM_VIS2_IFUNC): Likewise.
4193 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4195 use of 'siam' instruction.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4197 Likewise.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4199 Likewise.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4201 Likewise.
4202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4207 file.
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4209 file.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4211 file.
4212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4213 file.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4219 new VIS2 routines.
4220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4223 Likewise.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4229 routines to libm-sysdep_routines.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4231
65a82e3d
DM
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4233 fdim/fdimf to libm-sysdep_routines.
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4235 file.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4238 file.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4242 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4243 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4244 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4245 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4246
e34ab705
SP
42472013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
2a91b573
SP
4249 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4250 to optimize copies.
4251
1066a534
SP
4252 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4255
e34ab705
SP
4256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4257 local variable MPTWO.
4258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4259 Likewise.
4260
aba5e596
MF
42612013-01-13 Mike Frysinger <vapier@gentoo.org>
4262
4263 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4264 GLOB_NOESCAPE.
4265
e557e9e5
MF
42662013-01-13 Mike Frysinger <vapier@gentoo.org>
4267
4268 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4269
0428cec9
MF
42702013-01-13 Mike Frysinger <vapier@gentoo.org>
4271
4272 * manual/pattern.texi (glob_t): Document gl_flags.
4273 (glob64_t): Likewise.
4274
8794a964
DM
42752013-01-11 David S. Miller <davem@davemloft.net>
4276
66438c3f
RM
4277 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4278 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4279 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4280 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4281 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4282 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4283 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4284 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4285 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4286 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4288 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4289 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4290
4ae4244d
DM
4291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4292 sparc V9 rather than using V8 code.
4293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4295
8794a964
DM
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4297 Move to...
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4299 Here.
4300
6270516e
RM
43012013-01-11 Roland McGrath <roland@hack.frob.com>
4302
4303 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4304 not in the main loop.
4305 * configure: Regenerated.
4306
6a57d931
JM
43072013-01-11 Joseph Myers <joseph@codesourcery.com>
4308
4309 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4310 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4311 to just #else.
4312 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4313 [!__GLIBC_HAVE_LONG_LONG] case.
4314 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4315 condition to just #else.
4316 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4317 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4318 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4319 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4320 unconditional.
4321 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4322 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4323 #elif condition to just #else.
4324 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4325 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4326 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4327 #elif condition to just #else.
4328
0e8529e9
SE
43292013-01-11 Steve Ellcey <sellcey@mips.com>
4330
4331 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4332 (EF_MIPS_ARCH_64): Fix value.
4333 (EF_MIPS_ARCH_32R2): New.
4334 (EF_MIPS_ARCH_64R2): New.
4335
740b3dbe
L
43362013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4337
4338 * Makeconfig (+link-pie-before-libc): New.
4339 (+link-pie-after-libc): Likewise.
4340 (+link-pie-tests): Likewise.
4341 (+link-pie): Rewritten.
4342 (link-before-libc): Remove $(config-LDFLAGS).
4343 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4344 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4345 (config-LDFLAGS): Renamed to ...
4346 (rtld-LDFLAGS): This.
4347 (rtld-tests-LDFLAGS): New macro.
4348 (link-libc-rpath-link): Likewise.
4349 (link-libc-tests-rpath-link): Likewise.
4350 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4351 (link-libc): Prepand $(link-libc-rpath-link).
4352 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4353 (test-program-prefix): New macro.
4354 (test-via-rtld-prefix): Likewise.
4355 (test-program-cmd): Likewise.
4356 (host-test-program-cmd): Likewise.
4357 * Makefile ($(common-objpfx)testrun.sh): Replace
4358 $(run-program-prefix) with $(test-program-prefix).
4359 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4360 $(rtld-LDFLAGS).
4361 ($(common-objpfx)shlib.lds): Likewise.
4362 (build-module-helper): Likewise.
4363 ($(common-objpfx)format.lds): Likewise.
4364 * Rules (binaries-pie-tests): New.
4365 (binaries-pie-notests): Likewise.
4366 (binaries-pie): Rewritten.
4367 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4368 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4369 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4370 (make-test-out): Replace $(host-built-program-cmd) with
4371 $(host-test-program-cmd).
4372 * config.make.in (build-hardcoded-path-in-tests): New variable.
4373 * configure.in (--enable-hardcoded-path-in-tests): New configure
4374 option.
4375 (hardcoded_path_in_tests): New AC_SUBST.
4376 * configure: Regenerated.
4377 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4378 $(built-program-cmd) with $(test-program-cmd).
4379 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4380 (test_program_cmd): This.
4381 * elf/Makefile ($(objpfx)order.out): Run test with
4382 $(test-program-prefix).
4383 ($(objpfx)order2.out): Likewise.
4384 ($(objpfx)tst-initorder.out): Likewise.
4385 ($(objpfx)tst-initorder2.out): Likewise.
4386 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4387 $(test-program-cmd).
4388 ($(objpfx)tst-array1-static.out): Likewise.
4389 ($(objpfx)tst-array2.out): Likewise.
4390 ($(objpfx)tst-array3.out): Likewise.
4391 ($(objpfx)tst-array4.out): Likewise.
4392 ($(objpfx)tst-array5.out): Likewise.
4393 ($(objpfx)tst-array5-static.out): Likewise.
4394 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4395 $(test-program-cmd).
4396 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4397 $(run-program-prefix) with $(test-program-prefix).
4398 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4399 (test_program_prefix): This.
4400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4401 $(run-program-prefix) with $(test-program-prefix).
4402 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4403 (test_program_prefix): This.
4404 * iconvdata/tst-tables.sh: Likewise.
4405 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4406 $(run-program-prefix) with $(test-program-prefix).
4407 ($(objpfx)tst-translit.out): Likewise.
4408 ($(objpfx)tst-gettext2.out): Likewise.
4409 ($(objpfx)tst-gettext4.out): Likewise.
4410 ($(objpfx)tst-gettext6.out): Likewise.
4411 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4412 (test_program_prefix): This.
4413 * intl/tst-gettext2.sh: Likewise.
4414 * intl/tst-gettext4.sh Likewise.
4415 * intl/tst-gettext6.sh: Likewise.
4416 * intl/tst-translit.sh: Likewise.
4417 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4418 with $(test-program-cmd).
4419 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4420 $(run-program-prefix) with $(test-program-prefix).
4421 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4422 (test_program_prefix): This.
4423 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4424 $(run-program-prefix) with $(test-program-prefix).
4425 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4426 (test_program_prefix): This.
4427 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4428 * posix/Makefile ($(objpfx)globtest.out): Replace
4429 $(run-via-rtld-prefix) and $(test-wrapper) with
4430 $(test-program-prefix) and $(test-via-rtld-prefix).
4431 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4432 $(test-program-prefix).
4433 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4434 $(host-test-program-cmd).
4435 (tst-spawn-ARGS): Likewise.
4436 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4437 $(test-program-prefix).
4438 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4439 (test_via_rtld_prefix): This.
4440 (test_wrapper): Renamed to ...
4441 (test_program_prefix): This.
4442 (run_program_prefix): Replaced by test_program_prefix.
4443 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4444 (test_program_prefix): This.
4445 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4446 with $(host-test-program-cmd).
4447 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4448 $(run-program-prefix) with $(test-program-prefix).
4449 ($(objpfx)tst-printf.out): Likewise.
4450 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4451 $(test-program-cmd).
4452 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4453 (test_program_prefix): This.
4454 * stdio-common/tst-unbputc.sh: Likewise.
4455 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4456 $(run-program-prefix) with $(test-program-prefix).
4457 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4458 (test_program_prefix): This.
4459 * string/Makefile ($(objpfx)tst-svc.out): Replace
4460 $(built-program-cmd) with $(test-program-cmd).
4461
c6fe55cf
AJ
44622013-01-11 Andreas Jaeger <aj@suse.de>
4463
4464 [BZ #15003]
4465 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4466 value. Sync with Linux 3.7.
4467
9e6919c8
DM
44682013-01-10 David S. Miller <davem@davemloft.net>
4469
4470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4471 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4472 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4473
1c9f1a02
RM
44742013-01-10 Roland McGrath <roland@hack.frob.com>
4475
4476 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4477 never set.
4478 * configure: Regenerated.
4479
b9de2dde
DM
44802013-01-10 David S. Miller <davem@davemloft.net>
4481
4482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4483 sparc V9 rather than using V8 code.
4484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4486
e7f68ef4
RM
44872013-01-10 Roland McGrath <roland@hack.frob.com>
4488
4489 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4490 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4491 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4492 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4493 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4494 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4495 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4496 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4497 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4498 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4499 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4500 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4501 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4502 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4503 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4504 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4505 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4506 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4507 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4508 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4509 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4510 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4511 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4512 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4513 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4514 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4515 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4516
5a47cc9c
DM
45172013-01-10 David S. Miller <davem@davemloft.net>
4518
4519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4520
4cf8f209
L
45212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4522
4523 * posix/Makefile (tests-static): New variable.
4524 (tests): Add $(tests-static).
4525 (tst-exec-static-ARGS): New variable.
4526 (tst-spawn-static-ARGS): Likewise.
4527 * posix/tst-exec-static.c: New file.
4528 * posix/tst-spawn-static.c: Likewise.
4529 * posix/tst-exec.c: Support run directly.
4530 * posix/tst-spawn.c: Likewise.
4531
fed0faa1
JM
45322013-01-10 Joseph Myers <joseph@codesourcery.com>
4533
828beb13
JM
4534 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4535 long.
4536 * math/bits/mathcalls.h (llrint): Likewise.
4537 (llround): Likewise.
4538 * stdlib/stdlib.h (struct drand48_data): Likewise.
4539 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4540 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4541 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4542 Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4544 Likewise.
4545 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4546 (elf_greg_t): Likewise.
4547 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4548 (__jmp_buf): Likewise.
4549 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4550 definitions.
4551 (llrint): Likewise, for all definitions.
4552 (llrintl): Likewise.
4553
fed0faa1
JM
4554 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4555 Remove [__GNUC__] condition.
4556 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4557 condition to just [__USE_ISOC99].
4558 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4559
1a20cb20
L
45602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4561
4562 [BZ #14200]
4563 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4564 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4565 defined.
4566 (_POSIX_V6_ILP32_OFF32): Likewise.
4567 (_XBS5_ILP32_OFF32): Likewise.
4568 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4569 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4570
751b85f7
SP
45712013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
7490eb81
SP
4573 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4574
751b85f7
SP
4575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4576 doubles __mpexp_twomm1. Adjust usage.
4577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4578 Remove.
4579
988197f0
AS
45802013-01-10 Andreas Schwab <schwab@suse.de>
4581
4582 [BZ #14964]
4583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4584 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4585
e83d7298
DM
45862013-01-09 David S. Miller <davem@davemloft.net>
4587
034ed64b 4588 [BZ #15003]
e83d7298
DM
4589 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4590 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4591 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4592 TCP_FASTOPEN): Define.
4593 (tcp_repair_opt): New structure.
4594 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4595 enum values.
4596 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4597 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4598 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4599 (tcp_cookie_transactions): New structure.
4600
d5e0b9bd
AB
46012013-01-09 Anton Blanchard <anton@samba.org>
4602
4603 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4604 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4607
0c07e3ea
JM
46082013-01-09 Joseph Myers <joseph@codesourcery.com>
4609
4610 * include/features.h (__USE_ANSI): Remove.
4611
232f7002
RM
46122013-01-09 Roland McGrath <roland@hack.frob.com>
4613
ad98e30c
RM
4614 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4615
232f7002
RM
4616 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4617
950c99ca
SP
46182013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4619
b5792741
SP
4620 * sysdeps/s390/fpu/libm-test-ulps: Update.
4621
47cf2278
SP
4622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4623
950c99ca
SP
4624 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4625 (__acr): Likewise.
4626 (__cpy): Likewise.
4627 (norm): Likewise.
4628 (denorm): Likewise.
4629 (__mp_dbl): Likewise.
4630 (__dbl_mp): Likewise.
4631 (add_magnitudes): Likewise.
4632 (sub_magnitudes): Likewise.
4633 (__add): Likewise.
4634 (__sub): Likewise.
4635 (__mul): Likewise.
4636 (__inv): Likewise.
4637 (__dvd): Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4639 (__acr): Likewise.
4640 (__cpy): Likewise.
4641 (norm): Likewise.
4642 (denorm): Likewise.
4643 (__mp_dbl): Likewise.
4644 (__dbl_mp): Likewise.
4645 (add_magnitudes): Likewise.
4646 (sub_magnitudes): Likewise.
4647 (__add): Likewise.
4648 (__sub): Likewise.
4649 (__mul): Likewise.
4650 (__inv): Likewise.
4651 (__dvd): Likewise.
4652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4653 (__acr): Likewise.
4654 (__cpy): Likewise.
4655 (norm): Likewise.
4656 (denorm): Likewise.
4657 (__mp_dbl): Likewise.
4658 (__dbl_mp): Likewise.
4659 (add_magnitudes): Likewise.
4660 (sub_magnitudes): Likewise.
4661 (__add): Likewise.
4662 (__sub): Likewise.
4663 (__mul): Likewise.
4664 (__inv): Likewise.
4665 (__dvd): Likewise.
4666
eede9df9
JM
46672013-01-08 Joseph Myers <joseph@codesourcery.com>
4668
4669 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4670 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4671 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4672 2 && __USE_EXTERN_INLINES]: Likewise.
4673
c40ea3d9
AJ
46742013-01-08 Andreas Jaeger <aj@suse.de>
4675
4676 [BZ# 14985]
4677 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4678 Remove.
4679 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4680 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4681
2ccdea26
AB
46822013-01-07 Anton Blanchard <anton@samba.org>
4683
4684 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4685 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4686 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4687 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4688 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4690 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4700 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4701 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4702 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4708 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4709 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4711 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4714 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4727
a9708fed
JM
47282013-01-07 Joseph Myers <joseph@codesourcery.com>
4729
375607b9
JM
4730 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4731 (__MALLOC_PMT): Likewise.
4732 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4733 [__GNUC__], only on [_LIBC].
4734 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4735 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4736 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4737 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4738 forward declaration.
4739 (realloc_hook_ini): Likewise.
4740 (memalign_hook_ini): Likewise.
4741 (__libc_memalign): Do not use __MALLOC_PMT in variable
4742 declaration.
4743 (__libc_valloc): Likewise.
4744 (__libc_pvalloc): Likewise.
4745 (__libc_calloc): Likewise.
4746 (__posix_memalign): Likewise.
4747
a9708fed
JM
4748 [BZ #14996]
4749 * math/s_casinh.c: Include <float.h>.
4750 (__casinh): Do not do computation with squaring and square root
4751 for large arguments.
4752 * math/s_casinhf.c: Include <float.h>.
4753 (__casinhf): Do not do computation with squaring and square root
4754 for large arguments.
4755 * math/s_casinhl.c: Include <float.h>.
4756 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4757 (__casinhl): Do not do computation with squaring and square root
4758 for large arguments.
4759 * math/libm-test.inc (casin_test): Add more tests.
4760 (casinh_test): Likewise.
4761 * sysdeps/i386/fpu/libm-test-ulps: Update.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
afec409a
L
47642013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4765
4766 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4767 (__x86_64_raw_data_cache_size): Likewise.
4768 (__x86_64_data_cache_size_half): Likewise.
4769 (__x86_64_raw_data_cache_size_half): Likewise.
4770 (__x86_64_shared_cache_size): Likewise.
4771 (__x86_64_raw_shared_cache_size): Likewise.
4772 (__x86_64_shared_cache_size_half): Likewise.
4773 (__x86_64_raw_shared_cache_size_half): Likewise.
4774 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4775 to ...
4776 (__x86_data_cache_size): This.
4777 (__x86_64_raw_data_cache_size): Renamed to ...
4778 (__x86_raw_data_cache_size): This.
4779 (__x86_64_data_cache_size_half): Renamed to ...
4780 (__x86_data_cache_size_half): This.
4781 (__x86_64_raw_data_cache_size_half): Renamed to ...
4782 (__x86_raw_data_cache_size_half): This.
4783 (__x86_64_shared_cache_size): Renamed to ...
4784 (__x86_shared_cache_size): This.
4785 (__x86_64_raw_shared_cache_size): Renamed to ...
4786 (__x86_raw_shared_cache_size): This.
4787 (__x86_64_shared_cache_size_half): Renamed to ...
4788 (__x86_shared_cache_size_half): This.
4789 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4790 (__x86_raw_shared_cache_size_half): This.
4791 * sysdeps/x86_64/memcpy.S: Updated.
4792 * sysdeps/x86_64/memset.S: Likewise.
4793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4796
0b3986d0
DM
47972013-01-04 David S. Miller <davem@davemloft.net>
4798
4799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4800
e47686e9
AS
48012013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4802
d643bac1
AS
4803 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4804 1 to avoid redefinition warning.
4805 (__USE_GNU): Don't define.
4806 (init_signaling_nan): Protoize.
4807
e47686e9
AS
4808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4809
b18decba
SP
48102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4811
fffb407f
SP
4812 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4814 (__cpymn): Likewise.
4815 (norm): Remove commented code.
4816 (denorm): Likewise.
4817 (__mp_dbl): Likewise.
4818 (__inv): Likewise.
4819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4820 (__cpymn): Likewise.
4821 (norm): Remove commented code.
4822 (denorm): Likewise.
4823 (__mp_dbl): Likewise.
4824 (__inv): Likewise.
4825
b18decba
SP
4826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4827 mp_no value for 1.0 and 2.0.
4828 (norm): Use RADIXI instead of radixi.d.
4829 (denorm): Likewise.
4830 (__mul): Use 0.0 instead of zero.d.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4832 mp_no value for 1.0 and 2.0.
4833 (norm): Use RADIXI instead of radixi.d.
4834 (denorm): Likewise.
4835 (__mul): Use 0.0 instead of zero.d.
4836
cdc1c96f
JM
48372013-01-04 Joseph Myers <joseph@codesourcery.com>
4838
4839 [BZ #14994]
4840 * math/s_casinh.c (__casinh): Reduce finite argument to first
4841 quadrant then set signs of results at the end.
4842 * math/s_casinhf.c (__casinhf): Likewise.
4843 * math/s_casinhl.c (__casinhl): Likewise.
4844 * math/libm-test.inc (casin_test): Add more tests.
4845 (casinh_test): Likewise.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
302913e1
SP
48492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4850
6420d207
SP
4851 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4852
a9e48ab4
SP
4853 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4854
b7837264
SP
4855 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4856 declarations.
4857 (denorm): Likewise.
4858 (__mp_dbl): Likewise.
4859 (__inv): Likewise.
4860
f8af25d2
SP
4861 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4862 and adjust the header comment.
4863
302913e1
SP
4864 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4865 variable name from declaration.
4866
5d7dd1ca
L
48672013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4868
4869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4870 Initialize COMMON_CPUID_INDEX_7 element.
4871 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4872 (CPUID_RTM): Likewise.
4873 (HAS_RTM): Likewise.
4874 (COMMON_CPUID_INDEX_7): New enum.
4875
2f5f40f4
AS
48762013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4877
4878 [BZ #14981]
4879 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4880 size is zero, record memory as freed.
4881
4056f4a0
AJ
48822013-01-03 Andreas Jaeger <aj@suse.de>
4883
4884 * po/ia.po: Add new Interlingua translation.
4885
ab15736f 48862012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4887
4888 * locale/programs/localedef.c: Fix description of '--posix' flag.
4889
568035b7
JM
48902013-01-02 Joseph Myers <joseph@codesourcery.com>
4891
e6898b8d
JM
4892 * NEWS: Update dates in second copyright notice.
4893 * README: Update copyright dates in example.
4894 * manual/libc.texinfo: Update copyright dates.
4895 * scripts/test-installation.pl: Update copyright date in --version
4896 output.
4897
0e2f9562
JM
4898 * hurd/ctty-input.c: Fix copyright notice formatting.
4899 * hurd/ctty-output.c: Likewise.
4900 * hurd/dtable.c: Likewise.
4901 * hurd/hurd-raise.c: Likewise.
4902 * hurd/hurdprio.c: Likewise.
4903 * hurd/msgportdemux.c: Likewise.
4904 * misc/sys/file.h: Likewise.
4905 * misc/sys/ioctl.h: Likewise.
4906 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4907 * sysdeps/mach/hurd/chdir.c: Likewise.
4908 * sysdeps/mach/hurd/fchdir.c: Likewise.
4909 * sysdeps/mach/hurd/rename.c: Likewise.
4910 * sysdeps/mach/hurd/rmdir.c: Likewise.
4911 * sysdeps/mach/hurd/seekdir.c: Likewise.
4912 * sysdeps/mach/hurd/setsid.c: Likewise.
4913 * sysdeps/posix/wait3.c: Likewise.
4914
568035b7
JM
4915 * All files with FSF copyright notices: Update copyright dates
4916 using scripts/update-copyrights.
4917 * intl/plural.c: Regenerated.
4918 * locale/programs/charmap-kw.h: Likewise.
4919 * locale/programs/locfile-kw.h: Likewise.
4920
da08f647
SP
49212013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4922
0f5477af
SP
4923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4924 four values.
4925
44e0d4c2
SP
4926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4927 calculation loop and add branch prediction.
4928
4d55b4e5
SP
4929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4930 check access beyond bounds of m1np.
4931
da08f647
SP
4932 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4933 MPTWO.
4934 (__inv): Remove local variable MPTWO to use the global
4935 constant.
4936 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4938 variable MPTWO.
4939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4940 MP3HALFS static const.
4941
8e051029
DM
49422013-01-01 David S. Miller <davem@davemloft.net>
4943
4944 * po/ca.po: Update from translation team.
4945
f4cf5f2d
JM
49462013-01-01 Joseph Myers <joseph@codesourcery.com>
4947
4948 * scripts/update-copyrights: New file.
4949 * Makeconfig: Reformat copyright notice.
4950 * ctype/ctype.h: Likewise.
4951 * debug/swprintf_chk.c: Likewise.
4952 * elf/dl-cache.c: Likewise.
4953 * elf/dl-debug.c: Likewise.
4954 * elf/dl-object.c: Likewise.
4955 * grp/initgroups.c: Likewise.
4956 * hurd/Makefile: Likewise.
4957 * hurd/hurd/signal.h: Likewise.
4958 * hurd/hurdfault.c: Likewise.
4959 * hurd/hurdioctl.c: Likewise.
4960 * hurd/hurdlookup.c: Likewise.
4961 * hurd/intr-msg.c: Likewise.
4962 * iconv/gconv_open.c: Likewise.
4963 * libio/swprintf.c: Likewise.
4964 * locale/lc-ctype.c: Likewise.
4965 * locale/nl_langinfo.c: Likewise.
4966 * mach/Machrules: Likewise.
4967 * mach/Makefile: Likewise.
4968 * malloc/obstack.h: Likewise.
4969 * manual/Makefile: Likewise.
4970 * manual/tsort.awk: Likewise.
4971 * misc/bits/stab.def: Likewise.
4972 * nis/nis_print_group_entry.c: Likewise.
4973 * nis/nis_table.c: Likewise.
4974 * nis/nss_compat/compat-pwd.c: Likewise.
4975 * nis/nss_compat/compat-spwd.c: Likewise.
4976 * po/Makefile: Likewise.
4977 * posix/fnmatch.c: Likewise.
4978 * posix/regex.h: Likewise.
4979 * resolv/Makefile: Likewise.
4980 * resolv/nss_dns/dns-network.c: Likewise.
4981 * resolv/res_hconf.c: Likewise.
4982 * scripts/gen-sorted.awk: Likewise.
4983 * soft-fp/soft-fp.h: Likewise.
4984 * stdio-common/printf.h: Likewise.
4985 * stdlib/monetary.h: Likewise.
4986 * stdlib/random.c: Likewise.
4987 * stdlib/random_r.c: Likewise.
4988 * sysdeps/generic/Makefile: Likewise.
4989 * sysdeps/gnu/Makefile: Likewise.
4990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5014 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5018 * sysdeps/mach/hurd/errnos.awk: Likewise.
5019 * sysdeps/mach/hurd/fork.c: Likewise.
5020 * sysdeps/mach/hurd/getcwd.c: Likewise.
5021 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5022 * sysdeps/mach/hurd/mmap.c: Likewise.
5023 * sysdeps/mach/hurd/utimes.c: Likewise.
5024 * sysdeps/mach/hurd/xmknod.c: Likewise.
5025 * sysdeps/posix/profil.c: Likewise.
5026 * sysdeps/posix/readdir_r.c: Likewise.
5027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5028 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5029 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5030 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5036 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5038 * sysdeps/pthread/lio_listio.c: Likewise.
5039 * sysdeps/sparc/dl-procinfo.h: Likewise.
5040 * sysdeps/unix/i386/sysdep.S: Likewise.
5041 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5042 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5043 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5044 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5046 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5047 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5048 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5049 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5050 * sysdeps/wordsize-32/divdi3.c: Likewise.
5051 * time/sys/time.h: Likewise.
5052 * wcsmbs/Makefile: Likewise.
5053
0549fbba
DM
50542013-01-01 David S. Miller <davem@davemloft.net>
5055
a141f1a7
DM
5056 * po/fr.po: Update from translation team.
5057
0549fbba
DM
5058 * catgets/gencat.c: Update copyright year.
5059 * csu/version.c: Likewise.
5060 * debug/catchsegv.sh: Likewise.
5061 * debug/pcprofiledump.c: Likewise.
5062 * debug/xtrace.sh: Likewise.
5063 * elf/ldconfig.c: Likewise.
5064 * elf/ldd.bash.in: Likewise.
5065 * elf/pldd.c: Likewise.
5066 * elf/sotruss.ksh: Likewise.
5067 * elf/sprof.c: Likewise.
5068 * iconv/iconv_prog.c: Likewise.
5069 * iconv/iconvconfig.c: Likewise.
5070 * locale/programs/locale.c: Likewise.
5071 * locale/programs/localedef.c: Likewise.
5072 * login/programs/pt_chown.c: Likewise.
5073 * malloc/memusage.sh: Likewise.
5074 * malloc/memusagestat.c: Likewise.
5075 * malloc/mtrace.pl: Likewise.
5076 * nscd/nscd.c: Likewise.
5077 * nss/getent.c: Likewise.
5078 * nss/makedb.c: Likewise.
5079 * posix/getconf.c: Likewise.
5080
18ea052c
SP
50812012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5082
5083 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5084 numbers.
5085
9c89fca6
MF
50862012-12-30 Mike Frysinger <vapier@gentoo.org>
5087
5088 * math/bits/mathcalls.h (modf): Use __nonnull.
5089
085ec079
SP
50902012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5091
5092 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5093 (split): Use macro CN instead of the bare value.
5094 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5095 could be used.
5096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5097 instead of the bare value.
5098 (power1): Likewise.
5099
6d9f97e1
SP
51002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5101
d63f73be
SP
5102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5103 __ATAN_TWOM.
5104 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5105
6d9f97e1
SP
5106 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5107 their values.
5108 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5110 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5111 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5112
4c4febf5
AJ
51132012-12-28 Andreas Jaeger <aj@suse.de>
5114
af5843ef
AJ
5115 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5116 values are from Linux 3.7.
5117
4c4febf5
AJ
5118 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5119 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5120
99136f82
SP
51212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5122
2f216c3c 5123 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5124 TRUE case.
5125
99136f82
SP
5126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5127 (norm): Likewise.
5128 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5129 variables with preprocessor constants.
5130 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5131 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5133
7fffbdff
BH
51342012-12-27 Bruno Haible <bruno@clisp.org>
5135
5136 [BZ #14317]
5137 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5138 only if needed.
5139
b76eb5f0
SP
51402012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5141
31a7fe5c
SP
5142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5143 and use variable directly.
5144 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5145
b76eb5f0
SP
5146 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5147 MPONE.
5148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5150 variable MPONE.
5151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5153 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5154 include directive. Remove local variable MPONE.
5155 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5156 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5158
2c8bfe7d
DM
51592012-12-25 David S. Miller <davem@davemloft.net>
5160
5161 * version.h (RELEASE): Set to "development".
5162 (VERSION): Set to "2.17.90".
5163 * NEWS: Add 2.18 section.
5164
147d03b0
DM
51652012-12-21 David S. Miller <davem@davemloft.net>
5166
5167 * po/hr.po: Update from translation team.
5168
a8ebb2b9
AK
51692012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5170
5171 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5172
95b4f1b6
SE
51732012-12-19 Steve Ellcey <sellcey@mips.com>
5174
b2d94007 5175 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5176
cedb2a90
MS
51772012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5178
5179 * manual/contrib.texi (Contributors): Spelling correction.
5180
bbf527d6
DM
51812012-12-15 David S. Miller <davem@davemloft.net>
5182
5183 * po/ru.po: Update from translation team.
5184
bc38c906
DM
51852012-12-13 David S. Miller <davem@davemloft.net>
5186
85429b1a
DM
5187 * NEWS: Mention IFUNC testsuite enhancements.
5188
d283e353
DM
5189 * po/pl.po: Update from translation team.
5190 * po/bg.po: Likewise.
5191
bc38c906
DM
5192 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5193 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5194
a181b0d7
DM
51952012-12-11 David S. Miller <davem@davemloft.net>
5196
4641d57e
DM
5197 * po/sv.po: Update from translation team.
5198
f7bc6495
DM
5199 * po/vi.po: Update from translation team.
5200
6fc9048f
DM
5201 * po/cs.po: Update from translation team.
5202
a181b0d7
DM
5203 * po/de.po: Update from translation team.
5204 * po/eo.po: Likewise.
5205 * po/nl.po: Likewise.
5206
f70bfe80
SP
52072012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5208
3c8b4190
SP
5209 [BZ #14246]
5210 * manual/argp.texi (Argp Helper Functions): Move node to follow
5211 Argp Parsing State.
5212
f70bfe80
SP
5213 [BZ #14872]
5214 * manual/conf.texi (Limits on File System Capacity): Mention if
5215 terminating null is included in the max size.
5216
188f0adf
AJ
52172012-12-10 Andreas Jaeger <aj@suse.de>
5218
5219 * po/cs.po: Update from translation team.
5220
56e7d3ad
SP
52212012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
5223 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5224 void pointer and cast to uintptr_t.
5225 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5226 path.
5227 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5228 * sysdeps/s390/s390-64/memset.S: Likewise.
5229
76f2d2ea 52302012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5231
5232 [BZ #14833]
5233 * menual/message.texi (Message Translation): Fix typos.
5234 (Helper programs for gettext): Likewise.
5235
67cbf9a2
AS
52362012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 [BZ #14898]
5239 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5240 Change to -1.
5241
682d0e9a
DM
52422012-12-07 David S. Miller <davem@davemloft.net>
5243
5244 * po/libc.pot: Update.
5245
573cd484
RH
52462012-12-07 Richard Henderson <rth@redhat.com>
5247
7e9da188 5248 [BZ #10114]
573cd484
RH
5249 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5250 normal/normal case to before the switch.
5251 (_FP_DIV): Likewise.
5252
e933a943
MF
52532012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5254 Mike Frysinger <vapier@gentoo.org>
5255
5256 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5257 check for __NR_fadvise64_64.
5258
82123268
CM
52592012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5260
5261 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5262 0, not just to plain "0" as a statement.
5263 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5264 with cw.
5265
d9814526
JM
52662012-12-06 Joseph Myers <joseph@codesourcery.com>
5267
5268 * NEWS: Use sourceware.org in Bugzilla URL.
5269
7728c574
SP
52702012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5271
f16946dd
SP
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5273 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5274
5704bbcb
SP
5275 * stdio-common/tst-put-error.c (do_test): Add newline to the
5276 padded test to ensure flush.
5277
17aa0516
JL
52782012-12-05 Jeff Law <law@redhat.com>
5279
5280 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5281
363313b5
JM
52822012-12-05 Joseph Myers <joseph@codesourcery.com>
5283
effbd42a
JM
5284 * README: Don't refer to ports add-on as distributed separately.
5285 Mention AArch64 in list of systems supported in the ports add-on.
5286
87600365
JM
5287 * LICENSES: Add more non-FSF copyright and license notices.
5288
a0d7066a
JM
5289 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5290 ((unused)).
5291
66ca5a5b
JM
5292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5293
363313b5
JM
5294 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5295 10000 as width of padded output.
5296
b37984ad
JM
52972012-12-04 Joseph Myers <joseph@codesourcery.com>
5298
9003570a
JM
5299 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5300
b37984ad
JM
5301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5302 variable LX with __attribute__ ((unused)).
5303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5304 Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5308 with __attribute__ ((unused)).
5309
c8df52ec
DM
53102012-12-04 David S. Miller <davem@abraco.davemloft.net>
5311
5312 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5313
b3b099af
JM
53142012-12-04 Joseph Myers <joseph@codesourcery.com>
5315
c33aa6e3
JM
5316 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5317 (CFLAGS-nldbl-acos.c): New variable.
5318 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5322 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5323 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5324 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5325 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5415
20f0018d
JM
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5417 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5418
b3b099af
JM
5419 [BZ #14914]
5420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5421 whole low double instead of just low 47 bits when splitting values
5422 into two parts.
5423
029264d1
AM
54242012-12-03 Allan McRae <allan@archlinux.org>
5425
5426 * manual/stdio.texi (Predefined Printf Handlers): Remove
5427 @hsep and @vsep usage.
5428
c9d6789e
MF
54292012-12-03 Mike Frysinger <vapier@gentoo.org>
5430
5431 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5432 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5433
4b7634a5
JL
54342012-12-03 Jeff Law <law@redhat.com>
5435
5436 * time/sys/time.h (settimeofday): Do not mark TV argument
5437 as __nonnull.
5438
eb6cbd24
MF
54392012-12-01 Mike Frysinger <vapier@gentoo.org>
5440
5441 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5442 when currently writing and seek to current position when not.
5443 * libio/Makefile (tests): Remove bug-fclose1.
5444 * libio/bug-fclose1.c: Delete.
5445
f638872a
JM
54462012-12-01 Joseph Myers <joseph@codesourcery.com>
5447
5448 * manual/arith.texi (feenableexcept): Fix typo.
5449 (fedisableexcept): Likewise.
5450
48085d14
RM
54512012-11-30 Roland McGrath <roland@hack.frob.com>
5452
5453 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5454 second, differently-typed declaration, rather than a cast.
5455
1a538b9f
SP
54562012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5457
5458 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5459 * include/rpc/svc.h: ... here.
5460
d07f2ff1 54612012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5462
5463 [BZ #13013]
5464 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5465 depending n and resplen2 to catch cases where answer
5466 equals answerp2.
5467
c93ec1f0
CD
54682012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5469
5470 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5471 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5472
37db69de
MF
54732012-11-29 Mike Frysinger <vapier@gentoo.org>
5474
5475 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5476
e10c4e4f
RM
54772012-11-29 Roland McGrath <roland@hack.frob.com>
5478
5479 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5480
2af1b328
JL
54812012-11-28 Jeff Law <law@redhat.com>
5482
5483 [BZ #13761]
5484 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5485 dataset_temporary. Track alloca usage into alloca_used.
5486 If dataset is large allocate and release it via malloc/free.
5487
111db5b1
FW
54882012-06-04 Florian Weimer <fweimer@redhat.com>
5489
f06cc227 5490 [BZ #14197]
111db5b1
FW
5491 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5492
dd694abd
DM
54932012-11-28 David S. Miller <davem@davemloft.net>
5494
5495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5496
9984dd01
JM
54972012-11-28 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #14803]
5500 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5501 of pi/2 rounded to nearest to 64 bits.
5502 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5503 nearest to 64 bits.
5504 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5505 bits.
5506
14bc93a9
JL
55072012-11-28 Jeff Law <law@redhat.com>
5508 Martin Osvald <mosvald@redhat.com>
5509
5510 [BZ #14889]
5511 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5512 * sunrpc/svc.c: Include time.h.
5513 (__svc_accept_failed): New function.
5514 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5515 any reason other than EINTR, call __svc_accept_failed.
5516 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5517 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5518
e3c6aa3a
AS
55192012-11-28 Andreas Schwab <schwab@suse.de>
5520
5521 * scripts/abilist.awk: Also handle indirect functions in .opd
5522 section.
5523
1bead169
JM
55242012-11-28 Joseph Myers <joseph@codesourcery.com>
5525
5526 [BZ #13881]
5527 * sysdeps/x86/fpu/powl_helper.c: New file.
5528 * sysdeps/x86/fpu/Makefile: Likewise.
5529 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5530 (p3): New object.
5531 (__ieee754_powl): Use __powl_helper for finite arguments except
5532 integer exponents below 8.
5533 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5534 (p3): New object.
5535 (__ieee754_powl): Use __powl_helper for finite arguments except
5536 integer exponents below 8.
5537 * math/libm-test.inc (pow_test): Add more tests and enable some
5538 previously disabled tests.
5539 * sysdeps/i386/fpu/libm-test-ulps: Update.
5540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5541
0817d63d
SP
55422012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5543 Carlos O'Donell <carlos_odonell@mentor.com>
5544
5545 * nss/makedb.c (is_prime): Assert that input is odd and greater
5546 than 4. Note that fact in a comment too.
5547 (next_prime): Add 4 to input.
5548
de2fd463
SP
55492012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5550
5551 [BZ #11741]
5552 * libio/Makefile (tests): Add test case tst-fwrite-error.
5553 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5554 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5555 * libio/tst-fwrite-error.c: New test case.
5556
c515fb51
L
55572012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5558
5559 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5560 before casting to void *.
5561 * include/libc-internal.h (__pointer_type): New macro.
5562 (__integer_if_pointer_type_sub): Likewise.
5563 (__integer_if_pointer_type): Likewise.
5564 (cast_to_integer): Likewise.
5565 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5566 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5567 before casting to atomic64_t.
5568 (atomic_exchange_acq): Likewise.
5569 (__arch_exchange_and_add_body): Likewise.
5570 (__arch_add_body): Likewise.
5571 (atomic_add_negative): Likewise.
5572 (atomic_add_zero): Likewise.
5573
4cf77aa9
JM
55742012-11-26 Joseph Myers <joseph@codesourcery.com>
5575
5576 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5577 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5578 (add_fdes): Likewise.
5579 (linear_search_fdes): Likewise.
5580 (binary_search_unencoded_fdes): Likewise.
5581
d260b3b4
AS
55822012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5583
5584 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5585
67060746
AC
55862012-11-24 Adam Conrad <adconrad@0c3.net>
5587
5588 * configure.in: Autodetect C++ header directories.
5589 * configure: Regenerated.
5590
800938a1
MF
55912012-11-23 Mike Frysinger <vapier@gentoo.org>
5592
5593 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5594
4e6e34e6
AS
55952012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5596
5597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5598
7c7feb47
JM
55992012-11-22 Joseph Myers <joseph@codesourcery.com>
5600
7184dcdf
JM
5601 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5602 LDBL_MANT_DIG == 106]: Disable some tests.
5603 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5604 Likewise.
5605 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5606 Likewise.
5607
0a42601f
JM
5608 [BZ #14871]
5609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5610 input for small inputs. Return +/- pi/2 for large inputs.
5611 * math/libm-test.inc (atan_test): Add more tests.
5612
79c9b9fe
JM
5613 * sysdeps/generic/unwind-dw2-fde-glibc.c
5614 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5615 __attribute__ ((unused)).
5616
c60d3bf2
JM
5617 [BZ #14645]
5618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5619 x * y if x and y are nonzero and z is zero.
5620
ef1e0867
JM
5621 [BZ #14811]
5622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5623 nonzero exponents with absolute value below 0x1p-117 to +/-
5624 0x1p-117.
5625
1468ded3
JM
5626 [BZ #14869]
5627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5628 up arguments below 2**-450, not just those below 2**-500.
5629 * math/libm-test.inc (hypot_test): Add another test.
5630
8e27e3cc
JM
5631 [BZ #14868]
5632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5633 Return a+b for ratio over 2**120, not 2**60.
5634 * math/libm-test.inc (hypot_test): Add another test.
5635
c9c0279b
JM
5636 * math/libm-test.inc (clog_test): Use
5637 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5638 (clog10_test): Likewise.
5639
7c7feb47
JM
5640 [BZ #6778]
5641 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5642
fff1530e
AS
56432012-11-22 Andreas Schwab <schwab@suse.de>
5644
5645 * sysdeps/i386/fpu/libm-test-ulps: Update.
5646
94558d30
PT
56472012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5648
5649 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5650 printf output with newline.
5651
7e1be741
L
56522012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5653
6bfea974
L
5654 [BZ #14865]
5655 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5656 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5657 -z nodlopen, -z initfirst and -z execstack support.
5658 * configure: Regenerated.
5659
7e1be741
L
5660 * elf/elf.h (DF_1_NODIRECT): New macro.
5661 (DF_1_IGNMULDEF): Likewise.
5662 (DF_1_NOKSYMS): Likewise.
5663 (DF_1_NOHDR): Likewise.
5664 (DF_1_EDITED): Likewise.
5665 (DF_1_NORELOC): Likewise.
5666 (DF_1_SYMINTPOSE): Likewise.
5667 (DF_1_GLOBAUDIT): Likewise.
5668 (DF_1_SINGLETON): Likewise.
5669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5670 DT_1_SUPPORTED_MASK bits.
5671 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5672
105ce2ce
CD
56732012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5674
5675 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5676
123be9de
TS
56772012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5678
d072f3f7
TS
5679 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5680 macro.
5681
123be9de
TS
5682 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5683 (sendmmsg): Move declarations...
5684 * socket/sys/socket.h: ... here.
5685 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5686 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5687 include it from...
5688 * socket/recvmmsg.c: ... this new file.
5689 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5690 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5691 definition of __sendmmsg hidden.
5692 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5693 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5694 Move ENOSYS stub into and include it from...
5695 * socket/sendmmsg.c: ... this new file.
5696 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5697 (sysdep_routines): Move recvmmsg and sendmmsg...
5698 * socket/Makefile (routines): ... here.
5699 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5700 (GLIBC_PRIVATE): Add __sendmmsg.
5701 * include/sys/socket.h (__sendmmsg): Add declarations.
5702 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5703 sendmmsg.
5704
cf9a5d18
JM
57052012-11-20 Joseph Myers <joseph@codesourcery.com>
5706
5707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5708 variable I1 with __attribute__ ((unused)).
5709 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5710
ecd4caf9
JM
57112012-11-19 Joseph Myers <joseph@codesourcery.com>
5712
be14d48f
JM
5713 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5714 DUMMY variables with __attribute__ ((unused)).
5715
ecd4caf9
JM
5716 * bits/byteswap.h: Include <bits/types.h>.
5717 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5718
986cab95
PT
57192012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5720
5721 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5722 string_t. Do not manually set errno.
5723 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5724 length with __strnlen. Make sure to both set errno and return it on
5725 failure.
5726
6d33cc9d
DM
57272012-11-19 David S. Miller <davem@davemloft.net>
5728
5729 With help from Joseph Myers.
5730 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5731 very large arguments properly.
5732 * math/libm-test.inc (atan_test): New tests.
5733 (atan2_test): New tests.
5734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5736
ee663277
JM
57372012-11-19 Joseph Myers <joseph@codesourcery.com>
5738
877f2d8e
JM
5739 [BZ #14856]
5740 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5741 Define to 3.
5742
116fc08a
JM
5743 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5744 [POSIX] (EADDRNOTAVAIL): Likewise.
5745 [POSIX] (EAFNOSUPPORT): Likewise.
5746 [POSIX] (EALREADY): Likewise.
5747 [POSIX] (ECONNABORTED): Likewise.
5748 [POSIX] (ECONNREFUSED): Likewise.
5749 [POSIX] (ECONNRESET): Likewise.
5750 [POSIX] (EDESTADDRREQ): Likewise.
5751 [POSIX] (EDQUOT): Likewise.
5752 [POSIX] (EHOSTUNREACH): Likewise.
5753 [POSIX] (EIDRM): Likewise.
5754 [POSIX] (EISCONN): Likewise.
5755 [POSIX] (ELOOP): Likewise.
5756 [POSIX] (EMULTIHOP): Likewise.
5757 [POSIX] (ENETDOWN): Likewise.
5758 [POSIX] (ENETUNREACH): Likewise.
5759 [POSIX] (ENOBUFS): Likewise.
5760 [POSIX] (ENODATA): Likewise.
5761 [POSIX] (ENOLINK): Likewise.
5762 [POSIX] (ENOMSG): Likewise.
5763 [POSIX] (ENOPROTOOPT): Likewise.
5764 [POSIX] (ENOSR): Likewise.
5765 [POSIX] (ENOSTR): Likewise.
5766 [POSIX] (ENOTCONN): Likewise.
5767 [POSIX] (ENOTSOCK): Likewise.
5768 [POSIX] (EOPNOTSUPP): Likewise.
5769 [POSIX] (EOVERFLOW): Likewise.
5770 [POSIX] (EPROTO): Likewise.
5771 [POSIX] (EPROTONOSUPPORT): Likewise.
5772 [POSIX] (EPROTOTYPE): Likewise.
5773 [POSIX] (ESTALE): Likewise.
5774 [POSIX] (ETIME): Likewise.
5775 [POSIX] (ETXTBSY): Likewise.
5776 [POSIX] (EWOULDBLOCK): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5778 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5779 [POSIX] (SEEK_CUR): Likewise.
5780 [POSIX] (SEEK_END): Likewise.
5781 [POSIX || UNIX98] (mode_t): Do not require.
5782 [POSIX] (off_t): Likewise.
5783 [POSIX] (pid_t): Likewise.
5784 [POSIX] (sys/stat.h): Do not allow header.
5785 [POSIX] (unistd.h): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5787 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5789 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5790 require.
5791 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5792 sigevent): Specify elements.
5793 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5794 entry.
5795 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5796 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5797
a483863f
JM
5798 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5799 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5800 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5801 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5802 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5803 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5804 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5805 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5806 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5807 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5808 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5809 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5810 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5812 Likewise.
5813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5814 Likewise.
5815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5816 Likewise.
5817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5818 Likewise.
5819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5820 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5821 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5822 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5824 Specify lower bound on value.
5825 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5831 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5832 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5833 value.
5834 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5835 as optional.
5836 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5852 entry.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5854 optional.
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5861 Likewise.
5862 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5867 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5869 as optional.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5874 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5875 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5876 specify as optional.
5877 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5880 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5881 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5882 [XPG3] (NL_LANGMAX): Likewise.
5883 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5884 [POSIX || XPG3] (NL_NMAX): Likewise.
5885 [POSIX || XPG3] (NL_SETMAX): Likewise.
5886 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5887 [XPG3] (NZERO): Likewise.
5888 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5889 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5890 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5891 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5892 (REG_ERANGE): Expect.
5893 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5894 optional-constant.
5895 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5896 Use (void) in prototype.
5897 [POSIX] (*_t): Allow.
5898 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5899 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5900 (WRDE_BADVAL): Expect.
5901
5ba924e3
JM
5902 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5903 expect.
5904 [XPG3 || XPG4] (O_RSYNC): Likewise.
5905 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5906 Likewise.
5907 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5908 [XPG3 || XPG4] (sigqueue): Likewise.
5909 [XPG3 || XPG4] (sigtimedwait): Likewise.
5910 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5911 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5912 [XPG3 || XPG4] (vsnprintf): Likewise.
5913 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5914 Likewise.
5915 [XPG3 || XPG4] (blksize_t): Likewise.
5916 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5917 Likewise.
5918 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5919 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5920 [XPG3 || XPG4] (struct itimerspec): Likewise.
5921 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5922 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5923 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5924 [XPG3 || XPG4] (clockid_t): Likewise.
5925 [XPG3 || XPG4] (timer_t): Likewise.
5926 [XPG3 || XPG4] (clock_getres): Likewise.
5927 [XPG3 || XPG4] (clock_gettime): Likewise.
5928 [XPG3 || XPG4] (clock_settime): Likewise.
5929 [XPG3 || XPG4] (nanosleep): Likewise.
5930 [XPG3 || XPG4] (timer_create): Likewise.
5931 [XPG3 || XPG4] (timer_delete): Likewise.
5932 [XPG3 || XPG4] (timer_gettime): Likewise.
5933 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5934 [XPG3 || XPG4] (timer_settime): Likewise.
5935 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5936 [XPG3 || XPG4] (getlogin_r): Likewise.
5937 [XPG3 || XPG4] (pread): Likewise.
5938 [XPG3 || XPG4] (pthread_atfork): Likewise.
5939 [XPG3 || XPG4] (pwrite): Likewise.
5940
ee663277
JM
5941 [BZ #14835]
5942 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5943 <bits/siginfo.h>.
5944
942caa16
PT
59452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5946
e19af380
PT
5947 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5948 finalizing MALLSTREAM.
5949
942caa16
PT
5950 * sysdeps/mach/hurd/syncfs.c: New file.
5951
cfde9b46
SP
59522012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5953
5954 [BZ #14719]
5955 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5956 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5958 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5959 (_nss_dns_gethostbyname4_r): Likewise.
5960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5961 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5962
f6da27e5
PH
59632012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5964
5965 [BZ #13763]
5966 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5967
6665d4a2
SM
59682012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5969
1f51ee92
SM
5970 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5971 * elf/cache.c (print_entry): Print ",AArch64" for
5972 FLAG_AARCH64_LIB64
5973
6665d4a2
SM
5974 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5975 * elf/cache.c (print_entry): Print ",hard-float" for
5976 FLAG_ARM_LIBHF.
5977
05b227bd
DM
59782012-11-18 David S. Miller <davem@davemloft.net>
5979
5980 With help from Joseph Myers.
5981 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5982 cutoff to 2**-13.
5983 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5984 cutoff to 2**-25.
5985 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5986 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5987 small.
5988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5989 * math/libm-test.inc (y0_test): New tests.
5990 (y1_test): New tests.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5994
786b0b67
AS
59952012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5996
5997 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5998 64-bit targets.
5999 * configure: Regenerated.
6000
8e18b86d
DM
60012012-11-17 David S. Miller <davem@davemloft.net>
6002
6003 [BZ #14811]
6004 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6005 nonzero exponents with absolute value below 0x1p-128 to +/-
6006 0x1p-128.
6007
531f1ae0
JM
60082012-11-17 Joseph Myers <joseph@codesourcery.com>
6009
12df29e2
JM
6010 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6011
150dc1a0
JM
6012 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6013
531f1ae0
JM
6014 * posix/getconf-speclist.c: New file.
6015 * posix/posix-envs.def: Likewise.
6016 * posix/confstr.c (START_ENV_GROUP): New macro.
6017 (END_ENV_GROUP): Likewise.
6018 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6019 (KNOWN_PRESENT_ENV_STRING): Likewise.
6020 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6021 (UNKNOWN_ENVIRONMENT): Likewise.
6022 (confstr): Include posix-envs.def instead of handling
6023 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6024 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6025 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6026 (END_ENV_GROUP): Likewise.
6027 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6028 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6029 (UNKNOWN_ENVIRONMENT): Likewise.
6030 (__sysconf): Include posix-envs.def instead of handling associated
6031 cases directly here.
6032 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6033 preprocessing getconf-speclist.c rather than running getconf or
6034 generating empty file.
6035
a93f9cbc
PT
60362012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6037
6038 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6039
d64d9f87
AL
60402012-11-16 Andrej Lajovic <natrij@gmail.com>
6041
6042 [BZ #14672]
6043 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6044
447885eb
DM
60452012-11-16 David S. Miller <davem@davemloft.net>
6046
6047 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6048 smaller than LDBL_EPSILON/2.0L, just return xm1.
6049
bcbf9830
L
60502012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6051
6052 * elf/tst-array1.c (init): Set constructor priority to 1000.
6053 (fini): Set destructor priority to 1000.
6054 * elf/tst-array2dep.c: Likewise.
6055
2b766585
SP
60562012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6057
6058 [BZ #11741]
6059 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6060 (_IO_new_file_xsputn): Also return EOF if none of the input
6061 data was written when overflow failed.
6062 * libio/iopadn.c (_IO_padn): Likewise.
6063 * libio/iowpadn.c (_IO_wpadn): Likewise.
6064 * stdio-common/tst-put-error.c: Add copyright notice.
6065 (do_test): Add case for printing padded string.
6066 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6067 _IO_padn returned error.
6068 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6069 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6070 return EOF.
6071
b1848fde
SP
60722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6073
6074 * libio/libioP.h: Add comment note that the references to C++
6075 bits are now obsolete.
6076
2fd89785
MS
60772012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6078
6079 * math/libm-test.inc (check_complex): Use asprintf.
6080
e3ea5409
JM
60812012-11-14 Joseph Myers <joseph@codesourcery.com>
6082
6083 * debug/pcprofiledump.c (print_version): Update copyright year.
6084 * malloc/memusagestat.c (print_version): Likewise.
6085
2e64d265
L
60862012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 [BZ #14831]
6089 * elf/Makefile (tests): Add tst-audit8.
6090 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6091 ($(objpfx)tst-audit8.out): New target.
6092 (tst-audit8-ENV): New variable.
6093 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6094 audit if l_reloc_result is NULL.
6095 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6096 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6097 * elf/tst-audit8.c: New file.
6098
c485e4d2
MS
60992012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6100
6101 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6102 * misc/Makefile (CFLAGS-select.c): Define.
6103 * posix/Makefile (CFLAGS-pause.c): Define.
6104
3a0d900a
DM
61052012-11-13 David S. Miller <davem@davemloft.net>
6106
6107 * crypt/Makefile: Move test targets after toplevel Rules
6108 inclusion. Grab any necessary sysdep routines when linking.
6109 * crypt/md5.c (md5_process_block): Remove define, we will always
6110 name it __md5_process_block.
6111 (md5_finish_ctx): Update md5_process_block call.
6112 (md5_stream): Likewise.
6113 (md5_process_bytes): Likewise.
6114 (md5_process_block): Rename to __md5_process_block and move to ...
6115 * crypt/md5-block.c: ... here.
6116 * crypt/sha256.c (sha256_process_block): Move to ...
6117 * crypt/sha256-block.c: ... here.
6118 * crypt/sha512.c (sha512_process_block): Move to ...
6119 * crypt/sha512-block.c: ... here.
6120 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6121 path.
6122 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6123 * sysdeps/sparc/sparc64/multiarch/Makefile
6124 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6125 crypt subdir.
6126 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6127 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6128 multiarch changes.
6129 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6130 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6131 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6132 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6133 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6134 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6135 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6136 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6138 file.
6139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6141 file.
6142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6143
8ca89318
JM
61442012-11-13 Joseph Myers <joseph@codesourcery.com>
6145
e27d476a
JM
6146 * timezone/tzselect.ksh: Update from tzcode git revision
6147 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6148 * timezone/zdump.c: Likewise.
6149 * timezone/zic.c: Likewise.
6150 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6151 in TZVERSION setting, not $(PKGVERSION).
6152 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6153 REPORT_BUGS_TO settings.
6154
8ca89318
JM
6155 [BZ #14838]
6156 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6157 macro.
6158
47594329
MS
61592012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6160
6161 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6162 detection to immediately after _FP_ROUND().
6163 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6164 bits are 0.
6165
640ac3f1
DM
61662012-11-11 David S. Miller <davem@davemloft.net>
6167
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6169 inttypes.h
6170 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6171 __close rather than their public counterparts.
6172
3d2577bb
JM
61732012-11-10 Joseph Myers <joseph@codesourcery.com>
6174
6175 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6176 file.
6177 [UNIX98] (sem_timedwait): Do not expect.
6178 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6179 [XPG4 || UNIX98] (sockatmark): Do not expect.
6180 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6181 (clock_getcpuclockid): Do not expect.
6182 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6183 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6184 Do not expect.
6185 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6186 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6187 [UNIX98] (vwscanf): Likewise.
6188 [UNIX98] (vswscanf): Likewise.
6189
fb1ae1ee
JM
61902012-11-09 Joseph Myers <joseph@codesourcery.com>
6191
9ec6f8bd
JM
6192 * timezone/version.h: Remove file.
6193 * timezone/README: Do not refer to version.h.
6194 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6195 $(objpfx)version.h.
6196 ($(objpfx)zdump.o): Likewise.
c3f81911 6197 ($(objpfx)version.h): New target.
9ec6f8bd 6198
0aa8f8a1
JM
6199 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6200 2012i.
6201 * timezone/README: Don't mention modification to tzselect.ksh.
6202 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6203 work on unmodified tzselect.ksh. Substitute version numbers in
6204 tzselect.ksh.
6205
4e87147f
JM
6206 * Makefile (format-me): Remove.
6207 (INSTALL): Adjust indentation. Use commands directly instead of
6208 using $(format-me).
6209
8b748aed
JM
6210 * aclocal.m4 (ACX_PKGVERSION): New macro.
6211 (ACX_BUGURL): Likewise.
6212 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6213 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6214 (REPORT_BUGS_TO): Likewise.
6215 * configure: Regenerated.
6216 * config.h.in (PKGVERSION): New macro.
6217 (REPORT_BUGS_TO): Likewise.
6218 * config.make.in (PKGVERSION): New variable.
6219 (PKGVERSION_TEXI): Likewise.
6220 (REPORT_BUGS_TO): Likewise.
6221 (REPORT_BUGS_TEXI): Likewise.
6222 * Makefile (format-me): Use -I$(common-objpfx)manual.
6223 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6224 ($(common-objpfx)manual/%): New target.
6225 (manual/%): Remove target.
6226 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6227 (print_version): Use PKGVERSION.
6228 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6229 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6230 and REPORT_BUGS_TO.
6231 ($(objpfx)xtrace): Likewise.
6232 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6233 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6234 (print_version): Use PKGVERSION.
6235 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6236 (do_version): Use PKGVERSION.
6237 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6238 REPORT_BUGS_TO.
6239 (common-ldd-rewrite): Likewise.
6240 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6241 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6242 (print_version): Use PKGVERSION.
6243 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6244 * elf/pldd.c (argp_program_bug_address): Remove variable.
6245 (more_help): New function.
6246 (argp): Use more_help.
6247 (print_version): Use PKGVERSION.
6248 * elf/sln.c (main): Use PKGVERSION.
6249 (usage): Use REPORT_BUGS_TO.
6250 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6251 (top level): Use PKGVERSION.
6252 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6253 (print_version): Use PKGVERSION.
6254 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6255 (print_version): Use PKGVERSION.
6256 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6257 (print_version): Use PKGVERSION.
6258 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6259 (print_version): Use PKGVERSION.
6260 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6261 (print_version): Use PKGVERSION.
6262 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6263 (print_version): Use PKGVERSION.
6264 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6265 and BUGURL.
6266 ($(objpfx)memusage): Likewise.
6267 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6268 (do_version): Use PKGVERSION.
6269 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6270 (print_version): Use PKGVERSION.
6271 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6272 ($PKGVERSION): New variable.
6273 ($REPORT_BUGS_TO): Likewise.
6274 (usage): Use $REPORT_BUGS_TO.
6275 (top level): Use $PKGVERSION.
6276 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6277 ($(objpfx)pkgvers.texi): New rule.
6278 ($(objpfx)stamp-pkgvers): Likewise.
6279 * manual/install.texi: Include pkgvers.texi.
6280 (--with-pkgversion): Document new configure option.
6281 (--with-bugurl): Likewise.
6282 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6283 than necessarily for this particular distribution. Use
6284 REPORT_BUGS_TO for where to report bugs.
6285 * INSTALL: Regenerated.
6286 * manual/libc.texinfo: Include pkgvers.texi.
6287 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6288 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6289 (print_version): Use PKGVERSION.
6290 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6291 (print_version): Use PKGVERSION.
6292 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6293 (print_version): Use PKGVERSION.
6294 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6295 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6296 macro.
6297 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6298 (print_version): Use PKGVERSION.
6299 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6300 (print_version): Use PKGVERSION.
6301 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6302 and PKGVERSION.
6303
92e4b6a9
JM
6304 * timezone/checktab.awk: Update from tzcode 2012i.
6305 * timezone/ialloc.c: Likewise.
6306 * timezone/private.h: Likewise.
6307 * timezone/scheck.c: Likewise.
6308 * timezone/tzfile.h: Likewise.
6309 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6310 (TZVERSION): Hardcode tzcode version number.
6311 * timezone/zdump.c: Update from tzcode 2012i.
6312 * timezone/zic.c: Likewise.
6313 * timezone/version.h: New file.
6314 * timezone/README: Describe version.h. Update upstream location.
6315
9bde902c
JM
6316 [BZ #14824]
6317 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6318 (mktemp): Enable declaration.
6319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6323 Likewise.
6324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6325 Likewise.
6326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6327 Likewise.
6328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6329 Likewise.
6330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6331 Likewise.
6332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6333 Likewise.
6334
fb1ae1ee
JM
6335 [BZ #14821]
6336 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6337 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6338 for copies of such integer values.
6339 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6340 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6341
2c1adbcb
AJ
63422012-11-09 Andreas Jaeger <aj@suse.de>
6343
6344 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6345 definitions and declarations that are provided by
6346 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6347
d0f8457e
AK
63482012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6349
3a235abb 6350 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6351 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6352 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6353 definition.
6354
57241e26
MS
63552012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6356
6357 * elf/elf.h: Update comment before AArch64 relocations.
6358
60e8270d
DM
63592012-11-07 David S. Miller <davem@davemloft.net>
6360
6361 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6363 (__start_context): Declare.
6364 (__makecontext_ret): Delete.
6365 (__makecontext): Hook up __start_context instead of
6366 __makecontext_ret.
6367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6368 (sysdep_routines): Add __start_context when in stdlib.
6369
0fbb0fbc
JM
63702012-11-07 Joseph Myers <joseph@codesourcery.com>
6371
6372 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6373 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6374 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6375 hardcoded "nm".
6376 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6377 (READELF): New variable. Use it instead of hardcoded "readelf".
6378
eb48db7e
L
63792012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6380
6381 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6382 * sysdeps/x86/Makefile: Here.
6383 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6384 * sysdeps/x86/tst-xmmymm.sh: This.
6385
05bcf62a
JM
63862012-11-07 Joseph Myers <joseph@codesourcery.com>
6387
c4b6cf53
JM
6388 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6389 expectations.
6390 [UNIX98] (pthread_barrier_t): Do not expect.
6391 [UNIX98] (pthread_barrierattr_t): Likewise.
6392 [UNIX98] (pthread_spinlock_t): Likewise.
6393 [UNIX98] (pthread_barrier_destroy): Likewise.
6394 [UNIX98] (pthread_barrier_init): Likewise.
6395 [UNIX98] (pthread_barrier_wait): Likewise.
6396 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6397 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6398 [UNIX98] (pthread_barrierattr_init): Likewise.
6399 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6400 [UNIX98] (pthread_getcpuclockid): Likewise.
6401 [UNIX98] (pthread_mutex_timedlock): Likewise.
6402 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6403 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6404 [UNIX98] (pthread_sigmask): Likewise.
6405 [UNIX98] (pthread_spin_destroy): Likewise.
6406 [UNIX98] (pthread_spin_init): Likewise.
6407 [UNIX98] (pthread_spin_lock): Likewise.
6408 [UNIX98] (pthread_spin_trylock): Likewise.
6409 [UNIX98] (pthread_spin_unlock): Likewise.
6410 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6411 Do not expect.
6412 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6414 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6415 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6416 [XPG3 || XPG4] (pthread_key_t): Likewise.
6417 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6418 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6419 [XPG3 || XPG4] (pthread_once_t): Likewise.
6420 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6421 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6423 [XPG3 || XPG4] (pthread_t): Likewise.
6424
cbe6e120
JM
6425 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6426 not expect.
6427 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6428
1b126443
JM
6429 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6430 Change function return type to int.
6431
b961a573
JM
6432 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6433 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6434 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6435 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6436 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6437 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6438 [!POSIX] (posix_madvise): Likewise.
6439 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6440 && !UNIX98].
6441 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6442 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6443 (mode_t): Likewise.
6444 (posix_mem_offset): Likewise.
6445 (posix_typed_mem_get_info): Likewise.
6446 (posix_typed_mem_open): Likewise.
6447
9e188909
JM
6448 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6449 Change condition to [XOPEN2K8].
6450
05bcf62a
JM
6451 * conform/conformtest.pl: Preprocess allow-header data with -x c
6452 instead of from stdin.
6453 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6454 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6455 [C99-based standards] (cerfc): Likewise.
6456 [C99-based standards] (cexp2): Likewise.
6457 [C99-based standards] (cexpm1): Likewise.
6458 [C99-based standards] (clog10): Likewise.
6459 [C99-based standards] (clog1p): Likewise.
6460 [C99-based standards] (clog2): Likewise.
6461 [C99-based standards] (clgamma): Likewise.
6462 [C99-based standards] (ctgamma): Likewise.
6463 [C99-based standards] (cerff): Likewise.
6464 [C99-based standards] (cerfcf): Likewise.
6465 [C99-based standards] (cexp2f): Likewise.
6466 [C99-based standards] (cexpm1f): Likewise.
6467 [C99-based standards] (clog10f): Likewise.
6468 [C99-based standards] (clog1pf): Likewise.
6469 [C99-based standards] (clog2f): Likewise.
6470 [C99-based standards] (clgammaf): Likewise.
6471 [C99-based standards] (ctgammaf): Likewise.
6472 [C99-based standards] (cerfl): Likewise.
6473 [C99-based standards] (cerfcl): Likewise.
6474 [C99-based standards] (cexp2l): Likewise.
6475 [C99-based standards] (cexpm1l): Likewise.
6476 [C99-based standards] (clog10l): Likewise.
6477 [C99-based standards] (clog1pl): Likewise.
6478 [C99-based standards] (clog2l): Likewise.
6479 [C99-based standards] (clgammal): Likewise.
6480 [C99-based standards] (ctgammal): Likewise.
6481 * conform/data/inttypes.h-data [C99-based standards]: Include
6482 stdint.h-data. Remove all expectations for stdint.h contents.
6483 [C99-based standards] (PRI*): Do not allow.
6484 [C99-based standards] (SCN*): Likewise.
6485 [C99-based standards] (*_t): Likewise.
6486 [C99-based-standards] (PRId8): Expect macro.
6487 [C99-based-standards] (PRIi8): Likewise.
6488 [C99-based-standards] (PRIo8): Likewise.
6489 [C99-based-standards] (PRIu8): Likewise.
6490 [C99-based-standards] (PRIx8): Likewise.
6491 [C99-based-standards] (PRIX8): Likewise.
6492 [C99-based-standards] (SCNd8): Likewise.
6493 [C99-based-standards] (SCNi8): Likewise.
6494 [C99-based-standards] (SCNo8): Likewise.
6495 [C99-based-standards] (SCNu8): Likewise.
6496 [C99-based-standards] (SCNx8): Likewise.
6497 [C99-based-standards] (PRIdLEAST8): Likewise.
6498 [C99-based-standards] (PRIiLEAST8): Likewise.
6499 [C99-based-standards] (PRIoLEAST8): Likewise.
6500 [C99-based-standards] (PRIuLEAST8): Likewise.
6501 [C99-based-standards] (PRIxLEAST8): Likewise.
6502 [C99-based-standards] (PRIXLEAST8): Likewise.
6503 [C99-based-standards] (SCNdLEAST8): Likewise.
6504 [C99-based-standards] (SCNiLEAST8): Likewise.
6505 [C99-based-standards] (SCNoLEAST8): Likewise.
6506 [C99-based-standards] (SCNuLEAST8): Likewise.
6507 [C99-based-standards] (SCNxLEAST8): Likewise.
6508 [C99-based-standards] (PRIdFAST8): Likewise.
6509 [C99-based-standards] (PRIiFAST8): Likewise.
6510 [C99-based-standards] (PRIoFAST8): Likewise.
6511 [C99-based-standards] (PRIuFAST8): Likewise.
6512 [C99-based-standards] (PRIxFAST8): Likewise.
6513 [C99-based-standards] (PRIXFAST8): Likewise.
6514 [C99-based-standards] (SCNdFAST8): Likewise.
6515 [C99-based-standards] (SCNiFAST8): Likewise.
6516 [C99-based-standards] (SCNoFAST8): Likewise.
6517 [C99-based-standards] (SCNuFAST8): Likewise.
6518 [C99-based-standards] (SCNxFAST8): Likewise.
6519 [C99-based-standards] (PRId16): Likewise.
6520 [C99-based-standards] (PRIi16): Likewise.
6521 [C99-based-standards] (PRIo16): Likewise.
6522 [C99-based-standards] (PRIu16): Likewise.
6523 [C99-based-standards] (PRIx16): Likewise.
6524 [C99-based-standards] (PRIX16): Likewise.
6525 [C99-based-standards] (SCNd16): Likewise.
6526 [C99-based-standards] (SCNi16): Likewise.
6527 [C99-based-standards] (SCNo16): Likewise.
6528 [C99-based-standards] (SCNu16): Likewise.
6529 [C99-based-standards] (SCNx16): Likewise.
6530 [C99-based-standards] (PRIdLEAST16): Likewise.
6531 [C99-based-standards] (PRIiLEAST16): Likewise.
6532 [C99-based-standards] (PRIoLEAST16): Likewise.
6533 [C99-based-standards] (PRIuLEAST16): Likewise.
6534 [C99-based-standards] (PRIxLEAST16): Likewise.
6535 [C99-based-standards] (PRIXLEAST16): Likewise.
6536 [C99-based-standards] (SCNdLEAST16): Likewise.
6537 [C99-based-standards] (SCNiLEAST16): Likewise.
6538 [C99-based-standards] (SCNoLEAST16): Likewise.
6539 [C99-based-standards] (SCNuLEAST16): Likewise.
6540 [C99-based-standards] (SCNxLEAST16): Likewise.
6541 [C99-based-standards] (PRIdFAST16): Likewise.
6542 [C99-based-standards] (PRIiFAST16): Likewise.
6543 [C99-based-standards] (PRIoFAST16): Likewise.
6544 [C99-based-standards] (PRIuFAST16): Likewise.
6545 [C99-based-standards] (PRIxFAST16): Likewise.
6546 [C99-based-standards] (PRIXFAST16): Likewise.
6547 [C99-based-standards] (SCNdFAST16): Likewise.
6548 [C99-based-standards] (SCNiFAST16): Likewise.
6549 [C99-based-standards] (SCNoFAST16): Likewise.
6550 [C99-based-standards] (SCNuFAST16): Likewise.
6551 [C99-based-standards] (SCNxFAST16): Likewise.
6552 [C99-based-standards] (PRId32): Likewise.
6553 [C99-based-standards] (PRIi32): Likewise.
6554 [C99-based-standards] (PRIo32): Likewise.
6555 [C99-based-standards] (PRIu32): Likewise.
6556 [C99-based-standards] (PRIx32): Likewise.
6557 [C99-based-standards] (PRIX32): Likewise.
6558 [C99-based-standards] (SCNd32): Likewise.
6559 [C99-based-standards] (SCNi32): Likewise.
6560 [C99-based-standards] (SCNo32): Likewise.
6561 [C99-based-standards] (SCNu32): Likewise.
6562 [C99-based-standards] (SCNx32): Likewise.
6563 [C99-based-standards] (PRIdLEAST32): Likewise.
6564 [C99-based-standards] (PRIiLEAST32): Likewise.
6565 [C99-based-standards] (PRIoLEAST32): Likewise.
6566 [C99-based-standards] (PRIuLEAST32): Likewise.
6567 [C99-based-standards] (PRIxLEAST32): Likewise.
6568 [C99-based-standards] (PRIXLEAST32): Likewise.
6569 [C99-based-standards] (SCNdLEAST32): Likewise.
6570 [C99-based-standards] (SCNiLEAST32): Likewise.
6571 [C99-based-standards] (SCNoLEAST32): Likewise.
6572 [C99-based-standards] (SCNuLEAST32): Likewise.
6573 [C99-based-standards] (SCNxLEAST32): Likewise.
6574 [C99-based-standards] (PRIdFAST32): Likewise.
6575 [C99-based-standards] (PRIiFAST32): Likewise.
6576 [C99-based-standards] (PRIoFAST32): Likewise.
6577 [C99-based-standards] (PRIuFAST32): Likewise.
6578 [C99-based-standards] (PRIxFAST32): Likewise.
6579 [C99-based-standards] (PRIXFAST32): Likewise.
6580 [C99-based-standards] (SCNdFAST32): Likewise.
6581 [C99-based-standards] (SCNiFAST32): Likewise.
6582 [C99-based-standards] (SCNoFAST32): Likewise.
6583 [C99-based-standards] (SCNuFAST32): Likewise.
6584 [C99-based-standards] (SCNxFAST32): Likewise.
6585 [C99-based-standards] (PRId64): Likewise.
6586 [C99-based-standards] (PRIi64): Likewise.
6587 [C99-based-standards] (PRIo64): Likewise.
6588 [C99-based-standards] (PRIu64): Likewise.
6589 [C99-based-standards] (PRIx64): Likewise.
6590 [C99-based-standards] (PRIX64): Likewise.
6591 [C99-based-standards] (SCNd64): Likewise.
6592 [C99-based-standards] (SCNi64): Likewise.
6593 [C99-based-standards] (SCNo64): Likewise.
6594 [C99-based-standards] (SCNu64): Likewise.
6595 [C99-based-standards] (SCNx64): Likewise.
6596 [C99-based-standards] (PRIdLEAST64): Likewise.
6597 [C99-based-standards] (PRIiLEAST64): Likewise.
6598 [C99-based-standards] (PRIoLEAST64): Likewise.
6599 [C99-based-standards] (PRIuLEAST64): Likewise.
6600 [C99-based-standards] (PRIxLEAST64): Likewise.
6601 [C99-based-standards] (PRIXLEAST64): Likewise.
6602 [C99-based-standards] (SCNdLEAST64): Likewise.
6603 [C99-based-standards] (SCNiLEAST64): Likewise.
6604 [C99-based-standards] (SCNoLEAST64): Likewise.
6605 [C99-based-standards] (SCNuLEAST64): Likewise.
6606 [C99-based-standards] (SCNxLEAST64): Likewise.
6607 [C99-based-standards] (PRIdFAST64): Likewise.
6608 [C99-based-standards] (PRIiFAST64): Likewise.
6609 [C99-based-standards] (PRIoFAST64): Likewise.
6610 [C99-based-standards] (PRIuFAST64): Likewise.
6611 [C99-based-standards] (PRIxFAST64): Likewise.
6612 [C99-based-standards] (PRIXFAST64): Likewise.
6613 [C99-based-standards] (SCNdFAST64): Likewise.
6614 [C99-based-standards] (SCNiFAST64): Likewise.
6615 [C99-based-standards] (SCNoFAST64): Likewise.
6616 [C99-based-standards] (SCNuFAST64): Likewise.
6617 [C99-based-standards] (SCNxFAST64): Likewise.
6618 [C99-based-standards] (PRIdMAX): Likewise.
6619 [C99-based-standards] (PRIiMAX): Likewise.
6620 [C99-based-standards] (PRIoMAX): Likewise.
6621 [C99-based-standards] (PRIuMAX): Likewise.
6622 [C99-based-standards] (PRIxMAX): Likewise.
6623 [C99-based-standards] (PRIXMAX): Likewise.
6624 [C99-based-standards] (SCNdMAX): Likewise.
6625 [C99-based-standards] (SCNiMAX): Likewise.
6626 [C99-based-standards] (SCNoMAX): Likewise.
6627 [C99-based-standards] (SCNuMAX): Likewise.
6628 [C99-based-standards] (SCNxMAX): Likewise.
6629 [C99-based-standards] (PRIdPTR): Likewise.
6630 [C99-based-standards] (PRIiPTR): Likewise.
6631 [C99-based-standards] (PRIoPTR): Likewise.
6632 [C99-based-standards] (PRIuPTR): Likewise.
6633 [C99-based-standards] (PRIxPTR): Likewise.
6634 [C99-based-standards] (PRIXPTR): Likewise.
6635 [C99-based-standards] (SCNdPTR): Likewise.
6636 [C99-based-standards] (SCNiPTR): Likewise.
6637 [C99-based-standards] (SCNoPTR): Likewise.
6638 [C99-based-standards] (SCNuPTR): Likewise.
6639 [C99-based-standards] (SCNxPTR): Likewise.
6640 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6641 allow.
6642 * conform/data/stdint.h-data: Update comments to clarify
6643 requirements.
6644 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6645 type.
6646 [C99-based standards] (INT8_MAX): Likewise.
6647 [C99-based standards] (INT16_MIN): Likewise.
6648 [C99-based standards] (INT16_MAX): Likewise.
6649 [C99-based standards] (INT32_MIN): Likewise.
6650 [C99-based standards] (INT32_MAX): Likewise.
6651 [C99-based standards] (INT64_MIN): Likewise.
6652 [C99-based standards] (INT64_MAX): Likewise.
6653 [C99-based standards] (UINT8_MAX): Likewise.
6654 [C99-based standards] (UINT16_MAX): Likewise.
6655 [C99-based standards] (UINT32_MAX): Likewise.
6656 [C99-based standards] (UINT64_MAX): Likewise.
6657 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6658 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6659 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6660 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6661 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6662 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6663 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6664 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6665 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6666 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6667 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6668 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6669 [C99-based standards] (INT_FAST8_MIN): Likewise.
6670 [C99-based standards] (INT_FAST8_MAX): Likewise.
6671 [C99-based standards] (INT_FAST16_MIN): Likewise.
6672 [C99-based standards] (INT_FAST16_MAX): Likewise.
6673 [C99-based standards] (INT_FAST32_MIN): Likewise.
6674 [C99-based standards] (INT_FAST32_MAX): Likewise.
6675 [C99-based standards] (INT_FAST64_MIN): Likewise.
6676 [C99-based standards] (INT_FAST64_MAX): Likewise.
6677 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6678 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6679 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6680 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6681 [C99-based standards] (INTPTR_MIN): Likewise.
6682 [C99-based standards] (INTPTR_MAX): Likewise.
6683 [C99-based standards] (UINTPTR_MAX): Likewise.
6684 [C99-based standards] (INTMAX_MIN): Likewise.
6685 [C99-based standards] (INTMAX_MAX): Likewise.
6686 [C99-based standards] (UINTMAX_MAX): Likewise.
6687 [C99-based standards] (PTRDIFF_MIN): Likewise.
6688 [C99-based standards] (PTRDIFF_MAX): Likewise.
6689 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6690 [C99-based standards] (SIZE_MAX): Likewise.
6691 [C99-based standards] (WCHAR_MAX): Likewise.
6692 [C99-based standards] (WINT_MAX): Likewise.
6693 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6694 constraint on value.
6695 [C99-based standards] (WCHAR_MIN): Likewise.
6696 [C99-based standards] (WINT_MIN): Likewise.
6697 [C99-based standards] (*_t): Allow.
6698 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6699 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6700 Include math.h-data and complex.h-data. Remove all expectations
6701 of math.h and complex.h contents.
6702 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6703 at end of line.
6704 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6705 (struct tm): Expect tag.
6706 [C99-based-standards] (wcstof): Expect function.
6707 [C99-based-standards] (wcstold): Likewise.
6708 [C99-based-standards] (wcstoll): Likewise.
6709 [C99-based-standards] (wcstoull): Likewise.
6710 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6711 macro-int-constant. Specify type.
6712 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6713 constraint on value.
6714 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6715 Specify type.
6716 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6717 Specify value.
6718 [ISO C standards]: Do not allow headers.
6719 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6720 wcs[abcdefghijklmnopqrstuvwxyz]*.
6721 [ISO C standards] (*_t): Do not allow.
6722 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6723 Expect function.
6724 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6725 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6726 Specify type.
6727 [ISO C standards]: Do not allow headers.
6728 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6729 is[abcdefghijklmnopqrstuvwxyz]*.
6730 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6731 to[abcdefghijklmnopqrstuvwxyz]*.
6732 [ISO C standards] (*_t): Do not allow.
6733 * conform/data/stdalign.h-data: New file.
6734 * conform/data/stdbool.h-data: Likewise.
6735 * conform/data/stdnoreturn.h-data: Likewise.
6736
7514feb8
RM
67372012-11-07 Roland McGrath <roland@hack.frob.com>
6738
6739 [BZ #14815]
6740 * manual/filesys.texi (Directory Entries): Typo fix.
6741 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6742
19b2ecfc
MS
67432012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6744
6745 * elf/elf.h (EM_AARCH64): New macro.
6746 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6747 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6748 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6749 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6750 (R_AARCH64_TLSDESC): Likewise.
6751 (NT_ARM_TLS): Likewise.
6752 (NT_ARM_HW_BREAK): Likewise.
6753 (NT_ARM_HW_WATCH): Likewise.
6754
60e235ee
JM
67552012-11-07 Joseph Myers <joseph@codesourcery.com>
6756
6757 [BZ #14811]
6758 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6759 (__ieee754_powl): Saturate nonzero exponents with absolute value
6760 below 0x1p-79 to +/- 0x1p-79.
6761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6762 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6763 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6764 nonzero exponents with absolute value below 0x1p-32 to +/-
6765 0x1p-32.
6766 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6767 (__ieee754_powl): Saturate nonzero exponents with absolute value
6768 below 0x1p-79 to +/- 0x1p-79.
6769 * math/libm-test.inc (pow_test): Add more tests.
6770
0ab234b7
AK
67712012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6772
6773 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6774 _dl_s390_cap_flags with kernel. Increase string length.
6775 (_dl_s390_platforms): Add z196 and zEC12.
6776
45832f74
JM
67772012-11-07 Joseph Myers <joseph@codesourcery.com>
6778
6779 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6780 Change XOPEN21K to XOPEN2K.
6781
19218757
MK
67822012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6783
6784 * string/memmove.c: Use memcpy when possible.
6785
c5f45721
AJ
67862012-11-06 Andreas Jaeger <aj@suse.de>
6787
6788 * po/eo.po: Update from translation team.
6789
82477c28
JM
67902012-11-06 Joseph Myers <joseph@codesourcery.com>
6791
6792 [BZ #14793]
6793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6794 exponent and small x and y exponents, scale x or y up. Increase
6795 by 2 the exponent used in scaling up.
6796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6798 * math/libm-test.inc (fma_test): Add more tests.
6799 (fma_test_towardzero): Likewise.
6800 (fma_test_downward): Likewise.
6801 (fma_test_upward): Likewise.
6802
99252c8c
JM
68032012-11-05 Joseph Myers <joseph@codesourcery.com>
6804
acfa885f
JM
6805 [BZ #14805]
6806 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6807 fenv_t *.
6808
99252c8c
JM
6809 [BZ #14801]
6810 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6811 namespace for names of struct fields.
6812 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6813 fenv_t fields.
6814 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6815 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6816
d6d98dea
ST
68172012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6818
6819 [BZ #3665]
6820 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6821
e10bb107
TS
68222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6823
6824 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6825 PTR_DEMANGLE.
6826
6827 [BZ #5246]
6828 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6829 PTR_DEMANGLE.
6830
a0c2940d
JM
68312012-11-04 Joseph Myers <joseph@codesourcery.com>
6832
6833 [BZ #14797]
6834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6835 definitely overflow as x * y not x * y + z.
6836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6838 * math/libm-test.inc (fma_test): Add more tests.
6839 (fma_test_towardzero): Likewise.
6840 (fma_test_downward): Likewise.
6841 (fma_test_upward): Likewise.
6842
b830319d
TS
68432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6844
6845 [BZ #157]
6846
6847 * include/stub-tag.h: Remove file.
6848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6849 '#include' of it.
6850 * manual/maint.texi (Porting): Don't reference it.
6851 * Makerules ($(objpfx)stubs): Likewise.
6852 * dirent/closedir.c: Don't include <stub-tag.h>.
6853 * dirent/dirfd.c: Likewise.
6854 * dirent/fdopendir.c: Likewise.
6855 * dirent/getdents.c: Likewise.
6856 * dirent/getdents64.c: Likewise.
6857 * dirent/opendir.c: Likewise.
6858 * dirent/readdir.c: Likewise.
6859 * dirent/readdir64.c: Likewise.
6860 * dirent/readdir64_r.c: Likewise.
6861 * dirent/readdir_r.c: Likewise.
6862 * dirent/rewinddir.c: Likewise.
6863 * dirent/seekdir.c: Likewise.
6864 * dirent/telldir.c: Likewise.
6865 * gmon/profil.c: Likewise.
6866 * grp/setgroups.c: Likewise.
6867 * inet/if_index.c: Likewise.
6868 * io/access.c: Likewise.
6869 * io/chdir.c: Likewise.
6870 * io/chmod.c: Likewise.
6871 * io/chown.c: Likewise.
6872 * io/close.c: Likewise.
6873 * io/dup.c: Likewise.
6874 * io/dup2.c: Likewise.
6875 * io/dup3.c: Likewise.
6876 * io/euidaccess.c: Likewise.
6877 * io/faccessat.c: Likewise.
6878 * io/fchdir.c: Likewise.
6879 * io/fchmod.c: Likewise.
6880 * io/fchmodat.c: Likewise.
6881 * io/fchown.c: Likewise.
6882 * io/fchownat.c: Likewise.
6883 * io/fcntl.c: Likewise.
6884 * io/flock.c: Likewise.
6885 * io/fstatfs.c: Likewise.
6886 * io/fstatfs64.c: Likewise.
6887 * io/fstatvfs.c: Likewise.
6888 * io/fstatvfs64.c: Likewise.
6889 * io/futimens.c: Likewise.
6890 * io/fxstat.c: Likewise.
6891 * io/fxstat64.c: Likewise.
6892 * io/fxstatat.c: Likewise.
6893 * io/fxstatat64.c: Likewise.
6894 * io/getcwd.c: Likewise.
6895 * io/isatty.c: Likewise.
6896 * io/lchmod.c: Likewise.
6897 * io/lchown.c: Likewise.
6898 * io/link.c: Likewise.
6899 * io/linkat.c: Likewise.
6900 * io/lseek.c: Likewise.
6901 * io/lseek64.c: Likewise.
6902 * io/lxstat64.c: Likewise.
6903 * io/mkdir.c: Likewise.
6904 * io/mkdirat.c: Likewise.
6905 * io/mkfifo.c: Likewise.
6906 * io/mkfifoat.c: Likewise.
6907 * io/open.c: Likewise.
6908 * io/open64.c: Likewise.
6909 * io/openat.c: Likewise.
6910 * io/openat64.c: Likewise.
6911 * io/pipe.c: Likewise.
6912 * io/pipe2.c: Likewise.
6913 * io/poll.c: Likewise.
6914 * io/posix_fadvise.c: Likewise.
6915 * io/posix_fadvise64.c: Likewise.
6916 * io/posix_fallocate.c: Likewise.
6917 * io/posix_fallocate64.c: Likewise.
6918 * io/read.c: Likewise.
6919 * io/readlink.c: Likewise.
6920 * io/readlinkat.c: Likewise.
6921 * io/rmdir.c: Likewise.
6922 * io/sendfile.c: Likewise.
6923 * io/sendfile64.c: Likewise.
6924 * io/statfs.c: Likewise.
6925 * io/statfs64.c: Likewise.
6926 * io/statvfs.c: Likewise.
6927 * io/statvfs64.c: Likewise.
6928 * io/symlink.c: Likewise.
6929 * io/symlinkat.c: Likewise.
6930 * io/ttyname.c: Likewise.
6931 * io/ttyname_r.c: Likewise.
6932 * io/umask.c: Likewise.
6933 * io/unlink.c: Likewise.
6934 * io/unlinkat.c: Likewise.
6935 * io/utime.c: Likewise.
6936 * io/utimensat.c: Likewise.
6937 * io/write.c: Likewise.
6938 * io/xmknod.c: Likewise.
6939 * io/xmknodat.c: Likewise.
6940 * io/xstat.c: Likewise.
6941 * io/xstat64.c: Likewise.
6942 * login/getpt.c: Likewise.
6943 * login/grantpt.c: Likewise.
6944 * login/unlockpt.c: Likewise.
6945 * math/e_acoshl.c: Likewise.
6946 * math/e_acosl.c: Likewise.
6947 * math/e_asinl.c: Likewise.
6948 * math/e_atan2l.c: Likewise.
6949 * math/e_atanhl.c: Likewise.
6950 * math/e_coshl.c: Likewise.
6951 * math/e_expl.c: Likewise.
6952 * math/e_fmodl.c: Likewise.
6953 * math/e_gammal_r.c: Likewise.
6954 * math/e_hypotl.c: Likewise.
6955 * math/e_j0l.c: Likewise.
6956 * math/e_j1l.c: Likewise.
6957 * math/e_jnl.c: Likewise.
6958 * math/e_lgammal_r.c: Likewise.
6959 * math/e_log10l.c: Likewise.
6960 * math/e_log2l.c: Likewise.
6961 * math/e_logl.c: Likewise.
6962 * math/e_powl.c: Likewise.
6963 * math/e_rem_pio2l.c: Likewise.
6964 * math/e_sinhl.c: Likewise.
6965 * math/e_sqrtl.c: Likewise.
6966 * math/fclrexcpt.c: Likewise.
6967 * math/fedisblxcpt.c: Likewise.
6968 * math/feenablxcpt.c: Likewise.
6969 * math/fegetenv.c: Likewise.
6970 * math/fegetexcept.c: Likewise.
6971 * math/fegetround.c: Likewise.
6972 * math/feholdexcpt.c: Likewise.
6973 * math/fesetenv.c: Likewise.
6974 * math/fesetround.c: Likewise.
6975 * math/feupdateenv.c: Likewise.
6976 * math/fgetexcptflg.c: Likewise.
6977 * math/fraiseexcpt.c: Likewise.
6978 * math/fsetexcptflg.c: Likewise.
6979 * math/ftestexcept.c: Likewise.
6980 * math/k_cosl.c: Likewise.
6981 * math/k_rem_pio2l.c: Likewise.
6982 * math/k_sinl.c: Likewise.
6983 * math/k_tanl.c: Likewise.
6984 * math/s_asinhl.c: Likewise.
6985 * math/s_atanl.c: Likewise.
6986 * math/s_cbrtl.c: Likewise.
6987 * math/s_erfl.c: Likewise.
6988 * math/s_expm1l.c: Likewise.
6989 * math/s_log1pl.c: Likewise.
6990 * math/s_tanhl.c: Likewise.
6991 * misc/acct.c: Likewise.
6992 * misc/brk.c: Likewise.
6993 * misc/chflags.c: Likewise.
6994 * misc/chroot.c: Likewise.
6995 * misc/fchflags.c: Likewise.
6996 * misc/fgetxattr.c: Likewise.
6997 * misc/flistxattr.c: Likewise.
6998 * misc/fremovexattr.c: Likewise.
6999 * misc/fsetxattr.c: Likewise.
7000 * misc/fsync.c: Likewise.
7001 * misc/ftruncate.c: Likewise.
7002 * misc/futimes.c: Likewise.
7003 * misc/futimesat.c: Likewise.
7004 * misc/getdomain.c: Likewise.
7005 * misc/getdtsz.c: Likewise.
7006 * misc/gethostid.c: Likewise.
7007 * misc/gethostname.c: Likewise.
7008 * misc/getloadavg.c: Likewise.
7009 * misc/getpagesize.c: Likewise.
7010 * misc/getsysstats.c: Likewise.
7011 * misc/getxattr.c: Likewise.
7012 * misc/gtty.c: Likewise.
7013 * misc/ioctl.c: Likewise.
7014 * misc/lgetxattr.c: Likewise.
7015 * misc/listxattr.c: Likewise.
7016 * misc/llistxattr.c: Likewise.
7017 * misc/lremovexattr.c: Likewise.
7018 * misc/lsetxattr.c: Likewise.
7019 * misc/lutimes.c: Likewise.
7020 * misc/madvise.c: Likewise.
7021 * misc/mincore.c: Likewise.
7022 * misc/mlock.c: Likewise.
7023 * misc/mlockall.c: Likewise.
7024 * misc/mmap.c: Likewise.
7025 * misc/mprotect.c: Likewise.
7026 * misc/msync.c: Likewise.
7027 * misc/munlock.c: Likewise.
7028 * misc/munlockall.c: Likewise.
7029 * misc/munmap.c: Likewise.
7030 * misc/preadv.c: Likewise.
7031 * misc/preadv64.c: Likewise.
7032 * misc/ptrace.c: Likewise.
7033 * misc/pwritev.c: Likewise.
7034 * misc/pwritev64.c: Likewise.
7035 * misc/readv.c: Likewise.
7036 * misc/reboot.c: Likewise.
7037 * misc/remap_file_pages.c: Likewise.
7038 * misc/removexattr.c: Likewise.
7039 * misc/revoke.c: Likewise.
7040 * misc/select.c: Likewise.
7041 * misc/setdomain.c: Likewise.
7042 * misc/setegid.c: Likewise.
7043 * misc/seteuid.c: Likewise.
7044 * misc/sethostid.c: Likewise.
7045 * misc/sethostname.c: Likewise.
7046 * misc/setregid.c: Likewise.
7047 * misc/setreuid.c: Likewise.
7048 * misc/setxattr.c: Likewise.
7049 * misc/sstk.c: Likewise.
7050 * misc/stty.c: Likewise.
7051 * misc/swapoff.c: Likewise.
7052 * misc/swapon.c: Likewise.
7053 * misc/sync.c: Likewise.
7054 * misc/syncfs.c: Likewise.
7055 * misc/syscall.c: Likewise.
7056 * misc/truncate.c: Likewise.
7057 * misc/ualarm.c: Likewise.
7058 * misc/usleep.c: Likewise.
7059 * misc/ustat.c: Likewise.
7060 * misc/utimes.c: Likewise.
7061 * misc/vhangup.c: Likewise.
7062 * misc/writev.c: Likewise.
7063 * posix/_exit.c: Likewise.
7064 * posix/alarm.c: Likewise.
7065 * posix/execve.c: Likewise.
7066 * posix/fexecve.c: Likewise.
7067 * posix/fork.c: Likewise.
7068 * posix/fpathconf.c: Likewise.
7069 * posix/getaddrinfo.c: Likewise.
7070 * posix/getegid.c: Likewise.
7071 * posix/geteuid.c: Likewise.
7072 * posix/getgid.c: Likewise.
7073 * posix/getgroups.c: Likewise.
7074 * posix/getlogin.c: Likewise.
7075 * posix/getlogin_r.c: Likewise.
7076 * posix/getpgid.c: Likewise.
7077 * posix/getpid.c: Likewise.
7078 * posix/getppid.c: Likewise.
7079 * posix/getresgid.c: Likewise.
7080 * posix/getresuid.c: Likewise.
7081 * posix/getsid.c: Likewise.
7082 * posix/getuid.c: Likewise.
7083 * posix/glob64.c: Likewise.
7084 * posix/nanosleep.c: Likewise.
7085 * posix/pathconf.c: Likewise.
7086 * posix/pause.c: Likewise.
7087 * posix/posix_madvise.c: Likewise.
7088 * posix/pread.c: Likewise.
7089 * posix/pread64.c: Likewise.
7090 * posix/pwrite.c: Likewise.
7091 * posix/pwrite64.c: Likewise.
7092 * posix/sched_getaffinity.c: Likewise.
7093 * posix/sched_getp.c: Likewise.
7094 * posix/sched_gets.c: Likewise.
7095 * posix/sched_primax.c: Likewise.
7096 * posix/sched_primin.c: Likewise.
7097 * posix/sched_rr_gi.c: Likewise.
7098 * posix/sched_setaffinity.c: Likewise.
7099 * posix/sched_setp.c: Likewise.
7100 * posix/sched_sets.c: Likewise.
7101 * posix/sched_yield.c: Likewise.
7102 * posix/setgid.c: Likewise.
7103 * posix/setlogin.c: Likewise.
7104 * posix/setpgid.c: Likewise.
7105 * posix/setresgid.c: Likewise.
7106 * posix/setresuid.c: Likewise.
7107 * posix/setsid.c: Likewise.
7108 * posix/setuid.c: Likewise.
7109 * posix/sleep.c: Likewise.
7110 * posix/spawni.c: Likewise.
7111 * posix/sysconf.c: Likewise.
7112 * posix/times.c: Likewise.
7113 * posix/wait.c: Likewise.
7114 * posix/wait3.c: Likewise.
7115 * posix/wait4.c: Likewise.
7116 * posix/waitpid.c: Likewise.
7117 * resolv/gai_sigqueue.c: Likewise.
7118 * resource/getpriority.c: Likewise.
7119 * resource/getrlimit.c: Likewise.
7120 * resource/getrusage.c: Likewise.
7121 * resource/nice.c: Likewise.
7122 * resource/setpriority.c: Likewise.
7123 * resource/setrlimit.c: Likewise.
7124 * resource/ulimit.c: Likewise.
7125 * rt/aio_cancel.c: Likewise.
7126 * rt/aio_fsync.c: Likewise.
7127 * rt/aio_read.c: Likewise.
7128 * rt/aio_sigqueue.c: Likewise.
7129 * rt/aio_suspend.c: Likewise.
7130 * rt/aio_write.c: Likewise.
7131 * rt/clock_getres.c: Likewise.
7132 * rt/clock_gettime.c: Likewise.
7133 * rt/clock_nanosleep.c: Likewise.
7134 * rt/clock_settime.c: Likewise.
7135 * rt/lio_listio.c: Likewise.
7136 * rt/mq_close.c: Likewise.
7137 * rt/mq_getattr.c: Likewise.
7138 * rt/mq_notify.c: Likewise.
7139 * rt/mq_open.c: Likewise.
7140 * rt/mq_receive.c: Likewise.
7141 * rt/mq_send.c: Likewise.
7142 * rt/mq_setattr.c: Likewise.
7143 * rt/mq_timedreceive.c: Likewise.
7144 * rt/mq_timedsend.c: Likewise.
7145 * rt/mq_unlink.c: Likewise.
7146 * rt/shm_open.c: Likewise.
7147 * rt/shm_unlink.c: Likewise.
7148 * rt/timer_create.c: Likewise.
7149 * rt/timer_delete.c: Likewise.
7150 * rt/timer_getoverr.c: Likewise.
7151 * rt/timer_gettime.c: Likewise.
7152 * rt/timer_settime.c: Likewise.
7153 * setjmp/__longjmp.c: Likewise.
7154 * setjmp/setjmp.c: Likewise.
7155 * signal/kill.c: Likewise.
7156 * signal/killpg.c: Likewise.
7157 * signal/raise.c: Likewise.
7158 * signal/sigaction.c: Likewise.
7159 * signal/sigaltstack.c: Likewise.
7160 * signal/sigblock.c: Likewise.
7161 * signal/sigignore.c: Likewise.
7162 * signal/sigintr.c: Likewise.
7163 * signal/signal.c: Likewise.
7164 * signal/sigpause.c: Likewise.
7165 * signal/sigpending.c: Likewise.
7166 * signal/sigqueue.c: Likewise.
7167 * signal/sigreturn.c: Likewise.
7168 * signal/sigset.c: Likewise.
7169 * signal/sigsetmask.c: Likewise.
7170 * signal/sigstack.c: Likewise.
7171 * signal/sigsuspend.c: Likewise.
7172 * signal/sigtimedwait.c: Likewise.
7173 * signal/sigvec.c: Likewise.
7174 * signal/sigwait.c: Likewise.
7175 * signal/sigwaitinfo.c: Likewise.
7176 * signal/sysv_signal.c: Likewise.
7177 * socket/accept.c: Likewise.
7178 * socket/accept4.c: Likewise.
7179 * socket/bind.c: Likewise.
7180 * socket/connect.c: Likewise.
7181 * socket/getpeername.c: Likewise.
7182 * socket/getsockname.c: Likewise.
7183 * socket/getsockopt.c: Likewise.
7184 * socket/isfdtype.c: Likewise.
7185 * socket/listen.c: Likewise.
7186 * socket/recv.c: Likewise.
7187 * socket/recvfrom.c: Likewise.
7188 * socket/recvmsg.c: Likewise.
7189 * socket/send.c: Likewise.
7190 * socket/sendmsg.c: Likewise.
7191 * socket/sendto.c: Likewise.
7192 * socket/setsockopt.c: Likewise.
7193 * socket/shutdown.c: Likewise.
7194 * socket/sockatmark.c: Likewise.
7195 * socket/socket.c: Likewise.
7196 * socket/socketpair.c: Likewise.
7197 * stdio-common/ctermid.c: Likewise.
7198 * stdio-common/cuserid.c: Likewise.
7199 * stdio-common/remove.c: Likewise.
7200 * stdio-common/rename.c: Likewise.
7201 * stdio-common/renameat.c: Likewise.
7202 * stdio-common/tempname.c: Likewise.
7203 * stdlib/getcontext.c: Likewise.
7204 * stdlib/makecontext.c: Likewise.
7205 * stdlib/setcontext.c: Likewise.
7206 * stdlib/swapcontext.c: Likewise.
7207 * stdlib/system.c: Likewise.
7208 * streams/fattach.c: Likewise.
7209 * streams/fdetach.c: Likewise.
7210 * streams/getmsg.c: Likewise.
7211 * streams/getpmsg.c: Likewise.
7212 * streams/putmsg.c: Likewise.
7213 * streams/putpmsg.c: Likewise.
7214 * sysdeps/unix/bsd/getpt.c: Likewise.
7215 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7216 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7219 Likewise.
7220 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7221 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7222 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7223 * sysvipc/msgctl.c: Likewise.
7224 * sysvipc/msgget.c: Likewise.
7225 * sysvipc/msgrcv.c: Likewise.
7226 * sysvipc/msgsnd.c: Likewise.
7227 * sysvipc/semctl.c: Likewise.
7228 * sysvipc/semget.c: Likewise.
7229 * sysvipc/semop.c: Likewise.
7230 * sysvipc/semtimedop.c: Likewise.
7231 * sysvipc/shmat.c: Likewise.
7232 * sysvipc/shmctl.c: Likewise.
7233 * sysvipc/shmdt.c: Likewise.
7234 * sysvipc/shmget.c: Likewise.
7235 * termios/tcdrain.c: Likewise.
7236 * termios/tcflow.c: Likewise.
7237 * termios/tcflush.c: Likewise.
7238 * termios/tcgetattr.c: Likewise.
7239 * termios/tcgetpgrp.c: Likewise.
7240 * termios/tcsendbrk.c: Likewise.
7241 * termios/tcsetattr.c: Likewise.
7242 * termios/tcsetpgrp.c: Likewise.
7243 * time/adjtime.c: Likewise.
7244 * time/clock.c: Likewise.
7245 * time/getitimer.c: Likewise.
7246 * time/gettimeofday.c: Likewise.
7247 * time/setitimer.c: Likewise.
7248 * time/settimeofday.c: Likewise.
7249 * time/stime.c: Likewise.
7250 * time/time.c: Likewise.
7251
72522012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7253
a20492cf
PT
7254 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7255 /usr/old/bin.
7256
72e182e3
PT
7257 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7258 instead of spaces.
7259 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7260
fbeafede
JM
72612012-11-03 Joseph Myers <joseph@codesourcery.com>
7262
5b5b04d6
JM
7263 [BZ #14796]
7264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7265 FE_TONEAREST before applying Dekker multiplication and Knuth
7266 addition. Clear inexact exceptions and check for exact zero
7267 results afterwards.
7268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7271 * math/libm-test.inc (fma_test): Add more tests.
7272 (fma_test_towardzero): Likewise.
7273 (fma_test_downward): Likewise.
7274 (fma_test_upward): Likewise.
7275 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7276 function.
7277 (libc_fesetround): New macro.
7278 (libc_fesetroundf): Likewise.
7279 (libc_fesetroundl): Likewise.
7280 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7281 function.
7282 (libc_fesetround_387): Likewise.
7283 (libc_fesetroundf): New macro.
7284 (libc_fesetround): Likewise.
7285 (libc_fesetroundl): Likewise.
7286 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7287 function.
7288 (libc_fesetroundf): New macro.
7289 (libc_fesetround): Likewise.
7290 (libc_fesetroundl): Likewise.
7291 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7292 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7293 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7294 libm_hidden_ver.
7295 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7296 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7297 libm_hidden_def.
7298 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7299 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7300 libm_hidden_ver.
7301 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7302 libm_hidden_def.
7303
fbeafede
JM
7304 [BZ #3439]
7305 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7306 integer constant usable in #if and use that to give value to enum
7307 constant.
7308 (FE_DIVBYZERO): Likewise.
7309 (FE_UNDERFLOW): Likewise.
7310 (FE_OVERFLOW): Likewise.
7311 (FE_INVALID): Likewise.
7312 (FE_INVALID_SNAN): Likewise.
7313 (FE_INVALID_ISI): Likewise.
7314 (FE_INVALID_IDI): Likewise.
7315 (FE_INVALID_ZDZ): Likewise.
7316 (FE_INVALID_IMZ): Likewise.
7317 (FE_INVALID_COMPARE): Likewise.
7318 (FE_INVALID_SOFTWARE): Likewise.
7319 (FE_INVALID_SQRT): Likewise.
7320 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7321 (FE_TONEAREST): Likewise.
7322 (FE_TOWARDZERO): Likewise.
7323 (FE_UPWARD): Likewise.
7324 (FE_DOWNWARD): Likewise.
7325 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7326 (FE_DIVBYZERO): Likewise.
7327 (FE_OVERFLOW): Likewise.
7328 (FE_UNDERFLOW): Likewise.
7329 (FE_INEXACT): Likewise.
7330 (FE_TONEAREST): Likewise.
7331 (FE_DOWNWARD): Likewise.
7332 (FE_UPWARD): Likewise.
7333 (FE_TOWARDZERO): Likewise.
7334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7335 (FE_UNDERFLOW): Likewise.
7336 (FE_OVERFLOW): Likewise.
7337 (FE_DIVBYZERO): Likewise.
7338 (FE_INVALID): Likewise.
7339 (FE_TONEAREST): Likewise.
7340 (FE_TOWARDZERO): Likewise.
7341 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7342 (FE_OVERFLOW): Likewise.
7343 (FE_UNDERFLOW): Likewise.
7344 (FE_DIVBYZERO): Likewise.
7345 (FE_INEXACT): Likewise.
7346 (FE_TONEAREST): Likewise.
7347 (FE_TOWARDZERO): Likewise.
7348 (FE_UPWARD): Likewise.
7349 (FE_DOWNWARD): Likewise.
7350 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7351 (FE_DIVBYZERO): Likewise.
7352 (FE_OVERFLOW): Likewise.
7353 (FE_UNDERFLOW): Likewise.
7354 (FE_INEXACT): Likewise.
7355 (FE_TONEAREST): Likewise.
7356 (FE_DOWNWARD): Likewise.
7357 (FE_UPWARD): Likewise.
7358 (FE_TOWARDZERO): Likewise.
7359
105ca950
CM
73602012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7361
7362 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7363
a542b389
AS
73642012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7365
7366 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7367 commands. Quote $PWD.
7368 (blacklist_exports): Don't use remove_newlines. Replace "declare
7369 -x" by "export".
7370 (remove_newlines): Remove.
7371
f62c8abc
L
73722012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7373
7374 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7375 * stdlib/stdlib.h (atof): Moved to ...
7376 * include/bits/stdlib-float.h: Here. New file.
7377 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7378 * stdlib/bits/stdlib-float.h: New file.
7379 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7380 -mno-sse -mno-mmx.
7381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7382 <xmmintrin.h>.
7383
0155d5b2
JM
73842012-11-02 Joseph Myers <joseph@codesourcery.com>
7385
a68d0680
JM
7386 * conform/conformtest.pl (@headers): Add fenv.h.
7387 * conform/data/fenv.h-data: New file.
7388 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7389 include of <math/fenv.h>.
7390
caf7f573
JM
7391 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7392 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7393 && !UNIX98]. Enables tests for XOPEN2K8.
7394 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7395 POSIX2008]: Likewise.
7396
6c073ad6
JM
7397 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7398 (struct rusage): Do not expect type or its members.
7399
0155d5b2
JM
7400 [BZ #3439]
7401 * math/math.h (FP_NAN): Define macro to integer constant usable in
7402 #if and use that to give value to enum constant.
7403 (FP_INFINITE): Likewise.
7404 (FP_ZERO): Likewise.
7405 (FP_SUBNORMAL): Likewise.
7406 (FP_NORMAL): Likewise.
7407
b5dcacb4
AS
74082012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7409
7410 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7411 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7412 arguments.
7413
f7934be8
RM
74142012-11-02 Roland McGrath <roland@hack.frob.com>
7415
7416 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7417 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7418 autoconf-time if not.
7419 * configure.in: Remove AC_PREREQ.
7420
d7d08bde
TMQMF
74212012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7422
7423 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7424 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7425 of the internal implementation.
7426
dcdae19a
JM
74272012-11-02 Joseph Myers <joseph@codesourcery.com>
7428
7429 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7430 except include of <misc/sys/syslog.h>.
7431
d6cffd3e
AS
74322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7433
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7435 function returns with a NULL context exit with zero.
7436
b3563932
TMQMF
74372012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7438
7439 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7440
b288a93d
L
74412012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7444 (run_program_cmd): This.
7445 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7446 (tst_langinfo): New variable. Use it.
7447
a2421a68
SAS
74482012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7449
7450 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7451 floating point opcodes.
7452
6f796e1b
TS
74532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7454
7402596b
TS
7455 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7456 variable.
7457
d0d4f868
TS
7458 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7459
6f796e1b
TS
7460 * sysdeps/mach/hurd/powerpc: Remove directory.
7461 * sysdeps/mach/powerpc: Likewise.
7462
4da224a2
AS
74632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7464
7465 * scripts/check-local-headers.sh: Ignore c++ headers.
7466
341dd673
TS
74672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7468
7469 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7470 __libc_cleanup_region_start argument.
7471
473611b2
JM
74722012-11-01 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #14784]
7475 [BZ #14785]
7476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7477 x * y using scaling, not as x * y + z.
7478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7480 * math/libm-test.inc (fma_test): Add more tests.
7481 (fma_test_towardzero): Likewise.
7482 (fma_test_downward): Likewise.
7483 (fma_test_upward): Likewise.
7484
4078da3d
TS
74852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7486
7487 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7488
903252aa
JM
74892012-10-31 Joseph Myers <joseph@codesourcery.com>
7490
7491 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7492 New variable.
7493
cbc818d0
TS
74942012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7495
7496 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7497
5a03cb1e
AS
74982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7499
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7501 Fix sort order.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7503 Likewise.
7504
90aff2ff
TMQMF
75052012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7506
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7508 Fix the order of the list for glibc 2.17.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7510 Likewise.
7511
1818fcb7
AS
75122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7513
7514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7515
ef82f4da
JM
75162012-10-31 Joseph Myers <joseph@codesourcery.com>
7517
16a0e2ec
JM
7518 [BZ #14610]
7519 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7520 for low part of x being zero before using __atanl (y).
7521 * math/libm-test.inc (atan2_test): Add another test.
7522
0eb69512
JM
7523 * manual/install.texi (Configuring and compiling): Document
7524 general use of test-wrapper and test-wrapper-env.
7525 * INSTALL: Regenerated.
7526
ef82f4da
JM
7527 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7528 (__fma): Do not extract and scale down low bits on after-rounding
7529 systems when result rounded to normal precision would have normal
7530 exponent.
7531 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7532 (__fmal): Do not extract and scale down low bits on after-rounding
7533 systems when result rounded to normal precision would have normal
7534 exponent.
7535 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7536 (__fmal): Do not extract and scale down low bits on after-rounding
7537 systems when result rounded to normal precision would have normal
7538 exponent.
7539 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7540 macro.
7541 (fma_test): Add more tests.
7542 (fma_test_towardzero): Likewise.
7543 (fma_test_downward): Likewise.
7544 (fma_test_upward): Likewise.
7545
954ef0d9
L
75462012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7547
7548 * sysdeps/i386/tininess.h: Renamed to ...
7549 * sysdeps/x86/tininess.h: This.
7550 * sysdeps/x86_64/tininess.h: Removed.
7551
df61ffb2
JM
75522012-10-30 Joseph Myers <joseph@codesourcery.com>
7553
7554 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7555 input. Use $(build-program-cmd).
7556 ($(objpfx)tst-array1-static.out): Likewise.
7557 ($(objpfx)tst-array2.out): Likewise.
7558 ($(objpfx)tst-array3.out): Likewise.
7559 ($(objpfx)tst-array4.out): Likewise.
7560 ($(objpfx)tst-array5.out): Likewise.
7561 ($(objpfx)tst-array5-static.out): Likewise.
7562
01767843
CM
75632012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7564
47cc1490
CM
7565 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7566 if defined.
7567
01767843
CM
7568 * nss/nsswitch.h (nss_interface_function): Provide new
7569 macro for use with NSS functions.
7570 * grp/initgroups.c: Use new macro.
7571 * nss/getXXbyYY.c: Likewise.
7572 * nss/getXXbyYY_r.c: Likewise.
7573 * nss/getXXent.c: Likewise.
7574 * nss/getXXent_r.c: Likewise.
7575 * sysdeps/posix/getaddrinfo.c: Likewise.
7576
8321aa97
AJ
75772012-10-30 Andreas Jaeger <aj@suse.de>
7578
7579 * po/ru.po: Update Russion translation from translation project.
7580
2a27fd6d
JM
75812012-10-30 Joseph Myers <joseph@codesourcery.com>
7582
8627a232
JM
7583 [BZ #14152]
7584 [BZ #14783]
7585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7586 result and shift together with sticky bit instead of replicating
7587 round-to-nearest rounding.
7588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7590 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7591 missing underflow exceptions.
7592 (fma_test_towardzero): Add more tests.
7593 (fma_test_downward): Likewise.
7594 (fma_test_upward): Likewise.
7595
2a27fd6d
JM
7596 [BZ #14047]
7597 * sysdeps/generic/tininess.h: New file.
7598 * sysdeps/i386/tininess.h: Likewise.
7599 * sysdeps/sh/tininess.h: Likewise.
7600 * sysdeps/x86_64/tininess.h: Likewise.
7601 * stdlib/tst-strtod-underflow.c: Likewise.
7602 * stdlib/tst-tininess.c: Likewise.
7603 * stdlib/strtod_l.c: Include <tininess.h>.
7604 (round_and_return): Do not set errno for exact underflow cases.
7605 Force an underflow exception when setting errno for underflow.
7606 Determine underflow based on rounding to normal precision if
7607 TININESS_AFTER_ROUNDING.
7608 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7609 ERANGE for exact underflow cases.
7610 * stdlib/Makefile (tests): Add tst-tininess and
7611 tst-strtod-underflow.
7612 ($(objpfx)tst-tininess): Use $(link-libm).
7613 ($(objpfx)tst-strtod-underflow): Likewise.
7614
e7170363
AJ
76152012-10-30 Andreas Jaeger <aj@suse.de>
7616
e5088dc6
AJ
7617 [BZ#14767]
7618 * elf/Makefile (tests): Remove conditional for have-initfini-array
7619 since this is now always required and the variable does not exist
7620 anymore.
7621 (tests-static): Likewise.
7622 (modules-names): Likewise.
7623
e7170363 7624 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7625
7626 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7627 merged with constructor/destructor.
7628 (init_array): Likewise.
7629 * elf/tst-array2dep.c (fini_array): Likewise.
7630 (init_array): Likewise.
7631
60457d8a
MF
76322012-10-29 Mike Frysinger <vapier@gentoo.org>
7633
7634 * manual/message.texi: Delete @cartouche tags.
7635
8bece752
PT
76362012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7637
94ce799f
PT
7638 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7639 EOPNOTSUPP.
7640 * sysdeps/mach/hurd/fsync.c: Likewise.
7641
8bece752
PT
7642 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7643 [_POSIX_REALTIME_SIGNALS]: Change condition to
7644 [_POSIX_REALTIME_SIGNALS > 0].
7645
86ebe6b1
AJ
76462012-10-27 Andreas Jaeger <aj@suse.de>
7647
7648 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7649 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7651 [__WORDSIZE != 64]: Likewise.
7652
54399c08
L
76532012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 * iconvdata/tst-table.sh: Remove ${SHELL}.
7656 * iconvdata/tst-tables.sh: Likewise.
7657
e2211bed
DM
76582012-10-25 David S. Miller <davem@davemloft.net>
7659
7660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7661 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7662 of strtoull.
7663
f303f97c
DM
7664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7665 ifunc-impl-list.c
7666 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7667 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7668 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7669 file.
7670
1e9d84cd
RM
76712012-10-25 Roland McGrath <roland@hack.frob.com>
7672
7673 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7674 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7675 __getdirentries.
7676
df381762
JM
76772012-10-25 Joseph Myers <joseph@codesourcery.com>
7678 Jim Blandy <jimb@codesourcery.com>
7679
7680 * scripts/cross-test-ssh.sh: New file.
7681 * manual/install.texi (Configuring and compiling): Document use of
7682 cross-test-ssh.sh.
7683 * INSTALL: Regenerated.
7684
bff64913
PT
76852012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7686
7687 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7688 EOPNOTSUPP.
7689
25fe8932
JM
76902012-10-25 Joseph Myers <joseph@codesourcery.com>
7691
7692 * Makeconfig (run-program-prefix): Fix comment.
7693
cc1290d0
JM
76942012-10-24 Joseph Myers <joseph@codesourcery.com>
7695 Jim Blandy <jimb@codesourcery.com>
7696
7697 * Makeconfig (test-wrapper): New variable,
7698 (test-wrapper-env): Likewise.
7699 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7700 (run-built-tests): Define to yes.
7701 (run-program-prefix): Use $(test-wrapper).
7702 (built-program-cmd): Likewise.
7703 * Rules (make-test-out): Use $(test-wrapper-env) and
7704 $(host-built-program-cmd).
7705 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7706 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7707 tst-pathopt.sh.
7708 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7709 $(test-wrapper-env) to tst-rtld-load-self.sh.
7710 ($(objpfx)order2.out): Use $(test-wrapper).
7711 ($(objpfx)tst-initorder.out): Likewise.
7712 ($(objpfx)tst-initorder2.out): Likewise.
7713 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7714 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7715 (test_wrapper_env): New variable. Use it to run ld.so.
7716 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7717 Use it to run ld.so.
7718 (test_wrapper_env): Likewise.
7719 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7720 $(test-wrapper) to run-iconv-test.sh.
7721 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7722 (ICONV): Use $test_wrapper.
7723 * posix/Makefile ($(objpfx)globtest.out): Pass
7724 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7725 globtest.sh, not $(run-program-prefix).
7726 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7727 (test_wrapper): Likewise.
7728 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7729 set together with run_via_rtld_prefix.
7730 (run_program_prefix): Define in terms of test_wrapper and
7731 run_via_rtld_prefix.
7732
6e6249d0
RM
77332012-10-24 Roland McGrath <roland@hack.frob.com>
7734
7735 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7736 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7737 Targets removed.
7738
7739 [BZ #14743]
7740 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7741 Declare __clock_getres, __clock_gettime, __clock_settime,
7742 __clock_nanosleep, and __clock_getcpuclockid.
7743 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7744 Remove librt_hidden_def (clock_gettime).
7745 * sysdeps/unix/clock_gettime.c: Likewise.
7746 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7748 * rt/clock_getres.c: Define __clock_getres as an alias.
7749 * sysdeps/posix/clock_getres.c: Likewise.
7750 * rt/clock_settime.c: Define __clock_settime as an alias.
7751 * sysdeps/unix/clock_settime.c: Likewise.
7752 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7753 * sysdeps/unix/clock_nanosleep.c: Likewise.
7754 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7755 * rt/clock-compat.c: New file.
7756 * rt/Makefile (librt-routines): Add clock-compat and move
7757 $(clock-routines) to ...
7758 (routines): ... here, new variable.
7759 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7760 Don't add get_clockfreq here.
7761 * rt/Versions (libc: GLIBC_2.17): New version set.
7762 Add clock_* symbols here.
7763 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7765 (GLIBC_2.17): Add clock_* symbols.
7766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7770 Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7772 Likewise.
7773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7777 * NEWS: Mention the move.
7778
7779 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7780 Use __open, __read, __close rather than their public counterparts.
7781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7782 (__get_clockfreq_via_cpuinfo): Likewise.
7783 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7784 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7785
7786 * config.h.in (HAVE_IFUNC): New #undef.
7787 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7788 was successful.
7789 * configure: Regenerated.
7790
0cae3f4b
MF
77912012-10-24 Mike Frysinger <vapier@gentoo.org>
7792
7793 * configure.in: Move READELF check to start of file.
7794 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7795 libc_cv_asm_gnu_indirect_function in the process.
7796 * configure: Regenerated.
7797
8175a253
MF
77982012-10-24 Mike Frysinger <vapier@gentoo.org>
7799
7800 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7801 send the output to /dev/null.
7802 (libc_cv_cc_with_libunwind): Likewise.
7803 (libc_cv_as_noexecstack): Likewise.
7804 * configure: Regenerate.
7805
0708a7d1
JM
78062012-10-24 Joseph Myers <joseph@codesourcery.com>
7807
10b40d85
JM
7808 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7809
0708a7d1
JM
7810 * posix/globtest.sh (TMPDIR): Do not set.
7811 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7812 (testout): Likewise.
7813
9fddec1a
AJ
78142012-10-24 Andreas Jaeger <aj@suse.de>
7815
3a8db22f
AJ
7816 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7817 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7818 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7819 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7820 posix_fadvise64, posix_fallocate64.
7821
9fddec1a
AJ
7822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7823 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7824 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7825 Likewise.
7826 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7827 Likewise.
7828 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7829
7830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7831 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7832 <bits/fcntl-linux.h>.
7833 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7834
7835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7836 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7837 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7838 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7839 [__WORDSIZE != 64]: Likewise.
7840
ebfd1bbd
JM
78412012-10-23 Joseph Myers <joseph@codesourcery.com>
7842
03ac099f
JM
7843 * Makeconfig (run-built-tests): New variable.
7844 * Rules [$(cross-compiling) = yes]: Change condition to
7845 [$(run-built-tests) = no].
7846 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7847 to [$(run-built-tests) = yes].
7848 * elf/Makefile [$(cross-compiling) = no]: Likewise
7849 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7850 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7851 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7852 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7853 * io/Makefile [$(cross-compiling) = no]: Likewise.
7854 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7855 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7856 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7857 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7858 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7859 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7860 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7861 * string/Makefile [$(cross-compiling) = no]: Likewise.
7862
ebfd1bbd
JM
7863 * posix/Makefile ($(objpfx)globtest.out): Pass
7864 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7865 $(rtld-installed-name).
7866 * posix/globtest.sh (elf_objpfx): Remove variable.
7867 (rtld_installed_name): Likewise.
7868 (library_path): Likewise.
7869 (run_program_prefix): New variable. Use for running globtest
7870 binary.
7871
166bca24
JB
78722012-10-23 Jim Blandy <jimb@codesourcery.com>
7873 Joseph Myers <joseph@codesourcery.com>
7874
7875 * Makeconfig (host-built-program-cmd): New variable.
7876 * elf/Makefile (tst-stackguard1-ARGS): Use
7877 $(host-built-program-cmd).
7878 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7879 (tst-spawn-ARGS): Likewise.
7880 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7881
88866099
JM
78822012-10-23 Joseph Myers <joseph@codesourcery.com>
7883 Jim Blandy <jimb@codesourcery.com>
7884
7885 * Makeconfig (run-via-rtld-prefix): New variable.
7886 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7887 (built-program-cmd): Likewise.
7888
b4b4c296
AJ
78892012-10-22 Andreas Jaeger <aj@suse.de>
7890
7891 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7892 __O_RSYNC if it exists, otherwise to O_SYNC.
7893
6fb54a22
JB
78942012-10-22 Jim Blandy <jimb@codesourcery.com>
7895 Joseph Myers <joseph@codesourcery.com>
7896
7897 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7898 /dev/null.
7899 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7900 from /dev/null
7901 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7902 /dev/null.
7903
481b90b9
AJ
79042012-10-22 Andreas Jaeger <aj@suse.de>
7905
2a0e2669
AJ
7906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7907 Define always.
7908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7909
76e38f9a
AJ
7910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7911 bits/fcntl-linux.h.
7912
7cd37b43
AJ
7913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7914 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7915
481b90b9
AJ
7916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7917 to __O_LARGEFILE.
7918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7919 to __O_LARGEFILE.
7920
aba75984
JB
79212012-10-21 Jim Blandy <jimb@codesourcery.com>
7922 Joseph Myers <joseph@codesourcery.com>
7923
7924 * config.make.in (NM): New variable.
7925
88d4247f
AJ
79262012-10-21 Andreas Jaeger <aj@suse.de>
7927
7928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7929 definitions and declarations that are provided by
7930 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7931
f2eed205
L
79322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7933
7934 [BZ #14683]
7935 * elf/Makefile (tests-static): Add tst-leaks1-static.
7936 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7937 ($(objpfx)tst-leaks1-static): New rule.
7938 ($(objpfx)tst-leaks1-static-mem): Likewise.
7939 (tst-leaks1-static-ENV): New macro.
7940 * elf/dl-open.c (dl_open_worker): Check the main application
7941 only if SHARED is defined.
7942 * elf/tst-leaks1-static.c: New file.
7943
335e6931
AJ
79442012-10-20 Andreas Jaeger <aj@suse.de>
7945
7946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7947 generic values for Linux.
7948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7949 and declarations that are provided by <bits/fcntl-linux.h> and
7950 include <bits/fcntl-linux.h>.
7951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7953
ac5c94d3
RM
79542012-10-20 Roland McGrath <roland@hack.frob.com>
7955
7956 * io/fcntl.h: Move include of <bits/types.h> to the top and
7957 include it unconditionally.
7958
de54b33a
L
79592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7960
228cfb01
L
7961 * wcsmbs/Makefile (tests-ifunc): New variable.
7962 (tests): Add $(tests-ifunc).
7963 * wcsmbs/test-wcschr-ifunc.c: New file.
7964 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7965 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7966 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7967 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7968 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7969
69f07e5f
L
7970 * string/Makefile (tests-ifunc): New variable.
7971 (tests): Add $(tests-ifunc).
7972 * string/test-memccpy.c (TEST_NAME): New macro.
7973 * string/test-memchr.c (TEST_NAME): Likewise.
7974 * string/test-memcmp.c (TEST_NAME): Likewise.
7975 * string/test-memcpy.c (TEST_NAME): Likewise.
7976 * string/test-memmem.c (TEST_NAME): Likewise.
7977 * string/test-memmove.c (TEST_NAME): Likewise.
7978 * string/test-memset.c (TEST_NAME): Likewise.
7979 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7980 * string/test-stpcpy.c (TEST_NAME): Likewise.
7981 * string/test-stpncpy.c (TEST_NAME): Likewise.
7982 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7983 * string/test-strcasestr.c (TEST_NAME): Likewise.
7984 * string/test-strcat.c (TEST_NAME): Likewise.
7985 * string/test-strchr.c (TEST_NAME): Likewise.
7986 * string/test-strcmp.c(TEST_NAME): Likewise.
7987 * string/test-strcpy.c (TEST_NAME): Likewise.
7988 * string/test-strcspn.c (TEST_NAME): Likewise.
7989 * string/test-strlen.c (TEST_NAME): Likewise.
7990 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7991 * string/test-strncmp.c (TEST_NAME): Likewise.
7992 * string/test-strncpy.c (TEST_NAME): Likewise.
7993 * string/test-strnlen.c (TEST_NAME): Likewise.
7994 * string/test-strpbrk.c (TEST_NAME): Likewise.
7995 * string/test-strrchr.c (TEST_NAME): Likewise.
7996 * string/test-strspn.c (TEST_NAME): Likewise.
7997 * string/test-strstr.c (TEST_NAME): Likewise.
7998 * string/test-bcopy-ifunc.c: New file.
7999 * string/test-bzero-ifunc.c: Likewise.
8000 * string/test-memccpy-ifunc.c: Likewise.
8001 * string/test-memchr-ifunc.c: Likewise.
8002 * string/test-memcmp-ifunc.c: Likewise.
8003 * string/test-memcpy-ifunc.c: Likewise.
8004 * string/test-memmem-ifunc.c: Likewise.
8005 * string/test-memmove-ifunc.c: Likewise.
8006 * string/test-mempcpy-ifunc.c: Likewise.
8007 * string/test-memset-ifunc.c: Likewise.
8008 * string/test-rawmemchr-ifunc.c: Likewise.
8009 * string/test-stpcpy-ifunc.c: Likewise.
8010 * string/test-stpncpy-ifunc.c: Likewise.
8011 * string/test-strcasecmp-ifunc.c: Likewise.
8012 * string/test-strcasestr-ifunc.c: Likewise.
8013 * string/test-strcat-ifunc.c: Likewise.
8014 * string/test-strchr-ifunc.c: Likewise.
8015 * string/test-strchrnul-ifunc.c: Likewise.
8016 * string/test-strcmp-ifunc.c: Likewise.
8017 * string/test-strcpy-ifunc.c: Likewise.
8018 * string/test-strcspn-ifunc.c: Likewise.
8019 * string/test-strlen-ifunc.c: Likewise.
8020 * string/test-strncasecmp-ifunc.c: Likewise.
8021 * string/test-strncat-ifunc.c: Likewise.
8022 * string/test-strncmp-ifunc.c: Likewise.
8023 * string/test-strncpy-ifunc.c: Likewise.
8024 * string/test-strnlen-ifunc.c: Likewise.
8025 * string/test-strpbrk-ifunc.c: Likewise.
8026 * string/test-strrchr-ifunc.c: Likewise.
8027 * string/test-strspn-ifunc.c: Likewise.
8028 * string/test-strstr-ifunc.c: Likewise.
8029
de54b33a
L
8030 * debug/Makefile (tests-ifunc): New variable.
8031 (tests): Add $(tests-ifunc).
8032 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8033 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8034 * debug/test-stpcpy_chk-ifunc.c: New file.
8035 * debug/test-strcpy_chk-ifunc.c: Likewise.
8036
88481c16
SP
80372012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8038
8039 [BZ #13601]
8040 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8041 header is not read in.
8042
135948bd
JM
80432012-10-19 Joseph Myers <joseph@codesourcery.com>
8044
89f1c388
JM
8045 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8046 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8047 directly. Pass built executable to script as
8048 $(built-program-cmd).
8049 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8050 $testprogram without using LD_LIBRARY_PATH and $ldso.
8051
e40a0d21
JM
8052 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8053 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8054 $(rtld-installed-name).
8055 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8056 (rtld_installed_name): Likewise.
8057 (library_path): Likewise.
8058 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8059 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8060 $(run-program-prefix) to tst-tables.sh.
8061 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8062 it to run tst-table-from and tst-table-to.
8063 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8064 Pass it to tst-table.sh.
8065 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8066 $(run-program-prefix) to tst-gettext.sh.
8067 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8068 tst-translit.sh.
8069 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8070 tst-gettext2.sh.
8071 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8072 to run tst-gettext.
8073 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8074 to run tst-gettext2.
8075 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8076 to run tst-translit.
8077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8078 $(run-program-prefix) to tst-mtrace.sh.
8079 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8080 to run tst-mtrace.
8081 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8082 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8083 $(rtld-installed-name).
8084 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8085 (rtld_installed_name): Likewise.
8086 (run_program_prefix): New variable. Use it to run wordexp-test.
8087
728e272a
JM
8088 * Makeconfig (ARCH): Remove all definitions.
8089 (machine): Likewise.
8090 [ARCH]: Remove conditional code.
8091 [!objdir]: Give error.
8092 [!objdir] (objpfx): Remove.
8093 [!objdir] (common-objpfx): Likewise.
8094 [!objdir] (common-objdir): Likewise.
8095 * configure.in (config_makefile): Remove. Hardcode Makefile in
8096 AC_CONFIG_FILES call.
8097 * configure: Regenerated.
8098
d528cdcf
JM
8099 [BZ #13888]
8100 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8101 or TMPDIR.
8102 (testout): Likewise.
8103
135948bd
JM
8104 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8105 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8106 $(rtld-installed-name).
8107 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8108 (rtld_installed_name): Likwise.
8109 (runit): Remove function.
8110 (run_getconf): New variable, Use it for running getconf binary.
8111
38c78296
L
81122012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 [BZ #14716]
8115 * string/test-memmem.c (check_result): New function.
8116 (do_one_test): Use it.
8117 (check1): New function.
8118 (test_main): Use it.
8119
d077f65f
MT
81202012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8121
8122 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8123
ced52c71
JM
81242012-10-18 Joseph Myers <joseph@codesourcery.com>
8125
8126 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8127 (_G_LSEEK64): Likewise.
8128 (_G_MMAP64): Likewise.
8129 (_G_FSTAT64): Likewise.
8130 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8131 (_G_LSEEK64): Likewise.
8132 (_G_MMAP64): Likewise.
8133 (_G_FSTAT64): Likewise.
8134 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8135 unconditional. Call __mmap64 directly.
8136 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8137 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8138 __lseek64 directly.
8139 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8140 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8141 __mmap64 directly.
8142 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8143 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8144 __lseek64 directly.
8145 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8146 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8147 __lseek64 directly.
8148 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8149 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8150 __lseek64 directly.
8151 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8152 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8153 __fxstat64 directly.
8154 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8155 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8156 unconditional.
8157 (freopen64) [!_G_OPEN64]: Remove conditional code.
8158 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8159 unconditional.
8160 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8161 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8162 unconditional.
8163 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8164 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8165 unconditional.
8166 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8167 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8168 unconditional.
8169 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8170 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8171 unconditional.
8172 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8173 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8174 unconditional.
8175 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8176 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8177 unconditional.
8178 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8179
b741de23
SP
81802012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8181
8182 [BZ #12140]
8183 * manual/memory.texi (Malloc Tunable Parameters): Add note
8184 about free list pointers overwriting some perturb bytes.
8185 Wording suggested by Roland McGrath.
8186
f9b9d9c9
JM
81872012-10-17 Joseph Myers <joseph@codesourcery.com>
8188
8189 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8190 (lgamma_test): Likewise.
8191 (tgamma_test): Likewise.
8192
172a631a
FW
81932012-10-16 Florian Weimer <fweimer@redhat.com>
8194
8195 [BZ #14700]
8196 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8197 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8198
e9f37252
MK
81992012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8200
8201 * NEWS: Mention BZ #14716.
8202 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8203 when removing AVAILABLE1_USES_J macro.
8204
d394eb74
L
82052012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8206
8207 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8208 (__bswap_64): __uint64_t for unsigned 64-bit int.
8209
ca38dc17
AS
82102012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * include/string.h (memmem): Declare libc hidden alias.
8213 * string/memmem.c (memmem): Define libc hidden alias.
8214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8215 __read, __close instead of open, read, close.
8216
9a387d1f
L
82172012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8218
ac49ecaf
L
8219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8220 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8221 global and hidden.
8222 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8223 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8224 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8225 Likewise.
8226 (__rawmemchr_sse2): Likewise.
8227 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8228 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8229 (__strchr_sse2): Likewise.
8230 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8231 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8232 (__strcasecmp_sse2): Likewise.
8233 (__strncasecmp_sse2): Likewise.
8234 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8235 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8236 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8237 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8238 (__strrchr_sse2): Likewise.
8239 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8240 ifunc-impl-list.c.
8241 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8242 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8243 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8244 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8245 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8246 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8247 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8248 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8249 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8250 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8251 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8253 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8254 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8255 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8256 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8257 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8258 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8261 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8262 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8263 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8264 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8265 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8267 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8268 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8269 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8270 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8271
b090e8ea
L
8272 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8273 global and hidden.
8274 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8275 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8276 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8277 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8278 Likewise.
8279 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8280 Likewise.
8281 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8282 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8283 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8284 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8285 ifunc-impl-list.c.
8286 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8327
11dd4af6
L
8328 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8329 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8330 * include/ifunc-impl-list.h: New file.
8331 * misc/ifunc-impl-list.c: Likewise.
8332 * misc/Makefile (routines): Add ifunc-impl-list.
8333 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8334 * string/test-string.h: Include <ifunc-impl-list.h>.
8335 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8336 impl_array): New variables.
8337 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8338 are defined.
8339 (test_init): Call __libc_ifunc_impl_list to initialize
8340 func_list if TEST_IFUNC and TEST_NAME are defined.
8341
9a387d1f
L
8342 * string/Makefile (strop-tests): Add bcopy and bzero.
8343 * string/test-bcopy.c: New file.
8344 * string/test-bzero.c: Likewise.
8345 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8346 defined.
8347 * string/test-memset.c: Support bzero test if TEST_BZERO is
8348 defined.
8349 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8350 __libc_memmove.
8351 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8352 __libc_memset.
8353 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8354 of memset.
8355
472371b9
JM
83562012-10-10 Joseph Myers <joseph@codesourcery.com>
8357
1e4a9536
JM
8358 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8359 * configure: Regenerated.
8360
d173d12e
JM
8361 * Makeconfig (+link-static-before-libc): Don't include
8362 $(link-static-libc).
8363
472371b9
JM
8364 * libio/libio.h (_IO_pos_t): Remove.
8365
89a3ad0b
AO
83662012-10-10 Alexandre Oliva <aoliva@redhat.com>
8367
8368 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8369 McGrath.
8370
e7451425
AO
83712012-10-10 Alexandre Oliva <aoliva@redhat.com>
8372
8373 * crypt/crypt-entry.c: Include fips-private.h.
8374 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8375 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8376 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8377 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8378
4ba74a35
AO
83792012-10-10 Alexandre Oliva <aoliva@redhat.com>
8380
8381 * crypt/crypt-private.h: Include stdbool.h.
8382 (_ufc_setup_salt_r): Return bool.
8383 * crypt/crypt-entry.c: Include errno.h.
8384 (__crypt_r): Return NULL with EINVAL for bad salt.
8385 * crypt/crypt_util.c (bad_for_salt): New.
8386 (_ufc_setup_salt_r): Check that salt is long enough and within
8387 the specified alphabet.
8388 * crypt/badsalttest.c: New file.
8389 * crypt/Makefile (tests): Add it.
8390 ($(objpfx)badsalttest): New.
8391
f96f1242
MK
83922012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8393
8394 * NEWS: Add entry for BZ #14602.
8395
0e8e0c1c
JM
83962012-10-09 Joseph Myers <joseph@codesourcery.com>
8397
8398 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8399 type-generic.
8400 * math/libm-test.inc: Update comment listing what functions and
8401 macros are tested.
8402 (isgreater_test): New function.
8403 (isgreaterequal_test): Likewise.
8404 (isless_test): Likewise.
8405 (islessequal_test): Likewise.
8406 (islessgreater_test): Likewise.
8407 (isunordered_test): Likewise.
8408 (main): Call the new functions.
8409
273edc5e
RM
84102012-10-09 Roland McGrath <roland@hack.frob.com>
8411
b8493de0
RM
8412 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8413 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8414 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8415 * sysdeps/i386/configure: Regenerated.
8416 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8417 * sysdeps/mach/configure: Regenerated.
8418 * sysdeps/mach/hurd/configure: Regenerated.
8419 * sysdeps/powerpc/configure: Regenerated.
8420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8422 * sysdeps/s390/s390-32/configure: Regenerated.
8423 * sysdeps/s390/s390-64/configure: Regenerated.
8424 * sysdeps/sh/configure: Regenerated.
8425 * sysdeps/sparc/configure: Regenerated.
8426 * sysdeps/unix/sysv/linux/configure: Regenerated.
8427 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8428 * sysdeps/x86_64/configure: Regenerated.
8429
273edc5e
RM
8430 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8431 defined. Don't check if MAP is NULL.
8432
c8450f70
JM
84332012-10-09 Joseph Myers <joseph@codesourcery.com>
8434
8435 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8436 (_G_stat64): Likewise.
8437 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8438 (_G_stat64): Likewise.
8439 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8440 instead of struct _G_stat64.
8441 * libio/fileops.c (mmap_remap_check): Likewise.
8442 (decide_maybe_mmap): Likewise.
8443 (_IO_new_file_seekoff): Likewise.
8444 (_IO_file_stat): Likewise.
8445 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8446 _G_off64_t.
8447 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8448 instead of struct _G_stat64.
8449 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8450
57e605ba
MK
84512012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8452
8453 [BZ #14602]
8454 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8455 Replace with ...
8456 (CHECK_EOL): New macro.
8457 (two_way_short_needle): Check beginning of haystack for EOL. Use
8458 CHECK_EOL.
8459 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8460 Replace with CHECK_EOL.
8461 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8462 Replace with CHECK_EOL.
8463
ef1bb361
JM
84642012-10-08 Joseph Myers <joseph@codesourcery.com>
8465
8466 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8467 type-generic.
8468 * math/libm-test.inc: Update comment listing what functions and
8469 macros are tested.
8470 (finite_test): New function.
8471 (isinf_test): Likewise.
8472 (isnan_test): Likewise.
8473 (fpclassify_test): Test subnormal input.
8474 (isfinite_test): Likewise.
8475 (isnormal_test): Likewise.
8476 (main): Call the new functions.
8477
55f11534
JN
84782012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8479
8480 [BZ #14660]
8481 * Makerules (%.dynsym): Force C locale when running
8482 $(OBJDUMP) --dynamic-syms.
8483
1ab29350
AS
84842012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8487 <stdint.h>.
8488
f1ecb7ef
DM
84892012-10-06 David S. Miller <davem@davemloft.net>
8490
8491 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8492 upper 32-bits of the length value in %o2 since we use branch-on-register
8493 tests which consider the entire 64-bit register.
8494
5d41d91a
L
84952012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * string/test-strstr.c (check2): Add a test for page boundary.
8498
3baddb72
DM
84992012-10-05 David S. Miller <davem@davemloft.net>
8500
8501 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8503 file.
8504 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8505 sysdep_routines.
8506 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8507 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8508 and bzero when HWCAP_SPARC_CRYPTO is present.
8509
9cee5585
L
85102012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8511
d7e0dab9
L
8512 [BZ #14602]
8513 * string/test-strstr.c (check2): New function.
8514 (test_main): Call check2.
8515
03759f47
L
8516 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8517 and bug-strchr1.
8518 * string/bug-strcasestr1.c (do_test): Moved to ...
8519 * string/test-strcasestr.c (check1): Here. New function.
8520 (do_one_test): Break out result checking code into ...
8521 (check_result): This. New function.
8522 (do_one_test): Call check_result.
8523 (test_main): Call check1.
8524 * string/bug-strchr1.c (do_test): Moved to ...
8525 * string/test-strchr.c (check1): Here. New function.
8526 (do_one_test): Break out result checking code into ...
8527 (check_result): This. New function.
8528 (do_one_test): Call check_result.
8529 (test_main): Call check1.
8530 * string/bug-strstr1.c (main): Moved to ...
046f153e 8531 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8532 (do_one_test): Break out result checking code into ...
8533 (check_result): This. New function.
8534 (do_one_test): Call check_result.
8535 (test_main): Call check1.
8536 * string/bug-strcasestr1.c: Removed.
8537 * string/bug-strchr1.c: Likewise.
8538 * string/bug-strstr1.c: Likewise.
8539
53cea63e
L
8540 * elf/Makefile (dl-routines): Add hwcaps.
8541 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8542 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8543 (_dl_important_hwcaps): Moved to ...
8544 * elf/dl-hwcaps.c: Here. New file.
8545 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8546
9cee5585 8547 [BZ #14557]
bb859b06
L
8548 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8549 if IS_IN_rtld isn't defined.
8550
9cee5585
L
8551 * elf/dl-support.c (_dl_sysinfo_map): New.
8552 Include "get-dynamic-info.h" and "setup-vdso.h".
8553 (_dl_non_dynamic_init): Call setup_vdso.
8554 * elf/dynamic-link.h: Don't include <assert.h>.
8555 (elf_get_dynamic_info): Moved to ...
8556 * elf/get-dynamic-info.h: Here. New file.
8557 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8558 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8559 * elf/setup-vdso.h: Here. New file.
8560 * elf/rtld.c: Include "setup-vdso.h".
8561 (dl_main): Call setup_vdso.
8562
23c31b76
JM
85632012-10-05 Joseph Myers <joseph@codesourcery.com>
8564
28234b07
JM
8565 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8566 creal in comment listing functions tested. List finite, isinf,
8567 isnan, isless, islessequal, isgreater, isgreaterequal,
8568 islessgreater, isunordered, lgamma_r and pow10 as functions and
8569 macros not tested. Mention which functions not tested are aliases
8570 for other functions. Fix typo. Note that signs of NaNs are not
8571 tested.
8572
23c31b76
JM
8573 * scripts/config.guess: Update from config.git.
8574 * scripts/config.sub: Likewise.
8575
9043e228
RM
85762012-10-04 Roland McGrath <roland@hack.frob.com>
8577
8578 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8579 * misc/madvise.c (madvise): Renamed to __madvise.
8580 Make madvise a weak alias.
8581 * include/sys/mman.h: Declare __madvise.
8582 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8583 * sysdeps/unix/syscalls.list
8584 (madvise): Make __madvise the strong name, and madvise a weak alias.
8585 * sysdeps/unix/sysv/linux/syscalls.list
8586 (madvise, mmap): Remove redundant entries.
8587 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8588 * malloc/malloc.c (mtrim): Likewise.
8589 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8590
f57f8055
RM
85912012-10-03 Roland McGrath <roland@hack.frob.com>
8592
8593 * sysdeps/mach/hurd/dl-cache.c: File removed.
8594 * config.h.in (USE_LDCONFIG): New #undef.
8595 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8596 * configure: Regenerated.
8597 * elf/Makefile (dl-routines): Add dl-cache only under
8598 [$(use-ldconfig) = yes].
8599 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8600 cache on [USE_LDCONFIG].
8601 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8602 [USE_LDCONFIG].
8603 * elf/rtld.c (dl_main): Likewise.
8604
5bb0c10a
PT
86052012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8606
8607 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8608 _SC_LEVEL4_CACHE_LINESIZE.
8609
010188c6
RM
86102012-10-03 Roland McGrath <roland@hack.frob.com>
8611
8612 * sysdeps/unix/bsd/confstr.h: File removed.
8613
b6c5ec07
AO
86142012-10-02 Alexandre Oliva <aoliva@redhat.com>
8615
8616 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8617 sys/sdt-config.h.
8618
408223d4
RM
86192012-10-02 Roland McGrath <roland@hack.frob.com>
8620
8621 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8622 Make 'mapoff' field ElfW(Off) rather than off_t.
8623
bb9510dc
DL
86242012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8625
fc997c6e
DL
8626 * nscd/Makefile: Remove nscd-cflags and all its users.
8627 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8628 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8629
bb9510dc
DL
8630 [BZ #10631]
8631 * malloc.c (malloc_printerr): Clarify error message.
8632
05699367
L
86332012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8634
8635 [BZ #14648]
8636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8637 Set bit_FMA_Usable if FMA is supported.
8638 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8639 macro.
8640 (bit_FMA4_Usable): Updated.
8641 (index_FMA_Usable): New macro.
8642 (CPUID_FMA): Likewise
8643 (HAS_FMA): Defined with bit_FMA_Usable.
8644
51367701
RM
86452012-10-01 Roland McGrath <roland@hack.frob.com>
8646
8647 * bits/types.h (__swblk_t): Type removed.
8648 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8649 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8651 (__SWBLK_T_TYPE): Likewise.
8652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8653 (__SWBLK_T_TYPE): Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8655 (__SWBLK_T_TYPE): Likewise.
8656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8657 (__SWBLK_T_TYPE): Likewise.
8658
4d57bf63 86592012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8660 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8661
8662 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8663 (xdr_mapname): Use YPMAXMAP as maxsize.
8664 (xdr_peername): Use YPMAXPEER as maxsize.
8665 (xdr_keydat): Use YPAXRECORD as maxsize.
8666 (xdr_valdat): Use YPMAXRECORD as maxsize.
8667
93c65d43
RM
86682012-10-01 Roland McGrath <roland@hack.frob.com>
8669
497a03d6
RM
8670 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8671
93c65d43
RM
8672 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8673 * csu/init-first.c: ... here.
8674 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8675 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8678 * sysdeps/i386/init-first.c: File removed.
8679 * sysdeps/sh/init-first.c: File removed.
8680
bec749fd
JM
86812012-10-01 Joseph Myers <joseph@codesourcery.com>
8682
8683 [BZ #14645]
8684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8685 if x * y might underflow to zero and z is zero.
8686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8688 * math/libm-test.inc (min_subnorm_value): New variable.
8689 (fma_test): Add more tests.
8690 (fma_test_towardzero): Likewise.
8691 (fma_test_downward): Likewise
8692 (fma_test_upward): Likewise.
8693 (initialize): Set min_subnorm_value.
8694
8ec5b013
JM
86952012-09-29 Joseph Myers <joseph@codesourcery.com>
8696
8697 [BZ #14638]
8698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8699 0 + 0.
8700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8701 mode for addition resulting in exact zero.
8702 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8704 exact 0 + 0.
8705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8707 * math/libm-test.inc (fma_test): Add more tests.
8708 (fma_test_towardzero): New function.
8709 (fma_test_downward): Likewise.
8710 (fma_test_upward): Likewise.
8711 (main): Call the new functions.
8712
b1fa802e
DM
87132012-09-28 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8716
d3b9fd9e
RM
87172012-09-28 Roland McGrath <roland@hack.frob.com>
8718
ea4d37b3
RM
8719 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8720 instead of SIGALRM.
8721
ac51c949
RM
8722 * sysdeps/gnu/_G_config.h: Moved to ...
8723 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8724 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8725 * sysdeps/generic/_G_config.h: ... here.
8726
28c195f7
RM
8727 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8728
848917f9
RM
8729 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8730
6bacf05b
RM
8731 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8732 Conditionalize target on [libnss_test1.so-version].
8733
91363dbb
RM
8734 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8735
cc87f7d8
RM
8736 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8737 (elfobjdir): Move out of conditionals.
8738
b1c608fe
RM
8739 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8740 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8741 (__nss_lookup_function): Conditionalize label remove_from_tree on
8742 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8743
1d9a6d96
DM
87442012-09-28 David S. Miller <davem@davemloft.net>
8745
8746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8748 file.
8749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8750 sysdep_routines.
8751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8753 when HWCAP_SPARC_CRYPTO is present.
8754
72581615
PT
87552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8756
8757 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8758
715a900c
JL
87592012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8760
8761 [BZ #6530]
8762 * stdio-common/vfprintf.c (process_string_arg): Revert
8763 2000-07-22 change.
8764
87652011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8766
8767 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8768 for testcase.
8769 * stdio-common/tst-sprintf.c: Include <locale.h>
8770 (main): Test sprintf's handling of incomplete multibyte
8771 characters.
8772
9bac1d86
L
87732012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * elf/dl-runtime.c (VERSYMIDX): Removed.
8776 * elf/dl-version.c (VERSYMIDX): Likewise.
8777 * elf/do-rel.h (VERSYMIDX): Likewise.
8778 (VALIDX): Likewise.
8779 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8780 * elf/rtld.c (VALIDX): Likewise.
8781 (ADDRIDX): Likewise.
9bac1d86
L
8782 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8783 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8784 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8785 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8786 (VALIDX): Likewise.
8787 (ADDRIDX): Likewise.
9bac1d86 8788
b31606c0
PT
87892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8790
8791 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8792
11541177
JL
87932012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8794
8795 [BZ #11438]
8796 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8797 to global scope.
8798 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8799 addresses are in the same scope as 192.0.2/24.
8800 * posix/gai.conf: Document new scope table defaults.
8801
adb26fae
SP
88022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8803
8804 [BZ #5298]
8805 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8806 for ftell. Compute offsets from write pointers instead.
8807 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8808
4573c6b0
SP
88092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 [BZ #14543]
8812 * libio/Makefile (tests): New test case tst-fseek.
8813 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8814 combination works in wide mode.
8815 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8816 state when the external buffer state changes.
8817
aa9bbfe6
DM
88182012-09-27 David S. Miller <davem@davemloft.net>
8819
8820 [BZ #14376]
8821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8822 pass reloc->r_addend in as the 'high' argument to
8823 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8824
784421e7
DM
8825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8826
c39bc8b8
PT
88272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8828
8829 * rt/tst-aio2.c: Include <pthread.h>.
8830 * rt/tst-aio3.c: Likewise.
8831
1ccc2399
SE
88322012-09-27 Steve Ellcey <sellcey@mips.com>
8833
8834 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8835
31ed4153
L
88362012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8837
25f5f885
L
8838 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8839 contents on [SHARED].
31ed4153 8840
b7bfe116
MP
88412012-09-26 Marek Polacek <polacek@redhat.com>
8842
8843 [BZ #14530]
8844 [BZ #13741]
8845 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8846 for C++ and GCC <4.3 as well as for non GCC compilers.
8847
43c4edba
MT
88482012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8849
8850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8851
6a1bf82f
RM
88522012-09-25 Roland McGrath <roland@hack.frob.com>
8853
8854 * Makefile.in (all, install): Declare with .PHONY.
8855 Reported by Michael Hope <michael.hope@linaro.org>.
8856
8ad11b9a
TMQMF
88572012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8858
8859 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8860 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8861 system header.
8862 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8863 Likewise.
8864 (sydep_routines): Add the new and the internal functions.
8865 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8866 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8868 (GLIBC_2.17): Add the new function.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8870 (GLIBC_2.17): Likewise.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8872 (GLIBC_2.17): Likewise.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8874 (GLIBC_2.17): Likewise.
8875 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8876
7e2fca8d
AM
88772012-09-25 Alan Modra <amodra@gmail.com>
8878
8879 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8880 Add release barrier before setting once_control to say
8881 initialisation is done. Add hints on lwarx. Use macro in
8882 place of isync.
8883 (clear_once_control): Add release barrier.
8884
b87c4b24
JM
88852012-09-25 Joseph Myers <joseph@codesourcery.com>
8886
d032e0d2
JM
8887 [BZ #13629]
8888 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8889 specially.
8890 * math/s_clog10.c (__clog10): Likewise.
8891 * math/s_clog10f.c (__clog10f): Likewise.
8892 * math/s_clog10l.c (__clog10l): Likewise.
8893 * math/s_clogf.c (__clogf): Likewise.
8894 * math/s_clogl.c (__clogl): Likewise.
8895 * math/Makefile (libm-calls): Add x2y2m1.
8896 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8897 (__x2y2m1): Likewise.
8898 (__x2y2m1l): Likewise.
8899 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8900 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8904 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8905 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8906 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908
b87c4b24
JM
8909 [BZ #14621]
8910 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8911 int as type of variable DEPTH.
8912 (glob): Use size_t instead of int as type of variables NEWCOUNT
8913 and OLD_PATHC.
8914
6d3bf199
LD
89152012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8916
22bf5c17
LD
8917 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8918 Add s_sincosf-sse2.
8919 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8920 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8921 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8922 macros for using routine as __sincosf_ia32.
8923 Use macro for function declaration and weak_alias.
8924 * sysdeps/i386/fpu/libm-test-ulps: Update.
8925
8926 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8928
8929 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8930 subnormal argument.
8931 * math/s_cexpf.c (__cexpf): Likewise.
8932 * math/s_csinf.c (__csinf): Likewise.
8933 * math/s_csinhf.c (__csinhf): Likewise.
8934 * math/s_ctanf.c (__ctanf): Likewise.
8935 * math/s_ctanhf.c (__ctanhf): Likewise.
8936 * math/s_ccosh.c (__ccoshf): Likewise.
8937 * math/s_cexp.c (__cexpl): Likewise.
8938 * math/s_csin.c (__csin): Likewise.
8939 * math/s_csinh.c (__csinh): Likewise.
8940 * math/s_ctan.c (__ctan): Likewise.
8941 * math/s_ctanh.c (ctanh): Likewise.
8942 * math/s_ccoshl.c (__ccoshl): Likewise.
8943 * math/s_cexpl.c (__cexpl): Likewise.
8944 * math/s_csinl.c (__csinl): Likewise.
8945 * math/s_csinhl.c (__csinhl): Likewise.
8946 * math/s_ctanl.c (__ctanl): Likewise.
8947 * math/s_ctanhl.c (__ctanhl): Likewise.
8948
203e5603
JM
89492012-09-25 Joseph Myers <joseph@codesourcery.com>
8950
8951 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8952 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8953 (_IO_off_t): Define to __off_t, not _G_off_t.
8954 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8955 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8956 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8957 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8958 type of __dummy and __dummy2 fields.
8959 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8974 (_G_ssize_t): Likewise.
8975 (_G_off_t): Likewise.
8976 (_G_pid_t): Likewise.
8977 (_G_uid_t): Likewise.
8978 (_G_wchar_t): Likewise.
8979 (_G_wint_t): Likewise.
8980
9fab36eb
SP
89812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8982
8983 * malloc/arena.c: Include malloc-sysdep.h.
8984 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8985 is sufficient to shrink the heap or an unmap is needed.
8986 * sysdeps/generic/malloc-sysdep.h: New file. Define
8987 new function check_may_shrink_heap.
8988 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8989 new function check_may_shrink_heap.
8990
2b4f00d1
SP
89912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
8993 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8994 comments.
8995
9a9028b1
DL
89962012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8997
57c69bef
DL
8998 * catgets/test-gencat.sh: Add "set -e".
8999 * elf/tst-pathopt.sh: Likewise.
9000 * grp/tst_fgetgrent.sh: Likewise.
9001 * iconvdata/run-iconv-test.sh: Likewise.
9002 * intl/tst-gettext.sh: Likewise.
9003 * intl/tst-gettext2.sh: Likewise.
9004 * intl/tst-gettext4.sh: Likewise.
9005 * intl/tst-gettext6.sh: Likewise.
9006 * intl/tst-translit.sh: Likewise.
9007 * io/ftwtest-sh: Likewise.
9008 * libio/test-freopen.sh: Likewise.
9009 * malloc/tst-mtrace.sh: Likewise.
9010 * posix/globtest.sh: Likewise.
9011 * posix/tst-getconf.sh: Likewise.
9012 * posix/wordexp-tst.sh: Likewise.
9013 * stdio-common/tst-printf.sh: Likewise.
9014 * stdio-common/tst-unbputc.sh: Likewise.
9015 * stdlib/tst-fmtmsg.sh: Likewise.
9016 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9017 * catgets/Makefile: Do not specify -e option when running
9018 testsuite shell scripts.
9019 * elf/Makefile: Likewise.
9020 * grp/Makefile: Likewise.
9021 * iconvdata/Makefile: Likewise.
9022 * intl/Makefile: Likewise.
9023 * io/Makefile: Likewise.
9024 * libio/Makefile: Likewise.
9025 * malloc/Makefile: Likewise.
9026 * posix/Makefile: Likewise.
9027 * stdio-common/Makefile: Likewise.
9028 * stdlib/Makefile: Likewise.
9029 * sysdeps/x86_64/Makefile: Likewise.
9030
9a9028b1
DL
9031 * io/ftwtest-sh: Add copyright header.
9032 * posix/globtest.sh: Likewise.
9033 * posix/tst-getconf.sh: Likewise.
9034 * posix/wordexp-tst.sh: Likewise.
9035 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9036
ced6f16e
L
90372012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9038
94b32c39
L
9039 [BZ #13679]
9040 * Makeconfig (+link): Defined as $(+link-static) if
9041 $(build-shared) isn't yes.
9042 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9043 isn't yes.
9044 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9045
189e935b
L
9046 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9047
ced6f16e
L
9048 [BZ #14562]
9049 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9050 new chunk size with MALLOC_ALIGN_MASK.
9051
a9f8e53a
JM
90522012-09-24 Joseph Myers <joseph@codesourcery.com>
9053
9054 [BZ #5044]
9055 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9056 <rounding-mode.h>.
9057 (__printf_fphex): Determine rounding using get_rounding_mode and
9058 round_away.
9059 * stdio-common/tst-printf-round.c (struct hex_test): New
9060 structure.
9061 (hex_tests): New variable.
9062 (test_hex_in_one_mode): New function.
9063 (do_test): Also run tests for hex float output.
9064
43153109
JM
90652012-09-21 Joseph Myers <joseph@codesourcery.com>
9066
9067 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9068 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9069 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9070 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9071 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9072 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9073 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9075
8a26625d
JM
90762012-09-20 Joseph Myers <joseph@codesourcery.com>
9077
9078 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9079 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9080 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9081 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9082
f3fd569c
DL
90832012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9084
9085 [BZ #14579]
9086 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9087 mode only.
9088 * elf/tst-rtld-load-self.sh: New test.
9089 * elf/Makefile: Run it.
9090
63bbedd4
JM
90912012-09-18 Joseph Myers <joseph@codesourcery.com>
9092
9093 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9094 (tst-writev-ENV): Remove.
9095 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9096
626f8b6a
CM
90972012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9098
9099 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9100
b7aaa4d6
JM
91012012-09-17 Joseph Myers <joseph@codesourcery.com>
9102
9103 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9104 unconditional.
9105 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9106 Likewise.
9107 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9108 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9109 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9110 Likewise.
9111
65513990
L
91122012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 [BZ #14587]
9115 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9116 * config.make.in (have-cpp-asm-debuginfo): Removed.
9117 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9118 * configure: Regenerated.
9119
784761be
JM
91202012-09-14 Joseph Myers <joseph@codesourcery.com>
9121
9122 [BZ #5044]
9123 * stdio-common/printf_fp.c: Include <stdbool.h> and
9124 <rounding-mode.h>.
9125 (___printf_fp): Determine rounding using get_rounding_mode and
9126 round_away.
9127 * stdio-common/tst-printf-round.c: New file.
9128 * stdio-common/Makefile (tests): Add tst-printf-round.
9129 (link-libm): New variable.
9130 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9131
9503345f
L
91322012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9133
9134 [BZ #14576]
9135 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9136 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9137 Likewise.
9138 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9139 Likewise.
9140
ad35fc00
JM
91412012-09-13 Joseph Myers <joseph@codesourcery.com>
9142
9143 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9144 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9145 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9147
6c9b0f68
JM
91482012-09-12 Joseph Myers <joseph@codesourcery.com>
9149
9150 [BZ #14518]
9151 * include/rounding-mode.h: New file.
9152 * sysdeps/generic/get-rounding-mode.h: Likewise.
9153 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9154 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9155 (MAX_VALUE): New macro.
9156 (MIN_VALUE): Likewise.
9157 (overflow_value): New function.
9158 (underflow_value): Likewise.
9159 (round_and_return): Use overflow_value and underflow_value to
9160 determine return values in overflow and underflow cases. Use
9161 round_away to determine rounding depending on rounding mode.
9162 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9163 determine return values in overflow and underflow cases.
9164 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9165 (struct test_results): New structure.
9166 (struct test): Use struct test_results to store expected results
9167 for all rounding modes.
9168 (TEST): Include expected results for all rounding modes.
9169 (test_in_one_mode): New function.
9170 (do_test): Use test_in_one_mode to compute and check results.
9171 Check results for all rounding modes.
9172 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9173 $(link-libm).
9174
19fcedd5
AM
91752012-12-09 Allan McRae <allan@archlinux.org>
9176
1e9d84cd 9177 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9178
8bbfd2f1
JM
91792012-09-11 Joseph Myers <joseph@codesourcery.com>
9180
9181 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9182 (_G_int32_t): Likewise.
9183 (_G_uint16_t): Likewise.
9184 (_G_uint32_t): Likewise.
9185 (_G_HAVE_BOOL): Likewise.
9186 (_G_HAVE_ATEXIT): Likewise.
9187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9188 (_G_HAVE_IO_FILE_OPEN): Likewise.
9189 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9190 (_G_int32_t): Likewise.
9191 (_G_uint16_t): Likewise.
9192 (_G_uint32_t): Likewise.
9193 (_G_HAVE_BOOL): Likewise.
9194 (_G_HAVE_ATEXIT): Likewise.
9195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9196 (_G_HAVE_IO_FILE_OPEN): Likewise.
9197 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9198 (_G_int32_t): Likewise.
9199 (_G_uint16_t): Likewise.
9200 (_G_uint32_t): Likewise.
9201 (_G_HAVE_BOOL): Likewise.
9202 (_G_HAVE_ATEXIT): Likewise.
9203 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9204 (_G_HAVE_IO_FILE_OPEN): Likewise.
9205
b1dc5912
L
92062012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * csu/libc-tls.c: Update copyright years.
9209
0e886ef9
JM
92102012-09-10 Joseph Myers <joseph@codesourcery.com>
9211
28361c5e
JM
9212 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9213 [!_G_USING_THUNKS]: Remove conditional code.
9214 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9215 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9216
0e886ef9
JM
9217 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9218 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9219 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9220 (_G_VTABLE_LABEL_PREFIX): Likewise.
9221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9222 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9224 (_G_VTABLE_LABEL_PREFIX): Likewise.
9225 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9226 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9227 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9228 (_G_VTABLE_LABEL_PREFIX): Likewise.
9229 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9230
bcba7aa2
L
92312012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9232
9233 * libio/Makefile: Include ../Makeconfig before tests.
9234 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9235 only if $(build-shared) is yes.
9236
06585ee8
L
9237 * iconv/gconv_db.c: Update copyright years.
9238
80ccd52c
LD
92392012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9240
9241 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9242 unwind info if defined PIC. Fix special cases description.
9243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9244
9245 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9246 DP_HI_MASK entry.
9247 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9248
691bc9c1
L
92492012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9250
3d9b46b3
L
9251 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9252
de2139a9
L
9253 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9254 is NULL.
9255
5ca78dd0
L
9256 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9257 (LDLIBS-tst-chk4): This.
9258 (LDFLAGS-tst-chk5): Renamed to ...
9259 (LDLIBS-tst-chk5): This.
9260 (LDFLAGS-tst-chk6): Renamed to ...
9261 (LDLIBS-tst-chk6): This.
9262 (LDFLAGS-tst-lfschk4): Renamed to ...
9263 (LDLIBS-tst-lfschk4): This.
9264 (LDFLAGS-tst-lfschk5): Renamed to ...
9265 (LDLIBS-tst-lfschk5): This.
9266 (LDFLAGS-tst-lfschk6): Renamed to ...
9267 (LDLIBS-tst-lfschk6): This.
9268
691bc9c1
L
9269 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9270 on $(common-objpfx)soversions.mk.
9271
65cafb1c
JM
92722012-09-07 Joseph Myers <joseph@codesourcery.com>
9273
9274 [BZ #10014]
9275 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9276 example host name.
9277
c78ab094
SP
92782012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9279
9280 * malloc/arena.c (arena_get_retry): New function that gets
9281 another arena for the caller to try its request on.
9282 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9283 current arena cannot fulfill the request.
9284 (__libc_memalign): Likewise.
9285 (__libc_memalign): Likewise.
9286 (__libc_pvalloc): Likewise.
9287 (__libc_calloc): Likewise.
9288
01f49f59
JT
92892012-09-05 John Tobey <john.tobey@gmail.com>
9290
9291 [BZ #13542]
9292 * manual/arith.texi (Operations on Complex): Fix description
9293 of carg branch cut.
9294
4c23fed5
JM
92952012-09-06 Joseph Myers <joseph@codesourcery.com>
9296
1d3c8572
JM
9297 [BZ #10014]
9298 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9299 host name.
9300
4c23fed5
JM
9301 [BZ #10038]
9302 * manual/memory.texi (Memory): Make order of menu items match
9303 order of sections.
9304
04570aaa
L
93052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9308 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9309 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9310
b80af2f4
L
93112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * csu/libc-tls.c (static_dtv): Renamed to ...
9314 (_dl_static_dtv): This. Make it global.
9315 (_dl_initial_dtv): Removed.
9316 (__libc_setup_tls): Updated.
9317 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9318 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9319 DL_INITIAL_DTV.
9320
2abe9f15
PM
93212012-09-06 Petr Machata <pmachata@redhat.com>
9322
9323 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9324 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9325 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9326 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9327
0948c3af
L
93282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 [BZ #14545]
9331 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9332 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9333 freeing dtv[-1].
9334
a5055ad1
L
93352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 [BZ #14544]
9338 * Makeconfig (link-static-before-libc): Replace $(+prector)
9339 with $(+prectorT).
9340 (link-static-after-libc): Replace $(+postctor) with
9341 $(+postctorT).
9342 (link-bounded): Replace $(+prector)/$(+postctor) with
9343 $(+prectorT)/$(+postctorT).
9344 (+prectorT): New macro.
9345 (+postctorT): Likewise.
9346
ed8c2ecd
JM
93472012-09-06 Joseph Myers <joseph@codesourcery.com>
9348
9349 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9350 (round_str): Handle values above the maximum for IBM long double
9351 as inexact.
9352 * stdlib/tst-strtod-round.c (tests): Regenerated.
9353
14c996c8
AK
93542012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9355
9356 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9357 assembler flag.
9358 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9359 zarch_nohighgprs around the zarch optimized routines.
9360 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9361 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9363 for zarch.
9364
430d6ce6
DM
93652012-09-05 David S. Miller <davem@davemloft.net>
9366
9367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9368
ff04dda4
DM
9369 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9370 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9371 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9372 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9373 entries.
9374
24d4e01b
AO
93752012-09-05 Alexandre Oliva <aoliva@redhat.com>
9376
9377 * malloc/arena.c: Fold copyright years.
9378 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9379
61d58174
AO
93802012-09-05 Alexandre Oliva <aoliva@redhat.com>
9381
9382 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9383
20196a5e
AO
93842012-09-05 Alexandre Oliva <aoliva@redhat.com>
9385
9386 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9387
5c447383
AO
93882012-09-05 Alexandre Oliva <aoliva@redhat.com>
9389
9390 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9391 change internal state upon failure.
9392
fad64255
AO
93932012-09-05 Alexandre Oliva <aoliva@redhat.com>
9394
9395 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9396 * malloc/memusage.c (mmap): Likewise.
9397 (mmap64, mremap): Likewise. Adjust name in comment.
9398
1ffb8c90
SP
93992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9400
9401 * libio/fileops.c: Fix typos in comments.
9402 * libio/oldfileops.c: Likewise.
9403 * libio/wfileops.c: Likewise.
9404
6ef9cc37
SP
94052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9406
9407 [BZ #1349]
9408 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9409 (tst-malloc-usable-ENV): Set environment for test case.
9410 * malloc/hooks.c (malloc_check_get_size): New function to get
9411 requested size.
9412 * malloc/malloc.c (musable): Use malloc_check_get_size.
9413 * malloc/tst-malloc-usable.c: New test case.
9414
4d038ae3
AS
94152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9416
9417 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9418
c4e85184
AM
94192012-09-05 Allan McRae <allan@archlinux.org>
9420
b9dafc56 9421 [BZ #13966]
c4e85184
AM
9422 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9423 determine header location.
9424 * configure: Regenerated.
9425
e1343020
AS
94262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9429 float format.
9430 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9431 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9432 format.
e1343020
AS
9433 (test): Regenerate.
9434
0a9f1987
DM
94352012-09-04 David S. Miller <davem@davemloft.net>
9436
9437 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9438 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9439 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9440
29237804
FW
94412012-09-04 Florian Weimer <fweimer@redhat.com>
9442
9443 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9444 failures.
9445
edb3cb88
FW
9446 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9447
60160d83
JM
94482012-09-04 Joseph Myers <joseph@codesourcery.com>
9449
9450 [BZ #9914]
9451 * libio/iogetdelim.c: Include <limits.h>.
9452 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9453 + len + 1 would overflow.
9454
bcd6c8dc
AJ
94552012-09-03 Andreas Jaeger <aj@suse.de>
9456
9457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459
4ffffbd2
LD
94602012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9461
9462 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9463 Add s_sinf-sse2, s_conf-sse2.
9464
9465 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9466 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9467 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9468 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9469
9470 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9471 for using routine as __sinf_ia32.
9472 Use macro for function declaration and weak_alias.
9473 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9474 for using routine as __cosf_ia32.
9475 Use macro for function declaration and weak_alias.
9476
9477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9478 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9479
9480 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9481 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9483
9484 * math/libm-test.inc (cos_test): Add more test cases.
9485 (sin_test): Likewise.
9486 (sincos_test): Likewise.
9487
511fa286
AK
94882012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9489
9490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9491 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9492 hidden.
9493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9494
5f30cfec
L
94952012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9496
9497 [BZ #14538]
9498 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9499 first element of the GOT.
9500 (elf_machine_load_address): Return the difference between
9501 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9502
0786794f
AM
95032012-09-01 Allan McRae <allan@archlinux.org>
9504
5f30cfec
L
9505 [BZ #13412]
9506 * configure.in (AWK): Require gawk version 3.0 or later.
9507 * configure: Regenerated.
0786794f 9508
26889eac
JM
95092012-09-01 Joseph Myers <joseph@codesourcery.com>
9510
9511 * sysdeps/unix/sysv/linux/kernel-features.h
9512 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9514 [__NR_clock_getres]: Make code unconditional.
9515 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9516 (clock_getcpuclockid): Remove code left unreachable by removal of
9517 conditionals.
9518 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9519 code unconditional.
9520 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9521 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9522 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9523 Make code unconditional.
9524 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9525 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9526 * sysdeps/unix/sysv/linux/clock_settime.c
9527 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9528 conditional code.
9529 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9530 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9531
d22e28b0
L
95322012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 [BZ #14476]
9535 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9536 scripts/test-installation.pl.
9537
9538 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9539 and $ld_so_version if it is set.
9540
050af9c4
SP
95412012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
9543 [BZ #14516]
9544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9545 failure if reading from procfs failed.
9546 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9547
ad845c0b
JM
95482012-08-27 Joseph Myers <joseph@codesourcery.com>
9549
9550 * sysdeps/unix/sysv/linux/kernel-features.h
9551 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9552 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9553 Remove conditional code.
9554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9555 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9556 Remove conditional code.
9557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9558 * sysdeps/unix/sysv/linux/i386/fxstat.c
9559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9561 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9562 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9564 * sysdeps/unix/sysv/linux/i386/lxstat.c
9565 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9567 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9568 Remove conditional code.
9569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9570 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9571 Remove conditional code.
9572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9573 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9574 <kernel-features.h>.
9575 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9576 Remove.
9577 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9578 Remove conditional code.
9579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9580 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9581 Remove conditional.
9582
5dbf56af
MF
95832012-08-27 Mike Frysinger <vapier@gentoo.org>
9584
9585 [BZ #5400]
9586 * NEWS: Add fixed bug number.
9587
d6e70f43
JM
95882012-08-27 Joseph Myers <joseph@codesourcery.com>
9589
7efb4737
JM
9590 [BZ #14519]
9591 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9592 underflowing exponent in case of negative sign.
9593 * stdlib/tst-strtod-round-data: Add more tests.
9594 * stdlib/tst-strtod-round.c (tests): Regenerated.
9595
af92131a
JM
9596 [BZ #3479]
9597 * stdlib/strtod_l.c (NDIG): Remove.
9598 (HEXNDIG): Likewise.
9599 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9600 smallest representable value.
9601 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9602 lie within an exact representation of 1/2 ulp of the result.
9603 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9604 unconditionally.
9605 (TENS_P9_IDX): Define unconditionally.
9606 (TENS_P9_SIZE): Likewise.
9607 (TENS_P10_IDX): Likewise.
9608 (TENS_P10_SIZE): Likewise.
9609 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9610 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9611 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9612 entries for 10^2^13 and 10^2^14.
9613 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9614 (TENS_P13_IDX): Define.
9615 (TENS_P13_SIZE): Likewise.
9616 (TENS_P14_IDX): Likewise.
9617 (TENS_P14_SIZE): Likewise.
9618 (_fpioconst_pow10): Change array size to
9619 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9620 unconditional.
9621 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9622 1024]: Add entries for 10^2^13 and 10^2^14.
9623 [LAST_POW10 > _LAST_POW10]: Remove #error.
9624 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9625 (_fpioconst_pow10): Change array size to
9626 FPIOCONST_POW10_ARRAY_SIZE.
9627 * stdlib/gen-fpioconst.c: New file.
9628 * stdlib/gen-tst-strtod-round.c: Likewise.
9629 * stdlib/tst-strtod-round-data: Likewise.
9630 * stdlib/tst-strtod-round.c: Likewise.
9631 * stdlib/Makefile (tests): Add tst-strtod-round.
9632
d6e70f43
JM
9633 [BZ #14459]
9634 * stdlib/strtod_l.c: Include <stdint.h>.
9635 (NDEBUG): Do not define.
9636 (round_and_return): Change EXPONENT parameter to type intmax_t.
9637 Rearrange calculations to avoid internal overflow possibilities.
9638 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9639 Rearrange calculations to avoid internal overflow possibilities.
9640 Assert that number fits inside MPNSIZE limbs.
9641 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9642 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9643 calculations and add assertions to avoid internal overflow
9644 possibilities. Add casts to avoid signed/unsigned operations.
9645 * stdlib/tst-strtod-overflow.c: New file.
9646 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9647
1f529f7d
MP
96482012-08-25 Marek Polacek <polacek@redhat.com>
9649
9650 * time/time.h: Fix some typos in comments.
9651
59a629f1
RM
96522012-08-23 Roland McGrath <roland@hack.frob.com>
9653
9654 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9655 * posix/tst-rfc3484-2.c: Likewise.
9656 * posix/tst-rfc3484-3.c: Likewise.
9657
d3bafbc9
SM
96582012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9659
9660 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9661 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9662
4efcc022
JM
96632012-08-23 Joseph Myers <joseph@codesourcery.com>
9664
9665 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9666 #include of fxstatat64.c.
9667
3cc3ef96
RM
96682012-08-22 Roland McGrath <roland@hack.frob.com>
9669
f04e2132
RM
9670 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9671 * shadow/getspent_r.c: Likewise.
9672 * shadow/getspnam.c: Likewise.
9673 * shadow/getspnam_r.c: Likewise.
9674 * gshadow/getsgent.c: Likewise.
9675 * gshadow/getsgent_r.c: Likewise.
9676 * gshadow/getsgnam.c: Likewise.
9677 * gshadow/getsgnam_r.c: Likewise.
9678 * inet/getnetbyad.c: Likewise.
9679 * inet/getnetbyad_r.c: Likewise.
9680 * inet/getnetbynm.c: Likewise.
9681 * inet/getnetbynm_r.c: Likewise.
9682 * inet/getnetent.c: Likewise.
9683 * inet/getnetent_r.c: Likewise.
9684 * inet/getproto.c: Likewise.
9685 * inet/getproto_r.c: Likewise.
9686 * inet/getprtent.c: Likewise.
9687 * inet/getprtent_r.c: Likewise.
9688 * inet/getprtname.c: Likewise.
9689 * inet/getprtname_r.c: Likewise.
9690 * inet/getrpcbyname.c: Likewise.
9691 * inet/getrpcbyname_r.c: Likewise.
9692 * inet/getrpcbynumber.c: Likewise.
9693 * inet/getrpcbynumber_r.c: Likewise.
9694 * inet/getrpcent.c: Likewise.
9695 * inet/getrpcent_r.c: Likewise.
9696 * inet/getaliasent.c: Likewise.
9697 * inet/getaliasent_r.c: Likewise.
9698 * inet/getaliasname.c: Likewise.
9699 * inet/getaliasname_r.c: Likewise.
9700 * nscd/getgrgid_r.c: Likewise.
9701 * nscd/getgrnam_r.c: Likewise.
9702 * nscd/gethstbyad_r.c: Likewise.
9703 * nscd/gethstbynm3_r.c: Likewise.
9704 * nscd/getpwnam_r.c: Likewise.
9705 * nscd/getpwuid_r.c: Likewise.
9706 * nscd/getsrvbynm_r.c: Likewise.
9707 * nscd/getsrvbypt_r.c: Likewise.
9708 * nscd/gai.c: Likewise.
9709
c53d909c
RM
9710 * configure.in (build_nscd): New substituted variable, set
9711 by --disable-build-nscd and defaults to $use_nscd.
9712 * configure: Regenerated.
9713 * config.make.in (build-nscd): New substituted variable.
9714 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9715 Change conditional to require [$(build-nscd) = yes] as well.
9716 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9717
3cc3ef96
RM
9718 [BZ# 13696]
9719 * configure.in (use_nscd): New substituted variable, set by
9720 --disable-nscd. If enabled, define USE_NSCD.
9721 * configure: Regenerated.
9722 * config.h.in: Add USE_NSCD.
9723 * config.make.in (use-nscd): New substituted variable.
9724 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9725 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9726 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9727 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9728 (CFLAGS-getgrnam_r.c): Likewise.
9729 (CFLAGS-initgroups.c): Likewise.
9730 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9731 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9732 Variables removed.
9733 * inet/getnetgrent_r.c
9734 (nscd_setnetgrent): New function, broken out of ...
9735 (setnetgrent): ... here. Call it.
9736 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9737 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9738 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9739 * nscd/Makefile (routines, aux): Move definitions after include of
9740 Makeconfig. Conditionalize on [$(use-nscd) != no].
9741 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9742 Conditionalize on [USE_NSCD].
9743 (is_nscd, nscd_init_cb): Likewise.
9744 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9745 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9746 * nss/nss_db/db-init.c: Likewise.
9747 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9748 [USE_NSCD].
9749 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9750 (make_request): Use it.
9751 (cache_valid_p): New function.
9752 (__check_pf): Use it.
9753 * NEWS: Add item for --disable-nscd.
9754
07e51550
DL
97552012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9756
9757 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9758 to support sed >= 4.2.1-20-ga9bf076.
9759 * configure: Regenerated.
9760
35a5b08b
RM
97612012-08-22 Roland McGrath <roland@hack.frob.com>
9762
9763 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9764 Conditionalize whole body on [IREL].
9765
8479f23a
JL
97662012-08-22 Jeff Law <law@redhat.com>
9767
9768 [BZ #14505]
9769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9770 if the family is PF_UNSPEC.
9771
48da0b21
MF
97722012-08-22 Mike Frysinger <vapier@gentoo.org>
9773
9774 * Makerules (lib-version): Rename from V.
9775 (install-lib-nosubdir): Change V to lib-version.
9776
15d0da8c
WS
97772012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9778
9779 [BZ #14252]
9780 * powerpc32/power6/wcschr.c: New file.
9781 * powerpc32/power6/wcscpy.c: New file.
9782 * powerpc32/power6/wcsrchr.c: New file.
9783 * powerpc64/power6/wcschr.c: New file.
9784 * powerpc64/power6/wcscpy.c: New file.
9785 * powerpc64/power6/wcsrchr.c: New file.
9786
bcca0895
MK
97872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9788
9789 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9790 (two_way_short_needle): Use it.
5a4aaa33
RM
9791 * string/strstr.c (AVAILABLE1_USES_J): Define.
9792 * string/strcasestr.c: Likewise.
99677e57
MK
9793
9794 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9795 array references.
9796 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9797
400726de
MK
9798 [BZ #11607]
9799 * NEWS: Add an entry.
9800 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9801 define their defaults.
9802 (two_way_short_needle): Detect end-of-string on-the-fly.
9803 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9804 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9805 * string/bug-strcasestr1.c: New test.
9806 * string/Makefile: Run it.
9807
20a71f2c
MK
98082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9809
9810 [BZ #11607]
9811 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9812 the first character.
9813
21ad0558
RM
98142012-08-21 Roland McGrath <roland@hack.frob.com>
9815
9816 * csu/elf-init.c (__libc_csu_irel): Function removed.
9817 * csu/libc-start.c (apply_irel): New function.
9818 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9819
0e1d9911
JM
98202012-08-21 Joseph Myers <joseph@codesourcery.com>
9821
9822 * sysdeps/unix/sysv/linux/kernel-features.h
9823 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9825 <kernel-features.h>.
9826 [__NR_fadvise64_64]: Make code unconditional.
9827 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9828 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9829 !__NR_fadvise64_64)]: Likewise.
9830 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9831 !__NR_fadvise64_64))]: Likewise.
9832 [__NR_fadvise64]: Make code unconditional.
9833 [!__NR_fadvise64]: Remove conditional code.
9834 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9835 <kernel-features.h>.
9836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9837 unconditional.
9838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9839 conditional code.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9841 not include <kernel-features.h>.
9842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9843 unconditional.
9844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9845 conditional code.
9846 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9847 include <kernel-features.h>.
9848 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9849 unconditional.
9850 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9851 conditional code.
9852
14a50c9d
WS
98532012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9854
9855 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9856 slight instruction rearrangements per scrollpipe analysis.
9857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9858
c0f4faf0
RM
98592012-08-20 Roland McGrath <roland@hack.frob.com>
9860
696da859
RM
9861 * manual/syslog.texi (syslog; vsyslog, closelog):
9862 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9863 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9864
c0f4faf0
RM
9865 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9866 DSOCAPS to match condition on defining it.
9867
348363b2
JM
98682012-08-20 Joseph Myers <joseph@codesourcery.com>
9869
a35cbf28
JM
9870 * sysdeps/unix/sysv/linux/kernel-features.h
9871 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9876 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9877 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9879 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9880 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9881
445f7ecd
JM
9882 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9883 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9884
348363b2
JM
9885 * sysdeps/unix/sysv/linux/kernel-features.h
9886 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9887 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9888 unconditional.
9889 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9893 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9894 Make code unconditional.
9895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9896 (__mmap64) [!__NR_mmap2]: Likewise.
9897 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9900 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9901 [__NR_mmap2]: Make code unconditional.
9902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9903 (__mmap64) [!__NR_mmap2]: Likewise.
9904
bc5bc0e5
AK
99052012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9906
9907 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9908
88d506de
AJ
99092012-08-18 Andreas Jaeger <aj@suse.de>
9910
9911 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9912
493387d2
MF
99132012-08-18 Mike Frysinger <vapier@gentoo.org>
9914
9915 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9916 * include/unistd.h (__have_sock_cloexec): Likewise.
9917 (__have_pipe2): Likewise.
9918 (__have_dup3): Likewise.
9919
a277af22
MF
99202012-08-18 Mike Frysinger <vapier@gentoo.org>
9921
9922 [BZ #9685]
9923 * include/unistd.h (__have_pipe2): Change define into an extern int.
9924 (__have_dup3): Likewise.
9925 * socket/have_sock_cloexec.c: Include fcntl.h.
9926 (__have_pipe2): New variable.
9927 (__have_dup3): Likewise.
9928
fdab8fd3
MF
99292012-08-17 Mike Frysinger <vapier@gentoo.org>
9930
9931 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9932
31035e80
MP
99332012-08-17 Marek Polacek <polacek@redhat.com>
9934
9935 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9936 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9937
3bd9e993
RM
99382012-08-17 Roland McGrath <roland@hack.frob.com>
9939
c91c505f
RM
9940 * configure.in: Add AC_SUBST for sysheaders.
9941 * configure: Regenerated.
9942 * config.make.in (sysheaders): New substituted variable.
9943
7c6f9d53
RM
9944 * sysdeps/unix/mkfifo.c: Moved ...
9945 * sysdeps/posix/mkfifo.c: ... here.
9946 * sysdeps/unix/mkfifoat.c: Moved ...
9947 * sysdeps/posix/mkfifoat.c: ... here.
9948
9949 * sysdeps/unix/utime.c: Moved ...
9950 * sysdeps/posix/utime.c: ... here.
9951
9952 * sysdeps/unix/time.c: Moved ...
9953 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9954 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9955 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9956
9957 * sysdeps/unix/nice.c: Moved ...
9958 * sysdeps/posix/nice.c: ... here.
9959
9960 * sysdeps/unix/alarm.c: Moved ...
9961 * sysdeps/posix/alarm.c: ... here.
9962
3bd9e993
RM
9963 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9964
d1f09384
JL
99652012-08-17 Jeff Law <law@redhat.com>
9966
9967 * intl/Makefile (codeset_mo): New variable.
9968 ($(codeset_mo)): New target.
9969 (tst-codeset.out): Depend on that. Remove explicit rule.
9970 (tst-gettext3.out, tst-gettext5.out): Likewise.
9971 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9972 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9973 * intl/tst-codeset.sh: Remove.
9974 * intl/tst-gettext3.sh: Likewise.
9975 * intl/tst-gettext5.sh: Likewise.
9976
2ae1ae5c
RM
99772012-08-17 Roland McGrath <roland@hack.frob.com>
9978
c31fdb83
RM
9979 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9980 * sysdeps/unix/syscalls.list: ... here.
9981
a0844057
RM
9982 * sysdeps/posix/getaddrinfo.c
9983 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9984 (gaiconf_init, gaiconf_reload): Use them.
9985 [!_STATBUF_ST_NSEC]
9986 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9987 Define using time_t rather than struct timespec.
9988
750c1f2a
RM
9989 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9990 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9991 Macros removed.
9992 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9993 [!NO_THREADS].
9994 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9995 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9996 Likewise.
9997
2ae1ae5c
RM
9998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9999 __libc_cleanup_push argument.
10000
e66a42f5
RM
10001 * bits/param.h: New file.
10002 * misc/sys/param.h: New file.
10003 * include/sys/param.h: New file.
10004 * misc/Makefile (headers): Add bits/param.h.
10005 * sysdeps/generic/sys/param.h: File removed.
10006 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10007 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10008 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10009 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10010
b7c08a66
RM
10011 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10012 last change.
10013
b2e1c562
RM
10014 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10015 [_IO_MTSAFE_IO].
10016 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10017 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10018 New macros.
10019
c75ccd4c
RM
10020 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10021 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10022 rather than -D_IO_MTSAFE_IO conditionally.
10023 * stdio-common/Makefile (CPPFLAGS): Likewise.
10024 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10025 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10026 Use $(libio-mtsafe).
10027 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10028 of -D_IO_MTSAFE_IO.
10029 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10030 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10031 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10032 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10033 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10034 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10035 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10036 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10037 (CFLAGS-fread_u_chk.c): Likewise.
10038 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10039 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10040 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10041 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10042 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10043 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10044 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10045 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10046 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10047
10048 * libio/Makefile: Test [$(libc-reentrant) = yes]
10049 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10050
10051 * Makeconfig
10052 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10053 * sysdeps/pthread/configure: File removed.
10054 * sysdeps/pthread/Makeconfig: New file.
10055 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10056 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10057
d9195db8
GB
100582012-08-16 Gary Benson <gbenson@redhat.com>
10059
10060 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10061 unmapping the first object in a namespace.
10062
86466cd9
RM
100632012-08-16 Roland McGrath <roland@hack.frob.com>
10064
10065 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10066 (__internal_setnetgrent): ... this. Add internal_function to
10067 definition. Add libc_hidden_def.
10068 (setnetgrent): Update caller.
10069 (internal_endnetgrent): Renamed to ...
10070 (__internal_endnetgrent): ... this. Add internal_function to
10071 definition. Add libc_hidden_def.
10072 (endnetgrent): Update caller.
10073 (internal_getnetgrent_r): Renamed to ...
10074 (__internal_getnetgrent_r): ... this. Add internal_function to
10075 definition. Add libc_hidden_def.
10076 (__getnetgrent_r): Update caller.
10077 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10078
c3c8283c
JM
100792012-08-16 Joseph Myers <joseph@codesourcery.com>
10080
10081 * stdlib/longlong.h: Update from GCC.
10082
db1ee0a8
RM
100832012-08-16 Roland McGrath <roland@hack.frob.com>
10084
10085 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10086 on _QL, which is set by umul_ppmm but never used.
10087 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10088 variables, which are set by GMP macros but never used.
10089 * stdio-common/_itowa.c (_itowa): Likewise.
10090 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10091 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10092
30f69637
CD
100932012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10094
10095 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10096 struct La_sh_regs is not constant.
10097 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10098 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10099 and struct La_sparc64_regs are not constant.
10100
93a78ac4
JM
101012012-08-16 Joseph Myers <joseph@codesourcery.com>
10102
10103 * sysdeps/unix/sysv/linux/kernel-features.h
10104 (__ASSUME_POSIX_TIMERS): Remove.
10105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10107 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10108 Make code unconditional.
10109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10110 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10111 Make code unconditional.
10112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10113 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10114 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10116 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10117 Make code unconditional.
10118 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10119 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10120 (__libc_missing_posix_timers): Remove.
10121
dd924cd7
RM
101222012-08-15 Roland McGrath <roland@hack.frob.com>
10123
4b4f2771
RM
10124 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10125 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10126
601c888b
RM
10127 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10128
176790a7
RM
10129 * elf/dl-sym.c: Include <stdlib.h>.
10130
329bc018
RM
10131 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10132 constants, which avoids warnings in 32-bit builds.
10133
e04e272d
RM
10134 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10135 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10136
952bf94a
RM
10137 * misc/lseek.c: File moved to ...
10138 * io/lseek.c: ... here.
10139
7c99b50a
RM
10140 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10141
dd924cd7
RM
10142 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10143 shifting LEN more than 31 bits at once.
10144
b3f479a8
LD
101452012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10146
10147 [BZ #14195]
8c4ae0d4
RM
10148 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10149 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10150 * string/test-strncasecmp.c (check1): Renamed to...
10151 (bz12205): ...this.
10152 (bz14195): Add new testcase for two empty input strings and N > 0.
10153 (test_main): Call new testcase, adapt for renamed function.
10154
9c55864e
AJ
101552012-08-15 Andreas Jaeger <aj@suse.de>
10156
10157 [BZ #14090]
10158 * crypt/md5test2.c: New test, based on test supplied by Serge
10159 Belyshev <belyshev@depni.sinp.msu.ru>.
10160 * crypt/Makefile (xtests): Add md5test-giant..
10161 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10162
02dcb6c5
PE
101632012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10164
10165 [BZ #14090]
10166 * crypt/md5.c (md5_process_block): Don't assume the buffer
10167 length is less than 2**32.
10168 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10169 length is less than 2**64.
10170
a3f95dcc
RM
101712012-08-15 Roland McGrath <roland@hack.frob.com>
10172
be75d758
RM
10173 * string/str-two-way.h: Include <sys/param.h>.
10174 (MAX): Macro removed.
10175
7312ca90
RM
10176 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10177 Move #define and #undef of memmove to just before and after
10178 including <string.h>.
10179
9a0a5486
RM
10180 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10181 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10182 and after including <string.h>. Move declarations of
10183 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10184 to before #include "string/memmove.c".
10185
67cc348d
RM
10186 * include/dirent.h: Declare __getdirentries.
10187
a3f95dcc
RM
10188 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10189 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10190
ca98e171
MF
101912012-08-14 Mike Frysinger <vapier@gentoo.org>
10192
10193 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10194 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10195 * sysdeps/i386/configure: Regenerated.
10196 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10197 STABS_CURRENT_FILE, and STABS_FUN.
10198 (END): Remove call to STABS_FUN_END.
10199 (STABS_CURRENT_FILE1): Delete.
10200 (STABS_CURRENT_FILE): Likewise.
10201 (STABS_FUN): Likewise.
10202 (STABS_FUN_END): Likewise.
10203 (STABS_FUN2): Likewise.
10204 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10205 * sysdeps/x86_64/configure: Regenerated.
10206
5908bf46
RM
102072012-08-14 Roland McGrath <roland@hack.frob.com>
10208
10209 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10210 * elf/dl-lookup.c: Likewise.
5908bf46 10211
f2c05b9e
JM
102122012-08-14 Joseph Myers <joseph@codesourcery.com>
10213
10214 * sysdeps/unix/sysv/linux/kernel-features.h
10215 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10216 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10217 unconditionally.
10218 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10219 unconditionally.
10220 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10221 condition on __ASSUME_CLONE_THREAD_FLAGS.
10222
e11f5155
AJ
102232012-08-14 Andreas Jaeger <aj@suse.de>
10224
10225 * sysdeps/i386/fpu/libm-test-ulps: Update.
10226
51a9ba86
MK
102272012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10228
2fdd4f78
AJ
10229 * include/atomic.h (atomic_exchange_and_add): Split into ...
10230 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10231 New atomic macros.
51a9ba86 10232
ba6cba9e
MT
102332012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10234
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10236
42443a47
JL
102372012-08-13 Jeff Law <law@redhat.com>
10238
10239 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10240 null byte in the output string.
10241
121dce05
JM
102422012-08-10 Joseph Myers <joseph@codesourcery.com>
10243
10244 * sysdeps/unix/sysv/linux/kernel-features.h
10245 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10246 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10247 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10248 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10249 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10250 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10251 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10252
bf51f568
JL
102532012-08-09 Jeff Law <law@redhat.com>
10254
10255 [BZ #13939]
10256 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10257 When avoid_arena is set, don't retry in the that arena. Pick the
10258 next one, whatever it might be.
10259 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10260 (arena_lock): Pass in new parameter to arena_get2.
10261 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10262 arena_get2.
10263 (__libc_malloc): Unify retrying after main arena failure with
10264 __libc_memalign version.
10265 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10266
f85fa270
L
102672012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 [BZ #14166]
10270 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10271 to __redirect_strstr.
10272 (__strstr_sse42): Use typeof __redirect_strstr.
10273 (__strstr_ia32): Likewise.
10274 (__libc_strstr): New prototype.
10275 (strstr): Renamed to ...
10276 (__libc_strstr): This.
10277 (strstr): New strong alias of __libc_strstr.
10278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10279 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10280 __redirect_time.
10281 Include <time.h>.
10282 (__libc_time): New prototype.
10283 (time_ifunc): Replace time with __libc_time.
10284 (time): New strong alias and hidden definition of __libc_time.
10285 (__GI_time): Remove strong alias.
10286 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10287 Include <stddef.h>.
10288 (memmove): Redefined to __redirect_memmove.
10289 (__memmove_sse2): Use typeof __redirect_memmove.
10290 (__memmove_ssse3): Likewise.
10291 (__memmove_ssse3_back): Likewise.
10292 (__libc_memmove): New prototype.
10293 (memmove): Renamed to ...
10294 (__libc_memmove): This.
10295 (memmove): New strong alias of __libc_memmove.
10296
33b4a91e
MS
102972012-08-08 Mark Salter <msalter@redhat.com>
10298
10299 * elf/elf.h
10300 (R_MN10300_TLS_GD): Define.
10301 (R_MN10300_TLS_LD): Likewise.
10302 (R_MN10300_TLS_LDO): Likewise.
10303 (R_MN10300_TLS_GOTIE): Likewise.
10304 (R_MN10300_TLS_IE): Likewise.
10305 (R_MN10300_TLS_LE): Likewise.
10306 (R_MN10300_TLS_DTPMOD): Likewise.
10307 (R_MN10300_TLS_DTPOFF): Likewise.
10308 (R_MN10300_TLS_TPOFF): Likewise.
10309 (R_MN10300_SYM_DIFF): Likewise.
10310 (R_MN10300_ALIGN): Likewise.
10311 (R_MN10300_NUM): Update.
10312
b36137f1
JM
103132012-08-08 Joseph Myers <joseph@codesourcery.com>
10314
10315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10316 Remove.
10317
cdd915fd
RM
103182012-08-08 Roland McGrath <roland@hack.frob.com>
10319
a2433aac
RM
10320 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10321
cdd915fd
RM
10322 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10323 sysdeps/unix -> sysdeps/posix move.
10324 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10325
bf9b740a
AM
103262012-08-07 Allan McRae <allan@archlinux.org>
10327
10328 [BZ #14303]
10329 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10330 (SUNOS_CPP): Likewise.
10331 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10332 not found.
10333 (open_input): Call CPP using execvp.
10334
93df14ee
JM
103352012-08-07 Joseph Myers <joseph@codesourcery.com>
10336
10337 * sysdeps/unix/sysv/linux/kernel-features.h
10338 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10339 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10340 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10341 (__ASSUME_WAITID_SYSCALL): Likewise.
10342 * sysdeps/unix/sysv/linux/dl-execstack.c
10343 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10344 code unconditional.
10345 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10346 conditional code.
10347 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10348 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10349 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10350 code.
10351 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10352 unconditional.
10353 [__ASSUME_WAITID_SYSCALL]: Likewise.
10354 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10355
d34689de
RM
103562012-08-07 Roland McGrath <roland@hack.frob.com>
10357
a281decc
RM
10358 * sysdeps/unix/closedir.c: Renamed to ...
10359 * sysdeps/posix/closedir.c: ... here.
10360 * sysdeps/unix/dirfd.c: Renamed to ...
10361 * sysdeps/posix/dirfd.c: ... here.
10362 * sysdeps/unix/dirstream.h: Renamed to ...
10363 * sysdeps/posix/dirstream.h: ... here.
10364 * sysdeps/unix/fdopendir.c: Renamed to ...
10365 * sysdeps/posix/fdopendir.c: ... here.
10366 * sysdeps/unix/opendir.c: Renamed to ...
10367 * sysdeps/posix/opendir.c: ... here.
10368 * sysdeps/unix/readdir.c: Renamed to ...
10369 * sysdeps/posix/readdir.c: ... here.
10370 * sysdeps/unix/readdir_r.c: Renamed to ...
10371 * sysdeps/posix/readdir_r.c: ... here.
10372 * sysdeps/unix/rewinddir.c: Renamed to ...
10373 * sysdeps/posix/rewinddir.c: ... here.
10374 * sysdeps/unix/seekdir.c: Renamed to ...
10375 * sysdeps/posix/seekdir.c: ... here.
10376 * sysdeps/unix/telldir.c: Renamed to ...
10377 * sysdeps/posix/telldir.c: ... here.
10378 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10379 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10380 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10381 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10382
22895b47
RM
10383 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10384 * bits/fcntl.h: ... here.
10385
707a53b6
RM
10386 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10387 not 0.
10388 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10389 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10390 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10391 (struct flock): Move l_start, l_len to the beginning.
10392 Use __pid_t for l_pid.
10393 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10394 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10395 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10396 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10397 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10398 [__USE_LARGEFILE64] (struct flock64): New type.
10399 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10400
f0bd3e25
RM
10401 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10402 * bits/dirent.h: ... here.
10403
d34689de
RM
10404 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10405 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10406
6dad2c06
JM
104072012-08-07 Joseph Myers <joseph@codesourcery.com>
10408
10409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10410 Change from 2.6.0 to 2.6.16.
10411 * sysdeps/unix/sysv/linux/configure: Regenerated.
10412 * sysdeps/unix/sysv/linux/kernel-features.h
10413 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10414 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10415 version.
10416 (__ASSUME_UTIMES): Likewise.
10417 (__ASSUME_CLONE_STOPPED): Remove.
10418 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10419 architectures, not kernel version.
10420 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10421 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10422 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10423 (__ASSUME_WAITID_SYSCALL): Likewise.
10424 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10425 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10426 * README: State 2.6.16 as minimum Linux kernel version. Do not
10427 refer to older versions.
10428
03af9520
RM
104292012-08-06 Roland McGrath <roland@hack.frob.com>
10430
8e49df1d
RM
10431 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10432 Define alphasort64 as an alias.
10433 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10434 Define versionsort64 as an alias.
10435 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10436 Define scandir64 as an alias.
10437 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10438 Define scandirat64 as an alias.
10439 * dirent/alphasort64.c (alphasort64):
10440 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10441 * dirent/versionsort64.c: Likewise.
10442 * dirent/scandir64.c: Likewise.
10443 * dirent/scandirat64.c: Likewise.
10444 * sysdeps/wordsize-64/alphasort.c: File removed.
10445 * sysdeps/wordsize-64/alphasort64.c: File removed.
10446 * sysdeps/wordsize-64/scandir.c: File removed.
10447 * sysdeps/wordsize-64/scandir64.c: File removed.
10448 * sysdeps/wordsize-64/scandirat.c: File removed.
10449 * sysdeps/wordsize-64/scandirat64.c: File removed.
10450 * sysdeps/wordsize-64/versionsort.c: File removed.
10451 * sysdeps/wordsize-64/versionsort64.c: File removed.
10452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10453 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10454 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10456 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10458 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10459 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10460
10461 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10463 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10465 [defined __arch64__ || defined __sparcv9]
10466 (__INO_T_MATCHES_INO64_T): New macro.
10467 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10468 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10469 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10470 * sysdeps/unix/sysv/linux/bits/dirent.h
10471 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10472 (_DIRENT_MATCHES_DIRENT64): New macro.
10473
03af9520
RM
10474 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10475 Define lockf64 as an alias.
10476 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10477 Define fseeko64 as an alias.
10478 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10479 Define ftello64 as an alias.
10480 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10481 Define _IO_fgetpos64 and fgetpos64 as aliases.
10482 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10483 Define _IO_fsetpos64 and fsetpos64 as aliases.
10484 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10485 Conditionalize body on this.
10486 * libio/fseeko64.c: Likewise.
10487 * libio/ftello64.c: Likewise.
10488 * libio/iofgetpos64.c: Likewise.
10489 * libio/iofsetpos64.c: Likewise.
10490 * sysdeps/wordsize-64/lockf.c: File removed.
10491 * sysdeps/wordsize-64/lockf64.c: File removed.
10492 * sysdeps/wordsize-64/fseeko.c: File removed.
10493 * sysdeps/wordsize-64/fseeko64.c: File removed.
10494 * sysdeps/wordsize-64/ftello.c: File removed.
10495 * sysdeps/wordsize-64/ftello64.c: File removed.
10496 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10497 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10498 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10499 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10502 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10504 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10508 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10510
10511 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10513 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10515 [defined __arch64__ || defined __sparcv9]
10516 (__OFF_T_MATCHES_OFF64_T): New macro.
10517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10518 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10520 (__OFF_T_MATCHES_OFF64_T): New macro.
10521
c5757acd
L
105222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10523
10524 * stdlib/secure-getenv.c (__secure_getenv): Replace
10525 GLIBC_2_16 with GLIBC_2_17.
10526
3a31811e
L
105272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10531
faa2bccb
DM
105322012-08-03 David S. Miller <davem@davemloft.net>
10533
10534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10535
85fe1997
JM
105362012-08-03 Joseph Myers <joseph@codesourcery.com>
10537
10538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10539 Remove.
10540 (__ASSUME_CORRECT_SI_PID): Likewise.
10541 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10542 (__ASSUME_TMPFS_NAME): Likewise.
10543 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10544 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10546 (HAVE_AUX_SECURE): Make definition unconditional.
10547 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10548 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10549
4f75b7a0
RM
105502012-08-03 Roland McGrath <roland@hack.frob.com>
10551
10552 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10553 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10554 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10556 __eloop_threshold instead of SYMLOOP_MAX.
10557
10558 * sysdeps/generic/eloop-threshold.h: New file.
10559 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10560 of MAXSYMLINKS.
10561 * elf/chroot_canon.c (chroot_canon): Likewise.
10562
7aab07e4
JM
105632012-08-03 Joseph Myers <joseph@codesourcery.com>
10564
10565 [BZ #13717]
10566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10567 Change to 2.6.0 everywhere.
10568 * sysdeps/unix/sysv/linux/configure: Regenerated.
10569 * sysdeps/unix/sysv/linux/kernel-features.h
10570 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10571 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10572 kernel versions.
10573 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10574 (__ASSUME_FUTEX_REQUEUE): Remove.
10575 (__ASSUME_STATFS64): Define unconditionally.
10576 (__ASSUME_AT_SECURE): Likewise.
10577 (__ASSUME_CORRECT_SI_PID): Likewise.
10578 (__ASSUME_TGKILL): Define without depending on kernel version for
10579 i386.
10580 (__ASSUME_UTIMES): Likewise.
10581 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10582 kernel version.
10583 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10584 (__ASSUME_TMPFS_NAME): Likewise.
10585 * README: Update reference to Linux kernel versions.
10586
b67e9372
MP
105872012-08-02 Marek Polacek <polacek@redhat.com>
10588
1f529f7d 10589 [BZ# 14150]
b67e9372
MP
10590 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10591 libc_cv_asm_type_prefix with %.
10592 * configure: Regenerated.
d2441631
RM
10593 * include/libc-symbols.h: Remove comment about
10594 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10595 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10596 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10597 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10598 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10599 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10600 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10601 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10602 * elf/tst-unique2mod1.c: Likewise.
10603 * elf/tst-unique1mod2.c: Likewise.
10604 * elf/tst-unique1mod1.c: Likewise.
10605 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10606 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10607 Replace ASM_TYPE_DIRECTIVE with .type.
10608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10609 * sysdeps/i386/sysdep.h: Likewise.
10610 * sysdeps/x86_64/sysdep.h: Likewise.
10611 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10613 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10614 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10615 * sysdeps/powerpc/powerpc32/sysdep.h:
10616 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10617 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10618 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10619 * sysdeps/i386/fpu/e_powf.S: Likewise.
10620 * sysdeps/i386/fpu/e_expl.S: Likewise.
10621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10622 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10623 * sysdeps/i386/fpu/e_pow.S: Likewise.
10624 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10625 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10626 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10627 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10628 * sysdeps/i386/fpu/e_log2.S: Likewise.
10629 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10630 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10631 * sysdeps/i386/fpu/e_powl.S: Likewise.
10632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10633 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10634 * sysdeps/i386/fpu/e_logl.S: Likewise.
10635 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10636 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10637 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10640 * sysdeps/i386/fpu/e_log.S: Likewise.
10641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10642 * sysdeps/i386/fpu/e_logf.S: Likewise.
10643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10644 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10645 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10646 * sysdeps/i386/fpu/e_log10.S: Likewise.
10647 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10649 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10650 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10651 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10653 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10654 * sysdeps/i386/i686/strtok.S: Likewise.
10655 * sysdeps/i386/i386-mcount.S: Likewise.
10656 * sysdeps/i386/strtok.S: Likewise.
10657 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10661 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10663 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10664 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10665 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10666 * sysdeps/x86_64/_mcount.S: Likewise.
10667 * sysdeps/x86_64/strtok.S: Likewise.
10668 * sysdeps/sh/_mcount.S: Likewise.
10669
2747bf9a
RM
106702012-08-01 Roland McGrath <roland@hack.frob.com>
10671
10672 * libio/iofopen.c: Include <fcntl.h>.
10673 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10674 (_IO_fopen64, fopen64): Define as aliases.
10675 * libio/iofopen64.c: Include <fcntl.h>.
10676 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10677 Conditionalize body on this.
10678 * sysdeps/wordsize-64/iofopen.c: File removed.
10679 * sysdeps/wordsize-64/iofopen64.c: File removed.
10680
3fb791b8
MP
106812012-08-01 Marek Polacek <polacek@redhat.com>
10682
10683 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10684 Use dlfcn directly instead of a variable.
10685 (binfmt-subdir): Do not define.
10686 (dlfcn): Likewise.
10687
a9f1039f
JM
106882012-08-01 Joseph Myers <joseph@codesourcery.com>
10689
23bddc06
JM
10690 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10691 Remove all definitions.
10692 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10693 <kernel-features.h>.
10694 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10695 (miss_F_GETOWN_EX): Remove all definitions.
10696 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10697 macro definition.
10698 [!__ASSUME_FCNTL64]: Remove conditional code.
10699 [__ASSUME_FCNTL64]: Make code unconditional.
10700 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10701 <kernel-features.h>.
10702 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10703 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10704 (lockf64) [__NR_fcntl64]: Make code unconditional.
10705 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10706
a9f1039f
JM
10707 * sysdeps/unix/sysv/linux/kernel-features.h
10708 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10709 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10710 Make code unconditional.
10711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10714 [__NR_vfork]: Make code unconditional.
10715 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10716 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10718 [__NR_vfork]: Make code unconditional.
10719 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10720 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10721
09c0ee5f
RM
107222012-08-01 Roland McGrath <roland@hack.frob.com>
10723
48aec5b9
RM
10724 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10725 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10726
cd97c966
RM
10727 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10728 Define mkstemp64 as an alias.
3f55550c
RM
10729 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10730 Define mkstemps64 as an alias.
cd97c966
RM
10731 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10732 Define mkostemp64 as an alias.
b8625cfc
RM
10733 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10734 Define mkostemps64 as an alias.
cd97c966
RM
10735 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10736 Conditionalize body on this.
10737 * misc/mkostemp64.c: Likewise.
b8625cfc 10738 * misc/mkostemps64.c: Likewise.
3f55550c 10739 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10740 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10741 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10742 * sysdeps/wordsize-64/mkostemp.c: File removed.
10743 * sysdeps/wordsize-64/mkstemp.c: File removed.
10744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10745 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10746 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10747 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10748
09c0ee5f
RM
10749 [BZ #14138]
10750 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10751 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10752 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10753 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10754
10755 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10756 compat_symbol macros from <shlib-compat.h> rather than the underlying
10757 default_symbol_version and symbol_version macros, so that DEFAULT
10758 lines in shlib-versions are respected.
10759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10760
7e66ee51
FW
107612012-08-01 Florian Weimer <fweimer@redhat.com>
10762
10763 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10764 Declare with warn_unused_result.
10765 (setgid, setregid, setegid, setresgid): Likewise.
10766 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10767 Likewise.
10768 * WUR-REPORT: Remove set*id functions.
10769
d2a54255
PT
107702012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10771
10772 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10773
7ecdb005
RM
107742012-07-31 Roland McGrath <roland@hack.frob.com>
10775
789bd351
RM
10776 * include/sys/socket.h (__libc_accept, __libc_accept4):
10777 Add attribute_hidden.
10778 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10779
40ce302d
RM
10780 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10781 use of PTR_MANGLE.
10782 * inet/getnetgrent_r.c (setup): Likewise.
10783
7ecdb005
RM
10784 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10785
e2eabb2c
DM
107862012-07-31 David S. Miller <davem@davemloft.net>
10787
10788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10789
d0419dbf
JM
107902012-07-31 Joseph Myers <joseph@codesourcery.com>
10791
10792 [BZ #13629]
10793 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10794 value between 1.0 and 2.0 and smaller part has absolute value less
10795 than 1.0.
10796 * math/s_clog10.c (__clog10): Likewise.
10797 * math/s_clog10f.c (__clog10f): Likewise.
10798 * math/s_clog10l.c (__clog10l): Likewise.
10799 * math/s_clogf.c (__clogf): Likewise.
10800 * math/s_clogl.c (__clogl): Likewise.
10801 * math/libm-test.inc (clog_test): Add more tests.
10802 (clog10_test): Likewise.
10803 * sysdeps/i386/fpu/libm-test-ulps: Update.
10804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10805
2bc13872
FW
108062012-07-31 Florian Weimer <fweimer@redhat.com>
10807
10808 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10809 Exit with zero in case no suitable GID is found, and write a
10810 message to standard error.
10811
bea9b193
RM
108122012-07-30 Roland McGrath <roland@hack.frob.com>
10813
10814 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10815 rather than to 1.
10816 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10817 (MAXPATHLEN): Removed.
10818 (NOGROUP, NODEV): New macros.
10819 (setbit, clrbit, isset, isclr): New macros.
10820 (howmany, roundup, powerof2): New macros.
10821 (DEV_BSIZE): New macro.
10822
10823 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10824 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10825
10826 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10827 definition on [!__NO_LONG_DOUBLE_MATH].
10828
10829 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10830 PTR_MANGLE and PTR_DEMANGLE.
10831
10832 * socket/accept4.c (accept4): Rename to __libc_accept4.
10833 Define accept4 as a weak alias.
10834
10835 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10836 on [_DIRENT_HAVE_D_TYPE].
10837 * io/ftw.c (ftw_dir): Likewise.
10838
10839 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10840
10841 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10842
10843 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10844 Use the BSD numbers rather than the arbitrary ones we had.
10845 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10846 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10847 (SIGXCPU, SIGXFSZ): New macros.
10848 (_NSIG): Now 32.
10849
10850 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10851 initializer on [_LIBC_REENTRANT].
10852
10853 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10854 definitions inside [_POSIX_MAPPED_FILES].
10855
10856 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10857
10858 * dirent/opendir.c: Include <fcntl.h>.
10859
10860 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10861 (__libc_getspecific): Likewise.
10862 (__libc_key_create): Likewise.
10863
10864 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10865 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10866 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10867 (tmpfile64): Define as alias.
10868 * sysdeps/wordsize-64/tmpfile.c: File removed.
10869 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10870 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10872
10873 * stdio-common/vfscanf.c: Include <stdbool.h>.
10874 * nss/makedb.c: Likewise.
10875 * stdio-common/_i18n_number.h: Likewise.
10876 * argp/argp-help.c: Likewise.
10877 * posix/wordexp.c: Likewise.
10878 * sysdeps/posix/spawni.c: Likewise.
10879 * nss/nss_files/files-initgroups.c: Likewise.
10880 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10881 * nss/nss_files/files-initgroups.c: Likewise.
10882 * nss/nss_db/db-netgrp.c: Likewise.
10883 * nss/nss_db/db-initgroups.c: Likewise.
10884 * io/fchmodat.c: Include <sys/stat.h>.
10885
10886 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10887 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10888
10889 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10890 [HAVE_MMAP].
10891
10892 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10893 Add multiple inclusion protection.
10894
e5abc686
DM
108952012-07-27 David S. Miller <davem@davemloft.net>
10896
10897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10898
815e6fa3
GB
108992012-07-27 Gary Benson <gbenson@redhat.com>
10900
10901 [BZ #14298]
10902 * elf/rtld.c: Include <stap-probe.h>.
10903 (dl_main): Added static probes "init_start" and "init_complete".
10904 * elf/dl-load.c: Include <stap-probe.h>.
10905 (lose): Take new parameter "nsid".
10906 Added static probe "map_failed".
10907 (_dl_map_object_from_fd): Pass namespace id to lose.
10908 Added static probe "map_start".
10909 (open_verify): Pass namespace id to lose.
10910 * elf/dl-open.c: Include <stap-probe.h>.
10911 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10912 and "reloc_complete".
10913 * elf/dl-close.c: Include <stap-probe.h>.
10914 (_dl_close_worker): Added static probes "unmap_start" and
10915 "unmap_complete".
10916 * elf/rtld-debugger-interface.txt: New file documenting the above.
10917
9f98c16c
RM
109182012-07-26 Roland McGrath <roland@hack.frob.com>
10919
10920 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10921 rather than a string variable.
10922 * sunrpc/rpc_main.c (h_output): Likewise.
10923 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10924
f3c22df3
PT
109252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10926
10927 * inet/check_native.c: New file.
10928
3129cfc6
JM
109292012-07-26 Joseph Myers <joseph@codesourcery.com>
10930
da865e95
JM
10931 [BZ #13629]
10932 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10933 if larger part has absolute value 1.0.
10934 * math/s_clog10.c (__clog10): Likewise.
10935 * math/s_clog10f.c (__clog10f): Likewise.
10936 * math/s_clog10l.c (__clog10l): Likewise.
10937 * math/s_clogf.c (__clogf): Likewise.
10938 * math/s_clogl.c (__clogl): Likewise.
10939 * math/libm-test.inc (clog_test): Add more tests.
10940 (clog10_test): Likewise.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943
3129cfc6
JM
10944 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10945 (pltexit): Likewise.
10946 (La_regs): Likewise.
10947 (La_retval): Likewise.
10948 (int_retval): Likewise.
10949 Update #error for removed macros to refer only to definitions in
10950 tst-audit.h.
10951 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10952 macro.
10953 (pltexit): Likewise.
10954 (La_regs): Likewise.
10955 (La_retval): Likewise.
10956 (int_retval): Likewise.
10957 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10958 macro.
10959 (pltexit): Likewise.
10960 (La_regs): Likewise.
10961 (La_retval): Likewise.
10962 (int_retval): Likewise.
10963 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10964 macro.
10965 (pltexit): Likewise.
10966 (La_regs): Likewise.
10967 (La_retval): Likewise.
10968 (int_retval): Likewise.
10969 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10970 macro.
10971 (pltexit): Likewise.
10972 (La_regs): Likewise.
10973 (La_retval): Likewise.
10974 (int_retval): Likewise.
10975 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10976 macro.
10977 (pltexit): Likewise.
10978 (La_regs): Likewise.
10979 (La_retval): Likewise.
10980 (int_retval): Likewise.
10981 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10982 macro.
10983 (pltexit): Likewise.
10984 (La_regs): Likewise.
10985 (La_retval): Likewise.
10986 (int_retval): Likewise.
10987 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10988 macro definitions in tst-audit.h.
10989 * sysdeps/i386/tst-audit.h: New file.
10990 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10991 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10992 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10993 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10994 * sysdeps/sh/tst-audit.h: Likewise.
10995 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10996 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10997 * sysdeps/x86_64/tst-audit.h: Likewise.
10998
bfc07087
AJ
109992012-07-26 Andreas Jaeger <aj@suse.de>
11000
b1b2aaf8
AJ
11001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11002 ptrace.
11003
11004 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11005 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11006 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11007 PTRACE_O_MASK.
11008 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11009 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11011
bfc07087
AJ
11012 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11013 value.
11014
11015 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11016 _sigsys.
11017 (si_call_addr, si_syscall, si_arch): Define new macro.
11018 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11019 _sigsys.
11020 (si_call_addr, si_syscall, si_arch): Define new marcro.
11021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11022 _sigsys.
11023 (si_call_addr, si_syscall, si_arch): Define new macro.
11024 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11025 _sigsys.
11026 (si_call_addr, si_syscall, si_arch): Define new macro.
11027
89b4b02f
JM
110282012-07-25 Joseph Myers <joseph@codesourcery.com>
11029
11030 [BZ #13717]
11031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11032 Change to 2.4.21 where previously 2.4.1.
11033 * sysdeps/unix/sysv/linux/configure: Regenerated.
11034 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11035 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11036 Linux kernel version.
11037 (__ASSUME_STD_AUXV): Remove.
11038 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11039 kernel version.
11040 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11041 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11042 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11043 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11044 (__ASSUME_NETLINK_SUPPORT): Likewise.
11045 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11046 (__no_netlink_support): Remove conditional definition.
11047 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11048 Remove.
11049 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11050 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11051 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11052 (if_nameindex_ioctl): Remove.
11053 (if_nameindex_netlink): Do not handle __no_netlink_support.
11054 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11055 code.
11056 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11057 Remove conditional code.
11058 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11059 code.
11060 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11061 unconditional.
11062 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11063 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11064 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11065 Remove.
11066 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11067 [!__ASSUME_STD_AUXV]: Remove conditional code.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11069 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11070 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11072 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11073 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11074 code.
11075 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11077 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11078 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11079 conditional code.
11080 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11082 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11083 code.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11085 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11086 conditional code.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11088 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11089 code unconditional.
11090 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11091 conditional code.
11092 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11093 unconditional.
11094 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11095 conditional code.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11097 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11098 unconditional.
11099 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11100 conditional code.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11102 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11103 code unconditional.
11104 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11105 conditional code.
11106 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11107 unconditional.
11108 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11109 conditional code.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11111 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11112 code unconditional.
11113 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11114 conditional code.
11115 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11116 unconditional.
11117 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11118 conditional code.
11119
842a39cd
AS
111202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11121
11122 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11123 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11124 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11127 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11128 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11129 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11130 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11131 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11132 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11133 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11134 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11135 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11136 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11137 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11138 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11139 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11140 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11142 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11145
84b3fd84
FW
111462012-07-25 Florian Weimer <fweimer@redhat.com>
11147
11148 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11149 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11150 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11151 Introduce __libc_secure_getenv.
0c7936d5
FW
11152 * stdlib/Versions (2.17): Add secure_getenv
11153 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11154 * stdlib/secure-getenv.c: Rename __secure_getenv to
11155 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11156 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11157 * stdlib/tst-secure-getenv.c: New.
11158 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11159 * manual/startup.texi (Environment Access): Document
11160 secure_getenv.
84b3fd84
FW
11161 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11162 __libc_secure_getenv.
11163 * inet/ruserpass.c (ruserpass): Likewise.
11164 * malloc/mtrace.c (mtrace): Likewise.
11165 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11166 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11167 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11168 * sysdeps/posix/tempname.c: Likewise. Evaluate
11169 HAVE_SECURE_GETENV.
11170 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11171 __secure_getenv to __libc_secure_getenv.
84b3fd84 11172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11174 Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11176 Likewise.
11177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11184
56e49b71
JM
111852012-07-25 Joseph Myers <joseph@codesourcery.com>
11186
11187 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11188 (struct La_i86_retval): Likewise.
11189 (struct La_x86_64_regs): Likewise.
11190 (struct La_x86_64_retval): Likewise.
11191 (struct La_x32_regs): Likewise.
11192 (struct La_x32_retval): Likewise.
11193 (struct La_ppc32_regs): Likewise.
11194 (struct La_ppc32_retval): Likewise.
11195 (struct La_ppc64_regs): Likewise.
11196 (struct La_ppc64_retval): Likewise.
11197 (struct La_sh_regs): Likewise.
11198 (struct La_sh_retval): Likewise.
11199 (struct La_s390_32_regs): Likewise.
11200 (struct La_s390_32_retval): Likewise.
11201 (struct La_s390_64_regs): Likewise.
11202 (struct La_s390_64_retval): Likewise.
11203 (struct La_sparc32_regs): Likewise.
11204 (struct La_sparc32_retval): Likewise.
11205 (struct La_sparc64_regs): Likewise.
11206 (struct La_sparc64_retval): Likewise.
11207 (struct audit_ifaces): Remove architecture-specific pltenter and
11208 pltexit members.
11209 * sysdeps/i386/ldsodefs.h: New file.
11210 * sysdeps/powerpc/ldsodefs.h: Likewise.
11211 * sysdeps/s390/ldsodefs.h: Likewise.
11212 * sysdeps/sh/ldsodefs.h: Likewise.
11213 * sysdeps/sparc/ldsodefs.h: Likewise.
11214 * sysdeps/x86_64/ldsodefs.h: Likewise.
11215
354691b7
MP
112162012-07-25 Marek Polacek <polacek@redhat.com>
11217
11218 [BZ #6808]
11219 * math/libm-test.inc (yn_test): Add another test.
11220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11221 to ERANGE when the result is +-Inf.
11222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11223 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11224 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11225 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11226
bf9e2071
JM
112272012-07-24 Joseph Myers <joseph@codesourcery.com>
11228
11229 * conform/data/time.h-data (NULL): Use macro-constant. Require
11230 equal to 0.
11231 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11232 clock_t.
11233 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11234
57633811
TS
112352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11236
11237 * configure.in <sysdeps resolving>: Correct printing
11238 Implies_before.
11239 * configure: Regenerate.
11240
c23c33b0
TS
112412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11242
11243 * math/w_ilogb.c: Include <limits.h>.
11244 * math/w_ilogbl.c: Likewise.
11245
b5982523
JM
112462012-07-20 Joseph Myers <joseph@codesourcery.com>
11247
11248 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11249 va_copy. Document allowing for unavailable va_copy only as
11250 pre-C99 compatibility.
11251 * manual/string.texi (Copying and Concatenation): Use va_copy
11252 instead of __va_copy in concat example.
11253
ac4ea442
PT
112542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11255
11256 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11257 (__sendto): Use create_address_port. Initialize APORT and deallocate
11258 it if not null.
11259
f98eafbd
PT
11260 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11261 with O_NOLINK passed to __file_name_lookup.
11262
898c7aab
PT
11263 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11264 with O_NOLINK passed to __file_name_lookup.
11265
0ced335a
PT
11266 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11267 negative N or less than NGIDS.
11268
b3404dbd
PT
11269 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11270 type to string_t. Set ERANGE as errno and return it if NAME is not big
11271 enough. Use memcpy instead of strncpy.
11272
0f48659e
JM
112732012-07-20 Joseph Myers <joseph@codesourcery.com>
11274
11275 * elf/Makefile (check-data): Remove.
11276 (localplt.data): New vpath directive.
11277 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11278 instead of $(check-data).
11279 * scripts/data/localplt-generic.data: Move to ...
11280 * sysdeps/generic/localplt.data: ... here.
11281 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11282 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11283 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11285 ... here.
11286 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11288 ... here.
11289 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11291 ... here.
11292 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11294 ... here.
11295 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11297 ... here.
11298 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11300 ... here.
11301
d37cbdaa
AZ
113022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11303
11304 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11305 PPC32 and PPC64 files.
11306 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11307 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11308
46f85fc2
AK
113092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11310
11311 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11312 __makecontext_ret to ...
11313 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11314 ... here and call exit if uc_link is NULL. New file.
11315 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11316 __makecontext_ret.S.
11317 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11318 __makecontext_ret to ...
11319 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11320 ... here and call exit if uc_link is NULL. New file.
11321 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11322 __makecontext_ret.S.
11323
08f43f9b
AK
113242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11325
11326 * elf/elf.h (R_390_IRELATIVE): New definition.
11327 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11328 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11329 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11330 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11331 (elf_machine_lazy_rel): Likewise.
11332 * sysdeps/s390/dl-irel.h: New file.
11333 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11334 * sysdeps/s390/s390-64/memset.S: New asm code.
11335 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11336 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11337 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11338 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11339 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11340 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11342 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11343 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11344 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11345 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11346 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11347 * sysdeps/s390/s390-32/memset.S: New asm code.
11348 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11349
3b05db33
MP
113502012-07-17 Marek Polacek <polacek@redhat.com>
11351
11352 [BZ #14349]
11353 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11354 * sysdeps/s390/s390-64/configure.in: Likewise.
11355 * sysdeps/sparc/configure.in: Likewise.
11356 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11357 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11358 * sysdeps/i386/configure.in: Likewise.
11359 * sysdeps/x86_64/configure.in: Likewise.
11360 * sysdeps/sh/configure.in: Likewise.
11361 * sysdeps/s390/s390-32/configure: Regenerated.
11362 * sysdeps/s390/s390-64/configure: Likewise.
11363 * sysdeps/x86_64/configure: Likewise.
11364 * sysdeps/sh/configure: Likewise.
11365 * sysdeps/powerpc/powerpc64/configure: Likewise.
11366 * sysdeps/powerpc/powerpc32/configure: Likewise.
11367 * sysdeps/sparc/configure: Likwise.
11368 * sysdeps/i386/configure: Likewise.
11369
a66877c6
MP
11370 * elf/dl-open.c: Comment fixes.
11371
cfc82fd8
JM
113722012-07-17 Joseph Myers <joseph@codesourcery.com>
11373
bd29910a
JM
11374 * Makefile [CXX] (check-data): Remove.
11375 [CXX] (c++-types.data): New vpath directive.
11376 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11377 vpath. Do not allow for C++ type data being missing.
11378 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11379 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11380 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11381 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11382 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11383 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11384 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11386 ... here.
11387 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11389 ... here.
11390 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11392 ... here.
11393 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11395 ... here.
11396 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11398 ... here.
11399 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11401 ... here.
11402 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11404 ... here.
11405 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11407
cfc82fd8
JM
11408 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11409 definitions to architecture-specific files.
11410 (TLS_IE): Likewise.
11411 (TLS_LD): Likewise.
11412 (TLS_GD): Likewise.
11413 * sysdeps/i386/tls-macros.h: New file.
11414 * sysdeps/powerpc/tls-macros.h: Likewise.
11415 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11416 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11417 * sysdeps/sh/tls-macros.h: Likewise.
11418 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11419 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11420 * sysdeps/x86_64/tls-macros.h: Likewise.
11421
f7db3170
TS
114222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11423
07cbfc23
TS
11424 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11425 zero value for regular exit case.
11426
f7db3170
TS
11427 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11428 (__start_context): Preserve zero value for regular exit case.
11429
dc97c227
TS
114302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11431 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11432
11433 * manual/setjmp.texi (setcontext): Clarify normal process
11434 termination when uc_link is the null pointer.
11435 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11436 exit call.
11437
d0cd7d02
AS
114382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11439
11440 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11441 preprocessor. Test for each exception mask separately.
11442
dd318934
AJ
114432012-07-16 Andreas Jaeger <aj@suse.de>
11444
11445 * po/ru.po: Update from translation team.
11446
8048311a
JM
114472012-07-15 Joseph Myers <joseph@codesourcery.com>
11448
11449 * conform/data/string.h-data (NULL): Use macro-constant. Require
11450 equal to 0.
11451 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11452 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11453 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11454 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11456
b637d46e
AJ
114572012-07-13 Andreas Jaeger <aj@suse.de>
11458
11459 * po/fr.po: Update from translation team.
11460
541428fe
MP
114612012-07-12 Marek Polacek <polacek@redhat.com>
11462
11463 [BZ #14173]
11464 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11466 loop condition.
11467
ec332e94
JM
114682012-07-12 Joseph Myers <joseph@codesourcery.com>
11469
11470 [BZ #13717]
11471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11472 Change to 2.4.1 where previously 2.4.0.
11473 * sysdeps/unix/sysv/linux/configure: Regenerated.
11474 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11475 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11476 version.
11477 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11478 (__ASSUME_AT_CLKTCK): Remove.
11479 (__ASSUME_AT_PAGESIZE): Likewise.
11480 (__ASSUME_AT_XID): Likewise.
11481 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11482 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11483 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11484 unconditionally.
11485 (HAVE_AUX_PAGESIZE): Likewise.
11486 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11487 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11488 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11489
7b6e99be
JB
114902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11491
11492 [BZ #14307]
11493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11494 the temporary buffer used to invoke __gethostbyname2_r,
11495 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11496 host_data / struct gaih_addrtuple.
11497 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11498 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11499 header file nss/nsswitch.h.
11500 * nss/nsswitch.h (global scope): Add definition of implementation
11501 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11502 resolv/nss_dns/dns-host.c).
11503
608404eb
AJ
115042012-07-11 Andreas Jaeger <aj@suse.de>
11505
11506 * po/fr.po: Update from translation team.
11507
71220aca
AJ
11508 * po/sv.po: Update from translation team
11509 * po/fr.po: Another update from translation team.
11510
28cfe843
AZ
115112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512
11513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11514 for subnormals or multiply small sinh result by itself.
11515 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11517
6b90f981
DM
115182012-07-11 David S. Miller <davem@davemloft.net>
11519
11520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11521
c6825772
AS
115222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11523
11524 [BZ #14347]
11525 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11526 (INTERNAL_MARK): Shift it here.
11527
7b8e0d49
MP
115282012-07-10 Marek Polacek <polacek@redhat.com>
11529
11530 [BZ #14151]
11531 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11532 libc_cv_asm_global_directive with .globl.
11533 * configure: Regenerated.
11534 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11535 with .globl.
11536 * sysdeps/i386/configure: Regenerated.
11537 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11538 with .globl.
11539 * sysdeps/x86_64/configure: Regenerated.
11540 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11541 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11542 * elf/tst-unique2mod2.c: Likewise.
11543 * elf/tst-unique2mod1.c: Likewise.
11544 * elf/tst-unique1mod2.c: Likewise.
11545 * elf/tst-unique1mod1.c: Likewise.
11546 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11547 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11549 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11550 * sysdeps/mach/sysdep.h: Likewise.
11551 * sysdeps/i386/sysdep.h: Likewise.
11552 * sysdeps/i386/i386-mcount.S: Likewise.
11553 * sysdeps/x86_64/_mcount.S: Likewise.
11554 * sysdeps/x86_64/sysdep.h: Likewise.
11555 * sysdeps/sh/_mcount.S: Likewise.
11556 * sysdeps/sh/sysdep.h: Likewise.
11557 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11558 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11559 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11561 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11562 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11563 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11564 * locale/localeinfo.h: Likewise.
11565 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11566 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11567
6c55cda3
RM
115682012-07-09 Roland McGrath <roland@hack.frob.com>
11569
11570 [BZ #14336]
11571 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11572 system".
11573 * manual/message.texi (The Uniforum approach): Likewise.
11574 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11575 (glibc iconv Implementation): Likewise.
11576
638a572e
JM
115772012-07-09 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #14337]
11580 * math/s_clog.c (__clog): Avoid scaling a value down where that
11581 could result in underflow.
11582 * math/s_clog10.c (__clog10): Likewise.
11583 * math/s_clog10f.c (__clog10f): Likewise.
11584 * math/s_clog10l.c (__clog10l): Likewise.
11585 * math/s_clogf.c (__clogf): Likewise.
11586 * math/s_clogl.c (__clogl): Likewise.
11587 * math/libm-test.inc (clog_test): Add more tests.
11588 (clog10_test): Likewise.
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11591
261f4859
AS
115922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11593
0abaf3e4
AS
11594 [BZ #14283]
11595 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11596 by 7 not 8 to examine high bit of fractional part.
11597
261f4859
AS
11598 [BZ #14042]
11599 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11600 for call to __mcount_internal.
11601 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11602 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11603 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11604
f17ac40d
JM
116052012-07-06 Joseph Myers <joseph@codesourcery.com>
11606
9ad63c23
JM
11607 [BZ #14154]
11608 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11609 approximation for values within 0x1p-13f of an odd multiple of
11610 pi/4.
11611 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11612 exception. Add more tests.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614
f17ac40d
JM
11615 [BZ #6778]
11616 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11617 inputs and return -1 for them. Do not check for +Inf in case not
11618 reachable for +Inf.
11619 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11620 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11622 and return -1 for them. Do not check for +Inf in case not
11623 reachable for +Inf.
11624 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11625 define.
11626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11627 and return -1 for them. Do not check for +Inf in case not
11628 reachable for +Inf.
11629 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11630 spurious underflow.
11631 * sysdeps/i386/fpu/libm-test-ulps: Update.
11632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11633
fb21f89b
MF
116342012-07-06 Mike Frysinger <vapier@gentoo.org>
11635
11636 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11637
cdfe2c5e
JM
116382012-07-05 Joseph Myers <joseph@codesourcery.com>
11639
11640 [BZ #14157]
11641 [BZ #14331]
11642 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11643 could result in spurious underflow. Scale down values above
11644 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11645 * math/s_csqrtf.c (__csqrtf): Likewise.
11646 * math/s_csqrtl.c (__csqrtl): Likewise.
11647 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11648 spurious underflow.
11649 * sysdeps/i386/fpu/libm-test-ulps: Update.
11650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11651
70d35b67
AS
116522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11653
704bc459
AS
11654 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11655 xopen-msg.sed.
11656 * catgets/xopen-msg.awk: New file.
11657 * catgets/xopen-msg.sed: Removed.
11658
70d35b67
AS
11659 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11660 po2text.sed.
11661 * intl/po2test.awk: New file.
11662 * intl/po2test.sed: Removed.
11663
ca61cf32
JM
116642012-07-04 Joseph Myers <joseph@codesourcery.com>
11665
11666 [BZ #14328]
11667 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11668 or multiply small sinh result by itself.
11669 * math/s_ctanf.c (__ctanf): Likewise.
11670 * math/s_ctanh.c (__ctanh): Likewise.
11671 * math/s_ctanhf.c (__ctanhf): Likewise.
11672 * math/s_ctanhl.c (__ctanhl): Likewise.
11673 * math/s_ctanl.c (__ctanl): Likewise.
11674 * math/libm-test.inc (ctan_test_tonearest): New function.
11675 (ctan_test_towardzero): Likewise.
11676 (ctan_test_downward): Likewise.
11677 (ctan_test_upward): Likewise.
11678 (ctanh_test_tonearest): Likewise.
11679 (ctanh_test_towardzero): Likewise.
11680 (ctanh_test_downward): Likewise.
11681 (ctanh_test_upward): Likewise.
11682 (main): Call these new functions.
11683 * sysdeps/i386/fpu/libm-test-ulps: Update.
11684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11685
ca48a46a
MF
116862012-07-03 Mike Frysinger <vapier@gentoo.org>
11687
11688 * .gitignore: Delete /ports entry.
11689
9d63d37d
AJ
116902012-07-03 Andreas Jaeger <aj@suse.de>
11691
11692 * po/bg.po: Update from translation team.
11693 * po/cs.po: Likewise.
11694 * po/de.po: Likewise.
11695 * po/hr.po: Likewise.
11696 * po/nl.pl: Likewise.
11697 * po/pl.po: Likewise.
11698 * po/vi.po: Likewise.
11699
370ca3d2
JM
117002012-07-03 Joseph Myers <joseph@codesourcery.com>
11701
95f5a9a8
JM
11702 * Makeconfig [!+link] (+link-before-libc): New variable.
11703 [!+link] (+link-after-libc): Likewise.
11704 [!+link] (+link-tests): Likewise.
11705 [!+link] (+link): Define in terms of $(+link-before-libc) and
11706 $(+link-after-libc).
11707 [!+link-static] (+link-static-before-libc): New variable.
11708 [!+link-static] (+link-static-after-libc): Likewise.
11709 [!+link-static] (+link-static-tests): Likewise.
11710 [!+link-static] (+link-static): Define in terms of
11711 $(+link-static-before-libc) and $(+link-static-after-libc).
11712 [build-shared] (link-libc-before-gnulib): New variable.
11713 [build-shared] (link-libc-tests): Likewise.
11714 [build-shared] (link-libc): Define in terms of
11715 $(link-libc-before-gnulib).
11716 [!build-shared] (link-libc-tests): New variable.
11717 (link-libc-static-tests): New variable.
11718 [!gnulib] (gnulib-arch): New variable.
11719 [!gnulib] (gnulib-tests): Likewise.
11720 [!gnulib] (static-gnulib-arch): Likewise.
11721 [!gnulib] (static-gnulib-tests): Likewise.
11722 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11723 Define with "=" instead of ":=".
11724 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11725 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11726 * Rules (binaries-all-notests): New variable.
11727 (binaries-all-tests): Likewise.
11728 (binaries-static-notests): Likewise.
11729 (binaries-static-tests): Likewise.
11730 (binaries-all): Define using $(binaries-all-notests) and
11731 $(binaries-all-tests).
11732 (binaries-static): Define using $(binaries-static-notests) and
11733 $(binaries-static-tests).
11734 (binaries-shared-tests): New variable.
11735 (binaries-shared-notests): Likewise.
11736 (binaries-shared): Remove variable.
11737 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11738 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11739 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11740 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11741 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11742 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11743 * elf/Makefile (sln-modules): New variable.
11744 (extra-objs): Add $(sln-modules:=.o).
11745 (ldconfig-modules): Add static-stubs.
11746 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11747 * elf/static-stubs.c: New file.
11748
7a845b2c
JM
11749 [BZ #14283]
11750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11751 by 7 not 8 to examine high bit of fractional part. Use volatile
11752 variables when splitting into final array of floats if
11753 __FLT_EVAL_METHOD__ != 0.
11754 * math/libm-test.inc (cos_test): Add another test.
11755 (sin_test): Likewise.
11756 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757
e2283f38
JM
11758 [BZ #14273]
11759 * math/libm-test.inc (cosh_test): Add more tests.
11760
370ca3d2
JM
11761 * version.h (RELEASE): Set to "development".
11762 (VERSION): Set to "2.16.90".
11763
ee9247c3
CD
117642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11765
11766 * NEWS: Update copyright. Remove last-updated date.
11767 Mention math library bug fixes and timezone data changes.
11768 * README: Mention GNU/Hurd, x32, and HPPA support status.
11769
4648c381
TS
117702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11771
11772 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11773
aac78a43
AJ
117742012-06-27 Andreas Jaeger <aj@suse.de>
11775
11776 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11777
ed3dbfad
AJ
117782012-06-25 Andreas Jaeger <aj@suse.de>
11779
11780 * sysdeps/s390/fpu/libm-test-ulps: Update.
11781
4d0ee855
AS
117822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11783 Thomas Schwinge <thomas@codesourcery.com>
11784
11785 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11786 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11788 fanotify_mark.
11789
af1bce34
TS
117902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11791
a9fa33ba
TS
11792 * sysdeps/mach/start.c: Remove file.
11793 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11794 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11795 * sysdeps/sh/init-first.c: Likewise.
11796
58f902b8
TS
11797 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11798 registers for frame unwinding purposes, add CFI directives.
11799 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11800 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11801 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11802 Likewise.
11803
1518f58b
TS
11804 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11805 __fortify_fail returning.
11806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11807
db9b5059
TS
11808 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11809 sysdeps/sh/____longjmp_chk.S.
11810 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11811 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11812 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11813 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11814
967705fe
TS
11815 * sysdeps/sh/abort-instr.h: New file.
11816 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11817 process in case exit returns.
11818
a9def8c4
TS
11819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11820 initialize the GOT register before use.
11821
2a649725
TS
11822 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11823 calculation of ARGC > 4.
11824
af1bce34
TS
11825 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11826 meaningful names to some local labels.
11827
d230f50a
KK
118282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11829 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11830
11831 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11832 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11833 (__arch_compare_and_exchange_val_16_acq): Likewise.
11834 (__arch_compare_and_exchange_val_32_acq): Likewise.
11835 (atomic_exchange_and_add): Fix gUSA sequence.
11836 (atomic_add): Likewise.
11837 (atomic_add_negative): Likewise.
11838 (atomic_add_zero): Likewise.
11839 (atomic_bit_test_set): Likewise.
11840
0479b305
AS
118412012-06-22 Andreas Schwab <schwab@redhat.com>
11842
11843 [BZ #13579]
11844 * include/link.h (struct link_map): Add l_free_initfini.
11845 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11846 l_initfini.
11847 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11848 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11849 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11850 set.
11851
0e3933b9
CD
118522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11853
11854 * configure.in: Use AC_LANG_SOURCE.
11855 * configure: Regenerate.
11856
4248b1b1
RM
118572012-06-22 Roland McGrath <roland@hack.frob.com>
11858
11859 * configure.in (libc_cv_localstatedir): New substituted variable.
11860 * configure: Regenerated.
11861 * config.make.in (localstatedir): New variable, substituted from
11862 libc_cv_localstatedir.
11863 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11864 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11865 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11866 * sysdeps/gnu/configure: Regenerated.
11867
006dd861
JL
118682012-06-21 Jeff Law <law@redhat.com>
11869
11870 [BZ #14277]
11871 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11872 free. Simplify list management for _LIBC case.
11873
79662d42
JM
118742012-06-21 Joseph Myers <joseph@codesourcery.com>
11875
b7abb4bf
JM
11876 [BZ #14273]
11877 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11878 Clear sign bit of 64-bit integer value before comparing against
11879 overflow value.
11880
79662d42
JM
11881 * sysdeps/mach/configure: Regenerated.
11882
1f150908
L
118832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 [BZ #14278]
11886 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11887
28363bbf
JL
118882012-06-21 Jeff Law <law@redhat.com>
11889
11890 [BZ #13882]
11891 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11892 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11893 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11894 * elf/dl-open.c (dl_open_worker): Likewise.
11895
09615db4
CD
118962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11897
11898 * scripts/list-sources.sh: Scan PORTS for translations.
11899 * po/libc.pot: Regenerated.
11900
2174c6dd
AJ
119012012-06-21 Andreas Jaeger <aj@suse.de>
11902
11903 [BZ #12194]
11904 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11905 warning.
11906 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11907 * bits/byteswap-16.h (__bswap_16): Likewise.
11908 * bits/byteswap.h (__bswap_constant_16): Likewise.
11909
3ee947b1
L
119102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 [BZ #14117]
a2f34833
L
11913 * sysdeps/i386/fpu_control.h: Removed.
11914 * sysdeps/x86_64/fpu_control.h: Moved to ...
11915 * sysdeps/x86/fpu_control.h: Here.
11916
3ee947b1
L
11917 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11918 (_FPU_SETCW): Likewise.
11919
ed1825f8
L
119202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11921
25f1282a
L
11922 [BZ #14117]
11923 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11924 * sysdeps/x86/fpu/bits/mathinline.h: This.
11925 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11926
ed1825f8
L
11927 [BZ #14050]
11928 [BZ #14117]
11929 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11930 functions if __x86_64__ is defined.
11931
36d54b74
CLT
119322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11933
11934 * string/endian.h: Add !__ASSEMBLER__ condition for including
11935 conversion interfaces.
11936
10285c21
JM
119372012-06-15 Joseph Myers <joseph@codesourcery.com>
11938
11939 [BZ #14241]
11940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11941 of ABS(x) in calculating zero to negative powers other than odd
11942 integers.
11943 * math/libm-test.inc (pow_test): Add more tests.
11944
06c5abbd
AJ
119452012-06-15 Andreas Jaeger <aj@suse.de>
11946
11947 * manual/contrib.texi (Contributors): Update entry of Liubov
11948 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11949 Machado Filho.
11950
a3aeac40
CH
119512012-06-15 Cyril Hrubis <metan@ucw.cz>
11952
11953 * string/string.h: Add __wur to GNU version of strerror_r.
11954
49bdf4c1
L
119552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 [BZ #14229]
11958 * string/Makefile (tests): Add tst-strtok_r.
11959 * string/tst-strtok_r.c: New file.
11960 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11961 RAX_LP/RDX_LP on SAVE_PTR.
11962
834f9b8d
RM
119632012-06-14 Roland McGrath <roland@hack.frob.com>
11964
11965 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11966
75fa1921
JM
119672012-06-14 Joseph Myers <joseph@codesourcery.com>
11968
11969 * libm_test.inc (csqrt_test): Allow more spurious underflow
11970 exceptions.
11971 (j0_test): Likewise.
11972 (j1_test): Likewise.
11973 (y0_test): Likewise.
11974 (y1_test): Likewise.
11975
771766df
CD
119762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11977
11978 * po/Makefile (libc.pot): Use UTF-8 charset.
11979
ceb9e56b
PP
119802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11981
11982 [BZ #14210]
11983 Suppress sign-conversion warning from FD_SET.
11984 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11985 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11986 not unsigned long int.
11987 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11988
ddb28975
L
119892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 [BZ #14050]
11992 [BZ #14117]
11993 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11994 __extern_always_inline instead of __extern_inline.
11995 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11996 (__signbit): Likewise.
11997 (__signbitl): Support C++ namespace.
11998 (lrintf): New inline function.
11999 (lrint): Likewise.
12000 (llrintf): Likewise.
12001 (llrint): Likewise.
12002 (fmaxf): Likewise.
12003 (fmax): Likewise.
12004 (fminf): Likewise.
12005 (fmin): Likewise.
12006 (rint): Likewise.
12007 (rintf): Likewise.
12008 (ceil): Likewise.
12009 (ceilf): Likewise.
12010 (floor): Likewise.
12011 (floorf): Likewise.
12012 (nearbyint): Likewise.
12013 (nearbyintf): Likewise.
12014
d7b4fb26
TS
120152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12016
12017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12018 non-default versions.
12019
eb55f5c2
RM
120202012-06-11 Roland McGrath <roland@hack.frob.com>
12021
12022 [BZ #14218]
12023 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12024
366af02c
TS
120252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12026
99ff6e5c
TS
12027 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12028 (FE_UPWARD, FE_DOWNWARD): Don't define.
12029 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12030 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12031
366af02c
TS
12032 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12033 reading it.
12034 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12035 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12036
793ea851
KK
120372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12038
12039 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12041 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12042 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12043
a728a38f
L
120442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12045
12046 [BZ #14117]
c08010c7
L
12047 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12048 * sysdeps/i386/fpu/Implies: New file.
12049 * sysdeps/x86_64/fpu/Implies: Likewise.
12050 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12051 * sysdeps/x86/fpu/bits/fenv.h: This.
12052
a728a38f
L
12053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12054 __SSE_MATH__.
12055
6e230d11
SP
120562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12057
12058 [BZ #14134]
12059 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12060 character 0xffff that matches the last element of the
12061 conversion table.
12062
1b671feb
AZ
120632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12064
12065 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12066 fmodl commit.
12067
6043738b
AZ
120682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069
12070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12071 values higher than 25.6283.
12072
34ae0b32
AZ
120732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12074
12075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12076 subnormal exponent extraction and add some __builtin_expect.
12077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12078 Fix for subnormal mantissa calculation.
12079
1214ec8f
MF
120802012-06-04 Mike Frysinger <vapier@gentoo.org>
12081
12082 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12083 cpu2 is -1 and errno is not ENOSYS.
12084
f3d1f93c
L
120852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12086
12087 [BZ #14117]
0e4a3cd7
L
12088 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12089 * sysdeps/x86/bits/string.h: This.
12090 * sysdeps/x86_64/bits/string.h: Removed.
12091
6704c645
L
12092 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12093 if not compiling for x86-64, but compiling for >= i486.
12094
48495318
L
12095 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12096 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12097
14adcbfc
L
12098 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12099 New macro from Linux kernel 3.4.0.
12100 (FP_XSTATE_MAGIC2): Likewise.
12101 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12102 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12103 (struct _fpx_sw_bytes): New struct.
12104 (struct _xsave_hdr): Likewise.
12105 (struct _ymmh_state): Likewise.
12106 (struct _xstate): Likewise.
12107
68e408ab
L
12108 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12109 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12110 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12111 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12112 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12113 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12114
f3d1f93c
L
12115 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12116 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12117 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12118 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12119 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12120 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12121
d9dc34cd
TMQMF
121222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12123
12124 [BZ #13743]
12125 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12126 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12127 (sysdep_headers): Include sys/platform/ppc.h.
12128 * sysdeps/powerpc/test-gettimebase.c: Test for
12129 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12130 * manual/Makefile (appendices): Include platform.texi.
12131 * manual/contrib.texi (Contributors): Update @node pointers.
12132 * manual/maint.texi (Maintenance): Likewise.
12133 (Platform): New node.
12134 * manual/platform.texi: New file. Document the new features.
12135
4af3879c
SP
121362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12137 Jakub Jelinek <jakub@redhat.com>
12138
12139 [BZ #14188]
12140 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12141 where __builtin_expect is unavailable.
12142
2fd6ff13
DM
121432012-06-03 David S. Miller <davem@davemloft.net>
12144
12145 * stdlib/longlong.h: Updated from GCC.
12146
173f7220
AS
121472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 [BZ #14042]
12150 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12151 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12152 __mcount_internal.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12154 (GLIBC_2.16): Likewise.
12155
f34a1c6f
L
121562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12157
12158 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12159
88a4576f
JM
121602012-06-01 Joseph Myers <joseph@codesourcery.com>
12161
ea32bcdd
JM
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12163 (default-abi): New variable.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12165 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12166 variable.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12168 Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12170 Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12172 Likewise.
12173
88a4576f
JM
12174 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12175 definition. Document in comment.
12176
402fe938
DM
121772012-06-01 David S. Miller <davem@davemloft.net>
12178
12179 * stdlib/longlong.h: Updated from GCC.
12180
3553723f
L
121812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 [BZ #14117]
3bd872c4
L
12184 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12185 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12186 sys/debugreg.h sys/io.h here.
12187 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12188 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12189 sys/io.h.
12190 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12191 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12192 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12193 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12194 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12195 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12196
3553723f
L
12197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12198 Define only if __x86_64__ is defined.
12199
4842e4fe
JM
122002012-06-01 Joseph Myers <joseph@codesourcery.com>
12201
c5bfe3d5
JM
12202 [BZ #14048]
12203 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12204 Use int64_t for variable i.
12205 * math/libm-test.inc (fmod_test): Add more tests.
12206
4842e4fe
JM
12207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12208 z computation is not scheduled after fetestexcept.
12209 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12210 Use math_force_eval instead of asm to ensure calculation scheduled
12211 before exception test.
12212 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12213 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12214
efb73488
AJ
122152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12216
12217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12218 computation is not scheduled after fetestexcept.
12219
29bcce7c
L
122202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12221
12222 [BZ #14117]
12223 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12224 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12225
73a68f94
AZ
122262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12227
12228 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12229 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12230
67b6df78
L
122312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12232
edf2933a 12233 [BZ #14117]
ebc64a18
L
12234 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12235 <bits/wordsize.h>.
12236 (__WCHAR_MIN): Support __WORDSIZE == 64.
12237 (__WCHAR_MAX): Likewise.
12238
edf2933a
L
12239 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12241
57c6cf40
L
12242 [BZ #14183]
12243 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12244 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12245
67b6df78 12246 [BZ #14117]
8eb6281e
L
12247 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12248 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12249
aac639f4
L
12250 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12251 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12252
67b6df78
L
12253 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12254 Defined to 1 if __x86_64__ isn't defined.
12255 (_STAT_VER_LINUX_OLD): New.
12256 (st_atime): Remove duplicate.
12257 (st_mtime): Likewise.
12258 (st_ctime): Likewise.
12259
1c2cfe81
DM
122602012-05-31 David S. Miller <davem@davemloft.net>
12261
12262 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12263 entries.
12264
5be8418c
AS
122652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12266
e7725326
AS
12267 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12268 gen-libm-test.pl.
12269
5be8418c
AS
12270 [BZ #14132]
12271 * elf/dl-reloc.c: Include <_itoa.h>.
12272 (_dl_reloc_bad_type): Remove use of INTUSE.
12273 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12274 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12275 * stdio-common/psiginfo.c (psiginfo): Likewise.
12276 * stdio-common/psignal.c (psignal): Likewise.
12277 * string/strsignal.c (strsignal): Likewise.
12278 * include/signal.h (_sys_siglist): Declare hidden proto.
12279 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12280 INTVARDEF with libc_hidden_data_def.
12281 * stdio-common/itoa-udigits.c: Likewise.
12282 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12283 (_itoa_lower_digits_internal): Remove declaration.
12284 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12285 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12286 (_sys_sigabbrev_internal): Remove aliases.
12287 (_sys_siglist): Define hidden alias.
12288
507352f1
MT
122892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12290
12291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12292 bits/sysctl.h.
12293
42bbb1c3
L
122942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12295
12296 [BZ #14117]
6bd784b6
L
12297 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12298 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12299
8bca20f0
L
12300 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12301 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12302 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12303 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12305 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12306
f9e890a9
L
12307 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12308 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12310
471101a1
L
12311 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12312 with __addr.
12313 (insw): Likewise.
12314 (insl): Likewise.
12315 (outsb): Likewise.
12316 (outsw): Likewise.
12317 (outsl): Likewise.
12318
6451c862
L
12319 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12320 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12321 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12322
a254b8c9
L
12323 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12324 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12325 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12326 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12327 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12328 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12329
b8dfdd92
L
12330 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12332
578cd270
L
12333 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12334 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12335
de662f5f
L
12336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12338 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12339
25653439
L
12340 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12341 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12342 to ...
12343 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12344
6bad24a0
L
12345 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12346 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12347 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12348
42bbb1c3
L
12349 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12350 for x86-64.
12351 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12352
2d10d547
JM
123532012-05-31 Joseph Myers <joseph@codesourcery.com>
12354
12355 * math/math.h (M_El): Use two more decimal places.
12356 (M_LOG2El): Likewise.
12357 (M_LOG10El): Likewise.
12358 (M_LN2l): Likewise.
12359 (M_LN10l): Likewise.
12360 (M_PIl): Likewise.
12361 (M_PI_2l): Likewise.
12362 (M_PI_4l): Likewise.
12363 (M_1_PIl): Likewise.
12364 (M_2_PIl): Likewise.
12365 (M_2_SQRTPIl): Likewise.
12366 (M_SQRT2l): Likewise.
12367 (M_SQRT1_2l): Likewise.
12368
f230c29b
DM
123692012-05-31 David S. Miller <davem@davemloft.net>
12370
12371 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12372 values between float registers.
12373 * sysdeps/sparc/sparc64/memset.S: Likewise.
12374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12375
fed806c3
MF
123762012-05-31 Mike Frysinger <vapier@gentoo.org>
12377
12378 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12379 -D_FORTIFY_SOURCE=1.
12380 (CPPFLAGS-tst-longjmp_chk.c): Define.
12381 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12382 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12383 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12384 CFLAGS-tst-wchar-h.c.
12385
30917259
MP
123862012-05-31 Marek Polacek <polacek@redhat.com>
12387
12388 [BZ #14132]
12389 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12390 __endmntent_internal): Remove declaration.
12391 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12392 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12393 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12394
1c58d5dc
DM
123952012-05-30 David S. Miller <davem@davemloft.net>
12396
12397 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12398 (___Q_simulate_exceptions): Use real FP ops rather than writing
12399 into the %fsr.
12400 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12401 Likewise.
12402
7dc00e0d
L
124032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12404
12405 [BZ #14117]
0bd53985
L
12406 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12407 * sysdeps/x86/bits/xtitypes.h: This.
12408
3a257e66
L
12409 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12410 * sysdeps/x86/bits/wordsize.h: This.
12411
62f62904
L
12412 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12413 * sysdeps/x86/bits/huge_vall.h: This.
12414
404fe9d9
L
12415 * sysdeps/i386/bits/select.h: Removed.
12416 * sysdeps/x86_64/bits/select.h: Renamed to ...
12417 * sysdeps/x86/bits/select.h: This.
12418
d48d0446
L
12419 * sysdeps/i386/bits/setjmp.h: Removed.
12420 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12421 * sysdeps/x86/bits/setjmp.h: This.
12422
7dc00e0d
L
12423 * sysdeps/i386/bits/mathdef.h: Removed.
12424 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12425 * sysdeps/x86/bits/mathdef.h: This.
12426
03277f8f
AS
124272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12428
12429 [BZ #14132]
12430 * include/sys/socket.h (__connect_internal)
12431 (__libc_sa_len_internal): Remove declaration.
12432 (__connect, __libc_sa_len): Declare hidden_proto.
12433 (SA_LEN): Remove use of INTUSE.
12434 * socket/connect.c: Add libc_hidden_def.
12435 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12436 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12437 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12438 alias.
12439 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12441 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12442 of adding _internal alias.
12443
13764867
L
124442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12445
12446 [BZ #14117]
6bd97696
L
12447 * sysdeps/i386/bits/link.h: Removed.
12448 * sysdeps/i386/bits/linkmap.h: Likewise.
12449 * sysdeps/x86_64/bits/link.h: Renamed to ...
12450 * sysdeps/x86/bits/link.h: This.
12451 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12452 * sysdeps/x86/bits/linkmap.h: This.
12453
f726f0bb
L
12454 * sysdeps/i386/bits/endian.h: Removed.
12455 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12456 * sysdeps/x86/bits/endian.h: This.
12457
13764867
L
12458 * sysdeps/i386/bits/byteswap.h: Removed.
12459 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12460 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12461 * sysdeps/x86/bits/byteswap.h: This.
12462 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12463 * sysdeps/x86/bits/byteswap-16.h: This.
12464 * sysdeps/i386/Implies: Add x86.
12465 * sysdeps/x86_64/Implies: Likewise.
12466
ae251b0b
DM
124672012-05-30 David S. Miller <davem@davemloft.net>
12468
12469 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12470 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12471 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12472 (FP_TRAPPING_EXCEPTIONS): Define.
12473 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12474 (FP_TRAPPING_EXCEPTIONS): Define.
12475 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12476 subnormals only when inexact has been signalled or underflow
12477 exceptions are enabled.
12478 (_FP_PACK_CANONICAL): Likewise.
12479
d5c90867
L
124802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12481
12482 [BZ #14183]
12483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12484 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12485
63f1549e
RH
124862012-05-30 Richard Henderson <rth@twiddle.net>
12487
8d8f2279
RH
12488 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12489 with #ifndef NOT_IN_libc.
12490
63f1549e
RH
12491 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12492 marked to avoid plt entry.
12493
0ab0291b
L
124942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 [BZ #14112]
12497 * Makeconfig (default-abi): New macro.
12498 (abi-includes): Likewise.
12499 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12500 $(abi-$(default-abi)-lib-soname) for soname if defined.
12501 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12502 abi-variants.
12503 * Makefile (installed-stubs): Likewise.
12504 * include/stubs-biarch.h: Removed.
12505 * scripts/lib-names.awk: Only handle one library at a time.
12506 * scripts/soversions.awk: Remove WORDSIZE support.
12507 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12508 entries.
12509 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12510 Removed.
12511 (syscall-list-default-condition): Likewise.
12512 (syscall-list-default-condition): Likewise.
12513 (syscall-list-includes): Likewise.
12514 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12515 syscall-list-* with abi-*. Handle undefined abi-variants.
12516 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12517 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12518 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12521 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12522 Removed.
12523 (syscall-list-32-options): Likewise.
12524 (syscall-list-32-condition): Likewise.
12525 (syscall-list-64-options): Likewise.
12526 (syscall-list-64-condition): Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12528 macro.
12529 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12530 Renamed to ...
12531 (abi-*): This.
12532 (abi-64-ld-soname): New macro.
12533 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12534 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12535 Renamed to ...
12536 (abi-*): This.
12537 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12538 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12539
4da0431d
JM
125402012-05-30 Joseph Myers <joseph@codesourcery.com>
12541
3a85279c
JM
12542 * sysdeps/unix/sysv/linux/kernel-features.h
12543 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12544 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12545 include <kernel-features.h>.
12546 [!__NR_ftruncate64]: Remove conditional code.
12547 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12548 [__NR_ftruncate64]: Make code unconditional.
12549 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12550 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12551 include <kernel-features.h>.
12552 [!__NR_ftruncate64]: Remove conditional code.
12553 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12554 [__NR_ftruncate64]: Make code unconditional.
12555 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12557 include <kernel-features.h>.
12558 [!__NR_ftruncate64]: Remove conditional code.
12559 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12560 [__NR_ftruncate64]: Make code unconditional.
12561 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12563 include <kernel-features.h>.
12564 [!__NR_ftruncate64]: Remove conditional code.
12565 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12566 [__NR_ftruncate64]: Make code unconditional.
12567 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12568
4da0431d
JM
12569 * configure.in (libc_cv_fpie): Weaken to a compile test using
12570 LIBC_TRY_CC_OPTION.
12571 * configure: Regenerated.
12572
11ef492c
AK
125732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12574
12575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12579 Refreshed.
12580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12586 Refreshed.
12587
d66ef399
DM
125882012-05-27 David S. Miller <davem@davemloft.net>
12589
12590 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12591 (___Q_zero): New.
12592 (__Q_simulate_exceptions): Return void. Change to simulate
12593 exceptions by writing into the %fsr.
12594 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12595 (__Qp_handle_exceptions): Likewise.
12596 (numbers): Delete.
12597 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12598 __Qp_handle_exceptions.
12599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12600 __Qp_handle_exceptions.
12601 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12602 as unused and give dummy FP_RND_NEAREST initializer.
12603 (FP_INHIBIT_RESULTS): Define.
12604 (___Q_simulate_exceptions): Update declaration.
12605 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12606 formatting.
12607 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12608 as unused and give dummy FP_RND_NEAREST initializer.
12609 (__Qp_handle_exceptions): Update declaration.
12610 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12611 formatting.
12612
04fb54b5
TS
126132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12614
12615 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12616 the temporary FPU control word.
12617 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12618 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12620 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12621 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12622 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12623 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12624 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12625 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12626 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12627 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12628
3f99608f
KK
126292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12630
12631 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12632 fields.
12633
65a4de4e
CLT
126342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12635
12636 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12637 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12638 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12639 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12640 Likewise.
12641 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12642 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12643 Likewise.
12644
15749d40
UD
126452012-05-27 Ulrich Drepper <drepper@gmail.com>
12646
12647 * po/h.po: Update from translation team.
12648
25dbcb27
AS
126492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12650
3d3f8e55
AS
12651 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12652
25dbcb27
AS
12653 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12654 handling of denormals.
12655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12656 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12657 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12658 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12662 Likewise.
12663
7ad47a80 126642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12665
12666 [BZ #14152]
12667 * math/libm-test.inc (fma_test): Don't always expect underflow
12668 exception.
12669
9c6ea9fa
SP
126702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12671
12672 [BZ #12416]
12673 * elf/tst-execstack.c: Include stackinfo.h.
12674 (do_test): Adjust test case to ensure that pthread_getattr_np
12675 behaviour remains the same after marking stack executable.
12676
a8239222
JM
126772012-05-25 Joseph Myers <joseph@codesourcery.com>
12678
12679 * sysdeps/unix/sysv/linux/kernel-features.h
12680 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12681 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12682 kernel-features.h.
12683 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12684 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12685 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12686 kernel-features.h.
12687 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12688 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12689
918b5606
L
126902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12691
12692 * configure.in: Define the default includes to being none.
12693 * configure: Regenerated.
12694
3a097cc7
RM
126952012-05-25 Roland McGrath <roland@hack.frob.com>
12696
8422c9a5
RM
12697 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12698 * sysdeps/x86_64/setjmp.S: Likewise.
12699 * sysdeps/i386/bsd-setjmp.S: Likewise.
12700 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12701 * sysdeps/i386/setjmp.S: Likewise.
12702 * sysdeps/i386/__longjmp.S: Likewise.
12703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12704 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12705
3a097cc7
RM
12706 * include/stap-probe.h: New file.
12707 * configure.in: Handle --enable-systemtap.
12708 * configure: Regenerated.
12709 * config.h.in (USE_STAP_PROBE): New #undef.
12710 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12711 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12712 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12713
21708942
JM
127142012-05-25 Joseph Myers <joseph@codesourcery.com>
12715
12716 [BZ #13717]
12717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12718 to 2.4.0 where earlier.
12719 * sysdeps/unix/sysv/linux/configure: Regenerated.
12720 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12721 <kernel-features.h>.
12722 [__ASSUME_32BITUIDS]: Make code unconditional.
12723 [!__ASSUME_32BITUIDS]: Remove conditional code.
12724 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
12729 [__ASSUME_32BITUIDS]: Make code unconditional.
12730 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12731 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12732 <kernel-features.h>.
12733 [__ASSUME_32BITUIDS]: Make code unconditional.
12734 [!__ASSUME_32BITUIDS]: Remove conditional code.
12735 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12736 <kernel-features.h>.
12737 [__ASSUME_32BITUIDS]: Make code unconditional.
12738 [!__ASSUME_32BITUIDS]: Remove conditional code.
12739 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12740 <kernel-features.h>.
12741 [__ASSUME_32BITUIDS]: Make code unconditional.
12742 [!__ASSUME_32BITUIDS]: Remove conditional code.
12743 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12744 <kernel-features.h>.
12745 [__ASSUME_32BITUIDS]: Make code unconditional.
12746 [!__ASSUME_32BITUIDS]: Remove conditional code.
12747 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12748 <kernel-features.h>.
12749 [__ASSUME_32BITUIDS]: Make code unconditional.
12750 [!__ASSUME_32BITUIDS]: Remove conditional code.
12751 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12752 <kernel-features.h>.
12753 [__ASSUME_32BITUIDS]: Make code unconditional.
12754 [!__ASSUME_32BITUIDS]: Remove conditional code.
12755 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12756 <kernel-features.h>.
12757 [__ASSUME_32BITUIDS]: Make code unconditional.
12758 [!__ASSUME_32BITUIDS]: Remove conditional code.
12759 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12760 <kernel-features.h>.
12761 [__ASSUME_32BITUIDS]: Make code unconditional.
12762 [!__ASSUME_32BITUIDS]: Remove conditional code.
12763 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12764 <kernel-features.h>.
12765 [__ASSUME_32BITUIDS]: Make code unconditional.
12766 [!__ASSUME_32BITUIDS]: Remove conditional code.
12767 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12768 <kernel-features.h>.
12769 [__ASSUME_32BITUIDS]: Make code unconditional.
12770 [!__ASSUME_32BITUIDS]: Remove conditional code.
12771 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12772 <kernel-features.h>.
12773 [__NR_setresgid] (__setresgid): Do not declare.
12774 [__ASSUME_32BITUIDS]: Make code unconditional.
12775 [!__ASSUME_32BITUIDS]: Remove conditional code.
12776 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12777 <kernel-features.h>.
12778 [__NR_setresuid] (__setresuid): Do not declare.
12779 [__ASSUME_32BITUIDS]: Make code unconditional.
12780 [!__ASSUME_32BITUIDS]: Remove conditional code.
12781 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12782 <kernel-features.h>.
12783 [__ASSUME_32BITUIDS]: Make code unconditional.
12784 [!__ASSUME_32BITUIDS]: Remove conditional code.
12785 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12786 <kernel-features.h>.
12787 [__ASSUME_32BITUIDS]: Make code unconditional.
12788 [!__ASSUME_32BITUIDS]: Remove conditional code.
12789 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12790 <kernel-features.h>.
12791 [__ASSUME_32BITUIDS]: Make code unconditional.
12792 [!__ASSUME_32BITUIDS]: Remove conditional code.
12793 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12794 <kernel-features.h>.
12795 [__ASSUME_32BITUIDS]: Make code unconditional.
12796 [!__ASSUME_32BITUIDS]: Remove conditional code.
12797 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12798 <kernel-features.h>.
12799 [__ASSUME_32BITUIDS]: Make code unconditional.
12800 [!__ASSUME_32BITUIDS]: Remove conditional code.
12801 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12802 <kernel-features.h>.
12803 [__ASSUME_32BITUIDS]: Make code unconditional.
12804 [!__ASSUME_32BITUIDS]: Remove conditional code.
12805 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12806 <kernel-features.h>.
12807 [__ASSUME_32BITUIDS]: Make code unconditional.
12808 [!__ASSUME_32BITUIDS]: Remove conditional code.
12809 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12810 <kernel-features.h>.
12811 [__ASSUME_32BITUIDS]: Make code unconditional.
12812 [!__ASSUME_32BITUIDS]: Remove conditional code.
12813 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12814 <kernel-features.h>.
12815 [__ASSUME_32BITUIDS]: Make code unconditional.
12816 [!__ASSUME_32BITUIDS]: Remove conditional code.
12817 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12818 <kernel-features.h>.
12819 [__ASSUME_32BITUIDS]: Make code unconditional.
12820 [!__ASSUME_32BITUIDS]: Remove conditional code.
12821 * sysdeps/unix/sysv/linux/kernel-features.h
12822 (__ASSUME_SETRESUID_SYSCALL): Remove.
12823 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12824 (__ASSUME_32BITUIDS): Likewise.
12825 (__ASSUME_LDT_WORKS): Likewise.
12826 (__ASSUME_O_DIRECTORY): Likewise.
12827 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12828 architecture but not kernel version.
12829 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12830 (__ASSUME_MMAP2_SYSCALL): Likewise.
12831 (__ASSUME_STAT64_SYSCALL): Likewise.
12832 (__ASSUME_IPC64): Likewise.
12833 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12834 <kernel-features.h>.
12835 [__ASSUME_32BITUIDS]: Make code unconditional.
12836 [!__ASSUME_32BITUIDS]: Remove conditional code.
12837 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12838 <kernel-features.h>.
12839 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12840 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12841 132096]: Remove conditional code.
12842 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12843 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12844 <kernel-features.h>.
12845 [__ASSUME_32BITUIDS]: Make code unconditional.
12846 [!__ASSUME_32BITUIDS]: Remove conditional code.
12847 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12848 <kernel-features.h>.
12849 [__ASSUME_32BITUIDS]: Make code unconditional.
12850 [!__ASSUME_32BITUIDS]: Remove conditional code.
12851 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12852 <kernel-features.h>.
12853 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12854 unconditional.
12855 (__setresgid): Do not declare.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12859 <kernel-features.h>.
12860 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12861 unconditional.
12862 (__setresuid): Do not declare.
12863 [__ASSUME_32BITUIDS]: Make code unconditional.
12864 [!__ASSUME_32BITUIDS]: Remove conditional code.
12865 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12866 <kernel-features.h>.
12867 [__ASSUME_32BITUIDS]: Make code unconditional.
12868 [!__ASSUME_32BITUIDS]: Remove conditional code.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12870 <kernel-features.h>.
12871 [__ASSUME_32BITUIDS]: Make code unconditional.
12872 [!__ASSUME_32BITUIDS]: Remove conditional code.
12873
a386f1cc
RH
128742012-05-25 Richard Henderson <rth@twiddle.net>
12875
12876 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12877 dl_hwcap to ifunc resolver.
12878 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12879 elf_ifunc_invoke.
12880 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12881 dl_hwcap to ifunc resolver.
12882 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12883
b6550497
JM
128842012-05-24 Joseph Myers <joseph@codesourcery.com>
12885
12886 [BZ #14153]
12887 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12888 for |x| <= 2**-26, not 2**-57.
12889 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12890 exception.
12891
b0bc23a1
JL
128922012-05-24 Jeff Law <law@redhat.com>
12893
12894 * stdio-common/Makefile (tests): Add bug25.
12895 * stdio-common/bug25.c: New test.
12896
347c92e9
L
128972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12898
12899 [BZ #13576]
12900 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12901 multiple of MALLOC_ALIGNMENT in size.
12902 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12903
6bcc8b3f
JM
129042012-05-24 Joseph Myers <joseph@codesourcery.com>
12905
12906 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12907 Require >= 256.
12908 (FILENAME_MAX): Use macro-int-constant.
12909 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12910 (_IOFBF): Use macro-int-constant.
12911 (_IOLBF): Likewise.
12912 (_IONBF): Likewise.
12913 (SEEK_CUR): Likewise.
12914 (SEEK_END): Likewise.
12915 (SEEK_SET): Likewise.
12916 (TMP_MAX): Likewise.
12917 (EOF): Use macro-int-constant. Require < 0.
12918 (NULL): Use macro-constant. Require == 0.
12919 (stdin): Require type to be FILE *.
12920 (stdout): Likewise.
12921 (stderr): Likewise.
12922 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12923 macro-int-constant.
12924 (EXIT_SUCCESS): Likewise.
12925 (NULL): Use macro-constant. Require == 0.
12926 (RAND_MAX): Use macro-int-constant.
12927 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12928 [C99-based standards] (strtof): Require function.
12929 [C99-based standards] (strtold): Likewise.
12930 [C99-based standards] (strtoll): Likewise.
12931 [C99-based standards] (strtoull): Likewise.
12932 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12933 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12934 [ISO || ISO99 || ISO11] (math.h): Likewise.
12935 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12936 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12938
d18ea0c5
AS
129392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12940
12941 [BZ #14132]
56d25bb8
AS
12942 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12943 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12944 * intl/dgettext.c (DCGETTEXT): Likewise.
12945 * intl/gettext.c (DCGETTEXT): Likewise.
12946 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12947 * posix/regex_internal.h (gettext): Likewise.
12948 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12949 Remove declaration.
12950 * include/argz.h (__argz_count_internal)
12951 (__argz_stringify_internal): Remove declaration.
12952 (__argz_count, __argz_stringify): Declare hidden proto.
12953 * intl/dcgettext.c: Remove use of INTDEF.
12954 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12955 * string/argz-stringify.c: Likewise.
12956 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12957 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12958 Declare hidden proto.
d18ea0c5
AS
12959 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12960 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12961 Declare hidden proto.
12962 * include/stdio.h (__asprintf_internal): Don't declare.
12963 (__asprintf): Don't define as macro. Declare hidden proto.
12964 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12965 (__fsetlocking): Declare hidden proto.
12966 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12967 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12968 hidden proto.
12969 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12970 (_IO_setlinebuf): Remove use of INTUSE.
12971 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12972 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12973 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12974 Remove declaration.
12975 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12976 (_IO_do_flush): Remove use of INTUSE.
12977 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12978 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12979 (_IO_adjust_column, _IO_least_wmarker)
12980 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12981 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12982 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12983 (_IO_default_doallocate, _IO_wdefault_doallocate)
12984 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12985 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12986 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12987 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12988 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12989 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12990 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12991 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12992 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12993 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12994 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12995 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12996 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12997 proto.
12998 (_IO_flush_all_internal, _IO_adjust_column_internal)
12999 (_IO_default_uflow_internal, _IO_default_finish_internal)
13000 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13001 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13002 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13003 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13004 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13005 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13006 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13007 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13008 (_IO_file_close_internal, _IO_file_close_it_internal)
13009 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13010 (_IO_file_init_internal, _IO_file_attach_internal)
13011 (_IO_file_fopen_internal, _IO_file_read_internal)
13012 (_IO_file_sync_internal, _IO_file_seek_internal)
13013 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13014 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13015 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13016 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13017 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13018 (_IO_list_all_internal, _IO_link_in_internal)
13019 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13020 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13021 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13022 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13023 (_IO_do_write_internal, _IO_padn_internal)
13024 (_IO_getline_info_internal, _IO_getline_internal)
13025 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13026 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13027 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13028 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13029 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13030 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13031 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13032 with libc_hidden_ver, remove use of INTUSE.
13033 * libio/genops.c: Likewise.
13034 * libio/freopen.c: Likewise.
13035 * libio/freopen64.c: Likewise.
13036 * libio/iofclose.c: Likewise.
13037 * libio/iofdopen.c: Likewise.
13038 * libio/iofflush.c: Likewise.
13039 * libio/iofflush_u.c: Likewise.
13040 * libio/iofgets.c: Likewise.
13041 * libio/iofgets_u.c: Likewise.
13042 * libio/iofopen.c: Likewise.
13043 * libio/iofopncook.c: Likewise.
13044 * libio/iofread.c: Likewise.
13045 * libio/iofread_u.c: Likewise.
13046 * libio/ioftell.c: Likewise.
13047 * libio/iofwrite.c: Likewise.
13048 * libio/iogetline.c: Likewise.
13049 * libio/iogets.c: Likewise.
13050 * libio/iogetwline.c: Likewise.
13051 * libio/iopadn.c: Likewise.
13052 * libio/iopopen.c: Likewise.
13053 * libio/ioseekoff.c: Likewise.
13054 * libio/ioseekpos.c: Likewise.
13055 * libio/iosetbuffer.c: Likewise.
13056 * libio/iosetvbuf.c: Likewise.
13057 * libio/ioungetc.c: Likewise.
13058 * libio/ioungetwc.c: Likewise.
13059 * libio/iovdprintf.c: Likewise.
13060 * libio/iovsprintf.c: Likewise.
13061 * libio/iovsscanf.c: Likewise.
13062 * libio/memstream.c: Likewise.
13063 * libio/obprintf.c: Likewise.
13064 * libio/oldfileops.c: Likewise.
13065 * libio/oldiofclose.c: Likewise.
13066 * libio/oldiofdopen.c: Likewise.
13067 * libio/oldiofopen.c: Likewise.
13068 * libio/oldiopopen.c: Likewise.
13069 * libio/oldstdfiles.c: Likewise.
13070 * libio/putc.c: Likewise.
13071 * libio/setbuf.c: Likewise.
13072 * libio/setlinebuf.c: Likewise.
13073 * libio/stdfiles.c: Likewise.
13074 * libio/strops.c: Likewise.
13075 * libio/vasprintf.c: Likewise.
13076 * libio/vscanf.c: Likewise.
13077 * libio/vsnprintf.c: Likewise.
13078 * libio/vswprintf.c: Likewise.
13079 * libio/wfiledoalloc.c: Likewise.
13080 * libio/wfileops.c: Likewise.
13081 * libio/wgenops.c: Likewise.
13082 * libio/wmemstream.c: Likewise.
13083 * libio/wstrops.c: Likewise.
13084 * libio/__fpurge.c: Likewise.
13085 * libio/__fsetlocking.c: Likewise.
13086 * assert/assert.c: Likewise.
13087 * debug/fgets_chk.c: Likewise.
13088 * debug/fgets_u_chk.c: Likewise.
13089 * debug/fread_chk.c: Likewise.
13090 * debug/fread_u_chk.c: Likewise.
13091 * debug/gets_chk.c: Likewise.
13092 * debug/obprintf_chk.c: Likewise.
13093 * debug/vasprintf_chk.c: Likewise.
13094 * debug/vdprintf_chk.c: Likewise.
13095 * debug/vsnprintf_chk.c: Likewise.
13096 * debug/vsprintf_chk.c: Likewise.
13097 * malloc/mtrace.c: Likewise.
13098 * misc/error.c: Likewise.
13099 * misc/syslog.c: Likewise.
13100 * stdio-common/asprintf.c: Likewise.
13101 * stdio-common/fxprintf.c: Likewise.
13102 * stdio-common/getw.c: Likewise.
13103 * stdio-common/isoc99_fscanf.c: Likewise.
13104 * stdio-common/isoc99_scanf.c: Likewise.
13105 * stdio-common/isoc99_vfscanf.c: Likewise.
13106 * stdio-common/isoc99_vscanf.c: Likewise.
13107 * stdio-common/isoc99_vsscanf.c: Likewise.
13108 * stdio-common/printf-prs.c: Likewise.
13109 * stdio-common/printf_fp.c: Likewise.
13110 * stdio-common/printf_fphex.c: Likewise.
13111 * stdio-common/printf_size.c: Likewise.
13112 * stdio-common/putw.c: Likewise.
13113 * stdio-common/scanf.c: Likewise.
13114 * stdio-common/sprintf.c: Likewise.
13115 * stdio-common/tmpfile.c: Likewise.
13116 * stdio-common/vfprintf.c: Likewise.
13117 * stdio-common/vfscanf.c: Likewise.
13118 * stdlib/strfmon_l.c: Likewise.
13119 * sunrpc/openchild.c: Likewise.
13120 * sunrpc/xdr_stdio.c: Likewise.
13121 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13122 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13123
d6c33fda
RM
131242012-05-24 Roland McGrath <roland@hack.frob.com>
13125
c1487492
RM
13126 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13127
13128 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13129 in the third column, to generate for the shared library an IFUNC
13130 that uses _dl_vdso_vsym.
13131 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13132 * Makeconfig (object-suffixes-noshared): New variable.
13133
13134 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13135 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13136 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13137 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13138
d6c33fda
RM
13139 [BZ #14132]
13140 * include/sys/time.h (__gettimeofday): Remove macro.
13141 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13142 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13143 Remove INTDEF.
13144 (__gettimeofday): Add libc_hidden_def.
13145 (gettimeofday): Add libc_hidden_weak.
13146 * sysdeps/mach/gettimeofday.c: Likewise.
13147 * sysdeps/posix/gettimeofday.c: Likewise.
13148 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13149 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13151 (__gettimeofday_internal): Remove strong_alias.
13152 (__gettimeofday): Add libc_hidden_def.
13153 (gettimeofday): Add libc_hidden_weak.
13154 * sysdeps/unix/syscalls.list (gettimeofday):
13155 Remove __gettimeofday_internal alias.
13156
b5a2bbe6
L
131572012-05-24 Daniel Jacobowitz <drow@false.org>
13158 H.J. Lu <hongjiu.lu@intel.com>
13159
13160 [BZ #12495]
13161 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13162 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13163 (largebin_index_32_big): New.
13164 (largebin_index): Use it for 16-byte alignment.
13165 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13166 correction with front_misalign.
13167
cfba4fda
L
131682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13169
7f907421
L
13170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13174 Likewise.
13175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13176 Likewise.
13177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13180 Likewise.
13181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13182 Likewise.
13183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13184 Likewise.
13185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13186 Likewise.
13187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13188 Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13190 Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13192 Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13194 Likewise.
13195
cfba4fda
L
13196 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13197 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13198
80bad0cc
JM
131992012-05-24 Joseph Myers <joseph@codesourcery.com>
13200
7a25eb06
JM
13201 [BZ #10846]
13202 [BZ #14036]
13203 * math/libm-test.inc (exp_test): Add test from bug 14036.
13204 (pow_test): Add test from bug 10846.
13205
795405f9
JM
13206 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13207 and other flags.
13208 (special_function): Do not include flags in test name.
13209 (parse_args): Likewise.
13210 * sysdeps/i386/fpu/libm-test-ulps: Update.
13211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13212 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13213 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13215
80bad0cc
JM
13216 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13217 exceptions.
13218 * math/libm-test.inc ("Philosophy"): Update comment about
13219 exception testing.
13220 (UNDERFLOW_EXCEPTION): New macro.
13221 (UNDERFLOW_EXCEPTION_OK): Likewise.
13222 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13223 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13224 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13225 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13226 (INVALID_EXCEPTION_OK): Update value.
13227 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13228 (OVERFLOW_EXCEPTION_OK): Likewise.
13229 (IGNORE_ZERO_INF_SIGN): Likewise.
13230 (test_exceptions): Handle underflow exceptions.
13231 (acos_test): Update for underflow exception expectations.
13232 (cexp_test): Likewise.
13233 (clog_test): Likewise.
13234 (clog10_test): Likewise.
13235 (csqrt_test): Likewise.
13236 (ctan_test): Likewise.
13237 (ctanh_test): Likewise.
13238 (exp_test): Likewise.
13239 (exp10_test): Likewise.
13240 (exp2_test): Likewise.
13241 (expm1_test): Likewise.
13242 (fma_test): Likewise.
13243 (j0_test): Likewise.
13244 (jn_test): Likewise.
13245 (nexttoward_test): Likewise.
13246 (pow_test): Likewise.
13247 (scalbn_test): Likewise.
13248 (scalbln_test): Likewise.
13249 (tan_test): Likewise.
13250 (y1_test): Likewise.
13251 * sysdeps/i386/fpu/libm-test-ulps: Update.
13252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13253
9e0e3d0b
DM
132542012-05-23 David S. Miller <davem@davemloft.net>
13255
13256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13257 (__libc_sigaction): Remove unused local variables.
13258
ccd0a08f
L
132592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13260
13261 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13262
62bdf9a6
PE
132632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13264
f8591f80
PE
13265 mktime: avoid signed integer overflow
13266 * time/mktime.c (__mktime_internal): Do not mishandle the case
13267 where diff == INT_MIN.
13268
94c7d826
PE
13269 mktime: simplify computation of average
13270 * time/mktime.c (ranged_convert): Use new time_t_avg function
13271 instead of rolling our own (probably-slower) code.
13272
ce73d683
PE
13273 mktime: do not assume signed right shift propagates sign bit
13274 * time/mktime.c (isdst_differ): New static function.
13275 (__mktime_internal): No need to normalize tm_isdst now.
13276 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13277 tm_isdst values.
13278
72a22e59
PE
13279 mktime: merge another wrapv change from gnulib
13280 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13281 from some compilers.
13282
68605433
PE
13283 mktime: remove incorrect attempt at unusual arithmetics
13284 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13285 The code didn't really work on such machines anyway.
13286 (TYPE_MINIMUM): Assume two's complement.
13287 (twos_complement_arithmetic): Verify that long_int and time_t
13288 are two's complement (or unsigned, in the latter case).
13289
03cf7fe3
PE
13290 mktime: check signed shifts on long_int and time_t, too
13291 * time/mktime.c (SHR): Check that shifts work as desired
13292 on the types long_int and time_t too, as SHR is used on
13293 such types.
13294
f04dfbc2
PE
13295 mktime: do not assume 'long' is wide enough
13296 * time/mktime.c (verify): Move decl up.
13297 (long_int): New type.
13298 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13299 to remove assumption in the code that 'long' is wide enough to
13300 store year values. This assumption is not true on x32 and on
13301 some non-glibc platforms.
13302
62bdf9a6
PE
13303 mktime: merge wrapv change from gnulib
13304 * time/mktime.c (WRAPV): New macro.
13305 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13306 (guess_time_tm, __mktime_internal): Do not assume that signed
13307 integer overflow wraps around; modern compilers generate code
13308 where this assumption is no longer valid.
13309
5e292e4f
L
133102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13313 Replace "jmp L(pseudo_end)" with "ret".
13314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13315 Likewise.
13316
8caf8c87
AJ
133172012-05-23 Andreas Jaeger <aj@suse.de>
13318
13319 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13320 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13321
1a09dc56
AJ
133222012-05-23 Andreas Jaeger <aj@suse.de>
13323 Maximilian Attems <max@stro.at>
13324
13325 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13326 New macros.
13327
1c87aba0
L
133282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13329
13330 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13331 code so that pseudo_end is just ret and the stack pointer is
13332 correct also for static library in error case.
13333
40e45bd5
JM
133342012-05-23 Joseph Myers <joseph@codesourcery.com>
13335
c2670533
JM
13336 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13337 move to syscalls.list.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13342
40e45bd5
JM
13343 * manual/install.texi (Running make install): Do not mention Linux
13344 kernel version for which pt_chown is not needed.
13345 (Linux): Do not mention problems with nscd with 2.0 kernels.
13346 * INSTALL: Regenerated.
13347
be08eda5
AJ
133482012-05-23 Andreas Jaeger <aj@suse.de>
13349
13350 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13351 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13352 macro.
13353 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13355 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13356 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13357 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13358 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13359 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13360 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13361 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13362 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13363 * sysdeps/unix/sysv/linux/bits/in.h
13364 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13365
a6a056bb
RM
133662012-05-22 Roland McGrath <roland@hack.frob.com>
13367
13368 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13369 (PREPARE_VERSION): Just use assert instead, it will be elided
13370 under [NDEBUG] anyway.
13371
c9009328
L
133722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 * sysdeps/unix/sysv/linux/Makefile: Include
13375 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13376 (sysdep_routines): Remove sysctl.
c9009328
L
13377 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13378 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13379 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13381 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13382
73338355
AJ
133832012-05-22 Andreas Jaeger <aj@suse.de>
13384
13385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13386 that pseudo_end is just ret and the stack pointer is correct also
13387 for static library in error case.
13388
d44638b0
PP
133892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13390
13391 [BZ #14122]
13392 * nss/nsswitch.c (defconfig_entries): New variable.
13393 (__nss_database_lookup): Don't leak defconfig entries.
13394 (nss_parse_service_list): Don't leak on error paths.
13395 (free_database_entries): New function.
13396 (free_defconfig): New function.
13397 (free_mem): Move common code to free_database_entries.
13398
31a39bd8
L
133992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13400
da0331a8
L
13401 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13402 Add arch_prctl.
13403 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13404
31a39bd8
L
13405 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13406 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13408 New macro.
13409 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13410 (INTERNAL_SYSCALL_TYPES): Likewise.
13411 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13412 (LOAD_REGS_TYPES_[1-6]): Likewise.
13413 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13414 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13415
45470df3
AZ
134162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13417
13418 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13419 copysignl for GLIBC_2_0.
13420 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13421 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13423 logbl for GLIBC_2_0.
13424 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13425 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13426
98a61bcb
L
134272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13428
a4f6e481
L
13429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13430 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13431
f63d5db6
L
13432 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13433 Use "neg %eax".
13434
98a61bcb
L
13435 * time/mktime.c: Update copyright years.
13436
95770f14
PE
134372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13438
6226efbd
PE
13439 mktime: merge comment-quoting-style change from gnulib
13440 * time/mktime.c: Quote 'like this' in comments.
13441 The GNU coding standards suggest that we no longer quote `like this',
13442 as "`" and "'" are typically rendered asymmetrically nowadays.
13443 The typical gnulib style is to quote 'like this' when quoting
13444 code, and "like this" when quoting English.
13445
b99e4f78
PE
13446 * time/mktime.c (compile-command): Add "-I.".
13447
643e01e6
PE
13448 mktime: merge mktime-internal.h change from gnulib
13449 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13450
2554247d
PE
13451 mktime: merge time_r change from gnulib
13452 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13453
826dd0ab
PE
13454 mktime: merge DEBUG change from gnulib
13455 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13456 case system <time.h> has a #define.
13457
bd83aabe
PE
13458 mktime: merge <sys/types.h> change from gnulib
13459 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13460 since <time.t> is now guaranteed to define time_t.
13461
95770f14
PE
13462 mktime: merge HAVE_CONFIG_H change from gnulib
13463 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13464
5e1a27a9
L
134652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13466
0e44a77e
L
13467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13468 Use "neg %eax".
13469
5e1a27a9
L
13470 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13471 __rlim_t cast.
13472 (struct rusage): Use anonymous union to pad each field to
13473 __syscall_slong_t.
13474
46259bec
DM
134752012-05-21 David S. Miller <davem@davemloft.net>
13476
13477 * Makefules (o-iterator): Remove .s cases.
13478 (compile-command.s): Delete.
13479 (COMPILE.s): Delete.
13480 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13481
59f0c22e
JM
134822012-05-21 Joseph Myers <joseph@codesourcery.com>
13483
13484 * configure.in (libc_cv_predef_stack_protector): Only consider
13485 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13486 * configure: Regenerated.
13487
20c07380
L
134882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13489
bbb3154b
L
13490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13491 New macro. Use R*LP on int and pointer.
13492 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13493 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13494 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13495 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13496
20c07380
L
13497 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13498 [__WORDSIZE_TIME64_COMPAT32] instead of
13499 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13500 (struct utmp): Likewise.
13501 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13502 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13503 Renamed to ...
13504 (__WORDSIZE_TIME64_COMPAT32): This.
13505 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13506 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13507 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13508 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13509 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13510 (__WORDSIZE_TIME64_COMPAT32): New macro.
13511
d8d1017e
AJ
135122012-05-21 Andreas Jaeger <aj@suse.de>
13513
13514 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13515 only if [SHARED]. Add prototype for __wcschr_ia32.
13516
6c7fb145
RM
135172012-05-21 Roland McGrath <roland@hack.frob.com>
13518
13519 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13520 of %rbp unmolested in the jmp_buf while mangling the low bits.
13521 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13522 unmolested high bits of %rbp while demangling the low bits.
13523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13524
66274218
AJ
135252012-05-21 Andreas Jaeger <aj@suse.de>
13526
07c58f8f
AJ
13527 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13528 * sunrpc/svc_simple.c: Use it for registerrpc.
13529 * sunrpc/xcrypt.c: Use it for passwd2des.
13530
66274218
AJ
13531 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13532
61f65140
L
135332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13534
13535 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13536 Don't define if [__SYSCALL_WORDSIZE != 32].
13537 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13538 New macro.
13539
5fefb436
AJ
135402012-05-21 Bruno Haible <bruno@clisp.org>
13541 Andreas Jaeger <aj@suse.de>
13542
13543 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13544 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13545 inptr and inend for must_buffer_ch.
13546 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13547 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13548 * stdio-common/Makefile (tests): Remove bug15.
13549 (bug15-ENV): Remove macro.
13550 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13551 anymore.
13552
d8e272ab
AJ
135532012-05-19 Andreas Jaeger <aj@suse.de>
13554 Roland McGrath <roland@hack.frob.com>
13555
13556 * manual/contrib.texi: Completely rewritten. It contains now an
13557 alphabetical list of contributors and their contributions.
13558
4a56a162
RH
135592012-05-21 Richard Henderson <rth@twiddle.net>
13560
13561 * misc/getauxval.c (__getauxval): Use unsigned long int.
13562 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13563 (getauxval): Use unsigned long int.
13564
d024d23c
L
135652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13566
13567 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13568
cbc00a03
RM
135692012-05-21 Roland McGrath <roland@hack.frob.com>
13570
13571 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13572 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13573 __alignof__ (long double).
13574
478143fa
AZ
135752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13576
13577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13578
c7683a6d
RH
135792012-05-20 Richard Henderson <rth@twiddle.net>
13580
13581 * misc/getauxval.c: New file.
13582 * misc/sys/auxv.h: New file.
13583 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13584 (routines): Add getauxval.
13585 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13587 * elf/dl-sysdep.c (_dl_auxv): Remove.
13588 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13589 * elf/dl-support.c (_dl_auxv): New variable.
13590 (_dl_aux_init): Initialize it.
13591 * manual/startup.texi (Auxiliary Vector): New node.
13592 * sysdeps/generic/bits/hwcap.h: New file.
13593 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13594 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13595 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13596 * sysdeps/sparc/sysdep.h: ... here. Include it.
13597 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13598 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13600 Update.
c7683a6d
RH
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13609
a6f1845d
AZ
136102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13611
13612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13613
cbcbe830
DM
136142012-05-19 David S. Miller <davem@davemloft.net>
13615
13616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13617
e0b16cc2
JM
136182012-05-19 Joseph Myers <joseph@codesourcery.com>
13619
13620 [BZ #14123]
13621 * math/s_ccosh.c: Include <float.h>
13622 (__ccosh): Avoid internal overflow calculating sinh and cosh
13623 values before multiplying by sin and cos values.
13624 * math/s_ccoshf.c: Likewise.
13625 * math/s_ccoshl.c: Likewise.
13626 * math/s_csin.c: Likewise.
13627 * math/s_csinf.c: Likewise.
13628 * math/s_csinl.c: Likewise.
13629 * math/s_csinh.c: Likewise.
13630 * math/s_csinhf.c: Likewise.
13631 * math/s_csinhl.c: Likewise.
13632 * math/libm-test.inc (ccos_test): Add more tests.
13633 (ccosh_test): Likewise.
13634 (csin_test): Likewise.
13635 (csinh_test): Likewise.
13636 * sysdeps/i386/fpu/libm-test-ulps: Update.
13637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13638
6ad13e08
L
136392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13640
f66f0ce8
L
13641 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13642 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13643
6ad13e08
L
13644 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13645
b1d072a7
JM
136462012-05-19 Joseph Myers <joseph@codesourcery.com>
13647
13648 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13649 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13650 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13651 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13652 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13653 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13654 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13655 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13656 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13657 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13658 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13659 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13660 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13661 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13662 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13663 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13664 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13665 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13666 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13667 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13668 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13669 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13670 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13671 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13672 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13673 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13674 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13675 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13676 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13677 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13678 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13679
9eae47cb
AJ
136802012-05-18 Andreas Jaeger <aj@suse.de>
13681
13682 * csu/.gitignore: Delete.
13683
bb07f69f
L
136842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13685
13686 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13687 (timex): Use __syscall_slong_t.
13688
e6bdb741
AJ
136892012-05-18 Andreas Jaeger <aj@suse.de>
13690 Carlos O'Donell <carlos_odonell@mentor.com>
13691
13692 * manual/install.texi (Configuring and compiling): Update
13693 description about files modified in the source directory.
d6c33fda 13694 * INSTALL: Regenerated.
e6bdb741 13695
1b74487e
L
136962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13697
13698 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13699 value. Use "or" to set return value to -1.
13700 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13701 negate return value.
13702
a88b64b9
TMQMF
137032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13704
13705 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13706 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13707 failure if the compiler has Graphite support disabled.
13708 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13709 Likewise.
13710 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13711 CFLAGS-memmove.c): Likewise.
13712 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13713 Likewise.
13714
3707636e
L
137152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13716
610b8622
L
13717 * sysdeps/x86_64/x32/_itoa.h: New file.
13718
7cd195df
L
13719 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13720 getdents system call only if kernel and user dirents have the
13721 same d_ino and d_off.
13722
94b07d20
L
13723 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13724 LLONG_MAX != LONG_MAX.
13725 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13726 (_fitoa_word): Likewise.
13727
18298070
L
13728 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13729 years.
13730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13731 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13733
553c7ea4
L
13734 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13735 include <bits/wordsize.h>. Check __x86_64__ instead of
13736 __WORDSIZE.
13737 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13738 if __x86_64__ is defined. Use anonymous union on fpstate.
13739
3707636e
L
13740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13741 anonymous union.
13742
b53ef01a
AS
137432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13744
37fb1dc0
AS
13745 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13746 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13747 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13748 Refer to _rtld_local_ro instead of _rtld_global_ro.
13749 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13750 Likewise.
13751 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13752 Likewise.
13753 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13754 Likewise.
13755 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13756 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13757 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13758
b53ef01a
AS
13759 * sysdeps/powerpc/powerpc32/dl-machine.c
13760 (__elf_machine_runtime_setup) [PROF]: Don't reference
13761 _dl_prof_resolve.
13762
7a185db2
AJ
137632012-05-18 Andreas Jaeger <aj@suse.de>
13764
13765 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13766 function only available for GCCs before 3.4 since GCC 3.4
13767 introduced a builtin.
13768 (lrint): Likewise.
13769 (llrintf): Likewise.
13770 (llrint): Likewise.
13771 (fmaxf): Likewise.
13772 (fmax): Likewise.
13773 (fminf): Likewise.
13774 (fmin): Likewise.
13775 (rint): Likewise.
13776 (rintf): Likewise.
13777 (nearbyint): Likewise.
13778 (nearbyintf): Likewise.
13779 (ceil): Likewise.
13780 (ceilf): Likewise.
13781 (floor): Likewise.
13782 (floorf): Likewise.
13783
3e5aef87
L
137842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13785
428bd707
L
13786 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13787 on both fields and cast pointer to __syscall_ulong_t.
13788
3e5aef87
L
13789 * bits/types.h (__fsword_t): New type.
13790 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13791 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13793 (__FSWORD_T_TYPE): Likewise.
13794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13795 (__FSWORD_T_TYPE): Likewise.
13796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13797 (__FSWORD_T_TYPE): Likewise.
13798 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13799 (__FSWORD_T_TYPE): Likewise.
13800 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13801 __SWORD_TYPE with __fsword_t.
13802 (statfs64): Likewise.
13803
1ba7c3dc
DM
138042012-05-17 David S. Miller <davem@davemloft.net>
13805
13806 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13807
59910343
AJ
138082012-05-17 Andreas Jaeger <aj@suse.de>
13809
13810 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13811 warning.
13812
2e4c1e9e
L
138132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13814
13815 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13816
de7f5ce7
AJ
138172012-05-17 Andreas Jaeger <aj@suse.de>
13818
13819 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13820 when it is used.
13821
286abc3d
CM
138222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13823
13824 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13825
477cc68e
L
138262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13827
13828 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13829 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13830
1a0994f5
CD
138312012-05-17 Andreas Jaeger <aj@suse.de>
13832 Carlos O'Donell <carlos_odonell@mentor.com>
13833
13834 [BZ #14059]
13835 * sysdeps/x86_64/multiarch/init-arch.h
13836 (bit_YMM_Usable): Rename to...
13837 (bit_AVX_Usable): ... this.
13838 (bit_FMA4_Usable): New macro.
13839 (bit_XMM_state): New macro.
13840 (bit_YMM_state): New macro.
13841 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13842 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13843 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13844 (CPUID_OSXSAVE): New macro.
13845 (CPUID_AVX): New macro.
13846 (CPUID_FMA4): New macro.
13847 (index_YMM_Usable): Rename to...
13848 (index_AVX_Usable): ... this.
13849 (HAS_AVX): Use HAS_ARCH_FEATURE.
13850 (HAS_FMA4): Likewise.
13851 (HAS_YMM_USABLE): Remove.
13852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13853 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13854 are present.
13855 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13856 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13857 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13858 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13859 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13860
0af797de
CM
138612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13862
13863 * math/libm-test.c: Support platforms without multiple rounding modes.
13864 * math/bug-nextafter.c: Support platforms without FP exceptions.
13865 * math/bug-nexttoward.c: Likewise.
13866 * math/test-fenv.c: Likewise.
13867 * math/test-misc.c: Likewise.
13868 * stdlib/bug-getcontext.c: Likewise.
13869
e39745ff
AJ
138702012-05-17 Andreas Jaeger <aj@suse.de>
13871
13872 * manual/examples/search.c (critter_cmp): Change signature to
13873 avoid warnings.
13874 * manual/string.texi (Collation Functions): Likewise.
13875
48970aba
L
138762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13877
13878 * bits/types.h: Fold copyright years.
13879 * bits/typesizes.h: Likewise.
13880 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13884 * time/time.h: Likewise.
13885
bedee953
PP
138862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13887
13888 [BZ #208]
13889 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13890 in instead of returning them. Return void.
13891 (__libc_mallinfo): Accumulate over all arenas.
13892 (__malloc_stats): Adjust for change in int_mallinfo interface.
13893
61653dfb
RM
138942012-05-16 Roland McGrath <roland@hack.frob.com>
13895
30b99d79
RM
13896 [BZ #10375]
13897 * configure.in (NM): Add AC_CHECK_TOOL for it.
13898 (libc_extra_cflags): New substituted variable.
13899 Check for -fstack-protector being used implicitly.
13900 * configure: Regenerated.
13901 * config.make.in (config-extra-cflags): New variable,
13902 gets @libc_extra_cflags@.
13903 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13904
61653dfb
RM
13905 [BZ #10375]
13906 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13907 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13908 * configure: Regenerated.
13909 * config.make.in (CPPUNDEFS): New substituted variable.
13910 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13911 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13912 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13913
661768bb
L
139142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13915
13916 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13917 (mq_attr): Use __syscall_slong_t.
13918
d4261567
L
139192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13920
13921 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13922 Check __x86_64__ instead of __WORDSIZE.
13923 (_STAT_VER_LINUX): Likewise.
13924 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13925 __syscall_ulong_t and __syscall_slong_t.
13926 (stat64): Likewise.
13927
cf3ff365
L
139282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13931
76cf3e4d
L
139322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13933
13934 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13935
a637753a
L
139362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13937
13938 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13939 __syscall_ulong_t.
13940
d5e05119
L
13941 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13942 include <bits/wordsize.h>. Check __x86_64__ instead of
13943 __WORDSIZE.
13944 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13945 defined.
13946 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13947
f62ee380
L
13948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13949 include <bits/wordsize.h>. Check __x86_64__ instead of
13950 __WORDSIZE.
13951 (user_regs_struct): Use "__extension__ unsigned long long"
13952 instead of "unsigned long" if __x86_64__ is defined.
13953 (user): Likewise. Pad after pointer field if __ILP32__ is
13954 defined.
13955
4e124ced
JM
139562012-05-16 Joseph Myers <joseph@codesourcery.com>
13957
6a3951a0
JM
13958 * configure.in (makeinfo): Require version 4.5 or later. Allow
13959 versions 5 to 9.
13960 * configure: Regenerated.
13961 * manual/install.texi (texinfo): Increase version requirement to
13962 4.5 or later.
13963 * INSTALL: Regenerated.
13964
4e124ced
JM
13965 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13966
953ca31a
L
139672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13970
617aca05
L
13971 * sysdeps/x86_64/x32/ffs.c: New file.
13972
5762f7ae
L
13973 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13974 __syscall_ulong_t.
13975 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13976 defined. Use __syscall_ulong_t.
13977 (shminfo): Use __syscall_ulong_t.
13978 (shm_info): Likewise.
13979
a26b6856
L
13980 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13981 __syscall_ulong_t.
13982
cb2b9ef7
L
13983 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13984 <bits/wordsize.h>.
13985 (msgqnum_t): Use __syscall_ulong_t.
13986 (msglen_t): Likewise.
13987 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13988 __syscall_ulong_t.
13989
34683bb0
L
13990 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13991 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13992
84a68786
L
13993 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13994
48baa5f1
L
13995 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13996 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13997
180be88b
L
13998 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13999 __syscall_slong_t.
14000
5e90c8ad
L
14001 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14002 include <bits/wordsize.h>. Check __x86_64__ instead of
14003 __WORDSIZE.
14004
23dfb58b
L
14005 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14006 "unsigned long long int" if __x86_64__ is defined.
14007 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14008
ce5d54b0
L
14009 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14010 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14011 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14012
13dc9eac
L
14013 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14014 <stdint.h>.
14015 (GET_PC): Cast to uintptr_t first.
14016 (GET_FRAME): Likewise.
14017 (GET_STACK): Likewise.
14018
a7895d15
L
14019 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14020 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14021 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14022 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14023 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14024 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14048
656416c9
AS
140492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14050
5bd66283
AS
14051 * Makerules (+depfiles): Also collect depfiles from .oS in
14052 $(extra-objs).
14053 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14054 .oS, $(libnldbl-routines)).
14055
656416c9
AS
14056 * Makerules (native-compile-mkdep-flags): Define.
14057 * sunrpc/Makefile (extra-objs): Add $(addprefix
14058 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14059 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14060 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14061 calling $(make-target-directory).
14062
a46f2169
L
140632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14064
14065 * bits/types.h (__snseconds_t): Removed.
14066 * time/time.h (struct timespec): Replace __snseconds_t with
14067 __syscall_slong_t.
14068 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14069 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14070 Likewise.
14071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14072 (__SNSECONDS_T_TYPE): Likewise.
14073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14074 (__SNSECONDS_T_TYPE): Likewise.
14075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14076 (__SNSECONDS_T_TYPE): Likewise.
14077
6af6528b
L
140782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * sysdeps/mach/hurd/bits/typesizes.h
14081 (__SYSCALL_SLONG_TYPE): New macro.
14082 (__SYSCALL_ULONG_TYPE): Likewise.
14083
de986b56
L
140842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 * bits/types.h (__syscall_slong_t): New type.
14087 (__syscall_ulong_t): Likewise.
14088
14089 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14090 (__SYSCALL_ULONG_TYPE): Likewise.
14091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14092 (__SYSCALL_SLONG_TYPE): Likewise.
14093 (__SYSCALL_ULONG_TYPE): Likewise.
14094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14095 (__SYSCALL_SLONG_TYPE): Likewise.
14096 (__SYSCALL_ULONG_TYPE): Likewise.
14097 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14098 (__SYSCALL_SLONG_TYPE): Likewise.
14099 (__SYSCALL_ULONG_TYPE): Likewise.
14100
85736dc7
L
141012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14104 Add sigaltstack-offsets.sym.
14105 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14106 <sigaltstack-offsets.h>.
14107 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14108 longjmp_msg pointer.
14109 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14110 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14111 signal stack.
14112 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14113
cc03b296
JM
141142012-05-15 Joseph Myers <joseph@codesourcery.com>
14115
a9538892
JM
14116 * elf/stackguard-macros.h: Remove file.
14117 * sysdeps/generic/stackguard-macros.h: New file.
14118 * sysdeps/i386/stackguard-macros.h: Likewise.
14119 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14120 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14121 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14122 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14123 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14124 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14125 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14126 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14127 <elf/stackguard-macros.h>.
14128
cc03b296
JM
14129 [BZ #14109]
14130 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14131 __aligned__ in attribute.
14132 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14133 (gregset_t): Likewise.
14134
93171016
L
141352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14136
14137 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14138 * sysdeps/x86_64/64/Implies-after: Here. New file.
14139 * sysdeps/x86_64/x32/Implies-after: New file.
14140
d86813a0
L
141412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14144 and access return value for _dl_profile_fixup. Use R10_LP to
14145 load frame size.
14146
2953ec75
L
141472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14150
3b550e9e
L
141512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14152
14153 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14154 * sysdeps/x86_64/x32/sysdep.h: New file.
14155
eda41706
L
141562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14157
14158 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14159 * sysdeps/x86_64/setjmp.S: Likewise.
14160
9ea01d93
AZ
141612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14162
14163 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14165 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14166 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14167 remove unused global constant.
14168
02a91938
CM
141692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14170
14171 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14172 include of <not-cancel.h>.
14173
6540185f
RM
141742012-05-15 Roland McGrath <roland@hack.frob.com>
14175
14176 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14177
509072a0
AJ
141782012-05-15 Jeff Law <law@redhat.com>
14179 Andreas Jaeger <aj@suse.de>
14180
14181 [BZ #13594]
14182 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14183 out from...
14184 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14185 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14186 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14187 code changing __hst_map_handle.map.
14188
ba75122d
RM
141892012-05-15 Roland McGrath <roland@hack.frob.com>
14190
14191 * configure.in (sysnames): Look for Implies-before and Implies-after
14192 files.
14193 * configure: Regenerated.
14194
890d8bd8
L
141952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14196
14197 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14198 8-byte data alignment with LP_SIZE alignment.
14199
f6ee6623
L
142002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14203 into R10_LP.
14204
ea2626f6
L
142052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14208
085f715e
L
142092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14212 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14213 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14214 Likewise.
14215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14216
be8498fc
L
142172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14218
14219 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14220 (stackinfo_sub_sp): Likewise.
14221
70bc83b9
L
142222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14223
14224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14225 RAX_LP.
14226
9bc0b730
L
142272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14230 into R*_LP.
14231
6d2850e7
L
142322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14235 sizes into R*_LP.
14236
3cb84561
L
142372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14238
14239 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14240
54e2ed81
L
142412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14244 into R11_LP and load __x86_64_shared_cache_size_half into
14245 R8_LP.
14246
8a17f349
L
142472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14250 R8_LP.
14251
777b1eea
AZ
142522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14253
14254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14255 logb for POWER7.
14256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14257 logbf for POWER7.
14258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14259 logbl for POWER7.
14260 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14261 powerpc32/power7/fpu/s_logb.c via #include.
14262 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14263 powerpc32/power7/fpu/s_logbf.c via #include.
14264 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14265 powerpc32/power7/fpu/s_logbl.c via #include.
14266
d20d4ac2
JM
142672012-05-15 Joseph Myers <joseph@codesourcery.com>
14268
14269 * README.libm: Remove file.
14270
6cdef1ab
L
142712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14274 count for x32. Use R*_LP and omit operand-size suffix.
14275
0b254d8f
L
142762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14277
14278 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14279 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14280 * sysdeps/x86_64/x32/shlib-versions: New file.
14281
ceb809dc
RM
142822012-05-14 Roland McGrath <roland@hack.frob.com>
14283
14284 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14285 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14286 Use _dl_fatal_printf instead.
14287
37f1abd4
JM
142882012-05-14 Joseph Myers <joseph@codesourcery.com>
14289
14290 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14291 set if not set by the user. Do not allow for being unset.
14292 * sysdeps/unix/sysv/linux/configure: Regenerated.
14293
11de3a33
L
142942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14295
14296 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14297 the `q' suffix from lea and replace .quad with ASM_ADDR.
14298
e02f153a
L
142992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14302 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14303 instead of $17.
14304 (PTR_DEMANGLE): Likewise.
14305
520ae0fd
L
143062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14307
14308 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14309 (LP_OP): Likewise.
14310 (ASM_ADDR): Likewise.
14311 (RAX_LP): Likewise.
14312 (RBP_LP): Likewise.
14313 (RBX_LP): Likewise.
14314 (RCX_LP): Likewise.
14315 (RDI_LP): Likewise.
14316 (RSI_LP): Likewise.
14317 (RSP_LP): Likewise.
14318 (R8_LP): Likewise.
14319 (R9_LP): Likewise.
14320 (R10_LP): Likewise.
14321 (R10_LP): Likewise.
14322 (R11_LP): Likewise.
14323 (R12_LP): Likewise.
14324 (R13_LP): Likewise.
14325 (R14_LP): Likewise.
14326 (R15_LP): Likewise.
14327
b985be81
L
143282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 * sysdeps/x86_64/x32/dl-machine.h: New file.
14331
6a4888ff
AJ
143322012-05-14 Andreas Jaeger <aj@suse.de>
14333
14334 * manual/Makefile (subdir): Remove export of subdir.
14335 (all): Remove target.
14336 (.PHONY): Remove all from list.
14337 (mkinstalldirs): Remove.
14338 (.PHONY): Remove installdirs from list.
14339 ($(inst_infodir)/libc.info): Use make-target-directory.
14340 (installdirs): Remove.
14341 (subdir_%): Remove.
14342 (glibc-targets): Remove.
14343 (lib): Remove.
14344 (stubs): Remove.
14345 ($(objpfx)stubs ../po/manual.pot): Remove.
14346 ($(objpfx)stamp%): Remove.
14347 (make-target-directory): Remove.
14348 (subdir_install): Remove.
14349 (routines): Remove.
14350 (aux): Remove.
14351 (sources): Remove.
14352 (objects): Remove.
14353 (headers): Remove.
14354
14355 [BZ #13750]
14356 * manual/.gitignore: Remove, it's not needed anymore.
14357 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14358 all files in it.
14359 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14360 directory.
14361 (texis): Renamed to $(objpfx)texis.
14362 (texis-path): New, contains path to generated files.
14363 (chapters.%): Use texis-path for complete path, add extra argument
14364 libc-texinfo.sh.
14365 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14366 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14367 (summary,texi, stamp-summary): Use complete path of
14368 files. Generate files in build dir.
14369 (dir-add.texi): Build in build dir.
14370 (libm-err.texi,stamp-libm-err): Likewise.
14371 (version.texi, stamp-version): Likewise.
14372 (.%c.texi): Likewise.
14373 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14374 (mostlyclean): Remove target.
14375 (realclean): Remove target.
14376 (generated): Add new variable with contents from mostlyclean and
14377 realclean, remove entries duplicated in common-mostlyclean, add
14378 stamp-libm-err and stamp-version.
14379 (generated-dirs): Add libc directory.
14380 ($(inst_infodir)/libc.info): Install files from build dir.
14381
14382 * manual/install.texi (Configuring and compiling): Adjust since
14383 the info files are not part of the tar ball anymore.
14384
7ac77294
AJ
143852012-05-14 Andreas Jaeger <aj@suse.de>
14386
14387 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14388 variable.
14389
ffb7875d
JM
143902012-05-14 Joseph Myers <joseph@codesourcery.com>
14391
14392 [BZ #13717]
14393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14394 to 2.2.0 where earlier.
14395 * sysdeps/unix/sysv/linux/configure: Regenerated.
14396 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14397 Remove conditional code.
14398 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14399 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14400 Remove conditional code.
14401 [!__NR_lchown]: Likewise.
14402 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14403 [__NR_lchown]: Likewise.
14404 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14405 comment referencing __ASSUME_LCHOWN_SYSCALL.
14406 * sysdeps/unix/sysv/linux/i386/sigaction.c
14407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14409 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14410 Remove conditional code.
14411 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14412 (__protocol_available): Remove #if 0 code.
14413 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14414 conditional code.
14415 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14416 * sysdeps/unix/sysv/linux/kernel-features.h
14417 (__ASSUME_GETCWD_SYSCALL): Don't define.
14418 (__ASSUME_REALTIME_SIGNALS): Likewise.
14419 (__ASSUME_PREAD_SYSCALL): Likewise.
14420 (__ASSUME_PWRITE_SYSCALL): Likewise.
14421 (__ASSUME_POLL_SYSCALL): Likewise.
14422 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14423 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14424 non-SPARC.
14425 (__ASSUME_SIOCGIFNAME): Don't define.
14426 (__ASSUME_MSG_NOSIGNAL): Likewise.
14427 (__ASSUME_SENDFILE): Define unconditionally.
14428 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14429 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14430 conditional code.
14431 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14432 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14433 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14434 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14435 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14436 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14437 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14439 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14442 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14445 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14448 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14451 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14454 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14455 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14457 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14460 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14462 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14463 Remove conditional code.
14464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14465 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14466 Remove conditional code.
14467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14468 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14469 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14470 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14471 Remove conditional code.
14472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14473 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14474 Remove conditional code.
14475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14476 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14477 Remove conditional code.
14478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14479 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14480 Remove conditional code.
14481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14482 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14483 Remove conditional code.
14484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14485 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14486 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14488 * sysdeps/unix/sysv/linux/sigaction.c
14489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14491 * sysdeps/unix/sysv/linux/sigpending.c
14492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14494 * sysdeps/unix/sysv/linux/sigprocmask.c
14495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14497 * sysdeps/unix/sysv/linux/sigsuspend.c
14498 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14499 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14501 (__libc_missing_rt_sigs): Remove.
14502 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14503 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14504 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14505 Remove conditional code.
14506 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14507 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14508 return 1.
14509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14510 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14512 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14513
1bfb7291
AJ
145142012-05-14 Andreas Jaeger <aj@suse.de>
14515
caae5a81
AJ
14516 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14517 it's not used in glibc.
14518 (__coshm1): Likewise.
14519 (__acosh1p): Likewise.
14520 (__sgn): Likewise.
14521
1bfb7291
AJ
14522 * manual/string.texi (Copying and Concatenation): Add missing
14523 variable in concat example.
14524 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14525
c044d724
L
145262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14527
144c5467 14528 [BZ #14103]
c044d724
L
14529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14530 __builtin_clzl with __builtin_clzll.
14531
2523c62b
L
145322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 [BZ #14104]
14535 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14536 libc_freeres_ptr.
14537
d7bb4c42
LD
145382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14539
14540 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14541 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14542 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14543 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14544
9dc4e1fb
MF
145452012-05-14 Mike Frysinger <vapier@gentoo.org>
14546
14547 * NEWS: Update ia64 info.
14548
c7df0112
AS
145492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14550
14551 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14552 used as bcopy.
14553
dc70356c
TS
145542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14555
14556 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14557 * sysdeps/unix/syscalls.list (dup3): Likewise.
14558 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14559 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14560
9fb1a21f
L
145612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14562
14563 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14564 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14565
4822a2a5
L
145662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14567
14568 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14569 thread pointer.
14570 (TLS_IE): Use mov/add instead of movq/addq to load thread
14571 pointer.
14572 (TLS_GD_PREFIX): New.
14573 (TLS_GD): Use it.
14574
842b81d6
DM
145752012-05-11 David S. Miller <davem@davemloft.net>
14576
14577 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14578 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14579 (_FPU_SETCW): Likewise.
14580
1cf463cd
L
145812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14582
14583 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14584 is 32-byte aligned.
14585
60cc4a18
AS
145862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14587
14588 [BZ #11837]
14589 * iconvdata/gb18030.c: Update tables.
14590 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14591 characters specially.
14592 (BODY for TO_LOOP): Add encoding of missing ranges.
14593
febb44a4
TS
145942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14595
14596 [BZ #13673]
14597 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14598 * sysdeps/mach/hurd/dup3.c: Likewise.
14599 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14600 * sysdeps/powerpc/memmove.c:: Likewise.
14601
0a10fb9e
L
146022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14603
14604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14605 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14606
df8a552f
L
146072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14608
14609 * elf/elf.h (R_X86_64_RELATIVE64): New.
14610 (R_X86_64_NUM): Updated.
14611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14612 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14613 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14614 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14615 tst-quad1pie tst-quad2pie
14616 (modules-names): Add tst-quadmod1 tst-quadmod2.
14617 ($(objpfx)tst-quad1): New dependency.
14618 ($(objpfx)tst-quad2): Likewise.
14619 ($(objpfx)tst-quad1pie): Likewise.
14620 ($(objpfx)tst-quad2pie): Likewise.
14621 * sysdeps/x86_64/tst-quad1.c: New file.
14622 * sysdeps/x86_64/tst-quad1pie.c: New file.
14623 * sysdeps/x86_64/tst-quad2.c: Likewise.
14624 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14625 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14626 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14627 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14628 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14629
f34d6f84
ST
146302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14631
f42d41d1
ST
14632 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14633 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14634 * streams/stropts.h (t_scalar_t): Define type.
14635
3c3571fc
ST
14636 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14637 (_PATH_PRESERVE): Set to "/var/lib".
14638 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14639
61f06bd3
ST
14640 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14641 instead of int.
14642
918d4d71
ST
14643 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14644 if __dir_mkfile succeeded.
14645
f34d6f84
ST
14646 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14647 checking for _hurd_dtablesize. Unlock it right after having
14648 finished _hurd_dtable allocation.
14649
10589b4a
TS
146502012-05-10 Thomas Schwinge <thomas@schwinge.name>
14651
674cdbc7
TS
14652 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14653 * sysdeps/mach/hurd/configure: Regenerated.
14654 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14655 special-casing to...
14656 * sysdeps/gnu/configure.in: ... this new file.
14657 * sysdeps/unix/sysv/linux/configure: Regenerated.
14658 * sysdeps/gnu/configure: New generated file.
14659
8e41b99f
TS
14660 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14661 for Linux: use nsec instead of usec, as well as:
14662 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14663 members of type struct timespec.
14664 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14665 New macros.
14666 (struct stat64): Likewise.
14667 (_STATBUF_ST_NSEC): New macro.
14668 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14669
10589b4a
TS
14670 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14671 __strtoul_internal rather than strtoul.
14672
63643c85
PT
146732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14674
14675 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14676 and reject them.
14677
3faebe6a
ST
146782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14679
14680 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14681 which preserves existing values.
14682 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14683
c6474b07
PT
146842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14685
14686 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14687 TIMEOUT values. Return EINVAL for NFDS values either negative or
14688 greater than FD_SETSIZE.
14689
1043890b
ST
146902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14691
14692 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14693 allocated, call __vm_protect to finish enabling the existing space, and
14694 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14695 allocate the remainder.
14696
37ed8b9b
PT
146972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14698
14699 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14700 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14701
db653660
ST
147022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14703
37ed8b9b
PT
14704 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14705 sysdeps/mach/hurd/readlink.c.
b29d4053 14706
db653660
ST
14707 * posix/tst-sysconf.c (posix_options): Only use
14708 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14709 _POSIX_SYNCHRONIZED_IO when they are defined
14710 * sysdeps/mach/hurd/bits/posix_opt.h:
14711 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14712 (_XOPEN_REALTIME): Undefine macro.
14713 (_XOPEN_REALTIME_THREADS): Undefine macro.
14714 (_XOPEN_SHM): Undefine macro.
14715 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14716 macro to -1.
14717 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14718 macro to -1.
14719 (_POSIX_ASYNC_IO): Undefine macro.
14720 (_POSIX_PRIORITIZED_IO): Undefine macro.
14721 (_POSIX_SPIN_LOCKS): Define macro to -1.
14722
ee16e894
ST
14723 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14724 SA_NODEFER, SA_RESETHAND.
14725 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14726 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14727 F_DUPFD_CLOEXEC.
14728
6103ae3b
TS
147292012-05-10 Thomas Schwinge <thomas@schwinge.name>
14730
14731 * elf/Makefile (pldd-modules): Define unconditionally.
14732
80b4e5f3
TS
147332012-05-10 Thomas Schwinge <thomas@schwinge.name>
14734
14735 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14736
edadcbd6
ST
147372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14738
14739 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14740 Return ENOENT when name is empty.
14741 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14742
80694780
TS
147432012-05-10 Thomas Schwinge <thomas@schwinge.name>
14744
1792c087
TS
14745 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14746
80694780
TS
14747 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14748
6b645f0d
ST
147492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14750
80694780
TS
14751 Fix mlock in all cases except non-readable pages.
14752 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14753 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14754
6b645f0d
ST
14755 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14756 (__mkdir): When path is `/', just fail with EEXIST.
14757 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14758
e468f8a3
TS
147592012-05-10 Thomas Schwinge <thomas@schwinge.name>
14760
14761 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14762 <sys/uio.h> (for writev).
14763 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14764 and <sys/param.h> (for MIN).
14765
a4186cff
PT
147662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14767
14768 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14769 REQUESTED_TIME. Properly set the remaining time and return EINTR
14770 if interrupted.
14771
510bbf14
TS
147722012-05-10 Thomas Schwinge <thomas@schwinge.name>
14773
14774 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14775 Depend on against $(link-rpcuserlibs).
14776
5d5722e8
ST
147772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14778
a4186cff
PT
14779 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14780 (__libc_stack_end): Do not use attribute_relro.
14781 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14782 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14783 to libthread-provided value.
a4186cff
PT
14784 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14785 attribute_relro.
5d5722e8 14786
37233df9
TS
147872012-05-10 Thomas Schwinge <thomas@schwinge.name>
14788
be971a2b
TS
14789 [BZ #3748]
14790 * bits/libc-lock.h (__libc_once_get): New macro.
14791 * sysdeps/mach/bits/libc-lock.h: Likewise.
14792 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14793 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14794 instead of using implementation details.
14795
37233df9
TS
14796 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14797 * libio/freopen.c: Likewise.
14798 * libio/freopen64.c: Likewise.
14799 * misc/syslog.c: Likewise.
14800 * nscd/connections.c: Likewise.
14801 * nscd/netgroupcache.c: Likewise.
14802 * sysdeps/posix/getcwd.c: Likewise.
14803
38de94a5
RM
148042012-05-10 Roland McGrath <roland@hack.frob.com>
14805
14806 * math/w_ilogbf.c: Add #include <limits.h>.
14807
67530489
ST
148082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14809
a4186cff 14810 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14811 path instead of returning without unlocking.
14812
67530489
ST
14813 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14814 immediate-write ioctls.
14815 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14816
5aa3a74a
TS
148172012-05-10 Thomas Schwinge <thomas@schwinge.name>
14818
18bad2ae
TS
14819 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14820 __builtin_frame_address instead of making assumptions about the
14821 location of the return address relative to DATA. Force early load of
14822 the return address.
14823 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14824 __builtin_frame_address.
14825
5aa3a74a
TS
14826 dup3 for GNU Hurd.
14827 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14828 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14829 implement dup3 and do some further code clean-ups.
14830 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14831 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14832
ecd0de9a
ST
148332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14834
cd9fa985
ST
14835 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14836
a4186cff
PT
14837 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14838 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14839 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14840 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14841 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14842 d->port.lock.
802ca5a5 14843
a4186cff
PT
14844 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14845 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14846 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14847
bcf55240
TS
148482012-05-10 Thomas Schwinge <thomas@schwinge.name>
14849
6960eb42
TS
14850 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14851 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14852 definitions.
14853
eb43375f
TS
14854 accept4 for GNU Hurd.
14855 * include/sys/socket.h (__libc_accept4): New prototype.
14856 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14857 to implement __libc_accept4.
14858 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14859 __libc_accept4.
14860 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14861
bcf55240
TS
14862 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14863 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14864 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14865 signal-defines.sym.
14866
6178c55b
ST
148672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14868
a4186cff 14869 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14870
6f080c2f
TS
148712012-05-10 Thomas Schwinge <thomas@schwinge.name>
14872
14873 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14874 assertion on O_CLOEXEC flag.
14875 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14876 * hurd/intern-fd.c: Likewise.
14877 * hurd/port2fd.c: Likewise.
14878
bcfe3a54
ST
148792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14880
14881 [BZ #3906]
14882 * bits/in.h (IPV6_PKTINFO): Define new macro.
14883 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14884
89c9aa49
AZ
148852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14886
14887 [BZ #13954]
14888 [BZ #13955]
14889 [BZ #13956]
14890 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14892 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14893 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14895 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14896 * math/libm-test.inc (logb_test) : Additional logb tests.
14897
021db4be
AJ
148982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14899 Andreas Jaeger <aj@suse.de>
14900
14901 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14902 * configure: Regenerated.
14903 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14904 * config.make.in (link-obsolete-rpc): New substituted variable.
14905 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14906 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14907 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14908 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14909 so that libc.a contains the symbols.
14910 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14911 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14912 * sunrpc/auth_none.c: Likewise.
14913 * sunrpc/auth_unix.c: Likewise.
14914 * sunrpc/authdes_prot.c: Likewise.
14915 * sunrpc/authuxprot.c: Likewise.
14916 * sunrpc/clnt_gen.c: Likewise.
14917 * sunrpc/clnt_perr.c: Likewise.
14918 * sunrpc/clnt_raw.c: Likewise.
14919 * sunrpc/clnt_simp.c: Likewise.
14920 * sunrpc/clnt_tcp.c: Likewise.
14921 * sunrpc/clnt_udp.c: Likewise.
14922 * sunrpc/clnt_unix.c: Likewise.
14923 * sunrpc/des_crypt.c: Likewise.
14924 * sunrpc/des_soft.c: Likewise.
14925 * sunrpc/get_myaddr.c: Likewise.
14926 * sunrpc/key_call.c: Likewise.
14927 * sunrpc/key_prot.c: Likewise.
14928 * sunrpc/netname.c: Likewise.
14929 * sunrpc/pm_getmaps.c: Likewise.
14930 * sunrpc/pm_getport.c: Likewise.
14931 * sunrpc/pmap_clnt.c: Likewise.
14932 * sunrpc/pmap_prot.c: Likewise.
14933 * sunrpc/pmap_prot2.c: Likewise.
14934 * sunrpc/pmap_rmt.c: Likewise.
14935 * sunrpc/publickey.c: Likewise.
14936 * sunrpc/rpc_cmsg.c: Likewise.
14937 * sunrpc/rpc_common.c: Likewise.
14938 * sunrpc/rpc_dtable.c: Likewise.
14939 * sunrpc/rpc_prot.c: Likewise.
14940 * sunrpc/rpc_thread.c: Likewise.
14941 * sunrpc/rtime.c: Likewise.
14942 * sunrpc/svc.c: Likewise.
14943 * sunrpc/svc_auth.c: Likewise.
14944 * sunrpc/svc_raw.c: Likewise.
14945 * sunrpc/svc_run.c: Likewise.
14946 * sunrpc/svc_tcp.c: Likewise.
14947 * sunrpc/svc_udp.c: Likewise.
14948 * sunrpc/svc_unix.c: Likewise.
14949 * sunrpc/svcauth_des.c: Likewise.
14950 * sunrpc/xcrypt.c: Likewise.
14951 * sunrpc/xdr.c: Likewise.
14952 * sunrpc/xdr_array.c: Likewise.
14953 * sunrpc/xdr_float.c: Likewise.
14954 * sunrpc/xdr_intXX_t.c: Likewise.
14955 * sunrpc/xdr_mem.c: Likewise.
14956 * sunrpc/xdr_rec.c: Likewise.
14957 * sunrpc/xdr_ref.c: Likewise.
14958 * sunrpc/xdr_sizeof.c: Likewise.
14959 * sunrpc/xdr_stdio.c: Likewise.
14960
b5c086a2
RM
149612012-05-10 Roland McGrath <roland@hack.frob.com>
14962
14963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14964 change. Update copyright years.
14965
6d74dd09
JM
149662012-05-10 Joseph Myers <joseph@codesourcery.com>
14967
14968 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14969
28e72501
MK
149702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14971 Joseph Myers <joseph@codesourcery.com>
14972 Paul Pluzhnikov <ppluzhnikov@google.com>
14973
14974 [BZ #14012]
14975 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14976 requiring rpcgen.
14977 [cross-compiling] (extra-libs): Likewise.
14978 [cross-compiling] (extra-libs-others): Likewise.
14979 [cross-compiling] (librpcsvc-routines): Likewise.
14980 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14981 [cross-compiling] (omit-deps): Likewise.
14982 (sunrpc-CPPFLAGS): New variable.
14983 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14984 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14985 (cross-rpcgen-objs): New variable.
14986 (extra-objs): Append $(cross-rpcgen-objs).
14987 ($(cross-rpcgen-objs)): New rule.
14988 ($(objpfx)cross-rpcgen): Likewise.
14989 (rpcgen-cmd): Define to use $(built-program-file). Expand
14990 comment.
14991 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14992 ($(objpfx)x%.stmp): Likewise.
14993 * sunrpc/proto.h [IS_IN_build] (_): Define.
14994 [IS_IN_build] (_libc_intl_domainname): Likewise.
14995
c8c59454
L
149962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14997
14998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14999 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15000 and R_X86_64_TPOFF64.
15001
6f27cd16
JM
150022012-05-10 Joseph Myers <joseph@codesourcery.com>
15003
15004 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15005 sysdeps/unix/sysv/syscalls.list.
15006 (stime): Likewise.
15007 (utime): Likewise.
15008 * sysdeps/unix/sysv/syscalls.list: Remove file.
15009
02467e1c
PE
150102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15011
15012 [BZ #3440]
15013 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15014 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15015 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15016 (__LC_IDENTIFICATION): Make these macros useful in #if
15017 expressions, as required by C99.
15018
da392631
AS
150192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15020
15021 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15022 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15023 after this.
15024
8115f29b
L
150252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15026
15027 * stdlib/longlong.h: Updated from GCC.
15028
bdd74070
AJ
150292012-05-09 Andreas Jaeger <aj@suse.de>
15030
edfe0dbe
AJ
15031 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15032 default is first entry.
15033 (run_mode): Set type.
15034 (main): Remove informal message about syslog.
15035 (options): Fix typo.
15036
bcfe3a54
ST
15037 [BZ #14053]
15038 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15039 to asm.
bcfe3a54
ST
15040 (lrint): Likewise.
15041 (llrintf): Likewise.
15042 (llrint): Likewise.
15043 (rint): Likewise.
15044 (rintf): Likewise.
15045 (nearbyint): Likewise.
15046 (nearbyintf): Likewise.
bdd74070 15047
91d8d69e
AJ
150482012-05-09 Andreas Jaeger <aj@suse.de>
15049 Pedro Alves <palves@redhat.com>
15050
15051 * nscd/nscd.c (run_mode): Use enum.
15052 (main): Cleanup coding style issue.
15053
bb90b80b
AJ
150542012-05-09 Alexandre Oliva <aoliva@redhat.com>
15055 Andreas Jaeger <aj@suse.de>
15056
bcfe3a54
ST
15057 * nscd/nscd.c (go_background): Replaced with...
15058 (run_mode): ... this.
bb90b80b 15059 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15060 (options): Add -F --foreground.
15061 (main): Implement it.
15062 (parse_opt): Parse it.
bb90b80b 15063
1a4b75a1
AJ
150642012-05-09 Andreas Jaeger <aj@suse.de>
15065
15066 [BZ #14083]
15067 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15068 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15069 -Wconversion warning.
15070 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15071 Likewise.
15072
b1cc2472
JM
150732012-05-09 Joseph Myers <joseph@codesourcery.com>
15074
15075 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15076 == 0.
15077 (LC_ALL): Use macro-int-constant.
15078 (LC_COLLATE): Likewise.
15079 (LC_CTYPE): Likewise.
15080 (LC_MESSAGES): Likewise.
15081 (LC_MONETARY): Likewise.
15082 (LC_NUMERIC): Likewise.
15083 (LC_TIME): Likewise.
15084 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15085 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15086 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15087 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15088 Specify type.
15089 [C99-based standards] (float_t): Expect type.
15090 [C99-based standards] (double_t): Expect type.
15091 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15092 type.
15093 [C99-based standards] (HUGE_VALL): Likewise.
15094 [C99-based standards] (INFINITY): Likewise.
15095 [C99-based standards] (NAN): Likewise.
15096 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15097 [C99-based standards] (FP_NAN): Likewise.
15098 [C99-based standards] (FP_NORMAL): Likewise.
15099 [C99-based standards] (FP_SUBNORMAL): Likewise.
15100 [C99-based standards] (FP_ZERO): Likewise.
15101 [C99-based standards] (FP_FAST_FMA): Use
15102 optional-macro-int-constant. Specify type. Require == 1.
15103 [C99-based standards] (FP_FAST_FMAF): Likewise.
15104 [C99-based standards] (FP_FAST_FMAL): Likewise.
15105 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15106 [C99-based standards] (FP_ILOGBNAN): Likewise.
15107 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15108 Specify type.
15109 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15110 [C99-based standards] (math_errhandling): Specify type.
15111 [ISO99 || ISO11] (signgam): Do not allow.
15112 [non-C99-based standards] (copysignf): Do not allow.
15113 [non-C99-based standards] (exp2f): Likewise.
15114 [non-C99-based standards] (log2f): Likewise.
15115 [non-C99-based standards] (modff): Allow.
15116 [non-C99-based standards] (erff): Do not allow.
15117 [non-C99-based standards] (erfcf): Likewise.
15118 [non-C99-based standards] (gammaf): Likewise.
15119 [non-C99-based standards] (hypotf): Likewise.
15120 [non-C99-based standards] (j0f): Likewise.
15121 [non-C99-based standards] (j1f): Likewise.
15122 [non-C99-based standards] (jnf): Likewise.
15123 [non-C99-based standards] (lgammaf): Likewise.
15124 [non-C99-based standards] (tgammaf): Likewise.
15125 [non-C99-based standards] (y0f): Likewise.
15126 [non-C99-based standards] (y1f): Likewise.
15127 [non-C99-based standards] (ynf): Likewise.
15128 [non-C99-based standards] (isnanf): Likewise.
15129 [non-C99-based standards] (acoshf): Likewise.
15130 [non-C99-based standards] (asinhf): Likewise.
15131 [non-C99-based standards] (atanhf): Likewise.
15132 [non-C99-based standards] (cbrtf): Likewise.
15133 [non-C99-based standards] (expm1f): Likewise.
15134 [non-C99-based standards] (ilogbf): Likewise.
15135 [non-C99-based standards] (log1pf): Likewise.
15136 [non-C99-based standards] (logbf): Likewise.
15137 [non-C99-based standards] (nextafterf): Likewise.
15138 [non-C99-based standards] (remainderf): Likewise.
15139 [non-C99-based standards] (rintf): Likewise.
15140 [non-C99-based standards] (scalbf): Likewise.
15141 [non-C99-based standards] (copysignl): Likewise.
15142 [non-C99-based standards] (exp2l): Likewise.
15143 [non-C99-based standards] (log2l): Likewise.
15144 [non-C99-based standards] (modfl): Allow.
15145 [non-C99-based standards] (erfl): Do not allow.
15146 [non-C99-based standards] (erfcl): Likewise.
15147 [non-C99-based standards] (gammal): Likewise.
15148 [non-C99-based standards] (hypotl): Likewise.
15149 [non-C99-based standards] (j0l): Likewise.
15150 [non-C99-based standards] (j1l): Likewise.
15151 [non-C99-based standards] (jnl): Likewise.
15152 [non-C99-based standards] (lgammal): Likewise.
15153 [non-C99-based standards] (tgammal): Likewise.
15154 [non-C99-based standards] (y0l): Likewise.
15155 [non-C99-based standards] (y1l): Likewise.
15156 [non-C99-based standards] (ynl): Likewise.
15157 [non-C99-based standards] (isnanl): Likewise.
15158 [non-C99-based standards] (acoshl): Likewise.
15159 [non-C99-based standards] (asinhl): Likewise.
15160 [non-C99-based standards] (atanhl): Likewise.
15161 [non-C99-based standards] (cbrtl): Likewise.
15162 [non-C99-based standards] (expm1l): Likewise.
15163 [non-C99-based standards] (ilogbl): Likewise.
15164 [non-C99-based standards] (log1pl): Likewise.
15165 [non-C99-based standards] (logbl): Likewise.
15166 [non-C99-based standards] (nextafterl): Likewise.
15167 [non-C99-based standards] (remainderl): Likewise.
15168 [non-C99-based standards] (rintl): Likewise.
15169 [non-C99-based standards] (scalbl): Likewise.
15170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15171 [non-C99-based standards] (FP_*): Do not allow.
15172 [C99-based standards] (FP_*): Change to
15173 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15174 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15175 allow.
15176 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15177 (SIG_ERR): Likewise.
15178 [X/Open-based standards] (SIG_HOLD): Likewise.
15179 (SIG_IGN): Likewise.
15180 (SIGABRT): Use macro-int-constant. Specify type. Require
15181 positive value.
15182 (SIGFPE): Likewise.
15183 (SIGILL): Likewise.
15184 (SIGINT): Likewise.
15185 (SIGSEGV): Likewise.
15186 (SIGTER): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15188 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15189 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15190 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15191 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15193 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15204 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15205 [X/Open-based standards] (SIGTRAP): Likewise.
15206 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15207 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15209 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15210 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15211 allow.
15212
b9f1922d
IW
152132012-05-08 Ian Wienand <ianw@vmware.com>
15214
15215 [BZ #14080]
15216 * time/tzset.c (__tzset_parse_tz): Update default rules for
15217 daylight time changes in the Energy Policy Act of 2005.
15218
1db86e88
AJ
152192012-05-09 Andreas Jaeger <aj@suse.de>
15220
15221 [BZ #13983]
15222 * elf/ldconfig.c (parse_conf): Change string to make clear that
15223 ldconfig only issued a warning if ld.so.conf does not exist.
15224
dee4a4e3
DM
152252012-05-08 David S. Miller <davem@davemloft.net>
15226
ee0db190
DM
15227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15228 movxtod instead of popping the value on the stack.
15229
dee4a4e3
DM
15230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15231
6a43ec98
CD
152322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15233
15234 * config.h.in: Add HAVE_ARM_PCS_VFP.
15235
05c2c961
RMG
152362012-05-08 Roland Mc Grath <roland@hack.frob.com>
15237
bcfe3a54
ST
15238 [BZ #13979]
15239 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15240 checking but the checks are disabled for any reason.
05c2c961 15241
4b30f61a
L
152422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15243
15244 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15245 and ELF64_R_TYPE with ELFW(R_TYPE).
15246
eee2bc67
JM
152472012-05-08 Joseph Myers <joseph@codesourcery.com>
15248
7ea5391a
JM
15249 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15250 (ulimit): Likewise.
15251
eee2bc67
JM
15252 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15253 (settimeofday): Likewise.
15254
abb66a67
MF
152552012-05-08 Mike Frysinger <vapier@gentoo.org>
15256
15257 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15258 a struct th_u2 inside the union, and move tu_block/tu_code into
15259 a new th_u3 union of tu_block/tu_code inside of that. Move
15260 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15261 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15262 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15263 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15264 (th_stuff): Change to th_u1.tu_stuff.
15265 (th_data): Define.
15266 (th_msg): Change to th_u1.th_u2.tu_data.
15267
7f18b530
DM
152682012-05-07 David S. Miller <davem@davemloft.net>
15269
05760585
DM
15270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15271
7f18b530
DM
15272 [BZ #14074]
15273 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15274 (SETUP_PIC_REG): Use it.
15275 (SETUP_PIC_REG_LEAF): Use it.
15276
495fd99f
JM
152772012-05-07 Joseph Myers <joseph@codesourcery.com>
15278
15279 [BZ #13885]
15280 [BZ #13923]
15281 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15287 e_expl.S.
15288 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15289 USE_AS_EXPM1L.
15290 (EXPL_FINITE): Likewise.
15291 (FLDLOG): Likewise.
15292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15293 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15294 e_expl.S.
15295 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15296 test of -max_value argument for long double.
15297 * sysdeps/i386/fpu/libm-test-ulps: Update.
15298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299
6693d694
DM
153002012-05-06 David S. Miller <davem@davemloft.net>
15301
15302 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15303 quad soft-float symbols whose references which are compiler
15304 generated.
15305 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15306
6c23e11c
JM
153072012-05-06 Joseph Myers <joseph@codesourcery.com>
15308
d8b82cad
JM
15309 [BZ #13884]
15310 [BZ #13914]
15311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15312 USE_AS_EXP10L.
15313 (EXPL_FINITE): Likewise.
15314 (FLDLOG): Likewise.
15315 (c0): Likewise.
15316 (c1): Likewise.
15317 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15318 Adjust comments for base varying.
15319 (__expl_finite): Change alias to EXPL_FINITE.
15320 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15321 e_expl.S.
15322 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15323 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15325 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15326 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15327 USE_AS_EXP10L.
15328 (EXPL_FINITE): Likewise.
15329 (FLDLOG): Likewise.
15330 (c0): Likewise.
15331 (c1): Likewise.
15332 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15333 Adjust comments for base varying.
15334 (__expl_finite): Change alias to EXPL_FINITE.
15335 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15336 tests for bugs.
15337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15338
6c23e11c
JM
15339 [BZ #14064]
15340 * math/libm-test.inc (check_float_internal): Correct ulp
15341 calculation for subnormal expected results.
15342
29ba805c
AJ
153432012-05-06 Andreas Jaeger <aj@suse.de>
15344
15345 * Makeconfig (+math-flags): New, set to -frounding-math.
15346 (+cflags): Add +math-flags so that all of glibc gets compiled with
15347 it.
15348
15349 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15350
7b17aeda
JM
153512012-05-05 Joseph Myers <joseph@codesourcery.com>
15352
5779f134
JM
15353 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15354 Disable one test.
15355
41498f4d
JM
15356 [BZ #13787]
15357 [BZ #13922]
15358 [BZ #14036]
15359 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15360 (__ieee754_expl): Allow for and saturate large arguments.
15361 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15362 (u_threshold): Likewise.
15363 (__exp): Call __ieee754_exp before checking for overflow and
15364 underflow.
15365 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15366 (u_threshold): Likewise.
15367 (__expf): Call __ieee754_expf before checking for overflow and
15368 underflow.
15369 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15370 (u_threshold): Likewise.
15371 (__expl): Call __ieee754_expl before checking for overflow and
15372 underflow.
15373 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15374 (__ieee754_expl): Allow for and saturate large arguments.
15375 * math/libm-test.inc (exp_test): Add another test. Do not allow
15376 missing overflow exception on overflow.
15377 (expm1_test): Do not allow missing overflow exception on overflow.
15378
6698b8bf
JM
15379 * sysdeps/i386/fpu/e_expl.c: Move to ...
15380 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15381 rather than using inline asm.
15382 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15383 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15384 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15385
7b17aeda
JM
15386 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15387 (nice): Likewise.
15388 (poll): Likewise.
15389 (signal): Likewise.
15390 (time): Likewise.
15391 (times): Likewise.
15392
f7c85819
JM
153932012-05-04 Joseph Myers <joseph@codesourcery.com>
15394
15395 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15396 sysdeps/unix/common/syscalls.list.
15397 (fchmod): Likewise.
15398 (fchown): Likewise.
15399 (ftruncate): Likewise.
15400 (getrusage): Likewise.
15401 (gettimeofday): Likewise.
15402 (setpgid): Likewise.
15403 (setregid): Likewise.
15404 (setreuid): Likewise.
15405 (sigaction): Likewise.
15406 (truncate): Likewise.
15407 (vhangup): Likewise.
15408 * sysdeps/unix/common/syscalls.list: Remove file.
15409 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15410 * sysdeps/unix/sysv/linux/Implies: Likewise.
15411
336270d0
L
154122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15413
15414 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15416 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15417 Moved to ...
15418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15419 Here.
15420 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15421 to ...
15422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15423 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15424 to ...
15425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15426 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15427 to ...
15428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15429 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15430 to ...
15431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15432 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15433 to ...
15434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15436 to ...
15437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15438 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15439 to ...
15440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15441 Here.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15443 to ...
15444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15445 Here.
15446 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15447 to ...
15448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15449 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15450 Moved to ...
15451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15452 Here.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15454 to ...
15455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15456
d128e450
JM
154572012-05-04 Joseph Myers <joseph@codesourcery.com>
15458
fa8ee516
JM
15459 * sysdeps/unix/common/bits/dirent.h: Remove file.
15460 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15461
d128e450
JM
15462 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15463 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15464 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15465 * sysdeps/unix/bsd/isatty.c: Likewise.
15466 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15467 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15468 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15469
ff8faaf0 154702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15471
62881be4 15472 [BZ #13563]
31dc8730
AZ
15473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15474 long double comparison inaccuracies.
15475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15477
6fef930c
AS
154782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15479
15480 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15482
8f203e6c
JM
154832012-05-04 Joseph Myers <joseph@codesourcery.com>
15484
15485 [BZ #14049]
15486 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15487 nonzero digits before rounding a hex value.
15488 * stdlib/tst-strtod.c (tests): Add another test.
15489
5197d9c2
AK
154902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15491
15492 * sysdeps/s390/fpu/libm-test-ulps: Update.
15493
f0c1dedf
AJ
154942012-05-03 Andreas Jaeger <aj@suse.de>
15495
15496 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15497 does not get optimized out.
15498 (malloc_opt_barrier): New.
15499
a65ef2ae 155002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15501 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15502
2b942cb7 15503 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15504 intermediate file deletion.
2b942cb7 15505 (generated): Add .symlist files.
a65ef2ae 15506
54b71e02
JM
155072012-05-03 Joseph Myers <joseph@codesourcery.com>
15508
15509 [BZ #13775]
15510 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15511 Redirect under this condition.
15512 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15513 [__USE_GNU] (__dprintf_chk): Not under this condition.
15514 [__USE_GNU] (__vdprintf_chk): Likewise.
15515 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15516 under this condition.
15517 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15518 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15519 [__USE_XOPEN2K8] (vdprintf): Likewise.
15520 [__USE_GNU] (__dprintf_chk): Not under this condition.
15521 [__USE_GNU] (__vdprintf_chk): Likewise.
15522 [__USE_GNU] (dprintf): Likewise.
15523 [__USE_GNU] (vdprintf): Likewise.
15524
d3dfcc41
RM
155252012-05-03 Roland McGrath <roland@hack.frob.com>
15526
15527 * elf/Makefile (common-generated): Set this instead of generated for
15528 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15529 $(all-built-dso)-derived lists.
15530
7ac30cc5
AJ
155312012-05-03 Andreas Jaeger <aj@suse.de>
15532
0c51e550
AJ
15533 * sysdeps/i386/fpu/libm-test-ulps: Update.
15534
7ac30cc5
AJ
15535 * FAQ: Removed.
15536 * FAQ.in: Likewise.
15537 * scripts/gen-FAQ.pl: Likewise.
15538 * manual/install.texi (Installation): Point to online location of
15539 FAQ.
15540 * Makefile (files-for-dist): Remove FAQ.
15541 (FAQ): Remove.
15542
d4c2917f
AM
155432012-05-02 Allan McRae <allan@archlinux.org>
15544
15545 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15546 (LDFLAGS-reldepmod5.so): Likewise.
15547 (LDFLAGS-reldep6mod1.so): Likewise.
15548 (LDFLAGS-reldep6mod4.so): Likewise.
15549 (LDFLAGS-reldep8mod3.so): Likewise.
15550 (LDFLAGS-unload4mod1.so): Likewise.
15551 (LDFLAGS-unload4mod2.so): Likewise.
15552 (LDFLAGS-tst-initorder): Likewise.
15553 (LDFLAGS-tst-initordera2.so): Likewise.
15554 (LDFLAGS-tst-initordera3.so): Likewise.
15555 (LDFLAGS-tst-initordera4.so): Likewise.
15556 (LDFLAGS-tst-initorderb2.so): Likewise.
15557 (LDFLAGS-noload): Likewise.
15558 (LDFLAGS-next): Likewise.
15559 (LDFLAGS-order2mod1.so): Likewise.
15560 (LDFLAGS-order2mod2.so): Likewise.
15561 (LDFLAGS-tst-initorder2): Likewise.
15562 (LDFLAGS-tst-initorder2a.so): Likewise.
15563 (LDFLAGS-tst-initorder2b.so): Likewise.
15564 (LDFLAGS-tst-initorder2c.so): Likewise.
15565 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15566
d77f993f
DM
155672012-05-02 David S. Miller <davem@davemloft.net>
15568
15569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15570
171a70b4
PP
155712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15572
15573 [BZ #14055]
15574 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15575
0be196ad
AJ
155762012-05-02 Andreas Jaeger <aj@suse.de>
15577
15578 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15579 since we manipulate rounding mode.
15580 (CPPFLAGS-test-idouble.c): Likewise.
15581 (CPPFLAGS-test-ifloat.c): Likewise.
15582 (CFLAGS-test-ldouble.c): Likewise.
15583 (CFLAGS-test-double.c): Likewise.
15584 (CFLAGS-test-float.c): Likewise.
15585 (CFLAGS-test-misc.c): Likewise.
15586 (CFLAGS-test-test-fenv.c): Likewise.
15587
4f9d04aa
AZ
155882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15589
2b942cb7
RM
15590 [BZ #2550]
15591 [BZ #2570]
15592 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15593 comparisons to determine direction to adjust input.
4f9d04aa 15594
82a79e7d
RM
155952012-05-01 Roland McGrath <roland@hack.frob.com>
15596
f5a01ca9
RM
15597 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15598 output to the target.
15599
90fe4186
RM
15600 * scripts/localplt.awk: New file.
15601 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15602 (check-localplt-CFLAGS): Variable removed.
15603 ($(all-built-dso:=.jmprel)): New static pattern rule.
15604 (generated): Add those targets.
15605 (localplt-built-dso): New variable.
15606 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15607
15608 * elf/check-localplt.c: File removed.
15609
82397ed6
RM
15610 * scripts/check-execstack.awk: New file.
15611 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15612 (check-execstack-CFLAGS): Variable removed.
15613 ($(objpfx)check-execstack.h): Target removed.
15614 ($(objpfx)execstack-default): New target.
15615 (generated): Add that instead of check-execstack.h.
15616 ($(all-built-dso:=.phdr)): New static pattern rule.
15617 (generated): Add those targets.
15618 * elf/check-execstack.c: File removed.
15619
82a79e7d
RM
15620 * scripts/check-textrel.awk: New file.
15621 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15622 (check-textrel-CFLAGS): Variable removed.
15623 (all-built-dso): Use := to define.o
15624 ($(all-built-dso:=.dyn)): New static pattern rule.
15625 (generated): Add those targets.
15626 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15627 * config.make.in (READELF): New substituted variable.
15628 * elf/check-textrel.c: File removed.
15629
62fde54f 156302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15631
615605c9
JM
15632 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15633 allow.
15634 * conform/data/ctype.h-data [C99-based standards] (isblank):
15635 Expect function.
15636 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15637 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15639 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15640 Specify type. Require positive value.
15641 (EILSEQ): Likewise.
15642 (ERANGE): Likewise.
15643 [ISO || POSIX] (EILSEQ): Do not expect.
15644 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15645 Specify type. Require positive value.
15646 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15720 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15721 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15722 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15723 Require >= 2.
15724 (FLT_ROUNDS): Expect as macro, not constant.
15725 (FLT_MANT_DIG): Use macro-int-constant.
15726 (DBL_MANT_DIG): Likewise.
15727 (LDBL_MANT_DIG): Likewise.
15728 (FLT_DIG): Likewise.
15729 (DBL_DIG): Likewise.
15730 (LDBL_DIG): Likewise.
15731 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15732 (DBL_MIN_EXP): Likewise.
15733 (LDBL_MIN_EXP): Likewise.
15734 (FLT_MAX_EXP): Use macro-int-constant.
15735 (DBL_MAX_EXP): Likewise.
15736 (LDBL_MAX_EXP): Likewise.
15737 (FLT_MAX_10_EXP): Likewise.
15738 (DBL_MAX_10_EXP): Likewise.
15739 (LDBL_MAX_10_EXP): Likewise.
15740 (FLT_MAX): Use macro-constant.
15741 (DBL_MAX): Likewise.
15742 (LDBL_MAX): Likewise.
15743 (FLT_EPSILON): Use macro-constant. Give upper bound.
15744 (DBL_EPSILON): Likewise.
15745 (LDBL_EPSILON): Likewise.
15746 (FLT_MIN): Likewise.
15747 (DBL_MIN): Likewise.
15748 (LDBL_MIN): Likewise.
15749 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15750 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15751 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15752 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15753 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15754 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15755 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15756 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15757 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15758 [ISO11] (FLT_TRUE_MIN): Likewise.
15759 [ISO11] (LDBL_TRUE_MIN): Likewise.
15760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15761 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15762 (SCHAR_MIN): Use macro-int-constant. Specify type.
15763 (SCHAR_MAX): Likewise.
15764 (UCHAR_MAX): Likewise.
15765 (CHAR_MIN): Likewise.
15766 (CHAR_MAX): Likewise.
15767 (MB_LEN_MAX): Use macro-int-constant.
15768 (SHRT_MIN): Use macro-int-constant. Specify type.
15769 (SHRT_MAX): Likewise.
15770 (USHRT_MAX): Likewise.
15771 (INT_MAX): Likewise.
15772 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15773 bound negative.
15774 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15775 bound with "U".
15776 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15777 bound with "L".
15778 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15779 bound negative. Suffix upper bound with "L".
15780 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15781 bound with "UL".
15782 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15783 Specify type.
15784 [C99-based standards] (LLONG_MAX): Likewise.
15785 [C99-based standards] (ULLONG_MAX): Likewise.
15786 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15787 == 0.
15788 [ISO11] (max_align_t): Require type.
15789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15790
c9140a62
JM
15791 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15792 from $CFLAGS, without defining away __attribute__ calls.
15793 (checknamespace): Use $CFLAGS_namespace.
15794
9af0bf29
JM
15795 * conform/conformtest.pl (@keywords): Only include C99 keywords
15796 for standards based on C99 or C11.
15797
343222a2
JM
15798 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15799 Disable tests.
15800 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15801 UNIX98]: Likewise.
15802
661f8cf0
JM
15803 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15804 usability of symbols in #if.
15805
ee74b9cb
JM
15806 * conform/conformtest.pl: If macro or constant types start
15807 "promoted:", expect the symbol to be of the following type
15808 promoted by the integer promotions.
62fde54f 15809
aafc49b3
JM
15810 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15811 in one place. Also handle "macro-constant".
15812
fefdf574
JM
15813 * conform/conformtest.pl: Only accept expected macro values with
15814 "==". Parse all "macro" lines in one place.
15815 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15816
f2d922fe
JM
15817 * conform/conformtest.pl: Handle braced types on "constant" lines
15818 instead of handling "typed-constant".
15819 * conform/data/signal.h-data: Use "constant" instead of
15820 "typed-constant".
15821
d22956c9
JM
15822 * conform/conformtest.pl: Handle "optional-" at start of lines in
15823 one place rather than duplicating several cases. Handle each
15824 format of "macro" line with initial "optional-".
15825
028e2e38
JM
15826 * conform/conformtest.pl: Only accept expected constant or
15827 optional-constant values with "==". Parse all "constant" lines in
15828 one place. Parse all "optional-constant" lines in one place.
15829 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15830 * conform/data/fmtmsg.h-data: Likewise.
15831 * conform/data/netinet/in.h-data: Likewise.
15832 * conform/data/tar.h-data: Likewise.
15833 * conform/data/limits.h-data: Use "==" form on "constant" and
15834 "optional-constant" lines.
15835
1b8f2850
JM
15836 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15837 Use -std=c99 for XOPEN2K.
15838 (@knownproblems): Remove.
15839 (newtoken): Don't check %isknown.
15840
a05a144b
JM
15841 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15842 Do not expect macro.
15843 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15855 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15856 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15873 [XPG3] (acosh): Likewise.
15874 [XPG3] (asinh): Likewise.
15875 [XPG3] (atanh): Likewise.
15876 [XPG3] (cbrt): Likewise.
15877 [XPG3] (expm1): Likewise.
15878 [XPG3] (ilogb): Likewise.
15879 [XPG3] (log1p): Likewise.
15880 [XPG3] (logb): Likewise.
15881 [XPG3] (nextafter): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15884 [XPG3] (remainder): Likewise.
15885 [XPG3] (rint): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15893 [UNIX98 || XOPEN2K] (scalb): Expect.
15894 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15895 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16031
73c5ebe3
JM
16032 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16033 _XOPEN_SOURCE_EXTENDED for XPG4.
16034
39c33b6c
JM
16035 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16036
62fde54f
JM
16037 * Makeconfig (localtime): Remove variable.
16038 (inst_localtime-file): Likewise.
16039
0741d64c
AS
160402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16041
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16043 Update.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16045 Update.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16047 Update.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16049 Update.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16051 Update.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16053 Update.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16055 Update.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16057 Update.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16059 Update.
16060
7cb029ee
JM
160612012-05-01 Joseph Myers <joseph@codesourcery.com>
16062
16063 [BZ #2550]
16064 [BZ #2570]
16065 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16066 comparisons to determine direction to adjust input.
16067 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16068 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16069 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16070 Likewise.
16071 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16072 Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16074 Likewise.
16075 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16077 Likewise.
16078 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16079 Likewise.
16080 * math/libm-test.inc (nexttoward_test): Add more tests.
16081
412bd966
AS
160822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16083
16084 [BZ #14040]
16085 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16086 in version GLIBC_2.1, not GLIBC_2.0.
16087 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16088 Likewise.
16089
9568c0c2
JM
160902012-04-30 Joseph Myers <joseph@codesourcery.com>
16091
adfbc8ac
JM
16092 [BZ #13942]
16093 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16094 (1 - x) * (1 + x).
16095 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16096 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16097 * math/libm-test.inc (acos_test): Add more tests.
16098 (asin_test): Likewise.
16099 * sysdeps/i386/fpu/libm-test-ulps: Update.
16100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16101
5ba3cc69
JM
16102 [BZ #14034]
16103 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16104 of square root.
16105 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16106 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16107 * math/libm-test.inc (acos_test_tonearest): New function.
16108 (acos_test_towardzero): Likewise.
16109 (acos_test_downward): Likewise.
16110 (acos_test_upward): Likewise.
16111 (asin_test_tonearest): Likewise.
16112 (asin_test_towardzero): Likewise.
16113 (asin_test_downward): Likewise.
16114 (asin_test_upward): Likewise.
16115 (main): Call the new functions.
16116 * sysdeps/i386/fpu/libm-test-ulps: Update.
16117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16118
9568c0c2
JM
16119 [BZ #13884]
16120 [BZ #13924]
16121 * math/e_exp10.c: Include <float.h>.
16122 (__ieee754_exp10): Handle underflow here rather than multiplying
16123 large negative argument by M_LN10.
16124 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16125 of __ieee754_expf.
16126 * math/e_exp10l.c: Include <float.h>.
16127 (__ieee754_exp10l): Handle underflow here rather than multiplying
16128 large negative argument by M_LN10l.
16129 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16130 spurious overflow exception on underflow.
16131
5ac3ea17
MP
161322012-04-29 Marek Polacek <polacek@redhat.com>
16133
16134 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16135 (__fortify_function): New macro.
16136 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16137 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16138 __extern_always_inline.
16139 * libio/bits/stdio2.h: Likewise.
16140 * libio/bits/stdio.h: Likewise.
16141 * string/string.h: Likewise.
16142 * string/bits/string3.h: Likewise.
16143 * include/stdio.h: Likewise.
16144 * stdlib/bits/stdlib.h: Likewise.
16145 * stdlib/stdlib.h: Likewise.
16146 * rt/bits/mqueue2.h: Likewise.
16147 * rt/mqueue.h: Likewise.
16148 * posix/bits/unistd.h: Likewise.
16149 * posix/unistd.h: Likewise.
16150 * io/bits/poll2.h: Likewise.
16151 * io/bits/fcntl2.h: Likewise.
16152 * io/fcntl.h: Likewise.
16153 * io/sys/poll.h: Likewise.
16154 * misc/bits/syslog.h: Likewise.
16155 * misc/bits/syslog-ldbl.h: Likewise.
16156 * misc/sys/syslog.h: Likewise.
16157 * socket/bits/socket2.h: Likewise.
16158 * socket/sys/socket.h: Likewise.
16159 * debug/tst-chk1.c: Likewise.
16160 * wcsmbs/bits/wchar2.h: Likewise.
16161 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16162 * wcsmbs/wchar.h: Likewise.
16163
ecf0ebfb
AJ
161642012-04-29 Andreas Jaeger <aj@suse.de>
16165
16166 * Makerules (tests): Remove enable-check-abi protection.
16167 (check-abi-warn): Remove.
16168 (check-abi-%): Remove check-abi-warn usage.
16169
16170 * configure.in: Remove check-abi configure option.
16171 * configure: Regenerated.
16172 * config.make.in (enable-check-abi): Remove.
16173
6d5c57fa
AS
161742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16175
24c5d07e 16176 [BZ #14033]
ded5180a
AS
16177 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16178 double functions to double *_finite functions.
16179
7e0d315d
AS
16180 [BZ #13941]
16181 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16182 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16183 LDBL_MIN_EXP.
16184 * stdio-common/Makefile (tests): Add tst-sprintf3.
16185 * stdio-common/tst-sprintf3.c: New file.
16186
6d5c57fa
AS
16187 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16188 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16189
0749ff8b
JM
161902012-04-28 Joseph Myers <joseph@codesourcery.com>
16191
16192 * conform/conformtest.pl: Remove duplicate typed-constant
16193 handling.
16194
8dbd5d7b
DM
161952012-04-28 David S. Miller <davem@davemloft.net>
16196
16197 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16198 (check-abi-%): Remove AWK script prerequisite and explicit
16199 abilist directory.
16200 (check-abi): Rewrite to just diff the symlist with the abilist.
16201 (config-tls, config-abi-config): Delete, no longer used.
16202 (update-abi-%): Remove AWK script and explicit abilist directory.
16203 (update-abi): Rewrite to simply compare and conditionally copy the
16204 symlist and the sysdep abilist file. Remove update-abi-config
16205 checks.
16206 * abilist/ld.abilist: Remove.
16207 * abilist/libBrokenLocale.abilist: Remove.
16208 * abilist/libanl.abilist: Remove.
16209 * abilist/libcrypt.abilist: Remove.
16210 * abilist/libdl.abilist: Remove.
16211 * abilist/librt.abilist: Remove.
16212 * abilist/libthread_db.abilist: Remove.
16213 * abilist/libutil.abilist: Remove.
16214 * scripts/extract-abilist.awk: Remove.
16215 * scripts/merge-abilist.awk: Remove.
16216 * sysdeps/generic/libcidn.abilist: New file.
16217 * sysdeps/generic/libnss_compat.abilist: New file.
16218 * sysdeps/generic/libnss_db.abilist: New file.
16219 * sysdeps/generic/libnss_dns.abilist: New file.
16220 * sysdeps/generic/libnss_files.abilist: New file.
16221 * sysdeps/generic/libnss_hesiod.abilist: New file.
16222 * sysdeps/generic/libnss_nis.abilist: New file.
16223 * sysdeps/generic/libnss_nisplus.abilist: New file.
16224 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16225 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16226 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16227 file.
16228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16229 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16230 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16231 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16232 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16233 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16234 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16235 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16236 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16237 file.
16238 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16239 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16240 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16241 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16242 file.
16243 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16244 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16245 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16246 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16247 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16248 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16249 file.
16250 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16251 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16252 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16253 file.
16254 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16256 New file.
16257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16258 New file.
16259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16260 New file.
16261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16262 New file.
16263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16264 New file.
16265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16266 New file.
16267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16268 New file.
16269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16270 New file.
16271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16272 New file.
16273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16274 New file.
16275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16276 New file.
16277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16278 New file.
16279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16280 New file.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16282 file.
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16284 New file.
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16286 New file.
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16288 file.
16289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16290 New file.
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16292 New file.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16294 file.
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16296 New file.
16297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16298 New file.
16299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16300 New file.
16301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16302 New file.
16303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16304 New file.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16306 New file.
16307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16309 file.
16310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16311 New file.
16312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16313 file.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16315 file.
16316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16317 file.
16318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16319 file.
16320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16321 file.
16322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16323 New file.
16324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16325 file.
16326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16327 file.
16328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16329 New file.
16330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16331 file.
16332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16334 file.
16335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16336 New file.
16337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16338 file.
16339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16340 file.
16341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16342 file.
16343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16344 file.
16345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16346 file.
16347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16348 New file.
16349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16350 file.
16351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16352 file.
16353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16354 New file.
16355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16356 file.
16357 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16358 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16359 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16360 file.
16361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16362 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16363 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16364 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16365 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16366 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16367 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16368 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16369 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16370 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16373 file.
16374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16375 New file.
16376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16377 file.
16378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16379 file.
16380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16381 file.
16382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16383 file.
16384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16385 file.
16386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16387 New file.
16388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16389 New file.
16390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16391 file.
16392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16393 New file.
16394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16395 file.
16396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16398 file.
16399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16404 file.
16405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16406 file.
16407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16408 file.
16409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16410 file.
16411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16416 file.
16417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16418 New file.
16419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16420 file.
16421
41d73a1b
JM
164222012-04-28 Joseph Myers <joseph@codesourcery.com>
16423
16424 * conform/conformtest.pl: Fix typo in handling typed-constant from
16425 allow-header.
16426
28aeeda4
JM
164272012-04-27 Joseph Myers <joseph@codesourcery.com>
16428
adae8f5e
JM
16429 * README: Cut down references to pre-2.6 Linux kernels and
16430 Linuxthreads. Update lists of configurations in libc and ports
16431 and sort alphabetically. Say "or newer" with Linux kernel version
16432 requirements.
16433
28aeeda4
JM
16434 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16435
a462cb63
RA
164362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16437
16438 [BZ #887]
16439 * math/libm-test.inc (logb_test_downward): New test to expose
16440 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16441 rounding mode.
16442
6ad3493e
JM
164432012-04-27 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #14027]
16446 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16447 to be done.
16448 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16449 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16450
2ce4f015
JM
164512012-04-26 Joseph Myers <joseph@codesourcery.com>
16452
5aeb141a
JM
16453 * sysdeps/unix/i386/brk.S: Remove file.
16454 * sysdeps/unix/i386/dl-brk.S: Likewise.
16455 * sysdeps/unix/i386/pipe.S: Likewise.
16456 * sysdeps/unix/i386/sigreturn.S: Likewise.
16457 * sysdeps/unix/i386/syscall.S: Likewise.
16458 * sysdeps/unix/i386/vfork.S: Likewise.
16459 * sysdeps/unix/i386/wait.S: Likewise.
16460
7143acae
JM
16461 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16462 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16463
2ce4f015
JM
16464 * configure.in (arm*-none*): Do not allow without
16465 --enable-hacker-mode.
16466 (netbsd*): Remove case setting base_os.
16467 (386bsd*): Likewise.
16468 (freebsd*): Likewise.
16469 (bsdi*): Likewise.
16470 (osf*): Likewise.
16471 (sunos*): Likewise.
16472 (ultrix*): Likewise.
16473 (newsos*): Likewise.
16474 (dynix*): Likewise.
16475 (*bsd*): Likewise.
16476 (sysv*): Likewise.
16477 (isc*): Likewise.
16478 (esix*): Likewise.
16479 (sco*): Likewise.
16480 (minix*): Likewise.
16481 (irix4*): Likewise.
16482 (irix6*): Likewise.
16483 (solaris[2-9]*): Likewise.
16484 (none): Likewise.
16485 * configure: Regenerated.
16486
0ac229c8
AZ
164872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16488
16489 [BZ #11521]
16490 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16491 overflow or cancellation in calculating denominator.
16492 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16493 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16494 down expression to avoid unexpected rounding in newer GCCs.
16495 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16496
33f244f4
DM
164972012-04-26 David S. Miller <davem@davemloft.net>
16498
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16500 long-double compat symbols.
16501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16514
cfa1f3e8
DM
165152012-04-25 David S. Miller <davem@davemloft.net>
16516
16517 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16518 HWCAP_* values only after the memory barriers have been defined.
16519 (atomic_full_barrier): Define.
16520 (atomic_read_barrier): Define.
16521 (atomic_write_barrier): Define.
16522
6e236b92
SP
165232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16524
16525 * shlib-versions: Add libgcc_s version information.
16526 * sysdeps/generic/libgcc_s.h: Remove.
16527 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16528 libgcc_s.h.
16529 * sysdeps/gnu/unwind-resume.c: Likewise.
16530 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16531
aab39a09
DM
165322012-04-25 David S. Miller <davem@davemloft.net>
16533
16534 * sysdeps/unix/sparc/brk.S: Delete.
16535 * sysdeps/unix/sparc/dl-brk.S: Delete.
16536 * sysdeps/unix/sparc/pipe.S: Delete.
16537 * sysdeps/unix/sparc/sysdep.S: Delete.
16538 * sysdeps/unix/sparc/sysdep.h: Delete.
16539 * sysdeps/unix/sparc/vfork.S: Delete.
16540 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16541 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16543 ret_ERRVAL, r0, r1, MOVE): Define.
16544 (JUMPTARGET): Remove.
16545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16546 sysdeps/unix/sparc/sysdep.h
16547 (ENTRY, END): Remove.
16548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16549
a3cc4f48
JM
165502012-04-25 Joseph Myers <joseph@codesourcery.com>
16551
2ed8cda2
JM
16552 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16553 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16554 -DIS_IN_build.
16555
35d76d59
JM
16556 * timezone/README: Update upstream location and email address for
16557 tzcode and tzdata.
16558 * timezone/zdump.c: Update from tzcode 2012b.
16559 * timezone/zic.c: Likewise.
16560
a3cc4f48
JM
16561 * configure.in (libc_cv_as_needed): Remove test.
16562 * configure: Regenerated.
16563 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16564 conditional definition.
16565 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16566 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16567 * config.make.in (have-as-needed): Remove variable.
16568
ceab42c3
SP
165692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16570 Paul Pluzhnikov <ppluzhnikov@google.com>
16571
16572 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16573 strings correctly.
16574
3ce2865f
CLT
165752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16576
16577 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16578 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16579 * sysdeps/sh/strlen.S: Likewise.
16580
f37e0d68
JM
165812012-04-24 Joseph Myers <joseph@codesourcery.com>
16582
ae186e9a
JM
16583 * sysdeps/unix/fork.S: Remove file.
16584 * sysdeps/unix/i386/fork.S: Likewise.
16585 * sysdeps/unix/sparc/fork.S: Likewise.
16586
b96914af
JM
16587 * sysdeps/unix/system.c: Remove file.
16588 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16589
f37e0d68
JM
16590 * sysdeps/unix/getegid.S: Remove file.
16591 * sysdeps/unix/geteuid.S: Likewise.
16592
87ef29ca
RM
165932012-04-24 Roland McGrath <roland@hack.frob.com>
16594
83bcd236
RM
16595 * scripts/check-localplt.awk: New file.
16596 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16597 of diff.
16598 * scripts/data/localplt-generic.data: Add a comment.
16599
87ef29ca
RM
16600 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16601 NODE when __dir_mkfile failed.
16602 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16603 Reported by Ludovic Courtès <ludo@gnu.org>.
16604
e5a6e567
AJ
166052012-04-24 Andreas Jaeger <aj@suse.de>
16606
16607 * Makerules (common-clean): Also remove gen-as-const-headers
16608 files.
16609
c1820385
JM
166102012-04-24 Joseph Myers <joseph@codesourcery.com>
16611
16612 * Makerules (native-compile): Do not change working directory for
16613 build. Use $(OUTPUT_OPTION) in command.
16614 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16615
94e02fc4
AZ
166162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16617
16618 [BZ #13886]
16619 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16620 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16621 * math/libm-test.inc (floor_test): Add more tests.
16622 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16623
3a533ca3
JM
166242012-04-24 Joseph Myers <joseph@codesourcery.com>
16625
940ab4b3
JM
16626 * sysdeps/unix/getdents.c: Remove file.
16627 * sysdeps/unix/sysv/getdents.c: Likewise.
16628 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16629
90e037bd
JM
16630 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16631 sysdeps/unix/mman/syscalls.list.
16632 (mmap): Likewise.
16633 (mprotect): Likewise.
16634 (msync): Likewise.
16635 (munmap): Likewise.
16636 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16637 * sysdeps/unix/mman/syscalls.list: Remove.
16638 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16639
3a533ca3
JM
16640 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16641 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16642 * configure: Regenerated.
16643 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16644 $(libgcc_s_suffix).
16645 * config.make.in (libgcc_s_suffix): Remove variable.
16646
1ad743de
JM
166472012-04-23 Joseph Myers <joseph@codesourcery.com>
16648
4ad451e2
JM
16649 * sysdeps/unix/sysv/gethostname.c: Move to ...
16650 * sysdeps/posix/gethostname.c: ... here.
16651
5e37ce39
JM
16652 * sysdeps/unix/execve.S: Remove file.
16653
1ad743de
JM
16654 * sysdeps/unix/_exit.S: Remove file.
16655
4e681b5b
AJ
166562012-04-23 Andreas Jaeger <aj@suse.de>
16657
16658 [BZ #13739]
16659 * manual/Makefile: Remove make dist support, there's no
16660 need for a stand-alone documentation tar ball.
16661 (TEXI2DVI): Define always, it's not in Makeconfig.
16662 (dist): Removed.
16663 (tar-it): Removed.
16664 (edition): Removed.
16665 (glibc-doc-$(edition).tar): Removed
16666 (%.Z): Removed.
16667 (%.gz): Removed.
16668 (%.uu): Removed.
16669 (ETAGS): Remove, it's in Makeconfig.
16670 (move-if-change): Remove, it's in Makeconfig.
16671
38686a03 166722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16673
16674 [BZ #13970]
16675 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16676 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16677 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16678 (strtod_l, strtof_l, strtold_l): Remove __wur.
16679 It is not necessarily an error to ignore strtol's return value.
16680 One can reliably look at the stored endptr to decide whether
16681 the number had valid syntax.
16682
7c0616fa
AJ
166832012-04-21 Andreas Jaeger <aj@suse.de>
16684
803cb6b7 16685 [BZ #13739]
7c0616fa
AJ
16686 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16687
b0fe253f
JM
166882012-04-21 Joseph Myers <joseph@codesourcery.com>
16689
16690 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16691 * sysdeps/unix/sysv/Versions: Remove file.
16692
8280f22d
MT
166932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16694
16695 [BZ #13927]
16696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697
75ce411f 166982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16699
16700 [BZ #7064]
16701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16702 version from __vm86.
16703
097d59fa
JM
167042012-04-20 Joseph Myers <joseph@codesourcery.com>
16705
a90f3bcb
JM
16706 * sysdeps/unix/common/lxstat.c: Remove file.
16707 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16708
edc7ea78
JM
16709 * sysdeps/unix/sysv/Makefile: Remove file.
16710
cb78c221
JM
16711 * sysdeps/unix/sysv/direct.h: Remove file.
16712
efa6a45f
JM
16713 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16714 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16715 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16716 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16717 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16718 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16719 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16720
9c9f2d0c
JM
16721 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16722
4541c83b
JM
16723 * sysdeps/unix/xmknod.c: Remove file.
16724 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16725
f5d153a0
JM
16726 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16727
aa746595
JM
16728 * sysdeps/unix/sysv/i386/time.S: Remove file.
16729
cce5905e
JM
16730 * sysdeps/unix/fxstat.c: Remove file.
16731 * sysdeps/unix/xstat.c: Likewise.
16732 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16733
37fa3841
JM
16734 * sysdeps/unix/sysv/sigaction.c: Remove file.
16735
ff1962a3
JM
16736 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16737 (sysdep_headers): Remove variable.
16738 [termio.h not in sysdep_headers] (generated): Likewise.
16739 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16740 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16741 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16742 * sysdeps/unix/sysv/tcflow.c: Likewise.
16743 * sysdeps/unix/sysv/tcflush.c: Likewise.
16744 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16745 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16746 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16747 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16748 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16749
e7740d31
JM
16750 * sysdeps/unix/siglist.c: Remove file.
16751
ee06f18b
JM
16752 * sysdeps/unix/getppid.S: Remove file.
16753
097d59fa
JM
16754 * sysdeps/unix/mkdir.c: Remove file.
16755 * sysdeps/unix/rmdir.c: Likewise.
16756
ff3d51ec
AS
167572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16758
16759 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16760 ERR_MAX value.
16761 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16762 errlist-compat value.
16763
50f81fd7
DM
167642012-04-18 David S. Miller <davem@davemloft.net>
16765
16766 * sysdeps/generic/memcopy.h (reg_char): Delete.
16767 * debug/strcat_chk.c: Use char, not reg_char.
16768 * debug/strcpy_chk.c: Likewise.
16769 * debug/strncat_chk.c: Likewise.
16770 * debug/strncpy_chk.c: Likewise.
16771 * string/memchr.c: Likewise.
16772 * string/memrchr.c: Likewise.
16773 * string/rawmemchr.c: Likewise.
16774 * string/strcat.c: Likewise.
16775 * string/strchr.c: Likewise.
16776 * string/strchrnul.c: Likewise.
16777 * string/strcmp.c: Likewise.
16778 * string/strcpy.c: Likewise.
16779 * string/strncat.c: Likewise.
16780 * string/strncmp.c: Likewise.
16781 * string/strncpy.c: Likewise.
16782
8ff41c46
WS
167832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16784
16785 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16786 __builtin_memcopy is called when src and dest ranges are known to not
16787 overlap.
16788
6b652f46
WS
167892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16790
16791 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16792 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16793 fwd_align_merge macro call.
16794 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16795 bwd_align_merge macro call.
16796 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16797
b282631e
WS
167982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16799
16800 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16801 bwd_align_merge macros.
16802 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16803 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16805
95aa737c
DM
168062012-04-18 David S. Miller <davem@davemloft.net>
16807
16808 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16809
7a99a614
AJ
168102012-04-18 Andreas Jaeger <aj@suse.de>
16811
16812 [BZ# 6794]
16813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16814 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16815 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16816
16817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16818 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16819 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16820
16821 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16822 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16823 Adjust for changed ldbl-128 files.
16824
16825 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16826 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16827 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16828
e5270c23
DM
168292012-04-17 David S. Miller <davem@davemloft.net>
16830
16831 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16832
fb5e92c9
AS
168332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16834
16835 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16836 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16837 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16838 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16839 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16840 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16841
76da7265
AZ
168422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843
16844 [BZ #6794]
16845 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16846 * math/libm-test.inc: Add ilogb errno and exception tests.
16847 * math/w_ilogb.c: New file: ilogb wrapper.
16848 * math/w_ilogbf.c: New file: ilogbf wrapper.
16849 * math/w_ilogbl.c: New file: ilogbl wrapper.
16850 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16851 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16852 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16853 exception being thrown with 0.0 as argument.
16854 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16855 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16856 exception being thrown with 0.0 as argument.
16857 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16858 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16859 exception being thrown with 0.0 as argument.
16860 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16861 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16862 exception being thrown with 0.0 as argument.
16863 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16864 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16865 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16866 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16867 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16868 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16869 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16870 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16871 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16872
0396e69d
PB
168732012-04-17 Petr Baudis <pasky@ucw.cz>
16874
16875 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16876 with altivec.
16877
750b5926
MP
168782012-04-16 Marek Polacek <polacek@redhat.com>
16879
16880 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16881
751728a1
MP
168822012-04-16 Marek Polacek <polacek@redhat.com>
16883
16884 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16885 operands of fdivp instruction.
16886
34a27407
L
168872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16888
16889 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16890 * elf/tst-auditmod3b.c: Likewise.
16891 * elf/tst-auditmod4b.c: Likewise.
16892 * elf/tst-auditmod5b.c: Likewise.
16893 * elf/tst-auditmod6b.c: Likewise.
16894 * elf/tst-auditmod6c.c: Likewise.
16895 * elf/tst-auditmod7b.c: Likewise.
16896 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16897 * sysdeps/x86_64/preconfigure.in: Likewise.
16898 * sysdeps/x86_64/preconfigure: Regenerated.
16899
7e73e17d
L
169002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16901
16902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16903 __ILP32__.
16904
c7a6ab72
AB
169052012-04-13 Antoine Balestrat <merkil33@gmail.com>
16906
16907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16908 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16909
a9e8e0e0
CL
169102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16911
16912 [BZ #13973]
16913 * locale/iso-639.def: Fix gl language name. Spotted by
16914 Yaron Shahrabani.
16915
ec98af7d
RM
169162012-04-12 Roland McGrath <roland@hack.frob.com>
16917
16918 [BZ #2074]
16919 * libio/libio.h (__io_write_fn): Update comment.
16920
247c3ede
PB
169212012-04-12 Petr Baudis <pasky@ucw.cz>
16922
16923 [BZ #2074]
16924 * stdio.texi (Hook Functions): The user provided writer function
16925 is not allowed to return -1.
16926
55939d6d
DM
169272012-04-11 David S. Miller <davem@davemloft.net>
16928
16929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16930
90020f5a
MF
169312012-04-11 Mike Frysinger <vapier@gentoo.org>
16932
16933 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16934 Add a leading slash to rtkaio.
16935
288f9098
JM
169362012-04-11 Jim Meyering <meyering@redhat.com>
16937
90020f5a
MF
16938 [BZ #11959]
16939 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16940 It is not necessarily an error to ignore fwrite's return
16941 value. One can reliably use ferror to test for errors after
16942 the fact.
288f9098 16943
4be2b570
L
169442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 * bits/types.h (__snseconds_t): New type.
16947 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16948
16949 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16951 (__SNSECONDS_T_TYPE): Likewise.
16952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16953 (__SNSECONDS_T_TYPE): Likewise.
16954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16955 (__SNSECONDS_T_TYPE): Likewise.
16956
288f9098 169572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16958
16959 [BZ #2636]
16960 * manual/time.texi (Processor Time): Return type of times is
16961 elapsed real time since an arbitrary point in the past.
16962 (CPU Time): Move CLK_TCK from here...
16963 (Processor Time): ...to here. Correct description.
16964 * manual/conf.texi (Constants for Sysconf): Correct description of
16965 _SC_CLK_TCK.
16966
d7dd4413
DM
169672012-04-10 David S. Miller <davem@davemloft.net>
16968
16969 [BZ #13967]
16970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16971 where the is a gap between DT_REL(A) and DT_JMPREL.
16972
b46068fc
L
169732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16974
16975 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16976 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16977 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16978
73d65cc3
SP
169792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16980
16981 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16982 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16983 (dl_main): Handle --inhibit-cache.
16984 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16985 _dl_inhibit_cache.
16986 * elf/dl-load.c (_dl_map_object): Use it.
16987 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16988
bcc8d661
JM
169892012-04-09 Joseph Myers <joseph@codesourcery.com>
16990
8f9a2fae
JM
16991 [BZ #13872]
16992 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16993 (__ieee754_powl): Saturate large exponents rather than testing for
16994 overflow of y*log2(x).
16995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16996 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16997 exceptions.
16998
bcc8d661
JM
16999 [BZ #11521]
17000 * math/s_ctan.c: Include <float.h>.
17001 (__ctan): Avoid internal overflow or cancellation in calculating
17002 denominator.
17003 * math/s_ctanf.c: Likewise.
17004 * math/s_ctanl.c: Likewise.
17005 * math/s_ctanh.c: Likewise.
17006 * math/s_ctanhf.c: Likewise.
17007 * math/s_ctanhl.c: Likewise.
17008 * math/libm-test.inc (ctan_test): Add more tests.
17009 (ctanh_test): Likewise.
17010 * sysdeps/i386/fpu/libm-test-ulps: Update.
17011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17012
823fbbb4
AJ
170132012-04-09 Andreas Jaeger <aj@suse.de>
17014
03879793
AJ
17015 [BZ #6894]
17016 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17017 is an optional BSD extension.
17018
823fbbb4
AJ
17019 [BZ #10254]
17020 * manual/stdio.texi (Opening Streams): Document additional fopen
17021 parameters.
17022
8de131cb
RM
170232012-04-09 Roland McGrath <roland@hack.frob.com>
17024
17025 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17026 %eax without telling the compiler.
17027
c0ed9d7d
CD
170282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17029
17030 [BZ # 13963]
17031 * manual/install.texi: Use sourceware.org.
17032
c483f6b4
JM
170332012-04-09 Joseph Myers <joseph@codesourcery.com>
17034
d7dd9453
JM
17035 [BZ #13873]
17036 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17037 (__ieee754_pow): Generate overflow and underflow using huge*huge
17038 and tiny*tiny rather than just returning constant infinity or zero
17039 for large exponents.
17040 * math/libm-test.inc (pow_test): Require overflow exceptions for
17041 applicable cases of large exponents.
17042
c483f6b4
JM
17043 [BZ #706]
17044 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17045 (__ieee754_pow): Use iterative multiplication algorithm only for
17046 integer exponents with absolute value below 1024. Check for odd
17047 integer exponents when using algorithm for real exponents.
17048 * math/libm-test.inc (pow_test): Add more tests.
17049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17050
d2de7579
JM
170512012-04-08 Joseph Myers <joseph@codesourcery.com>
17052
17053 [BZ #13705]
17054 * math/libm-test.inc (exp_test): Do not allow overflow exception
17055 on underflow test.
17056
f77f1232
AJ
170572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17058
17059 [BZ #13705]
17060 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17061 instead of __kernel_standard_f.
17062
3884932b
MF
170632012-04-08 Mike Frysinger <vapier@gentoo.org>
17064
17065 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17066 * sysdeps/x86_64/memset_chk.S: Likewise.
17067
54472e9c
AJ
170682012-04-08 Andreas Jaeger <aj@suse.de>
17069
6ab0fbfc
AJ
17070 [BZ #10153]
17071 * manual/startup.texi (Environment Access): Describe return value
17072 for putenv and setenv.
17073
61efba8c
AJ
17074 [BZ #6895]
17075 * manual/filesys.texi (Directory Entries): Add description for
17076 DT_LNK.
17077
95c3f29a
AJ
17078 [BZ #6890]
17079 * manual/filesys.texi (Directory Entries): Clarify that it's file
17080 system not operating system in the description of DT_UNKNOWN.
17081
54472e9c
AJ
17082 [BZ #6578]
17083 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17084
624254b1
SC
170852012-04-08 Stephen Compall <s11@member.fsf.org>
17086
17087 [BZ #6649]
17088 * manual/llio.texi (Opening and Closing Files): Add cross
17089 reference to explain mode argument.
17090
1e4920e0
MF
170912012-04-07 Mike Frysinger <vapier@gentoo.org>
17092
17093 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17094 * sysdeps/x86_64/memset_chk.S: Likewise.
17095
5ed848f3
DM
170962012-04-07 David S. Miller <davem@davemloft.net>
17097
17098 * elf/elf.h (R_SPARC_WDISP10): Define.
17099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17100 R_SPARC_SIZE32.
17101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17102 R_SPARC_SIZE64 and R_SPARC_H34.
17103
96154cd8
CD
171042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17105
17106 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17107 conditions and remove no longer applicable assertion.
17108
9904dc47
L
171092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * bits/byteswap.h: Include <features.h>.
17112 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17113 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17114
f8887d0a
L
171152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 * bits/byteswap.h (__bswap_16): Removed.
17118 Include <bits/byteswap-16.h> to get __bswap_16.
17119 * sysdeps/i386/bits/byteswap.h: Likewise.
17120 * sysdeps/s390/bits/byteswap.h: Likewise.
17121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17122 * bits/byteswap-16.h: New file.
17123 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17124 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17125 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17126 * string/Makefile (headers): Add bits/byteswap-16.h.
17127
62470f60
PP
171282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17129
17130 [BZ #13895]
17131 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17132 extra indirection.
17133 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17134 * nss/tst-nss-static.c: New.
17135
4dad7bab
RM
171362012-04-06 Robert Millan <rmh@gnu.org>
17137
17138 [BZ #6486]
17139 * manual/llio.texi (File Position Primitive): lseek
17140 refers to WHENCE when it really means OFFSET.
17141
e9142a17
AJ
171422012-04-06 Andreas Jaeger <aj@suse.de>
17143
2c040eff
AJ
17144 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17145 strncmp declarations.
17146
e9142a17
AJ
17147 * abilist/libc.abilist: Add __poll and __ppoll.
17148
ff9f1c5f
DM
171492012-04-05 David S. Miller <davem@davemloft.net>
17150
dcd2ae90
DM
17151 * scripts/check-local-headers.sh: Accept a host triplet in the
17152 path matched by the exclude regexp.
17153
993eb054
DM
17154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17155 definition.
17156 * sysdeps/powerpc/powerpc32/dl-machine.h
17157 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17158 * sysdeps/s390/s390-32/dl-machine.h
17159 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17160 * sysdeps/sparc/sparc32/dl-machine.h
17161 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17162 * sysdeps/sparc/sparc64/dl-machine.h
17163 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17164
ff9f1c5f
DM
17165 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17166 lazy binding.
48e2e132 17167 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17168 undefined symbol errors.
17169
48e2e132 17170 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17171 DT_NEEDED entries.
17172
e80d6f94
MM
171732012-04-05 Michael Matz <matz@suse.de>
17174
17175 [BZ #13592]
17176 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17177
349fa79f
AJ
171782012-04-05 Andreas Jaeger <aj@suse.de>
17179
17180 [BZ #13908]
17181 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17182 comment.
17183
f402708f
KK
171842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17185
17186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17187 which ROUND is no valid rounding mode.
17188
2ecccfc9
KK
171892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17190
17191 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17192 read again.
17193 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17194
8a53f50f
KK
171952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17196
17197 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17198 an exception using FPU order intentionally.
17199
172002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17201
17202 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17203 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17204 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17205 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17206
d653abb7
SJ
172072012-04-05 Simon Josefsson <simon@josefsson.org>
17208
17209 [BZ #12340]
17210 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17211 EINVAL when BUFLEN is too smal.
17212
c3b1bf7d
TS
172132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17214
17215 [BZ #13553]
17216 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17217 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17218
b1aa60f3
AJ
172192012-04-03 Andreas Jaeger <aj@suse.de>
17220
c3b1bf7d 17221 [BZ #13938]
67f60a26
AJ
17222 * manual/setjmp.texi (System V contexts): Fix sentence.
17223
b1aa60f3
AJ
17224 [BZ #13926]
17225 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17226 New macro for this case.
17227 [!__GNUC__] (__bswap_64): New inline function for this case.
17228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17229 * bits/byteswap.h: Likewise.
17230 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17231 ull, guard with __GLIBC_HAVE_LONG_LONG.
17232
17233 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17234 __GLIBC_HAVE_LONG_LONG.
17235
17236 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17237 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17238
39c59c35
TMQMF
172392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17240
17241 [BZ #13691]
17242 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17243 inptr and inend, rather than using last_ch.
17244
135ffda8
DM
172452012-04-02 David S. Miller <davem@davemloft.net>
17246
17247 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17248 * stdio-common/printf-parse.h (read_int): Change return type to
17249 'int', return -1 on INT_MAX overflow.
17250 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17251 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17252 overflows INT_MAX. Check for overflow of in-format-string precision
17253 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17254 SIZE_MAX not INT_MAX for integer overflow test.
17255 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17256 skip the construct in the format string but do not record anything.
17257 * stdio-common/bug22.c: Adjust to test both width/prevision
17258 INT_MAX overflow as well as total length INT_MAX overflow. Check
17259 explicitly for proper errno values.
17260
228c019e
TS
172612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17262
302cadd3
TS
17263 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17264 CHAR_MAX.
17265 * string/test-strcmp.c [! WIDE]: Likewise.
17266 * time/tst-mktime2.c: Likewise for INT_MAX.
17267 * string/test-string.h: #include <sys/param.h> for MIN.
17268
228c019e
TS
17269 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17270 * sysdeps/i386/init-first.c (init): Likewise.
17271 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17272 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17273 * sysdeps/sh/init-first.c (init): Likewise.
17274
cfa633f5
UD
172752012-04-01 Ulrich Drepper <drepper@gmail.com>
17276
17277 * po/ru.po: Update from translation team.
d1635ef8 17278 * po/vi.po: Likewise.
cfa633f5 17279
6cd0a5ea
SP
172802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17281
17282 * resolv/nss_dns/dns-host.c: Merge copyright years.
17283
4b43400f
LD
172842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17285
17286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17287 Optimize memcpy with prefetch if
17288 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17289 src, dst pointers have unequal 16 byte alignments.
17290
48c41d04
SP
172912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17292
17293 [BZ #13928]
17294 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17295 from a CNAME entry and return the minimum ttl for the query.
17296 (gaih_getanswer_slice): Likewise.
17297
b8dc394d
JL
172982012-03-30 Jeff Law <law@redhat.com>
17299
17300 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17301 due to long keys.
17302 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17303 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17304
2f5a5ed0
JL
17305 * resolv/nss_dns/dns-host.c: Update copyright year.
17306
1d39e359
UD
173072012-03-30 Ulrich Drepper <drepper@gmail.com>
17308
c030f70c 17309 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17310 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17311
1d39e359
UD
17312 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17313 comments for sendmmsg.
17314
173152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17316
17317 [BZ #13691]
17318 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17319 with only 1 character between 0x0041 and 0x01b0.
17320 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17321 * wcsmbs/tst-mbsnrtowcs.c: New file.
17322
20fde227
DM
173232012-03-29 David S. Miller <davem@davemloft.net>
17324
17325 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17326 small copies by hand.
17327
984a4237
JL
173282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17329
17330 [BZ #13761]
17331 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17332 _nss_compat_initgroups_dyn): Fall back to malloc/free
17333 for large group memberships.
17334
18c9d62b
DM
173352012-03-28 David S. Miller <davem@davemloft.net>
17336
88d85d4f
DM
17337 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17338 that branches into memcpy.
17339 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17340 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17341 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17342 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17344 bits.
17345 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17346 implementation too.
17347 * sysdeps/sparc/mempcpy.S: New file.
17348
e5aa83e1
DM
17349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17350 the IFUNC routine in the libc case.
17351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17352
88570753
DM
17353 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17354 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17355 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17356 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17357 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17358 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17359 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17360 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17361
249d7567
DM
17362 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17363 loop to 256 bytes instead of 64 bytes and fix test signedness.
17364
18c9d62b
DM
17365 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17366 * sysdeps/sparc/sparc32/Makefile: rather than here...
17367 * sysdeps/sparc/sparc64/Makefile: and here.
17368
05f3d1f6
UD
173692012-03-28 Ulrich Drepper <drepper@gmail.com>
17370
17371 * malloc/mallocbug.c: Avoid warnings about unused variables.
17372
86ae07a8
JL
173732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17374
17375 [BZ #13760]
17376 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17377 in the right place. Discard and retry query if response is
17378 larger than input buffer size.
17379
41bf21a1
JM
173802012-03-28 Joseph Myers <joseph@codesourcery.com>
17381
d6270972
JM
17382 [BZ #369]
17383 [BZ #2678]
17384 [BZ #3866]
17385 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17386 x for large integer exponent.
17387 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17388 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17389 sign of result as needed afterwards.
17390 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17391 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17392 result for underflowing pow the same as for overflow.
17393 (__kernel_standard_l): Handle powl overflow and underflow here
17394 rather than calling __kernel_standard.
17395 * math/libm-test.inc (pow_test): Add more tests.
17396
414fca03 17397 [BZ #3868]
41bf21a1
JM
17398 [BZ #13879]
17399 [BZ #13910]
17400 [BZ #13911]
17401 [BZ #13912]
17402 [BZ #13913]
17403 [BZ #13915]
17404 [BZ #13916]
17405 [BZ #13917]
17406 [BZ #13918]
17407 [BZ #13919]
17408 [BZ #13920]
17409 [BZ #13921]
17410 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17411 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17412 (__kernel_standard_l): New function.
17413 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17414 __kernel_standard.
17415 * math/w_acosl.c (__acosl): Likewise.
17416 * math/w_asinl.c (__asinl): Likewise.
17417 * math/w_atan2l.c (__atan2l): Likewise.
17418 * math/w_atanhl.c (__atanhl): Likewise.
17419 * math/w_coshl.c (__coshl): Likewise.
17420 * math/w_exp10l.c (__exp10l): Likewise.
17421 * math/w_exp2l.c (__exp2l): Likewise.
17422 * math/w_fmodl.c (__fmodl): Likewise.
17423 * math/w_hypotl.c (__hypotl): Likewise.
17424 * math/w_j0l.c (__j0l, __y0l): Likewise.
17425 * math/w_j1l.c (__j1l, __y1l): Likewise.
17426 * math/w_jnl.c (__jnl, __ynl): Likewise.
17427 * math/w_lgammal.c (__lgammal): Likewise.
17428 * math/w_log10l.c (__log10l): Likewise.
17429 * math/w_log2l.c (__log2l): Likewise.
17430 * math/w_logl.c (__logl): Likewise.
17431 * math/w_powl.c (__powl): Likewise.
17432 * math/w_remainderl.c (__remainderl): Likewise.
17433 * math/w_scalbl.c (sysv_scalbl): Likewise.
17434 * math/w_sinhl.c (__sinhl): Likewise.
17435 * math/w_sqrtl.c (__sqrtl): Likewise.
17436 * math/w_tgammal.c (__tgammal): Likewise.
17437 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17438 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17439 * math/libm-test.inc (acos_test): Add more tests.
17440 (acosh_test): Likewise.
17441 (asin_test): Likewise.
17442 (atanh_test): Likewise.
17443 (exp_test): Likewise.
17444 (exp10_test): Likewise.
17445 (exp2_test): Likewise.
17446 (expm1_test): Likewise.
17447 (lgamma_test): Likewise.
17448 (log_test): Likewise.
17449 (log10_test): Likewise.
17450 (log1p_test): Likewise.
17451 (log2_test): Likewise.
17452 (pow_test): Do not allow some spurious overflow exceptions.
17453 (sqrt_test): Add more tests.
17454 (tgamma_test): Likewise.
17455 (y0_test): Likewise.
17456 (y1_test): Likewise.
17457 (yn_test): Likewise.
17458
dd62fda6
AB
174592012-03-27 Anton Blanchard <anton@samba.org>
17460
17461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17462 MAP_HUGETLB.
17463 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17464 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17465 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17466
1e3cdfda
AJ
174672012-03-27 David S. Miller <davem@davemloft.net>
17468
b855ab85
DM
17469 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17470
1e3cdfda
AJ
17471 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17472 have-as-vis3 check.
17473
174742012-03-27 Andreas Jaeger <aj@suse.de>
17475
17476 * sysdeps/x86_64/elf/configure.in: Moved to ...
17477 * sysdeps/x86_64/configure.in: ... here.
17478 * sysdeps/x86_64/elf/start.S: Moved to ...
17479 * sysdeps/x86_64/start.S: ... here.
17480 * sysdeps/x86_64/elf/configure: Delete.
17481
17482 * sysdeps/x86_64/configure.in: Merge contents from
17483 sysdeps/i386/configure.in (without i686 check).
17484
17485 * sysdeps/i386/elf/Versions: Merge into ...
17486 * sysdeps/i386/Versions: ... this.
17487 * sysdeps/i386/elf/Versions: Delete file.
17488 * sysdeps/i386/elf/start.S: Moved to ...
17489 * sysdeps/i386/start.S: ...here.
17490 * sysdeps/i386/elf/configure.in: Merge into...
17491 * sysdeps/i386/configure.in: ...here.
17492 * sysdeps/i386/elf/configure.in: Delete file.
17493 * sysdeps/i386/elf/configure: Delete file.
17494
17495 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17496 * debug/backtracesyms.c: ... here.
17497 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17498 * debug/backtracesymsfd.c: ... here.
17499 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17500 * sysdeps/generic/ifunc-sel.h: ... here.
17501
17502 * sysdeps/unix/i386/start.c: Delete file.
17503 * sysdeps/unix/sparc/start.c: Delete file.
17504 * sysdeps/unix/start.c: Delete file.
17505
17506 * sysdeps/sh/elf/configure.in: Moved to ...
17507 * sysdeps/sh/configure.in: ... here.
17508 * sysdeps/sh/elf/start.S: Moved to ...
17509 * sysdeps/sh/start.S: ... here.
17510 * sysdeps/sh/elf/configure: Delete file.
17511
17512 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17513 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17514 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17515 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17516 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17517 * sysdeps/powerpc/powerpc64/start.S: here.
17518 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17519 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17520 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17521 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17522 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17523
17524 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17525 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17526 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17527 * sysdeps/powerpc/powerpc32/start.S: ... here.
17528 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17529 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17530 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17531
17532 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17533 * sysdeps/powerpc/ifunc-sel.h: ... here.
17534 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17535 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17536
17537 * sysdeps/sparc/elf/configure.in: Moved to ...
17538 * sysdeps/sparc/configure.in: ... here.
17539 * sysdeps/sparc/elf/configure: Delete file.
17540 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17541 * sysdeps/sparc/sparc32/start.S: ... here.
17542 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17543 * sysdeps/sparc/sparc64/start.S: ... here.
17544 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17545 * sysdeps/sparc/sparc32/Makefile: ... this.
17546 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17547 * sysdeps/sparc/sparc64/Makefile: ... this.
17548
17549 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17550 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17551 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17552 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17553 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17554 * sysdeps/s390/s390-32/setjmp.S: ... here.
17555 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17556 * sysdeps/s390/s390-32/configure.in: ... here.
17557 * sysdeps/s390/s390-32/elf/configure: Delete file.
17558 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17559 * sysdeps/s390/s390-32/start.S: ... here.
17560
17561 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17562 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17563 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17564 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17565 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17566 * sysdeps/s390/s390-64/setjmp.S: ... here.
17567 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17568 * sysdeps/s390/s390-64/configure.in: ... here
17569 * sysdeps/s390/s390-64/elf/configure: Delete file.
17570 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17571 * sysdeps/s390/s390-64/start.S: ... here.
17572 * sysdeps/s390/s390-64/elf/configure: Delete.
17573
17574 * configure.in: Remove support for elf directories in sysdeps.
17575
17576 * configure: Regenerated.
17577 * sysdeps/i386/configure: Regenerated.
17578 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17579 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17580 * sysdeps/s390/s390-32/configure: Regenerated.
17581 * sysdeps/s390/s390-64/configure: Regenerated.
17582 * sysdeps/sh/configure: Regenerated.
17583 * sysdeps/sparc/configure: Regenerated.
17584 * sysdeps/x86_64/configure: Regenerated.
17585
a3f61311
AS
175862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17587
c876e002
AS
17588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17589
a3f61311
AS
17590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17591 denormal result into account.
17592
ac4c54f0
RM
175932012-03-25 Roland McGrath <roland@hack.frob.com>
17594
17595 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17596 Reported by Allan McRae <allan@archlinux.org>.
17597
6a9b9c02
JL
175982012-03-23 Jeff Law <law@redhat.com>
17599
17600 * nss/getnssent.c (__nss_getent): Fix typo.
17601
4c42a0c1
DM
176022012-03-23 David S. Miller <davem@davemloft.net>
17603
17604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17605
1532c7ac
L
176062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17607
17608 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17609 to pad to uint64_t for each field.
17610 (dl_tls_index): Replace unsigned long with uint64_t.
17611
3ff42526
PP
176122012-03-23 Daniel Jacobowitz <dmj@google.com>
17613 Paul Pluzhnikov <ppluzhnikov@google.com>
17614
17615 [BZ #6528]
17616 * grp/Makefile (otherlibs): Don't set it.
17617 * inet/Makefile (otherlibs): Likewise.
17618 * login/Makefile (otherlibs): Likewise.
17619 * nscd/Makefile (otherlibs): Likewise.
17620 * posix/Makefile (otherlibs): Likewise.
17621 * pwd/Makefile (otherlibs): Likewise.
17622 * rt/Makefile (otherlibs): Likewise.
17623 * sunrpc/Makefile (otherlibs): Likewise.
17624 * nss/Makefile (otherlibs): Likewise.
17625 Add libnss_files to routines and static-only-routines.
17626 ($(objpfx)getent): Remove rule.
17627 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17628 static-only-routines.
17629
7c69cd14
JM
176302012-03-22 Joseph Myers <joseph@codesourcery.com>
17631
17632 [BZ #13892]
17633 * math/s_cexp.c: Include <float.h>.
17634 (__cexp): Handle exp result overflowing not necessarily
17635 overflowing both real and imaginary parts of result.
17636 * math/s_cexpf.c: Likewise.
17637 * math/s_cexpl.c: Likewise.
17638 * math/libm-test.inc (cexp_test): Add more tests.
17639 * sysdeps/i386/fpu/libm-test-ulps: Update.
17640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17641
81b035fe
L
176422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 * include/link.h (ELFW): New macro.
17645 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17646 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17647
1da7940c
L
176482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17651 with uint64_t.
17652
b749dbb9
L
176532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17654
17655 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17656 declaration.
17657 (struct La_x32_retval): Likewise.
17658
2ff87f3f
L
176592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17660
17661 * sysdeps/x86_64/preconfigure.in: New file.
17662 * sysdeps/x86_64/preconfigure: New generated file.
17663
c0df8e69
JM
176642012-03-22 Joseph Myers <joseph@codesourcery.com>
17665
48e44791
JM
17666 [BZ #13824]
17667 * math/e_exp2l.c: Include <float.h>.
17668 (__ieee754_exp2l): Handle overflow and underflow cases
17669 separately. Only pass fractional part of argument to
17670 __ieee754_expl.
17671 * math/libm-test.inc (exp2_test): Add more tests.
17672
c0df8e69
JM
17673 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17674 negating x to take absolute value.
17675 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17676 Likewise.
17677 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17678 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17679 Likewise.
17680 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17681 computing low part if x was negated.
17682 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17683
c8e43ba7
L
176842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17687 la_x32_gnu_pltexit.
17688 (pltexit): Cast int_retval to ptrdiff_t.
17689 * elf/tst-auditmod3b.c: Likewise.
17690 * elf/tst-auditmod4b.c: Likewise.
17691 * elf/tst-auditmod5b.c: Likewise.
17692 * elf/tst-auditmod6b.c: Likewise.
17693 * elf/tst-auditmod6c.c: Likewise.
17694 * elf/tst-auditmod7b.c: Likewise.
17695
17696 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17697 and x32_gnu_pltexit.
17698
17699 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17700 __ELF_NATIVE_CLASS.
17701 (La_x32_regs): New macro.
17702 (La_x32_retval): Likewise.
17703 (la_x32_gnu_pltenter): New function prototype.
17704 (la_x32_gnu_pltexit): Likewise.
17705
7998fa78
AS
177062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17707
dcb33988
AS
17708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17709 exponent.
17710
233fc563
AS
17711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17712
7998fa78
AS
17713 * configure.in (libc_cv_cc_nofma): Check for option to disable
17714 generation of FMA instructions.
17715 * configure: Regenerate.
17716 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17717 * sysdeps/ieee754/dbl-64/Makefile: New file.
17718 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17719 Remove brandred-fma4.
17720 (CFLAGS-brandred-fma4.c): Remove.
17721 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17722 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17723 define.
17724 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17725 define.
17726
8e95c99a
L
177272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17730 LLONG_MAX != LONG_MAX.
17731 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17732 (_fitoa_word): Likewise.
17733 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17734 LLONG_MAX != LONG_MAX.
17735 * stdio-common/_itowa.h: Include <_itoa.h>.
17736 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17737 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17738 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17739 only if not defined.
17740 (_ITOA_WORD_TYPE): Likewise.
17741 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17742 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17743
6f4db457
DM
177442012-03-21 David S. Miller <davem@davemloft.net>
17745
17746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17747
7785fe5a
L
177482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17751 of x86_64 when setting libc_cv_slibdir, libdir and
17752 libc_cv_localedir.
17753 * sysdeps/unix/sysv/linux/configure: Regenerated.
17754
4535cd55
JM
177552012-03-21 Joseph Myers <joseph@codesourcery.com>
17756
17757 * manual/lang.texi (Old Varargs): Remove section.
17758 (How Variadic): Update menu.
17759 (va_start): Do not mention varargs.h.
17760
17228132
TS
177612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17762 Joseph Myers <joseph@codesourcery.com>
17763
17764 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17765 link test.
17766 * configure: Regenerated.
17767
8149f976
TS
177682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17769
05f3d1f6
UD
17770 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17771 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17772 conformtest.pl
8149f976 17773
1a4ac776
JM
177742012-03-21 Joseph Myers <joseph@codesourcery.com>
17775
be22ce65
JM
17776 * NOTES: Remove.
17777 * Makefile (files-for-dist): Remove NOTES.
17778 (NOTES): Remove rule.
17779 * README: Don't refer to NOTES.
17780 * manual/creature.texi: Don't include macros.texi.
17781 * manual/intro.texi (creature.texi): Remove comment referring to
17782 NOTES.
17783
40b601fb
JM
17784 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17785 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17786 * configure: Regenerated.
17787 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17788 LIBC_TRY_CC_OPTION.
17789 (libc_cv_as_i686): Likewise.
17790 (libc_cv_cc_avx): Likewise.
17791 (libc_cv_cc_sse2avx): Likewise.
17792 (libc_cv_cc_fma4): Likewise.
17793 (libc_cv_cc_novzeroupper): Likewise.
17794 * sysdeps/i386/configure: Regenerated.
17795
1a4ac776
JM
17796 [BZ #13883]
17797 * sysdeps/i386/fpu/s_cexp.S: Remove.
17798 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17799 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17800 * math/libm-test.inc (cexp_test): Add more tests.
17801 * sysdeps/i386/fpu/libm-test-ulps: Update.
17802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803
a458e7fe
AM
178042012-03-21 Allan McRae <allan@archlinux.org>
17805
17806 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17807
0cb7efc5
JM
178082012-03-21 Joseph Myers <joseph@codesourcery.com>
17809
17810 [BZ #13871]
17811 * math/w_exp2.c: Do not include <float.h>.
17812 (o_threshold, u_threshold): Remove.
17813 (__exp2): Calculate result before checking finiteness and calling
17814 __kernel_standard.
17815 * math/w_exp2f.c: Likewise.
17816 * math/w_exp2l.c: Likewise.
17817 * math/libm-test.inc (exp2_test): Require overflow exception for
17818 1e6 input.
2460d3aa
JM
17819
17820 [BZ #3866]
17821 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17822 range of signed 64-bit integers before using fistpll. Remove
17823 checks for whether integers fit in mantissa bits.
17824 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17825 the range of signed 32-bit integers before using fistpl. Remove
17826 checks for whether integers fit in mantissa bits.
17827 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17828 (__ieee754_powl): Test for y outside the range of signed 64-bit
17829 integers before using fistpll. Reduce 64-bit values to 63-bit
17830 ones as needed.
17831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17832 divide-by-zero is raised for zero to large negative powers.
17833 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17834 (__ieee754_powl): Test for y outside the range of signed 64-bit
17835 integers before using fistpll. Reduce 64-bit values to 63-bit
17836 ones as needed.
17837 * math/libm-test.inc (pow_test): Add more tests.
17838
eb96ffb0
L
178392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17842 <stdio-common/_itoa.h>.
17843 * debug/segfault.c: Likewise.
17844 * elf/dl-cache.c: Likewise.
17845 * elf/dl-minimal.c: Likewise.
17846 * elf/dl-misc.c: Likewise.
17847 * elf/dl-sysdep.c: Likewise.
17848 * elf/dl-version.c: Likewise.
17849 * elf/rtld.c: Likewise.
17850 * hurd/hurdsock.c: Likewise.
17851 * hurd/lookup-retry.c: Likewise.
17852 * malloc/malloc.c: Likewise.
17853 * malloc/mtrace.c: Likewise.
17854 * nscd/nscd_getgr_r.c: Likewise.
17855 * nscd/nscd_getpw_r.c: Likewise.
17856 * nscd/nscd_getserv_r.c: Likewise.
17857 * posix/getopt_init.c: Likewise.
17858 * posix/wordexp.c: Likewise.
17859 * stdio-common/_itoa.c: Likewise.
17860 * stdio-common/printf_fphex.c: Likewise.
17861 * stdio-common/vfprintf.c: Likewise.
17862 * string/_strerror.c: Likewise.
17863 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17864 * sysdeps/i386/i686/hp-timing.h: Likewise.
17865 * sysdeps/mach/_strerror.c: Likewise.
17866 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17867 * sysdeps/mach/hurd/sethostid.c: Likewise.
17868 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17869 * sysdeps/mach/xpg-strerror.c: Likewise.
17870 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17871 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17872 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17873 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17874 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17875 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17876 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17877 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17878 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17879 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17880 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17881 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17883 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17884 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17885 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17888 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17889 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17890 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17891
17892 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17893
17894 * stdio-common/_itoa.h: Moved to ...
17895 * sysdeps/generic/_itoa.h: Here.
17896
17897 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17898
17899 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17900 instead of "_itoa.h" and "_itowa.h".
17901 * stdio-common/vfprintf.: Likewise.
17902
d1af992d
L
179032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17906 <bits/wordsize.h>.
17907 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17908 (__signbit): Likwise.
17909 (llrintf): Likwise.
17910 (llrint): Likwise.
17911
114883e0
L
179122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17913
17914 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17915 __WORDSIZE != 64.
17916
c135cc1b
JM
179172012-03-20 Joseph Myers <joseph@codesourcery.com>
17918
17919 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17920 OVERFLOW_EXCEPTION_OK.
17921 * math/libm-test.inc ("Philosophy"): Update comment about
17922 exception testing.
17923 (OVERFLOW_EXCEPTION): Define.
17924 (OVERFLOW_EXCEPTION_OK): Likewise.
17925 (INVALID_EXCEPTION_OK): Renumber.
17926 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17927 (IGNORE_ZERO_INF_SIGN): Likewise.
17928 (test_exceptions): Handle FE_OVERFLOW.
17929 (exp10_test): Expect overflow exceptions.
17930 (exp2_test): Likewise.
17931 (expm1_test): Likewise.
17932 (nextafter_test): Likewise.
17933 (pow_test): Likewise.
17934 (scalbn_test): Likewise.
17935 (scalbln_test): Likewise.
17936
95443d88
L
179372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 * sysdeps/x86_64/bits/atomic.h
17940 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17941 64bit integer.
17942 (atomic_exchange_acq): Likewise.
17943 (__arch_exchange_and_add_body): Likewise.
17944 (__arch_add_body): Likewise.
17945 (atomic_add_negative): Likewise.
17946 (atomic_add_zero): Likewise.
17947
490df6c4
L
179482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17949
c2722551 17950 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17951 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17952
5e52b189
L
179532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17956 Check __x86_64__ instead of __WORDSIZE.
17957
a9879d4c
L
179582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17961
5df98260
DM
179622012-03-19 David S. Miller <davem@davemloft.net>
17963
e1497744
DM
17964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17965
5df98260
DM
17966 * sysdeps/sparc/fpu/fenv_private.h: New file.
17967 * sysdeps/sparc/fpu/math_private.h: Use it.
17968 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17969 Remove.
17970 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17971 (libc_feholdexcept_setroundl): Remove.
17972 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17973 Remove.
17974 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17975 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17976
b4c35121
L
179772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17978
17979 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17980 int64_t instead of long int.
17981 (INSERT_WORDS64): Likwise.
17982
56965fd7
L
179832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17984
17985 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17986 _Unwind_GetCFA return to _Unwind_Ptr first.
17987
83d1aec8
JM
179882012-03-19 Joseph Myers <joseph@codesourcery.com>
17989
1897ad44
JM
17990 [BZ #13629]
17991 * math/s_clog.c: Include <float.h>.
17992 (__clog): Scale large or subnormal inputs.
17993 * math/s_clogf.c: Likewise.
17994 * math/s_clogl.c: Likewise.
17995 * math/s_clog10.c: Include <float.h>.
17996 (M_LOG10_2): Define.
17997 (__clog10): Scale large or subnormal inputs.
17998 * math/s_clog10f.c: Likewise.
17999 * math/s_clog10l.c: Likewise.
18000 * math/libm-test.inc (clog_test): Add more tests.
18001 (clog10_test): Likewise.
18002 * sysdeps/i386/fpu/libm-test-ulps: Update.
18003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004
7726d6a9
JM
18005 [BZ #11451]
18006 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18007 x and y.
18008 * math/libm-test.inc (atan2_test): Add another test.
18009
83d1aec8
JM
18010 * Makerules (common-objdir-compile): Remove.
18011 * sysdeps/unix/Makefile (config-generated): Do not add
18012 $(unix-generated) to variable.
18013 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18014 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18015 Remove rule.
18016 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18017 Likewise.
18018 [generic bits/local_lim.h] (before-compile): Do not append to
18019 variable.
18020 [generic bits/local_lim.h] (common-generated): Likewise.
18021 [generic sys/param.h] (before-compile): Do not append to variable.
18022 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18023 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18024 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18025 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18026 include.
18027 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18028 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18029 [generic sys/param.h] ($(addprefix
18030 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18031 [generic sys/param.h] (common-generated): Do not append to
18032 variable.
18033 [generic sys/param.h] (sysdep_headers): Likewise.
18034 [generic bits/errno.h] (before-compile): Do not append to
18035 variable.
18036 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18037 rule.
18038 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18039 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18040 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18041 [generic bits/errno.h] (common-generated): Do not append to
18042 variable.
18043 [generic bits/ioctls.h] (before-compile): Do not append to
18044 variable.
18045 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18046 rule.
18047 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18048 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18049 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18050 rule.
18051 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18052 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18053 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18054 [generic bits/ioctls.h] (common-generated): Do not append to
18055 variable.
18056 [generic sys/syscall.h] (syscall.h): Remove variable.
18057 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18058 rule.
18059 [generic sys/syscall.h] (before-compile): Do not append to
18060 variable.
18061 [generic sys/syscall.h] (common-generated): Likewise.
18062 * sysdeps/unix/errnos-tmpl.c: Remove file.
18063 * sysdeps/unix/errnos.awk: Likewise.
18064 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18065 * sysdeps/unix/ioctls.awk: Likewise.
18066 * sysdeps/unix/mk-local_lim.c: Likewise.
18067 * sysdeps/unix/snarf-ioctls: Likewise.
18068
4851a949
RH
180692012-03-19 Richard Henderson <rth@twiddle.net>
18070
bd37f2ee
RH
18071 * sysdeps/i386/fpu/fenv_private.h: New file.
18072 * sysdeps/i386/fpu/math_private.h: Use it.
18073 (math_opt_barrier, math_force_eval): Remove.
18074 (libc_feholdexcept_setround_53bit): Remove.
18075 (libc_feupdateenv_53bit): Remove.
18076 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18077 (math_opt_barrier, math_force_eval): Remove.
18078 (libc_feholdexcept): Remove.
18079 (libc_feholdexcept_setround): Remove.
18080 (libc_fetestexcept, libc_fesetenv): Remove.
18081 (libc_feupdateenv_test): Remove.
18082 (libc_feupdateenv, libc_feholdsetround): Remove.
18083 (libc_feresetround): Remove.
18084
d0adc922
RH
18085 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18086 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18087
0fe0f1f8
RH
18088 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18089 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18090 (libc_feupdateenv_testl): New.
18091 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18092 (libc_feupdateenv_testf): New.
18093 (libc_feupdateenv): Use libc_feupdateenv_test.
18094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18095 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18096
eb92c487
RH
18097 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18098 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18099 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18100 (libc_feresetround_noex): New.
18101 (libc_feresetround_noexf): New.
18102 (libc_feresetround_noexl): New.
18103 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18104 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18105 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18106 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18107 SET_RESTORE_ROUND.
18108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18110 (__cos): Likewise.
18111 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18113 SET_RESTORE_ROUND_NOEX.
18114 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18115 SET_RESTORE_ROUND_NOEXF.
18116 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18117 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18118 (libc_feholdsetroundf): New.
18119 (libc_feresetround, libc_feresetroundf): New.
18120
7d2e8012
RH
18121 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18122 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18123 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18124
b4dabbb4
RH
18125 * sysdeps/generic/math_private.h: Include <fenv.h>.
18126 (default_libc_feholdexcept): New.
18127 (default_libc_feholdexcept_setround): New.
18128 (default_libc_fesetenv, default_libc_feupdateenv): New.
18129 (libc_feholdexcept): Only define if undefined.
18130 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18131 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18132 (libc_feholdexcept_setroundl): Likewise.
18133 (libc_feholdexcept_setround_53bit): Likewise.
18134 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18135 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18136 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18137 (libc_feupdateenv_53bit): Likewise.
18138 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18139 (libc_feholdexcept): Convert from macro to inline function.
18140 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18141 (libc_fesetenv, libc_feupdateenv): Likewise.
18142
4851a949
RH
18143 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18144 not previously defined.
18145 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18146 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18147 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18148 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18149 * sysdeps/ieee754/flt-32/math_private.h: New file.
18150 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18151 math_private.h below SET_FLOAT_WORD.
18152 (__isnan, __isinf_ns, __finite): Remove.
18153 (__isnanf, __isinf_nsf, __finitef): Remove.
18154
e79d442e
AS
181552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18156
18157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18158
90b80344
DM
181592012-03-17 David S. Miller <davem@davemloft.net>
18160
18161 [BZ #6471]
18162 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18163 for 2.16.
18164
edc21804
DM
181652012-03-16 David S. Miller <davem@davemloft.net>
18166
77e927af
DM
18167 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18168 warnings.
18169
374976dd
DM
18170 [BZ #6471]
18171 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18172 properly.
18173 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18174 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18175 sysdep_routines when subdir is sysvipc.
18176 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18177 __getshmlba helper.
18178
edc21804
DM
18179 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18180
473c3ef3
L
181812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18182
18183 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18184 [__LP64__].
18185
eb0f39b6
L
181862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18189 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18190 (__lround): Renamed to ...
18191 (__llround): This. Replace long int with long long int.
18192 Define lround functions as aliases of llround functions.
18193 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18194
6b6cd74b
L
181952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18196
18197 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18198 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18199 adresses to uintptr_t. Replace "long int" and "unsigned long
18200 int" with "greg_t" on va_arg.
18201
f1a77b01
L
182022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18205 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18206
18207 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18208 Move e_machine check before EI_CLASS check. Handle x32
18209 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18210 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18211 SKIP_EM_IA_64 and include
18212 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18213
18214 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18215 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18216 (add_system_dir): New macro.
18217
18218 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18219 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18220
11b90b9f
JM
182212012-03-16 Joseph Myers <joseph@codesourcery.com>
18222
c36e1d23
JM
18223 [BZ #2551]
18224 [BZ #2552]
18225 [BZ #2553]
18226 [BZ #2554]
18227 [BZ #2562]
18228 [BZ #2563]
18229 [BZ #2565]
18230 [BZ #2566]
18231 [BZ #2576]
18232 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18233 (y0): Likewise.
18234 * math/w_j0f.c (j0f): Likewise.
18235 (y0f): Likewise.
18236 * math/w_j0l.c (__j0l): Likewise.
18237 (__y0l): Likewise.
18238 * math/w_j1.c (j1): Likewise.
18239 (y1): Likewise.
18240 * math/w_j1f.c (j1f): Likewise.
18241 (y1f): Likewise.
18242 * math/w_j1l.c (__j1l): Likewise.
18243 (__y1l): Likewise.
18244 * math/w_jn.c (jn): Likewise.
18245 (yn): Likewise.
18246 * math/w_jnf.c (jnf): Likewise.
18247 (ynf): Likewise.
18248 * math/w_jnl.c (__jnl): Likewise.
18249 (__ynl): Likewise.
18250 * math/libm-test.inc (j0_test): Add more tests.
18251 (j1_test): Likewise.
18252 (jn_test): Likewise. Add trailing semicolon to existing test.
18253 (y0_test): Likewise.
18254 (y1_test): Likewise.
18255 * sysdeps/i386/fpu/libm-test-ulps: Update.
18256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18257
11b90b9f
JM
18258 [BZ #13851]
18259 [BZ #13854]
18260 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18261 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18262 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18263 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18264 (__tanl): Set errno for infinite argument.
18265 * sysdeps/i386/fpu/mptan.c: Remove.
18266 * sysdeps/i386/fpu/s_tan.S: Likewise.
18267 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18268 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18269 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18270 * math/libm-test.inc (tan_test): Add more tests and enable more
18271 tests for double and long double.
18272 * sysdeps/i386/fpu/libm-test-ulps: Update.
18273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18274
6a1bd2a1
JK
182752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18276
18277 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18278 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18279
10a803e0
RM
182802012-03-16 Roland McGrath <roland@hack.frob.com>
18281
18282 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18283 * configure.in: Use it for both main tree and add-ons.
18284 * configure: Regenerated.
18285
f196c7f7
L
182862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18289
8848d99d
JM
182902012-03-16 Joseph Myers <joseph@codesourcery.com>
18291
96cbe7f4
JM
18292 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18293 in comment.
18294
8848d99d
JM
18295 [BZ #13851]
18296 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18297 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18301 infinite argument.
18302 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18304 != 0 for prec == 2.
18305 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18306 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18307 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18308 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18309 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18310 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18311 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18312 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18313 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18314 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18315 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18316 * math/libm-test.inc (cos_test): Add more tests and enable more
18317 tests for long double.
18318 (sin_test): Likewise.
18319 (sincos_test): Likewise.
18320 * sysdeps/i386/fpu/libm-test-ulps: Update.
18321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18322
dd7f4703
DM
183232012-03-16 David S. Miller <davem@davemloft.net>
18324
18325 * sysdeps/sparc/fpu/math_private.h: New file.
18326
006f1daa
DM
183272012-03-15 David S. Miller <davem@davemloft.net>
18328
c0c83bc8
DM
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18330 file.
e6a62e18 18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18333 file.
e6a62e18
DM
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18340 sysdep routines.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18342
88cb87d9
DM
18343 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18344 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18345
006f1daa 18346 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18348 sparc-ifunc.h
006f1daa 18349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18351 Likewise.
18352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18353 Likewise.
006f1daa
DM
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18358 Likewise.
006f1daa
DM
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18364 Likewise.
18365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18366 Likewise.
006f1daa
DM
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18391
11e0098e
AS
183922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18393
18394 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18395 scaling.
18396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18397
e85b09d0
AJ
183982012-03-15 Andreas Jaeger <aj@suse.de>
18399
18400 [BZ #13852]
18401 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18402 ieee754/flt-32 implementation for sin, cos and sincos.
18403 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18404 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18405 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18406 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18407 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18408 ieee754/flt-32 implementation for tan.
18409
18410 * math/libm-test.inc (cos_test): Enable some large input tests for
18411 float as well
18412 (sin_test): Likewise.
18413 (sincos_test): Likewise.
18414 (tan_test): Add tests for large input.
18415
18416 * sysdeps/i386/fpu/libm-test-ulps: Update.
18417
81c64153
AJ
184182012-03-15 Andreas Jaeger <aj@suse.de>
18419
18420 [BZ #13658]
18421 * math/libm-test.inc (cos_test): Add more test cases.
18422 (sin_test): Likewise.
18423 (sincos_test): Likewise.
18424
7bbfa5c6
AJ
184252012-03-15 Andreas Jaeger <aj@suse.de>
18426
18427 [BZ #13837]
18428 * math/libm-test.inc (cos_test): Add a test case for large input
18429 value.
18430 (sin_test): Likewise.
18431 (sincos_test): Likewise.
18432
184332012-03-15 Andreas Jaeger <aj@suse.de>,
18434 Joseph Myers <joseph@codesourcery.com>
18435
18436 [BZ #13658]
0671f479 18437 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18438 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18439 * sysdeps/i386/fpu/branred.c: Likewise.
18440 * sysdeps/i386/fpu/dosincos.c: Likewise.
18441 * sysdeps/i386/fpu/mpa.c: Likewise.
18442 * sysdeps/i386/fpu/s_cos.S: Likewise.
18443 * sysdeps/i386/fpu/s_sin.S: Likewise.
18444 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18445 * sysdeps/i386/fpu/sincos32.c: Likewise.
18446
18447 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18448 Define.
18449 (libc_feupdateenv_53bit): Define.
18450 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18451 Define.
18452 (libc_feupdateenv_53bit): Define.
18453
18454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18455 53 bit (without extend i386 double precision).
18456
18457 * math/libm-test.inc (sincos_test): Add tests for large input.
18458 (sin): Likewise.
18459 (cos): Likewise.
18460
18461 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18462
9cad04ea
AS
184632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18464
18465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18466
f7062b9a
DM
184672012-03-15 David S. Miller <davem@davemloft.net>
18468
18469 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18471 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18485 file.
f7062b9a 18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18488 file.
f7062b9a 18489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18491 file.
f7062b9a 18492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18494 file.
f7062b9a
DM
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18497 fmin/fmax sysdep routines.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18499
7bd951ff
DM
185002012-03-14 David S. Miller <davem@davemloft.net>
18501
559398ab
DM
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18531 routines.
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18533 file.
559398ab 18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18536 file.
559398ab 18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18539 file.
559398ab 18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18542 file.
559398ab 18543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18545 file.
559398ab 18546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18548 file.
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18550 file.
18551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18552 file.
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18554 file.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18556 New file.
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18558 file.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18560 file.
559398ab 18561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18563 file.
559398ab 18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18566 file.
559398ab 18567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18569 file.
559398ab 18570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18572 VIS3 routines.
559398ab
DM
18573
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18575 New file.
18576
5a1c1e32
DM
18577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18578
eae47a36
DM
18579 * sysdeps/sparc/configure.in: New file.
18580 * sysdeps/sparc/configure: Generate.
18581 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18582 * configure: Regenerate.
18583 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18584 * config.make.in (have-as-vis3): New.
18585 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18586 available use -Av9d instead of -Av9a.
18587 * sysdeps/sparc/sparc64/Makefile: Likewise.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18590 New file.
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18592 file.
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18594 New file.
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18596 file.
eae47a36
DM
18597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18602
c0c83bc8
DM
18603 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18604 fzeros/fnegs to load 0x80000000 into a float register instead of
18605 using the stack.
7bd951ff
DM
18606 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18607
bd951ccb
JM
186082012-03-14 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18611 bits/syscall.h.
18612 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18613 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18614 ($(inst_includedir)/bits/syscall.h): Remove rule.
18615 ($(objpfx)bits/syscall.d): Include instead of
18616 $(objpfx)syscall-list.d.
18617 (generated): Change syscall-list.h and syscall-list.d to
18618 bits/syscall.h and bits/syscall.d.
18619
bb4e6db2
RM
186202012-03-14 Roland McGrath <roland@hack.frob.com>
18621
18622 [BZ #13846]
18623 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18624
aa4a2ae1
JM
186252012-03-14 Joseph Myers <joseph@codesourcery.com>
18626
e456826d
JM
18627 [BZ #13841]
18628 * math/s_csqrt.c: Include <float.h>.
18629 (__csqrt): Scale large or subnormal inputs.
18630 * math/s_csqrtf.c: Likewise.
18631 * math/s_csqrtl.c: Likewise.
18632 * math/libm-test.inc (csqrt_test): Add more tests.
18633 * sysdeps/i386/fpu/libm-test-ulps: Update.
18634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18635
aa4a2ae1
JM
18636 [BZ #13840]
18637 * math/libm-test.inc (hypot_test): Add more tests.
18638
7c10fd35
DM
186392012-03-13 David S. Miller <davem@davemloft.net>
18640
18641 [BZ #13840]
18642 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18643 double-precision for the calculation instead of scaling.
18644
f453b98b
JM
186452012-03-13 Joseph Myers <joseph@codesourcery.com>
18646
18647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18648 manipulate bits before adding and subtracting TWO52[sx].
18649 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18650 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18651 Likewise.
18652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18653
09a3453f
DM
186542012-03-13 David S. Miller <davem@davemloft.net>
18655
8e59da90
DM
18656 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18657 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18659 rtld-global-offsets.h
18660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18661
2a8ab7f2
DM
18662 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18663 large parameters.
18664
10f62770
DM
18665 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18666
5f0bdb18
DM
18667 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18668 'err' in the ifdef scope in which it is actually used.
18669
09a3453f
DM
18670 * nss/nss_db/db-init.c: Include string.h
18671
b4b2eb5e
DM
186722012-03-12 David S. Miller <davem@davemloft.net>
18673
98bb2f1c
DM
18674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18675 masking out of the most significant byte of random value used.
18676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18677 Fix coding style in previous change.
18678
b4b2eb5e
DM
18679 * sysdeps/unix/sysv/linux/kernel-features.h
18680 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18681 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18682 expression.
18683 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18684 later.
18685
6e226b09
DM
186862012-03-11 David S. Miller <davem@davemloft.net>
18687
a1bcbd40
DM
18688 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18689 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18691 for 'resultvar' otherwise things get truncated on 64-bit.
18692
cb9d6174
DM
18693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18694 Fix masking out of the most significant byte of random value used.
18695
6e226b09
DM
18696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18697
058c132d
AS
186982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18699
18700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18701
2d2cd515
DM
187022012-03-09 David S. Miller <davem@davemloft.net>
18703
18704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18705 variables with appropriate CPP guards.
18706 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18707 frame pointer, not the stack pointer. Correct layout comments. Fix test
18708 on resulting framesize and the management of the outregs buffer for pltexit.
18709 Preserve floating point return values across _dl_call_pltexit call.
18710 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18711 framesize and the management of the outregs buffer for pltexit.
18712 Preserve floating point return values across _dl_call_pltexit
18713 call.
18714 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18715 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18716 (print_exit): Fix format string for return register value.
18717
9a07f9d0
JM
187182012-03-10 Joseph Myers <joseph@codesourcery.com>
18719
18720 * sunrpc/Makefile (others): Add rpcgen.
18721 ($(objpfx)rpcgen): Remove special build rule and dependency on
18722 libc.
18723 * sunrpc/rpcgen.c: New file.
18724
547b5e30
PE
187252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18726
c524201a
PE
18727 [BZ #13673]
18728 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18729 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18730 * sysdeps/i386/crti.S: Likewise.
18731 * sysdeps/i386/crtn.S: Likewise.
18732 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18733 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18734 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18735 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18736 * sysdeps/sh/crti.S: Likewise.
18737 * sysdeps/sh/crtn.S: Likewise.
18738 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18739
7b6235f2
PE
18740 [BZ #13673]
18741 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18742 with URL.
18743 * locale/programs/locfile-kw.gperf: Likewise.
18744 * locale/programs/charmap-kw.h: Regenerated.
18745 * locale/programs/locfile-kw.h: Likewise.
18746
547b5e30
PE
18747 [BZ #13673]
18748 * intl/plural.y: Replace FSF snail mail address with URL.
18749 * intl/plural.c: Regenerated.
18750
5f0a5dae
RH
187512012-03-09 Richard Henderson <rth@twiddle.net>
18752
18753 * include/math_private.h: Remove file.
18754 * math/math_private.h: Move file ...
18755 * sysdeps/generic/math_private.h: ... here.
18756
b8c03620
RH
18757 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18758 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18759 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18760
4e234f5d 18761 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18762 and <math_private.h>.
18763 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18764 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18765 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18766 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18767 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18851 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18853 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18854 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18856 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18857 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18864 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18865 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18866 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18868 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18871 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18873 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18876 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18880 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18883 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18884 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18889 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18890 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18891 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18892 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18912 * sysdeps/ieee754/k_standard.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19073 * sysdeps/ieee754/s_lib_version.c: Likewise.
19074 * sysdeps/ieee754/s_matherr.c: Likewise.
19075 * sysdeps/ieee754/s_signgam.c: Likewise.
19076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19078 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19079 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19080 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19081 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19082 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19083 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19084 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19085 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19086 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19087 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19088 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19089 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19090 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19093 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19097
1991fa03
JM
190982012-03-09 Joseph Myers <joseph@codesourcery.com>
19099
19100 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19101 * sunrpc/rpc_main.c: Likewise.
19102 * sunrpc/rpc_svcout.c: Likewise.
19103
60d6f5a6
DM
191042012-03-09 David S. Miller <davem@davemloft.net>
19105
19106 * include/math_private.h: New file.
19107
4962050e
JM
191082012-03-09 Joseph Myers <joseph@codesourcery.com>
19109
02a6f887
JM
19110 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19111 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19112 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19113 from <bits/socket_type.h>.
19114 (enum __socket_type): Don't define here.
19115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19117 bits/socket_type.h.
19118
c6e013c1
JM
19119 [BZ #13566]
19120 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19121 checking __USE_GNU.
19122
4962050e
JM
19123 * Makerules ($(inst_includedir)/%.h): New rule.
19124 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19125 (install-others): Remove variable setting.
19126 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19127
38842f45
RH
191282012-03-08 Richard Henderson <rth@twiddle.net>
19129
67bb6da6
RH
19130 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19131 from macro to inline function; merge with the
19132 !__LIBC_INTERNAL_MATH_INLINES version.
19133 (__ieee754_sqrtf): Likewise.
19134
15194b4b
RH
19135 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19136 to inline function.
19137 (__rintf, __floor, __floorf): Likewise.
19138
64e21ede
RH
19139 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19140 macro to inline function.
19141 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19142
38842f45
RH
19143 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19144 not <math/math_private.h>.
19145
c64bf5fe
DM
191462012-03-08 David S. Miller <davem@davemloft.net>
19147
19148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19149 copyright year.
19150 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19151
82d86f28
TS
191522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19153
19154 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19155 normalization.
19156 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19157 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19158
aea5d727
UD
191592012-03-08 Ulrich Drepper <drepper@gmail.com>
19160
19161 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19162 be defined individually, they must be defined as a block. Define
19163 S for printing a string instead of hidint the different by using a
19164 macro for adding the 'l'.
19165 * stdio-common/tst-fphex-wide.c: Adjust.
19166
70bca0a3
MP
191672012-03-07 Marek Polacek <polacek@redhat.com>
19168
19169 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19170
65b81130
MP
191712012-03-08 Marek Polacek <polacek@redhat.com>
19172
19173 [BZ #13806]
19174 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19175 * stdio-common/tst-fphex.c: Define a few macros to make the
19176 test reusable. Use them.
19177 * stdio-common/tst-fphex-wide.c: New file.
19178
07037eeb
JM
191792012-03-08 Joseph Myers <joseph@codesourcery.com>
19180
a7a93d50
JM
19181 [BZ #6911]
19182 * manual/macros.texi (gnusystems): New macro.
19183 (nongnusystems): Likewise.
19184 (gnulinuxhurdsystems): Likewise.
19185 (gnuhurdsystems): Likewise..
19186 (gnulinuxsystems): Likewise.
19187 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19188 variants of the GNU system, not "GNU system".
19189 * manual/conf.texi: Likewise.
19190 * manual/errno.texi: Likewise. Update example of errno macro
19191 expansion.
19192 * manual/filesys.texi: Likewise.
19193 (getumask): Document as specific to GNU/Hurd.
19194 * manual/install.texi: Likewise. Reword some references to
19195 GNU/Linux.
19196 * manual/intro.texi: Likewise.
19197 * manual/io.texi: Likewise.
19198 (File Name Portability): Detail which constraints are inapplicable
19199 to all GNU systems and which are only inapplicable to GNU/Hurd.
19200 * manual/job.texi: Likewise.
19201 * manual/llio.texi: Likewise.
19202 (O_NOCTTY): Document as present on GNU/Linux.
19203 * manual/maint.texi: Likewise.
19204 * manual/memory.texi: Likewise.
19205 * manual/pattern.texi: Likewise.
19206 * manual/pipe.texi: Likewise.
19207 * manual/process.texi: Likewise.
19208 * manual/resource.texi: Likewise.
19209 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19210 child on GNU/Hurd.
19211 * manual/setjmp.texi: Likewise.
19212 * manual/signal.texi: Likewise.
19213 * manual/startup.texi: Likewise.
19214 * manual/stdio.texi: Likewise.
19215 * manual/terminal.texi: Likewise.
19216 (ONLCR): Document as POSIX.
19217 (OXTABS): Document availability on GNU/Linux as XTABS.
19218 (ONOEOT): Document availability separately from other bits.
19219 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19220 * manual/time.texi: Likewise.
19221 * manual/users.texi: Likewise.
19222 * INSTALL: Regenerated.
19223 * sysdeps/gnu/errlist.c: Regenerated.
19224
07037eeb
JM
19225 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19226 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19227 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19228 puts.
19229 * configure: Regenerated.
19230
d1d3431a
JM
192312012-03-07 Joseph Myers <joseph@codesourcery.com>
19232
af6a1e37
JM
19233 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19234 default includes instead of AC_HEADER_CHECK.
19235 * sysdeps/i386/configure: Regenerated.
19236
d1d3431a
JM
19237 [BZ #10716]
19238 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19239 * math/s_cacoshf.c (__cacoshf): Likewise.
19240 * math/s_cacoshl.c (__cacoshl): Likewise.
19241 * math/s_casinh.c (__casinh): Set signs of result from argument.
19242 * math/s_casinhf.c (__casinhf): Likewise.
19243 * math/s_casinhl.c (__casinhl): Likewise.
19244 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19245 (casinh_test): Add more tests.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
482ff4da
UD
192492012-03-07 Ulrich Drepper <drepper@gmail.com>
19250
872fda05
UD
19251 * po/zh_TW.po: Update from translation team.
19252
a4300c7a
UD
19253 * login/Makefile (distribute): Remove variable.
19254 * catgets/Makefile: Likewise.
19255 * mach/Makefile: Likewise.
19256 * malloc/Makefile: Likewise.
19257 * misc/Makefile: Likewise.
19258 * iconv/Makefile: Likewise.
19259 * nscd/Makefile: Likewise.
19260 * hurd/Makefile: Likewise.
19261 * manual/Makefile: Likewise.
19262 * locale/Makefile: Likewise.
19263 * intl/Makefile: Likewise.
19264 * conform/Makefile: Likewise.
19265 * nss/Makefile: Likewise.
19266 * time/Makefile: Likewise.
19267 * soft-fp/Makefile: Likewise.
19268 * dirent/Makefile: Likewise.
19269 * gmon/Makefile: Likewise.
19270 * po/Makefile: Likewise.
19271 * rt/Makefile: Likewise.
19272 * socket/Makefile: Likewise.
19273 * math/Makefile: Likewise.
19274 * signal/Makefile: Likewise.
19275 * debug/Makefile: Likewise.
19276 * elf/Makefile: Likewise.
19277 * timezone/Makefile: Likewise.
19278 * stdlib/Makefile: Likewise.
19279 * iconvdata/Makefile: Likewise.
19280 * sunrpc/Makefile: Likewise.
19281 * io/Makefile: Likewise.
19282 * argp/Makefile: Likewise.
19283 * inet/Makefile: Likewise.
19284 * hesiod/Makefile: Likewise.
19285 * grp/Makefile: Likewise.
19286 * csu/Makefile: Likewise.
19287 * wctype/Makefile: Likewise.
19288 * crypt/Makefile: Likewise.
19289 * libio/Makefile: Likewise.
19290 * string/Makefile: Likewise.
19291 * nis/Makefile: Likewise.
19292 * resolv/Makefile: Likewise.
19293 * stdio-common/Makefile: Likewise.
19294 * wcsmbs/Makefile: Likewise.
19295 * dlfcn/Makefile: Likewise.
19296 * posix/Makefile: Likewise.
19297
3b7c4e74 19298 [BZ #6959]
482ff4da
UD
19299 * timezone/Makefile: Don't install timezone files, just the programs
19300 and scripts.
19301
f72ed77d
UD
193022012-03-06 Ulrich Drepper <drepper@gmail.com>
19303
a000466f
UD
19304 * nss/databases.def: Add missing gshadow entry.
19305
f72ed77d
UD
19306 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19307
a53b7a4e
MP
193082012-03-06 Marek Polacek <polacek@redhat.com>
19309
19310 [BZ #13726]
19311 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19312 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19313 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19314 * stdio-common/tst-long-dbl-fphex.c: New file.
19315
e9258400
DM
193162012-03-06 David S. Miller <davem@davemloft.net>
19317
19318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19319 (set_obp_int): New function.
19320 (get_obp_int): New function.
19321 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19323 Avoid unused variable warnings on 'val' and use builtin_expect.
19324 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19325 __builtin_expect.
e9258400
DM
19326 (INLINE_CLONE_SYSCALL): Likewise.
19327
3bd2c723
DM
193282012-03-05 David S. Miller <davem@davemloft.net>
19329
19330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19331
bbb78d03
AS
193322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19333
884c5db4
AS
19334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19335
bbb78d03
AS
19336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19337 only for |x| >= 40.
19338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19339
1c9f702a 193402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19341
19342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19343 Replace gettimeofday with __vdso_gettimeofday.
19344
7be16f82
RM
19345 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19346 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19347 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19348
19349 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19350 time with __vdso_time.
19351
ed58a00f
JM
193522012-03-05 Joseph Myers <joseph@codesourcery.com>
19353
19354 * manual/lang.texi (size_t): Note types to which size_t may be
19355 equivalent with the GNU C Library, but do not describe when
19356 differences between them are significant.
19357
30ee4ced
AJ
193582012-03-05 Andreas Jaeger <aj@suse.de>
19359
19360 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361
b7cd39e8
JM
193622012-03-05 Joseph Myers <joseph@codesourcery.com>
19363
19364 [BZ #3976]
19365 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19366 (__ieee754_pow): Save and restore rounding mode and use
19367 round-to-nearest for main computations.
19368 * math/libm-test.inc (pow_test_tonearest): New function.
19369 (pow_test_towardzero): Likewise.
19370 (pow_test_downward): Likewise.
19371 (pow_test_upward): Likewise.
19372 (main): Call the new functions.
19373 * sysdeps/i386/fpu/libm-test-ulps: Update.
19374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19375
19376 [BZ #3976]
19377 * math/libm-test.inc (cosh_test_tonearest): New function.
19378 (cosh_test_towardzero): Likewise.
19379 (cosh_test_downward): Likewise.
19380 (cosh_test_upward): Likewise.
19381 (sinh_test_tonearest): Likewise.
19382 (sinh_test_towardzero): Likewise.
19383 (sinh_test_downward): Likewise.
19384 (sinh_test_upward): Likewise.
19385 (main): Call the new functions.
19386 * sysdeps/i386/fpu/libm-test-ulps: Update.
19387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19388
6c6a98c9
TV
193892012-03-05 Tom de Vries <tom@codesourcery.com>
19390
19391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19392 default stack guard is set in last bytes.
19393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19394
21bb2d2e 193952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19396
21bb2d2e 19397 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19398
21bb2d2e
AJ
19399 [BZ #13656]
19400 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19401 possibly allocate from heap instead of stack.
19402 * stdio-common/bug-vfprintf-nargs.c: New file.
19403 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19404
c6922934
AS
194052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19406
19407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19408
bc957d53
MP
194092012-03-03 Marek Polacek <polacek@redhat.com>
19410
19411 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19412 * math/math_private.h: Likewise.
19413 * stdlib/tst-strtod.c: Likewise.
19414 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19415 * sysdeps/x86_64/bits/atomic.h: Likewise.
19416
6358490d
DM
194172012-03-02 David S. Miller <davem@davemloft.net>
19418
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19423 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19424 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19425 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19426 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19427
01ae168d
RM
194282012-03-02 Roland McGrath <roland@hack.frob.com>
19429
d9a17c07
RM
19430 [BZ #13792]
19431 * manual/examples/README: New file, says the example source files
19432 can be used under GPL>=2.
19433 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19434 line containing just "*/".
19435 * manual/examples/add.c: Add copyright header (GPL>=2).
19436 * manual/examples/argp-ex1.c: Likewise.
19437 * manual/examples/argp-ex2.c: Likewise.
19438 * manual/examples/argp-ex3.c: Likewise.
19439 * manual/examples/argp-ex4.c: Likewise.
19440 * manual/examples/atexit.c: Likewise.
19441 * manual/examples/db.c: Likewise.
19442 * manual/examples/dir.c: Likewise.
19443 * manual/examples/dir2.c: Likewise.
19444 * manual/examples/execinfo.c: Likewise.
19445 * manual/examples/filecli.c: Likewise.
19446 * manual/examples/filesrv.c: Likewise.
19447 * manual/examples/fmtmsgexpl.c: Likewise.
19448 * manual/examples/genpass.c: Likewise.
19449 * manual/examples/inetcli.c: Likewise.
19450 * manual/examples/inetsrv.c: Likewise.
19451 * manual/examples/isockad.c: Likewise.
19452 * manual/examples/longopt.c: Likewise.
19453 * manual/examples/memopen.c: Likewise.
19454 * manual/examples/memstrm.c: Likewise.
19455 * manual/examples/mkfsock.c: Likewise.
19456 * manual/examples/mkisock.c: Likewise.
19457 * manual/examples/mygetpass.c: Likewise.
19458 * manual/examples/pipe.c: Likewise.
19459 * manual/examples/popen.c: Likewise.
19460 * manual/examples/rprintf.c: Likewise.
19461 * manual/examples/search.c: Likewise.
19462 * manual/examples/select.c: Likewise.
19463 * manual/examples/setjmp.c: Likewise.
19464 * manual/examples/sigh1.c: Likewise.
19465 * manual/examples/sigusr.c: Likewise.
19466 * manual/examples/stpcpy.c: Likewise.
19467 * manual/examples/strdupa.c: Likewise.
19468 * manual/examples/strftim.c: Likewise.
19469 * manual/examples/strncat.c: Likewise.
19470 * manual/examples/subopt.c: Likewise.
19471 * manual/examples/swapcontext.c: Likewise.
19472 * manual/examples/termios.c: Likewise.
19473 * manual/examples/testopt.c: Likewise.
19474 * manual/examples/testpass.c: Likewise.
19475 * manual/examples/timeval_subtract.c: Likewise.
19476
01ae168d
RM
19477 [BZ #13792]
19478 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19479 function to ...
19480 * manual/timeval_subtract.c.texi: ... here, new file.
19481
49efa33d
DM
194822012-03-02 David S. Miller <davem@davemloft.net>
19483
19484 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19485
28afd92d
JM
194862012-03-02 Joseph Myers <joseph@codesourcery.com>
19487
804360ed
JM
19488 [BZ #3976]
19489 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19490 (__sin): Save and restore rounding mode and use round-to-nearest
19491 for all computations.
19492 (__cos): Save and restore rounding mode and use round-to-nearest
19493 for all computations.
19494 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19495 <fenv.h>.
19496 (tan): Save and restore rounding mode and use round-to-nearest for
19497 all computations.
19498 * math/libm-test.inc (cos_test_tonearest): New function.
19499 (cos_test_towardzero): Likewise.
19500 (cos_test_downward): Likewise.
19501 (cos_test_upward): Likewise.
19502 (sin_test_tonearest): Likewise.
19503 (sin_test_towardzero): Likewise.
19504 (sin_test_downward): Likewise.
19505 (sin_test_upward): Likewise.
19506 (tan_test_tonearest): Likewise.
19507 (tan_test_towardzero): Likewise.
19508 (tan_test_downward): Likewise.
19509 (tan_test_upward): Likewise.
19510 (main): Call the new functions.
19511 * sysdeps/i386/fpu/libm-test-ulps: Update.
19512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19513
a6d06d7b
JM
19514 [BZ #10135]
19515 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19516 small n, then large n, before computing and testing k+n.
19517 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19519 Likewise.
19520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19521 Likewise.
19522 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19523 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19524 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19526 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19527 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19528 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19530 * math/libm-test.inc (scalbn_test): Add more tests.
19531 (scalbln_test): Likewise.
19532
07e12bb3
JM
19533 * manual/filesys.texi (mode_t): Describe constraints on size and
19534 signedness, not exact equivalence to a particular type.
19535 (ino_t): Likewise.
19536 (ino64_t): Likewise.
19537 (dev_t): Likewise.
19538 (nlink_t): Likewise.
19539 (blkcnt_t): Likewise.
19540 (blkcnt64_t): Likewise.
19541 * manual/llio.texi (off_t): Likewise.
19542
28afd92d
JM
19543 [BZ #3976]
19544 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19545 (__ieee754_exp): Save and restore rounding mode and use
19546 round-to-nearest for all computations.
19547 * math/libm-test.inc (exp_test_tonearest): New function.
19548 (exp_test_towardzero): Likewise.
19549 (exp_test_downward): Likewise.
19550 (exp_test_upward): Likewise.
19551 (main): Call the new functions.
19552 * sysdeps/i386/fpu/libm-test-ulps: Update.
19553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19554
b1eeb65d
CD
195552012-03-01 Chris Demetriou <cgd@google.com>
19556
19557 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19558 have predictable order.
19559
53362a4b
DM
195602012-03-01 David S. Miller <davem@davemloft.net>
19561
3c969083
DM
19562 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19563
759707de
DM
19564 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19565 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19566 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19567 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19568
dfdb8ff2
DM
19569 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19570 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19571 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19573 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19574 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19575 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19576 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19577 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19578
ead89f96
DM
19579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19580
7f66bd07
DM
19581 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19582 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19583 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19584
53362a4b
DM
19585 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19587 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19588 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19589 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19592 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19593 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19594 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19595 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19601 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19602 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19603 * sysdeps/sparc/elf/configure: Regenerated.
19604
7b1902cb
JM
196052012-03-01 Joseph Myers <joseph@codesourcery.com>
19606
bec039bc
JM
19607 * configure.in (AS, LD): Require binutils 2.20 or later.
19608 * configure: Regenerated.
19609 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19610 as required minimum version.
19611 * INSTALL: Regenerated.
19612
7b1902cb
JM
19613 [BZ #2541]
19614 [BZ #4108]
19615 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19616 before squaring exponent.
19617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19618 bottom long double and 27 bits of top long double before squaring
19619 exponent.
19620 * math/libm-test.inc (erfc_test): Add more tests.
19621 * sysdeps/i386/fpu/libm-test-ulps: Update.
19622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624
f775c276
KT
196252012-03-01 Kai Tietz <ktietz@redhat.com>
19626
19627 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19628 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19629 containing bit-fields.
19630 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19631 * soft-fp/single.h (_FP_UNION_S): Likewise.
19632 * soft-fp/double.h (_FP_UNION_D): Likewise.
19633
5b8a4d4a
JM
196342012-02-29 Joseph Myers <joseph@codesourcery.com>
19635
0bab47b6
JM
19636 [BZ #13786]
19637 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19638 not include ../strcmp.S.
19639 [USE_AS_STRNCASECMP_L]: Likewise.
19640 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19641 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19642 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19643 (__strncasecmp_l_ia32): Define as alias to
19644 __strncasecmp_l_nonascii.
19645
0fcad3e2
JM
19646 [BZ #5794]
19647 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19648 * sysdeps/i386/fpu/libm-test-ulps: Update.
19649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650
5b8a4d4a
JM
19651 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19653
8fdceb2e
JL
196542012-02-29 Jeff Law <law@redhat.com>
19655
19656 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19657 out of bounds read.
19658
1f393a11
MP
196592012-02-29 Marek Polacek <polacek@redhat.com>
19660
19661 [BZ #13706]
19662 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19663 * elf/Makefile: Add rules to run tst-unused-dep.out.
19664
8847f037
DM
196652012-02-28 David S. Miller <davem@davemloft.net>
19666
19667 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19668 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19670 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19671 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19672 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19673
169d7f11
JM
196742012-02-29 Joseph Myers <joseph@codesourcery.com>
19675
19676 * math/libm-test.inc (llround_test): Move one test from
19677 lround_test. Use TEST_f_L in moved test.
19678 (lround_test): Move misplaced test to llround_test. Add testcase
19679 from bug 2561.
19680
39adf059
UD
196812012-02-28 Ulrich Drepper <drepper@gmail.com>
19682
19683 * sysdeps/x86_64/fpu/e_expf.S: New file.
19684 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19685
71b5d1c5
SB
196862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19687
19688 [BZ #13637]
19689 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19690 of remain_len that may cause incomplete multi-byte character and
19691 false match.
19692 * posix/bug-regex33.c: New file.
19693 * posix/Makefile (tests): Add bug-regex33.
19694
1f77f049
JM
196952012-02-28 Joseph Myers <joseph@codesourcery.com>
19696
19697 * manual/macros.texi: New file.
19698 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19699 * manual/libc.texinfo: Include macros.texi.
19700 * manual/creatute.texi: Likewise.
19701 * manual/install.texi: Likewise.
19702 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19703 @glibcadj{} in references to the GNU C Library.
19704 * manual/charset.texi: Likewise.
19705 * manual/conf.texi: Likewise.
19706 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19707 when not using those macros.
19708 * manual/creature.texi: Likewise.
19709 * manual/crypt.texi: Likewise.
19710 * manual/errno.texi: Likewise.
19711 * manual/filesys.texi: Likewise.
19712 * manual/header.texi: Likewise.
19713 * manual/install.texi: Likewise.
19714 * manual/intro.texi: Likewise.
19715 * manual/io.texi: Likewise.
19716 * manual/job.texi: Likewise.
19717 * manual/lang.texi: Likewise.
19718 * manual/libc.texiinfo: Likewise.
19719 * manual/llio.texi: Likewise.
19720 * manual/locale.texi: Likewise.
19721 * manual/maint.texi: Likewise.
19722 * manual/math.texi: Likewise.
19723 * manual/memory.texi: Likewise.
19724 * manual/message.texi: Likewise.
19725 * manual/nss.texi: Likewise.
19726 * manual/pattern.texi: Likewise.
19727 * manual/process.texi: Likewise.
19728 * manual/resource.texi: Likewise.
19729 * manual/search.texi: Likewise.
19730 * manual/setjmp.texi: Likewise.
19731 * manual/signal.texi: Likewise.
19732 * manual/socket.texi: Likewise.
19733 * manual/startup.texi: Likewise.
19734 * manual/stdio.texi: Likewise.
19735 * manual/string.texi: Likewise.
19736 * manual/sysinfo.texi: Likewise.
19737 * manual/syslog.texi: Likewise.
19738 * manual/terminal.texi: Likewise.
19739 * manual/time.texi: Likewise.
19740 * manual/users.texi: Likewise.
19741 * INSTALL: Regenerated.
19742 * NOTES: Regenerated.
d40c5d54 19743 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19744
450bf206
AS
197452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19746
19747 * include/dirent.h: Include <dirstream.h> before
19748 <dirent/dirent.h>.
19749
741a235b
DM
197502012-02-28 David S. Miller <davem@davemloft.net>
19751
19752 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19753 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19754 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19755 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19756
d6b5aa58
DM
197572012-02-27 David S. Miller <davem@davemloft.net>
19758
1aff59a3
DM
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19761 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19762 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19763
d6b5aa58
DM
19764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19765 frame pointer instead of stack pointer relative arg slot.
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19767 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19768 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19769
433f48bf
CD
197702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19771
19772 [BZ #3992]
19773 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19774
d674b76d
DM
197752012-02-27 David S. Miller <davem@davemloft.net>
19776
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19781 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19782 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19783 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19784 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19785
0e7727f7
JM
197862012-02-27 Joseph Myers <joseph@codesourcery.com>
19787
19788 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19789 later. Allow versions 5-9.
43be4ca2 19790 * configure: Regenerated.
0e7727f7
JM
19791 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19792 required minimum version and 4.6 as recommended version. Do not
19793 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19794 * INSTALL: Regenerated.
0e7727f7 19795
a78bc654
DM
197962012-02-27 David S. Miller <davem@davemloft.net>
19797
428d5830
DM
19798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19804 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19806
a78bc654
DM
19807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19808 manipulate bits before adding and subtracting TWO112[sx].
19809 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19810
4579f81c
RM
198112012-02-27 Roland McGrath <roland@hack.frob.com>
19812
36c8acb4
RM
19813 [BZ #13775]
19814 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19815 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19816 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19817 being in POSIX, because they are in 1003.1-2008.
19818
84ad622b
RM
19819 * rt/tst-aio.c: Include <fcntl.h>.
19820 * rt/tst-aio7.c: Likewise.
19821 * rt/tst-aio64.c: Likewise.
19822
4579f81c
RM
19823 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19824
abd923db
JM
198252012-02-27 Joseph Myers <joseph@codesourcery.com>
19826
19827 * manual/install.texi (--with-headers): Describe headers as
19828 interface headers, not private headers.
19829 (Specific advice for GNU/Linux systems): Describe use of headers
19830 from "make headers_install", not private headers from older
19831 kernels.
43be4ca2 19832 * INSTALL: Regenerated.
abd923db
JM
19833 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19834 Change to 2.6.19.
19835 * sysdeps/unix/sysv/linux/configure: Regenerated.
19836
6664049b
JM
19837 * manual/llio.texi (fclean): Remove documentation.
19838
bb8b6697
JM
19839 * manual/Makefile (libc-texi-generated): New variable. Include
19840 version.texi.
19841 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19842 $(libc-texi-generated), not duplicated list of files.
19843 (version.texi, stamp-version): New rules.
19844 (realclean): Remove $(libc-texi-generated), not individual files
19845 from that list. Do not remove dir-add.texinfo.
19846 * manual/libc.texinfo: Comment out uses of edition numbers and
19847 references to printed manual. Remove last-updated dates.
19848 (EDITION): Comment out.
19849 (ISBN): Likewise.
19850 (VERSION, UPDATED): Remove.
19851 (version.texi): Include.
19852
12e5c3b9
AS
198532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19854
19855 * sysdeps/posix/spawni.c: Include <signal.h>.
19856 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19857 * sysdeps/pthread/aio_fsync.c: Likewise.
19858
4efeffc1 198592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19860
ba63ba08
UD
19861 * conform/Makefile (tests): Run only when not cross-compiling and
19862 when fast-check is not defined.
19863
d94a4670
UD
19864 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19865 * conform/data/limits.h-data: Fixes for POSIX2008.
19866 * conform/run-conformtest.sh: Run all tests.
19867 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19868 headers.
19869 * include/bits/dlfcn.h: Likewise.
19870 * include/langinfo.h: Likewise.
19871 * include/monetary.h: Likewise.
19872 * include/sys/poll.h: Likewise.
19873
19874 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19875 for __USE_GNU.
19876 * posix/spawn.h: Define __need_sigset_t.
19877 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19878 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19879 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19880 to get sigevent_t only.
19881 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19882 only for __USE_GNU.
19883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19884 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19885 process_vm_writev only for __USE_GNU.
19886 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19887
19888 * conform/Makefile: For now ignore errors from run-conformtest.
19889 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19890 POSIX to avoid namespace pollution. Don't prepend headers.
19891 * conform/data/aio.h-data: Fixes for POSIX testing.
19892 * conform/data/fcntl.h-data: Likewise.
19893 * conform/data/glob.h-data: Likewise.
19894 * conform/data/grp.h-data: Likewise.
19895 * conform/data/pthread.h-data: Likewise.
19896 * conform/data/pwd.h-data: Likewise.
19897 * conform/data/signal.h-data: Likewise.
19898 * conform/data/spawn.h-data: Likewise.
19899 * conform/data/stdio.h-data: Likewise.
19900 * conform/data/stdlib.h-data: Likewise.
19901 * conform/data/stropts.h-data: Likewise.
19902 * conform/data/sys/mman.h-data: Likewise.
19903 * conform/data/sys/stat.h-data: Likewise.
19904 * conform/data/sys/types.h-data: Likewise.
19905 * conform/data/sys/wait.h-data: Likewise.
19906 * conform/data/time.h-data: Likewise.
19907 * conform/data/unistd.h-data: Likewise.
19908 * conform/data/utime.h-data: Likewise.
19909
19910 * io/sys/stat.h: fchmod was always in POSIX.
19911 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19912 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19913 * rt/aio.h: Define __need_timespec before including <time.h>.
19914 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19915 struct. Add forward declaration of pthread_attr_t and use it in
19916 sigevent.
19917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19919 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19920 always remove CLK_TCK definition.
19921
c20105c3
AS
199222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19923
19924 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19925
7a270350
UD
199262012-02-25 Ulrich Drepper <drepper@gmail.com>
19927
31341567
UD
19928 * conform/run-conformtest.sh: New file.
19929 * conform/Makefile: Run run-conformtest for tests.
19930 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19931 support.
19932
19933 * conform/data/uchar.h-data: New file.
19934 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19935 * conform/data/arpa/inet.h-data: Likewise.
19936 * conform/data/assert.h-data: Likewise.
19937 * conform/data/complex.h-data: Likewise.
19938 * conform/data/cpio.h-data: Likewise.
19939 * conform/data/ctype.h-data: Likewise.
19940 * conform/data/dirent.h-data: Likewise.
19941 * conform/data/dlfcn.h-data: Likewise.
19942 * conform/data/errno.h-data: Likewise.
19943 * conform/data/fcntl.h-data: Likewise.
19944 * conform/data/float.h-data: Likewise.
19945 * conform/data/fmtmsg.h-data: Likewise.
19946 * conform/data/fnmatch.h-data: Likewise.
19947 * conform/data/ftw.h-data: Likewise.
19948 * conform/data/glob.h-data: Likewise.
19949 * conform/data/grp.h-data: Likewise.
19950 * conform/data/iconv.h-data: Likewise.
19951 * conform/data/inttypes.h-data: Likewise.
19952 * conform/data/langinfo.h-data: Likewise.
19953 * conform/data/libgen.h-data: Likewise.
19954 * conform/data/limits.h-data: Likewise.
19955 * conform/data/locale.h-data: Likewise.
19956 * conform/data/math.h-data: Likewise.
19957 * conform/data/monetary.h-data: Likewise.
19958 * conform/data/mqueue.h-data: Likewise.
19959 * conform/data/ndbm.h-data: Likewise.
19960 * conform/data/net/if.h-data: Likewise.
19961 * conform/data/netdb.h-data: Likewise.
19962 * conform/data/netinet/in.h-data: Likewise.
19963 * conform/data/nl_types.h-data: Likewise.
19964 * conform/data/poll.h-data: Likewise.
19965 * conform/data/pthread.h-data: Likewise.
19966 * conform/data/pwd.h-data: Likewise.
19967 * conform/data/regex.h-data: Likewise.
19968 * conform/data/sched.h-data: Likewise.
19969 * conform/data/search.h-data: Likewise.
19970 * conform/data/semaphore.h-data: Likewise.
19971 * conform/data/setjmp.h-data: Likewise.
19972 * conform/data/signal.h-data: Likewise.
19973 * conform/data/spawn.h-data: Likewise.
19974 * conform/data/stdarg.h-data: Likewise.
19975 * conform/data/stdio.h-data: Likewise.
19976 * conform/data/stdlib.h-data: Likewise.
19977 * conform/data/string.h-data: Likewise.
19978 * conform/data/strings.h-data: Likewise.
19979 * conform/data/stropts.h-data: Likewise.
19980 * conform/data/sys/ipc.h-data: Likewise.
19981 * conform/data/sys/mman.h-data: Likewise.
19982 * conform/data/sys/msg.h-data: Likewise.
19983 * conform/data/sys/resource.h-data: Likewise.
19984 * conform/data/sys/select.h-data: Likewise.
19985 * conform/data/sys/sem.h-data: Likewise.
19986 * conform/data/sys/shm.h-data: Likewise.
19987 * conform/data/sys/socket.h-data: Likewise.
19988 * conform/data/sys/stat.h-data: Likewise.
19989 * conform/data/sys/statvfs.h-data: Likewise.
19990 * conform/data/sys/time.h-data: Likewise.
19991 * conform/data/sys/timeb.h-data: Likewise.
19992 * conform/data/sys/times.h-data: Likewise.
19993 * conform/data/sys/types.h-data: Likewise.
19994 * conform/data/sys/uio.h-data: Likewise.
19995 * conform/data/sys/un.h-data: Likewise.
19996 * conform/data/sys/utsname.h-data: Likewise.
19997 * conform/data/sys/wait.h-data: Likewise.
19998 * conform/data/syslog.h-data: Likewise.
19999 * conform/data/tar.h-data: Likewise.
20000 * conform/data/termios.h-data: Likewise.
20001 * conform/data/utime.h-data: Likewise.
20002 * conform/data/utmpx.h-data: Likewise.
20003 * conform/data/varargs.h-data: Likewise.
20004 * conform/data/wchar.h-data: Likewise.
20005 * conform/data/wctype.h-data: Likewise.
20006 * conform/data/wordexp.h-data: Likewise.
20007
20008 * include/stropts.h: New file.
20009 * include/uchar.h: New file.
20010 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20011 * include/assert.h: Likewise.
20012 * include/ctype.h: Likewise.
20013 * include/dirent.h: Likewise.
20014 * include/dlfcn.h: Likewise.
20015 * include/fcntl.h: Likewise.
20016 * include/fnmatch.h: Likewise.
20017 * include/glob.h: Likewise.
20018 * include/grp.h: Likewise.
20019 * include/libio.h: Likewise.
20020 * include/locale.h: Likewise.
20021 * include/math.h: Likewise.
20022 * include/net/if.h: Likewise.
20023 * include/netdb.h: Likewise.
20024 * include/netinet/in.h: Likewise.
20025 * include/pthread.h: Likewise.
20026 * include/pwd.h: Likewise.
20027 * include/regex.h: Likewise.
20028 * include/sched.h: Likewise.
20029 * include/search.h: Likewise.
20030 * include/setjmp.h: Likewise.
20031 * include/signal.h: Likewise.
20032 * include/stdio.h: Likewise.
20033 * include/stdlib.h: Likewise.
20034 * include/string.h: Likewise.
20035 * include/sys/cdefs.h: Likewise.
20036 * include/sys/mman.h: Likewise.
20037 * include/sys/msg.h: Likewise.
20038 * include/sys/resource.h: Likewise.
20039 * include/sys/select.h: Likewise.
20040 * include/sys/socket.h: Likewise.
20041 * include/sys/stat.h: Likewise.
20042 * include/sys/statvfs.h: Likewise.
20043 * include/sys/time.h: Likewise.
20044 * include/sys/times.h: Likewise.
20045 * include/sys/uio.h: Likewise.
20046 * include/sys/utsname.h: Likewise.
20047 * include/sys/wait.h: Likewise.
20048 * include/termios.h: Likewise.
20049 * include/time.h: Likewise.
20050 * include/ulimit.h: Likewise.
20051 * include/unistd.h: Likewise.
20052 * include/utime.h: Likewise.
20053 * include/wchar.h: Likewise.
20054 * include/wctype.h: Likewise.
20055 * include/wordexp.h: Likewise.
20056
20057 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20058
7a270350
UD
20059 * time/time.h: TIME_UTC must be a macro.
20060 Make timespec_get available for ISO C11 only as well.
20061
7724defc
UD
200622012-02-24 Ulrich Drepper <drepper@gmail.com>
20063
20064 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20065 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20066
6b1d1d46
JM
200672012-02-24 Joseph Myers <joseph@codesourcery.com>
20068
20069 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20070
0f8bbd69
JM
200712012-02-24 Joseph Myers <joseph@codesourcery.com>
20072
20073 * manual/texinfo.tex: Update to version 2012-01-19.16.
20074
66ab80bc
JM
200752012-02-24 Joseph Myers <joseph@codesourcery.com>
20076
20077 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20078
74981cc5
RM
200792012-02-24 Roland McGrath <roland@hack.frob.com>
20080
ee968201
RM
20081 [BZ #13738]
20082 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20083 * manual/fdl-1.3.texi: New file.
20084 * manual/fdl-1.1.texi: File removed.
20085
74981cc5
RM
20086 [BZ #13738]
20087 * manual/libc.texinfo (FDL_VERSION): New @set.
20088 Use it for mention of FDL in cover text.
20089 (Documentation License): Use it in @include file name.
20090
7bb764bc
JM
200912012-02-22 Joseph Myers <joseph@codesourcery.com>
20092 Roland McGrath <roland@hack.frob.com>
20093
20094 [BZ #5461]
20095 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20096 not LONG_LONG_MAX and LONG_LONG_MIN.
20097 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20098 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20099 name.
20100 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20101
6cbeae47
JM
201022012-02-22 Joseph Myers <joseph@codesourcery.com>
20103
20104 [BZ #2547]
20105 [BZ #11365]
20106 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20107 manipulate bits before adding and subtracting TWO23[sx].
20108 * math/libm-test.inc (nearbyint_test): Add more tests.
20109
fe45ce09
JM
201102012-02-22 Joseph Myers <joseph@codesourcery.com>
20111
20112 [BZ #2548]
20113 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20114 bits before adding and subtracting TWO23[sx].
20115 * math/libm-test.inc (rint_test): Add more tests.
20116 (rint_test_tonearest): Likewise.
20117 (rint_test_towardzero): Likewise.
20118 (rint_test_downward): Likewise.
20119 (rint_test_upward: Likewise.
20120
ff3b3d82
JM
201212012-02-22 Joseph Myers <joseph@codesourcery.com>
20122
20123 [BZ #10110]
20124 * include/stdc-predef.h: New file. Extracted from features.h.
20125 * include/features.h: Include stdc-predef.h.
20126 * Makefile (headers): Add stdc-predef.h.
20127 * CONFORMANCE (Compiler limitations): Update.
20128
ef0aab35
JM
201292012-02-22 Joseph Myers <joseph@codesourcery.com>
20130
20131 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20132
58639409
DM
201332012-02-21 David S. Miller <davem@davemloft.net>
20134
20135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20137
c0e70b25
DM
201382012-02-20 David S. Miller <davem@davemloft.net>
20139
20140 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20141 using a normal save/restore sequence, rather than allocating a
20142 dummy stack frame just to store a frame pointer and restore.
20143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20144
fb06851d
JM
201452012-02-21 Joseph Myers <joseph@codesourcery.com>
20146
20147 * manual/install.texi: Fix stray word in line-wrapped comment.
20148
7a8b71c3
DM
201492012-02-20 David S. Miller <davem@davemloft.net>
20150
d510c123
DM
20151 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20152 both binutils and gcc support GOTDATA.
20153
0722d7c2
DM
20154 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20155 "rd %pc" in the PIC register setup sequences.
20156
3d2b3019
DM
20157 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20158 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20159 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20160 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20163 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20166 (SYSCALL_ERROR_HANDLER): Likewise.
20167 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20168 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20170 (SYSCALL_ERROR_HANDLER): Likewise.
20171
c80098a9
DM
20172 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20173 (HAVE_GCC_GOTDATA): New.
20174 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20175 relocation support in both binutils and gcc.
20176 * sysdeps/sparc/elf/configure: Regenerate.
20177
3a2545a0
DM
20178 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20179 * sysdeps/sparc/sparc32/elf/configure: Delete.
20180 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20181 * sysdeps/sparc/sparc64/elf/configure: Delete.
20182 * sysdeps/sparc/elf/configure.in: New file.
20183 * sysdeps/sparc/elf/configure: Generate.
20184
7a8b71c3
DM
20185 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20186 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20187 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20188 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20189 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20190
f1e86fca
JM
201912012-02-21 Joseph Myers <joseph@codesourcery.com>
20192
20193 * manual/install.texi: Do not mention specific glibc version
20194 numbers.
20195 * manual/libc.texinfo (VERSION, UPDATED): Update.
20196 (@copying): Use @copyright{} and range of years.
20197
0e7dfaef
JM
201982012-02-21 Joseph Myers <joseph@codesourcery.com>
20199
20200 [BZ #13695]
20201 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20202 [crti.S not in sysdirs] (generated): Do not append.
20203 [crti.S not in sysdirs] (omit-deps): Likewise.
20204 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20205 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20206 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20207 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20208 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20209 Likewise.
20210 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20211 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20212 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20213 * csu/defs.awk: Remove file.
20214 * sysdeps/generic/initfini.c: Likewise.
20215 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20216 variable.
20217 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20218 Likewise.
20219
599af3ca
JM
202202012-02-20 Joseph Myers <joseph@codesourcery.com>
20221
20222 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20223 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20224 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20227 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20228 <bits/epoll.h>.
20229 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20230 (__EPOLL_PACKED): Define to empty if not defined by
20231 <bits/epoll.h>.
20232 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20234 bits/epoll.h.
20235
0e499750
JM
202362012-02-20 Joseph Myers <joseph@codesourcery.com>
20237
20238 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20239 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20240 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20242 <bits/timerfd.h>.
20243 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20245 bits/timerfd.h.
20246
5ad91f6e
JM
202472012-02-20 Joseph Myers <joseph@codesourcery.com>
20248
20249 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20250 in C locale.
20251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255
06b99b02
AJ
202562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20257
20258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20260
7638c0fd
AS
202612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20262
20263 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20264 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20265 defined.
20266 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20267 Likewise.
20268 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20269 entry for 2.16.
20270
92221550
AJ
202712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20272
20273 * math/w_acos.c: Use non-signaling floating-point comparisons.
20274 * math/w_acosf.c: Likewise.
20275 * math/w_acosh.c: Likewise.
20276 * math/w_acoshf.c: Likewise.
20277 * math/w_acoshl.c: Likewise.
20278 * math/w_acosl.c: Likewise.
20279 * math/w_asin.c: Likewise.
20280 * math/w_asinf.c: Likewise.
20281 * math/w_asinl.c: Likewise.
20282 * math/w_atanh.c: Likewise.
20283 * math/w_atanhf.c: Likewise.
20284 * math/w_atanhl.c: Likewise.
20285 * math/w_exp2.c: Likewise.
20286 * math/w_exp2f.c: Likewise.
20287 * math/w_exp2l.c: Likewise.
20288 * math/w_j0.c: Likewise.
20289 * math/w_j0f.c: Likewise.
20290 * math/w_j0l.c: Likewise.
20291 * math/w_j1.c: Likewise.
20292 * math/w_j1f.c: Likewise.
20293 * math/w_j1l.c: Likewise.
20294 * math/w_jn.c: Likewise.
20295 * math/w_jnf.c: Likewise.
20296 * math/w_log.c: Likewise.
20297 * math/w_log10.c: Likewise.
20298 * math/w_log10f.c: Likewise.
20299 * math/w_log10l.c: Likewise.
20300 * math/w_log2.c: Likewise.
20301 * math/w_log2f.c: Likewise.
20302 * math/w_log2l.c: Likewise.
20303 * math/w_logf.c: Likewise.
20304 * math/w_logl.c: Likewise.
20305 * math/w_sqrt.c: Likewise.
20306 * math/w_sqrtf.c: Likewise.
20307 * math/w_sqrtl.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20311 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20313
ebaf36eb
JM
203142012-02-19 Joseph Myers <joseph@codesourcery.com>
20315
20316 [BZ #9739]
20317 * manual/string.texi (strnlen): Use correct parameter name in
20318 equivalent expression.
20319
71c254a6
JM
203202012-02-19 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #11174]
20323 * manual/users.texi (seteuid): Consistently use neweuid for
20324 argument name.
20325
16d2c631
JM
203262012-02-19 Joseph Myers <joseph@codesourcery.com>
20327
20328 [BZ #13704]
20329 * manual/nss.texi (Services in the NSS configuration): Correct
20330 list of services in example configuration file.
20331
cd837b09
NB
203322012-02-19 Nick Bowler <nbowler@draconx.ca>
20333
20334 [BZ #11322]
20335 * manual/arith.texi: Remove statements about negative zero
20336 behaving identically to zero.
20337
02c4bbad
JM
203382012-02-18 Joseph Myers <joseph@codesourcery.com>
20339
20340 [BZ #5993]
20341 * manual/install.texi: Do not document upgrading from libc5.
20342
366842e7
JM
203432012-02-18 Joseph Myers <joseph@codesourcery.com>
20344
20345 [BZ #4596]
20346 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20347
dd54084d
DM
203482012-02-18 David S. Miller <davem@davemloft.net>
20349
20350 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20351 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20352 %o7 across the call.
20353 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20354 instead.
20355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20356 SETUP_PIC_REG_LEAF.
20357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20358 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20359 * sysdeps/sparc/crtn.S: Likewise.
20360
2bcc53a3
UD
203612012-02-17 Ulrich Drepper <drepper@gmail.com>
20362
20363 * aout/Makefile: Remove.
20364
09c093b5
RK
203652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20366
20367 [BZ #13058]
20368 * manual/examples/argp-ex1.c (main): Format definition in GNU
20369 style.
20370 * manual/examples/argp-ex2.c (main): Likewise.
20371 * manual/examples/argp-ex3.c (main): Likewise.
20372 * manual/examples/argp-ex4.c (main): Likewise.
20373 * manual/examples/longopt.c (main): Use new-style prototype
20374 definition.
20375 * manual/examples/strncat.c (main): Specify return type and use
20376 (void) for arguments.
20377 * manual/examples/subopt.c (main): Use char **argv argument.
20378
2ee633a2
JM
203792012-02-17 Joseph Myers <joseph@codesourcery.com>
20380
20381 [BZ #5077]
20382 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20383 rounding modes.
20384
0520adde
FB
203852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20386
20387 [BZ #6907]
20388 * manual/string.texi (strchr): Change when strchrnul is
20389 recommended.
20390
3f4081cd
DGM
203912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20392
20393 [BZ #174]
20394 * manual/locale.texi (setlocale): Document LOCPATH.
20395
d1b10e78
JM
203962012-02-17 Joseph Myers <joseph@codesourcery.com>
20397
20398 [BZ #10210]
20399 * manual/process.texi (execle): Move @dots{} before last argument.
20400
79c6869c
PB
204012012-02-17 Paul Bolle <pebolle@tiscali.nl>
20402
20403 [BZ #12047]
20404 * manual/charset.texi (Generic Charset Conversion): Fix typo
20405 (LC_TYPE -> LC_CTYPE).
20406
cc6e48bc
NB
204072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20408
20409 [BZ #5805]
20410 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20411 (scalbnf): Likewise.
20412 (scalbnl): Likewise.
20413 (scalbln): Likewise.
20414 (scalblnf): Likewise.
20415 (scalblnl): Likewise.
20416 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20417 (vwarnx): Likewise.
20418 (verr): Likewise.
20419 (verrx): Likewise.
20420 * manual/filesys.texi (telldir): Use braces around return type.
20421 * manual/llio.texi (mmap): Add space after comma.
20422 (mmap64): Likewise.
20423 * manual/math.texi (jn): Use @var{} on parameter names.
20424 (jnf): Likewise.
20425 (jnl): Likewise.
20426 (yn): Likewise.
20427 (ynf): Likewise.
20428 (ynl): Likewise.
20429 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20430 line.
20431 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20432 "...".
20433 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20434 (sched_get_priority_max): Likewise.
20435 * manual/signal.texi (sigvec): Add space after comma.
20436 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20437 names.
20438 (if_indextoname): Likewise.
20439 (if_freenameindex): Likewise.
20440 (sendto): Use ',' instead of '.' in prototype.
20441 * manual/startup.texi (syscall): Use @dots{} instead of literal
20442 "...".
20443 * manual/stdio.texi (__fpending): Separate initial words of
20444 paragraph from @deftypefun line.
20445 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20446 "...".
20447 (vsyslog): Use @var{} on parameter names.
20448 * manual/terminal.texi (stty): Use @var{} on parameter names.
20449 * manual/users.texi (getutmp): Use @var{} on parameter names.
20450 (getutmpx): Likewise.
20451
5b23062f
JM
204522012-02-17 Joseph Myers <joseph@codesourcery.com>
20453
20454 [BZ #6884]
20455 * manual/stdio.texi (fopen): Fix typos in description of
20456 ",ccs=STRING".
20457
8dee4833
AJ
204582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20459
20460 [BZ #4026]
20461 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20462 get clock_id definition.
20463
9078ce93
TS
204642012-02-17 Thomas Schwinge <thomas@schwinge.name>
20465
20466 [BZ #4822]
20467 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20468 (madvise): Cast every argument to void on its own.
20469
3835c55f
JM
204702012-02-17 Joseph Myers <joseph@codesourcery.com>
20471
20472 [BZ #9902]
20473 * manual/startup.texi (Exit Status): Fix typo.
20474
35c47e37
JM
204752012-02-17 Joseph Myers <joseph@codesourcery.com>
20476
20477 [BZ #10140]
20478 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20479 * manual/examples/argp-ex2.c: Likewise.
20480 * manual/examples/argp-ex3.c: Likewise.
20481
e3b69ca7
RH
204822012-02-16 Richard Henderson <rth@redhat.com>
20483
20484 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20485 * sysdeps/s390/s390-32/initfini.c: Remove.
20486 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20487 * sysdeps/s390/s390-64/initfini.c: Remove.
20488
df83af67
KK
204892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20490
20491 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20492 compiler output for sysdeps/generic/initfini.c.
20493 * sysdeps/sh/elf/initfini.c: Remove file.
20494
f63f3380
DM
204952012-02-16 David S. Miller <davem@davemloft.net>
20496
fb59b3a4
DM
20497 [BZ #11494]
20498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20499
f63f3380
DM
20500 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20501 * sysdeps/sparc/crti.S: New file.
20502 * sysdeps/sparc/crtn.S: New file.
20503 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20504 * sysdeps/sparc/sparc64/Makefile: Likewise.
20505
df6a4a4a
MF
205062012-02-15 Mike Frysinger <vapier@gentoo.org>
20507
6dd8f3dc 20508 [BZ #3335]
df6a4a4a
MF
20509 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20510
1cac7236
RM
205112012-02-15 Roland McGrath <roland@hack.frob.com>
20512
d2c736f8
RM
20513 [BZ #4822]
20514 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20515
1cac7236
RM
20516 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20517 (write, read, close): Likewise.
20518 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20519
8e475601
JM
205202012-02-15 Joseph Myers <joseph@codesourcery.com>
20521
20522 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20523 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20524 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20525 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20526 <bits/signalfd.h>.
20527 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20529 bits/signalfd.h.
20530
ed656b40
MP
205312012-02-14 Marek Polacek <polacek@redhat.com>
20532
20533 * sysdeps/x86_64/crti.S: New file.
20534 * sysdeps/x86_64/crtn.S: New file.
20535 * sysdeps/x86_64/elf/initfini.c: Remove file.
20536
2a979d3a
JM
205372012-02-13 Joseph Myers <joseph@codesourcery.com>
20538
20539 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20540 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20541 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20542 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20543 <bits/inotify.h>.
20544 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20546 bits/inotify.h.
20547
2a418ac3
JM
205482012-02-13 Joseph Myers <joseph@codesourcery.com>
20549
20550 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20551 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20552 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20553 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20554 <bits/eventfd.h>.
20555 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20557 bits/eventfd.h.
20558
fb779be7
TS
205592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20560
e19e83c5
RM
20561 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20562 __feraiseexcept instead of feraiseexcept.
7c35ffed 20563
fb779be7
TS
20564 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20565 nanosleep invocations.
20566 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20567 strings, and add error checking for a nanosleep invocations.
20568
59ba27a6
PE
205692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20570
20571 Replace FSF snail mail address with URLs, as per GNU coding standards.
20572 Most of the snail mail addresses were wrong anyway, and omitting
20573 them makes the source code easier to maintain. Almost all of the
20574 changes are to license notices and to locale LC_IDENTIFICATION
20575 addresses, except for this one:
20576 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20577 not its snail mail address.
20578
57b957eb
RH
205792012-02-09 Richard Henderson <rth@twiddle.net>
20580
af850b1c
RH
20581 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20582 of kernel-features.h.
20583
57b957eb
RH
20584 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20585
6b73181a
MP
205862012-02-08 Marek Polacek <polacek@redhat.com>
20587
20588 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20589 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20590 * sysdeps/gnu/_G_config.h: Likewise.
20591 * sysdeps/generic/_G_config.h: Likewise.
20592
26ecc33a
AS
205932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20594
6c6dbc63
AS
20595 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20596 tests.
20597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20598
e216c012
AS
20599 * sysdeps/powerpc/powerpc32/crti.S: New file.
20600 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20601 * sysdeps/powerpc/powerpc64/crti.S: New file.
20602 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20603
26ecc33a
AS
20604 * Makeconfig (have-initfini): Don't set.
20605 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20606 * configure.in (nopic_initfini): Don't substitute.
20607 * config.h.in (HAVE_INITFINI): Don't #undef.
20608 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20609 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20610
3add8e13
JM
206112012-02-08 Joseph Myers <joseph@codesourcery.com>
20612
20613 Support crti.S and crtn.S provided directly by architectures.
20614 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20615 [crti.S in sysdirs] (omit-deps): Likewise.
20616 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20617 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20618 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20619 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20620 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20621 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20622 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20623 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20624 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20625 compiler output for sysdeps/generic/initfini.c.
20626 * sysdeps/i386/elf/Makefile: Remove file.
20627 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20628
a22f12b4
MP
206292012-02-07 Marek Polacek <polacek@redhat.com>
20630
20631 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20632 * sysdeps/gnu/_G_config.h: Likewise.
20633 * sysdeps/mach/hurd/_G_config.h: Likewise.
20634
148cf100
MP
206352012-02-07 Marek Polacek <polacek@redhat.com>
20636
20637 * math/Makefile (tests): Add tst-CMPLX2.
20638 * math/tst-CMPLX2.c: New file.
20639
cfdc0dd7
AS
206402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20641
84ba42c4
AS
20642 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20643
cfdc0dd7
AS
20644 * math/libm-test.inc (jn_test): Add missing L suffix.
20645
622c86f4
MP
206462012-02-06 Marek Polacek <polacek@redhat.com>
20647
20648 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20649 * sysdeps/i386/fpu/e_powf.S: Likewise.
20650 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20651 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20653 * sysdeps/i386/fpu/e_pow.S: Likewise.
20654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20658 * sysdeps/i386/fpu/e_log2.S: Likewise.
20659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20661 * sysdeps/i386/fpu/e_powl.S: Likewise.
20662 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20663 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20664 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20665 * sysdeps/i386/fpu/e_logl.S: Likewise.
20666 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20667 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20668 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20669 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20671 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20672 * sysdeps/i386/fpu/e_log.S: Likewise.
20673 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20674 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20675 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20676 * sysdeps/i386/fpu/e_logf.S: Likewise.
20677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20678 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20679 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20680 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20681 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20682 * sysdeps/i386/fpu/e_log10.S: Likewise.
20683 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20684 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20685 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20686 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20688 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20689 * sysdeps/i386/asm-syntax.h: Likewise.
20690 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20691 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20692 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20693 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20694 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20696 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20697 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20698 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20699 * sysdeps/powerpc/sysdep.h: Likewise.
20700 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20701 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20702
d4a54ac6
JM
207032012-02-06 Joseph Myers <joseph@codesourcery.com>
20704
20705 [BZ #411]
20706 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20707
314054ea
JM
207082012-02-06 Joseph Myers <joseph@codesourcery.com>
20709
20710 * sysdeps/i386/sysdep.h: Include <features.h>.
20711 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20712 version.
20713
d8e0ca50
JM
207142012-02-05 Joseph Myers <joseph@codesourcery.com>
20715
20716 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20717 Define.
20718 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20719 LOAD_PIC_REG_STR.
20720
b1da7dd9
JM
207212012-02-03 Joseph Myers <joseph@codesourcery.com>
20722
20723 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20724 (SETUP_PIC_REG): Use GET_PC_THUNK.
20725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20726 macro.
20727
9a1d9254
JM
207282012-02-03 Joseph Myers <joseph@codesourcery.com>
20729
20730 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20731 for non-PIC compilation.
20732 (SETUP_PIC_REG): Add .p2align directive.
20733 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20734 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20735 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20736 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20737 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20738 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20739 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20740 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20747 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20748 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20754 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20755 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20767 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20770 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20774
65dc3b75
JM
207752012-02-03 Joseph Myers <joseph@codesourcery.com>
20776
20777 * math/tst-CMPLX.c: Include <stdio.h>.
20778
d55bf177
JM
207792012-01-31 Joseph Myers <joseph@codesourcery.com>
20780
20781 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20782 float.
20783 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20784 * sysdeps/sparc/bits/mathdef.h: Likewise.
20785
69db4f8f
MP
207862012-01-31 Marek Polacek <polacek@redhat.com>
20787
20788 * libio/libio.h: Don't define _PARAMS.
20789 * locale/programs/config.h: Don't define PARAMS.
20790 * stdlib/strtol_l.c: Likewise.
20791 (__strtol_l): Remove PARAMS from the prototype.
20792
41b81892
UD
207932012-01-31 Ulrich Drepper <drepper@gmail.com>
20794
3b49edc0
UD
20795 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20796 names. Just use the correct names. Remove unnecessary wrapper
20797 functions.
20798 * malloc/arena.c: Likewise.
20799 * malloc/hooks.c: Likewise.
20800
41b81892
UD
20801 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20802 ARENA_TEST says not to. Simplify test for creation of a new arena.
20803 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20804
27a25b6e
UD
208052012-01-30 Ulrich Drepper <drepper@gmail.com>
20806
20807 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20808 into tail calls.
20809 (update_get_addr): New function.
20810 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20811 GET_ADDR_MODULE parameter.
20812
c8a89e7d
JM
208132012-01-30 Joseph Myers <joseph@codesourcery.com>
20814
20815 * crypt/cert.c: Remove __STDC__ conditionals.
20816 * crypt/crypt-entry.c: Likewise.
20817 * crypt/crypt_util.c: Likewise.
20818 * libio/filedoalloc.c: Likewise.
20819 * libio/fileops.c: Likewise.
20820 * libio/genops.c: Likewise.
20821 * libio/iofclose.c: Likewise.
20822 * libio/iofdopen.c: Likewise.
20823 * libio/iofopen.c: Likewise.
20824 * libio/iofopen64.c: Likewise.
20825 * libio/iogetdelim.c: Likewise.
20826 * libio/iopopen.c: Likewise.
20827 * libio/obprintf.c: Likewise.
20828 * libio/oldfileops.c: Likewise.
20829 * libio/oldiofclose.c: Likewise.
20830 * libio/oldiofdopen.c: Likewise.
20831 * libio/oldiofopen.c: Likewise.
20832 * libio/oldiopopen.c: Likewise.
20833 * libio/wfiledoalloc.c: Likewise.
20834 * libio/wgenops.c: Likewise.
20835 * locale/programs/xmalloc.c: Likewise.
20836 * misc/syslog.c: Likewise.
20837 * stdio-common/xbug.c: Likewise.
20838 * string/memchr.c: Likewise.
20839 * string/memcmp.c: Likewise.
20840 * string/memrchr.c: Likewise.
20841 * string/rawmemchr.c: Likewise.
20842 * sysdeps/posix/getcwd.c: Likewise.
20843 * time/strftime_l.c: Likewise.
20844
3b100462
JM
208452012-01-30 Joseph Myers <joseph@codesourcery.com>
20846
20847 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20848 * config.make.in (config-cflags-sse2avx): Define.
20849 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20850 Fix typo.
20851
607998af
CM
208522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20853
20854 * scripts/config.guess: Update from upstream config git repository.
20855 * scripts/config.sub: Likewise.
20856
3601428f
CM
208572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20858
3ac8b282
CM
20859 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20860 (EM_NUM): Update.
20861 (R_TILEPRO_*, R_TILEGX_*): New macros.
20862
e034841e
CM
20863 * scripts/firstversions.awk: Fix bug in version range handling.
20864
540d7568
CM
20865 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20866
3601428f
CM
20867 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20868
463de862
CM
20869 * include/sys/epoll.h: New file.
20870 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20871 libc_hidden_def.
20872
73139a76
UD
208732012-01-28 Ulrich Drepper <drepper@gmail.com>
20874
96bc5b45
UD
20875 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20876 Avoid unnecessary __WORDSIZE == 64 test.
20877 (fmaxf): Use VEX format if possible.
20878 (fmax): Likewise.
20879 (fminf): Likewise.
20880 (fmin): Likewise.
20881
56f6f6a2
UD
20882 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20883 * math/math_private.h: Remove libc_fegetround* and
20884 libc_fesetround*.
20885 * sysdeps/i386/configure.in: Check for -msse2avx.
20886 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20887 also if SSE2AVX is defined.
20888 Remove libc_fegetround* and libc_fesetround*.
20889 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20890 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20892 of HAS_YMM_USABLE.
20893 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20894 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20895 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20896 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20897 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20898
73139a76
UD
20899 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20900
d73f93a4
AZ
209012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20902
20903 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20904 size is not set.
20905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20906
6ee65ed6
UD
209072012-01-27 Ulrich Drepper <drepper@gmail.com>
20908
20909 [BZ #13618]
20910 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20911 relocation.
20912 * Makeconfig (libm): Define.
20913 * elf/Makefile: Add rules to build and run tst-relsort1.
20914 * elf/tst-relsort1.c: New file.
20915 * elf/tst-relsort1mod1.c: New file.
20916 * elf/tst-relsort1mod2.c: New file.
20917
8db21882
JM
209182012-01-27 Joseph Myers <joseph@codesourcery.com>
20919
20920 * math/s_ldexp.c: Remove __STDC__ conditionals.
20921 * math/s_ldexpf.c: Likewise.
20922 * math/s_ldexpl.c: Likewise.
20923 * math/s_nextafter.c: Likewise.
20924 * math/s_nexttowardf.c: Likewise.
20925 * math/s_significand.c: Likewise.
20926 * math/s_significandf.c: Likewise.
20927 * math/s_significandl.c: Likewise.
20928 * math/w_jnl.c: Likewise.
20929 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20930 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20931 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20932 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20933 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20950 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20951 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20953 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20954 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20956 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20957 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20958 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20961 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20963 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20964 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20965 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20966 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20967 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20968 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20969 * sysdeps/ieee754/k_standard.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21049 * sysdeps/ieee754/s_matherr.c: Likewise.
21050 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21051 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21054
965a54a4
JM
210552012-01-26 Joseph Myers <joseph@codesourcery.com>
21056
21057 * crypt/md5.h: Remove __STDC__ conditionals.
21058 * libio/libioP.h: Likewise.
21059 * locale/programs/config.h: Likewise.
21060 * sysdeps/generic/sysdep.h: Likewise.
21061 * sysdeps/i386/asm-syntax.h: Likewise.
21062 * sysdeps/s390/asm-syntax.h: Likewise.
21063 * sysdeps/unix/sysdep.h: Likewise.
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21066
7071ad79
JM
210672012-01-26 Joseph Myers <joseph@codesourcery.com>
21068
21069 * libio/libio.h: Remove __STDC__ conditionals.
21070 * malloc/obstack.h: Likewise.
21071 * math/complex.h: Likewise.
21072 * math/math.h: Likewise.
21073 * sysdeps/generic/_G_config.h: Likewise.
21074 * sysdeps/gnu/_G_config.h: Likewise.
21075 * sysdeps/mach/hurd/_G_config.h: Likewise.
21076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21077 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21078 * sysdeps/sparc/bits/mathdef.h: Likewise.
21079
afc5ed09
UD
210802012-01-26 Ulrich Drepper <drepper@gmail.com>
21081
21082 [BZ #13583]
21083 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21084 Clean up HAS_* macros.
afc5ed09 21085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21086 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21087 possible.
21088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21089 HAS_AVX.
21090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21095
bdb6de1d
JM
210962012-01-25 Joseph Myers <joseph@codesourcery.com>
21097
21098 * elf/tst-unique3.cc (gets): Remove declaration.
21099 * elf/tst-unique3lib.cc (gets): Likewise.
21100 * elf/tst-unique3lib2.cc (gets): Likewise.
21101 * elf/tst-unique4.cc (gets): Likewise.
21102
b15549e6
UD
211032012-01-24 Ulrich Drepper <drepper@gmail.com>
21104
21105 * include/stdio.h: Add C++ protection. Add gets declarations and
21106 definitions.
21107 * debug/tst-chk1.c: Don't declare gets here.
21108 * stdio-common/tst-gets.c: Likewise.
21109
a037381f
JM
211102012-01-24 Joseph Myers <joseph@codesourcery.com>
21111
21112 * posix/glob: Remove directory.
21113
f1d4aa75
JM
211142012-01-24 Joseph Myers <joseph@codesourcery.com>
21115
21116 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21117
81c0c964
PT
211182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21119
21120 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21121 of the non-standard EPFNOSUPPORT.
21122
0ea698ae
ST
211232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21124
21125 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21126 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21127 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21128
d220b117
UD
211292012-01-21 Ulrich Drepper <drepper@gmail.com>
21130
21131 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21132
3e1aa84e
UD
211332012-01-20 Ulrich Drepper <drepper@gmail.com>
21134
21135 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21136 transient errors.
21137 * nscd/grpcache.c (cache_addgr): Likewise.
21138 * nscd/hstcache.c (cache_addhst): Likewise.
21139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21140 * nscd/pwdcache.c (cache_addpw): Likewise.
21141 * nscd/servicescache.c (cache_addserv): Likewise.
21142
400aa020
UD
211432012-01-16 Ulrich Drepper <drepper@gmail.com>
21144
d77e7869
UD
21145 * malloc/malloc.c: Various cleanups.
21146 * malloc/hooks.c: Likewise.
21147
400aa020
UD
21148 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21149 * stdlib/bug-fmtmsg1.c: New file.
21150
21151 * stdlib/fmtmsg.c (init): Add missing unlock.
21152 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21153
e0a309cf
MP
211542012-01-12 Marek Polacek <polacek@redhat.com>
21155
21156 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21157 and _GNU_SOURCE.
21158
929d11c7
WS
211592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21160
21161 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21162 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21163 macro to ensure uniqueness of label name.
21164 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21165 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21166
41d0e869
UD
211672012-01-11 Ulrich Drepper <drepper@gmail.com>
21168
0cc5ed3b
UD
21169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21170
41d0e869
UD
21171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21175
a47a831a
UD
211762012-01-10 Ulrich Drepper <drepper@gmail.com>
21177
daa891c0
UD
21178 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21179
21180 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21183
e58ef0f2
UD
21184 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21185
a47a831a 21186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21187 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21190
21191 * math/bits/math-finite.h: Add ldexp support.
21192
a0bfc9c7
MP
211932012-01-10 Marek Polacek <polacek@redhat.com>
21194
21195 * locale/programs/localedef.h (show_archive_content): Add noreturn
21196 attribute.
21197
d6e97a1d
UD
211982012-01-09 Ulrich Drepper <drepper@gmail.com>
21199
21200 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21201
d5835c26
UD
212022012-01-08 Ulrich Drepper <drepper@gmail.com>
21203
e5f484c6
UD
21204 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21205
d5835c26
UD
21206 * io/Makefile (headers): Add bits/poll2.h.
21207
d1f741e9
WS
212082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21209
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21211 typo #include statement.
21212
ec09c1c4
UD
212132012-01-08 Ulrich Drepper <drepper@gmail.com>
21214
21215 * include/sys/cdefs.h: Define __attribute_alloc_size.
21216 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21217 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21218 * elf/pldd.c: Likewise.
21219 * iconv/iconv_charmap.c: Likewise.
21220 * iconv/iconvconfig.c: Likewise.
21221 * iconv/strtab.c: Likewise.
21222 * locale/programs/locale.c: Likewise.
21223 * locale/programs/localedef.h: Likewise.
21224 * locale/programs/simple-hash.c: Likewise.
21225 * nscd/nscd.h: Likewise.
21226 * nss/makedb.c: Likewise.
21227 * sysdeps/generic/ldconfig.h: Likewise.
21228 * locale/programs/localedef.c: Remove xmalloc prototype.
21229 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21230
20b38e03
PP
212312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21232
21233 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21234 appropriate.
21235
a0da5fe1
UD
212362012-01-08 Ulrich Drepper <drepper@gmail.com>
21237
1d5a644a 21238 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21239 * math/tst-CMPLX.c: New file.
1d5a644a 21240
8784a6db
UD
21241 * math/complex.h (CMPLXL): Fix typo.
21242
d9a216c0
UD
21243 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21244 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21245 GLIBC_2.16.
21246 * debug/tst-chk1.c: Add poll and ppoll tests.
21247 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21248 * include/sys/poll.h: Add hidden proto for ppoll.
21249 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21250 * sysdeps/mach/hurd/ppoll.c: Likewise.
21251 * io/ppoll.c: Likewise.
21252 * debug/poll_chk.c: New file.
21253 * debug/ppoll_chk.c: New file.
21254 * include/bits/poll2.h: New file.
21255 * io/bits/poll2.h: New file.
21256
ac097f5c
UD
21257 [BZ #1350]
21258 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21259
2119dcfa
UD
21260 * configure.in: static is always set to yes. Remove.
21261 * config.make.in: Don't set build-static.
21262 * Makeconfig: Remove use of build-static.
21263 * dlfcn/Makefile: Likewise.
21264 * elf/Makefile: Likewise.
21265 * math/Makefile: Likewise.
21266 * misc/Makefile: Likewise.
21267 * nptl/Makefile: Likewise.
21268 * sysdeps/mach/hurd/Makefile: Likewise.
21269
121766a9
UD
21270 * configure.in: PWD_P is not used anymore.
21271 * config.make.in: Remove PWD_P entry.
21272
51a1d39c 21273 * configure.in: Remove last remnants of RANLIB.
8720d066 21274 No need to check for signed size_t anymore.
215f4bdc
UD
21275 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21276 and IA-64.
3857022a 21277 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21278 * aclocal.m4: Likewise.
21279
d3ed7225
UD
21280 * wcsmbs/mbrtoc16.c: Implement using towc function.
21281 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21282 * wcsmbs/wcsmbsload.c: Likewise.
21283 * iconv/gconv_simple.c: Likewise.
21284 * iconv/gconv_int.h: Likewise.
21285 * iconv/gconv_builtin.h: Likewise.
21286 * iconv/iconv_prog.c: Remove CHAR16 handling.
21287
21288 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21289
21290 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21291
a0da5fe1
UD
21292 * configure.in: Remove --with-elf and --enable-bounded options.
21293 Dont set base_machine for ia64. More non-ELF conditions removed.
21294 Remove testing and setting of leading underscore information.
21295 * config.make.in (build-bounded): Set to no.
21296 * config.h.in: Remove NO_UNDERSCORES entry.
21297 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21298 them.
21299 * csu/start.c: Remove !NO_UNDERSCORE code.
21300 * locale/localeinfo.h: Likewise.
21301 * sysdeps/generic/machine-gmon.h: Likewise.
21302 * sysdeps/generic/sysdep.h: Likewise.
21303 * sysdeps/i386/sysdep.h: Likewise.
21304 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21305 * sysdeps/mach/sysdep.h: Likewise.
21306 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21308 * sysdeps/sh/sysdep.h: Likewise.
21309 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21310 * sysdeps/unix/i386/sysdep.S: Likewise.
21311 * sysdeps/unix/sparc/start.c: Likewise.
21312 * sysdeps/unix/sparc/sysdep.S: Likewise.
21313 * sysdeps/unix/sparc/sysdep.h: Likewise.
21314 * sysdeps/unix/start.c: Likewise.
21315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21316 * sysdeps/x86_64/sysdep.h: Likewise.
21317
df78418a
UD
213182012-01-07 Ulrich Drepper <drepper@gmail.com>
21319
a784e502
UD
21320 [BZ #13553]
21321 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21322 for non-gcc.
21323 * argp/argp-fmtstream.h: Use const instead __const.
21324 * argp/argp.h: Likewise.
21325 * assert/assert.h: Likewise.
21326 * bits/fenv.h: Likewise.
21327 * bits/sched.h: Likewise.
21328 * bits/sigset.h: Likewise.
21329 * bits/sigthread.h: Likewise.
21330 * catgets/nl_types.h: Likewise.
21331 * conform/data/pthread.h-data: Likewise.
21332 * crypt/crypt-private.h: Likewise.
21333 * crypt/crypt.h: Likewise.
21334 * crypt/crypt_util.c: Likewise.
21335 * ctype/ctype.h: Likewise.
21336 * debug/execinfo.h: Likewise.
21337 * debug/mbsnrtowcs_chk.c: Likewise.
21338 * debug/mbsrtowcs_chk.c: Likewise.
21339 * debug/wcsnrtombs_chk.c: Likewise.
21340 * debug/wcsrtombs_chk.c: Likewise.
21341 * debug/wcstombs_chk.c: Likewise.
21342 * dirent/dirent.h: Likewise.
21343 * dlfcn/dlfcn.h: Likewise.
21344 * elf/neededtest4.c: Likewise.
21345 * grp/grp.h: Likewise.
21346 * gshadow/gshadow.h: Likewise.
21347 * iconv/gconv.h: Likewise.
21348 * iconv/gconv_int.h: Likewise.
21349 * iconv/gconv_simple.c: Likewise.
21350 * iconv/iconv.h: Likewise.
21351 * iconv/loop.c: Likewise.
21352 * iconv/skeleton.c: Likewise.
21353 * include/aio.h: Likewise.
21354 * include/aliases.h: Likewise.
21355 * include/argz.h: Likewise.
21356 * include/arpa/inet.h: Likewise.
21357 * include/assert.h: Likewise.
21358 * include/dirent.h: Likewise.
21359 * include/dlfcn.h: Likewise.
21360 * include/execinfo.h: Likewise.
21361 * include/fcntl.h: Likewise.
21362 * include/fenv.h: Likewise.
21363 * include/glob.h: Likewise.
21364 * include/grp.h: Likewise.
21365 * include/libintl.h: Likewise.
21366 * include/mntent.h: Likewise.
21367 * include/netdb.h: Likewise.
21368 * include/pwd.h: Likewise.
21369 * include/rpc/netdb.h: Likewise.
21370 * include/sched.h: Likewise.
21371 * include/search.h: Likewise.
21372 * include/shadow.h: Likewise.
21373 * include/signal.h: Likewise.
21374 * include/stdio.h: Likewise.
21375 * include/stdlib.h: Likewise.
21376 * include/string.h: Likewise.
21377 * include/sys/socket.h: Likewise.
21378 * include/sys/stat.h: Likewise.
21379 * include/sys/statfs.h: Likewise.
21380 * include/sys/statvfs.h: Likewise.
21381 * include/sys/syslog.h: Likewise.
21382 * include/sys/time.h: Likewise.
21383 * include/sys/uio.h: Likewise.
21384 * include/time.h: Likewise.
21385 * include/unistd.h: Likewise.
21386 * include/utmp.h: Likewise.
21387 * include/wchar.h: Likewise.
21388 * include/wctype.h: Likewise.
21389 * inet/aliases.h: Likewise.
21390 * inet/arpa/inet.h: Likewise.
21391 * inet/netinet/ether.h: Likewise.
21392 * inet/netinet/in.h: Likewise.
21393 * intl/libintl.h: Likewise.
21394 * io/bits/fcntl2.h: Likewise.
21395 * io/fcntl.h: Likewise.
21396 * io/ftw.h: Likewise.
21397 * io/sys/poll.h: Likewise.
21398 * io/sys/stat.h: Likewise.
21399 * io/sys/statfs.h: Likewise.
21400 * io/sys/statvfs.h: Likewise.
21401 * io/utime.h: Likewise.
21402 * libio/bits/stdio.h: Likewise.
21403 * libio/bits/stdio2.h: Likewise.
21404 * libio/libio.h: Likewise.
21405 * libio/libioP.h: Likewise.
21406 * libio/stdio.h: Likewise.
21407 * locale/lc-ctype.c: Likewise.
21408 * locale/locale.h: Likewise.
21409 * login/utmp.h: Likewise.
21410 * malloc/arena.c: Likewise.
21411 * malloc/malloc.c: Likewise.
21412 * malloc/malloc.h: Likewise.
21413 * malloc/mcheck.c: Likewise.
21414 * malloc/mtrace.c: Likewise.
21415 * math/bits/mathcalls.h: Likewise.
21416 * math/fenv.h: Likewise.
21417 * math/math_private.h: Likewise.
21418 * misc/bits/error.h: Likewise.
21419 * misc/bits/syslog.h: Likewise.
21420 * misc/err.h: Likewise.
21421 * misc/error.h: Likewise.
21422 * misc/fstab.h: Likewise.
21423 * misc/mntent.h: Likewise.
21424 * misc/regexp.h: Likewise.
21425 * misc/search.h: Likewise.
21426 * misc/sgtty.h: Likewise.
21427 * misc/sys/mman.h: Likewise.
21428 * misc/sys/syslog.h: Likewise.
21429 * misc/sys/uio.h: Likewise.
21430 * misc/sys/xattr.h: Likewise.
21431 * misc/ttyent.h: Likewise.
21432 * nis/rpcsvc/ypclnt.h: Likewise.
21433 * nss/nss.h: Likewise.
21434 * posix/bits/unistd.h: Likewise.
21435 * posix/fnmatch.h: Likewise.
21436 * posix/glob.h: Likewise.
21437 * posix/sched.h: Likewise.
21438 * posix/spawn.h: Likewise.
21439 * posix/sys/wait.h: Likewise.
21440 * posix/unistd.h: Likewise.
21441 * posix/wordexp.h: Likewise.
21442 * pwd/pwd.h: Likewise.
21443 * resolv/netdb.h: Likewise.
21444 * resource/sys/resource.h: Likewise.
21445 * rt/aio.h: Likewise.
21446 * rt/bits/mqueue2.h: Likewise.
21447 * rt/mqueue.h: Likewise.
21448 * shadow/shadow.h: Likewise.
21449 * signal/signal.h: Likewise.
21450 * socket/send.c: Likewise.
21451 * socket/sendto.c: Likewise.
21452 * socket/sys/socket.h: Likewise.
21453 * stdio-common/printf.h: Likewise.
21454 * stdlib/bits/stdlib.h: Likewise.
21455 * stdlib/fmtmsg.h: Likewise.
21456 * stdlib/monetary.h: Likewise.
21457 * stdlib/stdlib.h: Likewise.
21458 * stdlib/ucontext.h: Likewise.
21459 * streams/stropts.h: Likewise.
21460 * string/argz.h: Likewise.
21461 * string/bits/string2.h: Likewise.
21462 * string/string.h: Likewise.
21463 * string/strings.h: Likewise.
21464 * sunrpc/rpc/auth.h: Likewise.
21465 * sunrpc/rpc/auth_des.h: Likewise.
21466 * sunrpc/rpc/clnt.h: Likewise.
21467 * sunrpc/rpc/netdb.h: Likewise.
21468 * sunrpc/rpc/pmap_clnt.h: Likewise.
21469 * sunrpc/rpc/xdr.h: Likewise.
21470 * sysdeps/generic/inttypes.h: Likewise.
21471 * sysdeps/generic/net/if.h: Likewise.
21472 * sysdeps/generic/sys/swap.h: Likewise.
21473 * sysdeps/gnu/net/if.h: Likewise.
21474 * sysdeps/gnu/utmpx.h: Likewise.
21475 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21476 * sysdeps/i386/i486/bits/string.h: Likewise.
21477 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21478 * sysdeps/s390/bits/string.h: Likewise.
21479 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21480 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21481 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21482 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21483 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21484 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21485 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21486 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21487 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21488 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21489 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21490 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21491 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21492 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21493 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21494 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21495 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21500 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21501 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21502 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21503 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21504 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21505 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21507 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21509 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21510 * sysvipc/sys/ipc.h: Likewise.
21511 * sysvipc/sys/msg.h: Likewise.
21512 * sysvipc/sys/sem.h: Likewise.
21513 * sysvipc/sys/shm.h: Likewise.
21514 * termios/termios.h: Likewise.
21515 * time/sys/time.h: Likewise.
21516 * time/time.h: Likewise.
21517 * wcsmbs/bits/wchar2.h: Likewise.
21518 * wcsmbs/uchar.h: Likewise.
21519 * wcsmbs/wchar.h: Likewise.
21520 * wctype/wctype.h: Likewise.
21521
0269750c
UD
21522 [BZ #13551]
21523 * Makeconfig: Remove all but ELF support including AIX support.
21524 * Makerules: Likewise.
21525 * config.h.in: Likewise.
21526 * config.make.in: Likewise.
21527 * configure: Likewise.
21528 * configure.in: Likewise.
21529 * csu/Makefile: Likewise.
21530 * csu/version.c: Likewise.
21531 * debug/Makefile: Likewise.
21532 * dlfcn/Makefile: Likewise.
21533 * elf/Makefile: Likewise.
21534 * extra-lib.mk: Likewise.
21535 * iconv/Makefile: Likewise.
21536 * include/libc-symbols.h: Likewise.
21537 * include/shlib-compat.h: Likewise.
21538 * resolv/Makefile: Likewise.
21539 * resolv/res_libc.c: Likewise.
21540 * rt/Makefile: Likewise.
21541 * sysdeps/i386/asm-syntax.h: Likewise.
21542 * sysdeps/i386/sysdep.h: Likewise.
21543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21544 * sysdeps/mach/sysdep.h: Likewise.
21545 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21546 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21547 * sysdeps/s390/asm-syntax.h: Likewise.
21548 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21550 * sysdeps/sh/sysdep.h: Likewise.
21551 * sysdeps/unix/sparc/sysdep.h: Likewise.
21552 * sysdeps/wordsize-32/divdi3.c: Likewise.
21553 * sysdeps/x86_64/sysdep.h: Likewise.
21554
00bbd29b
UD
21555 * argp/Versions: Remove _argp_unlock_xxx.
21556
21557 [BZ #13559]
21558 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21559 * abilist/libBrokenLocale.abilist: Likewise.
21560 * abilist/libanl.abilist: Likewise.
21561 * abilist/libc.abilist: Likewise.
21562 * abilist/libcrypt.abilist: Likewise.
21563 * abilist/libdl.abilist: Likewise.
21564 * abilist/libm.abilist: Likewise.
21565 * abilist/libnsl.abilist: Likewise.
21566 * abilist/libpthread.abilist: Likewise.
21567 * abilist/libresolv.abilist: Likewise.
21568 * abilist/librt.abilist: Likewise.
21569 * abilist/libthread_db.abilist: Likewise.
21570 * abilist/libutil.abilist: Likewise.
21571 * abilist/libnss_db.abilist: New file.
21572
21573 * scripts/abilist.awk: Add support for indirect functions.
21574
a2693a0e
UD
21575 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21576
3f05895f
UD
21577 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21578
ecb6fb48
UD
21579 * shlib-versions: Remove entries for ports architectures.
21580
664f8cb9
UD
21581 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21582 files in ports.
21583 * elf/stackguard-macros.h: Remove support for IA-64.
21584 * elf/tst-auditmod1.c: Likewise.
21585 * sysdeps/generic/ldsodefs.h: Likewise.
21586
7ae81d88
UD
21587 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21588 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21589 configure files.
21590
bdeba135
UD
21591 [BZ #13552]
21592 * configure.in: Remove --enable-omitfp support.
21593 * FAQ.in: Adjust.
21594 * config.make.in: Likewise.
21595 * Makeconfig: Likewise.
21596 * manual/install.texi: Likewise.
21597
d75a0a62
UD
21598 In case anyone cares, the IA-64 architecture could move to ports.
21599 * sysdeps/ia64/*: Removed.
21600 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21601 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21602
dcc9756b
UD
21603 [BZ #13555]
21604 * configure.in: Remove entries for unsupported architectures.
21605
d3761ebc 21606 [BZ #13533]
9954432e
UD
21607 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21608 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21609 routines.
21610 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21611 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21612 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21613 fall back to using wcrtomb.
21614 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21615 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21616 renaming.
21617 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21618 * wcsmbs/tst-c16c32-1.c: New file.
21619
21620 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21621 local variable.
21622
c3a87236
UD
21623 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21624
28926a1b
UD
21625 * elf/tst-unique3.cc: Add explicit declaration of gets.
21626 * elf/tst-unique3lib.cc: Likewise.
21627 * elf/tst-unique3lib2.cc: Likewise.
21628 * elf/tst-unique4.cc: Likewise.
21629
df78418a
UD
21630 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21631
8ecd6b2a
JM
216322012-01-06 Joseph Myers <joseph@codesourcery.com>
21633
21634 [BZ #13566]
21635 * assert/assert.h (static_assert): Don't define for C++.
21636 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21637 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21638
9f115170
UD
216392012-01-03 Ulrich Drepper <drepper@gmail.com>
21640
5e0d0300
UD
21641 * iconv/loop.c (single loop): Fix assertion in storing of
21642 remaining bytes.
21643
9f115170
UD
21644 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21645
81fb02b0
UD
216462012-01-01 Ulrich Drepper <drepper@gmail.com>
21647
21648 * posix/getconf.c: Update copyright year.
21649 * nss/getent.c: Likewise.
a316c1f6 21650 * nss/makedb.c: Likewise.
81fb02b0
UD
21651 * iconv/iconvconfig.c: Likewise.
21652 * iconv/iconv_prog.c: Likewise.
21653 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21654 * elf/pldd.c: Likewise.
21655 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21656 * catgets/gencat.c: Likewise.
21657 * csu/version.c: Likewise.
21658 * elf/ldd.bash.in: Likewise.
21659 * elf/sprof.c (print_version): Likewise.
21660 * locale/programs/locale.c: Likewise.
21661 * locale/programs/localedef.c: Likewise.
a316c1f6 21662 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21663 * nscd/nscd.c (print_version): Likewise.
21664 * debug/xtrace.sh: Likewise.
21665 * malloc/memusage.sh: Likewise.
21666 * malloc/mtrace.pl: Likewise.
21667 * debug/catchsegv.sh: Likewise.
21668
2ba92745
JJ
216692011-12-30 Jakub Jelinek <jakub@redhat.com>
21670
21671 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21672 pure attribute.
21673
dadebdae
UD
216742011-12-24 Ulrich Drepper <drepper@gmail.com>
21675
d3761ebc 21676 [BZ #13533]
db6af3eb
UD
21677 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21678 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21679 transformations.
21680 * iconv/gconv_int.h: Likewise.
21681 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21682 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21683 from libc for GLIBC_2.16.
21684 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21685 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21686 * wcsmbs/uchar.h: Really define mbstate_t.
21687 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21688 * wcsmbs/c16rtomb.c: New file.
21689 * wcsmbs/mbrtoc16.c: New file.
21690 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21691 for C/POSIX locale.
21692 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21693 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21694
dadebdae
UD
21695 * wcsmbs/wchar.h: Add missing __restrict.
21696
67371b56
UD
216972011-12-23 Ulrich Drepper <drepper@gmail.com>
21698
74033a25
UD
21699 [BZ #13532]
21700 * time/Makefile (routines): Add timespec_get.
21701 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21702 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21703 timespec for ISO C11.
21704 * time/timespec_get.c: New file.
21705 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21706 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21707
380d7e87
UD
21708 [BZ #13531]
21709 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21710 * stdlib/stdlib.h: Declare aligned_alloc.
21711 * Versions.def: Add GLIBC_2.16 for libc.
21712 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21713
4e9e7a35
UD
21714 [BZ 13527]
21715 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21716 ISO C11.
21717
380d7e87 21718 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21719 code.
21720
03a71829
UD
21721 [BZ #13528]
21722 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21723
839e283e
UD
21724 [BZ #13529]
21725 * assert/assert.h (static_assert): Define.
21726
ce5294e2 21727 * version.h: Update for 2.16 development version.
90fa7312 21728
8d44e150 21729 [BZ #13526]
d7809905
UD
21730 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21731 _ISOC11_SOURCE.
21732
c0da14cd
UD
21733 * version.h (RELEASE): Bump for 2.15 release.
21734 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21735
530a3249
MP
21736 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21737 Patch by Marek Polacek <mpolacek@redhat.com>.
21738
67371b56
UD
21739 * bits/byteswap.h: Protect long long constants with __extension__.
21740 * sysdeps/i386/bits/byteswap.h: Likewise.
21741 * sysdeps/ia64/bits/byteswap.h: Likewise.
21742 * sysdeps/s390/bits/byteswap.h: Likewise.
21743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21744
15db4de1
LD
217452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21746
21747 [BZ #13540]
bbe315ea
LD
21748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21749 destination buffer.
15db4de1
LD
21750 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21751
2b2596b1
MP
217522011-12-23 Marek Polacek <polacek@redhat.com>
21753
21754 * elf/dl-addr.c (determine_info): Add inline keyword.
21755 * elf/tst-auditmod4b.c (check_avx): Likewise.
21756 * elf/tst-auditmod6b.c (check_avx): Likewise.
21757 * elf/tst-auditmod6c.c (check_avx): Likewise.
21758 * elf/tst-auditmod7b.c (check_avx): Likewise.
21759
70c6c246
UD
217602011-12-23 Ulrich Drepper <drepper@gmail.com>
21761
21762 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21763 !__SSE_MATH__.
21764
c044cf14
LD
217652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21766
15db4de1 21767 [BZ #13540]
c044cf14
LD
21768 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21769 processing for last bytes.
21770
6b13d9d9
BH
217712011-08-06 Bruno Haible <bruno@clisp.org>
21772
d455f537
BH
21773 [BZ #13061]
21774 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21775 U+0385, not to U+1FEE.
21776
6b13d9d9
BH
21777 [BZ #13062]
21778 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21779 entry for U+00A5 U+0301.
21780
db910efd
UD
217812011-12-22 Ulrich Drepper <drepper@gmail.com>
21782
27deeafc
UD
21783 [BZ #13166]
21784 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21785 buffer for the output is too small.
21786
aed9d171
UD
21787 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21788 optimization.
21789
db910efd
UD
21790 [BZ #13185]
21791 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21792 SSE flags if possible.
21793
2bd779ae
LD
217942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21795
e7f9dac3 21796 [BZ #13540]
2bd779ae
LD
21797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21798 processing for last bytes.
21799
154bfc16
JM
218002011-12-22 Joseph Myers <joseph@codesourcery.com>
21801
21802 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21803 (syscall-list-default-options, syscall-list-default-condition)
21804 (syscall-list-includes): Define.
21805 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21806 list of ABIs and options and #if conditions for each ABI. Do not
21807 handle common syscalls between ABIs specially.
21808 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21809 Remove.
21810 (syscall-list-variants, syscall-list-32bit-options)
21811 (syscall-list-32bit-condition, syscall-list-64bit-options)
21812 (syscall-list-64bit-condition): Define.
21813 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21814 (syscall-list-variants, syscall-list-32bit-options)
21815 (syscall-list-32bit-condition, syscall-list-64bit-options)
21816 (syscall-list-64bit-condition): Define.
21817 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21818 Remove.
21819 (syscall-list-variants, syscall-list-32bit-options)
21820 (syscall-list-32bit-condition, syscall-list-64bit-options)
21821 (syscall-list-64bit-condition): Define.
21822 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21823 Remove.
21824 (syscall-list-variants, syscall-list-32bit-options)
21825 (syscall-list-32bit-condition, syscall-list-64bit-options)
21826 (syscall-list-64bit-condition): Define.
21827
21eaf3a5
UD
218282011-12-22 Ulrich Drepper <drepper@gmail.com>
21829
16c6f992
UD
21830 * locale/iso-639.def: Add brx entry.
21831
41043168
UD
21832 [BZ #13328]
21833 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21834 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21835
21eaf3a5
UD
21836 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21837 __feraiseexcept_renamed.
21838
e3a851a2
UD
218392011-12-21 Ulrich Drepper <drepper@gmail.com>
21840
4920765e
UD
21841 [BZ #13538]
21842 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21843 EPOLLET with unsigned values.
21844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21845 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21846
e3a851a2
UD
21847 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21848 to large cancellation.
21849 * math/s_cacoshf.c: Likewise.
21850 * math/s_cacoshl.c: Likewise.
21851
b27e24b8
RK
218522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21853
21854 [BZ #13305]
aebefeee 21855 [BZ #12786]
b27e24b8
RK
21856 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21857 * math/s_cacoshf.c: Likewise.
21858 * math/s_cacoshl.c: Likewise.
21859
ee190f67
UD
218602011-12-21 Ulrich Drepper <drepper@gmail.com>
21861
21862 [BZ #13439]
21863 * iconv/gconv.h: Define __GCONV_SWAP.
21864 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21865 * iconvdata/utf-16.c: Likewise.
21866 * iconvdata/utf-32.c: Likewise.
21867
707f25df
AS
218682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21869
21870 [BZ #13524]
21871 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21872 numerator after shifting it by one limb.
21873
d2daaa1e
RÁE
218742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21875
21876 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21877 under [__USE_EXTERN_INLINES].
21878
a4647e72
UD
218792011-12-17 Ulrich Drepper <drepper@gmail.com>
21880
21881 [BZ #13446]
21882 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21883
f0b264f1
AZ
218842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21885
21886 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21887 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21888 optimized code.
21889 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21890 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21891 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21892 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21893 for strncasecmp/strncasecmp_l compilation.
21894 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21895 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21896
8ef4f244
MP
218972011-12-08 Marek Polacek <mpolacek@redhat.com>
21898
21899 [BZ #13484]
21900 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21901 of __asm__.
21902
97ac2654
UD
219032011-12-17 Ulrich Drepper <drepper@gmail.com>
21904
21905 [BZ #13506]
21906 * time/tzfile.c (__tzfile_read): Check values from file header.
21907
91d2a845
WS
219082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21909
21910 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21911 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21912 * powerpc/powerpc32/dl-start.S: Likewise.
21913 * powerpc/powerpc32/elf/start.S: Likewise.
21914 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21915 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21916 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21917 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21918 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21919 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21920 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21921 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21922 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21923 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21924 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21925 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21926 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21927 * powerpc/powerpc32/memset.S: Likewise.
21928 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21929 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21930 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21931 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21932 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21933 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21934 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21935 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21936 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21937 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21938 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21939 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21940 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21941
a1267ba1
AZ
219422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21943
21944 * math/libm-test.inc: Added more nearbyint tests.
21945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21948 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21949
ad8ac1bd
RL
219502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21951
21952 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21953 FD_CLOEXEC.
21954
1d3e4b61
UD
219552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21956
21957 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21958 Add wcscpy-ssse3 wcscpy-c.
21959 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21960 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21961 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21962 * sysdeps/x86_64/wcschr.S: New file.
21963 * sysdeps/x86_64/wcsrchr.S: New file.
21964 * string/test-strcmp.c: Remove checking of wcscmp function for
21965 wrong alignments.
21966 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21967 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21968 wcsrchr-sse2 wcsrchr-c.
21969 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21970 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21971 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21972 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21973 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21974 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21975 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21976 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21977 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21978 * wcsmbc/wcschr.c (WCSCHR): New macro.
21979
5b330a2d
UD
219802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21981
21982 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21983 * wcsmbs/test-wcsrchr.c: New file.
21984 * string/test-strrchr.c: Add wcsrchr support.
21985 (WIDE): New macro.
21986 * wcsmbs/test-wcscpy.c: New file.
21987 * string/test-strcpy.c: Add wcscpy support.
21988 (WIDE): New macro.
26428b7c 21989
f039c043
UD
219902011-12-10 Ulrich Drepper <drepper@gmail.com>
21991
21992 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21993 the inner loop.
21994
850fb039
AS
219952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21996
21997 [BZ #13472]
21998 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21999
4efbd5cb
UD
220002011-12-04 Ulrich Drepper <drepper@gmail.com>
22001
52ff5dd0 22002 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22003 Minor optimizations.
52ff5dd0 22004
4efbd5cb
UD
22005 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22006 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22007 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22008
8a426e12
UD
220092011-12-03 Ulrich Drepper <drepper@gmail.com>
22010
aff2453d
UD
22011 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22012 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22013 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22014 for gcc to avoid warnings.
22015 * inet/Makefile (tests): Add tst-checks.
22016 * inet/tst-checks.c: New file.
22017
22018 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22019 warning.
22020
22021 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22022 __wmemcmp_sse2.
22023
22024 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22025 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22026
8a426e12
UD
22027 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22028
9bea3473
UD
220292011-12-02 Ulrich Drepper <drepper@gmail.com>
22030
3a965496
UD
22031 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22032 problem.
22033
9bea3473
UD
22034 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22035
f101631b
UD
220362011-11-29 Joseph Myers <joseph@codesourcery.com>
22037
22038 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22039 conditional on GCC version.
22040 (__arch_compare_and_exchange_val_8_acq)
22041 (__arch_compare_and_exchange_val_16_acq)
22042 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22043 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22044 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22045
a98275aa
UD
220462011-12-02 Joseph Myers <joseph@codesourcery.com>
22047
22048 * sysdeps/sh/backtrace.c: New file.
22049
d4cc29a2
AS
220502011-12-02 Andreas Schwab <schwab@redhat.com>
22051
22052 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22053 parenthesis.
22054
6257af2d
AS
220552011-12-01 Andreas Schwab <schwab@redhat.com>
22056
22057 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22058 falling back to utime.
22059
b5f44c1a
AS
220602011-11-30 Andreas Schwab <schwab@redhat.com>
22061
22062 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22063 expectations for float.
22064
f3a6cc0a
AS
220652011-11-29 Andreas Schwab <schwab@redhat.com>
22066
22067 * locale/weight.h (findidx): Add parameter len.
22068 * locale/weightwc.h (findidx): Likewise.
22069 * posix/fnmatch_loop.c (FCT): Adjust caller.
22070 * posix/regcomp.c (build_equiv_class): Likewise.
22071 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22072 * posix/regexec.c (check_node_accept_bytes): Likewise.
22073 * string/strcoll_l.c (STRCOLL): Likewise.
22074 * string/strxfrm_l.c (STRXFRM): Likewise.
22075
9d65ea3a
UD
220762011-11-17 Ulrich Drepper <drepper@gmail.com>
22077
22078 * Makefile.in: Remove CVSOPT handling.
22079 * configure.in: Remove use of AC_REVISION.
22080 * iconvdata/Makefile (distribute): No need to filter out CVS.
22081 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22082 handling.
22083
5583a086
AS
220842011-11-16 Andreas Schwab <schwab@redhat.com>
22085
22086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22087 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22088 [USE_AS_STRNCASECMP_L]: Likewise.
22089 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22090 NO_TLS_DIRECT_SEG_REFS.
22091 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22092 Fix argument offsets for non-PIC.
22093 [USE_AS_STRNCASECMP_L]: Likewise.
22094 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22095 NO_TLS_DIRECT_SEG_REFS.
22096
d62a8200
UD
220972011-11-15 Ulrich Drepper <drepper@gmail.com>
22098
9d65ea3a 22099 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22100 O_CLOEXEC.
22101 * locale/loadlocale.c (_nl_load_locale): Likewise.
22102
09f93bd3
AS
221032011-11-15 Andreas Schwab <schwab@redhat.com>
22104
446514f9
AS
22105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22106 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22107 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22108 (SYSCALL_GETTIME): Set errno on error.
22109
09f93bd3
AS
22110 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22111 count references to noai6ai_cached.
22112
312be3f9
UD
221132011-11-15 Ulrich Drepper <drepper@gmail.com>
22114
22115 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22116
22117 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22118 FD_CLOEXEC for /proc/self/maps.
22119
22120 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22121 FD_CLOEXEC for /proc/meminfo.
22122
22123 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22124 gai.conf.
22125
22126 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22127 FD_CLOEXEC for given file.
22128
22129 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22130
22131 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22132 FD_CLOEXEC for /etc/hosts.
22133 (_gethtent): Likewise.
22134
22135 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22136
22137 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22138 cancellation and set FD_CLOEXEC for /etc/netgroup.
22139
22140 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22141 reading /etc/publickey.
22142
22143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22144 allow cancellation when reading /etc/group.
22145
22146 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22147 cancellation.
22148 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22149
22150 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22151 when using data file.
22152
22153 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22154
22155 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22156 (write_nis_obj): Use "c" and "e" in fopen.
22157
22158 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22159
22160 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22161
22162 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22163
22164 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22165
22166 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22167 locale.alias.
22168
22169 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22170
22171 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22172
22173 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22174
22175 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22176 file parsing and set FD_CLOEXEC.
22177
82af0fa8
UD
221782011-11-14 Ulrich Drepper <drepper@gmail.com>
22179
22180 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22181
a5fb313c
AS
221822011-11-14 Andreas Schwab <schwab@redhat.com>
22183
22184 * malloc/arena.c (arena_get2): Don't call reused_arena when
22185 _int_new_arena failed.
22186
6abf3465
UD
221872011-11-14 Ulrich Drepper <drepper@gmail.com>
22188
22189 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22190 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22192 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22193 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22195 to compile strcasecmp and strncasecmp.
22196 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22197 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22198
22199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22200
76e3966e
UD
222012011-11-13 Ulrich Drepper <drepper@gmail.com>
22202
22203 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22204 locale-defines.sym to gen-as-const-headers.
22205 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22206 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22208 to compile strcasecmp and strncasecmp.
22209 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22210 strcasecmp_l and strncasecmp_l.
22211 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22212 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22213 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22215 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22216 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22217 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22218 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22219 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22220 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22221 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22222
ab26144e
UD
222232011-11-12 Ulrich Drepper <drepper@gmail.com>
22224
7edb22ef
UD
22225 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22226 result of SYSDEP_GETTIME_CPU to retval.
22227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22228 parameter list to macro. Remove trailing semicolon. Adjust users.
22229
9694fc44
UD
22230 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22231 variable.
22232
8ad89ef8
UD
22233 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22234 mantissa words.
22235 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22236
0c822ef9
UD
22237 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22238 from unused variable.
22239
874e0564
UD
22240 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22241 DWARF definitions.
22242 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22243 for assembling.
22244
3a2edc79
UD
22245 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22246 over namespaces.
22247
f3c2577f
UD
22248 * sunrpc/rpc_prot.c (rejected): Fix case value.
22249
294ce126
UD
22250 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22251 unsigned long long int to avoid warnings in shift.
22252
5e2b63c6
UD
22253 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22254 of use of trans.
22255 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22256 variable tmp.
22257
e7f4b08e
UD
22258 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22259 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22260 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22261
ab26144e
UD
22262 * nis/nis_table.c (nis_list): Use variable of correct type for
22263 result of __follow_path call.
22264
8a6d5255
AZ
222652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22266
22267 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22268 of math functions ceil, trunc, floor, round, and sqrt, when
22269 avaliable on the platform.
22270 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22271 name clash.
22272 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22273 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22274 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22275
aaddc98c
MP
222762011-10-30 Marek Polacek <mpolacek@redhat.com>
22277
22278 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22280
95b7042b
RM
222812011-11-11 Roland McGrath <roland@hack.frob.com>
22282
22283 * include/unistd.h: Fix __readlink return type.
22284 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22285
57769839
UD
222862011-11-11 Ulrich Drepper <drepper@gmail.com>
22287
22288 * stdlib/ucontext.h: Undo last change for makecontext.
22289
edc5984d
AS
222902011-11-11 Andreas Schwab <schwab@redhat.com>
22291
98591e58
AS
22292 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22293
edc5984d
AS
22294 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22295 * setjmp/setjmp.h: Mark functions as non-leaf.
22296 * setjmp/bits/setjmp2.h: Likewise.
22297 * stdlib/ucontext.h: Likewise.
22298
77cdc054
AS
222992011-11-10 Andreas Schwab <schwab@redhat.com>
22300
22301 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22302 (reused_arena): Don't check arena limit.
22303 (arena_get2): Atomically check arena limit.
22304
fe72eebd
UD
223052011-11-08 Ulrich Drepper <drepper@gmail.com>
22306
5f078c32
UD
22307 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22308 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22309
fe72eebd
UD
22310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22311 instructions.
22312
ae1bc2fa
AS
223132011-11-07 Andreas Schwab <schwab@redhat.com>
22314
7583a88d
AS
22315 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22316 handler when locking.
22317
ae1bc2fa
AS
22318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22319 Fix size of allocated buffer.
22320
10fb0bfa
AS
223212011-11-04 Andreas Schwab <schwab@redhat.com>
22322
998832a4
AS
22323 [BZ #10103]
22324 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22325 declarations for long double functions.
22326 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22327
10fb0bfa
AS
22328 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22329
3d7ba52b
AS
223302011-11-03 Andreas Schwab <schwab@redhat.com>
22331
a9ae54a1
AS
22332 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22333 installed.
22334
3d7ba52b
AS
22335 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22336 is disabled.
22337
bc8db248
ST
223382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22339
22340 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22341
45b96dd6
AS
223422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22343
647776f6
AS
22344 * include/alloca.h (stackinfo_alloca_round): Define.
22345 (extend_alloca): Use it.
22346 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22347 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22348 here.
22349
d91a8b93
AS
22350 * scripts/check-local-headers.sh: Ignore libaudit.h.
22351
45b96dd6
AS
22352 * nscd/Makefile (extra-objs): Make recursively expanded.
22353
432d41ce
UD
223542011-11-01 Ulrich Drepper <drepper@gmail.com>
22355
34372fc6
UD
22356 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22358
fadb59f8
UD
22359 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22360 * posix/tst-rfc3484-2.c: Likewise.
22361 * posix/tst-rfc3484-3.c: Likewise.
22362
78239589
UD
22363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22364 process_vm_writev.
22365 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22366 process_vm_writev.
22367 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22368 process_vm_writev from libc using GLIBC_2.15 version.
22369
432d41ce
UD
22370 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22371
02f9c6cf
PP
223722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22373
22374 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22375 stack usage.
22376
3a2c0242
UD
223772011-10-31 Ulrich Drepper <drepper@gmail.com>
22378
f4ec4833
UD
22379 [BZ #13367]
22380 * nss/getent.c (initgroups_keys): Show error message in case no group
22381 names are given.
22382
3a2c0242
UD
22383 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22384 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22385 __bump_nl_timestamp.
22386 * nscd/connections (nscd_init): When host database is served open
22387 netlink socket and request notification about configuration changes.
22388 (main_loop_poll): Track netlink file descriptor and bump timestamp
22389 in case data becomes available.
22390 (main_loop_epoll): Likewise.
22391 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22392 (database_pers_head): Add extra_data fileds.
22393 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22394 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22395 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22396 Adjust caller.
22397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22398 in6ai data, call __free_in6ai.
22399 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22400 Add -DHAVE_NETLINK.
22401 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22402 interface information. Reuse previous data if netlink timestamp
22403 is not changed.
22404 (__bump_nl_timestamp): New function.
22405 (__free_in6ai): New function.
22406
636064eb
UD
224072011-10-30 Ulrich Drepper <drepper@gmail.com>
22408
22409 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22410 close_not_cancel_no_status here.
22411 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22412
9beb2334
UD
224132011-10-29 Ulrich Drepper <drepper@gmail.com>
22414
6ef76f3b
UD
22415 [BZ #13276]
22416 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22417 return value.
22418
0ffc4f3e 22419 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22420 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22421 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22422
cb95113e
UD
224232011-07-03 Andreas Jaeger <aj@suse.de>
22424
22425 [BZ #10709]
22426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22427 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22428 * math/libm-test.inc (sin_test): Add test case.
22429
a1b560ff
UD
224302011-10-29 Ulrich Drepper <drepper@gmail.com>
22431
c9aaface
UD
22432 [BZ #13337]
22433 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22435
d272e7f1
UD
22436 * elf/chroot_canon.c (chroot_canon): Cleanups.
22437
1bc33071
UD
22438 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22439
1760874d
TJ
22440 [BZ #13335]
22441 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22442 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22443
51d91b18
UD
22444 * string/test-strchr.c: Make usable for strchrnul testing.
22445 * string/test-strchrnul.c: New file.
22446 * string/Makefile (strop-tests): Add strchrnul.
22447
a1b560ff 22448 * po/it.po: Update from translation team.
b611fb81 22449 * po/es.po: Likewise.
a1b560ff 22450
a5b81e1f
UD
224512011-10-28 Ulrich Drepper <drepper@gmail.com>
22452
fd52bc6d
UD
22453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22454 the three constants needed as parameters. Drop the others.
22455 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22456 __m128i_strloadu_tolower.
52e4b9eb
UD
22457 Create and initialize variable zero and use it in all the places
22458 where _mm_setzero_si128 was used.
fd52bc6d 22459
a5b81e1f
UD
22460 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22461 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22462 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22463 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22464 anymore.
22465 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22466 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22467 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22468 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22469 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22470 __mpranred, __mptan.
22471 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22472 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22473 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22474 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22475 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22476 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22478 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22479 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22480
b4343346
AS
224812011-10-28 Andreas Schwab <schwab@redhat.com>
22482
0c92d8a8
AS
22483 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22484 redefine if SHARED.
22485 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22486
b4343346
AS
22487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22488 wide char related routines to wcsmbs subdir.
22489
3871f58f
AS
224902011-10-27 Andreas Schwab <schwab@redhat.com>
22491
22492 [BZ #13344]
22493 * misc/sys/cdefs.h (__THROWNL): Define.
22494 * posix/unistd.h: Use __THREADNL instead of __THREAD
22495 for memory synchronization functions.
22496
94d44d9f
RM
224972011-10-26 Roland McGrath <roland@hack.frob.com>
22498
21b64b15 22499 [BZ #13349]
94d44d9f
RM
22500 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22501 doesn't exist.
22502 * manual/stdio.texi (Obstack Streams): Node removed.
22503
f6ce9294
AS
225042011-10-26 Andreas Schwab <schwab@redhat.com>
22505
80479147
AS
22506 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22509
f6ce9294
AS
22510 * math/math_private.h (math_force_eval): Allow non-addressable
22511 arguments.
22512 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22513
618280a1
UD
225142011-10-25 Ulrich Drepper <drepper@gmail.com>
22515
e0016b11
UD
22516 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22517 file is not needed.
22518
22519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22522 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22526 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22527 Add AVX variants.
22528 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22541 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22544 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22545 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22547
22548 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22549 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22550
618280a1
UD
22551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22552 place. Use VEX encoding when compiling for AVX.
22553
37822576
AS
225542011-10-25 Andreas Schwab <schwab@redhat.com>
22555
1f1e1947
AS
22556 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22557 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22558
37822576
AS
22559 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22560
31ea014d
UD
225612011-10-25 Ulrich Drepper <drepper@gmail.com>
22562
d7826aa1 22563 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22564 useless if() expression.
d7826aa1
UD
22565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22579 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22581 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22583 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22584
31ea014d
UD
22585 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22586
16437fec
AS
225872011-10-25 Andreas Schwab <schwab@redhat.com>
22588
22589 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22590 condition.
22591 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22592
31d3cc00
UD
225932011-10-25 Ulrich Drepper <drepper@gmail.com>
22594
22595 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22596 .text section. Avoid duplicate constants.
22597 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22607 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22609 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22612 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22614 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22620 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22621 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22622 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22623 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22624 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22625 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22626 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22630 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22631 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22632 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22635 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22636 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22638 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22639 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22640 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22642
58985aa9
UD
226432011-10-24 Ulrich Drepper <drepper@gmail.com>
22644
202c9deb
UD
22645 * sysdeps/x86_64/dla.h: Move to ...
22646 * sysdeps/x86_64/fpu/dla.h: ...here.
22647 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22648 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22649
af968f62
UD
22650 * config.make.in: Add have-mfma4 entry.
22651 * configure.in: Substitute libc_cv_cc_fma4.
22652 * math/Makefile (dbl-only-routines): Add sincostab.
22653 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22654 Use __sincostab not sincos.
22655 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22656 name is a macro.
22657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22661 using __copysign.
22662 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22663 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22664 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22665 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22666 and __inv.
22667 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22668 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22669 __copysign.
22670 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22671 define aliases when function name is a macro.
22672 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22673 sysdeps/ieee754/dbl-64/sincos.tbl.
22674 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22675 fma4-enabled routines.
22676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22681 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22699 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22700 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22701 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22706
58985aa9
UD
22707 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22708 rename.
22709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22717
a201fbcf
AS
227182011-10-24 Andreas Schwab <schwab@redhat.com>
22719
22720 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22721
fc2ee42a
LD
227222011-10-23 Ulrich Drepper <drepper@gmail.com>
22723
bb3129bd
UD
22724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22725
0275fff8
UD
22726 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22727 prediction.
22728 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22729
2fa2ae85
UD
22730 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22731 Remove unused variable magic_bits.
22732 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22733
fc2ee42a
LD
22734 * string/strnlen.c: Define and use STRNLEN macro.
22735 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22736 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22737 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22738 * wcsmbs/wcslen.c: Define and use WCSLEN.
22739 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22740 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22741 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22742 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22743 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22744 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22745 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22746
ce7dd29f
LD
227472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22748
22749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22750 strnlen-sse2-no-bsf.
22751 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22753 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22754 Add strnlen support.
22755 (USE_AS_STRNLEN): New macro.
22756 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22757 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22758 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22759 * sysdeps/x86_64/wcslen.S: New file.
22760
979c70a3
MZ
227612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22762
22763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22764 XMM-moves are used for copying on small sizes.
22765
2d09f82f
LD
227662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22767
22768 * wcsmbs/Makefile (strop-tests): Add wcschr.
22769 * wcsmbs/test-wcschr.c: New file.
22770 * string/test-strchr.c: Update.
22771 Add wcschr support.
22772 (WIDE): New macro.
22773
619fccca
LD
227742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22775
2d09f82f 22776 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22777 * wcsmbs/test-wcslen.c: New file.
22778 * string/test-strlen.c: Update.
22779 Add wcslen support.
22780 (WIDE): New macro.
22781
09f699ea
UD
227822011-10-23 Ulrich Drepper <drepper@gmail.com>
22783
22784 * po/it.po: Update from translation team.
22785
95584d3b
LD
227862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22787
22788 * sysdeps/x86_64/wcscmp.S: Update.
22789 Fix wrong comparison semantics.
22790 wcscmp shall use signed comparison not unsigned.
22791 Don't use substraction to avoid overflow bug.
22792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22793 * wcsmbc/wcscmp.c: Likewise.
22794 * string/test-strcmp.c: Likewise.
22795 Add new tests to check cases with negative values.
22796
c8b3296b
UD
227972011-10-23 Ulrich Drepper <drepper@gmail.com>
22798
22799 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22800 * sysdeps/x86_64/dla.h: ...here. New file.
22801 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22810
246ad57a
AS
228112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22812
22813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22814 __ynl_finite aliases.
22815
a1a87169
UD
228162011-10-22 Ulrich Drepper <drepper@gmail.com>
22817
0d355eb7
UD
22818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22819
a1a87169
UD
22820 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22821 define DLA_FMA.
22822 [DLA_FMA] (EMULV): Use DLA_FMA.
22823 [DLA_FMA] (MUL12): Use EMULV.
22824 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22825 that are not needed.
22826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22833
ee2aafe0
AS
228342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22835
22836 * math/s_nan.c: Undef __nan.
22837 * math/s_nanf.c: Undef __nanf.
22838 * math/s_nanl.c: Undef __nanl.
22839 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22840 "math_private.h".
22841
bc62c2fb
UD
228422011-10-22 Ulrich Drepper <drepper@gmail.com>
22843
77425c63
UD
22844 * math/s_catan.c: Add branch predictions.
22845 * math/s_catanf.c: Likewise.
22846 * math/s_catanh.c: Likewise.
22847 * math/s_catanhf.c: Likewise.
22848 * math/s_catanhl.c: Likewise.
22849 * math/s_catanl.c: Likewise.
22850 * math/s_cexp.c: Likewise.
22851 * math/s_cexpf.c: Likewise.
22852 * math/s_cexpl.c: Likewise.
22853 * math/s_clog.c: Likewise.
22854 * math/s_clog10.c: Likewise.
22855 * math/s_clog10f.c: Likewise.
22856 * math/s_clog10l.c: Likewise.
22857 * math/s_clogf.c: Likewise.
22858 * math/s_clogl.c: Likewise.
22859 * math/s_csqrt.c: Likewise.
22860 * math/s_csqrtf.c: Likewise.
22861 * math/s_csqrtl.c: Likewise.
22862 * math/s_ctanf.c: Likewise.
22863 * math/s_ctanh.c: Likewise.
22864 * math/s_ctanhf.c: Likewise.
22865 * math/s_ctanhl.c: Likewise.
22866 * math/s_ctanl.c: Likewise.
22867
bc62c2fb
UD
22868 * math/math_private.h: Define __nan, __nanf, __nanl.
22869 * math/s_cacosh.c: Include <math_private.h>.
22870 * math/s_cacoshl.c: Likewise.
22871 * math/s_casinh.c: Likewise.
22872 * math/s_casinhf.c: Likewise.
22873 * math/s_casinhl.c: Likewise.
22874 * math/s_ccos.c: Rely entire on ccosh.
22875 * math/s_ccosf.c: Rely entire on ccoshf.
22876 * math/s_ccosl.c: Rely entirely on ccoshl.
22877 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22878 Remove tests for FE_INVALID.
22879 * math/s_ccoshf.c: Likewise.
22880 * math/s_ccoshl.c: Likewise.
22881 * math/s_csin.c: Likewise.
22882 * math/s_csinf.c: Likewise.
22883 * math/s_csinh.c Likewise.
22884 * math/s_csinhf.c: Likewise.
22885 * math/s_csinhl.c: Likewise.
22886 * math/s_csinl.c: Likewise.
22887 * math/s_ctan.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22889 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22890 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22891
8ec250a4
UD
228922011-10-21 Ulrich Drepper <drepper@gmail.com>
22893
c196fed8
UD
22894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22895 compilation problems.
22896
8ec250a4
UD
22897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22898 __builtin_expect.
22899
8d4f46c6
UD
229002011-10-20 Ulrich Drepper <drepper@gmail.com>
22901
ed72b654
UD
22902 * sysdeps/i386/configure.in: Test for -mfma4 option.
22903 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22904 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22905 COMMON_CPUID_INDEX_80000001.
22906 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22907 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22908 use it if FMA3 is not supported.
22909 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22910
8d4f46c6
UD
22911 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22912 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22913
d45c60c2
AS
229142011-10-20 Andreas Schwab <schwab@redhat.com>
22915
22916 [BZ #12892]
22917 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22918 it would create a cycle with a link time dependency.
22919
d9a4d2ab
UD
229202011-10-19 Ulrich Drepper <drepper@gmail.com>
22921
855d1560
UD
22922 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22923 instruction.
22924 * string/Makefile (strop-tests): Add rawmemchr.
22925 * string/test-rawmemchr.c: New file.
22926
d9a4d2ab
UD
22927 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22928 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22929 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22930 when compiling str{,n}casecmp and when AVX is available. Hook up
22931 new optimized code in initializers.
22932
8f3b1ffe
AS
229332011-10-19 Andreas Schwab <schwab@redhat.com>
22934
22935 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22936 __feraiseexcept instead of feraiseexcept.
22937
d38f1dba
UD
229382011-10-18 Ulrich Drepper <drepper@gmail.com>
22939
d9a8d0ab
UD
22940 * math/math_private.h: Define defaults for libc_fetestexcept and
22941 libc_feupdateenv.
22942 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22943 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22944 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22945 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22946 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22947 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22948 libc_fetestexcept and libc_feupdateenv.
22949
4855e3dd
UD
22950 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22951 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22952 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22953 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22954 libc_feholdexcept_setround.
22955
581d30e3
UD
22956 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22957 Add s_nearbyint-c and s_nearbyintf-c.
22958 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22959 nearbyintf inlines.
22960 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22961 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22962 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22963 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22964
d38f1dba
UD
22965 * math/math_private.h: Define defaults for libc_fegetround,
22966 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22967 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22968 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22970 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22971 standard functions.
22972 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22973 Remove comments and hacks for old compiler versions.
22974 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22975 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22976 libc_feholdexceptl.
22977
caa6c9d8
AS
229782011-10-18 Andreas Schwab <schwab@redhat.com>
22979
22980 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22981 (__feraiseexcept_renamed): Add __NTH.
22982 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22983 namespace violations.
22984
97c066e6
UD
229852011-10-17 Ulrich Drepper <drepper@gmail.com>
22986
99ce7b04
UD
22987 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22988
1004d182
UD
22989 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22990
228a984d
UD
22991 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22992 recently added interfaces.
22993 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22994
c8553a6a
UD
22995 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22996 about macro parameter expansion.
22997
ed22dcf6
UD
22998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22999 __NO_MATH_INLINES is defined. Cleanups.
23000
23001 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23002 and __floorf is target has SSE4.1.
23003 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23004 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23005 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23006 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23007
b171c137
UD
23008 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23009 name.
23010 (floorf): Likewise.
23011
97c066e6
UD
23012 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23013
629f62ef
AS
230142011-10-17 Andreas Schwab <schwab@redhat.com>
23015
49a43d80
AS
23016 * misc/sys/cdefs.h: Fix last change.
23017
629f62ef
AS
23018 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23019 database lookup.
23020
e453f6cd
UD
230212011-10-16 Ulrich Drepper <drepper@gmail.com>
23022
aa78043a
UD
23023 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23024
ad0f5cad
UD
23025 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23031 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23032 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23033 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23035 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23036 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23037 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23038 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23040 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23041 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23042 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23043 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23044 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23045 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23046 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23047
23048 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23049 ceil, ceilf, floor, floorf.
23050
23051 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23052 Perform IRELATIVE relocations last.
23053
e453f6cd
UD
23054 * elf/do-rel.h: Add another parameter nrelative, replacing the
23055 local variable with the same name. Change name of the function
23056 to end in Rel or Rela (uppercase).
23057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23058 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23059 elf_dynamic_do_##reloc function.
23060
fd5bdc09
UD
230612011-10-15 Ulrich Drepper <drepper@gmail.com>
23062
79b195b5
UD
23063 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23064 is sufficient, at least on modern CPUs.
23065
d4a28569
UD
23066 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23067
b61099b5
UD
23068 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23070
bcf01e6d
UD
23071 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23072 __expl_finite.
23073 * math/bits/math-finite.h: Add entries for exp.
23074 * math/e_expl.c: Add __*_finite alias.
23075 * sysdeps/i386/fpu/e_exp.S: Likewise.
23076 * sysdeps/i386/fpu/e_expf.S: Likewise.
23077 * sysdeps/i386/fpu/e_expl.c: Likewise.
23078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23079 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23080 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23082 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23083 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23084 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23085
ba1a0d59
UD
23086 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23087 is sufficient, at least on modern CPUs.
23088
fd5bdc09
UD
23089 * ctype/ctype-info.c (__ctype_init): Define.
23090 * include/ctype.h (__ctype_init): Declare.
23091 (__ctype_b_loc): The variable is always initialized.
23092 (__ctype_toupper_loc): Likewise.
23093 (__ctype_tolower_loc): Likewise.
23094 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23095 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23096
7872cfb0
AS
230972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23098
b468825a
AS
23099 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23100
7872cfb0
AS
23101 * configure.in: Also look in $cxxmachine/include for C++ system
23102 headers.
23103
be13f7bf
LD
231042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23105
23106 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23107 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23108 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23109 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23110 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23111 (USE_AS_WMEMCMP): New macro.
23112 Fixing indents.
23113 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23114 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23115 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23116 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23118 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23119 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23120 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23121 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23122 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23123 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23124 (USE_AS_WMEMCMP): New macro.
23125 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23126 * sysdeps/string/test-memcmp.c: Update.
23127 Fix simple_wmemcmp.
23128 Add new tests.
23129 * wcsmbs/wmemcmp.c: Update.
23130 (WMEMCMP): New macro.
23131 Fix overflow bug.
23132
556a2007
AJ
231332011-10-12 Andreas Jaeger <aj@suse.de>
23134
23135 [BZ #13268]
23136 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23137
538faaa7
UD
231382011-10-15 Ulrich Drepper <drepper@gmail.com>
23139
ab6737ff
UD
23140 * libio/iofwide.c (do_length): Avoid warning.
23141
538faaa7
UD
23142 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23143
396a21b1
UD
231442011-10-14 Ulrich Drepper <drepper@gmail.com>
23145
cdf2901f
UD
23146 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23147
38ad40ce
UD
23148 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23149 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23150 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23151 * sysdeps/i386/i686/fpu/e_log.S: New file.
23152 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23153 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23154
396a21b1
UD
23155 * ctype/ctype.h: Add support for inlined isXXX functions when
23156 compiling C++ code.
23157
6b1f68c9
AS
231582011-10-14 Andreas Schwab <schwab@redhat.com>
23159
349290c0
AS
23160 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23161
6b1f68c9
AS
23162 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23163
f2282d42
RM
231642011-10-13 Roland McGrath <roland@hack.frob.com>
23165
23166 [BZ #13291]
23167 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23168
5298ffa8
AS
231692011-10-13 Andreas Schwab <schwab@redhat.com>
23170
714fad23
AS
23171 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23172 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23173 feraiseexcept.
23174
81dcc7fb
AS
23175 * sysdeps/x86_64/memrchr.S: Check for zero size.
23176
5298ffa8
AS
23177 * string/stratcliff.c: Add memrchr tests.
23178
951fbcec
LD
231792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23180
23181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23182 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23183 rawmemchr-sse2 rawmemchr-sse2-bsf.
23184 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23185 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23186 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23187 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23188 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23189 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23190 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23191 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23192 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23193 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23194 * string/memrchr.c (MEMRCHR): New macro.
23195
0ac5ae23
UD
231962011-10-12 Ulrich Drepper <drepper@gmail.com>
23197
23198 Add integration with gcc's -ffinite-math-only and optimize wrapper
23199 functions in libm.
23200 * Versions.def: Define GLIBC_2.15 version for libm.
23201 * math/Makefile (headers): Add bits/math-finite.h.
23202 * math/bits/math-finite.h: New file.
23203 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23204 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23205 * math/e_acoshl.c: Add __*_finite alias.
23206 * math/e_acosl.c: Likewise.
23207 * math/e_asinl.c: Likewise.
23208 * math/e_atan2l.c: Likewise.
23209 * math/e_atanhl.c: Likewise.
23210 * math/e_coshl.c: Likewise.
23211 * math/e_exp10.c: Likewise.
23212 * math/e_exp10f.c: Likewise.
23213 * math/e_exp10l.c: Likewise.
23214 * math/e_exp2l.c: Likewise.
23215 * math/e_fmodl.c: Likewise.
23216 * math/e_gammal_r.c: Likewise.
23217 * math/e_hypotl.c: Likewise.
23218 * math/e_j0l.c: Likewise.
23219 * math/e_j1l.c: Likewise.
23220 * math/e_jnl.c: Likewise.
23221 * math/e_lgammal_r.c: Likewise.
23222 * math/e_log10l.c: Likewise.
23223 * math/e_log2l.c: Likewise.
23224 * math/e_logl.c: Likewise.
23225 * math/e_powl.c: Likewise.
23226 * math/e_sinhl.c: Likewise.
23227 * math/e_sqrtl.c: Likewise.
23228 * math/e_scalb.c: Completely rewritten and optimized.
23229 * math/e_scalbf.c: Likewise.
23230 * math/e_scalbl.c: Likewise.
23231 * math/w_acos.c: Likewise.
23232 * math/w_acosf.c: Likewise.
23233 * math/w_acosl.c: Likewise.
23234 * math/w_acosh.c: Likewise.
23235 * math/w_acoshf.c: Likewise.
23236 * math/w_acoshl.c: Likewise.
23237 * math/w_asin.c: Likewise.
23238 * math/w_asinf.c: Likewise.
23239 * math/w_asinl.c: Likewise.
23240 * math/w_atan2.c: Likewise.
23241 * math/w_atan2f.c: Likewise.
23242 * math/w_atan2l.c: Likewise.
23243 * math/w_atanh.c: Likewise.
23244 * math/w_atanhf.c: Likewise.
23245 * math/w_atanhl.c: Likewise.
23246 * math/w_exp10.c: Likewise.
23247 * math/w_exp10f.c: Likewise.
23248 * math/w_exp10l.c: Likewise.
23249 * math/w_fmod.c: Likewise.
23250 * math/w_fmodf.c: Likewise.
23251 * math/w_fmodl.c: Likewise.
23252 * math/w_j0.c: Likewise.
23253 * math/w_j0f.c: Likewise.
23254 * math/w_j0l.c: Likewise.
23255 * math/w_j1.c: Likewise.
23256 * math/w_j1f.c: Likewise.
23257 * math/w_j1l.c: Likewise.
23258 * math/w_jn.c: Likewise.
23259 * math/w_jnf.c: Likewise.
23260 * math/w_log.c: Likewise.
23261 * math/w_logf.c: Likewise.
23262 * math/w_logl.c: Likewise.
23263 * math/w_log10.c: Likewise.
23264 * math/w_log10f.c: Likewise.
23265 * math/w_log10l.c: Likewise.
23266 * math/w_log2.c: Likewise.
23267 * math/w_log2f.c: Likewise.
23268 * math/w_log2l.c: Likewise.
23269 * math/w_pow.c: Likewise.
23270 * math/w_powf.c: Likewise.
23271 * math/w_powl.c: Likewise.
23272 * math/w_remainder.c: Likewise.
23273 * math/w_remainderf.c: Likewise.
23274 * math/w_remainderl.c: Likewise.
23275 * math/w_scalb.c: Likewise.
23276 * math/w_scalbf.c: Likewise.
23277 * math/w_scalbl.c: Likewise.
23278 * math/w_sqrt.c: Likewise.
23279 * math/w_sqrtf.c: Likewise.
23280 * math/w_sqrtl.c: Likewise.
23281 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23282 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23283 used.
23284 * math/math_private.h: Declare __kernel_standard_f.
23285 * math/w_cosh.c: Remove cruft and optimize a bit.
23286 * math/w_coshf.c: Likewise.
23287 * math/w_coshl.c: Likewise.
23288 * math/w_exp2.c: Likewise.
23289 * math/w_exp2f.c: Likewise.
23290 * math/w_exp2l.c: Likewise.
23291 * math/w_hypot.c: Likewise.
23292 * math/w_hypotf.c: Likewise.
23293 * math/w_hypotl.c: Likewise.
23294 * math/w_lgamma.c: Likewise.
23295 * math/w_lgamma_r.c: Likewise.
23296 * math/w_lgammaf.c: Likewise.
23297 * math/w_lgammaf_r.c: Likewise.
23298 * math/w_lgammal.c: Likewise.
23299 * math/w_lgammal_r.c: Likewise.
23300 * math/w_sinh.c: Likewise.
23301 * math/w_sinhf.c: Likewise.
23302 * math/w_sinhl.c: Likewise.
23303 * math/w_tgamma.c: Likewise.
23304 * math/w_tgammaf.c: Likewise.
23305 * math/w_tgammal.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23308 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23309 Minor optimizations. Pretty printing. Remove cruft.
23310 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23311 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23314 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23315 * sysdeps/i386/fpu/e_asin.S: Likewise.
23316 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23317 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23318 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23319 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23320 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23321 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23322 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23323 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23324 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23325 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23326 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23327 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23328 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23329 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23330 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23331 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23332 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23333 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23334 * sysdeps/i386/fpu/e_log.S: Likewise.
23335 * sysdeps/i386/fpu/e_log10.S: Likewise.
23336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23337 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23338 * sysdeps/i386/fpu/e_log2.S: Likewise.
23339 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23340 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23341 * sysdeps/i386/fpu/e_logf.S: Likewise.
23342 * sysdeps/i386/fpu/e_logl.S: Likewise.
23343 * sysdeps/i386/fpu/e_pow.S: Likewise.
23344 * sysdeps/i386/fpu/e_powf.S: Likewise.
23345 * sysdeps/i386/fpu/e_powl.S: Likewise.
23346 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23347 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23348 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23351 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23352 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23353 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23354 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23376 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23377 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23378 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23382 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23396 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23446 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23447 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23448 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23452 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23453 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23454 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23455 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23456 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23457 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23458 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23459 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23462 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23463 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23464 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23465 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23466 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23467 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23468 (__isnanf): Likewise.
23469 (__isinf_ns): Likewise.
23470 (__isinf_nsf): Likewise.
23471 (__finite): Likewise.
23472 (__finitef): Likewise.
23473 (__ieee754_sqrt): Define as macro.
23474 (__ieee754_sqrtf): Define as macro.
23475 (__ieee754_sqrtl): Define as macro.
23476 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23477 inlined copy.
23478 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23479 __FINITE_MATH_ONLY__ consistent.
23480 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23481
12cc2fcd
AS
234822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23483
a843a204
AS
23484 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23485 of rawmemchr.
23486
12cc2fcd
AS
23487 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23488
c853acd5
UD
234892011-10-09 Ulrich Drepper <drepper@gmail.com>
23490
23491 * po/ja.po: Update from translation team.
23492
c658d255
RM
234932011-10-08 Roland McGrath <roland@hack.frob.com>
23494
110946e4
RM
23495 * locale/programs/locarchive.c (prepare_address_space): New function.
23496 (create_archive, enlarge_archive, open_archive): Use it.
23497
50604220
RM
23498 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23499 inside [SHARED], where it is used.
23500
c658d255
RM
23501 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23502
23503 * nss/getent.c (netgroup_keys): Remove unused variable.
23504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23505
6a621eb7
UD
235062011-10-08 Ulrich Drepper <drepper@gmail.com>
23507
7edb55ce
UD
23508 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23512 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23513 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23514 * math/Makefile (libm-calls): Add s_isinf_ns.
23515 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23516 * math/multc3.c: Likewise.
23517 * math/s_casin.c: Likewise.
23518 * math/s_casinf.c: Likewise.
23519 * math/s_casinl.c: Likewise.
23520 * math/s_ccos.c: Likewise.
23521 * math/s_ccosf.c: Likewise.
23522 * math/s_ccosl.c: Likewise.
23523 * math/s_ctan.c: Likewise.
23524 * math/s_ctanf.c: Likewise.
23525 * math/s_ctanh.c: Likewise.
23526 * math/s_ctanhf.c: Likewise.
23527 * math/s_ctanhl.c: Likewise.
23528 * math/s_ctanl.c: Likewise.
23529 * math/w_fmod.c: Likewise.
23530 * math/w_fmodf.c: Likewise.
23531 * math/w_fmodl.c: Likewise.
23532 * math/w_remainder.c: Likewise.
23533 * math/w_remainderf.c: Likewise.
23534 * math/w_remainderl.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23536 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23539 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23540 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23541 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23542 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23543
187da0ae
UD
23544 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23545 of the number.
23546 * stdio-common/printf_fphex.c: Likewise.
23547 * stdio-common/printf_size.c: Likewise.
23548
9277c064
UD
23549 * math/e_exp10.c: Include math_private.h using <...> not "...".
23550 * math/e_exp10f.c: Likewise.
23551 * math/e_exp10l.c: Likewise.
23552 * math/e_exp2l.c: Likewise.
23553 * math/e_j0l.c: Likewise.
23554 * math/e_j1l.c: Likewise.
23555 * math/e_jnl.c: Likewise.
23556 * math/e_lgammal_r.c: Likewise.
23557 * math/e_rem_pio2l.c: Likewise.
23558 * math/e_scalb.c: Likewise.
23559 * math/e_scalbf.c: Likewise.
23560 * math/e_scalbl.c: Likewise.
23561 * math/k_cosl.c: Likewise.
23562 * math/k_sinl.c: Likewise.
23563 * math/k_tanl.c: Likewise.
23564 * math/s_cacoshf.c: Likewise.
23565 * math/s_catan.c: Likewise.
23566 * math/s_catanf.c: Likewise.
23567 * math/s_catanh.c: Likewise.
23568 * math/s_catanhf.c: Likewise.
23569 * math/s_catanhl.c: Likewise.
23570 * math/s_catanl.c: Likewise.
23571 * math/s_ccosh.c: Likewise.
23572 * math/s_ccoshf.c: Likewise.
23573 * math/s_ccoshl.c: Likewise.
23574 * math/s_cexp.c: Likewise.
23575 * math/s_cexpf.c: Likewise.
23576 * math/s_cexpl.c: Likewise.
23577 * math/s_clog.c: Likewise.
23578 * math/s_clog10.c: Likewise.
23579 * math/s_clog10f.c: Likewise.
23580 * math/s_clog10l.c: Likewise.
23581 * math/s_clogf.c: Likewise.
23582 * math/s_clogl.c: Likewise.
23583 * math/s_csin.c: Likewise.
23584 * math/s_csinf.c: Likewise.
23585 * math/s_csinh.c: Likewise.
23586 * math/s_csinhf.c: Likewise.
23587 * math/s_csinhl.c: Likewise.
23588 * math/s_csinl.c: Likewise.
23589 * math/s_csqrt.c: Likewise.
23590 * math/s_csqrtf.c: Likewise.
23591 * math/s_csqrtl.c: Likewise.
23592 * math/s_ctan.c: Likewise.
23593 * math/s_ctanf.c: Likewise.
23594 * math/s_ctanh.c: Likewise.
23595 * math/s_ctanhf.c: Likewise.
23596 * math/s_ctanhl.c: Likewise.
23597 * math/s_ctanl.c: Likewise.
23598 * math/s_ldexp.c: Likewise.
23599 * math/s_ldexpf.c: Likewise.
23600 * math/s_ldexpl.c: Likewise.
23601 * math/s_significand.c: Likewise.
23602 * math/s_significandf.c: Likewise.
23603 * math/s_significandl.c: Likewise.
23604 * math/w_acos.c: Likewise.
23605 * math/w_acosf.c: Likewise.
23606 * math/w_acosh.c: Likewise.
23607 * math/w_acoshf.c: Likewise.
23608 * math/w_acoshl.c: Likewise.
23609 * math/w_acosl.c: Likewise.
23610 * math/w_asin.c: Likewise.
23611 * math/w_asinf.c: Likewise.
23612 * math/w_asinl.c: Likewise.
23613 * math/w_atan2.c: Likewise.
23614 * math/w_atan2f.c: Likewise.
23615 * math/w_atan2l.c: Likewise.
23616 * math/w_atanh.c: Likewise.
23617 * math/w_atanhf.c: Likewise.
23618 * math/w_atanhl.c: Likewise.
23619 * math/w_cosh.c: Likewise.
23620 * math/w_coshf.c: Likewise.
23621 * math/w_coshl.c: Likewise.
23622 * math/w_dremf.c: Likewise.
23623 * math/w_exp10.c: Likewise.
23624 * math/w_exp10f.c: Likewise.
23625 * math/w_exp10l.c: Likewise.
23626 * math/w_exp2.c: Likewise.
23627 * math/w_exp2f.c: Likewise.
23628 * math/w_fmod.c: Likewise.
23629 * math/w_fmodf.c: Likewise.
23630 * math/w_fmodl.c: Likewise.
23631 * math/w_hypot.c: Likewise.
23632 * math/w_hypotf.c: Likewise.
23633 * math/w_hypotl.c: Likewise.
23634 * math/w_j0.c: Likewise.
23635 * math/w_j0f.c: Likewise.
23636 * math/w_j0l.c: Likewise.
23637 * math/w_j1.c: Likewise.
23638 * math/w_j1f.c: Likewise.
23639 * math/w_j1l.c: Likewise.
23640 * math/w_jn.c: Likewise.
23641 * math/w_jnf.c: Likewise.
23642 * math/w_jnl.c: Likewise.
23643 * math/w_lgamma.c: Likewise.
23644 * math/w_lgamma_r.c: Likewise.
23645 * math/w_lgammaf.c: Likewise.
23646 * math/w_lgammaf_r.c: Likewise.
23647 * math/w_lgammal.c: Likewise.
23648 * math/w_lgammal_r.c: Likewise.
23649 * math/w_log.c: Likewise.
23650 * math/w_log10.c: Likewise.
23651 * math/w_log10f.c: Likewise.
23652 * math/w_log10l.c: Likewise.
23653 * math/w_log2.c: Likewise.
23654 * math/w_log2f.c: Likewise.
23655 * math/w_log2l.c: Likewise.
23656 * math/w_logf.c: Likewise.
23657 * math/w_logl.c: Likewise.
23658 * math/w_pow.c: Likewise.
23659 * math/w_powf.c: Likewise.
23660 * math/w_powl.c: Likewise.
23661 * math/w_remainder.c: Likewise.
23662 * math/w_remainderf.c: Likewise.
23663 * math/w_remainderl.c: Likewise.
23664 * math/w_scalb.c: Likewise.
23665 * math/w_scalbf.c: Likewise.
23666 * math/w_scalbl.c: Likewise.
23667 * math/w_sinh.c: Likewise.
23668 * math/w_sinhf.c: Likewise.
23669 * math/w_sinhl.c: Likewise.
23670 * math/w_sqrt.c: Likewise.
23671 * math/w_sqrtf.c: Likewise.
23672 * math/w_sqrtl.c: Likewise.
23673 * math/w_tgamma.c: Likewise.
23674 * math/w_tgammaf.c: Likewise.
23675 * math/w_tgammal.c: Likewise.
23676
6a621eb7
UD
23677 * po/ja.po: Update from translation team.
23678
bf582445
AJ
236792011-09-29 Andreas Jaeger <aj@suse.de>
23680
f9efbf3a
AJ
23681 [BZ #13179]
23682 * sunrpc/netname.c (netname2host): Fix logic.
23683
bf582445
AJ
23684 [BZ #6779]
23685 [BZ #6783]
23686 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23687 correctly.
23688 * math/w_remainder.c (__remainder): Likewise.
23689 * math/w_remainderf.c (__remainderf): Likewise.
23690 * math/libm-test.inc (remainder_test): Add test cases.
23691
48693bea
AK
236922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23693
23694 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23695 sdiv_qrnnd.
23696
42622229
LD
236972011-10-07 Ulrich Drepper <drepper@gmail.com>
23698
23699 * string/test-memcmp.c: Avoid unncessary #defines.
23700 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23701
093ecf92
LD
237022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23703
23704 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23705 Use new sse2 version for core i3 - i7 as it's faster
23706 than sse42 version.
23707 (bit_Prefer_PMINUB_for_stringop): New.
23708 * sysdeps/x86_64/rawmemchr.S: Update.
23709 Replace with faster SSE2 version.
23710 * sysdeps/x86_64/memrchr.S: New file.
23711 * sysdeps/x86_64/memchr.S: Update.
23712 Replace with faster SSE2 version.
23713
fde56e5c
MP
237142011-09-12 Marek Polacek <mpolacek@redhat.com>
23715
23716 * elf/dl-load.c (lose): Add cast to avoid warning.
23717
21fd49a9
UD
237182011-10-07 Ulrich Drepper <drepper@gmail.com>
23719
5a06e643
UD
23720 * po/ca.po: Update from translation team.
23721
684ae515
UD
23722 * inet/getnetgrent_r.c: Hook up nscd.
23723 * nscd/Makefile (routines): Add nscd_netgroup.
23724 (nscd-modules): Add netgroupcache.
23725 (CFLAGS-netgroupcache.c): Define.
23726 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23727 (cache_search): Add const to second parameter.
23728 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23729 INNETGR.
23730 (dbs): Add netgrdb entry.
23731 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23732 (verify_persistent_db): Handle netgrdb.
23733 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23734 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23735 GETFDNETGR.
23736 (netgroup_response_header): Define.
23737 (innetgroup_response_header): Define.
23738 (datahead): Add netgroup_response_header and innetgroup_response_header
23739 elements.
23740 * nscd/nscd.conf: Add entries for netgroup cache.
23741 * nscd/nscd.h (dbtype): Add netgrdb.
23742 (_PATH_NSCD_NETGROUP_DB): Define.
23743 (netgroup_iov_disabled): Declare.
23744 (xmalloc, xcalloc, xrealloc): Move declarations here.
23745 (cache_search): Adjust prototype.
23746 Add netgroup-related prototypes.
23747 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23748 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23749 (__nscd_innetgr): Declare.
23750 * nscd/selinux.c (perms): Use access_vector_t as element type and
23751 add netgroup-related initializers.
23752 * nscd/netgroupcache.c: New file.
23753 * nscd/nscd_netgroup.c: New file.
23754 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23755 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23756 For four parameters use innetgr.
23757 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23758 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23759 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23760 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23761
21fd49a9
UD
23762 * nscd/connections.c (register_traced_file): Don't register file
23763 for disabled databases.
23764
054c0457
UD
237652011-10-06 Ulrich Drepper <drepper@gmail.com>
23766
32b63198
UD
23767 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23768
054c0457
UD
23769 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23770 from tree and freeing node.
23771
64031225
JO
237722011-09-25 Jiri Olsa <jolsa@redhat.com>
23773
23774 * nss/nsswitch.c (__nss_database_lookup): Handle
23775 nss_parse_service_list out of memory case.
23776
0490345c
JO
237772011-09-15 Jiri Olsa <jolsa@redhat.com>
23778
23779 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23780 out of memory case.
23781
3a62d00d
AS
237822011-10-04 Andreas Schwab <schwab@redhat.com>
23783
23784 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23785 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23786 pass it down.
23787 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23788 elf_machine_rela, elf_machine_lazy_rel.
23789 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23790 (ELF_DYNAMIC_DO_REL): Likewise.
23791 (ELF_DYNAMIC_DO_RELA): Likewise.
23792 (ELF_DYNAMIC_RELOCATE): Likewise.
23793 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23794 to ELF_DYNAMIC_DO_REL.
23795 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23796 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23797 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23798 elf_machine_rela.
23799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23800 skip_ifunc, don't call ifunc function if non-zero.
23801 (elf_machine_rela): Likewise.
23802 (elf_machine_lazy_rel): Likewise.
23803 (elf_machine_lazy_rela): Likewise.
23804 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23805 (elf_machine_lazy_rel): Likewise.
23806 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23807 Likewise.
23808 (elf_machine_lazy_rel): Likewise.
23809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23810 Likewise.
23811 (elf_machine_lazy_rel): Likewise.
23812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23813 (elf_machine_lazy_rel): Likewise.
23814 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23815 (elf_machine_lazy_rel): Likewise.
23816 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23817 (elf_machine_lazy_rel): Likewise.
23818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23819 (elf_machine_lazy_rel): Likewise.
23820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23821 (elf_machine_lazy_rel): Likewise.
23822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23823 (elf_machine_lazy_rel): Likewise.
23824
68577918
UD
238252011-09-28 Ulrich Drepper <drepper@gmail.com>
23826
23827 * nss/nss_files/files-init.c (_nss_files_init): Use static
23828 initialization for all the *_traced_file variables.
23829
68822d74
AS
238302011-09-28 Andreas Schwab <schwab@redhat.com>
23831
23832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23833
2056100b
RM
238342011-09-27 Roland McGrath <roland@hack.frob.com>
23835
23836 [BZ #13226]
23837 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23838
32c76b63
AS
238392011-09-27 Andreas Schwab <schwab@redhat.com>
23840
23841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23842 Reread the line before reparsing it.
23843
bf972c9d
AS
238442011-09-26 Andreas Schwab <schwab@redhat.com>
23845
23846 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23847
e057a1b5
JM
238482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23849 Maxim Kuvyrkov <maxim@codesourcery.com>
23850 Joseph Myers <joseph@codesourcery.com>
23851
23852 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23853 if needed for __stack_chk_guard.
23854
bc7e1c36
RM
238552011-09-19 Roland McGrath <roland@hack.frob.com>
23856
ecb1482f
RM
23857 * sysdeps/posix/spawni.c (script_execute): Always define it.
23858 It will be optimized away if unused.
23859 (maybe_script_execute): New function.
23860 (__spawni): Call it.
23861
bc7e1c36
RM
23862 * Makerules: Don't include tls.make.
23863 (config-tls): Always set to thread.
23864 * tls.make.c: File removed.
23865
1c3b002b
MF
238662011-09-19 Mike Frysinger <vapier@gentoo.org>
23867
23868 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23869 * config.make.in (CPPFLAGS-config): New substituted variable.
23870
2840865d
UD
238712011-09-15 Ulrich Drepper <drepper@gmail.com>
23872
88738eb6
UD
23873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23874
cbf645a6 23875 [BZ #13192]
2840865d
UD
23876 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23877 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23878
b402e91a
RM
238792011-09-15 Roland McGrath <roland@hack.frob.com>
23880
23881 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23882 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23884 (CALL_FAIL): Likewise.
23885 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23886 (CALL_FAIL): Macro removed.
23887 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23888
4c1a1f71
UD
238892011-09-15 Ulrich Drepper <drepper@gmail.com>
23890
23891 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23892 for __FINITE_MATH_ONLY__ == 1.
23893
edc121be
AS
238942011-09-15 Andreas Schwab <schwab@redhat.com>
23895
23896 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23897 __ieee754_sqrt instead of sqrt.
23898 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23899 __ieee754_sqrtf instead of sqrtf.
23900 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23901 __floorf instead of floorf.
23902 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23903 __floorf, __truncf instead of floorf, truncf.
23904
cd205654
UD
239052011-09-14 Ulrich Drepper <drepper@gmail.com>
23906
ee4d0315
UD
23907 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23908
cd205654
UD
23909 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23910 __extern_always_inline.
23911 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23912 32-bit.
23913
48b67d71
AS
239142011-09-14 Andreas Schwab <schwab@redhat.com>
23915
23916 * elf/rtld.c (dl_main): Also relocate in dependency order when
23917 doing symbol dependency testing.
23918
1ae12c75
AS
239192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23920
23921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23922 Always define `refsym'.
23923
995a80df
AS
239242011-09-13 Andreas Schwab <schwab@redhat.com>
23925
e529793b
AS
23926 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23927 (__FD_ELT): Renamed from __FDELT.
23928 * misc/bits/select2.h (__FD_ELT): Likewise.
23929 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23930 __FD_MASK instead of __FDELT, __FDMASK.
23931 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23932 Likewise.
23933 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23934 Likewise.
23935
52d4fef8
AS
23936 * elf/Makefile (gen-ldd): Fix pattern.
23937
995a80df
AS
23938 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23939 (init_tls): Likewise.
23940
8682f8b0
UD
239412011-09-12 Ulrich Drepper <drepper@gmail.com>
23942
23943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23944
de82006d
AS
239452011-09-12 Andreas Schwab <schwab@redhat.com>
23946
a7c8e6a1
AS
23947 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23948 `struct cmsghdr *' instead of `void *'.
23949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23950 Likewise.
23951
0f31fe77
AS
239522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23953
23954 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23955 if non-absolute.
23956 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23957 ldd_rewrite_script.
0f31fe77 23958
32b4c839
UD
239592011-09-11 Ulrich Drepper <drepper@gmail.com>
23960
83cd1420
UD
23961 * configure.in: Remove --with-tls option.
23962 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23963 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23964 out in case it is missing.
23965 * sysdeps/ia64/elf/configure.in: Likewise.
23966 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23967 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23968 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23969 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23970 * sysdeps/sh/elf/configure.in: Likewise.
23971 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23972 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23973 * sysdeps/x86_64/elf/configure.in: Likewise.
23974 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23975 * sysdeps/mach/hurd/tls.h: Likewise.
23976
633f745d
UD
23977 [BZ #13067]
23978 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23979
f318beb8
UD
23980 [BZ #13090]
23981 * configure.in: Fix use of AC_INIT.
23982
32b4c839
UD
23983 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23984
3ce1f295
UD
239852011-09-10 Ulrich Drepper <drepper@gmail.com>
23986
bb016596
UD
23987 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23988 __set_errno.
8e58439c
UD
23989 * malloc/hooks.c: Likewise.
23990
aebae053 23991 [BZ #11929]
02d46fc4
UD
23992 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23993 variables statically.
23994 (narenas): Initialize.
23995 (list_lock): Initialize.
bb016596
UD
23996 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23997 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23998 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23999 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24000 Add initializers to main_arena and mp_.
24001 (malloc_state): Remove pagesize member. Change all users to use
24002 GLRO(dl_pagesize).
24003
24004 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24005 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24006 is always initialized.
24007
22a89187
UD
24008 * malloc/malloc.c: Removed unused configurations and dead code.
24009 * malloc/arena.c: Likewise.
24010 * malloc/hooks.c: Likewise.
02d46fc4 24011 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24012
d063d164
UD
24013 * include/tls.h: Removed. USE___THREAD must always be defined.
24014 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24015 * elf/dl-libc.c: Likewise.
24016 * elf/dl-tsd.c: Likewise.
24017 * include/errno.h: Likewise.
24018 * include/netdb.h: Likewise.
24019 * include/resolv.h: Likewise.
24020 * inet/herrno-loc.c: Likewise.
24021 * inet/herrno.c: Likewise.
24022 * malloc/arena.c: Likewise.
24023 * malloc/hooks.c: Likewise.
24024 * malloc/malloc.c: Likewise.
24025 * resolv/res-state.c: Likewise.
24026 * resolv/res_libc.c: Likewise.
24027 * sysdeps/i386/dl-machine.h: Likewise.
24028 * sysdeps/ia64/dl-machine.h: Likewise.
24029 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24030 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24031 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24032 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24033 * sysdeps/sh/dl-machine.h: Likewise.
24034 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24035 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24036 * sysdeps/unix/i386/sysdep.S: Likewise.
24037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24038 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24043 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24048 * sysdeps/x86_64/dl-machine.h: Likewise.
24049 * tls.make.c: Likewise.
24050
3ce1f295
UD
24051 * configure.in: Remove --with-__thread option. Make tests for
24052 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24053 tls_model attribute fail if no support is available. Remove
24054 USE_IN_LIBIO.
24055 * Makeconfig: Adjust for dropped configure option. All features are
24056 now mandatory.
24057 * Makerules: Likewise.
24058 * Versions.def: Likewise.
24059 * argp/argp-fmtstream.c: Likewise.
24060 * argp/argp-fmtstream.h: Likewise.
24061 * argp/argp-help.c: Likewise.
24062 * assert/assert.c: Likewise.
24063 * config.h.in: Likewise.
24064 * config.make.in: Likewise.
24065 * configure: Likewise.
24066 * configure.in: Likewise.
24067 * csu/Versions: Likewise.
24068 * csu/init.c: Likewise.
24069 * elf/tst-audit2.c: Likewise.
24070 * elf/tst-tls10.c: Likewise.
24071 * elf/tst-tls10.h: Likewise.
24072 * elf/tst-tls11.c: Likewise.
24073 * elf/tst-tls12.c: Likewise.
24074 * elf/tst-tls14.c: Likewise.
24075 * elf/tst-tlsmod11.c: Likewise.
24076 * elf/tst-tlsmod12.c: Likewise.
24077 * elf/tst-tlsmod13.c: Likewise.
24078 * elf/tst-tlsmod13a.c: Likewise.
24079 * elf/tst-tlsmod14a.c: Likewise.
24080 * elf/tst-tlsmod15b.c: Likewise.
24081 * elf/tst-tlsmod16a.c: Likewise.
24082 * elf/tst-tlsmod16b.c: Likewise.
24083 * elf/tst-tlsmod7.c: Likewise.
24084 * elf/tst-tlsmod8.c: Likewise.
24085 * elf/tst-tlsmod9.c: Likewise.
24086 * gmon/gmon.c: Likewise.
24087 * grp/fgetgrent_r.c: Likewise.
24088 * grp/putgrent.c: Likewise.
24089 * hurd/fopenport.c: Likewise.
24090 * include/libc-symbols.h: Likewise.
24091 * include/tls.h: Likewise.
24092 * intl/gettextP.h: Likewise.
24093 * intl/loadinfo.h: Likewise.
24094 * locale/global-locale.c: Likewise.
24095 * locale/localeinfo.h: Likewise.
24096 * mach/devstream.c: Likewise.
24097 * malloc/arena.c: Likewise.
24098 * malloc/set-freeres.c: Likewise.
24099 * misc/err.c: Likewise.
24100 * misc/getttyent.c: Likewise.
24101 * misc/mntent_r.c: Likewise.
24102 * posix/getopt.c: Likewise.
24103 * posix/wordexp.c: Likewise.
24104 * pwd/fgetpwent_r.c: Likewise.
24105 * resolv/Versions: Likewise.
24106 * resolv/res_hconf.c: Likewise.
24107 * shadow/fgetspent_r.c: Likewise.
24108 * shadow/putspent.c: Likewise.
24109 * stdio-common/printf_fphex.c: Likewise.
24110 * stdio-common/tmpfile.c: Likewise.
24111 * stdlib/abort.c: Likewise.
24112 * stdlib/fmtmsg.c: Likewise.
24113 * sunrpc/auth_unix.c: Likewise.
24114 * sunrpc/clnt_perr.c: Likewise.
24115 * sunrpc/clnt_tcp.c: Likewise.
24116 * sunrpc/clnt_udp.c: Likewise.
24117 * sunrpc/clnt_unix.c: Likewise.
24118 * sunrpc/openchild.c: Likewise.
24119 * sunrpc/svc_simple.c: Likewise.
24120 * sunrpc/svc_tcp.c: Likewise.
24121 * sunrpc/svc_udp.c: Likewise.
24122 * sunrpc/svc_unix.c: Likewise.
24123 * sunrpc/xdr.c: Likewise.
24124 * sunrpc/xdr_array.c: Likewise.
24125 * sunrpc/xdr_rec.c: Likewise.
24126 * sunrpc/xdr_ref.c: Likewise.
24127 * sunrpc/xdr_stdio.c: Likewise.
24128
1248c1c4
PB
241292011-09-09 Ulrich Drepper <drepper@gmail.com>
24130
24131 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24132
241332011-07-03 Andreas Jaeger <aj@suse.de>
24134
24135 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24136 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24137 regenerate with gen-libm-tests.pl.
24138
241392010-05-12 Petr Baudis <pasky@suse.cz>
24140
24141 [BZ #11589]
24142 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24143 around j0() zero points by switching to j1().
24144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24148
f22e1074
UD
241492011-09-09 Ulrich Drepper <drepper@gmail.com>
24150
f19009c1
UD
24151 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24152 instead of 0.
24153 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24154 instead of 0.
f19009c1
UD
24155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24156 Patch in part by Pavel Roskin <proski@gnu.org>.
24157
3f8cc204
UD
24158 [BZ #13138]
24159 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24160 realloc.
24161 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24162 Free memory block if necessary.
24163
f22e1074
UD
24164 [BZ #12847]
24165 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24166 be NULL. Don't lock in this case.
24167
0a2349f9
RM
241682011-09-09 Roland McGrath <roland@hack.frob.com>
24169
24170 * elf/elf.h (ELFOSABI_GNU): New macro.
24171 (ELFOSABI_LINUX): Define to that.
24172
f3cdd467
DZ
241732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24174
24175 * string/strncat.c (strncat): Undef the symbol in case it has been
24176 defined in bits/string.h.
24177
74718d13
UD
241782011-09-09 Ulrich Drepper <drepper@gmail.com>
24179
633e9e0f
UD
24180 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24181
0a2349f9 24182 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24183 link map.
24184
f9924780
AJ
241852011-08-17 Andreas Jaeger <aj@suse.de>
24186
24187 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24188
7f5517aa
PP
241892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24190 Ian Lance Taylor <iant@google.com>
24191
24192 * math/libm-test.inc (lround_test): New testcase.
24193 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24194
762011fe
UD
241952011-09-08 Ulrich Drepper <drepper@gmail.com>
24196
92963737
UD
24197 * Makefile: Remove support for automatic cvs check-ins.
24198 * Makerules: Likewise.
24199 * config.make.in: Likewise.
24200 * configure.in: Likewise.
24201 * intl/Makefile: Likewise.
24202 * locale/Makefile: Likewise.
24203 * po/Makefile: Likewise.
24204 * posix/Makefile: Likewise.
24205 * sysdeps/gnu/Makefile: Likewise.
24206 * sysdeps/mach/hurd/Makefile: Likewise.
24207 * sysdeps/sparc/sparc32/Makefile: Likewise.
24208
b0727fd8
JS
24209 [BZ #13118]
24210 * posix/Makefile (bug-regex32-ENV): Define.
24211 Patch by John Stanley <jpsinthemix@verizon.net>.
24212
a0f33f99
UD
24213 * misc/Makefile (headers): Add bits/select2.h.
24214 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24215 * misc/bits/select2.h: New file.
24216 * include/bits/select2.h: New file.
24217 * debug/Makefile (routines): Add fdelt_chk.
24218 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24219 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24220 FD_ISSET.
24221 * debug/fdelt_chk.c: New file.
24222
762011fe
UD
24223 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24224 * wcsmbs/test-wmemcmp.c: Likewise.
24225 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24226 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24227
242282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24229
24230 * string/Makefile (strop-tests): Add memcmp.
24231 * string/test-wmemcmp.c: New file.
24232 * string/test-memcmp.c: Add wmemcmp support.
24233
7f513ec8
RM
242342011-09-08 Roland McGrath <roland@hack.frob.com>
24235
0442afb4
RM
24236 [BZ #13153]
24237 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24238 2011-07-19 change.
24239
7f513ec8
RM
24240 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24241 garbage value in a __mach_port_mod_refs call in the cases of the
24242 task-self and thread-self ports.
24243
a12b2239
ST
242442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24245
24246 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24247
610f9ab4
AS
242482011-09-08 Andreas Schwab <schwab@redhat.com>
24249
7f513ec8 24250 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24251
48882a1a
LD
242522011-09-07 Ulrich Drepper <drepper@gmail.com>
24253
b49865be
UD
24254 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24255
fdc86bc9
UD
24256 * elf/dl-libc.c (dlerror_run): Pass back error code from
24257 dl_catch_error.
24258
c966526a
UD
24259 [BZ #13123]
24260 * elf/dl-load.c (lose): Free l_origin if it is valid.
24261
48882a1a
LD
24262 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24263 names.
24264 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24268 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24269 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24270
77a2a8b4
AZ
242712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24272
24273 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24274 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24275 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24276 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24277 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24278 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24279 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24280 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24281 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24282 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24283
24f579d8
AM
242842011-08-15 Alan Modra <amodra@gmail.com>
24285
24286 [BZ #13092]
24287 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24288 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24289 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24290 ppc_mcount to static-only-routines.
24291 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24292 __mcount_internal.
24293 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24294 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24295
3d4837df
UD
242962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24297
24298 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24299 for finite and infinity parameters.
24300
22700377
WS
243012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24302
24303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24304 and add nop instructions for throughput optimization.
24305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24306
5025581e
WS
243072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24308
24309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24310 aligned copy for power7 with vector-scalar instructions.
24311 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24312
08a300c9
L
243132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24316 AVX check.
24317
59178ef9
AS
243182011-09-07 Andreas Schwab <schwab@redhat.com>
24319
24320 [BZ #13144]
24321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24322 last change.
24323
e38ba7ab
UD
243242011-09-07 Ulrich Drepper <drepper@gmail.com>
24325
24326 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24327 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24328 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24329 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24330 clock_gettime.
24331
d53a73ac
UD
243322011-09-06 Ulrich Drepper <drepper@gmail.com>
24333
fc8bffcc
UD
24334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24335 Forgot to demangle the pointer.
24336
ceaa0c5d
UD
24337 * sysdeps/i386/sysdep.h: Define atom_text_section.
24338 * sysdeps/x86_64/sysdep.h: Likewise.
24339 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24340 section with atom_text_section.
24341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24343 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24345 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24346
a77d3c17
UD
24347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24348 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24349 already be defined. Change to take two parameters and don't assign
24350 result to variable. Adjust all users.
24351 Define INTERNAL_GETTIME if not already defined.
24352 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24353 call.
24354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24355 HAVE_CLOCK_GETTIME_VSYSCALL.
24356 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24357
d53a73ac
UD
24358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24359 gettimeofday vsyscall, just use time.
24360
a8f84144
AS
243612011-09-06 Andreas Schwab <schwab@redhat.com>
24362
24363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24364 <errno.h>.
24365
ef606249
UD
243662011-09-06 Ulrich Drepper <drepper@gmail.com>
24367
24368 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24369 syscall on x86-64.
24370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24371 syscall.
24372 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24374 syscall if possible.
24375
6585cb60
UD
243762011-09-05 Ulrich Drepper <drepper@gmail.com>
24377
24378 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24379 e_ident. Don't pass to find_mapsXX.
24380 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24381
a5f524e4
LD
243822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24383
24384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24385 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24386 * sysdeps/x86_64/multiarch/strchr.S: Update.
24387 Check bit_slow_BSF bit.
24388 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24389 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24390 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24391
554881ef
UD
243922011-09-05 Ulrich Drepper <drepper@gmail.com>
24393
d96de963
UD
24394 [BZ #13134]
24395 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24396 before glibc 2.15.
24397 (tryshell): Define.
24398 (__spawni): Change last parameter to be flag. Test
24399 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24400 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24401 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24402 * posix/spawni.c: Likewise.
24403 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24404 * posix/spawnp.c: Likewise. Change normal version to use
24405 SPAWN_XFLAGS_USE_PATH.
24406 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24407 SPAWN_XFLAGS_TRY_SHELL.
24408
d48e5868
UD
24409 [BZ #13150]
24410 * posix/glob.h: Remove gcc 1.x support.
24411
554881ef
UD
24412 [BZ #13068]
24413 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24414
693fb948
LD
244152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24416
24417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24418 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24419 strrchr-sse2-bsf
24420 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24421 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24423 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24424 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24426
1b48c537
UD
244272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24428
49d42c37
UD
24429 * sysdeps/x86_64/wcscmp.S: New file.
24430
1b48c537
UD
24431 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24432 wcscmp-c wcscmp-sse2
24433 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24434 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24435 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24436 * wcsmbs/wcscmp.c: Allow renaming.
24437
15c95c5d
DM
244382011-09-05 David S. Miller <davem@davemloft.net>
24439
24440 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24441 stack slot, rather than the struct return pointer slot.
24442 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24443 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24445 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24446
2f0ad8f3
UD
244472011-09-05 Ulrich Drepper <drepper@gmail.com>
24448
d88ae418
UD
24449 * po/ja.po: Update from translation team.
24450
2f0ad8f3
UD
24451 [BZ #13144]
24452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24453 kernel in 64-bit binaries.
24454
5f4318d1
DM
244552011-09-01 David S. Miller <davem@davemloft.net>
24456
24457 * elf/elf.h (HWCAP_SPARC_*): Move to..
24458 * sysdeps/sparc/sysdep.h: this new file and add new values.
24459 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24460 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24461 _DL_HWCAP_COUNT to 24.
24462 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24463 entries.
24464 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24465 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24466 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24468 instead of magic constants.
24469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24470
3ba57516
DM
244712011-08-31 David S. Miller <davem@davemloft.net>
24472
24473 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24475 Reimplement to do errno handling inline.
24476 (SYSCALL_ERROR_HANDLER): New macro.
24477 (__SYSCALL_STRING): Do not do errno handling in asm.
24478 (__CLONE_SYSCALL_STRING): Delete.
24479 (__INTERNAL_SYSCALL_STRING): Delete.
24480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24481 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24482 (PSEUDO): Reimplement to do errno handling inline.
24483 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24484 (SYSCALL_ERROR_HANDLER): New macro.
24485 (__SYSCALL_STRING): Do not do errno handling in asm.
24486 (__CLONE_SYSCALL_STRING): Delete.
24487 (__INTERNAL_SYSCALL_STRING): Delete.
24488 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24489 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24490 i386.
24491 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24492 (inline_syscall*): Add 'err' argument.
24493 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24494 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24495 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24496 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24497
24498 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24499 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24500
2bc17433
AS
245012011-08-30 Andreas Schwab <schwab@redhat.com>
24502
24503 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24504
fbeb5f4d
JO
245052011-08-29 Jiri Olsa <jolsa@redhat.com>
24506
24507 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24508 directive.
24509
ad69cc26
DM
245102011-08-24 David S. Miller <davem@davemloft.net>
24511
24512 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24513
39dd69df
AS
245142011-08-24 Andreas Schwab <schwab@redhat.com>
24515
24516 * elf/Makefile: Add rules to build and run unload8 test.
24517 * elf/unload8.c: New file.
24518 * elf/unload8mod1.c: New file.
24519 * elf/unload8mod1x.c: New file.
24520 * elf/unload8mod2.c: New file.
24521 * elf/unload8mod3.c: New file.
24522
24523 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24524 it wasn't used.
24525
2c0b250a
DM
245262011-08-23 David S. Miller <davem@davemloft.net>
24527
24528 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24529 subtract stack bias.
24530 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24531 %sp not %fp in calculations.
24532 (_JMPBUF_UNWINDS_ADJ): Likewise.
24533
22044b48
DM
24534 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24535 (aio_suspend): Call it to force an exception region around the
24536 AIO_MISC_WAIT() invocation.
24537
2cae4995
AS
245382011-08-23 Andreas Schwab <schwab@redhat.com>
24539
24540 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24541 backslash.
24542
873a772e
AJ
245432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24544
24545 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24546 protection macro.
24547 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24548 and <dl-machine.h>.
24549 (Elf64_FuncDesc): Remove.
24550
25ad0df1
DM
245512011-08-22 David S. Miller <davem@davemloft.net>
24552
24553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24554 sigaltstack check, add missing cfi directives.
24555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24556 missing cfi directives, and sigaltstack handling.
24557
e888bcbe
AS
245582011-08-16 Andreas Schwab <schwab@redhat.com>
24559
24560 [BZ #11724]
24561 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24562 object is seen twice.
24563 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24564
24565 * elf/Makefile (distribute): Add tst-initorder2.c.
24566 (tests): Add tst-initorder2.
24567 (modules-names): Add tst-initorder2a tst-initorder2b
24568 tst-initorder2c tst-initorder2d. Add rules to build them.
24569 ($(objpfx)tst-initorder2.out): New rule.
24570 * elf/tst-initorder2.c: New file.
24571 * elf/tst-initorder2.exp: New file.
24572
87162f46
AS
245732011-08-22 Andreas Schwab <schwab@redhat.com>
24574
70538b7f
AS
24575 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24576
f55ffe58
AS
24577 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24578 dependencies back to end of function.
24579
87162f46
AS
24580 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24581 $(elfobjdir)/ld.so.
24582
91b392a4
UD
245832011-08-21 Ulrich Drepper <drepper@gmail.com>
24584
24585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24586 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24588 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24589 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24590 of __vdso_gettimeofday.
24591 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24592 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24593 attribute_hidden.
24594 (_libc_vdso_platform_setup): Remove initialization of
24595 __vdso_gettimeofday and __vdso_time.
24596
5c43483f
UD
245972011-08-20 Ulrich Drepper <drepper@gmail.com>
24598
775a77e7
UD
24599 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24600 and fgetc_unlocked.
24601 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24602 getc_unlocked.
89f447ed 24603
49c74ba9
UD
24604 * elf/dl-open.c (add_to_global): Report additions to the global scope
24605 for LD_DEBUG=scopes.
24606 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24607 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24608
5c43483f
UD
24609 [BZ #13114]
24610 * stdio-common/Makefile (tests): Add bug24.
24611 * stdio-common/bug24.c: New file.
24612
a101b025
AJ
246132011-08-19 Andreas Jaeger <aj@suse.de>
24614
24615 [BZ #13114]
24616 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24617 non-existant file when using close-on-exec mode.
24618
c88f1766
UD
246192011-08-20 Ulrich Drepper <drepper@gmail.com>
24620
0276a718
UD
24621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24622 the very first instruction.
24623
c88f1766
UD
24624 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24625 the CFI state in the end.
24626 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24627 inclusion of dl-trampoline.h.
24628 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24629
51ccffa0
AS
246302011-08-19 Andreas Schwab <schwab@redhat.com>
24631
94d7165f
AS
24632 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24633 expectations for long double.
24634
51ccffa0
AS
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24636 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24637
fd708658 246382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24639
24640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24641 artificual limit depends upon the system page size.
24642
44f0a71e
UD
246432011-08-17 Ulrich Drepper <drepper@gmail.com>
24644
24645 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24646 * resolv/Makefile: Define CFLAGS-libresolv.
24647
8de79a24
AS
246482011-08-17 Andreas Schwab <schwab@redhat.com>
24649
24650 * nss/makedb.c (compute_tables): Make variables used in nested
24651 function static.
24652
27724598
UD
246532011-08-17 Ulrich Drepper <drepper@gmail.com>
24654
c5305d88
UD
24655 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24656 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24657 if buffer was too small.
24658
27724598
UD
24659 * elf/pldd.c (main): Attach to all threads in the process.
24660 Rewrite /proc handling to use *at functions.
24661
076fe015
UD
246622011-08-16 Ulrich Drepper <drepper@gmail.com>
24663
174baab3
UD
24664 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24665 specifies first scope to show.
24666 (dl_open_worker): Update callers. Move printing scope of new
24667 object to before the relocation.
44f0a71e 24668 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24669 * sysdeps/generic/ldsodefs.h: Update declaration.
24670
076fe015
UD
24671 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24672 string for the scope number.
24673
a60df2c3
UD
246742011-08-14 Ulrich Drepper <drepper@gmail.com>
24675
24676 * nscd/servicescache.c (cache_addserv): Make sure written is always
24677 initialized.
24678
5e4287d1
RM
246792011-08-14 Roland McGrath <roland@hack.frob.com>
24680
85ae0589
RM
24681 * sysdeps/i386/i486/bits/atomic.h
24682 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24683 statement expression, so as to suppress "set but not used" warning.
24684 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24685
69f63097
RM
24686 * string/strncat.c (STRNCAT): Use prototype definition.
24687
675456ef
RM
24688 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24689 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24690 -Iprograms here.
24691 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24692 (localedef-modules): Add localedef.
24693 (locale-modules): Add locale.
24694
5e4287d1
RM
24695 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24696 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24697 to avoid a warning.
24698
9c96ff23
DM
246992011-08-14 David S. Miller <davem@davemloft.net>
24700
24701 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24702 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24703
f9ddf089
UD
247042011-08-13 Ulrich Drepper <drepper@gmail.com>
24705
44f0a71e 24706 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24707 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24708 * elf/rtld.c (dl_main): Set l_name of vDSO.
24709 Call _dl_show_scope when DL_DEBUG_SCOPES.
24710 (process_dl_debug): Recognize scopes flag and also set it for all.
24711 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24712 Declare _dl_show_scope.
24713
1dc27704
UD
24714 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24715 (do_dlopen): Pass caller_dlopen to dl_open.
24716 (__libc_dlopen_mode): Initialize caller_dlopen.
24717
f9ddf089
UD
24718 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24719 of libc. Make tolower call locale-independent. Optimize a bit by
24720 using isdigit instead of isalnum.
24721 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24722
9ac533d3
UD
247232011-08-12 Ulrich Drepper <drepper@gmail.com>
24724
24725 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24726 was a dependency or dynamically loaded.
24727
89edf2e9
UD
247282011-08-11 Ulrich Drepper <drepper@gmail.com>
24729
8e999d29
UD
24730 * intl/l10nflist.c: Allow architecture-specific pop function.
24731 * sysdeps/x86_64/l10nflist.c: New file.
24732
89edf2e9
UD
24733 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24734 classification.
24735
14d96785
AS
247362011-08-10 Andreas Schwab <schwab@redhat.com>
24737
24738 * include/dirent.h: Add libc_hidden_proto for scandirat and
24739 scandirat64. Don't declare __scandirat64.
24740 * dirent/scandirat.c: Add libc_hidden_def.
24741 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24742 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24743
6761ac04
DM
247442011-08-10 David S. Miller <davem@davemloft.net>
24745
24746 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24747 enum.
24748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24751
c55fbd1e
UD
247522011-08-09 Ulrich Drepper <drepper@gmail.com>
24753
24754 * Versions.def [libc]: Add GLIBC_2.15.
24755 * dirent/Makefile (routines): Add scandirat and scandirat64.
24756 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24757 GLIBC_2.15.
24758 * dirent/dirent.h: Declare scandirat and scandirat64.
24759 * dirent/scandirat.c: New file.
24760 * dirent/scandirat64.c: New file.
24761 * sysdeps/wordsize-64/scandirat.c: New file.
24762 * sysdeps/wordsize-64/scandirat64.c: New file.
24763 * dirent/opendir.c: Define opendirat.
24764 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24765 using scandirat.
24766 * dirent/scandir64.c: Adjust for scandir.c change.
24767 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24768 __scandirat64, and __scandir_cancel_handler.
24769 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24770 additional parameter and use openat instead of open (outside of ld.so).
24771 Add new __opendir as wrapper around __opendirat.
24772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24773 here without requiring old scandirat implementation.
24774
879165f2
UD
247752011-08-08 Ulrich Drepper <drepper@gmail.com>
24776
24777 * dirent/scandir.c (cancel_handler): Renamed to
24778 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24779 defined. Adjust users.
24780 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24781 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24782
cb7e923b
UD
247832011-08-04 Ulrich Drepper <drepper@gmail.com>
24784
16292edd
UD
24785 * string/test-string.h (IMPL): Use __STRING to expand name and then
24786 stringify it.
24787
cb7e923b
UD
24788 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24789 of cleanups.
24790
cff82933
LD
247912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24792
24793 * string/Makefile: Update.
24794 (strop-tests): Append strncat.
24795 * string/test-wcscmp.c: New file.
24796 New comprehensive test for wcscmp.
24797 * string/test-strcmp.c: Update.
24798 (WIDE): New define.
24799
9be9bfcc
AS
248002011-07-22 Andreas Schwab <schwab@redhat.com>
24801
24802 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24803 line.
24804
2e96f1c7
AS
248052011-07-26 Andreas Schwab <schwab@redhat.com>
24806
24807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24808 encoding to ACE if AI_IDN.
24809
85188888
JJ
248102011-08-01 Jakub Jelinek <jakub@redhat.com>
24811
24812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24813 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24814
5fa16e9b
LD
248152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24816
24817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24818 Fix overflow bug in strncat.
24819 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24820
24821 * string/test-strncat.c: Update.
24822 Add new tests for checking overflow bugs.
24823
248242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24825
24826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24827 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24828 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24829 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24831 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24832 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24833 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24834 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24835
24836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24837 (USE_AS_STRCAT): Define.
24838 Add strcat and strncat support.
24839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24840
8c1a459f
AS
248412011-07-25 Andreas Schwab <schwab@redhat.com>
24842
24843 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24844 __n bigger than INT_MAX+1.
24845 (__strncmp_g): Likewise.
24846
bba33c28
UD
248472011-07-23 Ulrich Drepper <drepper@gmail.com>
24848
798be72d
UD
24849 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24850 * libio/stido.h: Likewise.
24851
8accd4dc
UD
24852 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24853 (AF_NFC): Define.
24854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24855 (AF_NFC): Define.
24856
cbff0d96
UD
24857 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24862
9191c04a
UD
24863 [BZ #13021]
24864 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24865 installed.
24866
bba33c28
UD
24867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24868 typo.
24869 (_dl_x86_64_save_sse): Likewise.
24870
90f139dd
UD
248712011-07-22 Ulrich Drepper <drepper@gmail.com>
24872
1aae088a
UD
24873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24874 OSXSAVE.
24875 (_dl_x86_64_save_sse): Likewise.
24876
8e2045f5
UD
24877 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24878
90f139dd
UD
24879 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24880
1d002f25
AS
248812011-07-21 Andreas Schwab <schwab@redhat.com>
24882
24883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24884 change.
24885 (_dl_x86_64_save_sse): Use correct AVX check.
24886
21137f89
UD
248872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24888
24889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24890 bug in strncpy/strncat.
24891 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24892
a65c0b7a
UD
248932011-07-21 Ulrich Drepper <drepper@gmail.com>
24894
24895 * string/tester.c (test_strcat): Add tests for different alignments
24896 of source and destination.
24897 (test_strncat): Likewise.
24898
6986b98a
UD
248992011-07-20 Ulrich Drepper <drepper@gmail.com>
24900
90bb2039
UD
24901 [BZ #12852]
24902 * posix/glob.c (glob): Check passed in values before using them in
24903 expressions to avoid some overflows.
24904 (glob_in_dir): Likewise.
24905
5644ef54
UD
24906 [BZ #13007]
24907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24908 check for AVX enablement so that we don't crash with old kernels and
24909 new hardware.
24910 * elf/tst-audit4.c: Add same checks here.
24911 * elf/tst-audit6.c: Likewise.
24912
24913 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24914
bfc9dc9b
AS
249152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24916
24917 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24918
702e64bb
UD
249192011-07-20 Ulrich Drepper <drepper@gmail.com>
24920
24921 * po/cs.po: Update from translation team.
24922 * po/bg.po: Likewise.
24923
295e904f
MP
249242011-07-12 Marek Polacek <mpolacek@redhat.com>
24925
24926 * misc/sys/cdefs.h: Add support for const attribute.
24927 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24928 to gnu_dev_{major,minor,makedev} functions.
24929
3ff94596
MP
249302011-07-20 Marek Polacek <mpolacek@redhat.com>
24931
24932 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24933
28b59fca
AS
249342011-07-20 Andreas Schwab <schwab@redhat.com>
24935
24936 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24937 strlen results.
24938
19df733e
AK
249392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24940
24941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24942 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24943 register in order to avoid conflicts with the soft frame pointer
24944 being held in r11 when necessary.
24945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24946 (INTERNAL_VSYSCALL_NCS): Likewise.
24947
c8835729
MP
249482011-07-14 Marek Polacek <mpolacek@redhat.com>
24949
24950 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24951 * elf/dl-fini.c (_dl_fini): Adjust caller.
24952 * elf/dl-close.c (_dl_close_worker): Likewise.
24953 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24954
b902330c
MP
249552011-07-15 Marek Polacek <mpolacek@redhat.com>
24956
8991e135
MP
24957 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24958 "aux_cache->nlibs < 0".
24959
b902330c
MP
24960 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24961 in the reload-count case.
24962
99710781
LD
249632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24964
24965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24966 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24967 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24968 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24969 * sysdeps/x86_64/multiarch/strcat.S: New file.
24970 * sysdeps/x86_64/multiarch/strncat.S: New file.
24971 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24972 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24973 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24974 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24976 (USE_AS_STRCAT): Define.
24977 Add strcat and strncat support.
24978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24980 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24981 * string/strncat.c: Update.
24982 (USE_AS_STRNCAT): Define.
24983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24984 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24985 and i7.
24986 * sysdeps/x86_64/multiarch/init-arch.h
24987 (bit_Prefer_PMINUB_for_stringop): New.
24988 (index_Prefer_PMINUB_for_stringop): Likewise.
24989 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24990 bit_Prefer_PMINUB_for_stringop.
24991
7dc6bd90
UD
249922011-07-19 Ulrich Drepper <drepper@gmail.com>
24993
24994 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24995 buffer64.
24996 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24997 of casting of buffer.
24998 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24999 buffer32 and buffer64.
25000 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25001 writes instead of casting of buffer.
25002 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25003 buffer32.
25004 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25005 casting of buffer.
25006
e0e72284
AS
250072011-07-19 Andreas Schwab <schwab@redhat.com>
25008
25009 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25010
feb1eb0b
UD
250112011-07-19 Ulrich Drepper <drepper@gmail.com>
25012
25013 * nscd/nscd.c (termination_handler): Don't do anything for a database
25014 if it has not yet been initialized.
25015
298711ff
UD
250162011-07-18 Ulrich Drepper <drepper@gmail.com>
25017
25018 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25019
250202011-07-15 Marek Polacek <mpolacek@redhat.com>
25021
25022 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25023
f9d68389
UD
250242011-07-18 Ulrich Drepper <drepper@gmail.com>
25025
25026 * po/nl.po: Update from translation team.
25027 * po/sv.po: Likewise.
25028
db290cf5
RM
250292011-07-16 Roland McGrath <roland@hack.frob.com>
25030
25031 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25032 now disallowed by GCC.
5c550700 25033
fd5e21c7
RM
25034 * configure.in (use-default-link): Default to yes if a test -shared
25035 link meets our qualifications.
25036 * configure: Regenerated.
25037
5c550700
RM
25038 * config.make.in (output-format): New variable.
25039 * configure.in: Check for ld --print-output-format support.
25040 * configure: Regenerated.
25041 * Makerules ($(common-objpfx)format.lds)
25042 [$(output-format) != unknown]: Just use $(output-format),
25043 instead of the linker-script munging.
25044
9fa2c032
RM
250452011-07-14 Roland McGrath <roland@hack.frob.com>
25046
a6928d51
RM
25047 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25048 of $(common-objpfx)shlib.lds.
25049 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25050
661607b3
RM
25051 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25052 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25053
9fa2c032
RM
25054 * configure.in (-z relro check): Adjust test code to add a large
25055 writable data section after it.
25056 * configure: Regenerated.
25057
defe9061
RM
250582011-07-11 Roland McGrath <roland@hack.frob.com>
25059
25060 * configure.in (-z relro check): Fix test code to make the variable
25061 truly const.
25062 * configure: Regenerated.
25063
319b9ad4
UD
250642011-07-11 Ulrich Drepper <drepper@gmail.com>
25065
25066 * nscd/nscd.h (struct traced_file): Define.
25067 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25068 elements. Add traced_files.
25069 (inotify_fd): Declare.
25070 (register_traced_file): Declare.
25071 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25072 (inotify_fd): Export.
25073 (resolv_conf_descr): Remove.
25074 (nscd_init): Move inotify descriptor creation to main.
25075 Don't register files for notification here.
25076 (register_traced_file): New function.
25077 (invalidate_cache): Don't use reset_res to determine whether to call
25078 res_init, go through the list of registered files.
25079 (main_loop_poll): The inotify descriptors are now stored in the
25080 structures for the traced files.
25081 (main_loop_epoll): Likewise
25082 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25083 to __nss_disable_nscd.
25084 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25085 for a database anymore. Check the records for all the registered
25086 files instead.
25087 * nss/Makefile (libnss_files-routines): Add files-init.
25088 (libnss_db-routines): Add db-init.
25089 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25090 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25091 * nss/nss_db/db-init.c: New file.
25092 * nss/nss_files/files-init.c: New file.
25093 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25094 __nss_lookup_function.
25095 (__nss_lookup_function): Call nss_load_library.
25096 (nss_load_all_libraries): New function.
25097 (__nss_disable_nscd): Take parameter with callback function for files
25098 to register. Set is_nscd. Load all the DSOs for the NSS modules
25099 used for the cached services.
25100 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25102 options for features to all the files in nscd.
25103
25104 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25105
23bee3e8
RM
251062011-07-10 Roland McGrath <roland@hack.frob.com>
25107
25108 * csu/elf-init.c (__libc_csu_init): Comment typo.
25109
46a5b7f0
UD
251102011-07-09 Ulrich Drepper <drepper@gmail.com>
25111
25112 * po/pl.po: Update from translation team.
25113 * po/ja.po: Likewise.
25114 * po/ru.po: Likewise.
25115 * po/ko.po: Likewise.
25116 * po/fr.po: Likewise.
25117
d30cf5bb
RM
251182011-07-09 Roland McGrath <roland@hack.frob.com>
25119
113ddea4
RM
25120 * configure.in (.ctors/.dtors header and trailer check):
25121 Use an empirical test on a built program.
25122 * configure: Regenerated.
25123
574920b4
RM
25124 * configure.in (-z relro check): Use an empirical test on a built DSO.
25125 Detect, but do not require, on ia64.
25126 * configure: Regenerated.
25127
d30cf5bb
RM
25128 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25129 Update tests that use readelf to use $READELF instead.
25130 * configure: Regenerated.
25131
8538fdb3
UD
251322011-07-08 Ulrich Drepper <drepper@gmail.com>
25133
25134 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25135 if the result is not used.
25136
04d08991
AJ
251372011-07-05 Andreas Jaeger <aj@suse.de>
25138
25139 [BZ#9696]
25140 * stdlib/tst-strtod.c: Add testcase.
25141
de283087
AD
251422011-07-07 Ulrich Drepper <drepper@gmail.com>
25143
4e5f31c8 25144 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25145 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25146 The latter has a higher limit. Take additional parameter to pass to
25147 the new function.
25148 (__pathconf): Pass file to __statfs_link_max.
25149 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25150 __statfs_link_max.
25151 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25152 __statfs_link_max.
25153
de283087
AD
25154 [BZ #12868]
25155 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25157 Handle Lustre.
25158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25159 (__statfs_filesize_max): Likewise.
25160 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25161
c75fa153
AJ
251622011-07-05 Andreas Jaeger <aj@suse.de>
25163
25164 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25165
1a544854
UD
251662011-07-06 Marek Polacek <mpolacek@redhat.com>
25167
25168 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25169 `status' variable.
25170 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25171 Likewise.
25172
6f0eec67
UD
251732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25174
25175 * Makefile (strop-tests): Add strncat.
25176 * string/test-strncat.c: New file.
25177
aae30307
UD
251782011-06-30 Marek Polacek <mpolacek@redhat.com>
25179
25180 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25181
c0cfb5eb
UD
251822011-06-21 Andreas Jaeger <aj@suse.de>
25183
25184 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25185 Copy rule from iconvdata/Makefile.
25186
01636b21
UD
251872011-07-06 Ulrich Drepper <drepper@gmail.com>
25188
25189 [BZ #12922]
25190 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25191 but no long options are defined, just return 'W'.
25192
9895c8bc
UD
251932011-06-22 Marek Polacek <mpolacek@redhat.com>
25194
25195 [BZ #9696]
25196 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25197
5d4cf042
UD
251982011-07-06 Ulrich Drepper <drepper@gmail.com>
25199
25200 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25201 netgroups to read.
960e5535 25202 (innetgr): Likewise.
5d4cf042 25203
751eb97e
RM
252042011-07-05 Roland McGrath <roland@hack.frob.com>
25205
25206 * config.make.in (install_root): Default to $(DESTDIR).
25207
f15f1e45
UD
252082011-07-05 Ulrich Drepper <drepper@gmail.com>
25209
25210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25211
4e34ac6a
RM
252122011-07-02 Roland McGrath <roland@hack.frob.com>
25213
5e9b6af4
RM
25214 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25215
84f9ea0f
RM
25216 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25217 containing directory rather than embedding absolute directory names.
25218
ea5ee9f7
RM
25219 * scripts/check-local-headers.sh: Rewritten using awk.
25220 Match by word, not by line. Print error messages for matches.
25221 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25222
1b74661a
RM
25223 * Makerules [shlib-lds-flags empty]:
25224 ($(common-objpfx)libc_pic.opts): New target.
25225 ($(common-objpfx)libc_pic.os.clean): New target.
25226 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25227
25228 * config.make.in (OBJCOPY): New variable.
25229 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25230 * configure: Regenerated.
25231
f781ef40
RM
25232 * config.make.in (use-default-link): New variable.
25233 * configure.in (use_default_link): Grok --with-default-link to set it.
25234 * configure: Regenerated.
25235 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25236 (shlib-lds, shlib-lds-flags): Define to empty.
25237
2d4fa81e
RM
25238 * Makerules (shlib-lds): New variable.
25239 (shlib-lds-flags): New variable.
25240 (build-shlib, build-moduile, build-module-asneeded): Use it.
25241 ($(common-objpfx)libc.so): Use $(shlib-lds).
25242 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25243 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25244
31fffa6b
RM
25245 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25246 DT_FLAGS/DT_FLAGS_1 with zero flags.
25247
4e34ac6a
RM
25248 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25249 linker script munging.
25250
fcfc776b
UD
252512011-07-02 Ulrich Drepper <drepper@gmail.com>
25252
25253 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25254 as 128-bit value.
25255 * crypt/sha512.c (sha512_process_block): Perform total addition using
25256 128-bit if possible.
25257 (__sha512_finish_ctx): Likewise.
25258 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25259 as 64-bit value.
25260 * crypt/sha256.c (SWAP64): Define.
25261 (sha256_process_block): Perform total addition using 64-bit if
25262 possible.
25263 (__sha256_finish_ctx): Likewise.
25264
99231d9a
UD
252652011-07-01 Ulrich Drepper <drepper@gmail.com>
25266
25267 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25269 * nscd/hstcache.c (cache_addhst): Likewise.
25270 * nscd/grpcache.c (cache_addgr): Likewise.
25271 * nscd/aicache.c (addhstaiX): Likewise
25272 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25273
445b4a53
TK
252742011-07-01 Thorsten Kukuk <kukuk@suse.de>
25275
25276 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25278 * nscd/hstcache.c (cache_addhst): Likewise.
25279 * nscd/grpcache.c (cache_addgr): Likewise.
25280 * nscd/aicache.c (addhstaiX): Likewise
25281
6d4d8e8e
AS
252822011-07-01 Andreas Schwab <schwab@redhat.com>
25283
25284 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25285 domain only when needed.
25286
89f654c5
AS
252872011-06-30 Andreas Schwab <schwab@redhat.com>
25288
25289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25290 is always restored.
25291
cf3b23ff
UD
252922011-06-29 Ulrich Drepper <drepper@gmail.com>
25293
25294 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25295 are re-adding the entry.
25296 * nscd/servicescache.c (cache_addserv): Likewise.
25297
751626f9
AJ
252982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25299
25300 * sysdeps/generic/dl-irel.h: fix protection against multiple
25301 inclusions.
25302 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25303
9113ea1f
UD
253042011-06-28 Ulrich Drepper <drepper@gmail.com>
25305
5c0b8d90
UD
25306 [BZ #12935]
25307 * malloc/memusage.sh: Fix quoting in message.
25308 * debug/xtrace.sh: Likewise.
25309
9113ea1f
UD
25310 * configure.in: Remove support for --experimental-malloc option, make
25311 it the default.
25312 * config.make.in: Likewise.
25313 * malloc/Makefile: Likewise.
25314
a4172181
AS
253152011-06-27 Andreas Schwab <schwab@redhat.com>
25316
25317 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25318 two-byte characters.
25319
78a7eee7
RM
253202011-06-27 Roland McGrath <roland@hack.frob.com>
25321
62bede13
RM
25322 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25323 AC_CACHE_CHECK invocation.
25324 * configure: Regenerated.
25325
78a7eee7
RM
25326 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25327
5ce33a62
UD
253282011-06-27 Ulrich Drepper <drepper@gmail.com>
25329
034807a9
UD
25330 [BZ #12350]
25331 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25332 bit from old_res_options.
25333
4902da17
UD
25334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25335
5ce33a62
UD
25336 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25337 value type for setfct.
25338
c2344f56
L
253392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25340
25341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25342 __gettimeofday instead of gettimeofday.
25343
68468076
UD
253442011-06-26 Ulrich Drepper <drepper@gmail.com>
25345
25346 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25347
acb0d739
L
253482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25349
25350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25351
25352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25353 info.
25354
8912479f
L
253552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25356
25357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25358 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25359 strcpy-sse2-unaligned strncpy-sse2-unaligned
25360 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25361 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25362 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25363 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25364 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25365 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25367 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25368 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25369 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25370 (STRCPY): Support SSE2 and SSSE3 versions.
25371
d5495a11
UD
253722011-06-24 Ulrich Drepper <drepper@gmail.com>
25373
25374 [BZ #12874]
25375 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25376 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25377 kernels which artificially limit size of requests.
25378
0b1cbaae
L
253792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25380
25381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25382 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25383 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25384 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25385 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25386 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25387 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25388 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25389 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25391 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25392 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25393 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25394 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25395 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25397 Enable unaligned load optimization for Intel Core i3, i5 and i7
25398 processors.
25399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25400 Define.
25401 (index_Fast_Unaligned_Load): Define.
25402 (HAS_FAST_UNALIGNED_LOAD): Define.
25403
07f494a0
MP
254042011-06-23 Marek Polacek <mpolacek@redhat.com>
25405
25406 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25407
fa3fc0fe
UD
254082011-06-22 Ulrich Drepper <drepper@gmail.com>
25409
25410 [BZ #12907]
25411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25412 until it is clear that the information is realy needed.
25413 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25414
e12df166
AS
254152011-06-22 Andreas Schwab <schwab@redhat.com>
25416
25417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25418
852eb34d
UD
254192011-06-22 Ulrich Drepper <drepper@gmail.com>
25420
84e2a551
UD
25421 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25422 /sys/devices/system/cpu/online if it is usable.
25423
852eb34d
UD
25424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25425 reading the information from the /proc filesystem to once a second.
25426
6e502e19
UD
254272011-06-21 Andreas Jaeger <aj@suse.de>
25428
25429 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25430 NULL after inclusion of kernel headers.
25431
75d39ff2
UD
254322011-06-21 Ulrich Drepper <drepper@gmail.com>
25433
51f9aa6a
UD
25434 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25435 calls to internal_setent.
25436
c0244a9d
UD
25437 [BZ #12885]
25438 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25439 addresses using gethostbyname4_r ignore IPv4 addresses.
25440
c5e3c2ae
UD
25441 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25442 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25443
75d39ff2
UD
25444 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25445
42675c6f
DM
254462011-06-20 David S. Miller <davem@davemloft.net>
25447
25448 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25449 inclusions.
25450 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25451
25452 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25453 (elf_irel): Use it.
25454 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25455 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25456 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25457 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25458 * sysdeps/x86_64/dl-irel.h: Likewise.
25459
25460 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25461 * elf/dl-sym.c: Likewise.
25462
57912a71
UD
254632011-06-15 Ulrich Drepper <drepper@gmail.com>
25464
25465 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25466 need to dereference resplen2.
25467
ee22793d
AS
254682011-06-14 Andreas Schwab <schwab@redhat.com>
25469
25470 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25471
a9e836b0
UD
254722011-06-15 Ulrich Drepper <drepper@gmail.com>
25473
77fb9117
UD
25474 * Makeconfig: Define vardbdir and inst_vardbdir.
25475 * nss/Makefile: Add rules to install db-Makefile.
25476
40c1b22c
UD
25477 * nss/nss_db/db-XXX.c: Cleanup.
25478
9f2da732
UD
25479 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25480 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25481 GLIBC_PRIVATE.
25482 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25483 * nss/makedb.c: Implement -g option to specify that value strings
25484 are generated and should not be added to table iterated over for
25485 get*ent calls.
25486 * nss/nss_db/db-initgroups.c: New file.
25487
82e9a1f7
UD
25488 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25489 interface.
25490
c41af17e
UD
25491 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25492 (internal_getgrouplist): Adjust to name change.
25493 Update use_initgroups_entry if this is not the first call.
25494 * nss/databases.def: Add initgroups entry.
25495
a9e836b0
UD
25496 * nss/makedb.c (compute_tables): Check result of multiple hash table
25497 sizes to minimize maximum chain length.
25498
2666d441
UD
254992011-06-14 Ulrich Drepper <drepper@gmail.com>
25500
25501 * Versions.def: Add entry for libnss_db.
25502 * shlib-versions: Likewise.
25503 * nss/Makefile: Add rules to build libnss_db.
25504 * nss/Versions: Add libnss_db information. Organize libnss_files
25505 entries better.
25506 * nss/db-Makefile: Add gshadow support. Change rules for the new
25507 makedb progra. Some minor improvements to generate smaller files.
25508 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25509 here from...
25510 * nss/makedb.c: ...here.
25511 Improve database format to be smaller and require less memory at
25512 runtime.
25513 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25514 db anymore.
25515 * nss/nss_db/db-netgrp.c: Likewise.
25516 * nss/nss_db/db-open.c: Likewise.
25517 * nss/nss_files/flies-XXX.x: Adjust comments.
25518 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25519 * nss/nss_files/files-grp.c: Likewise.
25520 * nss/nss_files/files-hosts.c: Likewise.
25521 * nss/nss_files/files-network.c: Likewise.
25522 * nss/nss_files/files-proto.c: Likewise.
25523 * nss/nss_files/files-pwd.c: Likewise.
25524 * nss/nss_files/files-rpc.c: Likewise.
25525 * nss/nss_files/files-service.c: Likewise.
25526 * nss/nss_files/files-sgrp.c: Likewise.
25527 * nss/nss_files/files-spwd.c: Likewise.
25528 * nss/nss_db/db-alias.c: Removed.
25529 * nss/nss_db/dummy-db.h: Removed.
25530
9ee76b5a
UD
255312011-06-02 Ulrich Drepper <drepper@gmail.com>
25532
25533 * nss/makedb.c: Rewritten to not use database library.
25534 * nss/Makefile: Update to build new makedb program.
25535
c71ca1f8
AJ
255362011-06-14 Andreas Jaeger <aj@suse.de>
25537
25538 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25539 memset declaration.
25540
3154bfb8
UD
255412011-06-10 Andreas Schwab <schwab@redhat.com>
25542
25543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25544 tmpbuf.
25545
b350afab
RM
255462011-06-10 Roland McGrath <roland@hack.frob.com>
25547
decd4e50
RM
25548 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25549 * elf/Makefile ($(objpfx)ld.so): Likewise.
25550
5615eaf2
RM
25551 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25552 Don't list ld.so twice in dependencies.
25553
25554 * posix/bug-regex31.c: Include <stdlib.h>.
25555
25556 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25557
25558 * nis/nss_compat/compat-spwd.c
25559 (getspent_next_nss_netgr): Remove unused variable.
25560 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25561
25562 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25563 nonmembers" output to use the right array.
25564
25565 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25566
25567 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25568
25569 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25570 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25571 * catgets/gencat.c (read_input_file): Likewise.
25572 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25573
25574 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25575 variable definition inside #if's controlling its use.
25576
25577 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25578
25579 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25580
25581 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25582
25583 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25584 unreachable code.
25585
25586 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25587
b68e08db
RM
25588 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25589 * configure: Regenerated.
25590
b350afab
RM
25591 * Makerules: Revert last change.
25592 * elf/Makefile: Likewise.
25593
28368601
RM
255942011-06-09 Roland McGrath <roland@hack.frob.com>
25595
25596 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25597 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25598 (reloc-link): Likewise.
25599
11988f8f
UD
256002011-06-09 Ulrich Drepper <drepper@gmail.com>
25601
25602 * elf/Makefile: Add rules to build pldd.
25603 * elf/pldd.c: New file.
25604 * elf/pldd-xx.c: New file.
25605
e80fab37
UD
256062011-06-07 Ulrich Drepper <drepper@gmail.com>
25607
25608 * version.h: Update for 2.15 development version.
25609
9b849836
DM
256102011-06-07 David S. Miller <davem@davemloft.net>
25611
25612 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25613 ifuncs.
25614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25615 elf_machine_lazy_rel): Likewise.
25616 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25618 elf_machine_lazy_rel): Likewise.
25619 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25620 dl_hwcap via passed in argument.
25621 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25622 Likewise.
25623
5a31b283
AK
256242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25625
25626 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25627
069e52f8
RM
256282011-06-06 Roland McGrath <roland@hack.frob.com>
25629
25630 [BZ #12849]
25631 * manual/fdl-1.1.texi: New file, verbatim from:
25632 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25633 * manual/lgpl-2.1.texi: New file, verbatim from:
25634 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25635 * manual/Makefile (licenses): New variable, list those new file names.
25636 (texis): Use it.
25637 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25638
25639 * manual/fdl.texi: File removed.
25640 * manual/lesser.texi: File removed.
25641 * manual/libc.texinfo (Copying, Documentation License):
25642 Use new @include file names, put @appendix directive before @include.
25643
f16846a5
JJ
256442011-06-04 Jakub Jelinek <jakub@redhat.com>
25645
25646 [BZ #12841]
25647 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25648 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25649 (mq_open): Add __NTH.
25650
3d29045b
L
256512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25654 Assume Intel Core i3/i5/i7 processor if AVX is available.
25655
8c297311
UD
256562011-05-31 Ulrich Drepper <drepper@gmail.com>
25657
25658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25659 typo.
25660
c8fc0c91
UD
256612011-05-31 Andreas Schwab <schwab@redhat.com>
25662
25663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25664 memory. Use alloca_account. Fix memory leak when retrying.
25665
5b27a807
UD
256662011-05-31 Ulrich Drepper <drepper@gmail.com>
25667
356f8bc6
UD
25668 * version.h (RELEASE): Bump for 2.14 release.
25669 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25670
5b27a807
UD
25671 * config.make.in (RANLIB): Remove entry.
25672
01f16ab0
UD
256732011-05-30 Ulrich Drepper <drepper@gmail.com>
25674
41fce8bd
UD
25675 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25676 (libc.pot): Work around missing support for .ksh extension in xgettext.
25677
4769ae77
UD
25678 [BZ #12684]
25679 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25680 if both request failed.
25681 (send_dg): In case of server errors clear resplen or *resplen2.
25682
6b1e7d19
UD
25683 [BZ #12454]
25684 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25685 when there are multiple maps.
25686 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25687 (_dl_fini): Remove test here.
25688
01f16ab0
UD
25689 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25690
b1ebd700
UD
256912011-05-29 Ulrich Drepper <drepper@gmail.com>
25692
7ae22829
UD
25693 [BZ #12350]
25694 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25695 bit from old_res_options.
25696 (gaih_inet): Likewise.
25697
553149f6 25698 [BZ #11099]
18a84741 25699 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25700 as signed.
25701
652ffab1
UD
25702 * resolv/res_init.c (res_setoptions): Make the code more compact.
25703
16985fd0
UD
25704 [BZ #11558]
25705 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25706 set RES_USEVC.
25707
0464f746
UD
25708 [BZ #11634]
25709 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25710
7d17596c
UD
25711 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25712
cf6bbbd7
UD
25713 [BZ #11781]
25714 * malloc/malloc.h: Declare malloc hook variables as volatile.
25715
13f1ab36
UD
25716 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25717 in last patch.
25718
b1ebd700
UD
25719 [BZ #11799]
25720 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25721 raise in the comment.
80e2212d
UD
25722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25724 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25725
ce67228d
UD
257262011-05-28 Ulrich Drepper <drepper@gmail.com>
25727
8887a920
UD
25728 [BZ #12811]
25729 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25730 grow the buffers more if it already has to be sufficient.
25731 (build_wcs_upper_buffer): Likewise.
25732 * posix/regexec.c (check_matching): Likewise.
25733 (clean_state_log_if_needed): Likewise.
25734 (extend_buffers): Don't enlarge buffers beyond size of the input
25735 buffer.
25736 Patches mostly by Emil Wojak <emil@wojak.eu>.
25737 * posix/bug-regex32.c: New file.
25738 * posix/Makefile (tests): Add bug-regex32.
25739
4f031072
UD
25740 * locale/findlocale.c (_nl_find_locale): Return right away if
25741 _nl_explode_name failed.
25742 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25743
d0478f0c
UD
25744 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25745
de81b246
UD
25746 * debug/xtrace.sh: Unify messages.
25747 * malloc/memusage.sh: Likewise.
25748
c738465a
UD
25749 [BZ #12813]
25750 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25751 time symbol from vDSO. Substitute with vsyscall if not available.
25752 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25753 __vdso_time.
25754
f1f929d7
UD
25755 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25756 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25758 Add sendmmsg and internal_sendmmsg.
25759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25760 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25761 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25762
ce67228d
UD
25763 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25764 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25766
e57420c6
UD
257672011-05-27 Ulrich Drepper <drepper@gmail.com>
25768
a8509ca5
UD
25769 [BZ #12813]
25770 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25771 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25772 available.
25773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25774 __vdso_getcpu.
25775
e57420c6
UD
25776 [BZ #12814]
25777 * iconvdata/Makefile (tests): Add bug-iconv9.
25778 * iconvdata/bug-iconv9.c: New file.
25779
4d07db15
AS
257802011-05-27 Andreas Schwab <schwab@redhat.com>
25781
25782 [BZ #12814]
25783 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25784
ea486f69
JJ
257852011-05-25 Jakub Jelinek <jakub@redhat.com>
25786
25787 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25788 (struct user_regs_struct): Change intcs field back to cs.
25789
6f038433
UD
257902011-05-25 Ulrich Drepper <drepper@gmail.com>
25791
25792 * po/ja.po: Update from translation team.
25793
67f86a25
UD
257942011-05-23 Ulrich Drepper <drepper@gmail.com>
25795
25796 [BZ #12795]
25797 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25798 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25799
def7fbd6
AS
258002011-05-20 Andreas Schwab <schwab@redhat.com>
25801
25802 * stdlib/longlong.h: Update from GCC.
25803
f50ef8f1
AS
258042011-05-23 Andreas Schwab <schwab@redhat.com>
25805
25806 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25807 parameter name.
25808 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25809 Add parameter name.
25810 (__sysconf): Pass it down.
25811
de7ce8f1
UD
258122011-05-22 Ulrich Drepper <drepper@gmail.com>
25813
f2962a71
UD
25814 [BZ #12671]
25815 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25816 some situations.
25817 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25818 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25819 add in in __libc_use_alloca calls. Adjust callers.
25820 (glob): Use malloc in some situations.
25821
de7ce8f1
UD
25822 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25823 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25824 pltexit.
25825
aec84f53
UD
258262011-05-21 Ulrich Drepper <drepper@gmail.com>
25827
05bb4a68
UD
25828 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25829 and CLOCK_BOOTTIME_ALARM.
25830
7ea72f99
UD
25831 [BZ #12782]
25832 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25833 is returned.
25834
7e4afad5
UD
25835 * string/_strerror.c (__strerror_r): Print negative errors as signed
25836 numbers.
25837
8e211fec
UD
25838 [BZ #12777]
25839 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25840 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25841 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25842
f7d82dc9
UD
25843 * configure.in: Fix typo in redirection and correct removal of test
25844 files in two cases.
25845
cc9e536d
UD
25846 [BZ #12788]
25847 * locale/setlocale.c (new_composite_name): Fix test to check for
25848 identical name of all categories.
25849
aec84f53
UD
25850 [BZ #12792]
25851 * libio/filedoalloc.c (local_isatty): New function.
25852 (_IO_file_doallocate): Use local_isatty.
25853 * stdio-common/perror.c (perror): In case a new stream is used
25854 forward the stream error.
25855 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25856 error flag.
25857
78e64fdc
RT
258582011-05-20 Ulrich Drepper <drepper@gmail.com>
25859
34a9094f
UD
25860 [BZ #11869]
25861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25862 alloca.
25863 * include/alloca.h (extend_alloca_account): Define.
25864
78e64fdc
RT
25865 [BZ #11857]
25866 * posix/regex.h: Fix comments with documentation of user-accessible
25867 fields after compilation and describe correct free'ing of pattern
25868 after re_compile_pattern.
25869 Patch by Reuben Thomas <rrt@sc3d.org>.
25870
457bddfc
RA
258712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25872
25873 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25874 and -mno-altivec to prevent the compiler from using Altivec and/or
25875 VSX instructions when the corresponding registers are not available.
25876
a4527b51
AS
258772011-05-19 Andreas Schwab <schwab@redhat.com>
25878
25879 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25880
ed690b2f
UD
258812011-05-19 Ulrich Drepper <drepper@gmail.com>
25882
25883 * libio/freopen.c (freopen): Use __dup2, not dup2.
25884 * libio/freopen64.c (freopen64): Likewise.
25885
8db73634
L
258862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 [BZ #12775]
25889 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25890 * math/Makefile (tests): Add test-powl.
25891 (CFLAGS-test-powl.c): Define.
25892 * math/test-powl.c: New file.
25893
0a197a9d
L
258942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25895
25896 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25897
ee30c380
UD
258982011-05-17 Ulrich Drepper <drepper@gmail.com>
25899
25900 [BZ #11837]
25901 * iconvdata/gb18030.c: Update to GB18020-2005.
25902
6ce75379
UD
259032011-05-16 Ulrich Drepper <drepper@gmail.com>
25904
a4b89fd8
AR
25905 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25906 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25907 Patch by Aharon Robbins <arnold@skeeve.com>.
25908
ea389b12
UD
25909 [BZ #11892]
25910 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25911 on the stack.
25912
68a3f91f
UD
25913 [BZ #11895]
25914 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25915 through underflows.
25916
15cc7dd1
UD
25917 [BZ #12766]
25918 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25919 point to strings before performing equality test for error_one_per_line
25920 mode.
25921
f3799213
UD
25922 [BZ #11697]
25923 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25924
d79a9c94
UD
25925 [BZ #11820]
25926 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25927 (struct user_fpregs_struct): Avoid __uint*_t types.
25928
56e5eb46
UD
25929 [BZ #6420]
25930 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25931 symbol info. Use it instead of calling _dl_addr locally.
25932 (lock_and_info): New function.
25933 (tr_freehook): Call lock_and_info and pass symbol info as additional
25934 parameter to tr_where.
25935 (tr_mallochook): Likewise.
25936 (tr_reallochook): Likewise.
25937 (tr_memalignhook): Likewise.
25938
6ce75379
UD
25939 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25940 used and couldn't be at all thread-safe.
25941
f8a3b5bf
UD
259422011-05-15 Ulrich Drepper <drepper@gmail.com>
25943
94b7cc37
UD
25944 * libio/freopen.c (freopen): Don't close old file descriptor
25945 before the new one is opened. Instead dup the new file descriptor
25946 to the old one after the new stream is created.
25947 * libio/freopen64.c (freopen64): Likewise.
25948 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25949 * libio/fileops.c (_IO_new_file_close_it): Handle new
25950 _IO_FLAGS2_NOCLOSE flag.
25951 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25952 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25953 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25954 _IO_FLAGS2_NOCLOSE flag.
25955 * include/unistd.h: Add hidden_proto for dup3.
25956 Define __have_dup3.
25957 * io/dup3.c: Define hidden symbol.
25958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25959
bd25564e
UD
25960 [BZ #7101]
25961 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25962 when an incomplete long option is used.
25963 * posix/tst-getopt_long1.c: New file.
25964 * posix/Makefile (tests): Add tst-getopt_long1.
25965
c84cfef4
UD
25966 [BZ #10138]
25967 * scripts/config.guess: Update from autoconf-2.68.
25968 * scripts/config.sub: Likewise.
25969
3b85df27
UD
25970 [BZ #10157]
25971 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25972 tests into ...
25973 (has_cpuclock): ...this. New function.
25974 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25975 macro here based on has_cpuclock code.
25976
15a856b1
UD
25977 [BZ #10149]
25978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25979 First byte (not low byte) is now always NUL.
25980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25981
05f399e6
UD
25982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25983 Use non-cancelable interfaces.
25984
10a52685 25985 [BZ #9809]
94ecc67d
UD
25986 * locale/iso-639.def: Add entry for Sorani.
25987
f8a3b5bf
UD
25988 [BZ #11901]
25989 * include/stdlib.h: Move include protection to the right place.
25990 Define abort_msg_s. Declare __abort_msg with it.
25991 * stdlib/abort.c (__abort_msg): Adjust type.
25992 * assert/assert.c (__assert_fail_base): New function. Majority
25993 of code from __assert_fail. Allocate memory for __abort_msg with
25994 mmap.
25995 (__assert_fail): Now call __assert_fail_base.
25996 * assert/assert-perr.c: Remove bulk of implementation. Use
25997 __assert_fail_base.
25998 * include/assert.hL Declare __assert_fail_base.
25999 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26000 mmap.
26001 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26002
1af4e298
UD
260032011-05-14 Ulrich Drepper <drepper@gmail.com>
26004
f8a3b5bf 26005 [BZ #11952]
d26dfc60
MG
26006 [BZ #12453]
26007 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26008 until all modules are registered in the DTV.
26009 * elf/Makefile: Add rules to build and run tst-tls19.
26010 * elf/tst-tls19.c: New file.
26011 * elf/tst-tls19mod1.c: New file.
26012 * elf/tst-tls19mod2.c: New file.
26013 * elf/tst-tls19mod3.c: New file.
26014 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26015
2fc54d6f
UD
26016 [BZ #12083]
26017 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26018 correctly.
26019
98d76b46
UD
26020 [BZ #12601]
26021 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26022 two-byte sequence errors.
26023 * iconvdata/Makefile (tests): Add bug-iconv8.
26024 * iconvdata/bug-iconv8.c: New file.
26025
da3c19ef
UD
26026 [BZ #12626]
26027 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26028 buf2 definition.
26029
ca408c15
UD
26030 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26031
d6f67f7d
UD
26032 [BZ #12432]
26033 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26034 (dummy_getcfa): New function.
26035 (init): Get _Unwind_GetCFA address, use dummy if not found.
26036 (backtrace_helper): In recursion check, also check whether CFA changes.
26037 (__backtrace): Completely initialize arg.
26038
1af4e298 26039 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26040 storing incomplete byte sequence in state object. Avoid testing for
26041 guaranteed too small input if we know there is enough data available.
1af4e298 26042
da62f81b
AS
260432011-05-11 Andreas Schwab <schwab@redhat.com>
26044
26045 * Makeconfig (+link-pie): Indent.
26046 * Rules (binaries-pie): Define if $(have-fpie) and
26047 $(build-shared).
26048 (binaries-shared): Also filter out $(binaries-pie).
26049 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26050 * nscd/Makefile (others-pie): Add nscd.
26051 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26052 ($(objpfx)nscd): Remove command override.
26053 * login/Makefile (others-pie): Add pt_chown.
26054 ($(objpfx)pt_chown): Remove command override.
26055 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26056 remove command overrides.
26057
fcabc0f8
UD
260582011-05-13 Ulrich Drepper <drepper@gmail.com>
26059
20030ae6
UD
26060 * libio/tst_putwc.c: Fix error messages.
26061
fcabc0f8
UD
26062 [BZ #12724]
26063 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26064 currently writing and seek to current position when not.
26065 * libio/Makefile (tests): Add bug-fclose1.
26066 * libio/bug-fclose1.c: New file.
26067
320a5dc0
PB
260682011-05-12 Ulrich Drepper <drepper@gmail.com>
26069
26070 [BZ #12511]
26071 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26072 don't set DF_1_NODELETE here.
26073 (do_lookup_x): When entering new entry test for copy relocation
26074 and if necessary set DF_1_NODELETE flag.
26075 * elf/tst-unique4.cc: New file.
26076 * elf/tst-unique4.h: New file.
26077 * elf/tst-unique4lib.cc: New file.
26078 * elf/Makefile: Add rules to build and run tst-unique4.
26079 Patch by Piotr Bury <pbury@goahead.com>.
26080
22836f52
UD
260812011-05-11 Ulrich Drepper <drepper@gmail.com>
26082
f574184a
UD
26083 [BZ #12052]
26084 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26085
e1fb097f
UD
26086 [BZ #12625]
26087 * misc/mntent_r.c (addmntent): Flush the stream after the output
26088
22836f52
UD
26089 [BZ #12393]
26090 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26091 (is_trusted_path_normalize): Skip initial colon. Append slash
26092 to empty buffer. Duplicate is_trusted_path code but allow
26093 constructed patch to be prefix.
26094 (is_dst): Allow $ORIGIN followed by /.
26095 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26096 Correct testing of result of is_trusted_path_normalize
26097 (decompose_rpath): Fix warning.
26098
7b3b0b2a
UD
260992011-05-10 Ulrich Drepper <drepper@gmail.com>
26100
26101 [BZ #11257]
26102 * grp/initgroups.c (internal_getgrouplist): When we found the service
26103 list through the initgroups entry in nsswitch.conf do not always
26104 continue on a successful lookup. Don't always use the
eac80ce2 26105 __nss_group_database value if it is set.
7b3b0b2a
UD
26106 * nss/nsswitch.conf (initgroups): Change action for successful db
26107 lookup to continue for compatibility.
26108
2a81eaa5
UD
261092011-05-09 Ulrich Drepper <drepper@gmail.com>
26110
be97a69e
UD
26111 [BZ #11532]
26112 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26113 and CP774 modules.
26114 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26115 and CP774 modules.
26116 * iconvdata/tst-tables.sh: Likewise.
26117 * iconvdata/cp770.c: New file.
26118 * iconvdata/cp771.c: New file.
26119 * iconvdata/cp772.c: New file.
26120 * iconvdata/cp773.c: New file.
26121 * iconvdata/cp774.c: New file.
26122 * iconvdata/testdata/CP770: New file.
26123 * iconvdata/testdata/CP770..UTF8: New file.
26124 * iconvdata/testdata/CP771: New file.
26125 * iconvdata/testdata/CP771..UTF8: New file.
26126 * iconvdata/testdata/CP772: New file.
26127 * iconvdata/testdata/CP772..UTF8: New file.
26128 * iconvdata/testdata/CP773: New file.
26129 * iconvdata/testdata/CP773..UTF8: New file.
26130 * iconvdata/testdata/CP774: New file.
26131 * iconvdata/testdata/CP774..UTF8: New file.
26132
26133 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26134 END CHARMAP line.
26135 * iconvdata/gen-8bit-gap.sh: Likewise.
26136 * iconvdata/gen-8bit.sh: Likewise.
26137
c1e9e399
UD
26138 * locale/iso-639.def: Add ary entry.
26139
24c55fb3 26140 [BZ #11258]
96b4b1b0
UD
26141 * locale/C-translit.h.in: Add U20A1 transliteration.
26142
bdc2f971
KB
26143 [BZ #12178]
26144 * locale/iso-639.def: Add wae entry.
26145 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26146
2952b117
UD
26147 [BZ #12545]
26148 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26149 for n.
26150
2a81eaa5
UD
26151 [BZ #12711]
26152 * locale/C-translit.h.in: Add entry for U20B9.
26153 Patch by pravin.d.s@gmail.com.
26154
28377d1b
UD
261552011-05-08 Ulrich Drepper <drepper@gmail.com>
26156
7fb90fb8
UD
26157 [BZ #12713]
26158 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26159 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26160 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26161 in rtld. Use *stat64.
7fb90fb8 26162 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26163 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26164 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26165 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26166 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26167 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26168 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26169 __fstatat64 macros.
7fb90fb8
UD
26170 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26171 * dirent/rewinddir.c: Add libc_hidden_def.
26172 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26173 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26174
28377d1b
UD
26175 * include/dirent.h (__alloc_dir): Add flags parameter.
26176 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26177 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26178 __alloc_dir.
26179 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26180 from fdopendir if O_CLOEXEC is already set.
26181
66bdbaa4
AM
261822011-03-15 Alan Modra <amodra@gmail.com>
26183
26184 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26185 l_tls_firstbyte_offset non-zero. Save padding offset in
26186 l_tls_firstbyte_offset for later use.
26187 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26188 freeing static tls block.
26189
95721191
JN
261902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26191
26192 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26193 where #ifdef was intended. The intent is to prevent ARG_MAX from
26194 being defined by the kernel headers.
26195
f87dfb1f
UD
261962011-05-07 Ulrich Drepper <drepper@gmail.com>
26197
26198 [BZ #12734]
26199 * resolv/resolv.h: Define RES_NOTLDQUERY.
26200 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26201 no-tld-query and set RES_NOTLDQUERY.
26202 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26203 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26204 modern BIND to search name as TLD unless forbidden.
26205
47c3cd7a
UD
262062011-05-07 Petr Baudis <pasky@suse.cz>
26207 Ulrich Drepper <drepper@gmail.com>
26208
26209 [BZ #12393]
26210 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26211 (is_trusted_path): ...to here.
c1e9ea35 26212 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26213 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26214 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26215
8a35c912
PP
262162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26217
26218 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26219 __BEGIN/__END_DECLS.
26220
acd41f47
UD
262212011-05-06 Ulrich Drepper <drepper@gmail.com>
26222
26223 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26224 NSS_STATUS_NOTFOUND if no record was found.
26225
597df647
AS
262262011-05-05 Andreas Schwab <schwab@redhat.com>
26227
26228 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26229 (headers-not-in-tirpc): Remove rpc/netdb.h
26230 * resolv/netdb.h: Revert last change.
26231
b9af1301
PP
262322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26233
26234 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26235 circular dependency between libgcc.a and libc.a.
26236
4e34d5f5
AS
262372011-05-05 Andreas Schwab <schwab@redhat.com>
26238
26239 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26240 * nis/Makefile: Don't install rpcsvc/*.
26241 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26242 instead of <rpc/types.h>.
26243 (MAXHOSTNAMELEN): Define.
26244
00ee369c
AS
262452011-05-03 Andreas Schwab <schwab@redhat.com>
26246
26247 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26248
0b592a30
MB
262492011-04-28 Maciej Babinski <mbabinski@google.com>
26250
26251 [BZ #12714]
26252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26253 gethostbyname4_r when IPv6 results are possible.
26254
6e04cbbe
UD
262552011-05-02 Ulrich Drepper <drepper@gmail.com>
26256
26257 [BZ #12723]
26258 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26259 _PC_PIPE_BUF handling.
26260
e4ecafe0
BH
262612011-04-30 Bruno Haible <bruno@clisp.org>
26262
26263 [BZ #12717]
26264 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26265 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26266 to 'int'.
26267 * inet/getnameinfo.c (getnameinfo): Likewise.
26268
125ee683
UD
262692011-04-29 Ulrich Drepper <drepper@gmail.com>
26270
26271 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26272 to groups setting in database lookup.
26273 * nss/nsswitch.conf: Add initgroups entry.
26274
b722481a
EB
262752011-04-22 Ulrich Drepper <drepper@gmail.com>
26276
26277 [BZ #12685]
26278 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26279 mode string.
26280 Patch by Eric Blake <eblake@redhat.com>.
26281
4df46dbd
L
262822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26283
26284 * sunrpc/Makefile (need-export-routines): Add svc_run.
26285 (routines): Remove svc_run.
26286 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26287 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26288 * sunrpc/svc_run.c (svc_run): Likewise.
26289 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26290
e84142d2
UD
262912011-04-21 Ulrich Drepper <drepper@gmail.com>
26292
26293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26294 problem in reallocation in last patch.
26295
877175d8
UD
262962011-04-20 Ulrich Drepper <drepper@gmail.com>
26297
26298 * sunrpc/Makefile: Move inclusion of Rules.
26299
ab8eed78
UD
263002011-04-19 Ulrich Drepper <drepper@gmail.com>
26301
26302 * nss/nss_files/files-initgroups.c: New file.
26303 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26304 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26305 _nss_files_initgroups_dyn.
26306
e3d8f584
RS
263072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26308
26309 * elf/elf.h (R_ARM_IRELATIVE): Define.
26310
af190f45
UD
263112011-04-19 Ulrich Drepper <drepper@gmail.com>
26312
26313 * po/ru.po: Update from translation team.
26314
53cf59ef
UD
263152011-04-17 Ulrich Drepper <drepper@gmail.com>
26316
26317 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26318 dependencies.
26319
4c559bcd
MF
263202011-02-06 Mike Frysinger <vapier@gentoo.org>
26321
26322 [BZ #12653]
26323 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26324 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26328
4420675c
AS
263292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26330
26331 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26332 differing bytes.
26333 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26336
75ea32ab
UD
263372011-04-17 Ulrich Drepper <drepper@gmail.com>
26338
26339 [BZ #12420]
26340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26341 storing it.
26342 * stdlib/bug-getcontext.c: New file.
26343 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26344
27390476
AK
263452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26346
26347 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26348 instructions into .machine "z9-109".
26349 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26350 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26351
10442705
AK
263522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26353
26354 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26355 between environment variables and auxiliary vector.
26356
7b57bfe5
UD
263572011-04-16 Ulrich Drepper <drepper@gmail.com>
26358
26359 * Makefile: Add rules to build linkobj/libc.so.
26360 * include/libc-symbols.h: Define libc_hidden_nolink.
26361 * include/rpc/auth.h: Mark functions which are to be hidden.
26362 * include/rpc/auth_des.h: Likewise.
26363 * include/rpc/auth_unix.h: Likewise.
26364 * include/rpc/clnt.h: Likewise.
26365 * include/rpc/des_crypt.h: Likewise.
26366 * include/rpc/key_prot.h: Likewise.
26367 * include/rpc/pmap_clnt.h: Likewise.
26368 * include/rpc/pmap_prot.h: Likewise.
26369 * include/rpc/pmap_rmt.h: Likewise.
26370 * include/rpc/rpc_msg.h: Likewise.
26371 * include/rpc/svc.h: Likewise.
26372 * include/rpc/svc_auth.h: Likewise.
26373 * include/rpc/xdr.h: Likewise.
26374 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26375 * nss/Makefile: Likewise.
26376 * sunrpc/Makefile: Don't install headers. Build library with normal
26377 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26378 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26379 for the compat linking library. Remove use of INTDEF/INTUSE.
26380 * sunrpc/auth_none.c: Likewise.
26381 * sunrpc/auth_unix.c: Likewise.
26382 * sunrpc/authdes_prot.c: Likewise.
26383 * sunrpc/authuxprot.c: Likewise.
26384 * sunrpc/clnt_gen.c: Likewise.
26385 * sunrpc/clnt_perr.c: Likewise.
26386 * sunrpc/clnt_raw.c: Likewise.
26387 * sunrpc/clnt_simp.c: Likewise.
26388 * sunrpc/clnt_tcp.c: Likewise.
26389 * sunrpc/clnt_udp.c: Likewise.
26390 * sunrpc/clnt_unix.c: Likewise.
26391 * sunrpc/des_crypt.c: Likewise.
26392 * sunrpc/des_soft.c: Likewise.
26393 * sunrpc/get_myaddr.c: Likewise.
26394 * sunrpc/key_call.c: Likewise.
26395 * sunrpc/key_prot.c: Likewise.
26396 * sunrpc/netname.c: Likewise.
26397 * sunrpc/pm_getmaps.c: Likewise.
26398 * sunrpc/pm_getport.c: Likewise.
26399 * sunrpc/pmap_clnt.c: Likewise.
26400 * sunrpc/pmap_prot.c: Likewise.
26401 * sunrpc/pmap_prot2.c: Likewise.
26402 * sunrpc/pmap_rmt.c: Likewise.
26403 * sunrpc/publickey.c: Likewise.
26404 * sunrpc/rpc_cmsg.c: Likewise.
26405 * sunrpc/rpc_common.c: Likewise.
26406 * sunrpc/rpc_dtable.c: Likewise.
26407 * sunrpc/rpc_prot.c: Likewise.
26408 * sunrpc/rpc_thread.c: Likewise.
26409 * sunrpc/rtime.c: Likewise.
26410 * sunrpc/svc.c: Likewise.
26411 * sunrpc/svc_auth.c: Likewise.
26412 * sunrpc/svc_authux.c: Likewise.
26413 * sunrpc/svc_raw.c: Likewise.
26414 * sunrpc/svc_run.c: Likewise.
26415 * sunrpc/svc_simple.c: Likewise.
26416 * sunrpc/svc_tcp.c: Likewise.
26417 * sunrpc/svc_udp.c: Likewise.
26418 * sunrpc/svc_unix.c: Likewise.
26419 * sunrpc/svcauth_des.c: Likewise.
26420 * sunrpc/xcrypt.c: Likewise.
26421 * sunrpc/xdr.c: Likewise.
26422 * sunrpc/xdr_array.c: Likewise.
26423 * sunrpc/xdr_float.c: Likewise.
26424 * sunrpc/xdr_intXX_t.c: Likewise.
26425 * sunrpc/xdr_mem.c: Likewise.
26426 * sunrpc/xdr_rec.c: Likewise.
26427 * sunrpc/xdr_ref.c: Likewise.
26428 * sunrpc/xdr_sizeof.c: Likewise.
26429 * sunrpc/xdr_stdio.c: Likewise.
26430
e6c61494
UD
264312011-04-10 Ulrich Drepper <drepper@gmail.com>
26432
26433 [BZ #12650]
26434 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26435 * sysdeps/ia64/dl-tls.h: Likewise.
26436 * sysdeps/powerpc/dl-tls.h: Likewise.
26437 * sysdeps/s390/dl-tls.h: Likewise.
26438 * sysdeps/sh/dl-tls.h: Likewise.
26439 * sysdeps/sparc/dl-tls.h: Likewise.
26440 * sysdeps/x86_64/dl-tls.h: Likewise.
26441 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26442
34fe483e
AS
264432011-03-14 Andreas Schwab <schwab@redhat.com>
26444
26445 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26446 rpath element also skip the following colon.
26447 (expand_dynamic_string_token): Add is_path parameter and pass
26448 down to DL_DST_REQUIRED and _dl_dst_substitute.
26449 (decompose_rpath): Call expand_dynamic_string_token with
26450 non-zero is_path. Ignore empty rpaths.
26451 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26452 with zero is_path.
26453
f12a32e6
AS
264542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26455
26456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26457 Make cancelable.
26458
38a7d692
UD
264592011-04-09 Ulrich Drepper <drepper@gmail.com>
26460
26461 [BZ #12655]
26462 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26463 Patch by Filipe David Manana <fdmanana@apache.org>.
26464
e451d22b
AS
264652011-04-07 Andreas Schwab <schwab@redhat.com>
26466
26467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26468 Maintain aligned stack.
26469 (CHECK_RSP): Remove unused macro.
26470
dedc7c7b
UD
264712011-04-03 Ulrich Drepper <drepper@gmail.com>
26472
26473 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26474 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26475
94521213
UD
264762011-04-02 Ulrich Drepper <drepper@gmail.com>
26477
26478 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26479
8cb700c0 26480 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26481
0354e355
L
264822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26483
26484 [BZ #12518]
26485 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26486 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26487 * sysdeps/x86_64/memmove.c: New file.
26488 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26489 (memcpy): Renamed to ...
26490 (__new_memcpy): This.
26491 (memcpy): Provide GLIBC_2_14 memcpy.
26492 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26493 (memcpy): Provide GLIBC_2_2_5 memcpy.
26494
8593482f
UD
264952011-04-01 Ulrich Drepper <drepper@gmail.com>
26496
26497 [BZ #12631]
26498 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26499
81a5726b
AS
265002011-03-30 Andreas Schwab <schwab@redhat.com>
26501
26502 * misc/syncfs.c: New file.
26503 * misc/Makefile (routines): Add syncfs.
26504 * posix/unistd.h: Declare syncfs.
26505 * sysdeps/unix/syscalls.list: Add syncfs.
26506
00e5419f
AS
265072011-04-01 Andreas Schwab <schwab@redhat.com>
26508
26509 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26510 open_by_handle_at.
26511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26512 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26516 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26518
748876bf
UD
265192011-04-01 Ulrich Drepper <drepper@gmail.com>
26520
658e451d
UD
26521 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26522 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26523 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26525 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26528
748876bf
UD
26529 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26530 sync_file_range.c with -fexceptions.
26531 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26532 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26533 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26534 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26535 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26536 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26538 sync_file_range as cancellation point
26539 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26540 now a wrapper around __call_sync_file_range with cancellation handling.
26541 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26542 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26543 function name to __call_sync_file_range.
26544 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26545 Add call_sync_file_range.
748876bf 26546
6e63d5e1
AS
265472011-04-01 Andreas Schwab <schwab@redhat.com>
26548
26549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26550 bits/timex.h.
6e63d5e1 26551
46998f74
UD
265522011-04-01 Ulrich Drepper <drepper@gmail.com>
26553
4c1423ed
UD
26554 * iconv/iconv.h: Fix typo in comment.
26555 * io/fcntl.h: Likewise.
26556 * libio/stdio.h: Likewise.
26557 * posix/spawn.h: Likewise.
26558 * posix/unistd.h: Likewise.
26559 * stdlib/stdlib.h: Likewise.
26560 * time/time.h: Likewise.
26561 * wcsmbs/wchar.h: Likewise.
26562
158648c0
UD
26563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26564 open_by_handle): Add.
26565 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26566 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26567 Augment a few comments.
26568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26573 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26574 open_by_handle.
26575
46998f74
UD
26576 * io/fcntl.h (AT_EMPTY_PATH): Define.
26577
83fe108b
UD
265782011-03-30 Ulrich Drepper <drepper@gmail.com>
26579
26580 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26581 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26582 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26583 to...
26584 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26585 * Versions.def: Add GLIBC_2.14.
26586 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26587 Export.
83fe108b 26588
bb242059
UD
265892011-03-22 Ulrich Drepper <drepper@gmail.com>
26590
26591 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26592 round counter.
26593 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26594
c97a1282
L
265952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26596
26597 [BZ #12597]
26598 * string/test-strncmp.c (do_page_test): New function.
26599 (check2): Likewise.
26600 (test_main): Call check2.
26601 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26602
2a115601
UD
266032011-03-20 Ulrich Drepper <drepper@gmail.com>
26604
26605 [BZ #12587]
26606 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26607 Handle cache information in CPU leaf 4.
26608 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26609
8126d904
UD
266102011-03-18 Ulrich Drepper <drepper@gmail.com>
26611
042c49c6 26612 [BZ #12583]
8126d904
UD
26613 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26614 character representation.
26615 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26616
ccfe366e
RA
266172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26618
26619 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26620 END(__isnan) to END(__isnanf) to match function entry point/label
26621 EALIGN(__isnanf,...).
26622
c6e13027
JJ
266232011-03-10 Jakub Jelinek <jakub@redhat.com>
26624
26625 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26626
33f85a3f
UD
266272011-03-10 Ulrich Drepper <drepper@gmail.com>
26628
028478fa
UD
26629 [BZ #12510]
26630 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26631 copy from the symbol referenced in the relocation to initialize the
26632 used variable.
26633 Patch by Piotr Bury <pbury@goahead.com>.
26634 * elf/Makefile: Add rules to build and tst-unique3.
26635 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26636 * elf/tst-unique3.cc: New file.
26637 * elf/tst-unique3.h: New file.
26638 * elf/tst-unique3lib.cc: New file.
26639 * elf/tst-unique3lib2.cc: New file.
26640
33f85a3f
UD
26641 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26642
03592fc7
MF
266432011-03-10 Mike Frysinger <vapier@gentoo.org>
26644
26645 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26646 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26647 to _start.
03592fc7 26648
6a5ee102
UD
266492011-03-06 Ulrich Drepper <drepper@gmail.com>
26650
26651 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26652 to-be-loaded object along a path to loader is ld.so.
26653
7e4ba49c
HJ
266542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26655 Ulrich Drepper <drepper@gmail.com>
26656
26657 * sysdeps/x86_64/memset.S: After aligning destination, code
26658 branches to different locations depending on the value of
26659 misalignment, when multiarch is enabled. Fix this.
26660
266612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26662
26663 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26664 Set _x86_64_preferred_memory_instruction for AMD processsors.
26665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26666 Set bit_Prefer_SSE_for_memop for AMD processors.
26667
13a804de
UD
266682011-03-04 Ulrich Drepper <drepper@gmail.com>
26669
26670 * libio/fmemopen.c (fmemopen): Optimize a bit.
26671
9d25c392
AS
266722011-03-03 Andreas Schwab <schwab@redhat.com>
26673
26674 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26675
a5543c6a
RM
266762011-03-03 Roland McGrath <roland@redhat.com>
26677
26678 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26679
012d35f7
DM
266802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26681
7e4ba49c 26682 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26683 __bzero_ultra1 instead of __memset_ultra1.
26684
4bff6e01
AS
266852011-02-23 Andreas Schwab <schwab@redhat.com>
26686 Ulrich Drepper <drepper@gmail.com>
26687
26688 [BZ #12509]
26689 * include/link.h (struct link_map): Add l_orig_initfini.
26690 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26691 returning unsuccessfully.
26692 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26693 close of a file loaded at startup, restore the original l_initfini
26694 list.
26695 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26696 list, store the pointer.
26697 * elf/Makefile ($(objpfx)noload-mem): New rule.
26698 (noload-ENV): Define.
26699 (tests): Add $(objpfx)noload-mem.
26700 * elf/noload.c: Include <memcheck.h>.
26701 (main): Call mtrace. Close all opened handles.
26702
f2092faf
AS
267032011-02-17 Andreas Schwab <schwab@redhat.com>
26704
26705 [BZ #12454]
26706 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26707 dependencies are missing.
26708
6c8a2e88
ST
267092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26710
f2092faf 26711 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26712 Hurd needs munmap.
26713 * sysdeps/mach/hurd/ifreq.h: New file.
26714
84a42118
PB
267152011-01-27 Petr Baudis <pasky@suse.cz>
26716 Ulrich Drepper <drepper@gmail.com>
26717
071f805e 26718 [BZ 12445]#
84a42118
PB
26719 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26720 to extend_alloca().
26721 * stdio-common/bug23.c: New file.
26722 * stdio-common/Makefile (tests): Add bug23.
26723
e23fe25b
AS
267242010-09-28 Andreas Schwab <schwab@redhat.com>
26725 Ulrich Drepper <drepper@gmail.com>
26726
26727 [BZ #12489]
26728 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26729 before performing relro protection. At old place add assertion
26730 to make sure nothing changed.
26731
d3f02e10
NS
267322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26733 Glauber de Oliveira Costa <glommer@gmail.com>
26734
26735 * elf/elf.h: Add new ARM TLS relocs.
26736
d55fd7a5
RA
267372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26738
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26740 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26741 cast from r3.
26742 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26743 'tests' variable.
26744 * sysdeps/wordsize-64/tst-writev.c: New file.
26745
2206397e
RA
267462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26747
26748 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26749 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26750 insns in _dl_start to prevent a TOC reference before relocs are
26751 resolved.
26752
e9433893
UD
267532011-02-15 Ulrich Drepper <drepper@gmail.com>
26754
26755 [BZ #12469]
26756 * Makeconfig: Remove RANLIB definition.
26757 * Makerules: Don't use RANLIB.
26758 * aclocal.m4: Remove ranlib test.
26759 * configure.in: No need to check for ranlib.
26760 * elf/rtld-Rules: Don't use RANLIB.
26761
f75286c6
ST
267622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26763
8e31c82d
ST
26764 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26765 protection macro.
26766 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26767 inclusion protection macro.
26768
f75286c6
ST
26769 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26770 SIGRTMIN and SIGRTMAX and print information in that case only when
26771 SIGRTMIN is defined.
26772
c1d0e639
JJ
267732011-02-11 Jakub Jelinek <jakub@redhat.com>
26774
26775 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26776 arginfo fn returning -1.
26777
26778 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26779 and thousands string is zero terminated.
26780
edf9294e
AS
267812011-02-03 Andreas Schwab <schwab@redhat.com>
26782
26783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26784 sysdeps/unix/sysv/linux/bits/socket.h.
26785
2b7e92df
ST
267862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26787
edf9294e
AS
26788 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26789 (__CPU_COUNT): Remove old macros.
26790 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26791 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26792 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26793 (__sched_cpualloc, __sched_cpufree): Add declarations.
26794
a4c7ea7b
UD
267952011-02-05 Ulrich Drepper <drepper@gmail.com>
26796
26797 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26798 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26799 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26800 (readdhstai): Return value of addhstaiX call.
26801 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26802 (addgrbyX): Return value returned by cache_addgr.
26803 (readdgrbyname): Return value returned by addgrbyX.
26804 (readdgrbygid): Likewise.
26805 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26806 (addpwbyX): Return value returned by cache_addpw.
26807 (readdpwbyname): Return value returned by addhstbyX.
26808 (readdpwbyuid): Likewise.
26809 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26810 (addservbyX): Return value returned by cache_addserv.
26811 (readdservbyname): Return value returned by addservbyX:
26812 (readdservbyport): Likewise.
26813 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26814 (addhstbyX): Return value returned by cache_addhst.
26815 (readdhstbyname): Return value returned by addhstbyX.
26816 (readdhstbyaddr): Likewise.
26817 (readdhstbynamev6): Likewise.
26818 (readdhstbyaddrv6): Likewise.
26819 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26820 (readdinitgroups): Return value returned by addinitgroupsX.
26821 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26822 (prune_cache): Keep track of timeout value of re-added entries.
26823 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26824 * nscd/nscd.h: Adjust prototypes of readd* functions.
26825
a0bf67cc
RM
268262011-02-04 Roland McGrath <roland@redhat.com>
26827
26828 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26829 (nis_stats): Likewise.
26830 * nis/nis_modify.c (nis_modify): Likewise.
26831 * nis/nis_remove.c (nis_remove): Likewise.
26832 * nis/nis_add.c (nis_add): Likewise.
26833
26834 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26835
26836 * posix/fnmatch_loop.c: Add some consts.
26837
26838 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26839
435b95eb
L
268402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26841
26842 [BZ #12460]
26843 * config.make.in (config-cflags-novzeroupper): Define.
26844 * configure.in: Substitute libc_cv_cc_novzeroupper.
26845 * elf/Makefile (AVX-CFLAGS): Define.
26846 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26847 (CFLAGS-tst-auditmod4a.c): Likewise.
26848 (CFLAGS-tst-auditmod4b.c): Likewise.
26849 (CFLAGS-tst-auditmod6b.c): Likewise.
26850 (CFLAGS-tst-auditmod6c.c): Likewise.
26851 (CFLAGS-tst-auditmod7b.c): Likewise.
26852 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26853
8517b15e
UD
268542011-02-02 Ulrich Drepper <drepper@gmail.com>
26855
26856 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26857 function to the callback.
26858 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26859
10a656fe
AS
268602011-02-02 Andreas Schwab <schwab@redhat.com>
26861
26862 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26863 of errno.
26864
968dad0a
UD
268652011-01-19 Ulrich Drepper <drepper@gmail.com>
26866
9f94d2ea 26867 [BZ #11724]
968dad0a
UD
26868 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26869 of constructors.
26870 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26871 of destructors.
26872 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26873
26874 [BZ #11724]
26875 * elf/Makefile: Add rules to build and run new test.
26876 * elf/tst-initorder.c: New file.
26877 * elf/tst-initorder.exp: New file.
26878 * elf/tst-initordera1.c: New file.
26879 * elf/tst-initordera2.c: New file.
26880 * elf/tst-initordera3.c: New file.
26881 * elf/tst-initordera4.c: New file.
26882 * elf/tst-initorderb1.c: New file.
26883 * elf/tst-initorderb2.c: New file.
26884 * elf/tst-order-a1.c: New file.
26885 * elf/tst-order-a2.c: New file.
26886 * elf/tst-order-a3.c: New file.
26887 * elf/tst-order-a4.c: New file.
26888 * elf/tst-order-b1.c: New file.
26889 * elf/tst-order-b2.c: New file.
26890 * elf/tst-order-main.c: New file.
26891 New test case by George Gensure <werkt0@gmail.com>.
26892
86e92359
UD
268932010-10-01 Andreas Schwab <schwab@redhat.com>
26894
26895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26896 decoding ACE if AI_CANONIDN.
26897
5d5732b0
UD
268982011-01-18 Ulrich Drepper <drepper@gmail.com>
26899
26900 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26901
a77e8cbc
UD
269022011-01-17 Ulrich Drepper <drepper@gmail.com>
26903
6392473f
UD
26904 * version.h (RELEASE): Bump for 2.13 release.
26905 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26906
620a0529
UD
26907 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26908
18ba70a5
UD
26909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26910 MADV_NOHUGEPAGE.
32465c3e
UD
26911 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26913 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26917
c0dafcf1
UD
26918 * posix/getconf.c: Update copyright year.
26919 * catgets/gencat.c: Likewise.
26920 * csu/version.c: Likewise.
26921 * debug/catchsegv.sh: Likewise.
26922 * debug/xtrace.sh: Likewise.
26923 * elf/ldconfig.c: Likewise.
26924 * elf/ldd.bash.in: Likewise.
26925 * elf/sprof.c (print_version): Likewise.
26926 * iconv/iconv_prog.c: Likewise.
26927 * iconv/iconvconfig.c: Likewise.
26928 * locale/programs/locale.c: Likewise.
26929 * locale/programs/localedef.c: Likewise.
26930 * malloc/memusage.sh: Likewise.
26931 * malloc/mtrace.pl: Likewise.
26932 * nscd/nscd.c (print_version): Likewise.
26933 * nss/getent.c: Likewise.
26934
a77e8cbc
UD
26935 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26936 PF_CAIF, and PF_ALG.
26937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26938
77e8bddf
AS
269392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26940
1f20b93a
AS
26941 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26942 (modules-names): Use them.
26943 (ifunc-test-modules, ifunc-pie-tests): Define.
26944 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26945 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26946 (test-extras): Likewise.
26947 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26948 $(compile-command.c).
26949 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26950 (all-built-dso): Define.
26951 (check-textrel.out, check-execstack.out): Depend on it.
26952
77e8bddf
AS
26953 * configure.in: Don't override --enable-multi-arch.
26954
bc425b33
UD
269552011-01-15 Ulrich Drepper <drepper@gmail.com>
26956
26957 [BZ #6812]
26958 * nscd/hstcache.c (tryagain): Define.
26959 (cache_addhst): Return tryagain not notfound for temporary errors.
26960 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26961 failed.
26962
794c3ad3
UD
269632011-01-14 Ulrich Drepper <drepper@gmail.com>
26964
70181fdd
UD
26965 [BZ #10563]
26966 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26967 to make the syscall.
26968 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26969
794c3ad3
UD
26970 [BZ #12378]
26971 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26972 and fall back to matching as normal character if the string ends before
26973 the matching ']' is found. This is what POSIX requires.
26974 * posix/testfnm.c: Adjust test result.
26975 * posix/globtest.sh: Adjust test result. Add new test.
26976 * posix/tst-fnmatch.input: Likewise.
26977 * posix/tst-fnmatch2.c: Add new test.
26978
68dc9497
AS
269792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26980
26981 * elf/Makefile (check-execstack): Revert last change. Depend on
26982 check-execstack.h.
26983 (check-execstack.h): New target.
26984 (generated): Add check-execstack.h.
26985 * elf/check-execstack.c: Include "check-execstack.h".
26986 (main): Revert last change.
26987 (handle_file): Return zero if GNU_STACK is absent and
26988 DEFAULT_STACK_PERMS doesn't include PF_X.
26989
451f001b
UD
269902011-01-13 Ulrich Drepper <drepper@gmail.com>
26991
cfa28e56
UD
26992 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26993 in child fails because the descriptor is already closed.
8cf8ce17
UD
26994 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26995 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26997
1086d70d
UD
26998 [BZ #12397]
26999 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27000 syscall.
27001
451f001b
UD
27002 [BZ #10484]
27003 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27004 temporary buffer used to handle multi lookups locally.
a85b5cb4 27005 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27006
08769175
UD
270072011-01-12 Ulrich Drepper <drepper@gmail.com>
27008
27009 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27010 loader is ld.so.
27011
5e49c52e
UD
270122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27013
27014 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27015 alignment for SSE2.
27016
60522a5f
UD
270172011-01-12 Ulrich Drepper <drepper@gmail.com>
27018
27019 [BZ #12394]
27020 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27021 characters. When rounding increased number of integer digits recompute
27022 number of groups.
27023 * stdio-common/tst-grouping.c: New file.
27024 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27025
f257bbd7
UD
270262011-01-09 Ulrich Drepper <drepper@gmail.com>
27027
27028 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27029 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27030
27031 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27032 void.
27033 * bits/select.h: Likewise.
27034
fa9c15cb
UD
270352011-01-08 Ulrich Drepper <drepper@gmail.com>
27036
27037 * po/ja.po: Update from translation team.
27038
16c2895f
DM
270392011-01-04 David S. Miller <davem@sunset.davemloft.net>
27040
27041 [BZ #11155]
27042 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27043 implementation just like for lxstat, fxstatat, et al.
27044
2543fef2
JM
270452010-12-27 Jim Meyering <meyering@redhat.com>
27046
27047 [BZ #12348]
27048 * posix/regexec.c (build_trtable): Return failure indication upon
27049 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27050
98727dbe
UD
270512010-12-25 Ulrich Drepper <drepper@gmail.com>
27052
5bd6dc5c
UD
27053 [BZ #12201]
27054 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27055 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27056 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27057 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27058
97983464
UD
27059 [BZ #12207]
27060 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27061
98727dbe
UD
27062 [BZ #12204]
27063 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27064 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27065
4a531bb0
L
270662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27069 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27070 script has SORT_BY_INIT_PRIORITY.
27071 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27072 NO_CTORS_DTORS_SECTIONS is defined.
27073 * elf/soinit.c: Likewise.
27074 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27075 NO_CTORS_DTORS_SECTIONS is defined.
27076 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27077 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27078 * sysdeps/sh/init-first.c: Likewise.
27079 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27080
07eb4b71
UD
270812010-12-24 Ulrich Drepper <drepper@gmail.com>
27082
27083 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27084 always use the slow path.
27085
30950a5f
RA
270862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27087
27088 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27089 similar rule which adds the sysdep directories to the header search in
27090 order to pick up the correct platform stackinfo.h.
27091 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27092 perform test if it is, otherwise return successfully without testing.
27093 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27094 DEFAULT_STACK_PERMS define in stackinfo.h.
27095 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27096 defined in stackinfo.h.
27097 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27098 DEFAULT_STACK_PERMS defined in stackinfo.h.
27099 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27100 * sysdeps/ia64/stackinfo.h: Likewise.
27101 * sysdeps/s390/stackinfo.h: Likewise.
27102 * sysdeps/sh/stackinfo.h: Likewise.
27103 * sysdeps/sparc/stackinfo.h: Likewise.
27104 * sysdeps/x86_64/stackinfo.h: Likewise.
27105 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27106 PF_X for powerpc64. Retain PF_X for powerpc32.
27107
db753e2c
UD
271082010-12-19 Ulrich Drepper <drepper@gmail.com>
27109
14b697f7
UD
27110 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27111 accurately.
db753e2c
UD
27112 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27113 GETDENTS_64BIT_ALIGNED.
27114
28300719
UD
271152010-12-14 Ulrich Drepper <dreper@gmail.com>
27116
14b697f7 27117 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27118
4f197237
AS
271192010-12-10 Andreas Schwab <schwab@redhat.com>
27120
dbb0472f
AS
27121 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27122 _GNU_SOURCE.
27123
4f197237
AS
27124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27125 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27126 Remove __restrict.
27127 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27128 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27129
fb88ac72
UD
271302010-12-09 Ulrich Drepper <drepper@gmail.com>
27131
27132 [BZ #11655]
27133 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27134 are initialized.
27135
42acbb92
JJ
271362010-12-09 Jakub Jelinek <jakub@redhat.com>
27137
27138 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27139
c038d98d
UD
271402010-12-03 Ulrich Drepper <drepper@gmail.com>
27141
27142 * po/it.po: Update from translation team.
27143
3a4a2499
L
271442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27145
27146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27147 unused codes.
27148
1e24cf6e
UD
271492010-11-30 Ulrich Drepper <drepper@gmail.com>
27150
27151 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27152
a7690819
AS
271532010-11-24 Andreas Schwab <schwab@redhat.com>
27154
27155 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27156 specially.
27157 (gaih_getanswer_slice): Likewise.
27158
3bf8d1b1
JJ
271592010-10-20 Jakub Jelinek <jakub@redhat.com>
27160
27161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27162
6db52fbb
PB
271632010-05-31 Petr Baudis <pasky@suse.cz>
27164
27165 [BZ #11149]
27166 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27167 silently even in the chroot mode.
27168
eaca7569
UD
271692010-11-22 Ulrich Drepper <drepper@gmail.com>
27170
27171 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27172 last patch a bit. Pretty printing
27173
3056dcdb
UD
271742010-05-31 Petr Baudis <pasky@suse.cz>
27175
27176 [BZ #10085]
27177 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27178 initialization of skip_initgroups_dyn.
27179
cf7c9078
UD
271802010-11-19 Ulrich Drepper <drepper@gmail.com>
27181
27182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27184
a1fb5e3e
UD
271852010-11-16 Ulrich Drepper <drepper@gmail.com>
27186
27187 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27188
3540d66b
AS
271892010-11-11 Andreas Schwab <schwab@redhat.com>
27190
27191 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27192 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27193 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27194 ($(objpfx)tst-fnmatch-mem): New rule.
27195 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27196 * posix/tst-fnmatch.c (main): Call mtrace.
27197
13b69574
L
271982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27199
27200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27201 Support Intel processor model 6 and model 0x2c.
27202
da93d214
LM
272032010-11-10 Luis Machado <luisgpm@br.ibm.com>
27204
27205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27206 signed comparison.
27207
8ca52c6e
L
272082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27209
27210 [BZ #12205]
27211 * string/test-strncasecmp.c (check_result): New function.
27212 (do_one_test): Use it.
27213 (check1): New function.
27214 (test_main): Use it.
27215 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27216 Support strcasecmp and strncasecmp.
27217
69da074d
UD
272182010-11-08 Ulrich Drepper <drepper@gmail.com>
27219
27220 [BZ #12194]
27221 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27223
ff02d528
L
272242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27225
27226 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27227 IFUNC support.
27228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27229 memset-x86-64.
27230 * sysdeps/x86_64/multiarch/bzero.S: New file.
27231 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27232 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27233 * sysdeps/x86_64/multiarch/memset.S: New file.
27234 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27236 Set bit_Prefer_SSE_for_memop for Intel processors.
27237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27238 Define.
27239 (index_Prefer_SSE_for_memop): Define.
27240 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27241
344d0b54
LM
272422010-11-04 Luis Machado <luisgpm@br.ibm.com>
27243
27244 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27245 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27246
c0dde15b
UD
272472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27248
27249 [BZ #12191]
27250 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27251 (__x86_64_raw_data_cache_size_half): Likewise.
27252 (__x86_64_raw_shared_cache_size): Likewise.
27253 (__x86_64_raw_shared_cache_size_half): Likewise.
27254
27255 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27256 (__x86_64_raw_data_cache_size_half): Likewise.
27257 (__x86_64_raw_shared_cache_size): Likewise.
27258 (__x86_64_raw_shared_cache_size_half): Likewise.
27259 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27260 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27261 and __x86_64_raw_shared_cache_size_half. Round
27262 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27263 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27264 to multiple of 256 bytes.
27265
0e516e0e
MS
272662010-11-03 Ulrich Drepper <drepper@gmail.com>
27267
27268 [BZ #12167]
27269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27270 of inacessible symlinks. Verify result of symlink before returning it.
27271 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27272 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27273
0e012e87
ER
272742010-10-28 Erich Ritz <erichritz@gmail.com>
27275
27276 * math/math.h (isinf): Fix typo in comment.
27277
de0ff7bc
UD
272782010-11-01 Ulrich Drepper <drepper@gmail.com>
27279
27280 * po/da.po: Update from translation team.
27281
fa41c84d
UD
272822010-10-26 Ulrich Drepper <drepper@gmail.com>
27283
27284 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27285 is added to the list.
27286
f0967738
AK
272872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27288 Ulrich Drepper <drepper@gmail.com>
27289
27290 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27291 the global list here. Move code to...
27292 (_dl_add_to_namespace_list): ...here. New function.
27293 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27294 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27295 * elf/dl-load.c (lose): Don't remove the element from the list.
27296 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27297 (_dl_map_object): Likewise.
27298
272992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27300
27301 [BZ #12159]
27302 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27303 into all bytes of SSE register.
27304 Patch by Richard Li <richardpku@gmail.com>.
27305
f0967738 273062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27307
27308 [BZ #12140]
27309 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27310 perturbing.
27311
d0b9e94f
MB
273122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27313
27314 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27315 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27316 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27317 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27319 submachine.
27320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27321
8e9f92e9
AS
273222010-10-22 Andreas Schwab <schwab@redhat.com>
27323
27324 * include/dlfcn.h (__RTLD_SECURE): Define.
27325 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27326 mode & __RTLD_SECURE instead.
27327 (open_path): Rename preloaded parameter to secure.
27328 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27329 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27330 * elf/dl-deps.c (openaux): Likewise.
27331 * elf/rtld.c (struct map_args): Remove is_preloaded.
27332 (map_doit): Don't use it.
27333 (dl_main): Likewise.
27334 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27335 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27336
bc96fbda
AS
273372010-09-09 Andreas Schwab <schwab@redhat.com>
27338
27339 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27340 (sysd-rules-targets): Remove duplicates.
27341 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27342 rtld-%.$o dependency.
27343
22cd1c9b
AS
273442010-10-18 Andreas Schwab <schwab@redhat.com>
27345
27346 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27347 _dl_map_object do it.
27348
18edac48
UD
273492010-10-19 Ulrich Drepper <drepper@gmail.com>
27350
27351 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27352 fast fma builtins, define the macros in the C99 standard.
27353 (FP_FAST_FMAF): Likewise.
27354 (FP_FAST_FMAL): Likewise.
27355 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27356
27357 * bits/mathdef.h: Update copyright year.
27358 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27359
d2050124
MM
273602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27361
27362 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27363 builtins, define the macros in the C99 standard.
27364 (FP_FAST_FMAF): Likewise.
27365 (FP_FAST_FMAL): Likewise.
27366 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27367 multiply/add.
27368 (FP_FAST_FMAF): Likewise.
27369
475facd1
JJ
273702010-10-15 Jakub Jelinek <jakub@redhat.com>
27371
27372 [BZ #3268]
27373 * math/libm-test.inc (fma_test): Some new testcases.
27374 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27376 y and infinite z. Do multiplication by C already in long double.
27377 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27379 y and infinite z. Do bitwise or of inexact bit into u.d.
27380 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27381 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27382 * sysdeps/i386/fpu/s_fma.S: Removed.
27383 * sysdeps/i386/fpu/s_fmal.S: Removed.
27384
7c08a05c
JJ
273852010-10-16 Jakub Jelinek <jakub@redhat.com>
27386
27387 [BZ #3268]
27388 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27390 computation is not scheduled after fetestexcept. Fix value
27391 of minimum denormal long double.
27392
f3f7372d
JJ
273932010-10-14 Jakub Jelinek <jakub@redhat.com>
27394
27395 [BZ #3268]
27396 * math/libm-test.inc (fma_test): Add some more tests.
27397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27398 correctly.
27399
14d43591
AS
274002010-10-15 Andreas Schwab <schwab@redhat.com>
27401
27402 * scripts/data/localplt-s390-linux-gnu.data: New file.
27403 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27404
5e908464
JJ
274052010-10-13 Jakub Jelinek <jakub@redhat.com>
27406
27407 [BZ #3268]
27408 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27409 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27410 instead of dbl-64.
27411 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27412 inlines.
27413 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27415 if one of x and y is very large and the other is subnormal.
27416 * sysdeps/s390/fpu/s_fmaf.c: New file.
27417 * sysdeps/s390/fpu/s_fma.c: New file.
27418 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27419 * sysdeps/powerpc/fpu/s_fma.S: New file.
27420 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27421 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27422 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27423
274242010-10-12 Jakub Jelinek <jakub@redhat.com>
27425
27426 [BZ #3268]
27427 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27428 fma tests.
27429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27430 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27431 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27432 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27433 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27434 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27436
b833d51f
UD
274372010-10-12 Ulrich Drepper <drepper@redhat.com>
27438
27439 [BZ #12078]
27440 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27441 * posix/bug-regex31.input: Add test case.
27442
1751705d
UD
274432010-10-11 Ulrich Drepper <drepper@gmail.com>
27444
e9b9cbf5
UD
27445 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27446 * posix/bug-regex31.input: New file.
27447
27448 [BZ #12078]
27449 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27450 (parse_sub_exp): Fix last change, use postorder.
27451
ef06edbe
UD
27452 * posix/bug-regex31.c: New file.
27453 * posix/Makefile: Add rules to build and run bug-regex31.
27454
a129c80d
UD
27455 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27456
27457 [BZ #12078]
27458 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27459
b76b818e
UD
27460 [BZ #12108]
27461 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27462 to have entries in sys_siglist.
27463
1751705d
UD
27464 [BZ #12093]
27465 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27466 be NULL.
27467
9ff8d36f
JJ
274682010-10-07 Jakub Jelinek <jakub@redhat.com>
27469
27470 [BZ #3268]
27471 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27472 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27473 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27474 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27475 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27476 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27477 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27478 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27479 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27480 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27481 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27482 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27483 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27484 * math/ftestexcept.c (fetestexcept): Likewise.
27485 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27486 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27487 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27488 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27489 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27490 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27491 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27492
af325969
UD
274932010-10-11 Ulrich Drepper <drepper@gmail.com>
27494
c579b202 27495 [BZ #12107]
af325969
UD
27496 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27497 newline.
27498
67a67b95
UD
274992010-10-06 Ulrich Drepper <drepper@gmail.com>
27500
27501 * string/bug-strstr1.c: New file.
27502 * string/Makefile: Add rules to build and run bug-strstr1.
27503
5fb308bc
EB
275042010-10-05 Eric Blake <eblake@redhat.com>
27505
27506 [BZ #12092]
27507 * string/str-two-way.h (two_way_long_needle): Always clear memory
27508 when skipping input due to the shift table.
27509
45db99c7
UD
275102010-10-03 Ulrich Drepper <drepper@gmail.com>
27511
3b111893
UD
27512 [BZ #12005]
27513 * malloc/mcheck.c: Handle large requests.
27514
45db99c7
UD
27515 [BZ #12077]
27516 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27517 for strncmp and strncasecmp.
27518 * string/stratcliff.c: Add tests for strcmp and strncmp.
27519 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27520
cf7a1eb8
NI
275212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27522
27523 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27524 __set_fpscr.
27525
6484ba5e
AJ
275262010-09-30 Andreas Jaeger <aj@suse.de>
27527
27528 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27529 (CGROUP_SUPER_MAGIC): Define.
27530 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27531 Handle btrfs and cgroup file systems.
27532 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27533 Likewise.
27534
91c42559
LM
275352010-09-27 Luis Machado <luisgpm@br.ibm.com>
27536
27537 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27538 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27539
87a97932
AK
275402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27541
27542 [BZ #12067]
27543 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27544 trying to locate the ELF header.
27545
c21cc9bc
AS
275462010-09-27 Andreas Schwab <schwab@redhat.com>
27547
27548 [BZ #11611]
27549 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27550 Mask out sign-bit copies when constructing f_fsid.
27551
315970f6
PB
275522010-09-24 Petr Baudis <pasky@suse.cz>
27553
27554 * debug/stack_chk_fail_local.c: Add missing licence exception.
27555 * debug/warning-nop.c: Likewise.
27556
1ac7a2c7
JM
275572010-09-15 Joseph Myers <joseph@codesourcery.com>
27558
27559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27560 implementing getdents64 using getdents syscall, set d_type if
27561 __ASSUME_GETDENTS32_D_TYPE.
27562
56801c50
AS
275632010-09-16 Andreas Schwab <schwab@redhat.com>
27564
27565 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27566 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27567
dda51327
UD
275682010-09-21 Ulrich Drepper <drepper@redhat.com>
27569
27570 [BZ #12037]
27571 * posix/unistd.h: Undo change of feature selection for ftruncate from
27572 2010-01-11.
27573
8ffcee4a
UD
275742010-09-20 Ulrich Drepper <drepper@redhat.com>
27575
a545ecd9 27576 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27577 detection.
27578
e24f0a8b
AS
275792010-09-20 Andreas Schwab <schwab@redhat.com>
27580
27581 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27582 fanotify_mark.
27583 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27584
7291c56f
AS
275852010-09-14 Andreas Schwab <schwab@redhat.com>
27586
27587 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27588 variables after CHECK_SP call.
27589 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27590
bc5fb037
AS
275912010-09-13 Andreas Schwab <schwab@redhat.com>
27592 Ulrich Drepper <drepper@redhat.com>
27593
27594 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27595 re-relocationg ld.so.
27596 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27597 _dl_init_paths call.
27598 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27599 here anymore.
27600
e66e7419
UD
276012010-09-14 Ulrich Drepper <drepper@redhat.com>
27602
27603 * resolv/res_init.c (__res_vinit): Count the default server we added.
27604
c044aa75
CLT
276052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27606 Ulrich Drepper <drepper@redhat.com>
27607
27608 [BZ #11968]
27609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27610 (____longjmp_chk): Use %ebx for saving value across system call.
27611 Add unwind info.
27612
32cf4069
AS
276132010-09-06 Andreas Schwab <schwab@redhat.com>
27614
27615 * manual/Makefile: Don't mix pattern rules with normal rules.
27616
817328ee
AS
276172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27618
27619 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27620 operation.
27621 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27622 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27623 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27624 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27626 Likewise.
27627
29fddf61
UD
276282010-09-04 Ulrich Drepper <drepper@redhat.com>
27629
27630 [BZ #11979]
27631 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27632 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27633
0959ffc9
UD
276342010-09-02 Ulrich Drepper <drepper@redhat.com>
27635
27636 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27637 * sysdeps/x86_64/addmul_1.S: Likewise.
27638 * sysdeps/x86_64/lshift.S: Likewise.
27639 * sysdeps/x86_64/mul_1.S: Likewise.
27640 * sysdeps/x86_64/rshift.S: Likewise.
27641 * sysdeps/x86_64/sub_n.S: Likewise.
27642 * sysdeps/x86_64/submul_1.S: Likewise.
27643
ece29840
ST
276442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27645
0959ffc9
UD
27646 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27647 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27648 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27649 * bits/sched.h [__need_schedparam]
ece29840 27650 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27651 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27652 (__defined_schedparam): Define to 1.
ece29840
ST
27653 (__sched_param): New structure, identical to sched_param.
27654 (__need_schedparam): Undefine.
27655
e53a31fe
MF
276562010-08-31 Mike Frysinger <vapier@gentoo.org>
27657
fdc0c10d
MF
27658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27659 (epoll_create1): Declare.
27660
e53a31fe
MF
27661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27662
a726d796
AS
276632010-08-31 Andreas Schwab <schwab@redhat.com>
27664
27665 [BZ #7066]
27666 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27667 shifting retval into place.
27668
2f3e3dc7
UD
276692010-09-01 Ulrich Drepper <drepper@redhat.com>
27670
f2933da9
UD
27671 * nis/rpcsvc/nis.h: Update copyright notice.
27672 * nis/rpcsvc/nis.x: Likewise.
27673 * nis/rpcsvc/nis_callback.h: Likewise.
27674 * nis/rpcsvc/nis_callback.x: Likewise.
27675 * nis/rpcsvc/nis_object.x: Likewise.
27676 * nis/rpcsvc/nis_tags.h: Likewise.
27677 * nis/rpcsvc/yp.h: Likewise.
27678 * nis/rpcsvc/yp.x: Likewise.
27679 * nis/rpcsvc/ypupd.h: Likewise.
27680 * nis/yp_xdr.c: Likewise.
27681 * nis/ypupdate_xdr.c: Likewise.
27682
2f3e3dc7
UD
27683 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27684 mainly the body of pmap_getport. Add parameters to specify timeouts.
27685 (pmap_getport): Use __libc_rpc_getport.
27686 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27687 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27688 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27689
f3dcc2f9
AS
276902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27691
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27693 fanotify_mark.
27694
6d34eb5b
RM
276952010-08-27 Roland McGrath <roland@redhat.com>
27696
27697 * sysdeps/i386/i686/multiarch/Makefile
27698 (CFLAGS-varshift.c): New variable.
27699
9ea3de11
UD
277002010-08-27 Ulrich Drepper <drepper@redhat.com>
27701
c96d23fc
UD
27702 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27703 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27704
9ea3de11
UD
27705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27706
27707 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27708
623aac7f
L
277092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27710
27711 * sysdeps/x86_64/strlen.S: Unroll the loop.
27712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27713 strlen-sse2 strlen-sse2-bsf.
27714 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27715 __strlen_no_bsf if bit_Slow_BSF is set.
27716 (__strlen_sse42): Removed.
27717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27718 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27719
8b2b7715
RM
277202010-08-25 Roland McGrath <roland@redhat.com>
27721
27722 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27723 * sysdeps/x86_64/multiarch/varshift.c: New file.
27724 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27725 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27726 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27727 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27728
e73015f2
L
277292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27732 strlen-sse2 strlen-sse2-bsf.
27733 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27734 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27735 (__strlen_sse2): Removed.
27736 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27737 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27739 bit_Slow_BSF for Atom.
27740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27741 (index_Slow_BSF): Define.
27742 (HAS_SLOW_BSF): Define.
27743
df24a73e
UD
277442010-08-25 Ulrich Drepper <drepper@redhat.com>
27745
27746 [BZ #10851]
27747 * resolv/res_init.c (__res_vinit): When no server address at all
27748 is given default to loopback.
27749
f2ac4868
RM
277502010-08-24 Roland McGrath <roland@redhat.com>
27751
09055553
RM
27752 * configure.in: Remove config-name.h generation.
27753 * configure: Regenerated.
27754 * config-name.in: File removed.
27755 * scripts/config-uname.sh: New file.
27756 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27757 ($(objdir)config-name.h): New target.
27758
f2ac4868
RM
27759 * sunrpc/rpc_parse.h: Avoid nested comment.
27760
73f27d5e
RH
277612010-08-24 Richard Henderson <rth@redhat.com>
27762 Ulrich Drepper <drepper@redhat.com>
27763 H.J. Lu <hongjiu.lu@intel.com>
27764
27765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27767 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27768 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27769 _mm_alignr_epi8 with _mm_loadu_si128.
27770 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27771 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27772 (__m128i_shift_right): Removed.
27773 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27774 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27775 * sysdeps/x86_64/multiarch/varshift.h: New file.
27776 * sysdeps/x86_64/multiarch/varshift.S: New file.
27777
84b9230c
MF
277782010-08-21 Mike Frysinger <vapier@gentoo.org>
27779
27780 * configure.in: Move assembler checks to before sysdep dir checking.
27781
9bbd0ddc
PB
277822010-08-20 Petr Baudis <pasky@suse.cz>
27783
27784 * LICENSES: Sync the sunrpc license.
27785
9da4bb31
UD
277862010-08-19 Ulrich Drepper <drepper@redhat.com>
27787
a7ab6ec8
UD
27788 * sunrpc/auth_des.c: Update copyright notice once again.
27789 * sunrpc/auth_none.c: Likewise.
27790 * sunrpc/auth_unix.c: Likewise.
27791 * sunrpc/authdes_prot.c: Likewise.
27792 * sunrpc/authuxprot.c: Likewise.
27793 * sunrpc/bindrsvprt.c: Likewise.
27794 * sunrpc/clnt_gen.c: Likewise.
27795 * sunrpc/clnt_perr.c: Likewise.
27796 * sunrpc/clnt_raw.c: Likewise.
27797 * sunrpc/clnt_simp.c: Likewise.
27798 * sunrpc/clnt_tcp.c: Likewise.
27799 * sunrpc/clnt_udp.c: Likewise.
27800 * sunrpc/clnt_unix.c: Likewise.
27801 * sunrpc/des_crypt.c: Likewise.
27802 * sunrpc/des_soft.c: Likewise.
27803 * sunrpc/get_myaddr.c: Likewise.
27804 * sunrpc/getrpcport.c: Likewise.
27805 * sunrpc/key_call.c: Likewise.
27806 * sunrpc/key_prot.c: Likewise.
27807 * sunrpc/openchild.c: Likewise.
27808 * sunrpc/pm_getmaps.c: Likewise.
27809 * sunrpc/pm_getport.c: Likewise.
27810 * sunrpc/pmap_clnt.c: Likewise.
27811 * sunrpc/pmap_prot.c: Likewise.
27812 * sunrpc/pmap_prot2.c: Likewise.
27813 * sunrpc/pmap_rmt.c: Likewise.
27814 * sunrpc/rpc/auth.h: Likewise.
27815 * sunrpc/rpc/auth_unix.h: Likewise.
27816 * sunrpc/rpc/clnt.h: Likewise.
27817 * sunrpc/rpc/des_crypt.h: Likewise.
27818 * sunrpc/rpc/key_prot.h: Likewise.
27819 * sunrpc/rpc/netdb.h: Likewise.
27820 * sunrpc/rpc/pmap_clnt.h: Likewise.
27821 * sunrpc/rpc/pmap_prot.h: Likewise.
27822 * sunrpc/rpc/pmap_rmt.h: Likewise.
27823 * sunrpc/rpc/rpc.h: Likewise.
27824 * sunrpc/rpc/rpc_des.h: Likewise.
27825 * sunrpc/rpc/rpc_msg.h: Likewise.
27826 * sunrpc/rpc/svc.h: Likewise.
27827 * sunrpc/rpc/svc_auth.h: Likewise.
27828 * sunrpc/rpc/types.h: Likewise.
27829 * sunrpc/rpc/xdr.h: Likewise.
27830 * sunrpc/rpc_clntout.c: Likewise.
27831 * sunrpc/rpc_cmsg.c: Likewise.
27832 * sunrpc/rpc_common.c: Likewise.
27833 * sunrpc/rpc_cout.c: Likewise.
27834 * sunrpc/rpc_dtable.c: Likewise.
27835 * sunrpc/rpc_hout.c: Likewise.
27836 * sunrpc/rpc_main.c: Likewise.
27837 * sunrpc/rpc_parse.c: Likewise.
27838 * sunrpc/rpc_parse.h: Likewise.
27839 * sunrpc/rpc_prot.c: Likewise.
27840 * sunrpc/rpc_sample.c: Likewise.
27841 * sunrpc/rpc_scan.c: Likewise.
27842 * sunrpc/rpc_scan.h: Likewise.
27843 * sunrpc/rpc_svcout.c: Likewise.
27844 * sunrpc/rpc_tblout.c: Likewise.
27845 * sunrpc/rpc_util.c: Likewise.
27846 * sunrpc/rpc_util.h: Likewise.
27847 * sunrpc/rpcinfo.c: Likewise.
27848 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27849 * sunrpc/rpcsvc/key_prot.x: Likewise.
27850 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27851 * sunrpc/rpcsvc/mount.x: Likewise.
27852 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27853 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27854 * sunrpc/rpcsvc/rex.x: Likewise.
27855 * sunrpc/rpcsvc/rstat.x: Likewise.
27856 * sunrpc/rpcsvc/rusers.x: Likewise.
27857 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27858 * sunrpc/rpcsvc/spray.x: Likewise.
27859 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27860 * sunrpc/rtime.c: Likewise.
27861 * sunrpc/svc.c: Likewise.
27862 * sunrpc/svc_auth.c: Likewise.
27863 * sunrpc/svc_authux.c: Likewise.
27864 * sunrpc/svc_raw.c: Likewise.
27865 * sunrpc/svc_run.c: Likewise.
27866 * sunrpc/svc_simple.c: Likewise.
27867 * sunrpc/svc_tcp.c: Likewise.
27868 * sunrpc/svc_udp.c: Likewise.
27869 * sunrpc/svc_unix.c: Likewise.
27870 * sunrpc/svcauth_des.c: Likewise.
27871 * sunrpc/xcrypt.c: Likewise.
27872 * sunrpc/xdr.c: Likewise.
27873 * sunrpc/xdr_array.c: Likewise.
27874 * sunrpc/xdr_float.c: Likewise.
27875 * sunrpc/xdr_mem.c: Likewise.
27876 * sunrpc/xdr_rec.c: Likewise.
27877 * sunrpc/xdr_ref.c: Likewise.
27878 * sunrpc/xdr_sizeof.c: Likewise.
27879 * sunrpc/xdr_stdio.c: Likewise.
27880
9da4bb31
UD
27881 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27882 handling.
27883
bdaa77bc
AS
278842010-08-19 Andreas Schwab <schwab@redhat.com>
27885
27886 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27887
fe2f79db
LM
278882010-08-19 Luis Machado <luisgpm@br.ibm.com>
27889
27890 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27892 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27893 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27894 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27895 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27896 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27897 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27898 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27899 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27900 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27901 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27902 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27903 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27904
b9b42ee0
AB
279052010-07-26 Anton Blanchard <anton@samba.org>
27906
27907 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27908 * malloc/arena.c (heap_trim): Likewise.
27909
1c06ba31
UD
279102010-08-16 Ulrich Drepper <drepper@redhat.com>
27911
27912 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27913 here. Not...
27914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27915 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27916
f8392f40
L
279172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27918
27919 * sysdeps/i386/elf/Makefile: New file.
27920
3162f12e
AS
279212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27922
27923 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27924 from fanotify_init.
27925 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27927
28c90b2c
UD
279282010-08-15 Ulrich Drepper <drepper@redhat.com>
27929
27930 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27931 of strncasecmp_l.
1feccb6c 27932 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27933
ca6bb004
UD
279342010-08-14 Ulrich Drepper <drepper@redhat.com>
27935
e9f82e0d
UD
27936 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27937 strncase_l-nonascii.
27938 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27939 Add strncase_l-ssse3.
27940 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27941 * sysdeps/x86_64/strcmp.S: Likewise.
27942 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27943 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27944 * sysdeps/x86_64/strncase.S: New file.
27945 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27946 * sysdeps/x86_64/strncase_l.S: New file.
27947 * string/Makefile (strop-tests): Add strncasecmp.
27948 * string/test-strncasecmp.c: New file.
27949
27950 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27951 warning.
27952
ca6bb004
UD
27953 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27954 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27955
052fa7b3
AS
279562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27957
27958 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27959
962dba78
UD
279602010-08-12 Ulrich Drepper <drepper@redhat.com>
27961
27962 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27965
bebff237
AM
279662010-05-01 Alan Modra <amodra@gmail.com>
27967
27968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27969 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27970 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27971 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27972 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27973 tidying. Don't tail-call __sigjmp_save for static lib.
27974 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27975 save location.
27976 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27977 (CALL_MCOUNT): Add eh info, and nop after bl.
27978 (TAIL_CALL_SYSCALL_ERROR): New macro.
27979 (PSEUDO_RET): Use it.
27980 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27981 Correct save location of integer regs and cr.
27982 (_dl_profile_resolve): Correct cr save location. Delete nops
27983 after bl when SHARED. Reduce cfi size a little by better
27984 placement of cfi directives.
27985 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27986 make a stack frame. Instead use parm save area as a temp.
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27988 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27990 Don't make a stack frame for parent, use parm save area.
27991 Increase child stack frame to 112 bytes. Don't save unused reg,
27992 and adjust reg usage. Set up cfi on error recovery and
27993 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27995 (__makecontext): Add dummy nop after jump to exit.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27997 Use correct parm save area and cr save, reduce stack frame.
27998 Correct cfi for possible PSEUDO_RET frame setup.
27999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28000 Branch to local label emitted by PSEUDO_RET rather than
28001 __syscall_error.
28002
02637374
AS
280032010-08-12 Andreas Schwab <schwab@redhat.com>
28004
28005 [BZ #11904]
28006 * locale/programs/locale.c (print_assignment): New function.
28007 (show_locale_vars): Use it.
28008
c3e2f19b
UD
280092010-08-11 Ulrich Drepper <drepper@redhat.com>
28010
3cdaa6ad
UD
28011 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28012 field.
28013 (struct statfs64): Likewise.
28014 (_STATFS_F_FLAGS): Define.
28015 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28017 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28018 (ST_VALID): Define locally.
28019 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28020 __statvfs_getflags, use the provided value.
28021 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28022 __ASSUME_STATFS_F_FLAGS.
28023
754f7da3
UD
28024 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28025
10b3bedc
UD
28026 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28027 Add sys/fanotify.h.
28028 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28029 fanotify_mask for GLIBC_2.13.
28030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28031 fanotify_init and fanotify_mark.
28032 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28033 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28034
c08fb0d7
UD
28035 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28036 Add prlimit.
28037 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28038 prlimit64 for GLIBC_2.13.
28039 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28040 prlimit64.
28041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28042 syscall.
28043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28045 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28046 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28048 add prlimit alias.
28049 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28050
15bac72b
UD
28051 [BZ #11903]
28052 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28053 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28054
c3e2f19b
UD
28055 * nss/Makefile: Add rules to build and run tst-nss-test1.
28056 * shlib-versions: Add entry for libnss_test1.
28057 * nss/nss_test1.c: New file.
28058 * nss/tst-nss-test1.c: New file.
28059
28060 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28061 (__nss_configure_lookup): Set appropriate entry in
28062 __nss_configure_lookup to true.
28063 * nss/nsswitch.h: Define enum with indeces of databases in
28064 databases and __nss_database_custom arrays. Declare
28065 __nss_database_custom.
28066 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28067 to avoid using nscd when custom rules are installed.
28068 * nss/getXXbyYY_r.c: Likewise.
28069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28070
28071 * nss/nss_files/files-parse.c: Whitespace fixes.
28072
f15ce4d8
UD
280732010-08-09 Ulrich Drepper <drepper@redhat.com>
28074
28075 [BZ #11883]
28076 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28077 * posix/fnmatch_loop.c: Likewise.
28078
d22e4cc9
AK
280792010-07-17 Andi Kleen <ak@linux.intel.com>
28080
28081 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28082 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28083 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28084 * Versions.def [GLIBC_2.13]: Add.
28085
805bc17d
UD
280862010-08-06 Ulrich Drepper <drepper@redhat.com>
28087
28088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28089 Also fail if tpwd after pwuid call is NULL.
28090
5a42321d
ST
280912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28092
28093 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28094 when converting to ms.
28095
fd3ebeda
ST
280962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28097
28098 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28099 EOPNOTSUPP errors with ENOTTY.
28100 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28101 EOPNOTSUPP errors with ENOTTY.
28102
73507d3a
UD
281032010-07-31 Ulrich Drepper <drepper@redhat.com>
28104
28105 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28106 Add strcasecmp_l-ssse3.
28107 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28108 strcasecmp.
28109 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28110 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28111 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28112
fe36dd02
UD
281132010-07-30 Ulrich Drepper <drepper@redhat.com>
28114
66f6765a
UD
28115 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28116
42e08a54
UD
28117 * string/Makefile (strop-tests): Add strcasecmp.
28118 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28119 strcasecmp_l-nonascii.
28120 (gen-as-const-headers): Add locale-defines.sym.
28121 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28122 * sysdeps/x86_64/strcasecmp.S: New file.
28123 * sysdeps/x86_64/strcasecmp_l.S: New file.
28124 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28125 * sysdeps/x86_64/locale-defines.sym: New file.
28126 * string/test-strcasecmp.c: New file.
28127
fe36dd02
UD
28128 * string/test-strcasestr.c: Test both ends of the range of characters.
28129 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28130
48cbc0d6
RM
281312010-07-29 Roland McGrath <roland@redhat.com>
28132
76e6d6bc 28133 [BZ #11856]
48cbc0d6
RM
28134 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28135
880113d9
UD
281362010-07-27 Ulrich Drepper <drepper@redhat.com>
28137
28138 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28139 for ld.so.
28140
deb9cabb
AS
281412010-07-27 Andreas Schwab <schwab@redhat.com>
28142
28143 * manual/memory.texi (Malloc Tunable Parameters): Document
28144 M_PERTURB.
28145
1c7570ff
RM
281462010-07-26 Roland McGrath <roland@redhat.com>
28147
28148 [BZ #11840]
28149 * configure.in (-fgnu89-inline check): Set and substitute
28150 gnu89_inline, not libc_cv_gnu89_inline.
28151 * configure: Regenerated.
28152 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28153
24fb0f88
UD
281542010-07-26 Ulrich Drepper <drepper@redhat.com>
28155
28156 * string/test-strnlen.c: New file.
28157 * string/Makefile (strop-tests): Add strnlen.
28158 * string/tester.c (test_strnlen): Add a few more test cases.
28159 * string/tst-strlen.c: Better error reporting.
28160
28161 * sysdeps/x86_64/strnlen.S: New file.
28162
8e96b93a
UD
281632010-07-24 Ulrich Drepper <drepper@redhat.com>
28164
28165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28166 lower-latency instructions.
28167
dbc676d4
UD
281682010-07-23 Ulrich Drepper <drepper@redhat.com>
28169
28170 * string/test-strcasestr.c: New file.
28171 * string/test-strstr.c: New file.
28172 * string/Makefile (strop-tests): Add strstr and strcasestr.
28173 * string/str-two-way.h: Don't undefine MAX.
28174 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28175
f6a31e0e
AS
281762010-07-21 Andreas Schwab <schwab@redhat.com>
28177
28178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28179 strcasestr-nonascii.
28180 (CFLAGS-strcasestr-nonascii.c): Define.
28181 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28183 Remove unused attribute.
28184
5dbc3b6c
RM
281852010-07-20 Roland McGrath <roland@redhat.com>
28186
28187 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28188 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28189 ld.so.cache was broken. With it, there is no way to disable dsocaps
28190 like LD_HWCAP_MASK can disable hwcaps.
28191
23d101d8
EPM
281922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28193
28194 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28195
cc9f2e47
UD
281962010-07-16 Ulrich Drepper <drepper@redhat.com>
28197
28198 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28199 call in strcasestr.
28200 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28201 __strcasestr_sse42_nonascii.
28202 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28203 strcasestr-nonascii.c.
28204 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28205
77c1b069
LM
282062010-06-15 Luis Machado <luisgpm@br.ibm.com>
28207
28208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28209 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28211 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28212
440566c3
UD
282132010-07-09 Ulrich Drepper <drepper@redhat.com>
28214
28215 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28216 fcntl.
28217
5be9d05d
AS
282182010-07-06 Andreas Schwab <schwab@redhat.com>
28219
c30b7ee2 28220 [BZ #11577]
5be9d05d
AS
28221 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28222 dl_signal_cerror.
28223
8a492a67
UD
282242010-07-06 Ulrich Drepper <drepper@redhat.com>
28225
28226 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28227 _PC_PIPE_BUF using F_GETPIPE_SZ.
28228
713df3d5
RM
282292010-07-05 Roland McGrath <roland@redhat.com>
28230
28231 * manual/arith.texi (Rounding Functions): Fix rint description
28232 implicit in round description.
28233
702e8f14
UD
282342010-07-02 Ulrich Drepper <drepper@redhat.com>
28235
28236 * elf/Makefile: Fix linking for a few tests to make recent linker
28237 happy.
28238
52ed8be9
AS
282392010-06-30 Andreas Schwab <schwab@redhat.com>
28240
28241 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28242 $(common-objpfx)libc_nonshared.a.
28243
f47c9a11
LM
282442010-06-21 Luis Machado <luisgpm@br.ibm.com>
28245
28246 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28247 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28248 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28249 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28250 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28251 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28252 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28253 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28268 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28269 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28270 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28271 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28272 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28273 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28274 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28275 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28276 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28277 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28278 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28279 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28294
6fb8cbcb
L
282952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28298 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28299 * string/memmove.c (memmove): Renamed to ...
28300 (MEMMOVE): ...this. Default to memmove.
28301 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28302 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28303 (END_CHK): Define.
28304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28305 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28306 mempcpy-ssse3-back memmove-ssse3-back.
28307 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28309 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28310 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28311 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28312 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28313 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28314 * sysdeps/x86_64/multiarch/memmove.c: New file.
28315 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28316 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28317 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28318 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28319 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28321 Define.
28322 (index_Fast_Copy_Backward): Define.
28323 (HAS_ARCH_FEATURE): Define.
28324 (HAS_FAST_REP_STRING): Define.
28325 (HAS_FAST_COPY_BACKWARD): Define.
28326
4e733bac 283272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28328
28329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28330 Restore proper fallback handling.
28331
63c4ed22
UD
283322010-06-19 Ulrich Drepper <drepper@redhat.com>
28333
ac2b484c
UD
28334 [BZ #11701]
28335 * posix/group_member.c (__group_member): Correct checking loop.
28336
63c4ed22
UD
28337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28338 OOM in getpwuid_r correctly. Return error number when the caller
28339 should return, otherwise -1.
28340 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28341 call returning > 0 value.
28342 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28343
765ade4b
AS
283442010-06-07 Andreas Schwab <schwab@redhat.com>
28345
28346 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28347 libc_nonshared.a from targets in modules-names.
28348
80da2e09
KS
283492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28350
28351 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28352 requires it.
28353
158db122
LM
283542010-06-10 Luis Machado <luisgpm@br.ibm.com>
28355
28356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28357 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28360
caa78cf8
AS
283612010-06-02 Andreas Schwab <schwab@redhat.com>
28362
28363 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28364
b2ef2c01
UD
283652010-06-14 Ulrich Drepper <drepper@redhat.com>
28366
28367 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28368 and F_GETPIPE_SZ.
28369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28373 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28375
fbd643b6
RM
283762010-06-14 Roland McGrath <roland@redhat.com>
28377
28378 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28379
f32f2869
JJ
283802010-06-07 Jakub Jelinek <jakub@redhat.com>
28381
28382 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28383 __REDIRECT followed by __THROW.
28384 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28385 * posix/getopt.h (getopt): Likewise.
28386
2a50c078
EPM
283872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28388
28389 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28390 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28391 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28392 in AT_FLAGS.
28393 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28394 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28395
eb5ad2eb
LM
283962010-05-28 Luis Machado <luisgpm@br.ibm.com>
28397
28398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28399
3c88fe1e
L
284002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 [BZ #11640]
28403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28404 Properly check family and model.
28405
d2f73151
TY
284062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28407
28408 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28409
ebd2e13d
LM
284102010-05-24 Luis Machado <luisgpm@br.ibm.com>
28411
28412 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28413
b32b8b45
UD
284142010-05-21 Ulrich Drepper <drepper@redhat.com>
28415
28416 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28417 symbol reference.
28418
9acbe24d
AS
284192010-05-19 Andreas Schwab <schwab@redhat.com>
28420
28421 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28422 symbol reference.
28423
f0ccf6ea
AS
284242010-05-21 Andreas Schwab <schwab@redhat.com>
28425
3d04ff3a
AS
28426 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28427 and internal_recvmmsg.
28428 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28429 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28430 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28431 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28432
f0ccf6ea
AS
28433 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28434 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28435 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28436
5b08ac57
AS
284372010-05-20 Andreas Schwab <schwab@redhat.com>
28438
28439 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28440
4828935d
LM
284412010-05-17 Luis Machado <luisgpm@br.ibm.com>
28442
28443 POWER7 optimizations.
28444 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28445 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28446
373d545e
UD
284472010-05-19 Ulrich Drepper <drepper@redhat.com>
28448
28449 * version.h: Update for 2.13 development version.
28450
21a2b1ae
AS
284512010-05-12 Andrew Stubbs <ams@codesourcery.com>
28452
28453 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28454 exceptions. Return 0.
28455
3f7dcb2b
RM
284562010-05-07 Roland McGrath <roland@redhat.com>
28457
28458 * elf/ldconfig.c (main): Add a const.
28459
5f24d53a 284602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28461
a160f8d8
UD
28462 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28463 (args_options): Add no-idn option.
28464 (ahosts_keys_int): Add idn_flags to ai_flags.
28465 (parse_option): Handle 'i' option to clear idn_flags.
28466
5f24d53a
UD
28467 * malloc/malloc.c (_int_free): Possible race in the most recently
28468 added check. Only act on the data if no current modification
28469 happened.
265bb1ce
UD
28470
28471See ChangeLog.17 for earlier changes.