]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix stub setrlimit implementation.
[thirdparty/glibc.git] / ChangeLog
1 2013-05-06 Roland McGrath <roland@hack.frob.com>
2
3 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4 (setrlimit): Define as weak alias.
5
6 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7 Call __ names for open, ftruncate, and close.
8 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9 (truncate): Define as weak alias.
10
11 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12
13 * math/gen-libm-test.pl (parse_args): Initialize x before each
14 test of frexp, modf and remquo.
15
16 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17 test signgam value.
18
19 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 [BZ #15418]
22 [BZ #15419]
23 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24 internal tests.
25 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26
27 2013-05-06 Roland McGrath <roland@hack.frob.com>
28
29 * elf/dl-writev.h: New file.
30 * elf/dl-misc.c: Include it.
31 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33
34 2013-05-04 Joseph Myers <joseph@codesourcery.com>
35
36 * math/libm-test.inc (noXFails): Remove variable.
37 (noXPasses): Likewise.
38 (BUILD_COMPLEX_INT): Remove macro.
39 (print_screen): Remove xfail argument.
40 (print_screen_max_error): Likewise.
41 (update_stats): Likewise.
42 (print_max_error): Likewise. Update calls to other affected
43 functions.
44 (print_complex_max_error): Likewise.
45 (test_single_exception): Update calls to print_screen.
46 (test_single_errno): Likewise.
47 (check_float_internal): Remove xfail argument. Update calls to
48 other affected functions.
49 (check_float): Likewise.
50 (check_complex): Likewise.
51 (check_int): Likewise.
52 (check_long): Likewise.
53 (check_bool): Likewise.
54 (check_longlong): Likewise.
55 (main): Don't print noXFails and noXPasses.
56 * math/gen-libm-test.pl (top level): Don't mention expected
57 failure handling in comment.
58 (new_test): Don't handle expected failures.
59 (parse_args): Don't mention expected failure handling in comment.
60 (generate_testfile): Don't handle expected failures.
61 (parse_ulps): Likewise.
62 (print_ulps_file): Likewise.
63 (get_failure): Remove function.
64 (output_test): Don't handle expected failures.
65 * make/README.libm-test: Don't mention expected failure handling.
66
67 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68 (minus_zero): Likewise.
69 (plus_infty): Likewise.
70 (minus_infty): Likewise.
71 (qnan_value): Likewise.
72 (max_value): Likewise.
73 (min_value): Likewise.
74 (min_subnorm_value): Likewise.
75 (initialize): Do not initialize those variables dynamically.
76
77 2013-05-03 Roland McGrath <roland@hack.frob.com>
78
79 * io/open.c (__open_2): Moved to ...
80 * io/open_2.c: ... this new file.
81 * io/open64.c (__open64_2): Moved to ...
82 * io/open64_2.c: ... this new file.
83 * io/openat.c (__openat_2): Moved to ...
84 * io/openat_2.c: ... this new file.
85 * io/openat64.c (__openat64_2): Moved to ...
86 * io/openat64_2.c: ... this new file.
87 * io/Makefile (routines): Add them.
88 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
89 * sysdeps/unix/sysv/linux/open_2.c: File removed.
90 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
91 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
92 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
93 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
94 (__openat64): Add hidden_ver.
95 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
96 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
97
98 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
99 Separately conditionalize setting of GLRO(dl_sysinfo) so
100 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
101 as well, but the actual setting is only under [NEED_DL_SYSINFO].
102
103 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
106 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
107 definition.
108 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
109 * sysdeps/unix/sysv/linux/powerpc/init-first.c
110 (_libc_vdso_platform_setup): Add __vdso_time initialization.
111 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
112 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
113
114 2013-05-03 Joseph Myers <joseph@codesourcery.com>
115
116 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
117 test signgam value.
118
119 * math/libm-test.inc (hypot_test): Do not use
120 IGNORE_ZERO_INF_SIGN.
121
122 2013-05-03 Andreas Jaeger <aj@suse.de>
123
124 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
125 Linux 3.9.
126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
127 (PF_MAX): Adjust for VSOCK change.
128
129 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130
131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
132
133 2013-05-02 Carlos O'Donell <carlos@redhat.com>
134
135 [BZ #15264]
136 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
137 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
138 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
139
140 2013-05-02 David S. Miller <davem@davemloft.net>
141
142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
143
144 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
145
146 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
147
148 2013-05-01 Roland McGrath <roland@hack.frob.com>
149
150 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
151
152 2013-05-01 Richard Smith <richard@metafoo.co.uk>
153
154 [BZ #14952]
155 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
156 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
157 Use __attribute__ ((__gnu_inline__)).
158 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
159 Don't use __attribute__ ((__gnu_inline__)).
160
161 2013-05-01 Joseph Myers <joseph@codesourcery.com>
162
163 [BZ #15423]
164 * math/s_catan.c (__catan): Handle small real or imaginary part of
165 input specially to avoid spurious underflow.
166 * math/s_catanf.c (__catanf): Likewise.
167 * math/s_catanh.c (__catanh): Likewise.
168 * math/s_catanhf.c (__catanhf): Likewise.
169 * math/s_catanhl.c (__catanhl): Likewise.
170 * math/s_catanl.c (__catanl): Likewise.
171 * math/libm-test.inc (catan_test): Add more tests.
172 (catanh_test): Likewise.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175
176 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
179
180 2013-04-30 Joseph Myers <joseph@codesourcery.com>
181
182 [BZ #15416]
183 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
184 accurately for denominator in atan2.
185 * math/s_catanf.c (__catanf): Likewise.
186 * math/s_catanh.c (__catanh): Likewise.
187 * math/s_catanhf.c (__catanhf): Likewise.
188 * math/s_catanhl.c (__catanhl): Likewise.
189 * math/s_catanl.c (__catanl): Likewise.
190 * math/libm-test.inc (catan_test): Add more tests.
191 (catanh_test): Likewise.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
194
195 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
196
197 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
198
199 * benchtests/Makefile (bench): Remove slow benchmarks.
200 * benchtests/atan-inputs: Add slow benchmark inputs.
201 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
202 (BENCH_FUNC): Accept variant offset.
203 (VARIANT): Define.
204 * benchtests/bench-skeleton.c (main): Run benchmark for each
205 variant.
206 * benchtests/cos-inputs: Add slow benchmark inputs.
207 * benchtests/exp-inputs: Likewise.
208 * benchtests/pow-inputs: Likewise.
209 * benchtests/sin-inputs: Likewise.
210 * benchtests/slowatan-inputs: Remove.
211 * benchtests/slowatan.c: Remove.
212 * benchtests/slowcos-inputs: Remove.
213 * benchtests/slowcos.c: Remove.
214 * benchtests/slowexp-inputs: Remove.
215 * benchtests/slowexp.c: Remove.
216 * benchtests/slowpow-inputs: Remove.
217 * benchtests/slowpow.c: Remove.
218 * benchtests/slowsin-inputs: Remove.
219 * benchtests/slowsin.c: Remove.
220 * benchtests/slowtan-inputs: Remove.
221 * benchtests/slowtan.c: Remove.
222 * benchtests/tan-inputs: Add slow benchmark inputs.
223 * scripts/bench.pl: Parse comments and directives.
224
225 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
226 in CPPFLAGS.
227 ($(objpfx)bench-%.c): Remove *-ITER.
228 * benchtests/bench-modf.c: Remove definition of ITER.
229 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
230 (main): Loop for DURATION seconds instead of fixed number of
231 iterations.
232 * scripts/bench.pl: Don't expect iterations in parameters.
233
234 2013-04-29 Roland McGrath <roland@hack.frob.com>
235
236 * io/fchdir.c (__fchdir): Renamed from fchdir.
237 (fchdir): Define as weak alias.
238
239 2013-04-29 Joseph Myers <joseph@codesourcery.com>
240
241 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
242 (ERRNO_EDOM): Likewise.
243 (ERRNO_ERANGE): Likewise.
244 (noErrnoTests): New variable.
245 (init_max_error): Set errno to 0.
246 (test_single_errno): New function.
247 (test_errno): Likewise.
248 (check_float_internal): Call test_errno. Set errno to 0.
249 (check_complex): Refer to errno tests in comment.
250 (check_int): Call test_errno. Set errno to 0.
251 (check_long): Likewise.
252 (check_bool): Likewise.
253 (check_longlong): Likewise.
254 (cos_test): Use ERRNO_* flags for errno tests instead of
255 check_int.
256 (expm1_test): Likewise.
257 (fmod_test): Likewise.
258 (ilogb_test): Likewise.
259 (lgamma_test): Likewise.
260 (pow_test): Likewise.
261 (remainder_test): Likewise.
262 (sin_test): Likewise.
263 (tan_test): Likewise.
264 (yn_test): Likewise.
265 (initialize): Set errno to 0.
266 (main): Print number of errno tests.
267 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
268
269 2013-04-29 Andreas Jaeger <aj@suse.de>
270
271 [BZ #15084]
272 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
273 and RES_USEVC.
274
275 [BZ #15085]
276 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
277 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
278 unimplemented.
279
280 [BZ #15380]
281 * stdlib/random.c (__initstate): Return NULL if
282 __initstate fails.
283
284 [BZ #15086]
285 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
286 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
287 RES_SNGLKUPREOP.
288
289 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
292
293 2013-04-29 Joseph Myers <joseph@codesourcery.com>
294
295 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
296 of individual tests.
297 (casin_test): Likewise.
298 (casinh_test): Likewise.
299
300 2013-04-27 Joseph Myers <joseph@codesourcery.com>
301
302 [BZ #15409]
303 * math/s_catan.c (__catan): Handle arguments with large real or
304 imaginary part separately without squaring.
305 * math/s_catanf.c (__catanf): Likewise.
306 * math/s_catanh.c (__catanh): Likewise.
307 * math/s_catanhf.c (__catanhf): Likewise.
308 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
309 and redefine.
310 (__catanhl): Handle arguments with large real or imaginary part
311 separately without squaring.
312 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
313 and redefine.
314 (__catanl): Handle arguments with large real or imaginary part
315 separately without squaring.
316 * math/libm-test.inc (catan_test): Add more tests.
317 (catanh_test): Likewise.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
321 2013-04-27 Andreas Jaeger <aj@suse.de>
322
323 [BZ #15007]
324 * stdlib/stdlib.h: Update guards for qecvt.
325 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
326 <stdlib.h>.
327
328 2013-04-27 Allan McRae <allan@archlinux.org>
329
330 * sysdeps/i386/fpu/libm-test-ulps: Update.
331
332 2013-04-26 Joseph Myers <joseph@codesourcery.com>
333
334 [BZ #15406]
335 * math/s_catan.c: Include <float.h>.
336 (__catan): Ensure underflow exception occurs for underflowed
337 result.
338 * math/s_catanf.c: Include <float.h>.
339 (__catanf): Ensure underflow exception occurs for underflowed
340 result.
341 * math/s_catanh.c: Include <float.h>.
342 (__catanh): Ensure underflow exception occurs for underflowed
343 result.
344 * math/s_catanhf.c: Include <float.h>.
345 (__catanhf): Ensure underflow exception occurs for underflowed
346 result.
347 * math/s_catanhl.c: Include <float.h>.
348 (__catanhl): Ensure underflow exception occurs for underflowed
349 result.
350 * math/s_catanl.c: Include <float.h>.
351 (__catanl): Ensure underflow exception occurs for underflowed
352 result.
353 * math/libm-test.inc (catan_test): Add more tests.
354 (catanh_test): Likewise.
355
356 [BZ #15405]
357 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
358 underflowed result.
359 * math/s_ccoshf.c (__ccoshf): Likewise.
360 * math/s_ccoshl.c (__ccoshl): Likewise.
361 * math/s_csin.c (__csin): Likewise.
362 * math/s_csinf.c (__csinf): Likewise.
363 * math/s_csinh.c (__csinh): Likewise.
364 * math/s_csinhf.c (__csinhf): Likewise.
365 * math/s_csinhl.c (__csinhl): Likewise.
366 * math/s_csinl.c (__csinl): Likewise.
367 * math/libm-test.inc (ccos_test): Add more tests.
368 (ccosh_test): Likewise.
369 (csin_test): Likewise.
370 (csinh_test): Likewise.
371
372 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
373
374 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
375 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
376 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
377 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
378 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
379 powerpc/power5+/fpu folders.
380 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
381
382
383 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
384
385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
386
387 2013-04-25 Joseph Myers <joseph@codesourcery.com>
388
389 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
390 additions to variable.
391 [$(config-machine) = x86_64] (modules-names): Likewise.
392 ($(objpfx)tst-audit3): Remove dependency.
393 ($(objpfx)tst-audit3.out): Likewise.
394 ($(objpfx)tst-audit4): Likewise.
395 ($(objpfx)tst-audit4.out): Likewise.
396 ($(objpfx)tst-audit5): Likewise.
397 ($(objpfx)tst-audit5.out): Likewise.
398 ($(objpfx)tst-audit6): Likewise.
399 ($(objpfx)tst-audit6.out): Likewise.
400 ($(objpfx)tst-audit7): Likewise.
401 ($(objpfx)tst-audit7.out): Likewise.
402 (tst-audit3-ENV): Remove variable.
403 (tst-audit4-ENV): Likewise.
404 (tst-audit5-ENV): Likewise.
405 (tst-audit6-ENV): Likewise.
406 (tst-audit7-ENV): Likewise.
407 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
408 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
409 addition to variable.
410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
412 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
413 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
414 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
415 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
416 tst-audit3, tst-audit4 and tst-audit5.
417 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
418 tst-audit6 and tst-audit7.
419 [$(subdir) = elf] (modules-names): Add audit modules for those
420 tests.
421 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
422 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
423 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
424 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
425 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
426 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
427 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
428 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
429 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
430 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
431 [$(subdir) = elf] (tst-audit3-ENV): New variable.
432 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
433 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
434 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
435 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
436 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
437 Likewise.
438 [$(subdir) = elf && $(config-cflags-avx) = yes]
439 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
440 [$(subdir) = elf && $(config-cflags-avx) = yes]
441 (CFLAGS-tst-auditmod4a.c): Likewise.
442 [$(subdir) = elf && $(config-cflags-avx) = yes]
443 (CFLAGS-tst-auditmod4b.c): Likewise.
444 [$(subdir) = elf && $(config-cflags-avx) = yes]
445 (CFLAGS-tst-auditmod6b.c): Likewise.
446 [$(subdir) = elf && $(config-cflags-avx) = yes]
447 (CFLAGS-tst-auditmod6c.c): Likewise.
448 [$(subdir) = elf && $(config-cflags-avx) = yes]
449 (CFLAGS-tst-auditmod7b.c): Likewise.
450 * elf/tst-audit3.c: Move to ...
451 * sysdeps/x86_64/tst-audit3.c: ... here.
452 * elf/tst-audit4.c: Move to ...
453 * sysdeps/x86_64/tst-audit4.c: ... here.
454 * elf/tst-audit5.c: Move to ...
455 * sysdeps/x86_64/tst-audit5.c: ... here.
456 * elf/tst-audit6.c: Move to ...
457 * sysdeps/x86_64/tst-audit6.c: ... here.
458 * elf/tst-audit7.c: Move to ...
459 * sysdeps/x86_64/tst-audit7.c: ... here.
460 * elf/tst-auditmod3a.c: Move to ...
461 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
462 * elf/tst-auditmod3b.c: Move to ...
463 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
464 * elf/tst-auditmod4a.c: Move to ...
465 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
466 * elf/tst-auditmod4b.c: Move to ...
467 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
468 * elf/tst-auditmod5a.c: Move to ...
469 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
470 * elf/tst-auditmod5b.c: Move to ...
471 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
472 * elf/tst-auditmod6a.c: Move to ...
473 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
474 * elf/tst-auditmod6b.c: Move to ...
475 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
476 * elf/tst-auditmod6c.c: Move to ...
477 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
478 * elf/tst-auditmod7a.c: Move to ...
479 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
480 * elf/tst-auditmod7b.c: Move to ...
481 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
482
483 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
484
485 [BZ #15366]
486 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
487 define unconditionally.
488 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
489 define unconditionally.
490 (INT8_C, INT16_C, etc.): Likewise.
491
492 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
493
494 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
495 __ehdr_start with hidden visibility.
496
497 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
498
499 2013-04-24 Carlos O'Donell <carlos@redhat.com>
500
501 * math/libm-test.inc (cos_test): Use accurate hex constants.
502 (sincost_test): Likewise.
503
504 2013-04-24 Joseph Myers <joseph@codesourcery.com>
505
506 * math/libm-test.inc (catan_test): Add more tests.
507 (catanh_test): Likewise.
508
509 * math/s_catanf.c (__catanf): Use suffixed floating-point
510 constants.
511 * math/s_catanhf.c (__catanhf): Likewise.
512 * math/s_catanhl.c (__catanhl): Likewise.
513 * math/s_catanl.c (__catanl): Likewise.
514
515 [BZ #15394]
516 * math/s_catan.c (__catan): Calculate imaginary part of result
517 with log1p not log unless computing log of number close to 0.
518 * math/s_catanf.c (__catanf): Likewise.
519 * math/s_catanl.c (__catanl): Likewise.
520 * math/s_catanh.c (__catanh): Calculate real part of result with
521 log1p not log unless computing log of number close to 0.
522 * math/s_catanhf.c (__catanhf): Likewise.
523 * math/s_catanhl.c (__catanhl): Likewise.
524 * math/libm-test.inc (catan_test): Add more tests.
525 (catanh_test): Likewise.
526 * sysdeps/i386/fpu/libm-test-ulps: Update.
527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
528
529 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
530
531 * benchtests/Makefile: Mention files in which fast and slow
532 paths of math functions are implemented.
533
534 2013-04-23 Roland McGrath <roland@hack.frob.com>
535
536 * sysdeps/posix/timespec_get.c: New file.
537
538 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539
540 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
541 POWER.
542 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
543 for POWER.
544 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
545 powerpc/power5/fpu folders.
546 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
547 * benchtests/Makefile: Add modf testcase.
548 * benchtests/bench-modf.c: New file: Benchmark test for mo
549
550 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
551
552 [BZ #14888]
553 * time/Makefile (tests): Add tst-strptime-whitespace.
554 * time/strptime_l.c (get_number): Use ISSPACE.
555 (__strptime_internal): Likewise.
556 * time/tst-strptime-whitespace.c: New test case.
557
558 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
559
560 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
561 member.
562 (_nss_files_init): Set it here.
563
564 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
565
566 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
567 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
568 unsigned.
569
570 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
571
572 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
573
574 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
577 size just once.
578
579 2013-04-21 David S. Miller <davem@davemloft.net>
580
581 * po/ru.po: Update Russion translation from translation project.
582
583 2013-04-17 Adam Conrad <adconrad@0c3.net>
584
585 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
586 and setfsgid.
587
588 2013-04-17 Carlos O'Donell <carlos@redhat.com>
589
590 * configure.in: Remove i386 configure warning. Remove i386 case.
591 * configure: Regenerate.
592 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
593 Add example to error message.
594 * sysdeps/i386/configure: Regenerate.
595
596 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
597
598 * benchtests/Makefile (bench): Add cos, tan, slowcos and
599 slowtan.
600 * benchtests/cos-inputs: New file.
601 * benchtests/slowcos-inputs: New file.
602 * benchtests/slowcos.c: New file.
603 * benchtests/slowtan-inputs: New file.
604 * benchtests/slowtan.c: New file.
605 * benchtests/tan-inputs: New file.
606
607 2013-04-16 Roland McGrath <roland@hack.frob.com>
608
609 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
610 considered kosher.
611
612 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
613
614 * benchtests/Makefile: Include cppflags-iterator.mk to add
615 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
616
617 * Makefile.in (bench-clean): New target.
618 * benchtests/Makefile (bench-clean): Likewise.
619
620 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
621
622 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
623
624 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
625
626 * stdio-common/tstdiomisc.c: Fix coding-style violation.
627
628 2013-04-15 Andreas Schwab <schwab@suse.de>
629
630 * nscd/grpcache.c (cache_addgr): Properly check for short write.
631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
632 * nscd/pwdcache.c (cache_addpw): Likewise.
633 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
634 more than recsize.
635
636 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
637
638 * benchtests/Makefile (bench): Write all output to
639 bench-out.tmp together.
640
641 2013-04-15 Andreas Schwab <schwab@suse.de>
642
643 * nscd/nscd.c (main): Don't fork again after closing files.
644
645 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
646
647 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
648
649 * benchtests/Rules (bench-deps): Collect dependencies into a
650 single variable. Add Makefile to dependencies.
651 ($(objpfx)bench-%.c): Depend on bench-deps.
652
653 2013-04-12 Roland McGrath <roland@hack.frob.com>
654 Xavier Roche <roche+kml2@exalead.com>
655
656 [BZ #15361]
657 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
658 just that it's a file descriptor.
659 * manual/llio.texi (Synchronizing AIO Operations): Update description
660 for EBADF error from aio_fsync.
661
662 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
663
664 * Rules (bench): Move target definition...
665 * benchtests/Makefile: ... here.
666
667 2013-04-11 Carlos O'Donell <carlos@redhat.com>
668
669 * math/libm-test.inc (cos_test): Fix PI/2 test.
670 (sincos_test): Likewise.
671 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
672 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
673
674 2013-04-11 Andreas Schwab <schwab@suse.de>
675
676 [BZ #13988]
677 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
678 accept exponent character only when digits were seen.
679 * stdio-common/Makefile (tests): Add bug26.
680 * stdio-common/bug26.c: New file.
681
682 [BZ #14293]
683 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
684 non-freeable.
685
686 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
687
688 * Makeconfig (rtld-prefix): Define built linker prefix.
689 * Rules (run-bench): Use it.
690 * math/Makefile (run-regen-ulps): Likewise.
691
692 * Rules (bench): Remove eval.
693
694 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
695 Roland McGrath <roland@hack.frob.com>
696 Ondrej Bilka <neleai@seznam.cz>
697
698 [BZ #15346]
699 * time/getdate.c: Include ctype.h and alloca.h.
700 (__getdate_r): Trim leading and trailing spaces of input.
701 * time/tst-getdate.c (tests): Add tests with leading and
702 trailing spaces.
703
704 2013-04-08 Roland McGrath <roland@hack.frob.com>
705
706 [BZ #14280]
707 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
708 when computing value.
709
710 2013-04-06 Carlos O'Donell <carlos@redhat.com>
711
712 * math/README.libm-test (How can I generate "libm-test-ulps"?):
713 Use testrun.sh to run libm tests.
714
715 [BZ #15309]
716 * elf/dl-open.c (dl_open_worker): memset all of seen array.
717
718 2013-04-06 Marko Myllynen <myllynen@redhat.com>
719
720 [BZ #15264]
721 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
722
723 2013-04-06 Carlos O'Donell <carlos@redhat.com>
724
725 * Makefile.in (regen-ulps): New target.
726 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
727 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
728 [ifneq (no,$(PERL)] (regen-ulps): New target.
729 [ifeq (no,$(PERL)] (regen-ulps): New target.
730 * math/libm-test.inc (ulps_file_name): Define.
731 (output_dir): New variable.
732 (options): Add "output-dir" option.
733 (parse_opt): Handle 'o' case.
734 (main): If output_dir is non-NULL use it as a prefix
735 otherwise use "".
736 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
737
738 2013-04-06 Carlos O'Donell <carlos@redhat.com>
739
740 [BZ #10060, #10062]
741 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
742 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
743 fail configure if __sync_val_compare_and_swap is not inlined.
744 * sysdeps/i386/configure: Regenerate.
745 * configure.in: Build for i686 when configured for i386.
746 * configure: Regenerate.
747 * README: Remove i386 reference.
748
749 2013-04-06 Carlos O'Donell <carlos@redhat.com>
750
751 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
753
754 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
755
756 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
757 (lmsnanval): New variables.
758 (F): Add conversion tests.
759 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
760 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
761
762 * stdio-common/tstdiomisc.c (F): Properly collect individual
763 tests' results.
764
765 [BZ #14686, #15336]
766 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
767 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
768 Instead, use input NaN values or generate a qNaN by arithmetic
769 operation. Also fix bugs to comply with the standard.
770 * math/libm-test.inc (remainder_test): Add more tests.
771
772 [BZ #15335, #15342]
773 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
775 input NaN values or generate a qNaN by arithmetic operation.
776
777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
778 unreachable code.
779
780 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
781 definitions.
782
783 2013-04-03 Joseph Myers <joseph@codesourcery.com>
784
785 [BZ #14478]
786 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
787 underflowed result.
788 * math/s_cexpf.c (__cexpf): Likewise.
789 * math/s_cexpl.c (__cexpl): Likewise.
790 * math/libm-test.inc (cexp_test): Add more tests.
791
792 2013-04-03 Andreas Schwab <schwab@suse.de>
793
794 [BZ #15330]
795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
796 order arrays from heap if bigger than alloca cutoff.
797
798 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
799
800 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
801 (SNAN_TESTS_double): Refer to GCC PR56831.
802 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
803 GCC PR56828.
804
805 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
806
807 * Rules (bench): Move bench.out after the run is complete.
808
809 * Rules (bench): Echo currently running benchmark.
810
811 * benchtests/Makefile (bench): Add atan and slowatan.
812 * benchtests/atan-inputs: New file.
813 * benchtests/slowatan-inputs: New file.
814 * benchtests/slowatan.c: New file.
815
816 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
818 its value.
819
820 [BZ #15305]
821 * sysdeps/unix/sysv/linux/kernel-features.h
822 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
823 __ASSUME_XFS_RESTRICTED_CHOWN.
824 * sysdeps/unix/sysv/linux/pathconf.c
825 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
826 Save and restore errno.
827
828 2013-04-02 Joseph Myers <joseph@codesourcery.com>
829
830 [BZ #15327]
831 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
832 arguments using __kernel_casinh.
833 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
834 arguments using __kernel_casinhf.
835 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
836 arguments using __kernel_casinhl.
837 * math/libm-test.inc (cacosh_test): Add more tests.
838 * sysdeps/i386/fpu/libm-test-ulps: Update.
839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
840
841 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
845
846 * bench/Makefile (bench): Add sin and slowsin.
847 * benchtests/sin-inputs: New file.
848 * benchtests/slowsin-inputs: New file.
849 * benchtests/slowsin.c: New file.
850
851 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
852 (bench): Add slowexp and slowpow.
853 (exp-ITER): Increase iterations.
854 (pow-ITER): Likewise.
855 * benchtests/exp-inputs: Change input.
856 * benchtests/pow-inputs: Likewise.
857 * benchtests/slowexp-inputs: New file.
858 * benchtests/slowexp.c: New file.
859 * benchtests/slowpow-inputs: New file.
860 * benchtests/slowpow.c: New file.
861
862 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
865 instructions.
866 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
867 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
868 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
869 * benchtests/Makefile: Add rint benchtest.
870 * benchtests/rint-inputs: Input for rint benchtest.
871
872 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
873
874 * Versions.def (libm): Add GLIBC_2.18.
875 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
876 hidden libm prototypes.
877 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
878 * math/Makefile (libm-calls): Add s_issignaling.
879 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
880 __issignalingf, __issignalingl. Adjust all libm.abilist files.
881 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
882 declaration.
883 * math/math.h [__USE_GNU] (issignaling): New macro.
884 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
885 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
886 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
887 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
890 * manual/arith.texi (issignaling): New section.
891 * manual/libm-err-tab.pl (@all_functions): Update comment.
892 * math/gen-libm-test.pl (parse_args): Apply special handling for
893 issignaling.
894 * math/libm-test.inc (print_float, issignaling_test): New
895 functions.
896 (check_float_internal): Add issignaling checks.
897 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
898 default definition.
899 * sysdeps/powerpc/math-tests.h: New file.
900 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
901 tests.
902 * math/test-snan.c (TEST_FUNC): Likewise.
903
904 2013-03-30 David S. Miller <davem@davemloft.net>
905
906 * po/de.po: Update from translation team.
907
908 2013-03-30 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #10357]
911 * math/k_casinh.c (__kernel_casinh): Handle arguments with
912 imaginary part less than 1.0 and real part less than 0.5
913 specially.
914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
916 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
917 (cacos_test): Add more tests.
918 (casin_test): Likewise.
919 (casinh_test): Likewise.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
922
923 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
924
925 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
926 ONE with its value.
927
928 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
929 (__pow_mp): Replace ONE and MONE with their values.
930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
932 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
933 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
936
937 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
938
939 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
940 (__pow_mp): Replace ZERO and MZERO with their values.
941 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
943 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
945 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
946 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
947 (__sqr): Likewise.
948
949 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
950
951 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
952
953 2013-03-28 Roland McGrath <roland@hack.frob.com>
954
955 * include/stdlib.h [!SHARED] (__call_tls_dtors):
956 Declare with __attribute__ ((weak)).
957 * stdlib/exit.c (__libc_atexit) [!SHARED]:
958 Call __call_tls_dtors only if it's not NULL.
959
960 2013-03-28 Roland McGrath <roland@hack.frob.com>
961
962 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
963 didn't do it already, then set _dl_phdr and _dl_phnum based on the
964 magic __ehdr_start linker symbol if it's defined.
965 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
966 them up here if it was already done.
967
968 * elf/dl-support.c (_dl_phdr): Make pointer to const.
969 (_dl_aux_init): Use const in cast when setting it.
970 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
972 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
973
974 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
975 Declare them here.
976 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
977 * csu/libc-tls.c: Nor here.
978 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
979
980 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
981 (__libc_message): Never call vsyslog.
982
983 2013-03-28 Alan Modra <amodra@gmail.com>
984
985 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
986 Define as empty.
987 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
988 Likewise.
989
990 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991
992 [BZ #15214]
993 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
994 underflow.
995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
996
997 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
998
999 [BZ #15304]
1000 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1001 Don't add gid passed as argument.
1002
1003 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1004
1005 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1006
1007 [BZ #15307]
1008 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1009 imaginary part between 1.0 and 1.5 and real part less than 0.5
1010 specially.
1011 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1012 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1013 * math/libm-test.inc (cacos_test): Add more tests.
1014 (casin_test): Likewise.
1015 (casinh_test): Likewise.
1016 * sysdeps/i386/fpu/libm-test-ulps: Update.
1017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1018
1019 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1020
1021 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1022 constants.
1023 (norm): Likewise.
1024 (denorm): Likewise.
1025 (__dbl_mp): Likewise.
1026 (add_magnitudes): Likewise.
1027 (sub_magnitudes): Likewise.
1028 (__add): Likewise.
1029 (__sub): Likewise.
1030 (__mul): Likewise.
1031 (__sqr): Likewise.
1032 (__inv): Likewise.
1033 (__dvd): Likewise.
1034
1035 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1036 commented code.
1037 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1038 (__dubcos): Likewise.
1039 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1040 (__ieee754_acos): Likewise.
1041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1043 (__exp1): Likewise.
1044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1046 (log1): Likewise.
1047 (my_log2): Likewise.
1048 (checkint): Likewise.
1049 * sysdeps/ieee754/dbl-64/e_remainder.c
1050 (__ieee754_remainder): Likewise.
1051 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1053 (bsloww): Likewise.
1054 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1055
1056 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1057 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1058 MANTISSA_STORE_T to store computations on mantissa. Use
1059 macros for rounding and division.
1060 (denorm): Likewise.
1061 (__dbl_mp): Likewise.
1062 (add_magnitudes): Likewise.
1063 (sub_magnitudes): Likewise.
1064 (__mul): Likewise.
1065 (__sqr): Likewise.
1066 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1067 powers of two in terms of TWOPOW macro.
1068 (mp_no): Make type of mantissa as MANTISSA_T.
1069 [!RADIXI]: Define RADIXI.
1070 [!TWO52]: Define TWO52.
1071 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1072
1073 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074
1075 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1076 llroundl symbol when building for PPC32.
1077
1078 2013-03-24 Mark H Weaver <mhw@netris.org>
1079
1080 * manual/arith.texi (Normalization Functions): Fix prototypes for
1081 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1082
1083 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
1085 [BZ #13889]
1086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1087 high value to check if expl overflow.
1088 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1089 to check for underflow and overflow.
1090 * math/libm-test.inc: Add exp test.
1091
1092 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1093
1094 [BZ #11120]
1095 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1096 with NOT_IN_libc.
1097
1098 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099
1100 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1101 symbol.
1102
1103 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1104
1105 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1106 wrap blocks consisting of several statements.
1107
1108 * sysdeps/generic/math-tests.h: New file.
1109 * sysdeps/i386/fpu/math-tests.h: Likewise.
1110 * math/test-snan.c: Include it.
1111 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1112
1113 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #15285]
1116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1117 (__ieee754_j0l): Do not improve calculations using cos of twice
1118 input for inputs above LDBL_MAX / 2.0L.
1119 (__ieee754_y0l): Likewise.
1120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1121 (__ieee754_j1l): Do not improve calculations using cos of twice
1122 input for inputs above LDBL_MAX / 2.0L.
1123 (__ieee754_y1l): Likewise.
1124 * math/libm-test.inc (j0_test): Add another test.
1125 (j1_test): Likewise.
1126 (y0_test): Likewise.
1127 (y1_test): Likewise.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129
1130 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1131
1132 * Rules ($(objpfx)bench-%.c): Include code from a C source
1133 file.
1134
1135 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #15287]
1138 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1139 imaginary part 1.0 and real part less than 0.5 specially.
1140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1142 * math/libm-test.inc (cacos_test): Add more tests.
1143 (casin_test): Likewise.
1144 (casinh_test): Likewise.
1145 * sysdeps/i386/fpu/libm-test-ulps: Update.
1146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1147
1148 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1149
1150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1151 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1152
1153 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1154
1155 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1156 * config.make.in (config-cflags-sse4): Remove variable.
1157 (config-cflags-avx): Likewise.
1158 (config-cflags-sse2avx): Likewise.
1159 (config-cflags-novzeroupper): Likewise.
1160 (config-asflags-i686): Likewise.
1161 (have-mfma4): Likewise.
1162 (have-as-vis3): Likewise.
1163 (MIG): Likewise.
1164 * configure.in (MIG): Do not AC_SUBST.
1165 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1166 (libc_cv_cc_sse4): Do not AC_SUBST.
1167 (libc_cv_cc_avx): Likewise.
1168 (libc_cv_cc_sse2avx): Likewise.
1169 (libc_cv_cc_novzeroupper): Likewise.
1170 (libc_cv_cc_fma4): Likewise.
1171 (libc_cv_as_i686): Likewise.
1172 (libc_cv_sparc_as_vis3): Likewise.
1173 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1174 LIBC_CONFIG_VAR.
1175 (config-asflags-i686): Likewise.
1176 (config-cflags-avx): Likewise.
1177 (config-cflags-sse2avx): Likewise.
1178 (have-mfma4): Likewise.
1179 (config-cflags-novzeroupper): Likewise.
1180 * sysdeps/mach/configure.in (MIG): Likewise.
1181 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1182 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1183 LIBC_CONFIG_VAR.
1184 (config-cflags-avx): Likewise.
1185 (config-cflags-sse2avx): Likewise.
1186 (have-mfma4): Likewise.
1187 (config-cflags-novzeroupper): Likewise.
1188 * configure: Regenerated.
1189 * sysdeps/i386/configure: Likewise.
1190 * sysdeps/mach/configure: Likewise.
1191 * sysdeps/sparc/configure: Likewise.
1192 * sysdeps/x86_64/configure: Likewise.
1193
1194 2013-03-20 Roland McGrath <roland@hack.frob.com>
1195
1196 [BZ #14812]
1197 * locale/programs/localedef.c (options): Put N_ translation marker
1198 on argument names, not just descriptions.
1199
1200 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1201
1202 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1203
1204 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1205
1206 [BZ #14176]
1207 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1208
1209 2013-03-19 Roland McGrath <roland@hack.frob.com>
1210
1211 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1212 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1213 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1214 [!BEFORE_ABORT] (before_abort): New function.
1215 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1216 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1217 (writev_for_fatal): New function.
1218 (WRITEV_FOR_FATAL): New macro; call that.
1219 (backtrace_and_maps): New function.
1220 (BEFORE_ABORT): New macro; call that.
1221 (struct str_list): Type removed.
1222 (__libc_message, __libc_fatal): Functions removed.
1223 Include <sysdeps/posix/libc_fatal.c> instead.
1224
1225 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1226
1227 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1228 constants.
1229 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1230 double constants.
1231
1232 2013-03-19 Andreas Schwab <schwab@suse.de>
1233
1234 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1235 * sysdeps/gnu/configure: Regenerate.
1236
1237 * configure.in: Substitute libc_cv_rtlddir.
1238 * configure: Regenerate.
1239 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1240 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1241 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1242 * elf/Makefile (install-others, CFLAGS-interp.c)
1243 (ldso_install, common-ldd-rewrite): Likewise.
1244 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1245 $(inst_slibdir)/$(rtld-installed-name).
1246 * scripts/rellns-sh: Add -p option.
1247 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1248 for source.
1249
1250 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1251
1252 * manual/nptl.texi: Renamed to ...
1253 * manual/threads.texi: ... this.
1254 * manual/Makefile (chapters): Update.
1255
1256 2013-03-18 Roland McGrath <roland@hack.frob.com>
1257
1258 [BZ #14812]
1259 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1260 on argument names, not just descriptions.
1261 * malloc/memusagestat.c (options): Likewise.
1262 * nss/getent.c (options): Likewise.
1263
1264 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1265
1266 [BZ #14812]
1267 * iconv/iconv_prog.c (options): Put N_ translation marker
1268 on argument names, not just descriptions.
1269 * iconv/iconvconfig.c (options): Likewise.
1270
1271 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1272
1273 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1274 implementation which is faster on all x86_64 architectures.
1275 Tested on AMD, Intel Nehalem, SNB, IVB.
1276 * sysdeps/x86_64/strnlen.S: Likewise.
1277
1278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1279 Remove all multiarch strlen and strnlen versions.
1280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1281 Remove strlen and strnlen related parts.
1282
1283 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1284 Inline strlen part.
1285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1286
1287 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1288 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1289 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1290 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1291 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1292 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1293
1294 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1295
1296 * manual/memory.texi (Malloc Tunable Parameters):
1297 Sort parameters alphabetically. Add comments for missing entries.
1298
1299 2013-03-17 David S. Miller <davem@davemloft.net>
1300
1301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1302
1303 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #15283]
1306 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1307 for arguments at most half maximum finite value.
1308 * math/libm-test.inc (j0_test): Add more tests.
1309 (j1_test): Likewise.
1310 (y0_test): Likewise.
1311 (y1_test): Likewise.
1312 * sysdeps/i386/fpu/libm-test-ulps: Update.
1313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1314
1315 [BZ #14155]
1316 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1317 1 / x and functions P and Q for arguments above 0x1p256L.
1318 (__ieee754_y0l): Likewise.
1319 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1320 (__ieee754_y1l): Likewise.
1321 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1322 (j1_test): Likewise.
1323 (y0_test): Likewise.
1324 (y1_test): Likewise.
1325
1326 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1327
1328 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1329 variable.
1330
1331 2013-03-15 Roland McGrath <roland@hack.frob.com>
1332
1333 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1334 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1335 zero since it's initialized to EXEC_PAGESIZE.
1336
1337 * sysdeps/unix/sysv/linux/ldsodefs.h
1338 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1339 * sysdeps/generic/ldsodefs.h: ... here.
1340
1341 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1342
1343 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1344
1345 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1346 math/test-snan.c.
1347 * math/test-snan.c: Renamed from
1348 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1349 * math/Makefile (tests): Add test-snan.
1350 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1351 test-powerpc-snan.
1352
1353 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1354 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1355 functions.
1356 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1357 __builtin_nan family of functions.
1358 * math/libm-test.inc (initialize): Initialize qnan_value with
1359 __builtin_nan family of functions.
1360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1361 Remove variables.
1362 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1363 Remove functions.
1364 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1365 storage class. Initialize qNaN_var and sNaN_var with
1366 __builtin_nan and __builtin_nans families of functions,
1367 respectively.
1368
1369 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1370 (sqrt_test): Remove duplicate test with qNaN input.
1371 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1372 (round_test, signbit_test, significand_test): Note missing +/-Inf
1373 as well as qNaN tests.
1374
1375 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1376 qNaN_var. Fix a few strings, too.
1377 * math/libm-test.inc (nan_value): Rename to qnan_value.
1378 * math/gen-libm-test.pl (%beautify): Adjust to that.
1379 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1380 * math/test-misc.c (main): Likewise.
1381 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1382 to __qnan_bytes, and __qnan_union, respectively.
1383 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1384 Likewise.
1385 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1386 and lqnanval, respectively.
1387 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1388 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1390 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1391
1392 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1393 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1394 doubles.
1395
1396 * math/test-misc.c (main): Fix copy'n'pastos.
1397 * misc/tst-efgcvt.c (special): Likewise.
1398
1399 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1400 Remove declarations.
1401
1402 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1405 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1406 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1407 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1408
1409 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
1411 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1412 macro to return vdso values correctly in IFUNC implementations.
1413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1414 Optimization by using IFUNC.
1415
1416 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1417 Richard Henderson <rth@redhat.com>
1418 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1419
1420 * Makefile.in (bench): New target.
1421 * NEWS: Mention the benchmark framework.
1422 * Rules (bench): Likewise.
1423 (binaries-bench): Generate binaries for functions to
1424 benchmark.
1425 * benchtests/Makefile: New makefile for benchmark tests.
1426 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1427 programs.
1428 * benchtests/exp-inputs: New input file for EXP function.
1429 * benchtests/pow-inputs: New input file for POW function.
1430 * scripts/bench.pl: New script to generate source files for
1431 benchmark programs.
1432
1433 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1434
1435 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1436 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1437 computations on mantissa. Use macros for rounding and
1438 division.
1439 (denorm): Likewise.
1440 (__dbl_mp): Likewise.
1441 (add_magnitudes): Likewise.
1442 (sub_magnitudes): Likewise.
1443 (__mul): Likewise.
1444 (__sqr): Likewise.
1445 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1446 powers of two in terms of TWOPOW macro.
1447 (mp_no): Make type of mantissa as MANTISSA_T.
1448 [!RADIXI]: Define RADIXI.
1449 [!TWO52]: Define TWO52.
1450 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1451
1452 * manual/nptl.texi (cindex): Modify threads to pthreads.
1453
1454 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1455
1456 * sysdeps/x86_64/preconfigure: Regenerated.
1457
1458 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1459
1460 [BZ #14155]
1461 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1462 0x1p28 and above.
1463 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1464 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1465 0x1p28 and above.
1466 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1467 * math/libm-test.inc (j0_test): Do not allow one spurious
1468 underflow exception.
1469 (y1_test): Likewise.
1470
1471 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1472
1473 * manual/Makefile (chapters): Add nptl.
1474 * manual/debug.texi (Debugging Support): Add link to Threads
1475 chapter.
1476 * manual/nptl.texi: New file.
1477
1478 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1479
1480 2013-03-14 Petr Baudis <pasky@ucw.cz>
1481
1482 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1483 for non-NULL pointer before the memory validity test. Pointed
1484 out by Holger Brunck <holger.brunck@keymile.com>.
1485
1486 2013-03-13 Andreas Schwab <schwab@suse.de>
1487
1488 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1489 instead of .os.
1490
1491 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1492
1493 * timezone/zic.c: Update from tzcode 2013b.
1494
1495 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1496
1497 * manual/install.texi (Configuring and compiling):
1498 Mention i686 and i586.
1499 * INSTALL: Regenerate.
1500
1501 2013-03-12 Roland McGrath <roland@hack.frob.com>
1502
1503 * sysdeps/init_array/elf-init.c: New file.
1504 * csu/elf-init.c
1505 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1506 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1507
1508 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1509 __gmon_start__ as global, but as static with a .preinit_array pointer.
1510 * sysdeps/init_array/gmon-start.c: New file. Use that.
1511 * sysdeps/init_array/crti.S: New file, empty except for comments.
1512 * sysdeps/init_array/crtn.S: Likewise.
1513
1514 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1515
1516 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1517 definining bcopy.
1518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1519 Remove Prefer_SSE_for_memop.
1520 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1521 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1522 HAS_PREFER_SSE_FOR_MEMOP.
1523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1524 memset-x86-64.
1525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1526 Remove bzero, memset ifunc support.
1527 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1531
1532 2013-03-11 Andreas Schwab <schwab@suse.de>
1533
1534 [BZ #15234]
1535 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1536 by SHLIB_COMPAT.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1538 (GLIBC_2.16): Remove pthread_atfork.
1539
1540 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1541
1542 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1543 (ptestcases.h): Likewise.
1544
1545 2013-03-08 Roland McGrath <roland@hack.frob.com>
1546
1547 * Makeconfig ($(common-objpfx)config.status): Depend on
1548 sysdeps/*/preconfigure{,.in} too.
1549
1550 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1551
1552 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1553 (__free_hook): Use void * instead of __malloc_ptr_t.
1554 (__malloc_hook): Likewise.
1555 (__realloc_hook): Likewise.
1556 (__memalign_hook): Likewise.
1557 (__after_morecore_hook): Likewise.
1558 * malloc/arena.c (save_malloc_hook): Likewise.
1559 (save_free_hook): Likewise.
1560 * malloc/hooks.c (malloc_hook_ini): Likewise.
1561 (realloc_hook_ini): Likewise.
1562 (memalign_hook_ini): Likewise.
1563 * malloc/malloc.c (malloc_hook_ini): Likewise.
1564 (realloc_hook_ini): Likewise.
1565 (memalign_hook_ini): Likewise.
1566 (__free_hook): Likewise.
1567 (__malloc_hook): Likewise.
1568 (__realloc_hook): Likewise.
1569 (__memalign_hook): Likewise.
1570 (__libc_malloc): Likewise.
1571 (__libc_free): Likewise.
1572 (__libc_realloc): Likewise.
1573 (__libc_memalign): Likewise.
1574 (__libc_valloc): Likewise.
1575 (__libc_pvalloc): Likewise.
1576 (__libc_calloc): Likewise.
1577 (__posix_memalign): Likewise.
1578 * malloc/morecore.c (__sbrk): Likewise.
1579 (__default_morecore): Likewise.
1580
1581 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1582
1583 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1584 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1585 __malloc_ptrdiff_t.
1586
1587 * malloc/malloc.h (__malloc_size_t): Remove macro.
1588 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1589 __malloc_size_t.
1590 (old_memalign_hook): Likewise.
1591 (old_realloc_hook): Likewise.
1592 (struct hdr): Likewise.
1593 (flood): Likewise.
1594 (mallochook): Likewise.
1595 (memalignhook): Likewise.
1596 (reallochook): Likewise.
1597 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1598 (tr_old_realloc_hook): Likewise.
1599 (tr_old_memalign_hook): Likewise.
1600 (tr_mallochook): Likewise.
1601 (tr_reallochook): Likewise.
1602 (tr_memalignhook): Likewise.
1603
1604 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605
1606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1607 default_ldbl_pack and using as default implementation.
1608 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1609 implementation.
1610 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1611 redundant definition.
1612 (ldbl_insert_mantissa): Likewise.
1613 (ldbl_canonicalize): Likewise.
1614 (ldbl_nearbyint): Likewise.
1615 (ldbl_pack): Rename to ldbl_pack_ppc.
1616 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1617 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1618 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1619
1620 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1621
1622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1623 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1625 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1628 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1629 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1630
1631 2013-03-07 Andreas Jaeger <aj@suse.de>
1632
1633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1634 bits/mman-linux.h.
1635
1636 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1637
1638 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1639 Include mpa.h and declare __MPEXP.
1640 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1645 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1647
1648 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1649 (__slowpow): Use long double EXPL and LOGL functions to
1650 compute POW.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1655 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1657
1658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1659 intermediate variable to calculate exponent.
1660 (__sqr): Likewise.
1661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1662 Likewise.
1663 (__sqr): Likewise.
1664
1665 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1666 [!NO__SQR]: Define __sqr.
1667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1668 and NO__SQR. Remove all code except __mul and __sqr. Include
1669 sysdeps/ieee754/dbl-64/mpa.c.
1670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1671
1672 [BZ #12723]
1673 * posix/Makefile (tests): Add tst-pathconf.
1674 * posix/tst-pathconf.c: New test case.
1675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1676 _PC_PIPE_BUF.
1677 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1678
1679 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1680
1681 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1682
1683 2013-03-06 Andreas Jaeger <aj@suse.de>
1684
1685 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1686 definition via __MAP_ANONYMOUS.
1687
1688 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1689 it's not part of Linux headers.
1690
1691 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1692 (MAP_HUGE_MASK): Define.
1693
1694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1695 Define.
1696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1698 Define.
1699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1700 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1701 Define.
1702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1704 Define.
1705 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1706
1707 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1708 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1709 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1710 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1711 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1712 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1713
1714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1715 Handle f2fs.
1716
1717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1718 Handle f2fs and efivarfs.
1719
1720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1721 f2fs.
1722
1723 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1724 (EFIVARFS_MAGIC): Add.
1725 (F2FS_LINK_MAX): Add.
1726
1727 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1728
1729 * stdio-common/vfprintf.c: Replace __builtin_expect with
1730 __glibc_unlikely.
1731
1732 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1733
1734 [BZ #13550]
1735 * sysdeps/generic/bp-sym.h: Remove file.
1736 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1737 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1738 <bp-sym.h> and <bp-asm.h>.
1739 (__longjmp): Don't use BP_SYM.
1740 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1741 and <bp-asm.h>.
1742 (memcpy): Don't use BP_SYM.
1743 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1744 <bp-sym.h> and <bp-asm.h>.
1745 (memcpy): Don't use BP_SYM.
1746 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1747 <bp-asm.h>.
1748 (memcpy): Don't use BP_SYM.
1749 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1750 <bp-asm.h>.
1751 (memset): Don't use BP_SYM.
1752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1754 (__bzero): Don't use BP_SYM.
1755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1758 <bp-sym.h> and <bp-asm.h>.
1759 (memcmp): Don't use BP_SYM. Remove comment about bounded
1760 pointers.
1761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1762 <bp-sym.h> and <bp-asm.h>.
1763 (memcpy): Don't use BP_SYM.
1764 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1765 <bp-sym.h> and <bp-asm.h>.
1766 (memset): Don't use BP_SYM.
1767 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1768 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1769 (__bzero): Don't use BP_SYM.
1770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1773 <bp-sym.h> and <bp-asm.h>.
1774 (strncmp): Don't use BP_SYM. Remove comment about bounded
1775 pointers.
1776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1777 <bp-sym.h> and <bp-asm.h>.
1778 (memcpy): Don't use BP_SYM.
1779 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (memset): Don't use BP_SYM.
1782 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1783 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1784 (__bzero): Don't use BP_SYM.
1785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1787 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1788 <bp-sym.h> and <bp-asm.h>.
1789 (__memchr): Don't use BP_SYM.
1790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1791 <bp-sym.h> and <bp-asm.h>.
1792 (memcmp): Don't use BP_SYM. Remove comment about bounded
1793 pointers.
1794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1795 <bp-sym.h> and <bp-asm.h>.
1796 (memcpy): Don't use BP_SYM.
1797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1798 <bp-sym.h> and <bp-asm.h>.
1799 (__mempcpy): Don't use BP_SYM.
1800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1801 <bp-sym.h> and <bp-asm.h>.
1802 (__memrchr): Don't use BP_SYM.
1803 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1804 <bp-sym.h> and <bp-asm.h>.
1805 (memset): Don't use BP_SYM.
1806 (__bzero): Likewise.
1807 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1808 <bp-sym.h> and <bp-asm.h>.
1809 (__rawmemchr): Don't use BP_SYM.
1810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1811 <bp-sym.h> and <bp-asm.h>.
1812 (__STRCMP): Don't use BP_SYM.
1813 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1814 <bp-sym.h> and <bp-asm.h>.
1815 (strchr): Don't use BP_SYM.
1816 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1817 <bp-sym.h> and <bp-asm.h>.
1818 (__strchrnul): Don't use BP_SYM.
1819 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1820 <bp-sym.h> and <bp-asm.h>.
1821 (strlen): Don't use BP_SYM.
1822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1823 <bp-sym.h> and <bp-asm.h>.
1824 (strncmp): Don't use BP_SYM. Remove comment about bounded
1825 pointers.
1826 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (__strnlen): Don't use BP_SYM.
1829 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (__GI__setjmp): Don't use BP_SYM.
1832 (_setjmp): Likewise.
1833 (__sigsetjmp): Likewise.
1834 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1835 (L(start_addresses)): Don't use BP_SYM.
1836 (_start): Likewise.
1837 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1838 <bp-asm.h>.
1839 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1840 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1841 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1842 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1843 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1844 <bp-asm.h>.
1845 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1846 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1847 about bounded pointers.
1848 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1849 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1850 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1851 <bp-asm.h>.
1852 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1853 about bounded pointers. Remove GKM FIXME comments.
1854 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1855 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1856 <bp-asm.h>.
1857 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1858 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1859 Remove GKM FIXME comments.
1860 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1861 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1862 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1863 <bp-asm.h>.
1864 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1865 about bounded pointers. Remove GKM FIXME comment.
1866 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1867 and <bp-asm.h>.
1868 (strncmp): Don't use BP_SYM. Remove comment about bounded
1869 pointers.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1871 <bp-sym.h> and <bp-asm.h>.
1872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1874 <bp-sym.h> and <bp-asm.h>.
1875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1876 comment.
1877
1878 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1879
1880 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1881 call free(NULL).
1882
1883 2013-03-05 David S. Miller <davem@davemloft.net>
1884
1885 * po/es.po: Update from translation team.
1886
1887 2013-03-05 Andreas Jaeger <aj@suse.de>
1888
1889 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1890 <bits/mman-linux.h>.
1891 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1892 is fine.
1893 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1894 <bits/mman-linux.h> to end of file.
1895 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1896 is fine.
1897 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1898 <bits/mman-linux.h> to end of file.
1899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1900 is fine.
1901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1902 <bits/mman-linux.h> to end of file.
1903
1904 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1905 (MCL_CURRENT, MCL_FUTURE): Define here.
1906
1907 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1908
1909 [BZ #15232]
1910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1911 attribute_hidden.
1912 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1913
1914 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1915
1916 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1917 fourth parameter needed for rt_sigprocmask syscall.
1918 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1920 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1921 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1922 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1923 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1924
1925 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1926
1927 [BZ #13550]
1928 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1929 comment about bounded pointers.
1930 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1931 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1932
1933 2013-03-04 Andreas Jaeger <aj@suse.de>
1934
1935 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1936 common definitions.
1937
1938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1939 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1940 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1944
1945 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 [BZ #15055]
1948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1949 __ieee754_sqrl instead of __sqrl.
1950
1951 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1952
1953 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1954 * sysdeps/powerpc/fpu_control.h: ... here.
1955 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1956 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1957 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1958 * sysdeps/powerpc/bits/mathinline.h: ... here.
1959
1960 2013-03-01 Roland McGrath <roland@hack.frob.com>
1961
1962 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1963 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1964 to just [NEED_DL_SYSINFO_DSO].
1965 * elf/dl-support.c: Likewise.
1966 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1967 * elf/rtld.c (dl_main): Likewise.
1968 * elf/setup-vdso.h (setup_vdso): Likewise.
1969 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1970 * sysdeps/unix/sysv/linux/dl-sysdep.c
1971 (_dl_discover_osversion): Likewise.
1972
1973 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1974
1975 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1976 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1977
1978 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1979
1980 * NEWS: Mention libm performance improvements and non-x86 PI
1981 futex support.
1982
1983 * csu/libc-start.c (__pthread_initialize_minimal): Change
1984 function arguments.
1985 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1986
1987 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1988
1989 [BZ #13550]
1990 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1991 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1992 <bp-sym.h> and <bp-asm.h>.
1993 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1995 and <bp-asm.h>.
1996 (memcpy): Don't use BP_SYM.
1997 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1998 <bp-asm.h>.
1999 (__mpn_add_n): Don't use BP_SYM.
2000 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2001 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2002 and <bp-asm.h>.
2003 (__mpn_addmul_1): Don't use BP_SYM.
2004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2006 <bp-sym.h>.
2007 (_setjmp): Don't use BP_SYM.
2008 (__novmx_setjmp): Likewise.
2009 (__GI__setjmp): Likewise.
2010 (__vmx_setjmp): Likewise.
2011 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2012 <bp-sym.h>.
2013 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2014 (__bzero): Don't use BP_SYM.
2015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2017 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2018 <bp-sym.h> and <bp-asm.h>.
2019 (memcpy): Don't use BP_SYM.
2020 * sysdeps/powerpc/powerpc32/fpu/__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/fpu/setjmp-common.S: Don't include
2024 <bp-sym.h> and <bp-asm.h>.
2025 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2026 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2027 <bp-asm.h>.
2028 (__mpn_lshift): Don't use BP_SYM.
2029 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2030 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2031 <bp-asm.h>.
2032 (memset): Don't use BP_SYM.
2033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2035 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2036 <bp-asm.h>.
2037 (__mpn_mul_1): Don't use BP_SYM.
2038 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (memcmp): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (memcpy): Don't use BP_SYM.
2045 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (memset): Don't use BP_SYM.
2048 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2049 <bp-sym.h> and <bp-asm.h>.
2050 (strncmp): Don't use BP_SYM.
2051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2052 <bp-sym.h> and <bp-asm.h>.
2053 (memcpy): Don't use BP_SYM.
2054 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2055 <bp-sym.h> and <bp-asm.h>.
2056 (memset): Don't use BP_SYM.
2057 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2058 <bp-sym.h> and <bp-asm.h>.
2059 (__memchr): Don't use BP_SYM.
2060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2061 <bp-sym.h> and <bp-asm.h>.
2062 (memcmp): Don't use BP_SYM.
2063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2064 <bp-sym.h> and <bp-asm.h>.
2065 (memcpy): Don't use BP_SYM.
2066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2067 <bp-sym.h> and <bp-asm.h>.
2068 (__mempcpy): Don't use BP_SYM.
2069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2070 <bp-sym.h> and <bp-asm.h>.
2071 (__memrchr): Don't use BP_SYM.
2072 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2073 <bp-sym.h> and <bp-asm.h>.
2074 (memset): Don't use BP_SYM.
2075 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2076 <bp-sym.h> and <bp-asm.h>.
2077 (__rawmemchr): Don't use BP_SYM.
2078 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2079 <bp-sym.h> and <bp-asm.h>.
2080 (__STRCMP): Don't use BP_SYM.
2081 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2082 <bp-sym.h> and <bp-asm.h>.
2083 (strchr): Don't use BP_SYM.
2084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2085 <bp-sym.h> and <bp-asm.h>.
2086 (__strchrnul): Don't use BP_SYM.
2087 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2088 <bp-sym.h> and <bp-asm.h>.
2089 (strlen): Don't use BP_SYM.
2090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2091 <bp-sym.h> and <bp-asm.h>.
2092 (strncmp): Don't use BP_SYM.
2093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2094 <bp-sym.h> and <bp-asm.h>.
2095 (__strnlen): Don't use BP_SYM.
2096 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2097 <bp-asm.h>.
2098 (__mpn_rshift): Don't use BP_SYM.
2099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2100 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2101 <bp-sym.h> and <bp-asm.h>.
2102 (__sigsetjmp): Don't use BP_SYM.
2103 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2104 (L(start_addresses)): Don't use BP_SYM.
2105 (_start): Likewise.
2106 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2107 <bp-asm.h>.
2108 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2109 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2110 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2111 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2112 <bp-asm.h>.
2113 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2116 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2117 <bp-asm.h>.
2118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2119 comments.
2120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2121 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2122 <bp-asm.h>.
2123 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2124 FIXME comments.
2125 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2126 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2127 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2128 <bp-asm.h>.
2129 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2130 comment.
2131 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2132 and <bp-asm.h>.
2133 (strncmp): Don't use BP_SYM,
2134 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2135 <bp-asm.h>.
2136 (__mpn_sub_n): Don't use BP_SYM.
2137 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2138 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2139 and <bp-asm.h>.
2140 (__mpn_submul_1): Don't use BP_SYM.
2141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2143 <bp-sym.h> and <bp-asm.h>.
2144 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2146 <bp-sym.h> and <bp-asm.h>.
2147 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2148 comment.
2149
2150 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2151
2152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2153 Use ZK to minimize writes to Z.
2154 (sub_magnitudes): Simplify code a bit.
2155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2156 Use ZK to minimize writes to Z.
2157 (sub_magnitudes): Simplify code a bit.
2158
2159 2013-02-27 Roland McGrath <roland@hack.frob.com>
2160
2161 * csu/gmon-start.c: Add special exception to license text.
2162
2163 2013-02-27 Richard Henderson <rth@redhat.com>
2164
2165 * scripts/config.guess: Update from config.git.
2166 * scripts/config.sub: Likewise.
2167
2168 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2169
2170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2171
2172 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2173
2174 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2175
2176 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2177
2178 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2179
2180 2013-02-26 Roland McGrath <roland@hack.frob.com>
2181
2182 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2183 [$(build-shared = yes].
2184
2185 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2186
2187 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2188 (__mul): Reduce iterations for calculating mantissa.
2189
2190 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2191 MPTWO.
2192 (__mpranred): Likewise.
2193
2194 [BZ #15160]
2195 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2196 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2197
2198 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2199
2200 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2201 Define __attribute__.
2202
2203 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
2205 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2206 unused.
2207 * posix/regex_internal.h (__attribute): Remove.
2208 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2209 (re_string_context_at): Likewise.
2210 (bitset_not): Use __attribute__ and mark function as possibly
2211 unused.
2212 (bitset_merge): Likewise.
2213 (bitset_mask): Likewise.
2214 (re_string_char_size_at): Likewise.
2215 (re_string_wchar_at): Likewise.
2216 (re_string_elem_size_at): Likewise.
2217
2218 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2219
2220 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2221 code.
2222 (cc32): Likewise.
2223
2224 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2225 (__acr): Likewise.
2226 (__cpy): Likewise.
2227 (norm): Likewise.
2228 (denorm): Likewise.
2229 (__dbl_mp): Likewise.
2230 (add_magnitudes): Likewise.
2231 (sub_magnitudes): Likewise.
2232 (__mul): Likewise.
2233 (__inv): Likewise.
2234
2235 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2236 style.
2237
2238 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2239 style.
2240
2241 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2242 code.
2243
2244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2245 up changes with default code.
2246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2247 Likewise.
2248
2249 2013-02-24 Allan McRae <allan@archlinux.org>
2250
2251 * manual/socket.texi (The Internet Namespace): Order menu items
2252 to match that in the file.
2253
2254 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2255 node listing of the info page menu.
2256
2257 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2258
2259 [BZ #13550]
2260 * sysdeps/i386/bp-asm.h: Remove file.
2261 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2262 (PARMS): Do not use macros from bp-asm.h.
2263 (S1): Likewise.
2264 (S2): Likewise.
2265 (SIZE): Likewise.
2266 (__mpn_add_n): Do not use BP_SYM
2267 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2268 "bp-asm.h".
2269 (PARMS): Do not use macros from bp-asm.h.
2270 (S1): Likewise.
2271 (SIZE): Likewise.
2272 (__mpn_addmul_1): Do not use BP_SYM
2273 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2274 "bp-asm.h".
2275 (PARMS): Do not use macros from bp-asm.h.
2276 (SIGMSK): Likewise.
2277 (_setjmp): Likewise. Do not use BP_SYM.
2278 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2279 "bp-asm.h".
2280 (PARMS): Do not use macros from bp-asm.h.
2281 (SIGMSK): Likewise.
2282 (setjmp): Likewise. Do not use BP_SYM.
2283 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2284 "bp-asm.h".
2285 (PARMS): Do not use macros from bp-asm.h.
2286 (__frexp): Do not use BP_SYM.
2287 (frexp): Likewise.
2288 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2289 "bp-asm.h".
2290 (PARMS): Do not use macros from bp-asm.h.
2291 (__frexpf): Do not use BP_SYM.
2292 (frexpf): Likewise.
2293 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2294 "bp-asm.h".
2295 (PARMS): Do not use macros from bp-asm.h.
2296 (__frexpl): Do not use BP_SYM.
2297 (frexpl): Likewise.
2298 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2299 "bp-asm.h".
2300 (PARMS): Do not use macros from bp-asm.h.
2301 (__remquo): Do not use BP_SYM.
2302 (remquo): Likewise.
2303 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2304 "bp-asm.h".
2305 (PARMS): Do not use macros from bp-asm.h.
2306 (__remquof): Do not use BP_SYM.
2307 (remquof): Likewise.
2308 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2309 "bp-asm.h".
2310 (PARMS): Do not use macros from bp-asm.h.
2311 (__remquol): Do not use BP_SYM.
2312 (remquol): Likewise.
2313 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2314 "bp-asm.h".
2315 (PARMS): Do not use macros from bp-asm.h.
2316 (DEST): Likewise.
2317 (SRC): Likewise.
2318 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2319 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2320 "bp-asm.h".
2321 (PARMS): Do not use macros from bp-asm.h.
2322 (strlen): Do not use BP_SYM.
2323 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2324 "bp-asm.h".
2325 (PARMS): Do not use macros from bp-asm.h.
2326 (S1): Likewise.
2327 (S2): Likewise.
2328 (SIZE): Likewise.
2329 (__mpn_add_n): Do not use BP_SYM.
2330 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2331 "bp-asm.h".
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (S1): Likewise.
2334 (SIZE): Likewise.
2335 (__mpn_addmul_1): Do not use BP_SYM.
2336 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2337 weak_alias.
2338 (bzero): Likewise.
2339 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2340 "bp-asm.h".
2341 (PARMS): Do not use macros from bp-asm.h.
2342 (S): Likewise.
2343 (SIZE): Likewise.
2344 (__mpn_lshift): Do not use BP_SYM.
2345 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2346 "bp-asm.h".
2347 (PARMS): Do not use macros from bp-asm.h.
2348 (DEST): Likewise.
2349 (SRC): Likewise.
2350 (LEN): Likewise.
2351 (memcpy): Likewise. Do not use BP_SYM.
2352 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2353 libc_hidden_def and weak_alias.
2354 (mempcpy): Do not use BP_SYM in weak_alias.
2355 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2356 "bp-asm.h".
2357 (PARMS): Do not use macros from bp-asm.h.
2358 (DEST): Likewise.
2359 (LEN): Likewise.
2360 [!BZERO_P] (CHR): Likewise.
2361 (memset): Likewise. Do not use BP_SYM.
2362 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2363 "bp-asm.h".
2364 (PARMS): Do not use macros from bp-asm.h.
2365 (S1): Likewise.
2366 (SIZE): Likewise.
2367 (__mpn_mul_1): Do not use BP_SYM.
2368 * sysdeps/i386/i586/rshift.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_rshift): Do not use BP_SYM.
2374 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2375 "bp-asm.h".
2376 (PARMS): Do not use macros from bp-asm.h.
2377 (STR): Likewise.
2378 (CHR): Likewise.
2379 (strchr): Likewise. Do not use BP_SYM.
2380 (index): Do not use BP_SYM in weak_alias.
2381 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2382 "bp-asm.h".
2383 (PARMS): Do not use macros from bp-asm.h.
2384 (DEST): Likewise.
2385 (SRC): Likewise.
2386 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2387 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2388 "bp-asm.h".
2389 (PARMS): Do not use macros from bp-asm.h.
2390 (strlen): Do not use BP_SYM.
2391 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
2396 (SIZE): Likewise.
2397 (__mpn_sub_n): Do not use BP_SYM.
2398 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2399 "bp-asm.h".
2400 (PARMS): Do not use macros from bp-asm.h.
2401 (S1): Likewise.
2402 (SIZE): Likewise.
2403 (__mpn_submul_1): Do not use BP_SYM.
2404 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2405 "bp-asm.h".
2406 (PARMS): Do not use macros from bp-asm.h.
2407 (S1): Likewise.
2408 (S2): Likewise.
2409 (SIZE): Likewise.
2410 (__mpn_add_n): Do not use BP_SYM.
2411 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2412 weak_alias.
2413 (bzero): Likewise.
2414 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2415 "bp-asm.h".
2416 (PARMS): Do not use macros from bp-asm.h.
2417 (BLK2): Likewise.
2418 (LEN): Likewise.
2419 (memcmp): Do not use BP_SYM.
2420 (bcmp): Do not use BP_SYM in weak_alias.
2421 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2422 "bp-asm.h".
2423 (PARMS): Do not use macros from bp-asm.h.
2424 (DEST): Likewise.
2425 (SRC): Likewise.
2426 (LEN): Likewise.
2427 (memcpy): Likewise. Do not use BP_SYM.
2428 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2429 "bp-asm.h".
2430 (PARMS): Do not use macros from bp-asm.h.
2431 (DEST): Likewise.
2432 (SRC): Likewise.
2433 (LEN): Likewise.
2434 (memmove): Likewise. Do not use BP_SYM.
2435 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2436 "bp-asm.h".
2437 (PARMS): Do not use macros from bp-asm.h.
2438 (DEST): Likewise.
2439 (SRC): Likewise.
2440 (LEN): Likewise.
2441 (__mempcpy): Likewise. Do not use BP_SYM.
2442 (mempcpy): Do not use BP_SYM in weak_alias.
2443 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2444 "bp-asm.h".
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (DEST): Likewise.
2447 (LEN): Likewise.
2448 [!BZERO_P] (CHR): Likewise.
2449 (memset): Likewise. Do not use BP_SYM.
2450 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2451 "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2453 (STR2): Likewise.
2454 (strcmp): Do not use BP_SYM.
2455 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2456 "bp-asm.h".
2457 (PARMS): Do not use macros from bp-asm.h.
2458 (STR): Likewise.
2459 (DELIM): Likewise.
2460 [USE_AS_STRTOK_R] (SAVE): Likewise.
2461 (FUNCTION): Likewise. Do not use BP_SYM.
2462 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2463 aliases.
2464 (strtok_r): Likewise.
2465 (__GI___strtok_r): Likewise.
2466 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2467 (PARMS): Do not use macros from bp-asm.h.
2468 (S): Likewise.
2469 (SIZE): Likewise.
2470 (__mpn_lshift): Do not use BP_SYM.
2471 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2472 (PARMS): Do not use macros from bp-asm.h.
2473 (STR): Likewise.
2474 (CHR): Likewise.
2475 (__memchr): Do not use BP_SYM.
2476 (memchr): Do not use BP_SYM in weak_alias.
2477 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2478 (PARMS): Do not use macros from bp-asm.h.
2479 (BLK2): Likewise.
2480 (LEN): Likewise.
2481 (memcmp): Do not use BP_SYM.
2482 (bcmp): Do not use BP_SYM in weak_alias.
2483 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2484 (PARMS): Do not use macros from bp-asm.h.
2485 (S1): Likewise.
2486 (SIZE): Likewise.
2487 (__mpn_mul_1): Do not use BP_SYM.
2488 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2489 "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2491 (STR): Likewise.
2492 (CHR): Likewise.
2493 (__rawmemchr): Do not use BP_SYM.
2494 (rawmemchr): Do not use BP_SYM in weak_alias.
2495 * sysdeps/i386/rshift.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_rshift): Do not use BP_SYM.
2500 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2501 (PARMS): Do not use macros from bp-asm.h.
2502 (SIGMSK): Likewise.
2503 (__sigsetjmp): Likewise. Do not use BP_SYM.
2504 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2505 (_start): Do not use BP_SYM.
2506 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2507 (PARMS): Do not use macros from bp-asm.h.
2508 (DEST): Likewise.
2509 (SRC): Likewise.
2510 (__stpcpy): Likewise. Do not use BP_SYM.
2511 (stpcpy): Do not use BP_SYM in weak_alias.
2512 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2513 "bp-asm.h".
2514 (PARMS): Do not use macros from bp-asm.h.
2515 (DEST): Likewise.
2516 (SRC): Likewise.
2517 (LEN): Likewise.
2518 (__stpncpy): Likewise. Do not use BP_SYM.
2519 (stpncpy): Do not use BP_SYM in weak_alias.
2520 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2521 (PARMS): Do not use macros from bp-asm.h.
2522 (STR): Likewise.
2523 (CHR): Likewise.
2524 (strchr): Likewise. Do not use BP_SYM.
2525 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2526 "bp-asm.h".
2527 (PARMS): Do not use macros from bp-asm.h.
2528 (STR): Likewise.
2529 (CHR): Likewise.
2530 (__strchrnul): Likewise. Do not use BP_SYM.
2531 (strchrnul): Do not use BP_SYM in weak_alias.
2532 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2533 "bp-asm.h".
2534 (PARMS): Do not use macros from bp-asm.h.
2535 (STOP): Likewise.
2536 (strcspn): Do not use BP_SYM.
2537 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2538 "bp-asm.h".
2539 (PARMS): Do not use macros from bp-asm.h.
2540 (STR): Likewise.
2541 (STOP): Likewise.
2542 (strpbrk): Likewise. Do not use BP_SYM.
2543 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2544 "bp-asm.h".
2545 (PARMS): Do not use macros from bp-asm.h.
2546 (STR): Likewise.
2547 (CHR): Likewise.
2548 (strrchr): Likewise. Do not use BP_SYM.
2549 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2550 (PARMS): Do not use macros from bp-asm.h.
2551 (SKIP): Likewise.
2552 (strspn): Do not use BP_SYM.
2553 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2554 (PARMS): Do not use macros from bp-asm.h.
2555 (STR): Likewise.
2556 (DELIM): Likewise.
2557 (SAVE): Likewise.
2558 (FUNCTION): Likewise. Do not use BP_SYM.
2559 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2560 aliases.
2561 (strtok_r): Likewise.
2562 (__GI___strtok_r): Likewise.
2563 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2564 (PARMS): Do not use macros from bp-asm.h.
2565 (S1): Likewise.
2566 (S2): Likewise.
2567 (SIZE): Likewise.
2568 (__mpn_sub_n): Do not use BP_SYM.
2569 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2570 "bp-asm.h".
2571 (PARMS): Do not use macros from bp-asm.h.
2572 (S1): Likewise.
2573 (SIZE): Likewise.
2574 (__mpn_submul_1): Do not use BP_SYM.
2575 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2576 <bp-sym.h>.
2577 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2578 and <bp-asm.h>.
2579 (PARMS): Do not use macros from bp-asm.h.
2580 (FLAGS): Likewise.
2581 (PTID): Likewise.
2582 (TLS): Likewise.
2583 (CTID): Likewise.
2584 (__clone): Do not use BP_SYM.
2585 (clone): Do not use BP_SYM in weak_alias.
2586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2587 and <bp-asm.h>.
2588 (PARMS): Do not use macros from bp-asm.h.
2589 (LEN): Likewise.
2590 (__mmap64): Do not use BP_SYM.
2591 (mmap64): Do not use BP_SYM in weak_alias.
2592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2593 <bp-sym.h> and <bp-asm.h>.
2594 (PARMS): Do not use macros from bp-asm.h.
2595 (__posix_fadvise64_l64): Do not use BP_SYM.
2596 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2597 (PARMS): Do not use macros from bp-asm.h.
2598 (NSOPS): Likewise.
2599 (semtimedop): Do not use BP_SYM.
2600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2601 and <bp-asm.h>.
2602
2603 2013-02-21 Allan McRae <allan@archlinux.org>
2604
2605 * manual/message.texi (Charset conversion in gettext):
2606 Move @end statement to beginning of line.
2607
2608 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
2610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2611 static.
2612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2613 Likewise.
2614
2615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2616 (denorm): Likewise.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2619
2620 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2621
2622 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2623 tail-call to the resolved function if pltexit isn't needed.
2624
2625 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2626
2627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2628 or Y being zero as being unlikely.
2629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2630 Likewise.
2631
2632 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2633
2634 * manual/nss.texi (System Databases and Name Service Switch):
2635 Remove frobnicate @pxref.
2636
2637 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2638
2639 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2640 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2641
2642 2013-02-20 Petr Machata <pmachata@redhat.com>
2643
2644 * elf/elf.h (R_ARM_TARGET1): New macro.
2645 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2646 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2647 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2648 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2649 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2650 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2651 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2652 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2653 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2654 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2655 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2656 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2657 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2658 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2659 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2660 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2661 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2662 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2663 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2664 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2665 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2666 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2667 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2668 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2669 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2670 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2671 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2672 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2673 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2674 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2675 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2676 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2677 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2678 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2679 (R_ARM_THM_GOT_BREL12): Likewise.
2680 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2681 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2682 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2683 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2684 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2685 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2686 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2687 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2688 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2689
2690 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2691
2692 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2693 __attribute_used__ to __attribute__ ((unused)).
2694
2695 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2696
2697 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2698 powerpc mpa.c.
2699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2700 comment formatting.
2701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2702
2703 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2704
2705 [BZ #13550]
2706 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2707 Remove macro.
2708 (ENTER): Remove both macro definitions.
2709 (LEAVE): Likewise.
2710 (CHECK_BOUNDS_LOW): Likewise.
2711 (CHECK_BOUNDS_HIGH): Likewise.
2712 (CHECK_BOUNDS_BOTH): Likewise.
2713 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2714 (RETURN_BOUNDED_POINTER): Likewise.
2715 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2716 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2717 (POP_ERRNO_LOCATION_RETURN): Likewise.
2718 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2719 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2720 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2721 macros.
2722 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2723 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2724 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2725 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2726 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2727 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2728 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2729 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2730 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2731 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2732 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2733 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2735 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2736 removed macros.
2737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2738 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2739 macros.
2740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2741 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2742 * sysdeps/i386/i586/memset.S (memset): Likewise.
2743 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2744 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2745 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2746 macros.
2747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2748 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2749 Change uses of L(2) to L(out).
2750 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2751 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2752 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2753 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2754 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2755 removed macros.
2756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2757 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2758 macros.
2759 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2760 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2761 (RETURN): Do not use macro LEAVE.
2762 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2763 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2764 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2765 * sysdeps/i386/i686/memset.S (memset): Likewise.
2766 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2767 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2769 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2770 Likewise.
2771 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2772 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2773 L(1_2) and L(1_3) into L(1).
2774 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2775 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2777 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2778 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2779 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2780 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2781 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2782 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2783 macros.
2784 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2785 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2786 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2787 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2788 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2789 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2790 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2791 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2792 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2793 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2794 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2795 * sysdeps/i386/strspn.S (strspn): Likewise.
2796 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2797 conditional code.
2798 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2799 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2800 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2801 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2802 L(1_3) into L(1_1).
2803 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2805 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2806 macros.
2807 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2808
2809 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2810
2811 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2812 macro.
2813
2814 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2815
2816 * math/atest-exp.c (exp_mpn): Remove ROUND.
2817 * math/atest-exp2.c (exp_mpn): Likewise.
2818 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2819
2820 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2821 * stdlib/tst-tls-atexit-lib.c: Likewise.
2822 * stdlib/tst-tls-atexit.c: Likewise.
2823
2824 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2825
2826 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2827 and __attribute_alloc_size__.
2828
2829 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2830
2831 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2832 __attribute_alloc_size__.
2833 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2834 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2835
2836 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2837
2838 * include/programs/xmalloc.h: New file.
2839 * catgets/gencat.c: Include it.
2840 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2841 * elf/pldd.c: Likewise.
2842 * iconv/iconv_charmap.c: Likewise.
2843 * iconv/iconvconfig.c: Likewise.
2844 * iconv/strtab.c: Likewise.
2845 * locale/programs/locale.c: Likewise.
2846 * locale/programs/localedef.h: Likewise.
2847 * locale/programs/simple-hash.c: Likewise.
2848 * nscd/nscd.h: Likewise.
2849 * nss/makedb.c: Likewise.
2850 * sysdeps/generic/ldconfig.h: Likewise.
2851
2852 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2853
2854 * Versions.def: Add GLIBC_2.18.
2855 * include/link.h (struct link_map): New member l_tls_dtor_count.
2856 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2857 (__call_tls_dtors): Likewise.
2858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2859 __cxa_thread_atexit_impl.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2861 Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2863 Likewise.
2864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2865 Likewise.
2866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2867 Likewise.
2868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2870 Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2872 Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2875 Likewise.
2876 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2877 (tests): Add test case tst-tls-atexit.
2878 (modules-names): Add shared library for tst-tls-atexit.
2879 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2880 (GLIBC_PRIVATE): Add __call_tls_dtors.
2881 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2882 for libstdc++.
2883 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2884 * stdlib/tst-tls-atexit.c: New test case.
2885 * stdlib/tst-tls-atexit-lib.c: New test case.
2886
2887 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2888
2889 * elf/Versions (ld): Add _dl_find_dso_for_object.
2890 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2891 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2892 (dl_open_worker): Use _dl_find_dso_for_object.
2893 * elf/dl-sym.c (do_sym): Likewise.
2894 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2895
2896 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2897
2898 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2899 Syntactic changes only.
2900 (_dl_runtime_profile): Do a tail-call to the resolved function.
2901
2902 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2903
2904 [BZ #13550]
2905 * sysdeps/x86_64/bp-asm.h: Remove file.
2906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2907 <bp-sym.h> and <bp-asm.h>.
2908 (__clone): Do not use BP_SYM.
2909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2910 <bp-sym.h> and <bp-asm.h>.
2911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2912 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2913 "bp-asm.h".
2914 (_setjmp): Do not use BP_SYM.
2915 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2916 "bp-asm.h".
2917 (setjmp): Do not use BP_SYM.
2918 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2919 libc_hidden_def.
2920 (mempcpy): Do not use BP_SYM in weak_alias.
2921 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2922 "bp-asm.h".
2923 (strchr): Do not use BP_SYM.
2924 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2925 "bp-asm.h".
2926 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2927 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2928 (_start): Do not use BP_SYM.
2929 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2930 "bp-asm.h".
2931 (strcat): Do not use BP_SYM.
2932 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2933 "bp-asm.h".
2934 (STRCMP): Do not use BP_SYM.
2935 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2936 "bp-asm.h".
2937 (STRCPY): Do not use BP_SYM.
2938 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2939 "bp-asm.h".
2940 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2941 "bp-asm.h".
2942 (FUNCTION): Do not use BP_SYM.
2943 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2944 weak_alias.
2945 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2946
2947 2013-02-17 Andreas Jaeger <aj@suse.de>
2948
2949 * time/Versions: Sort entries.
2950 * string/Versions: Likewise.
2951 * resolv/Versions: Likewise.
2952 * posix/Versions: Likewise.
2953 * iconv/Versions: Likewise.
2954 * elf/Versions: Likewise.
2955 * wcsmbs/Versions: Likewise.
2956
2957 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
2959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2960 loop termination condition.
2961
2962 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2963 variable to calculate EZ.
2964 (__sqr): Likewise.
2965
2966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2967 the lower precision input.
2968
2969 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #13550]
2972 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2973 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2974 (run-via-rtld-prefix): Do not handle %-bp tests.
2975 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2976 (all-object-suffixes): Remove .ob.
2977 (bppfx): Remove variable.
2978 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2979 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2980 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2981 [$(build-bounded) = yes] (libtype.ob): Likewise.
2982 * Makerules (elide-routines.ob): Remove variable.
2983 (do-tests-clean): Do not handle *-bp.out.
2984 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2985 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2986 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2987 (tests): Do not include $(tests-bp.out).
2988 (xtests): Do not include $(xtests-bp.out).
2989 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2990 [$(build-bounded) = yes] ($(addprefix
2991 $(objpfx),$(binaries-bounded))): Remove rule.
2992 ($(objpfx)%-bp.out): Remove rule.
2993 * config.make.in (build-bounded): Remove variable.
2994 * crypt/Makefile [$(build-bounded) = yes]
2995 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2996 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2997 append to variable.
2998 [$(build-bounded) = yes] (install-lib): Likewise.
2999 [$(build-bounded) = yes] (generated): Likewise.
3000 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3001 Remove rule.
3002 * intl/Makefile [$(build-bounded) = yes]
3003 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3004 * math/Makefile [$(build-bounded) = yes]
3005 ($(tests:%=$(objpfx)%-bp): Likewise.
3006 * misc/Makefile [$(build-bounded) = yes]
3007 ($(objpfx)tst-tsearch-bp): Likewise.
3008 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3009 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3010 Remove dependency.
3011 * string/Makefile (o-objects.ob): Remove variable.
3012 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3013 (CFLAGS-.ob): Remove variable.
3014 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3015 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3016 both definitions of variable.
3017 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3018 (ASFLAGS-.ob): Remove variable.
3019
3020 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #13550]
3023 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3024 Remove __BOUNDED_POINTERS__ from condition.
3025 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3026 * string/bits/string2.h [!__NO_STRING_INLINES &&
3027 !__BOUNDED_POINTERS__]: Likewise.
3028 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3029 Likewise.
3030 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3031 Remove conditional code.
3032 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3033 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3034 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3035 condition.
3036
3037 [BZ #13550]
3038 * csu/libc-start.c: Do not include <bp-sym.h>.
3039 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3040 * elf/dl-open.c: Do not include <bp-sym.h>.
3041 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3042 * math/fegetenv.c: Do not include <bp-sym.h>.
3043 (fegetenv): Do not use BP_SYM in versioned symbols.
3044 * nptl/sysdeps/pthread/bits/libc-lockP.h
3045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3046 <bp-sym.h>.
3047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3048 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3050 (__pthread_mutex_destroy): Likewise.
3051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3052 (__pthread_mutex_lock): Likewise.
3053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3054 (__pthread_mutex_trylock): Likewise.
3055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3056 (__pthread_mutex_unlock): Likewise.
3057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3058 (__pthread_mutexattr_init): Likewise.
3059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3060 (__pthread_mutexattr_destroy): Likewise.
3061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3062 (__pthread_mutexattr_settype): Likewise.
3063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3064 (__pthread_rwlock_init): Likewise.
3065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3066 (__pthread_rwlock_destroy): Likewise.
3067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3068 (__pthread_rwlock_rdlock): Likewise.
3069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3070 (__pthread_rwlock_tryrdlock): Likewise.
3071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3072 (__pthread_rwlock_wrlock): Likewise.
3073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3074 (__pthread_rwlock_trywrlock): Likewise.
3075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3076 (__pthread_rwlock_unlock): Likewise.
3077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3078 (__pthread_key_create): Likewise.
3079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3080 (__pthread_setspecific): Likewise.
3081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3082 (__pthread_getspecific): Likewise.
3083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3084 Likewise.
3085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3086 (_pthread_cleanup_push_defer): Likewise.
3087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3088 (_pthread_cleanup_pop_restore): Likewise.
3089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3090 (pthread_setcancelstate): Likewise.
3091 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3092 <bp-sym.h>.
3093 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3094 (memchr): Do not use BP_SYM in weak_alias.
3095 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3096 (fegetenv): Do not use BP_SYM in versioned symbols.
3097 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3098 (fesetenv): Do not use BP_SYM in versioned symbols.
3099 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3100 (feupdateenv): Do not use BP_SYM in versioned symbols.
3101 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3102 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3103 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3104 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3105 (open64): Do not use BP_SYM in weak_alias.
3106 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3107 (fegetenv): Do not use BP_SYM in versioned symbols.
3108 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3109 (fesetenv): Do not use BP_SYM in versioned symbols.
3110 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3111 (feupdateenv): Do not use BP_SYM in versioned symbols.
3112 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3113 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3114 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3115 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3116 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3117 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3119 <bp-sym.h>.
3120 (__libc_start_main): Do not use BP_SYM.
3121
3122 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3123
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3125 redundant return line.
3126 (norm): Likewise.
3127 (denorm): Likewise.
3128 (dbl_mp): Likewise.
3129 (sub_magnitudes): Likewise.
3130 (__add): Likewise.
3131 (__sub): Likewise.
3132 (__mul): Likewise.
3133 (__inv): Likewise.
3134 (__dvd): Likewise.
3135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3136 (norm): Likewise.
3137 (denorm): Likewise.
3138 (dbl_mp): Likewise.
3139 (sub_magnitudes): Likewise.
3140 (__add): Likewise.
3141 (__sub): Likewise.
3142 (__mul): Likewise.
3143 (__inv): Likewise.
3144 (__dvd): Likewise.
3145
3146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3147 instead of __mul.
3148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3149 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3150 (cc32): Likewise.
3151
3152 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3153 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3155 of __mul for squares.
3156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3157 function
3158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3159 Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3161 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3162
3163 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3164
3165 [BZ #13550]
3166 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3167 code.
3168 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3169 prototype or function definition. Rename ubp_* variables and
3170 parameters. Remove argv definitions conditional on
3171 [__BOUNDED_POINTERS__].
3172 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3173 * elf/dl-runtime.c (_dl_fixup): Likewise.
3174 * include/set-hooks.h (RUN_HOOK): Likewise.
3175 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3176 definition.
3177 * string/strcpy.c (strcpy): Do not use __unbounded.
3178 * sysdeps/generic/frame.h (struct layout): Likewise.
3179 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3180 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3181 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3182 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3183 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3184 (__backtrace): Likewise.
3185 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3186 use __ptrvalue.
3187 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3188 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3189 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3192 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3195 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3196 Do not use __unbounded.
3197 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3198 Rename __unboundedrlimits parameter to rlimits in prototype.
3199 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3200 Do not use __unbounded.
3201 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3202 not use __ptrvalue.
3203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3204 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3205 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3207 __ptrvalue or __unbounded.
3208 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3209 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3210 use __unbounded.
3211 (__new_msgctl): Do not use __ptrvalue.
3212 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3213 __unbounded.
3214 (__libc_msgrcv): Do not use __ptrvalue.
3215 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3216 startup_info): Do not use __unbounded.
3217 (__libc_start_main): Likewise. Rename ubp_* variables and
3218 parameters. Remove argv definitions conditional on
3219 [__BOUNDED_POINTERS__].
3220 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3221 __ptrvalue.
3222 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3223 use __unbounded.
3224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3225 or __ptrvalue.
3226 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3227 use __unbounded.
3228 (__new_shmctl): Do not use __ptrvalue.
3229 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3230 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3234 (__libc_sigaction): Likewise.
3235 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3237 Likewise.
3238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3239
3240 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3241
3242 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3243
3244 * string/mempcpy.c: Implement by calling memcpy.
3245
3246 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3247
3248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3249
3250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3251 evaluation.
3252
3253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3254 values in the mantissa.
3255
3256 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3257 minimize writes to Z.
3258 (sub_magnitudes): Simplify code a bit.
3259
3260 2013-02-12 Roland McGrath <roland@hack.frob.com>
3261
3262 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3263 from the message. The linker prefixes all warnings with that already.
3264
3265 2013-02-12 Andreas Schwab <schwab@suse.de>
3266
3267 [BZ #15078]
3268 * posix/regexec.c (extend_buffers): Add parameter min_len.
3269 (check_matching): Pass minimum needed length.
3270 (clean_state_log_if_needed): Likewise.
3271 (get_subexp): Likewise.
3272 * posix/Makefile (tests): Add bug-regex34.
3273 (bug-regex34-ENV): Define.
3274 * posix/bug-regex34.c: New file.
3275
3276 [BZ #11561]
3277 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3278 elements compare against the byte sequence of it, not its name.
3279 * posix/Makefile (tests): Add bug-regex35.
3280 (bug-regex35-ENV): Define.
3281 * posix/bug-regex35.c: New file.
3282
3283 2013-02-11 Tom de Vries <tom@codesourcery.com>
3284
3285 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3286 comment.
3287 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3288 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3289 (CHECK_EOL): Add undef.
3290
3291 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3292
3293 * bits/stdlib-bsearch.h: New file.
3294 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3295 * stdlib/stdlib.h: Likewise.
3296
3297 2013-02-11 Roland McGrath <roland@hack.frob.com>
3298
3299 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3300 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3301 declaration.
3302 * manual/search.texi (Array Search Function): Add missing const in
3303 lfind prototype.
3304 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3305 declaration to use rlim_t.
3306 (Basic Scheduling Functions): Remove erroneous const from
3307 sched_getparam prototype. Remove erroneous * from
3308 sched_get_priority_max and sched_get_priority_min prototypes.
3309 (Resource Usage): Fix summary @comment on vtimes to refer to
3310 sys/vtimes.h rather than vtimes.h.
3311 Add missing *s in vtimes prototype.
3312 (Limits on Resources): Fix ulimit prototype to return long int.
3313 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3314 prototypes to use long int rather than double.
3315 (BSD Random): Fix initstate and setstate to use char *, not void *.
3316 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3317 prototype to make second argument 'struct aiocb64 *const[]'.
3318 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3319 (Status of AIO Operations): Remove erroneous const in aio_return and
3320 aio_return64 prototypes.
3321 (Synchronizing I/O): Fix sync prototype to return void.
3322 * manual/startup.texi (Suboptions): Remove an erroneous const in
3323 getsubopt prototype.
3324 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3325 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3326 use size_t rather than int.
3327 (Scanning All Users): Likewise for getpwent_r.
3328 (Setting Groups): Add missing const to setgroups prototype.
3329 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3330 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3331 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3332 'const void *' rather than 'const char *'.
3333 (Host Address Functions): Likewise for inet_ntop.
3334 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3335 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3336 ssize_t for return value.
3337 (Sending Data): Likewise for send, sendto, sendmsg.
3338 (Socket Option Functions): Add a missing const in setsockopt prototype.
3339 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3340 use wchar_t for the argument.
3341 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3342 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3343 take no arguments.
3344 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3345 double/float/long double for second argument.
3346 Fix return types of significand, significandf, significandl.
3347 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3348 argument in fchmod prototype.
3349 (File Owner): Use uid_t and gid_t in fchown prototype.
3350 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3351 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3352 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3353 use 'const struct dirent **' as argument types to CMP function pointer
3354 argument.
3355 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3356 (File Times): Fix summary magic @comment for struct utimbuf and utime
3357 to refer to utime.h, not time.h.
3358 * manual/string.texi (Argz Functions): Add missing const in
3359 argz_extract and argz_next prototypes.
3360 (Finding Tokens in a String): Likewise for basename.
3361 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3362 (Copying and Concatenation): Fix typo in wmemmove prototype.
3363 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3364 (Signal Stack): Remove erroneous const in sigstack prototype.
3365 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3366 prototype.
3367 (Simple Calendar Time): Likewise for stime.
3368 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3369 prototype.
3370 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3371 say sys/sysctl.h instead.
3372 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3373 and vsyslog prototypes.
3374
3375 2013-02-11 Tom de Vries <tom@codesourcery.com>
3376
3377 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3378 Remove.
3379
3380 2013-02-11 Roland McGrath <roland@hack.frob.com>
3381
3382 * misc/sys/mman.h: Fix typo in mremap comment.
3383
3384 2013-02-08 Roland McGrath <roland@hack.frob.com>
3385
3386 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3387 the '\0' terminator.
3388
3389 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3390
3391 [BZ #13550]
3392 * debug/segfault.c: Don't include <bp-checks.h>.
3393 * sysdeps/generic/bp-checks.h: Remove file.
3394 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3395 (__GETDENTS): Don't use CHECK_N.
3396 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3397 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3398 (__getgroups): Don't use CHECK_N.
3399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3400 (setgroups): Don't use CHECK_N.
3401 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3402 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3403 (__libc_msgrcv): Don't use CHECK_N.
3404 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3405 (__libc_msgsnd): Don't use CHECK_N.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3407 <bp-checks.h>.
3408 (__libc_pread): Don't use CHECK_N.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3410 include <bp-checks.h>.
3411 (__libc_pread64): Don't use CHECK_N.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3413 include <bp-checks.h>.
3414 (__libc_pwrite): Don't use CHECK_N.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3416 include <bp-checks.h>.
3417 (__libc_pwrite64): Don't use CHECK_N.
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3419 <bp-checks.h>.
3420 (__libc_pread): Don't use CHECK_N.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3422 include <bp-checks.h>.
3423 (__libc_pread64): Don't use CHECK_N.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3425 include <bp-checks.h>.
3426 (__libc_pwrite): Don't use CHECK_N.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3428 include <bp-checks.h>.
3429 (__libc_pwrite64): Don't use CHECK_N.
3430 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3431 (do_pread): Don't use CHECK_N.
3432 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3433 (do_pread64): Don't use CHECK_N.
3434 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3435 (do_pwrite): Don't use CHECK_N.
3436 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3437 (do_pwrite64): Don't use CHECK_N.
3438 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3439 (__libc_readv): Don't use CHECK_N.
3440 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3441 (semop): Don't use CHECK_N.
3442 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3443 <bp-checks.h>.
3444 (semtimedop): Don't use CHECK_N.
3445 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3446 (__libc_pread): Don't use CHECK_N.
3447 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3448 <bp-checks.h>.
3449 (__libc_pread64): Don't use CHECK_N.
3450 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3451 <bp-checks.h>.
3452 (__libc_pwrite): Don't use CHECK_N.
3453 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3454 <bp-checks.h>.
3455 (__libc_pwrite64): Don't use CHECK_N.
3456 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3457 <bp-checks.h>.
3458 (__libc_msgrcv): Don't use CHECK_N.
3459 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3460 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3461 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3462 (__libc_writev): Don't use CHECK_N.
3463
3464 2013-02-08 Roland McGrath <roland@hack.frob.com>
3465
3466 * string/strcpy.c: Removed unused variable.
3467
3468 * Makeconfig (+sysdep-includes): Define with := rather than =.
3469 Use an existing include/ subdir of each sysdeps dir before it.
3470
3471 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3472
3473 * nscd/connection.c (register_traced_file): Comment function.
3474 [HAVE_INOTIFY] (union __inev): Define.
3475 [HAVE_INOTIFY] (inotify_check_files): New function.
3476 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3477 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3478 clear_db_cache.
3479 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3480
3481 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3482
3483 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3484 loaded if not already and that a failure is permanent.
3485
3486 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3487
3488 [BZ #15006]
3489 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3490 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3491
3492 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3493
3494 [BZ #13550]
3495 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3496 (CHECK_1_NULL_OK): Likewise.
3497 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3498 (__fxstat): Do not use CHECK_1.
3499 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3500 <bp-checks.h>.
3501 (___fxstat64): Do not use CHECK_1.
3502 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3503 <bp-checks.h>.
3504 (__fxstatat): Do not use CHECK_1.
3505 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3506 <bp-checks.h>.
3507 (__fxstatat64): Do not use CHECK_1.
3508 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3509 <bp-checks.h>.
3510 (__fxstat): Do not use CHECK_1.
3511 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3512 <bp-checks.h>.
3513 (__fxstatat): Do not use CHECK_1.
3514 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3515 <bp-checks.h>.
3516 (__getresgid): Do not use CHECK_1.
3517 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3518 <bp-checks.h>.
3519 (__getresuid): Do not use CHECK_1.
3520 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3521 <bp-checks.h>.
3522 (__lxstat): Do not use CHECK_1.
3523 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3524 <bp-checks.h>.
3525 (__old_msgctl): Do not use CHECK_1.
3526 (__new_msgctl): Likewise.
3527 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3528 <bp-checks.h>.
3529 (__new_setrlimit): Do not use CHECK_1.
3530 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3531 <bp-checks.h>.
3532 (__old_shmctl): Do not use CHECK_1.
3533 (__new_shmctl): Likewise.
3534 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3535 <bp-checks.h>.
3536 (__xstat): Do not use CHECK_1.
3537 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3538 (__lxstat): Do not use CHECK_1.
3539 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3540 <bp-checks.h>.
3541 (___lxstat64): Do not use CHECK_1.
3542 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3543 (__old_msgctl): Do not use CHECK_1.
3544 (__new_msgctl): Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3546 <bp-checks.h>.
3547 (__gettimeofday): Do not use CHECK_1.
3548 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3549 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3550 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3551 <bp-checks.h>.
3552 (__gettimeofday): Do not use CHECK_1.
3553 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3554 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3555 (__new_shmctl): Do not use CHECK_1.
3556 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3557 <bp-checks.h>.
3558 (do_sigtimedwait): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3560 <bp-checks.h>.
3561 (do_sigwaitinfo): Do not use CHECK_1.
3562 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3563 <bp-checks.h>.
3564 (msgctl): Do not use CHECK_1.
3565 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3566 <bp-checks.h>.
3567 (shmctl): Do not use CHECK_1.
3568 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3569 (ustat): Do not use CHECK_1.
3570 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3571 <bp-checks.h>.
3572 (__fxstat): Do not use CHECK_1.
3573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3574 <bp-checks.h>.
3575 (__fxstatat): Do not use CHECK_1.
3576 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3577 <bp-checks.h>.
3578 (__lxstat): Do not use CHECK_1.
3579 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3580 <bp-checks.h>.
3581 (__xstat): Do not use CHECK_1.
3582 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3583 (__xstat): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3585 (___xstat64): Do not use CHECK_1.
3586
3587 [BZ #13550]
3588 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3589 definitions.
3590 (CHECK_BOUNDS_HIGH): Likewise.
3591 * string/strcpy.c: Do not include <bp-checks.h>.
3592 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3593
3594 2013-02-07 Roland McGrath <roland@hack.frob.com>
3595
3596 * nscd/nscd-client.h (__nscd_drop_map_ref):
3597 Add __attribute__ ((unused)).
3598 * nis/nss-nisplus.h (niserr2nss): Likewise.
3599
3600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3601 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3602
3603 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3604 Remove inline keyword.
3605 * include/rounding-mode.h (round_away): Likewise.
3606 * libio/wfileops.c (adjust_wide_data): Likewise.
3607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3608 (__m128i_strloadu_tolower): Likewise.
3609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3610 (__m128i_strloadu_tolower): Likewise.
3611 * time/mktime.c (ydhms_diff): Likewise.
3612 * locale/elem-hash.h (elem_hash): Likewise.
3613 * locale/setlocale.c (setdata): Likewise.
3614 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3615 (re_string_wchar_at): Likewise.
3616 (bitset_not, bitset_merge, bitset_mask): Likewise.
3617 [!(__GNUC__ > 3)] (inline): Remove macro.
3618 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3619 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3620 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3621 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3622 * string/memcmp.c (memcmp_bytes): Likewise.
3623 * locale/programs/locarchive.c (compute_hashval): Likewise.
3624 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3625 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3626 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3627 * nss/getent.c (print_rpc, print_protocols): Likewise.
3628 (print_passwd, print_group, print_aliases): Likewise.
3629 * nis/nss-nisplus.h (niserr2nss): Likewise.
3630 * nscd/connections.c (restart_p): Likewise.
3631 Change return type to bool.
3632
3633 2013-02-05 Roland McGrath <roland@hack.frob.com>
3634
3635 * Makeconfig (all-Depend-files): Add existing
3636 $(sorted-subdirs:=/Depend) files.
3637 (all-subdirs): Remove nss.
3638 * sysdeps/unix/inet/Subdirs: Add it here instead.
3639 * hesiod/Depend: New file.
3640
3641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3642 instead of calling alloca.
3643
3644 * io/lseek.c (__lseek): Rename to __libc_lseek.
3645 Define __lseek as an alias.
3646
3647 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3648
3649 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3650
3651 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3652 else clause and remove check for non-standard endianness.
3653
3654 2013-02-04 David S. Miller <davem@davemloft.net>
3655
3656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3657
3658 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3659
3660 [BZ #13550]
3661 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3662 (__ubp_memchr): Remove prototype.
3663 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3664 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3665 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3666 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3667 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3668 Remove alias.
3669 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3670 (__ubp_memchr): Likewise.
3671 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3672 (__ubp_memchr): Likewise.
3673 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3674 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3675 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3676 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3677 CHECK_STRING.
3678 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3679 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3680 (__getcwd): Do not use CHECK_STRING.
3681 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3682 <bp-checks.h>.
3683 (__real_chown): Do not use CHECK_STRING.
3684 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3685 <bp-checks.h>.
3686 (fchownat): Do not use CHECK_STRING.
3687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3688 CHECK_STRING.
3689 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3690 <bp-checks.h>.
3691 (__lchown): Do not use CHECK_STRING.
3692 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3693 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3694 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3695 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3697 include <bp-checks.h>.
3698 (truncate64): Do not use CHECK_STRING.
3699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3700 <bp-checks.h>.
3701 (__real_chown): Do not use CHECK_STRING.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3703 <bp-checks.h>.
3704 (__lchown): Do not use CHECK_STRING.
3705 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3706 <bp-checks.h>.
3707 (__chown): Do not use CHECK_STRING.
3708 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3709 <bp-checks.h>.
3710 (truncate64): Do not use CHECK_STRING.
3711 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3712 Likewise.
3713 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3714 (__xmknod): Do not use CHECK_STRING.
3715 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3716 <bp-checks.h>.
3717 (__xmknodat): Do not use CHECK_STRING.
3718 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3719 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3720
3721 2013-02-04 Andreas Schwab <schwab@suse.de>
3722
3723 [BZ #14142]
3724 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3725 * include/netdb.h: Likewise for h_errno.
3726 * elf/tst-stackguard1.c: Include <tls.h>.
3727
3728 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 * elf/link.h (struct link_map): Extend the l_addr comment.
3731 * include/link.h (struct link_map): Likewise.
3732
3733 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3734
3735 [BZ #13550]
3736 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3737 (BOUNDED_1): Remove macro.
3738 * debug/backtrace.c: Don't include <bp-checks.h>.
3739 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3740 (__backtrace): Likewise.
3741 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3742 <bp-checks.h>.
3743 (__backtrace): Don't use BOUNDED_1.
3744 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3745 <bp-checks.h>.
3746 (__backtrace): Don't use BOUNDED_1.
3747 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3748 (__backtrace): Don't use BOUNDED_1.
3749 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3750 (shmat): Don't use BOUNDED_N.
3751
3752 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #13550]
3755 * sysdeps/generic/bp-start.h: Remove file.
3756 * csu/libc-start.c: Don't include <bp-start.h>.
3757 (LIBC_START_MAIN): Set up __environ directly instead of using
3758 INIT_ARGV_and_ENVIRON.
3759 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3760 <bp-start.h>.
3761
3762 [BZ #13550]
3763 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3764 definitions.
3765 (CHECK_FCNTL): Likewise.
3766 (CHECK_N_PAGES): Likewise.
3767
3768 [BZ #13550]
3769 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3770 definitions.
3771 (CHECK_SIGSET_NULL_OK): Likewise.
3772 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3773 <bp-checks.h>.
3774 (sigpending): Don't use CHECK_SIGSET.
3775 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3776 <bp-checks.h>.
3777 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3778 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3779 <bp-checks.h>.
3780 (do_sigsuspend): Don't use CHECK_SIGSET.
3781 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3782 use CHECK_SIGSET.
3783 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3784 (do_sigwait): Don't use CHECK_SIGSET.
3785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3786 use CHECK_SIGSET.
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3788 include <bp-checks.h>.
3789 (sigpending): Don't use CHECK_SIGSET.
3790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3791 include <bp-checks.h>.
3792 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3793 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3794 <bp-checks.h>.
3795 (sigpending): Don't use CHECK_SIGSET.
3796 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3797 <bp-checks.h>.
3798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3799
3800 [BZ #13550]
3801 * sysdeps/generic/bp-semctl.h: Remove file.
3802 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3803 <bp-checks.h> and <bp-semctl.h>.
3804 (__old_semctl): Don't use CHECK_SEMCTL.
3805 (__new_semctl): Likewise.
3806 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3807 and <bp-semctl.h>.
3808 (__old_semctl): Don't use CHECK_SEMCTL.
3809 (__new_semctl): Likewise.
3810 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3811 <bp-checks.h> and <bp-semctl.h>.
3812 (__old_semctl): Don't use CHECK_SEMCTL.
3813 (__new_semctl): Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3815 <bp-checks.h> and <bp-semctl.h>.
3816 (semctl): Don't use CHECK_SEMCTL.
3817
3818 [BZ #13550]
3819 * Makerules (elide-bp-thunks): Remove variable.
3820 (elide-routines.oS): Don't use $(elide-bp-thunks).
3821 (elide-routines.os): Likewise.
3822 (elide-routines.o): Likewise.
3823 (elide-routines.op): Likewise.
3824 (elide-routines.og): Likewise.
3825 (objects): Don't use $(bp-thunks).
3826 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3827 include.
3828 (common-generated): Do not add s-proto-bp.d.
3829 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3830 (int): Likewise.
3831 (typ): Likewise.
3832 Do not generate makefile rules for bounded-pointer thunks.
3833 * sysdeps/generic/bp-thunks.h: Remove file.
3834 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3835 * sysdeps/unix/s-proto-bp.S: Likewise.
3836
3837 [BZ #15062]
3838 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3839 parts of result separately when argument is not close to line from
3840 -i to i and one part of argument is small.
3841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3843 * math/libm-test.inc (cacos_test): Add more tests.
3844 (casin_test): Likewise.
3845 (casinh_test): Likewise.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
3849 2013-01-31 David S. Miller <davem@davemloft.net>
3850
3851 * po/de.po: Update from translation team.
3852
3853 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3854
3855 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3856
3857 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3858
3859 * configure.in (_AC_PROG_CC_C89): New definition.
3860 * configure: Regenerate.
3861
3862 * configure.in (AC_PROG_CPP): New definition.
3863 * configure: Regenerate.
3864
3865 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3866
3867 * debug/tst-backtrace.h: New file.
3868 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3869 (ret): Remove variable.
3870 (x): Likewise.
3871 (FAIL): Remove macro.
3872 (NO_INLINE): Likewise.
3873 (fn1): Use match function instead of strstr.
3874 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3875 (ret): Remove variable.
3876 (x): Likewise.
3877 (FAIL): Remove macro.
3878 (NO_INLINE): Likewise.
3879 (fn): Use match function instead of strstr.
3880 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3881 (ret): Remove variable.
3882 (x): Likewise.
3883 (FAIL): Remove macro.
3884 (NO_INLINE): Likewise.
3885 (handle_signal): Use match function instead of strstr.
3886 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3887 (ret): Remove variable.
3888 (x): Likewise.
3889 (FAIL): Remove macro.
3890 (NO_INLINE): Likewise.
3891 (handle_signal): Use match function instead of strstr.
3892
3893 2013-01-23 Roland McGrath <roland@hack.frob.com>
3894
3895 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3896
3897 2013-01-23 David S. Miller <davem@davemloft.net>
3898
3899 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3900 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3901 argument of CAS if possible.
3902 * sysdeps/sparc/sparc64/bits/atomic.h
3903 (__arch_compare_and_exchange_val_32_acq): Likewise.
3904 (__arch_compare_and_exchange_val_64_acq): Likewise.
3905
3906 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3907
3908 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3909 * sysdeps/posix/ulimit.c: ... this.
3910 Include <limits.h>.
3911 * sysdeps/unix/bsd/ulimit.c: Remove file.
3912
3913 2013-01-23 Adam Conrad <adconrad@0c3.net>
3914
3915 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3916 (LDFLAGS-tst-array5): Likewise.
3917
3918 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3919
3920 [BZ #15036]
3921 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3922 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3923 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3925
3926 2013-01-21 David S. Miller <davem@davemloft.net>
3927
3928 * sysdeps/sparc/backtrace.c: New file.
3929 * sysdeps/sparc/sparc32/backtrace.h: New file.
3930 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3931 * sysdeps/sparc/sparc64/backtrace.h: New file.
3932 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3933 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3934 -funwind-tables.
3935
3936 2013-01-21 Andreas Schwab <schwab@suse.de>
3937
3938 [BZ #15020]
3939 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3940 closed its stdout.
3941
3942 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3943
3944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3945 "mpa2.h".
3946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3947
3948 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3949 Mark Mitchell <mark@codesourcery.com>
3950 Tom de Vries <tom@codesourcery.com>
3951 Paul Pluzhnikov <ppluzhnikov@google.com>
3952
3953 * debug/tst-backtrace2.c: New file.
3954 * debug/tst-backtrace3.c: Likewise.
3955 * debug/tst-backtrace4.c: Likewise.
3956 * debug/tst-backtrace5.c: Likewise.
3957 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3958 (CFLAGS-tst-backtrace3.c): Likewise.
3959 (CFLAGS-tst-backtrace4.c): Likewise.
3960 (CFLAGS-tst-backtrace5.c): Likewise.
3961 (LDFLAGS-tst-backtrace2): Likewise.
3962 (LDFLAGS-tst-backtrace3): Likewise.
3963 (LDFLAGS-tst-backtrace4): Likewise.
3964 (LDFLAGS-tst-backtrace5): Likewise.
3965 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3966 tst-backtrace4 and tst-backtrace5.
3967
3968 2013-01-18 Anton Blanchard <anton@samba.org>
3969 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3970
3971 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3972 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3974 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3976 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3977 "+r" and remove output regs list as redundant. Add explicit inline
3978 asm to specify register of return val to work around compiler codegen
3979 bug. Remove (int) cast on return value. Add return type parameter to
3980 use in macro so that this macro does not truncate return value for
3981 64-bit values.
3982 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3983 pass to INTERNAL_VSYSCALL_NCS.
3984 (INLINE_VSYSCALL): Add 'long int' as return type to
3985 INTERNAL_VSYSCALL_NCS macro invocation.
3986 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3987 INTERNAL_VSYSCALL_NCS macro invocation.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3989
3990 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3991
3992 [BZ #14496]
3993 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3994 Fix application of SIMD FP exception mask.
3995
3996 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3997 mp_no from a power of two.
3998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3999 __mpexp_twomm1. Use __pow_mp.
4000
4001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4002 multiplication.
4003
4004 2013-01-17 David S. Miller <davem@davemloft.net>
4005
4006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4007
4008 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #15023]
4011 * include/complex.h: Condition contents on [!_COMPLEX_H].
4012 (__kernel_casinhf): New prototype.
4013 (__kernel_casinh): Likewise.
4014 (__kernel_casinhl): Likewise.
4015 * math/Makefile (libm_calls): Add k_casinh.
4016 * math/k_casinh.c: New file.
4017 * math/k_casinhf.c: Likewise.
4018 * math/k_casinhl.c: Likewise.
4019 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4020 finite nonzero arguments.
4021 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4022 finite nonzero arguments.
4023 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4024 finite nonzero arguments.
4025 * math/s_casinh.c: Do not include <float.h>.
4026 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4027 * math/s_casinhf.c: Do not include <float.h>.
4028 (__casinhf): Move code for finite nonzero arguments to
4029 k_casinhf.c.
4030 * math/s_casinhl.c: Do not include <float.h>.
4031 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4032 redefine.
4033 (__casinhl): Move code for finite nonzero arguments to
4034 k_casinhl.c.
4035 * math/libm-test.inc (cacos_test): Add more tests.
4036 * sysdeps/i386/fpu/libm-test-ulps: Update.
4037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4038
4039 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4040
4041 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4042 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4043 [!HAVE_MREMAP]: Remove [defined linux] case.
4044 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4045
4046 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4047
4048 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4049
4050 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * elf/elf.h (R_386_SIZE32): New relocation.
4053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4054 R_386_SIZE32.
4055 (elf_machine_rela): Likewise.
4056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4057 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4058
4059 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4060
4061 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4062 (FP_FAST_FMA): Do not define.
4063 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4064 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4065 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4066 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4067 !_SOFT_FLOAT]: Likewise.
4068 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4069 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4070 value.
4071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4072 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4073 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4074 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4075 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4076 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4077 file.
4078
4079 2013-01-16 Andreas Schwab <schwab@suse.de>
4080
4081 [BZ #14327]
4082 * include/stdlib.h (__mktemp): Add declaration.
4083 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4084 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4085
4086 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4087
4088 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4089 definitions.
4090 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4091 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4092 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4093 definitions here.
4094 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4095 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4096 definitions.
4097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4098 and ONE.
4099 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4100 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4101 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4102 definitions.
4103 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4104 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4105 definitions.
4106 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4107
4108 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4109
4110 2013-01-15 David S. Miller <davem@davemloft.net>
4111
4112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4113 trunc{,f} to libm-sysdep_routes.
4114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4116 file.
4117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4119 file.
4120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4121 file.
4122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4124 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4126 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4127 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4128 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4129 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4130
4131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4132 nearbyint{,f} to libm-sysdep_routes.
4133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4135 New file.
4136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4137 file.
4138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4139 New file.
4140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4141 file.
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4145 file.
4146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4148 file.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4152
4153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4154 libc_feholdexcept and libc_fesetenv.
4155
4156 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4157
4158 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4159
4160 2013-01-14 David S. Miller <davem@davemloft.net>
4161
4162 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4163 (SPARC_ASM_VIS2_IFUNC): Likewise.
4164 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4166 use of 'siam' instruction.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4168 Likewise.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4170 Likewise.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4172 Likewise.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4178 file.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4180 file.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4182 file.
4183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4184 file.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4190 new VIS2 routines.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4194 Likewise.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4200 routines to libm-sysdep_routines.
4201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4202
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4204 fdim/fdimf to libm-sysdep_routines.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4206 file.
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4209 file.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4213 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4214 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4217
4218 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4219
4220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4221 to optimize copies.
4222
4223 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4226
4227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4228 local variable MPTWO.
4229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4230 Likewise.
4231
4232 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4233
4234 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4235 GLOB_NOESCAPE.
4236
4237 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4238
4239 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4240
4241 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4242
4243 * manual/pattern.texi (glob_t): Document gl_flags.
4244 (glob64_t): Likewise.
4245
4246 2013-01-11 David S. Miller <davem@davemloft.net>
4247
4248 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4249 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4250 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4251 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4252 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4253 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4255 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4256 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4257 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4258 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4259 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4260 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4261
4262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4263 sparc V9 rather than using V8 code.
4264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4266
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4268 Move to...
4269 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4270 Here.
4271
4272 2013-01-11 Roland McGrath <roland@hack.frob.com>
4273
4274 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4275 not in the main loop.
4276 * configure: Regenerated.
4277
4278 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4279
4280 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4281 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4282 to just #else.
4283 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4284 [!__GLIBC_HAVE_LONG_LONG] case.
4285 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4286 condition to just #else.
4287 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4288 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4289 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4290 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4291 unconditional.
4292 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4293 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4294 #elif condition to just #else.
4295 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4296 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4297 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4298 #elif condition to just #else.
4299
4300 2013-01-11 Steve Ellcey <sellcey@mips.com>
4301
4302 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4303 (EF_MIPS_ARCH_64): Fix value.
4304 (EF_MIPS_ARCH_32R2): New.
4305 (EF_MIPS_ARCH_64R2): New.
4306
4307 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4308
4309 * Makeconfig (+link-pie-before-libc): New.
4310 (+link-pie-after-libc): Likewise.
4311 (+link-pie-tests): Likewise.
4312 (+link-pie): Rewritten.
4313 (link-before-libc): Remove $(config-LDFLAGS).
4314 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4315 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4316 (config-LDFLAGS): Renamed to ...
4317 (rtld-LDFLAGS): This.
4318 (rtld-tests-LDFLAGS): New macro.
4319 (link-libc-rpath-link): Likewise.
4320 (link-libc-tests-rpath-link): Likewise.
4321 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4322 (link-libc): Prepand $(link-libc-rpath-link).
4323 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4324 (test-program-prefix): New macro.
4325 (test-via-rtld-prefix): Likewise.
4326 (test-program-cmd): Likewise.
4327 (host-test-program-cmd): Likewise.
4328 * Makefile ($(common-objpfx)testrun.sh): Replace
4329 $(run-program-prefix) with $(test-program-prefix).
4330 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4331 $(rtld-LDFLAGS).
4332 ($(common-objpfx)shlib.lds): Likewise.
4333 (build-module-helper): Likewise.
4334 ($(common-objpfx)format.lds): Likewise.
4335 * Rules (binaries-pie-tests): New.
4336 (binaries-pie-notests): Likewise.
4337 (binaries-pie): Rewritten.
4338 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4339 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4340 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4341 (make-test-out): Replace $(host-built-program-cmd) with
4342 $(host-test-program-cmd).
4343 * config.make.in (build-hardcoded-path-in-tests): New variable.
4344 * configure.in (--enable-hardcoded-path-in-tests): New configure
4345 option.
4346 (hardcoded_path_in_tests): New AC_SUBST.
4347 * configure: Regenerated.
4348 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4349 $(built-program-cmd) with $(test-program-cmd).
4350 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4351 (test_program_cmd): This.
4352 * elf/Makefile ($(objpfx)order.out): Run test with
4353 $(test-program-prefix).
4354 ($(objpfx)order2.out): Likewise.
4355 ($(objpfx)tst-initorder.out): Likewise.
4356 ($(objpfx)tst-initorder2.out): Likewise.
4357 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4358 $(test-program-cmd).
4359 ($(objpfx)tst-array1-static.out): Likewise.
4360 ($(objpfx)tst-array2.out): Likewise.
4361 ($(objpfx)tst-array3.out): Likewise.
4362 ($(objpfx)tst-array4.out): Likewise.
4363 ($(objpfx)tst-array5.out): Likewise.
4364 ($(objpfx)tst-array5-static.out): Likewise.
4365 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4366 $(test-program-cmd).
4367 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4368 $(run-program-prefix) with $(test-program-prefix).
4369 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4370 (test_program_prefix): This.
4371 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4372 $(run-program-prefix) with $(test-program-prefix).
4373 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4374 (test_program_prefix): This.
4375 * iconvdata/tst-tables.sh: Likewise.
4376 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4377 $(run-program-prefix) with $(test-program-prefix).
4378 ($(objpfx)tst-translit.out): Likewise.
4379 ($(objpfx)tst-gettext2.out): Likewise.
4380 ($(objpfx)tst-gettext4.out): Likewise.
4381 ($(objpfx)tst-gettext6.out): Likewise.
4382 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4383 (test_program_prefix): This.
4384 * intl/tst-gettext2.sh: Likewise.
4385 * intl/tst-gettext4.sh Likewise.
4386 * intl/tst-gettext6.sh: Likewise.
4387 * intl/tst-translit.sh: Likewise.
4388 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4389 with $(test-program-cmd).
4390 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4391 $(run-program-prefix) with $(test-program-prefix).
4392 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4393 (test_program_prefix): This.
4394 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4395 $(run-program-prefix) with $(test-program-prefix).
4396 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4397 (test_program_prefix): This.
4398 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4399 * posix/Makefile ($(objpfx)globtest.out): Replace
4400 $(run-via-rtld-prefix) and $(test-wrapper) with
4401 $(test-program-prefix) and $(test-via-rtld-prefix).
4402 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4403 $(test-program-prefix).
4404 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4405 $(host-test-program-cmd).
4406 (tst-spawn-ARGS): Likewise.
4407 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4408 $(test-program-prefix).
4409 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4410 (test_via_rtld_prefix): This.
4411 (test_wrapper): Renamed to ...
4412 (test_program_prefix): This.
4413 (run_program_prefix): Replaced by test_program_prefix.
4414 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4415 (test_program_prefix): This.
4416 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4417 with $(host-test-program-cmd).
4418 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4419 $(run-program-prefix) with $(test-program-prefix).
4420 ($(objpfx)tst-printf.out): Likewise.
4421 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4422 $(test-program-cmd).
4423 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4424 (test_program_prefix): This.
4425 * stdio-common/tst-unbputc.sh: Likewise.
4426 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4427 $(run-program-prefix) with $(test-program-prefix).
4428 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4429 (test_program_prefix): This.
4430 * string/Makefile ($(objpfx)tst-svc.out): Replace
4431 $(built-program-cmd) with $(test-program-cmd).
4432
4433 2013-01-11 Andreas Jaeger <aj@suse.de>
4434
4435 [BZ #15003]
4436 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4437 value. Sync with Linux 3.7.
4438
4439 2013-01-10 David S. Miller <davem@davemloft.net>
4440
4441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4442 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4443 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4444
4445 2013-01-10 Roland McGrath <roland@hack.frob.com>
4446
4447 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4448 never set.
4449 * configure: Regenerated.
4450
4451 2013-01-10 David S. Miller <davem@davemloft.net>
4452
4453 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4454 sparc V9 rather than using V8 code.
4455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4457
4458 2013-01-10 Roland McGrath <roland@hack.frob.com>
4459
4460 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4461 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4462 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4463 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4464 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4465 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4466 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4467 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4468 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4469 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4470 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4471 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4472 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4473 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4474 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4475 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4476 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4477 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4478 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4479 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4480 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4481 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4482 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4483 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4484 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4485 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4486 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4487
4488 2013-01-10 David S. Miller <davem@davemloft.net>
4489
4490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4491
4492 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4493
4494 * posix/Makefile (tests-static): New variable.
4495 (tests): Add $(tests-static).
4496 (tst-exec-static-ARGS): New variable.
4497 (tst-spawn-static-ARGS): Likewise.
4498 * posix/tst-exec-static.c: New file.
4499 * posix/tst-spawn-static.c: Likewise.
4500 * posix/tst-exec.c: Support run directly.
4501 * posix/tst-spawn.c: Likewise.
4502
4503 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4504
4505 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4506 long.
4507 * math/bits/mathcalls.h (llrint): Likewise.
4508 (llround): Likewise.
4509 * stdlib/stdlib.h (struct drand48_data): Likewise.
4510 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4511 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4512 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4515 Likewise.
4516 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4517 (elf_greg_t): Likewise.
4518 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4519 (__jmp_buf): Likewise.
4520 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4521 definitions.
4522 (llrint): Likewise, for all definitions.
4523 (llrintl): Likewise.
4524
4525 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4526 Remove [__GNUC__] condition.
4527 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4528 condition to just [__USE_ISOC99].
4529 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4530
4531 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 [BZ #14200]
4534 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4535 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4536 defined.
4537 (_POSIX_V6_ILP32_OFF32): Likewise.
4538 (_XBS5_ILP32_OFF32): Likewise.
4539 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4540 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4541
4542 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4543
4544 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4545
4546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4547 doubles __mpexp_twomm1. Adjust usage.
4548 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4549 Remove.
4550
4551 2013-01-10 Andreas Schwab <schwab@suse.de>
4552
4553 [BZ #14964]
4554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4555 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4556
4557 2013-01-09 David S. Miller <davem@davemloft.net>
4558
4559 [BZ #15003]
4560 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4561 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4562 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4563 TCP_FASTOPEN): Define.
4564 (tcp_repair_opt): New structure.
4565 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4566 enum values.
4567 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4568 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4569 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4570 (tcp_cookie_transactions): New structure.
4571
4572 2013-01-09 Anton Blanchard <anton@samba.org>
4573
4574 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4578
4579 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4580
4581 * include/features.h (__USE_ANSI): Remove.
4582
4583 2013-01-09 Roland McGrath <roland@hack.frob.com>
4584
4585 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4586
4587 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4588
4589 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4590
4591 * sysdeps/s390/fpu/libm-test-ulps: Update.
4592
4593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4594
4595 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4596 (__acr): Likewise.
4597 (__cpy): Likewise.
4598 (norm): Likewise.
4599 (denorm): Likewise.
4600 (__mp_dbl): Likewise.
4601 (__dbl_mp): Likewise.
4602 (add_magnitudes): Likewise.
4603 (sub_magnitudes): Likewise.
4604 (__add): Likewise.
4605 (__sub): Likewise.
4606 (__mul): Likewise.
4607 (__inv): Likewise.
4608 (__dvd): Likewise.
4609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4610 (__acr): Likewise.
4611 (__cpy): Likewise.
4612 (norm): Likewise.
4613 (denorm): Likewise.
4614 (__mp_dbl): Likewise.
4615 (__dbl_mp): Likewise.
4616 (add_magnitudes): Likewise.
4617 (sub_magnitudes): Likewise.
4618 (__add): Likewise.
4619 (__sub): Likewise.
4620 (__mul): Likewise.
4621 (__inv): Likewise.
4622 (__dvd): Likewise.
4623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4624 (__acr): Likewise.
4625 (__cpy): Likewise.
4626 (norm): Likewise.
4627 (denorm): Likewise.
4628 (__mp_dbl): Likewise.
4629 (__dbl_mp): Likewise.
4630 (add_magnitudes): Likewise.
4631 (sub_magnitudes): Likewise.
4632 (__add): Likewise.
4633 (__sub): Likewise.
4634 (__mul): Likewise.
4635 (__inv): Likewise.
4636 (__dvd): Likewise.
4637
4638 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4639
4640 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4641 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4642 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4643 2 && __USE_EXTERN_INLINES]: Likewise.
4644
4645 2013-01-08 Andreas Jaeger <aj@suse.de>
4646
4647 [BZ# 14985]
4648 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4649 Remove.
4650 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4651 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4652
4653 2013-01-07 Anton Blanchard <anton@samba.org>
4654
4655 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4656 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4657 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4658 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4661 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4670 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4671 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4673 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4674 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4676 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4678 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4679 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4680 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4682 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4684 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4685 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4697 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4698
4699 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4700
4701 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4702 (__MALLOC_PMT): Likewise.
4703 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4704 [__GNUC__], only on [_LIBC].
4705 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4706 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4707 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4708 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4709 forward declaration.
4710 (realloc_hook_ini): Likewise.
4711 (memalign_hook_ini): Likewise.
4712 (__libc_memalign): Do not use __MALLOC_PMT in variable
4713 declaration.
4714 (__libc_valloc): Likewise.
4715 (__libc_pvalloc): Likewise.
4716 (__libc_calloc): Likewise.
4717 (__posix_memalign): Likewise.
4718
4719 [BZ #14996]
4720 * math/s_casinh.c: Include <float.h>.
4721 (__casinh): Do not do computation with squaring and square root
4722 for large arguments.
4723 * math/s_casinhf.c: Include <float.h>.
4724 (__casinhf): Do not do computation with squaring and square root
4725 for large arguments.
4726 * math/s_casinhl.c: Include <float.h>.
4727 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4728 (__casinhl): Do not do computation with squaring and square root
4729 for large arguments.
4730 * math/libm-test.inc (casin_test): Add more tests.
4731 (casinh_test): Likewise.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734
4735 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4736
4737 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4738 (__x86_64_raw_data_cache_size): Likewise.
4739 (__x86_64_data_cache_size_half): Likewise.
4740 (__x86_64_raw_data_cache_size_half): Likewise.
4741 (__x86_64_shared_cache_size): Likewise.
4742 (__x86_64_raw_shared_cache_size): Likewise.
4743 (__x86_64_shared_cache_size_half): Likewise.
4744 (__x86_64_raw_shared_cache_size_half): Likewise.
4745 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4746 to ...
4747 (__x86_data_cache_size): This.
4748 (__x86_64_raw_data_cache_size): Renamed to ...
4749 (__x86_raw_data_cache_size): This.
4750 (__x86_64_data_cache_size_half): Renamed to ...
4751 (__x86_data_cache_size_half): This.
4752 (__x86_64_raw_data_cache_size_half): Renamed to ...
4753 (__x86_raw_data_cache_size_half): This.
4754 (__x86_64_shared_cache_size): Renamed to ...
4755 (__x86_shared_cache_size): This.
4756 (__x86_64_raw_shared_cache_size): Renamed to ...
4757 (__x86_raw_shared_cache_size): This.
4758 (__x86_64_shared_cache_size_half): Renamed to ...
4759 (__x86_shared_cache_size_half): This.
4760 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4761 (__x86_raw_shared_cache_size_half): This.
4762 * sysdeps/x86_64/memcpy.S: Updated.
4763 * sysdeps/x86_64/memset.S: Likewise.
4764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4767
4768 2013-01-04 David S. Miller <davem@davemloft.net>
4769
4770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4771
4772 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4773
4774 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4775 1 to avoid redefinition warning.
4776 (__USE_GNU): Don't define.
4777 (init_signaling_nan): Protoize.
4778
4779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4780
4781 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4782
4783 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4785 (__cpymn): Likewise.
4786 (norm): Remove commented code.
4787 (denorm): Likewise.
4788 (__mp_dbl): Likewise.
4789 (__inv): Likewise.
4790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4791 (__cpymn): Likewise.
4792 (norm): Remove commented code.
4793 (denorm): Likewise.
4794 (__mp_dbl): Likewise.
4795 (__inv): Likewise.
4796
4797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4798 mp_no value for 1.0 and 2.0.
4799 (norm): Use RADIXI instead of radixi.d.
4800 (denorm): Likewise.
4801 (__mul): Use 0.0 instead of zero.d.
4802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4803 mp_no value for 1.0 and 2.0.
4804 (norm): Use RADIXI instead of radixi.d.
4805 (denorm): Likewise.
4806 (__mul): Use 0.0 instead of zero.d.
4807
4808 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4809
4810 [BZ #14994]
4811 * math/s_casinh.c (__casinh): Reduce finite argument to first
4812 quadrant then set signs of results at the end.
4813 * math/s_casinhf.c (__casinhf): Likewise.
4814 * math/s_casinhl.c (__casinhl): Likewise.
4815 * math/libm-test.inc (casin_test): Add more tests.
4816 (casinh_test): Likewise.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819
4820 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4821
4822 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4823
4824 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4825
4826 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4827 declarations.
4828 (denorm): Likewise.
4829 (__mp_dbl): Likewise.
4830 (__inv): Likewise.
4831
4832 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4833 and adjust the header comment.
4834
4835 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4836 variable name from declaration.
4837
4838 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4839
4840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4841 Initialize COMMON_CPUID_INDEX_7 element.
4842 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4843 (CPUID_RTM): Likewise.
4844 (HAS_RTM): Likewise.
4845 (COMMON_CPUID_INDEX_7): New enum.
4846
4847 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4848
4849 [BZ #14981]
4850 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4851 size is zero, record memory as freed.
4852
4853 2013-01-03 Andreas Jaeger <aj@suse.de>
4854
4855 * po/ia.po: Add new Interlingua translation.
4856
4857 2012-01-03 Allan McRae <allan@archlinux.org>
4858
4859 * locale/programs/localedef.c: Fix description of '--posix' flag.
4860
4861 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4862
4863 * NEWS: Update dates in second copyright notice.
4864 * README: Update copyright dates in example.
4865 * manual/libc.texinfo: Update copyright dates.
4866 * scripts/test-installation.pl: Update copyright date in --version
4867 output.
4868
4869 * hurd/ctty-input.c: Fix copyright notice formatting.
4870 * hurd/ctty-output.c: Likewise.
4871 * hurd/dtable.c: Likewise.
4872 * hurd/hurd-raise.c: Likewise.
4873 * hurd/hurdprio.c: Likewise.
4874 * hurd/msgportdemux.c: Likewise.
4875 * misc/sys/file.h: Likewise.
4876 * misc/sys/ioctl.h: Likewise.
4877 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4878 * sysdeps/mach/hurd/chdir.c: Likewise.
4879 * sysdeps/mach/hurd/fchdir.c: Likewise.
4880 * sysdeps/mach/hurd/rename.c: Likewise.
4881 * sysdeps/mach/hurd/rmdir.c: Likewise.
4882 * sysdeps/mach/hurd/seekdir.c: Likewise.
4883 * sysdeps/mach/hurd/setsid.c: Likewise.
4884 * sysdeps/posix/wait3.c: Likewise.
4885
4886 * All files with FSF copyright notices: Update copyright dates
4887 using scripts/update-copyrights.
4888 * intl/plural.c: Regenerated.
4889 * locale/programs/charmap-kw.h: Likewise.
4890 * locale/programs/locfile-kw.h: Likewise.
4891
4892 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4893
4894 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4895 four values.
4896
4897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4898 calculation loop and add branch prediction.
4899
4900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4901 check access beyond bounds of m1np.
4902
4903 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4904 MPTWO.
4905 (__inv): Remove local variable MPTWO to use the global
4906 constant.
4907 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4909 variable MPTWO.
4910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4911 MP3HALFS static const.
4912
4913 2013-01-01 David S. Miller <davem@davemloft.net>
4914
4915 * po/ca.po: Update from translation team.
4916
4917 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4918
4919 * scripts/update-copyrights: New file.
4920 * Makeconfig: Reformat copyright notice.
4921 * ctype/ctype.h: Likewise.
4922 * debug/swprintf_chk.c: Likewise.
4923 * elf/dl-cache.c: Likewise.
4924 * elf/dl-debug.c: Likewise.
4925 * elf/dl-object.c: Likewise.
4926 * grp/initgroups.c: Likewise.
4927 * hurd/Makefile: Likewise.
4928 * hurd/hurd/signal.h: Likewise.
4929 * hurd/hurdfault.c: Likewise.
4930 * hurd/hurdioctl.c: Likewise.
4931 * hurd/hurdlookup.c: Likewise.
4932 * hurd/intr-msg.c: Likewise.
4933 * iconv/gconv_open.c: Likewise.
4934 * libio/swprintf.c: Likewise.
4935 * locale/lc-ctype.c: Likewise.
4936 * locale/nl_langinfo.c: Likewise.
4937 * mach/Machrules: Likewise.
4938 * mach/Makefile: Likewise.
4939 * malloc/obstack.h: Likewise.
4940 * manual/Makefile: Likewise.
4941 * manual/tsort.awk: Likewise.
4942 * misc/bits/stab.def: Likewise.
4943 * nis/nis_print_group_entry.c: Likewise.
4944 * nis/nis_table.c: Likewise.
4945 * nis/nss_compat/compat-pwd.c: Likewise.
4946 * nis/nss_compat/compat-spwd.c: Likewise.
4947 * po/Makefile: Likewise.
4948 * posix/fnmatch.c: Likewise.
4949 * posix/regex.h: Likewise.
4950 * resolv/Makefile: Likewise.
4951 * resolv/nss_dns/dns-network.c: Likewise.
4952 * resolv/res_hconf.c: Likewise.
4953 * scripts/gen-sorted.awk: Likewise.
4954 * soft-fp/soft-fp.h: Likewise.
4955 * stdio-common/printf.h: Likewise.
4956 * stdlib/monetary.h: Likewise.
4957 * stdlib/random.c: Likewise.
4958 * stdlib/random_r.c: Likewise.
4959 * sysdeps/generic/Makefile: Likewise.
4960 * sysdeps/gnu/Makefile: Likewise.
4961 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4973 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4977 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4989 * sysdeps/mach/hurd/errnos.awk: Likewise.
4990 * sysdeps/mach/hurd/fork.c: Likewise.
4991 * sysdeps/mach/hurd/getcwd.c: Likewise.
4992 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4993 * sysdeps/mach/hurd/mmap.c: Likewise.
4994 * sysdeps/mach/hurd/utimes.c: Likewise.
4995 * sysdeps/mach/hurd/xmknod.c: Likewise.
4996 * sysdeps/posix/profil.c: Likewise.
4997 * sysdeps/posix/readdir_r.c: Likewise.
4998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4999 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5003 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5005 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5007 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5009 * sysdeps/pthread/lio_listio.c: Likewise.
5010 * sysdeps/sparc/dl-procinfo.h: Likewise.
5011 * sysdeps/unix/i386/sysdep.S: Likewise.
5012 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5013 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5014 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5015 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5017 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5018 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5019 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5020 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5021 * sysdeps/wordsize-32/divdi3.c: Likewise.
5022 * time/sys/time.h: Likewise.
5023 * wcsmbs/Makefile: Likewise.
5024
5025 2013-01-01 David S. Miller <davem@davemloft.net>
5026
5027 * po/fr.po: Update from translation team.
5028
5029 * catgets/gencat.c: Update copyright year.
5030 * csu/version.c: Likewise.
5031 * debug/catchsegv.sh: Likewise.
5032 * debug/pcprofiledump.c: Likewise.
5033 * debug/xtrace.sh: Likewise.
5034 * elf/ldconfig.c: Likewise.
5035 * elf/ldd.bash.in: Likewise.
5036 * elf/pldd.c: Likewise.
5037 * elf/sotruss.ksh: Likewise.
5038 * elf/sprof.c: Likewise.
5039 * iconv/iconv_prog.c: Likewise.
5040 * iconv/iconvconfig.c: Likewise.
5041 * locale/programs/locale.c: Likewise.
5042 * locale/programs/localedef.c: Likewise.
5043 * login/programs/pt_chown.c: Likewise.
5044 * malloc/memusage.sh: Likewise.
5045 * malloc/memusagestat.c: Likewise.
5046 * malloc/mtrace.pl: Likewise.
5047 * nscd/nscd.c: Likewise.
5048 * nss/getent.c: Likewise.
5049 * nss/makedb.c: Likewise.
5050 * posix/getconf.c: Likewise.
5051
5052 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5053
5054 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5055 numbers.
5056
5057 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5058
5059 * math/bits/mathcalls.h (modf): Use __nonnull.
5060
5061 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5064 (split): Use macro CN instead of the bare value.
5065 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5066 could be used.
5067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5068 instead of the bare value.
5069 (power1): Likewise.
5070
5071 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5074 __ATAN_TWOM.
5075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5076
5077 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5078 their values.
5079 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5080 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5081 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5082 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5083
5084 2012-12-28 Andreas Jaeger <aj@suse.de>
5085
5086 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5087 values are from Linux 3.7.
5088
5089 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5090 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5091
5092 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5093
5094 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5095 TRUE case.
5096
5097 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5098 (norm): Likewise.
5099 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5100 variables with preprocessor constants.
5101 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5102 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5103 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5104
5105 2012-12-27 Bruno Haible <bruno@clisp.org>
5106
5107 [BZ #14317]
5108 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5109 only if needed.
5110
5111 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5112
5113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5114 and use variable directly.
5115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5116
5117 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5118 MPONE.
5119 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5121 variable MPONE.
5122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5124 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5125 include directive. Remove local variable MPONE.
5126 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5129
5130 2012-12-25 David S. Miller <davem@davemloft.net>
5131
5132 * version.h (RELEASE): Set to "development".
5133 (VERSION): Set to "2.17.90".
5134 * NEWS: Add 2.18 section.
5135
5136 2012-12-21 David S. Miller <davem@davemloft.net>
5137
5138 * po/hr.po: Update from translation team.
5139
5140 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5141
5142 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5143
5144 2012-12-19 Steve Ellcey <sellcey@mips.com>
5145
5146 * NEWS: Mention new memcpy for MIPS.
5147
5148 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5149
5150 * manual/contrib.texi (Contributors): Spelling correction.
5151
5152 2012-12-15 David S. Miller <davem@davemloft.net>
5153
5154 * po/ru.po: Update from translation team.
5155
5156 2012-12-13 David S. Miller <davem@davemloft.net>
5157
5158 * NEWS: Mention IFUNC testsuite enhancements.
5159
5160 * po/pl.po: Update from translation team.
5161 * po/bg.po: Likewise.
5162
5163 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5164 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5165
5166 2012-12-11 David S. Miller <davem@davemloft.net>
5167
5168 * po/sv.po: Update from translation team.
5169
5170 * po/vi.po: Update from translation team.
5171
5172 * po/cs.po: Update from translation team.
5173
5174 * po/de.po: Update from translation team.
5175 * po/eo.po: Likewise.
5176 * po/nl.po: Likewise.
5177
5178 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5179
5180 [BZ #14246]
5181 * manual/argp.texi (Argp Helper Functions): Move node to follow
5182 Argp Parsing State.
5183
5184 [BZ #14872]
5185 * manual/conf.texi (Limits on File System Capacity): Mention if
5186 terminating null is included in the max size.
5187
5188 2012-12-10 Andreas Jaeger <aj@suse.de>
5189
5190 * po/cs.po: Update from translation team.
5191
5192 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
5194 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5195 void pointer and cast to uintptr_t.
5196 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5197 path.
5198 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5199 * sysdeps/s390/s390-64/memset.S: Likewise.
5200
5201 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5202
5203 [BZ #14833]
5204 * menual/message.texi (Message Translation): Fix typos.
5205 (Helper programs for gettext): Likewise.
5206
5207 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5208
5209 [BZ #14898]
5210 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5211 Change to -1.
5212
5213 2012-12-07 David S. Miller <davem@davemloft.net>
5214
5215 * po/libc.pot: Update.
5216
5217 2012-12-07 Richard Henderson <rth@redhat.com>
5218
5219 [BZ #10114]
5220 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5221 normal/normal case to before the switch.
5222 (_FP_DIV): Likewise.
5223
5224 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5225 Mike Frysinger <vapier@gentoo.org>
5226
5227 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5228 check for __NR_fadvise64_64.
5229
5230 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5231
5232 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5233 0, not just to plain "0" as a statement.
5234 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5235 with cw.
5236
5237 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5238
5239 * NEWS: Use sourceware.org in Bugzilla URL.
5240
5241 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5242
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5245
5246 * stdio-common/tst-put-error.c (do_test): Add newline to the
5247 padded test to ensure flush.
5248
5249 2012-12-05 Jeff Law <law@redhat.com>
5250
5251 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5252
5253 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5254
5255 * README: Don't refer to ports add-on as distributed separately.
5256 Mention AArch64 in list of systems supported in the ports add-on.
5257
5258 * LICENSES: Add more non-FSF copyright and license notices.
5259
5260 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5261 ((unused)).
5262
5263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5264
5265 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5266 10000 as width of padded output.
5267
5268 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5269
5270 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5271
5272 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5273 variable LX with __attribute__ ((unused)).
5274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5275 Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5279 with __attribute__ ((unused)).
5280
5281 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5282
5283 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5284
5285 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5288 (CFLAGS-nldbl-acos.c): New variable.
5289 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5290 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5291 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5292 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5293 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5294 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5295 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5296 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5297 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5298 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5299 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5300 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5301 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5302 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5303 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5304 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5305 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5306 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5307 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5308 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5309 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5310 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5311 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5312 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5313 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5314 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5315 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5316 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5317 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5318 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5322 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5323 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5324 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5325 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5386
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5388 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5389
5390 [BZ #14914]
5391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5392 whole low double instead of just low 47 bits when splitting values
5393 into two parts.
5394
5395 2012-12-03 Allan McRae <allan@archlinux.org>
5396
5397 * manual/stdio.texi (Predefined Printf Handlers): Remove
5398 @hsep and @vsep usage.
5399
5400 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5401
5402 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5403 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5404
5405 2012-12-03 Jeff Law <law@redhat.com>
5406
5407 * time/sys/time.h (settimeofday): Do not mark TV argument
5408 as __nonnull.
5409
5410 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5411
5412 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5413 when currently writing and seek to current position when not.
5414 * libio/Makefile (tests): Remove bug-fclose1.
5415 * libio/bug-fclose1.c: Delete.
5416
5417 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5418
5419 * manual/arith.texi (feenableexcept): Fix typo.
5420 (fedisableexcept): Likewise.
5421
5422 2012-11-30 Roland McGrath <roland@hack.frob.com>
5423
5424 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5425 second, differently-typed declaration, rather than a cast.
5426
5427 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5428
5429 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5430 * include/rpc/svc.h: ... here.
5431
5432 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5433
5434 [BZ #13013]
5435 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5436 depending n and resplen2 to catch cases where answer
5437 equals answerp2.
5438
5439 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5440
5441 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5442 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5443
5444 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5445
5446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5447
5448 2012-11-29 Roland McGrath <roland@hack.frob.com>
5449
5450 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5451
5452 2012-11-28 Jeff Law <law@redhat.com>
5453
5454 [BZ #13761]
5455 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5456 dataset_temporary. Track alloca usage into alloca_used.
5457 If dataset is large allocate and release it via malloc/free.
5458
5459 2012-06-04 Florian Weimer <fweimer@redhat.com>
5460
5461 [BZ #14197]
5462 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5463
5464 2012-11-28 David S. Miller <davem@davemloft.net>
5465
5466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5467
5468 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5469
5470 [BZ #14803]
5471 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5472 of pi/2 rounded to nearest to 64 bits.
5473 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5474 nearest to 64 bits.
5475 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5476 bits.
5477
5478 2012-11-28 Jeff Law <law@redhat.com>
5479 Martin Osvald <mosvald@redhat.com>
5480
5481 [BZ #14889]
5482 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5483 * sunrpc/svc.c: Include time.h.
5484 (__svc_accept_failed): New function.
5485 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5486 any reason other than EINTR, call __svc_accept_failed.
5487 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5488 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5489
5490 2012-11-28 Andreas Schwab <schwab@suse.de>
5491
5492 * scripts/abilist.awk: Also handle indirect functions in .opd
5493 section.
5494
5495 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #13881]
5498 * sysdeps/x86/fpu/powl_helper.c: New file.
5499 * sysdeps/x86/fpu/Makefile: Likewise.
5500 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5501 (p3): New object.
5502 (__ieee754_powl): Use __powl_helper for finite arguments except
5503 integer exponents below 8.
5504 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5505 (p3): New object.
5506 (__ieee754_powl): Use __powl_helper for finite arguments except
5507 integer exponents below 8.
5508 * math/libm-test.inc (pow_test): Add more tests and enable some
5509 previously disabled tests.
5510 * sysdeps/i386/fpu/libm-test-ulps: Update.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512
5513 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5514 Carlos O'Donell <carlos_odonell@mentor.com>
5515
5516 * nss/makedb.c (is_prime): Assert that input is odd and greater
5517 than 4. Note that fact in a comment too.
5518 (next_prime): Add 4 to input.
5519
5520 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
5522 [BZ #11741]
5523 * libio/Makefile (tests): Add test case tst-fwrite-error.
5524 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5525 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5526 * libio/tst-fwrite-error.c: New test case.
5527
5528 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5529
5530 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5531 before casting to void *.
5532 * include/libc-internal.h (__pointer_type): New macro.
5533 (__integer_if_pointer_type_sub): Likewise.
5534 (__integer_if_pointer_type): Likewise.
5535 (cast_to_integer): Likewise.
5536 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5537 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5538 before casting to atomic64_t.
5539 (atomic_exchange_acq): Likewise.
5540 (__arch_exchange_and_add_body): Likewise.
5541 (__arch_add_body): Likewise.
5542 (atomic_add_negative): Likewise.
5543 (atomic_add_zero): Likewise.
5544
5545 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5546
5547 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5548 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5549 (add_fdes): Likewise.
5550 (linear_search_fdes): Likewise.
5551 (binary_search_unencoded_fdes): Likewise.
5552
5553 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5554
5555 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5556
5557 2012-11-24 Adam Conrad <adconrad@0c3.net>
5558
5559 * configure.in: Autodetect C++ header directories.
5560 * configure: Regenerated.
5561
5562 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5563
5564 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5565
5566 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5567
5568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5569
5570 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5571
5572 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5573 LDBL_MANT_DIG == 106]: Disable some tests.
5574 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5575 Likewise.
5576 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5577 Likewise.
5578
5579 [BZ #14871]
5580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5581 input for small inputs. Return +/- pi/2 for large inputs.
5582 * math/libm-test.inc (atan_test): Add more tests.
5583
5584 * sysdeps/generic/unwind-dw2-fde-glibc.c
5585 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5586 __attribute__ ((unused)).
5587
5588 [BZ #14645]
5589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5590 x * y if x and y are nonzero and z is zero.
5591
5592 [BZ #14811]
5593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5594 nonzero exponents with absolute value below 0x1p-117 to +/-
5595 0x1p-117.
5596
5597 [BZ #14869]
5598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5599 up arguments below 2**-450, not just those below 2**-500.
5600 * math/libm-test.inc (hypot_test): Add another test.
5601
5602 [BZ #14868]
5603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5604 Return a+b for ratio over 2**120, not 2**60.
5605 * math/libm-test.inc (hypot_test): Add another test.
5606
5607 * math/libm-test.inc (clog_test): Use
5608 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5609 (clog10_test): Likewise.
5610
5611 [BZ #6778]
5612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5613
5614 2012-11-22 Andreas Schwab <schwab@suse.de>
5615
5616 * sysdeps/i386/fpu/libm-test-ulps: Update.
5617
5618 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5619
5620 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5621 printf output with newline.
5622
5623 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 [BZ #14865]
5626 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5627 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5628 -z nodlopen, -z initfirst and -z execstack support.
5629 * configure: Regenerated.
5630
5631 * elf/elf.h (DF_1_NODIRECT): New macro.
5632 (DF_1_IGNMULDEF): Likewise.
5633 (DF_1_NOKSYMS): Likewise.
5634 (DF_1_NOHDR): Likewise.
5635 (DF_1_EDITED): Likewise.
5636 (DF_1_NORELOC): Likewise.
5637 (DF_1_SYMINTPOSE): Likewise.
5638 (DF_1_GLOBAUDIT): Likewise.
5639 (DF_1_SINGLETON): Likewise.
5640 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5641 DT_1_SUPPORTED_MASK bits.
5642 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5643
5644 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5645
5646 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5647
5648 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5649
5650 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5651 macro.
5652
5653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5654 (sendmmsg): Move declarations...
5655 * socket/sys/socket.h: ... here.
5656 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5657 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5658 include it from...
5659 * socket/recvmmsg.c: ... this new file.
5660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5661 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5662 definition of __sendmmsg hidden.
5663 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5664 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5665 Move ENOSYS stub into and include it from...
5666 * socket/sendmmsg.c: ... this new file.
5667 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5668 (sysdep_routines): Move recvmmsg and sendmmsg...
5669 * socket/Makefile (routines): ... here.
5670 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5671 (GLIBC_PRIVATE): Add __sendmmsg.
5672 * include/sys/socket.h (__sendmmsg): Add declarations.
5673 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5674 sendmmsg.
5675
5676 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5677
5678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5679 variable I1 with __attribute__ ((unused)).
5680 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5681
5682 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5683
5684 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5685 DUMMY variables with __attribute__ ((unused)).
5686
5687 * bits/byteswap.h: Include <bits/types.h>.
5688 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5689
5690 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5691
5692 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5693 string_t. Do not manually set errno.
5694 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5695 length with __strnlen. Make sure to both set errno and return it on
5696 failure.
5697
5698 2012-11-19 David S. Miller <davem@davemloft.net>
5699
5700 With help from Joseph Myers.
5701 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5702 very large arguments properly.
5703 * math/libm-test.inc (atan_test): New tests.
5704 (atan2_test): New tests.
5705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5707
5708 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5709
5710 [BZ #14856]
5711 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5712 Define to 3.
5713
5714 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5715 [POSIX] (EADDRNOTAVAIL): Likewise.
5716 [POSIX] (EAFNOSUPPORT): Likewise.
5717 [POSIX] (EALREADY): Likewise.
5718 [POSIX] (ECONNABORTED): Likewise.
5719 [POSIX] (ECONNREFUSED): Likewise.
5720 [POSIX] (ECONNRESET): Likewise.
5721 [POSIX] (EDESTADDRREQ): Likewise.
5722 [POSIX] (EDQUOT): Likewise.
5723 [POSIX] (EHOSTUNREACH): Likewise.
5724 [POSIX] (EIDRM): Likewise.
5725 [POSIX] (EISCONN): Likewise.
5726 [POSIX] (ELOOP): Likewise.
5727 [POSIX] (EMULTIHOP): Likewise.
5728 [POSIX] (ENETDOWN): Likewise.
5729 [POSIX] (ENETUNREACH): Likewise.
5730 [POSIX] (ENOBUFS): Likewise.
5731 [POSIX] (ENODATA): Likewise.
5732 [POSIX] (ENOLINK): Likewise.
5733 [POSIX] (ENOMSG): Likewise.
5734 [POSIX] (ENOPROTOOPT): Likewise.
5735 [POSIX] (ENOSR): Likewise.
5736 [POSIX] (ENOSTR): Likewise.
5737 [POSIX] (ENOTCONN): Likewise.
5738 [POSIX] (ENOTSOCK): Likewise.
5739 [POSIX] (EOPNOTSUPP): Likewise.
5740 [POSIX] (EOVERFLOW): Likewise.
5741 [POSIX] (EPROTO): Likewise.
5742 [POSIX] (EPROTONOSUPPORT): Likewise.
5743 [POSIX] (EPROTOTYPE): Likewise.
5744 [POSIX] (ESTALE): Likewise.
5745 [POSIX] (ETIME): Likewise.
5746 [POSIX] (ETXTBSY): Likewise.
5747 [POSIX] (EWOULDBLOCK): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5749 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5750 [POSIX] (SEEK_CUR): Likewise.
5751 [POSIX] (SEEK_END): Likewise.
5752 [POSIX || UNIX98] (mode_t): Do not require.
5753 [POSIX] (off_t): Likewise.
5754 [POSIX] (pid_t): Likewise.
5755 [POSIX] (sys/stat.h): Do not allow header.
5756 [POSIX] (unistd.h): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5758 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5760 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5761 require.
5762 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5763 sigevent): Specify elements.
5764 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5765 entry.
5766 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5767 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5768
5769 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5770 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5771 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5772 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5773 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5774 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5775 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5776 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5778 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5779 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5780 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5781 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5782 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5783 Likewise.
5784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5785 Likewise.
5786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5787 Likewise.
5788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5789 Likewise.
5790 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5791 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5792 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5793 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5795 Specify lower bound on value.
5796 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5802 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5803 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5804 value.
5805 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5806 as optional.
5807 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5812 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5823 entry.
5824 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5825 optional.
5826 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5832 Likewise.
5833 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5838 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5840 as optional.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5845 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5846 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5847 specify as optional.
5848 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5851 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5852 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5853 [XPG3] (NL_LANGMAX): Likewise.
5854 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5855 [POSIX || XPG3] (NL_NMAX): Likewise.
5856 [POSIX || XPG3] (NL_SETMAX): Likewise.
5857 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5858 [XPG3] (NZERO): Likewise.
5859 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5860 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5861 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5862 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5863 (REG_ERANGE): Expect.
5864 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5865 optional-constant.
5866 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5867 Use (void) in prototype.
5868 [POSIX] (*_t): Allow.
5869 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5870 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5871 (WRDE_BADVAL): Expect.
5872
5873 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5874 expect.
5875 [XPG3 || XPG4] (O_RSYNC): Likewise.
5876 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5877 Likewise.
5878 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5879 [XPG3 || XPG4] (sigqueue): Likewise.
5880 [XPG3 || XPG4] (sigtimedwait): Likewise.
5881 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5882 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5883 [XPG3 || XPG4] (vsnprintf): Likewise.
5884 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5885 Likewise.
5886 [XPG3 || XPG4] (blksize_t): Likewise.
5887 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5888 Likewise.
5889 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5890 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5891 [XPG3 || XPG4] (struct itimerspec): Likewise.
5892 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5893 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5894 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5895 [XPG3 || XPG4] (clockid_t): Likewise.
5896 [XPG3 || XPG4] (timer_t): Likewise.
5897 [XPG3 || XPG4] (clock_getres): Likewise.
5898 [XPG3 || XPG4] (clock_gettime): Likewise.
5899 [XPG3 || XPG4] (clock_settime): Likewise.
5900 [XPG3 || XPG4] (nanosleep): Likewise.
5901 [XPG3 || XPG4] (timer_create): Likewise.
5902 [XPG3 || XPG4] (timer_delete): Likewise.
5903 [XPG3 || XPG4] (timer_gettime): Likewise.
5904 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5905 [XPG3 || XPG4] (timer_settime): Likewise.
5906 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5907 [XPG3 || XPG4] (getlogin_r): Likewise.
5908 [XPG3 || XPG4] (pread): Likewise.
5909 [XPG3 || XPG4] (pthread_atfork): Likewise.
5910 [XPG3 || XPG4] (pwrite): Likewise.
5911
5912 [BZ #14835]
5913 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5914 <bits/siginfo.h>.
5915
5916 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5917
5918 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5919 finalizing MALLSTREAM.
5920
5921 * sysdeps/mach/hurd/syncfs.c: New file.
5922
5923 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5924
5925 [BZ #14719]
5926 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5927 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5929 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5930 (_nss_dns_gethostbyname4_r): Likewise.
5931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5932 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5933
5934 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5935
5936 [BZ #13763]
5937 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5938
5939 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5940
5941 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5942 * elf/cache.c (print_entry): Print ",AArch64" for
5943 FLAG_AARCH64_LIB64
5944
5945 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5946 * elf/cache.c (print_entry): Print ",hard-float" for
5947 FLAG_ARM_LIBHF.
5948
5949 2012-11-18 David S. Miller <davem@davemloft.net>
5950
5951 With help from Joseph Myers.
5952 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5953 cutoff to 2**-13.
5954 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5955 cutoff to 2**-25.
5956 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5957 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5958 small.
5959 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5960 * math/libm-test.inc (y0_test): New tests.
5961 (y1_test): New tests.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5965
5966 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5969 64-bit targets.
5970 * configure: Regenerated.
5971
5972 2012-11-17 David S. Miller <davem@davemloft.net>
5973
5974 [BZ #14811]
5975 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5976 nonzero exponents with absolute value below 0x1p-128 to +/-
5977 0x1p-128.
5978
5979 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5980
5981 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5982
5983 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5984
5985 * posix/getconf-speclist.c: New file.
5986 * posix/posix-envs.def: Likewise.
5987 * posix/confstr.c (START_ENV_GROUP): New macro.
5988 (END_ENV_GROUP): Likewise.
5989 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5990 (KNOWN_PRESENT_ENV_STRING): Likewise.
5991 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5992 (UNKNOWN_ENVIRONMENT): Likewise.
5993 (confstr): Include posix-envs.def instead of handling
5994 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5995 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5996 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5997 (END_ENV_GROUP): Likewise.
5998 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5999 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6000 (UNKNOWN_ENVIRONMENT): Likewise.
6001 (__sysconf): Include posix-envs.def instead of handling associated
6002 cases directly here.
6003 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6004 preprocessing getconf-speclist.c rather than running getconf or
6005 generating empty file.
6006
6007 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6008
6009 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6010
6011 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6012
6013 [BZ #14672]
6014 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6015
6016 2012-11-16 David S. Miller <davem@davemloft.net>
6017
6018 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6019 smaller than LDBL_EPSILON/2.0L, just return xm1.
6020
6021 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * elf/tst-array1.c (init): Set constructor priority to 1000.
6024 (fini): Set destructor priority to 1000.
6025 * elf/tst-array2dep.c: Likewise.
6026
6027 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
6029 [BZ #11741]
6030 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6031 (_IO_new_file_xsputn): Also return EOF if none of the input
6032 data was written when overflow failed.
6033 * libio/iopadn.c (_IO_padn): Likewise.
6034 * libio/iowpadn.c (_IO_wpadn): Likewise.
6035 * stdio-common/tst-put-error.c: Add copyright notice.
6036 (do_test): Add case for printing padded string.
6037 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6038 _IO_padn returned error.
6039 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6040 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6041 return EOF.
6042
6043 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * libio/libioP.h: Add comment note that the references to C++
6046 bits are now obsolete.
6047
6048 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6049
6050 * math/libm-test.inc (check_complex): Use asprintf.
6051
6052 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6053
6054 * debug/pcprofiledump.c (print_version): Update copyright year.
6055 * malloc/memusagestat.c (print_version): Likewise.
6056
6057 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 [BZ #14831]
6060 * elf/Makefile (tests): Add tst-audit8.
6061 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6062 ($(objpfx)tst-audit8.out): New target.
6063 (tst-audit8-ENV): New variable.
6064 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6065 audit if l_reloc_result is NULL.
6066 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6067 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6068 * elf/tst-audit8.c: New file.
6069
6070 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6071
6072 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6073 * misc/Makefile (CFLAGS-select.c): Define.
6074 * posix/Makefile (CFLAGS-pause.c): Define.
6075
6076 2012-11-13 David S. Miller <davem@davemloft.net>
6077
6078 * crypt/Makefile: Move test targets after toplevel Rules
6079 inclusion. Grab any necessary sysdep routines when linking.
6080 * crypt/md5.c (md5_process_block): Remove define, we will always
6081 name it __md5_process_block.
6082 (md5_finish_ctx): Update md5_process_block call.
6083 (md5_stream): Likewise.
6084 (md5_process_bytes): Likewise.
6085 (md5_process_block): Rename to __md5_process_block and move to ...
6086 * crypt/md5-block.c: ... here.
6087 * crypt/sha256.c (sha256_process_block): Move to ...
6088 * crypt/sha256-block.c: ... here.
6089 * crypt/sha512.c (sha512_process_block): Move to ...
6090 * crypt/sha512-block.c: ... here.
6091 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6092 path.
6093 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6094 * sysdeps/sparc/sparc64/multiarch/Makefile
6095 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6096 crypt subdir.
6097 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6099 multiarch changes.
6100 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6101 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6102 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6103 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6104 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6105 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6106 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6107 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6109 file.
6110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6111 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6112 file.
6113 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6114
6115 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6116
6117 * timezone/tzselect.ksh: Update from tzcode git revision
6118 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6119 * timezone/zdump.c: Likewise.
6120 * timezone/zic.c: Likewise.
6121 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6122 in TZVERSION setting, not $(PKGVERSION).
6123 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6124 REPORT_BUGS_TO settings.
6125
6126 [BZ #14838]
6127 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6128 macro.
6129
6130 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6131
6132 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6133 detection to immediately after _FP_ROUND().
6134 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6135 bits are 0.
6136
6137 2012-11-11 David S. Miller <davem@davemloft.net>
6138
6139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6140 inttypes.h
6141 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6142 __close rather than their public counterparts.
6143
6144 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6145
6146 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6147 file.
6148 [UNIX98] (sem_timedwait): Do not expect.
6149 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6150 [XPG4 || UNIX98] (sockatmark): Do not expect.
6151 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6152 (clock_getcpuclockid): Do not expect.
6153 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6154 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6155 Do not expect.
6156 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6157 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6158 [UNIX98] (vwscanf): Likewise.
6159 [UNIX98] (vswscanf): Likewise.
6160
6161 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6162
6163 * timezone/version.h: Remove file.
6164 * timezone/README: Do not refer to version.h.
6165 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6166 $(objpfx)version.h.
6167 ($(objpfx)zdump.o): Likewise.
6168 ($(objpfx)version.h): New target.
6169
6170 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6171 2012i.
6172 * timezone/README: Don't mention modification to tzselect.ksh.
6173 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6174 work on unmodified tzselect.ksh. Substitute version numbers in
6175 tzselect.ksh.
6176
6177 * Makefile (format-me): Remove.
6178 (INSTALL): Adjust indentation. Use commands directly instead of
6179 using $(format-me).
6180
6181 * aclocal.m4 (ACX_PKGVERSION): New macro.
6182 (ACX_BUGURL): Likewise.
6183 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6184 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6185 (REPORT_BUGS_TO): Likewise.
6186 * configure: Regenerated.
6187 * config.h.in (PKGVERSION): New macro.
6188 (REPORT_BUGS_TO): Likewise.
6189 * config.make.in (PKGVERSION): New variable.
6190 (PKGVERSION_TEXI): Likewise.
6191 (REPORT_BUGS_TO): Likewise.
6192 (REPORT_BUGS_TEXI): Likewise.
6193 * Makefile (format-me): Use -I$(common-objpfx)manual.
6194 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6195 ($(common-objpfx)manual/%): New target.
6196 (manual/%): Remove target.
6197 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6198 (print_version): Use PKGVERSION.
6199 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6200 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6201 and REPORT_BUGS_TO.
6202 ($(objpfx)xtrace): Likewise.
6203 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6204 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6205 (print_version): Use PKGVERSION.
6206 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6207 (do_version): Use PKGVERSION.
6208 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6209 REPORT_BUGS_TO.
6210 (common-ldd-rewrite): Likewise.
6211 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6212 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6213 (print_version): Use PKGVERSION.
6214 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6215 * elf/pldd.c (argp_program_bug_address): Remove variable.
6216 (more_help): New function.
6217 (argp): Use more_help.
6218 (print_version): Use PKGVERSION.
6219 * elf/sln.c (main): Use PKGVERSION.
6220 (usage): Use REPORT_BUGS_TO.
6221 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6222 (top level): Use PKGVERSION.
6223 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6224 (print_version): Use PKGVERSION.
6225 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6226 (print_version): Use PKGVERSION.
6227 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6228 (print_version): Use PKGVERSION.
6229 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6230 (print_version): Use PKGVERSION.
6231 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6232 (print_version): Use PKGVERSION.
6233 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6234 (print_version): Use PKGVERSION.
6235 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6236 and BUGURL.
6237 ($(objpfx)memusage): Likewise.
6238 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6239 (do_version): Use PKGVERSION.
6240 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6241 (print_version): Use PKGVERSION.
6242 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6243 ($PKGVERSION): New variable.
6244 ($REPORT_BUGS_TO): Likewise.
6245 (usage): Use $REPORT_BUGS_TO.
6246 (top level): Use $PKGVERSION.
6247 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6248 ($(objpfx)pkgvers.texi): New rule.
6249 ($(objpfx)stamp-pkgvers): Likewise.
6250 * manual/install.texi: Include pkgvers.texi.
6251 (--with-pkgversion): Document new configure option.
6252 (--with-bugurl): Likewise.
6253 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6254 than necessarily for this particular distribution. Use
6255 REPORT_BUGS_TO for where to report bugs.
6256 * INSTALL: Regenerated.
6257 * manual/libc.texinfo: Include pkgvers.texi.
6258 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6259 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6260 (print_version): Use PKGVERSION.
6261 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6262 (print_version): Use PKGVERSION.
6263 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6264 (print_version): Use PKGVERSION.
6265 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6266 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6267 macro.
6268 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6269 (print_version): Use PKGVERSION.
6270 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6271 (print_version): Use PKGVERSION.
6272 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6273 and PKGVERSION.
6274
6275 * timezone/checktab.awk: Update from tzcode 2012i.
6276 * timezone/ialloc.c: Likewise.
6277 * timezone/private.h: Likewise.
6278 * timezone/scheck.c: Likewise.
6279 * timezone/tzfile.h: Likewise.
6280 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6281 (TZVERSION): Hardcode tzcode version number.
6282 * timezone/zdump.c: Update from tzcode 2012i.
6283 * timezone/zic.c: Likewise.
6284 * timezone/version.h: New file.
6285 * timezone/README: Describe version.h. Update upstream location.
6286
6287 [BZ #14824]
6288 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6289 (mktemp): Enable declaration.
6290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6294 Likewise.
6295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6296 Likewise.
6297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6298 Likewise.
6299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6300 Likewise.
6301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6302 Likewise.
6303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6304 Likewise.
6305
6306 [BZ #14821]
6307 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6308 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6309 for copies of such integer values.
6310 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6311 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6312
6313 2012-11-09 Andreas Jaeger <aj@suse.de>
6314
6315 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6316 definitions and declarations that are provided by
6317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6318
6319 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6320
6321 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6322 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6323 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6324 definition.
6325
6326 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6327
6328 * elf/elf.h: Update comment before AArch64 relocations.
6329
6330 2012-11-07 David S. Miller <davem@davemloft.net>
6331
6332 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6334 (__start_context): Declare.
6335 (__makecontext_ret): Delete.
6336 (__makecontext): Hook up __start_context instead of
6337 __makecontext_ret.
6338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6339 (sysdep_routines): Add __start_context when in stdlib.
6340
6341 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6342
6343 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6344 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6345 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6346 hardcoded "nm".
6347 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6348 (READELF): New variable. Use it instead of hardcoded "readelf".
6349
6350 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6353 * sysdeps/x86/Makefile: Here.
6354 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6355 * sysdeps/x86/tst-xmmymm.sh: This.
6356
6357 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6358
6359 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6360 expectations.
6361 [UNIX98] (pthread_barrier_t): Do not expect.
6362 [UNIX98] (pthread_barrierattr_t): Likewise.
6363 [UNIX98] (pthread_spinlock_t): Likewise.
6364 [UNIX98] (pthread_barrier_destroy): Likewise.
6365 [UNIX98] (pthread_barrier_init): Likewise.
6366 [UNIX98] (pthread_barrier_wait): Likewise.
6367 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6368 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6369 [UNIX98] (pthread_barrierattr_init): Likewise.
6370 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6371 [UNIX98] (pthread_getcpuclockid): Likewise.
6372 [UNIX98] (pthread_mutex_timedlock): Likewise.
6373 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6374 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6375 [UNIX98] (pthread_sigmask): Likewise.
6376 [UNIX98] (pthread_spin_destroy): Likewise.
6377 [UNIX98] (pthread_spin_init): Likewise.
6378 [UNIX98] (pthread_spin_lock): Likewise.
6379 [UNIX98] (pthread_spin_trylock): Likewise.
6380 [UNIX98] (pthread_spin_unlock): Likewise.
6381 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6382 Do not expect.
6383 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6384 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6385 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6386 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6387 [XPG3 || XPG4] (pthread_key_t): Likewise.
6388 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6389 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6390 [XPG3 || XPG4] (pthread_once_t): Likewise.
6391 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6392 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6394 [XPG3 || XPG4] (pthread_t): Likewise.
6395
6396 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6397 not expect.
6398 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6399
6400 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6401 Change function return type to int.
6402
6403 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6404 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6405 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6406 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6407 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6408 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6409 [!POSIX] (posix_madvise): Likewise.
6410 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6411 && !UNIX98].
6412 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6413 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6414 (mode_t): Likewise.
6415 (posix_mem_offset): Likewise.
6416 (posix_typed_mem_get_info): Likewise.
6417 (posix_typed_mem_open): Likewise.
6418
6419 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6420 Change condition to [XOPEN2K8].
6421
6422 * conform/conformtest.pl: Preprocess allow-header data with -x c
6423 instead of from stdin.
6424 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6425 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6426 [C99-based standards] (cerfc): Likewise.
6427 [C99-based standards] (cexp2): Likewise.
6428 [C99-based standards] (cexpm1): Likewise.
6429 [C99-based standards] (clog10): Likewise.
6430 [C99-based standards] (clog1p): Likewise.
6431 [C99-based standards] (clog2): Likewise.
6432 [C99-based standards] (clgamma): Likewise.
6433 [C99-based standards] (ctgamma): Likewise.
6434 [C99-based standards] (cerff): Likewise.
6435 [C99-based standards] (cerfcf): Likewise.
6436 [C99-based standards] (cexp2f): Likewise.
6437 [C99-based standards] (cexpm1f): Likewise.
6438 [C99-based standards] (clog10f): Likewise.
6439 [C99-based standards] (clog1pf): Likewise.
6440 [C99-based standards] (clog2f): Likewise.
6441 [C99-based standards] (clgammaf): Likewise.
6442 [C99-based standards] (ctgammaf): Likewise.
6443 [C99-based standards] (cerfl): Likewise.
6444 [C99-based standards] (cerfcl): Likewise.
6445 [C99-based standards] (cexp2l): Likewise.
6446 [C99-based standards] (cexpm1l): Likewise.
6447 [C99-based standards] (clog10l): Likewise.
6448 [C99-based standards] (clog1pl): Likewise.
6449 [C99-based standards] (clog2l): Likewise.
6450 [C99-based standards] (clgammal): Likewise.
6451 [C99-based standards] (ctgammal): Likewise.
6452 * conform/data/inttypes.h-data [C99-based standards]: Include
6453 stdint.h-data. Remove all expectations for stdint.h contents.
6454 [C99-based standards] (PRI*): Do not allow.
6455 [C99-based standards] (SCN*): Likewise.
6456 [C99-based standards] (*_t): Likewise.
6457 [C99-based-standards] (PRId8): Expect macro.
6458 [C99-based-standards] (PRIi8): Likewise.
6459 [C99-based-standards] (PRIo8): Likewise.
6460 [C99-based-standards] (PRIu8): Likewise.
6461 [C99-based-standards] (PRIx8): Likewise.
6462 [C99-based-standards] (PRIX8): Likewise.
6463 [C99-based-standards] (SCNd8): Likewise.
6464 [C99-based-standards] (SCNi8): Likewise.
6465 [C99-based-standards] (SCNo8): Likewise.
6466 [C99-based-standards] (SCNu8): Likewise.
6467 [C99-based-standards] (SCNx8): Likewise.
6468 [C99-based-standards] (PRIdLEAST8): Likewise.
6469 [C99-based-standards] (PRIiLEAST8): Likewise.
6470 [C99-based-standards] (PRIoLEAST8): Likewise.
6471 [C99-based-standards] (PRIuLEAST8): Likewise.
6472 [C99-based-standards] (PRIxLEAST8): Likewise.
6473 [C99-based-standards] (PRIXLEAST8): Likewise.
6474 [C99-based-standards] (SCNdLEAST8): Likewise.
6475 [C99-based-standards] (SCNiLEAST8): Likewise.
6476 [C99-based-standards] (SCNoLEAST8): Likewise.
6477 [C99-based-standards] (SCNuLEAST8): Likewise.
6478 [C99-based-standards] (SCNxLEAST8): Likewise.
6479 [C99-based-standards] (PRIdFAST8): Likewise.
6480 [C99-based-standards] (PRIiFAST8): Likewise.
6481 [C99-based-standards] (PRIoFAST8): Likewise.
6482 [C99-based-standards] (PRIuFAST8): Likewise.
6483 [C99-based-standards] (PRIxFAST8): Likewise.
6484 [C99-based-standards] (PRIXFAST8): Likewise.
6485 [C99-based-standards] (SCNdFAST8): Likewise.
6486 [C99-based-standards] (SCNiFAST8): Likewise.
6487 [C99-based-standards] (SCNoFAST8): Likewise.
6488 [C99-based-standards] (SCNuFAST8): Likewise.
6489 [C99-based-standards] (SCNxFAST8): Likewise.
6490 [C99-based-standards] (PRId16): Likewise.
6491 [C99-based-standards] (PRIi16): Likewise.
6492 [C99-based-standards] (PRIo16): Likewise.
6493 [C99-based-standards] (PRIu16): Likewise.
6494 [C99-based-standards] (PRIx16): Likewise.
6495 [C99-based-standards] (PRIX16): Likewise.
6496 [C99-based-standards] (SCNd16): Likewise.
6497 [C99-based-standards] (SCNi16): Likewise.
6498 [C99-based-standards] (SCNo16): Likewise.
6499 [C99-based-standards] (SCNu16): Likewise.
6500 [C99-based-standards] (SCNx16): Likewise.
6501 [C99-based-standards] (PRIdLEAST16): Likewise.
6502 [C99-based-standards] (PRIiLEAST16): Likewise.
6503 [C99-based-standards] (PRIoLEAST16): Likewise.
6504 [C99-based-standards] (PRIuLEAST16): Likewise.
6505 [C99-based-standards] (PRIxLEAST16): Likewise.
6506 [C99-based-standards] (PRIXLEAST16): Likewise.
6507 [C99-based-standards] (SCNdLEAST16): Likewise.
6508 [C99-based-standards] (SCNiLEAST16): Likewise.
6509 [C99-based-standards] (SCNoLEAST16): Likewise.
6510 [C99-based-standards] (SCNuLEAST16): Likewise.
6511 [C99-based-standards] (SCNxLEAST16): Likewise.
6512 [C99-based-standards] (PRIdFAST16): Likewise.
6513 [C99-based-standards] (PRIiFAST16): Likewise.
6514 [C99-based-standards] (PRIoFAST16): Likewise.
6515 [C99-based-standards] (PRIuFAST16): Likewise.
6516 [C99-based-standards] (PRIxFAST16): Likewise.
6517 [C99-based-standards] (PRIXFAST16): Likewise.
6518 [C99-based-standards] (SCNdFAST16): Likewise.
6519 [C99-based-standards] (SCNiFAST16): Likewise.
6520 [C99-based-standards] (SCNoFAST16): Likewise.
6521 [C99-based-standards] (SCNuFAST16): Likewise.
6522 [C99-based-standards] (SCNxFAST16): Likewise.
6523 [C99-based-standards] (PRId32): Likewise.
6524 [C99-based-standards] (PRIi32): Likewise.
6525 [C99-based-standards] (PRIo32): Likewise.
6526 [C99-based-standards] (PRIu32): Likewise.
6527 [C99-based-standards] (PRIx32): Likewise.
6528 [C99-based-standards] (PRIX32): Likewise.
6529 [C99-based-standards] (SCNd32): Likewise.
6530 [C99-based-standards] (SCNi32): Likewise.
6531 [C99-based-standards] (SCNo32): Likewise.
6532 [C99-based-standards] (SCNu32): Likewise.
6533 [C99-based-standards] (SCNx32): Likewise.
6534 [C99-based-standards] (PRIdLEAST32): Likewise.
6535 [C99-based-standards] (PRIiLEAST32): Likewise.
6536 [C99-based-standards] (PRIoLEAST32): Likewise.
6537 [C99-based-standards] (PRIuLEAST32): Likewise.
6538 [C99-based-standards] (PRIxLEAST32): Likewise.
6539 [C99-based-standards] (PRIXLEAST32): Likewise.
6540 [C99-based-standards] (SCNdLEAST32): Likewise.
6541 [C99-based-standards] (SCNiLEAST32): Likewise.
6542 [C99-based-standards] (SCNoLEAST32): Likewise.
6543 [C99-based-standards] (SCNuLEAST32): Likewise.
6544 [C99-based-standards] (SCNxLEAST32): Likewise.
6545 [C99-based-standards] (PRIdFAST32): Likewise.
6546 [C99-based-standards] (PRIiFAST32): Likewise.
6547 [C99-based-standards] (PRIoFAST32): Likewise.
6548 [C99-based-standards] (PRIuFAST32): Likewise.
6549 [C99-based-standards] (PRIxFAST32): Likewise.
6550 [C99-based-standards] (PRIXFAST32): Likewise.
6551 [C99-based-standards] (SCNdFAST32): Likewise.
6552 [C99-based-standards] (SCNiFAST32): Likewise.
6553 [C99-based-standards] (SCNoFAST32): Likewise.
6554 [C99-based-standards] (SCNuFAST32): Likewise.
6555 [C99-based-standards] (SCNxFAST32): Likewise.
6556 [C99-based-standards] (PRId64): Likewise.
6557 [C99-based-standards] (PRIi64): Likewise.
6558 [C99-based-standards] (PRIo64): Likewise.
6559 [C99-based-standards] (PRIu64): Likewise.
6560 [C99-based-standards] (PRIx64): Likewise.
6561 [C99-based-standards] (PRIX64): Likewise.
6562 [C99-based-standards] (SCNd64): Likewise.
6563 [C99-based-standards] (SCNi64): Likewise.
6564 [C99-based-standards] (SCNo64): Likewise.
6565 [C99-based-standards] (SCNu64): Likewise.
6566 [C99-based-standards] (SCNx64): Likewise.
6567 [C99-based-standards] (PRIdLEAST64): Likewise.
6568 [C99-based-standards] (PRIiLEAST64): Likewise.
6569 [C99-based-standards] (PRIoLEAST64): Likewise.
6570 [C99-based-standards] (PRIuLEAST64): Likewise.
6571 [C99-based-standards] (PRIxLEAST64): Likewise.
6572 [C99-based-standards] (PRIXLEAST64): Likewise.
6573 [C99-based-standards] (SCNdLEAST64): Likewise.
6574 [C99-based-standards] (SCNiLEAST64): Likewise.
6575 [C99-based-standards] (SCNoLEAST64): Likewise.
6576 [C99-based-standards] (SCNuLEAST64): Likewise.
6577 [C99-based-standards] (SCNxLEAST64): Likewise.
6578 [C99-based-standards] (PRIdFAST64): Likewise.
6579 [C99-based-standards] (PRIiFAST64): Likewise.
6580 [C99-based-standards] (PRIoFAST64): Likewise.
6581 [C99-based-standards] (PRIuFAST64): Likewise.
6582 [C99-based-standards] (PRIxFAST64): Likewise.
6583 [C99-based-standards] (PRIXFAST64): Likewise.
6584 [C99-based-standards] (SCNdFAST64): Likewise.
6585 [C99-based-standards] (SCNiFAST64): Likewise.
6586 [C99-based-standards] (SCNoFAST64): Likewise.
6587 [C99-based-standards] (SCNuFAST64): Likewise.
6588 [C99-based-standards] (SCNxFAST64): Likewise.
6589 [C99-based-standards] (PRIdMAX): Likewise.
6590 [C99-based-standards] (PRIiMAX): Likewise.
6591 [C99-based-standards] (PRIoMAX): Likewise.
6592 [C99-based-standards] (PRIuMAX): Likewise.
6593 [C99-based-standards] (PRIxMAX): Likewise.
6594 [C99-based-standards] (PRIXMAX): Likewise.
6595 [C99-based-standards] (SCNdMAX): Likewise.
6596 [C99-based-standards] (SCNiMAX): Likewise.
6597 [C99-based-standards] (SCNoMAX): Likewise.
6598 [C99-based-standards] (SCNuMAX): Likewise.
6599 [C99-based-standards] (SCNxMAX): Likewise.
6600 [C99-based-standards] (PRIdPTR): Likewise.
6601 [C99-based-standards] (PRIiPTR): Likewise.
6602 [C99-based-standards] (PRIoPTR): Likewise.
6603 [C99-based-standards] (PRIuPTR): Likewise.
6604 [C99-based-standards] (PRIxPTR): Likewise.
6605 [C99-based-standards] (PRIXPTR): Likewise.
6606 [C99-based-standards] (SCNdPTR): Likewise.
6607 [C99-based-standards] (SCNiPTR): Likewise.
6608 [C99-based-standards] (SCNoPTR): Likewise.
6609 [C99-based-standards] (SCNuPTR): Likewise.
6610 [C99-based-standards] (SCNxPTR): Likewise.
6611 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6612 allow.
6613 * conform/data/stdint.h-data: Update comments to clarify
6614 requirements.
6615 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6616 type.
6617 [C99-based standards] (INT8_MAX): Likewise.
6618 [C99-based standards] (INT16_MIN): Likewise.
6619 [C99-based standards] (INT16_MAX): Likewise.
6620 [C99-based standards] (INT32_MIN): Likewise.
6621 [C99-based standards] (INT32_MAX): Likewise.
6622 [C99-based standards] (INT64_MIN): Likewise.
6623 [C99-based standards] (INT64_MAX): Likewise.
6624 [C99-based standards] (UINT8_MAX): Likewise.
6625 [C99-based standards] (UINT16_MAX): Likewise.
6626 [C99-based standards] (UINT32_MAX): Likewise.
6627 [C99-based standards] (UINT64_MAX): Likewise.
6628 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6629 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6630 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6631 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6632 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6633 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6634 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6635 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6636 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6637 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6638 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6639 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6640 [C99-based standards] (INT_FAST8_MIN): Likewise.
6641 [C99-based standards] (INT_FAST8_MAX): Likewise.
6642 [C99-based standards] (INT_FAST16_MIN): Likewise.
6643 [C99-based standards] (INT_FAST16_MAX): Likewise.
6644 [C99-based standards] (INT_FAST32_MIN): Likewise.
6645 [C99-based standards] (INT_FAST32_MAX): Likewise.
6646 [C99-based standards] (INT_FAST64_MIN): Likewise.
6647 [C99-based standards] (INT_FAST64_MAX): Likewise.
6648 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6649 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6650 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6651 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6652 [C99-based standards] (INTPTR_MIN): Likewise.
6653 [C99-based standards] (INTPTR_MAX): Likewise.
6654 [C99-based standards] (UINTPTR_MAX): Likewise.
6655 [C99-based standards] (INTMAX_MIN): Likewise.
6656 [C99-based standards] (INTMAX_MAX): Likewise.
6657 [C99-based standards] (UINTMAX_MAX): Likewise.
6658 [C99-based standards] (PTRDIFF_MIN): Likewise.
6659 [C99-based standards] (PTRDIFF_MAX): Likewise.
6660 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6661 [C99-based standards] (SIZE_MAX): Likewise.
6662 [C99-based standards] (WCHAR_MAX): Likewise.
6663 [C99-based standards] (WINT_MAX): Likewise.
6664 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6665 constraint on value.
6666 [C99-based standards] (WCHAR_MIN): Likewise.
6667 [C99-based standards] (WINT_MIN): Likewise.
6668 [C99-based standards] (*_t): Allow.
6669 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6670 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6671 Include math.h-data and complex.h-data. Remove all expectations
6672 of math.h and complex.h contents.
6673 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6674 at end of line.
6675 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6676 (struct tm): Expect tag.
6677 [C99-based-standards] (wcstof): Expect function.
6678 [C99-based-standards] (wcstold): Likewise.
6679 [C99-based-standards] (wcstoll): Likewise.
6680 [C99-based-standards] (wcstoull): Likewise.
6681 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6682 macro-int-constant. Specify type.
6683 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6684 constraint on value.
6685 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6686 Specify type.
6687 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6688 Specify value.
6689 [ISO C standards]: Do not allow headers.
6690 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6691 wcs[abcdefghijklmnopqrstuvwxyz]*.
6692 [ISO C standards] (*_t): Do not allow.
6693 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6694 Expect function.
6695 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6696 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6697 Specify type.
6698 [ISO C standards]: Do not allow headers.
6699 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6700 is[abcdefghijklmnopqrstuvwxyz]*.
6701 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6702 to[abcdefghijklmnopqrstuvwxyz]*.
6703 [ISO C standards] (*_t): Do not allow.
6704 * conform/data/stdalign.h-data: New file.
6705 * conform/data/stdbool.h-data: Likewise.
6706 * conform/data/stdnoreturn.h-data: Likewise.
6707
6708 2012-11-07 Roland McGrath <roland@hack.frob.com>
6709
6710 [BZ #14815]
6711 * manual/filesys.texi (Directory Entries): Typo fix.
6712 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6713
6714 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6715
6716 * elf/elf.h (EM_AARCH64): New macro.
6717 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6718 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6719 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6720 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6721 (R_AARCH64_TLSDESC): Likewise.
6722 (NT_ARM_TLS): Likewise.
6723 (NT_ARM_HW_BREAK): Likewise.
6724 (NT_ARM_HW_WATCH): Likewise.
6725
6726 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6727
6728 [BZ #14811]
6729 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6730 (__ieee754_powl): Saturate nonzero exponents with absolute value
6731 below 0x1p-79 to +/- 0x1p-79.
6732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6733 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6734 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6735 nonzero exponents with absolute value below 0x1p-32 to +/-
6736 0x1p-32.
6737 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6738 (__ieee754_powl): Saturate nonzero exponents with absolute value
6739 below 0x1p-79 to +/- 0x1p-79.
6740 * math/libm-test.inc (pow_test): Add more tests.
6741
6742 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6743
6744 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6745 _dl_s390_cap_flags with kernel. Increase string length.
6746 (_dl_s390_platforms): Add z196 and zEC12.
6747
6748 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6749
6750 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6751 Change XOPEN21K to XOPEN2K.
6752
6753 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6754
6755 * string/memmove.c: Use memcpy when possible.
6756
6757 2012-11-06 Andreas Jaeger <aj@suse.de>
6758
6759 * po/eo.po: Update from translation team.
6760
6761 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #14793]
6764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6765 exponent and small x and y exponents, scale x or y up. Increase
6766 by 2 the exponent used in scaling up.
6767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6769 * math/libm-test.inc (fma_test): Add more tests.
6770 (fma_test_towardzero): Likewise.
6771 (fma_test_downward): Likewise.
6772 (fma_test_upward): Likewise.
6773
6774 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6775
6776 [BZ #14805]
6777 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6778 fenv_t *.
6779
6780 [BZ #14801]
6781 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6782 namespace for names of struct fields.
6783 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6784 fenv_t fields.
6785 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6786 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6787
6788 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6789
6790 [BZ #3665]
6791 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6792
6793 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6794
6795 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6796 PTR_DEMANGLE.
6797
6798 [BZ #5246]
6799 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6800 PTR_DEMANGLE.
6801
6802 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #14797]
6805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6806 definitely overflow as x * y not x * y + z.
6807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6809 * math/libm-test.inc (fma_test): Add more tests.
6810 (fma_test_towardzero): Likewise.
6811 (fma_test_downward): Likewise.
6812 (fma_test_upward): Likewise.
6813
6814 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6815
6816 [BZ #157]
6817
6818 * include/stub-tag.h: Remove file.
6819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6820 '#include' of it.
6821 * manual/maint.texi (Porting): Don't reference it.
6822 * Makerules ($(objpfx)stubs): Likewise.
6823 * dirent/closedir.c: Don't include <stub-tag.h>.
6824 * dirent/dirfd.c: Likewise.
6825 * dirent/fdopendir.c: Likewise.
6826 * dirent/getdents.c: Likewise.
6827 * dirent/getdents64.c: Likewise.
6828 * dirent/opendir.c: Likewise.
6829 * dirent/readdir.c: Likewise.
6830 * dirent/readdir64.c: Likewise.
6831 * dirent/readdir64_r.c: Likewise.
6832 * dirent/readdir_r.c: Likewise.
6833 * dirent/rewinddir.c: Likewise.
6834 * dirent/seekdir.c: Likewise.
6835 * dirent/telldir.c: Likewise.
6836 * gmon/profil.c: Likewise.
6837 * grp/setgroups.c: Likewise.
6838 * inet/if_index.c: Likewise.
6839 * io/access.c: Likewise.
6840 * io/chdir.c: Likewise.
6841 * io/chmod.c: Likewise.
6842 * io/chown.c: Likewise.
6843 * io/close.c: Likewise.
6844 * io/dup.c: Likewise.
6845 * io/dup2.c: Likewise.
6846 * io/dup3.c: Likewise.
6847 * io/euidaccess.c: Likewise.
6848 * io/faccessat.c: Likewise.
6849 * io/fchdir.c: Likewise.
6850 * io/fchmod.c: Likewise.
6851 * io/fchmodat.c: Likewise.
6852 * io/fchown.c: Likewise.
6853 * io/fchownat.c: Likewise.
6854 * io/fcntl.c: Likewise.
6855 * io/flock.c: Likewise.
6856 * io/fstatfs.c: Likewise.
6857 * io/fstatfs64.c: Likewise.
6858 * io/fstatvfs.c: Likewise.
6859 * io/fstatvfs64.c: Likewise.
6860 * io/futimens.c: Likewise.
6861 * io/fxstat.c: Likewise.
6862 * io/fxstat64.c: Likewise.
6863 * io/fxstatat.c: Likewise.
6864 * io/fxstatat64.c: Likewise.
6865 * io/getcwd.c: Likewise.
6866 * io/isatty.c: Likewise.
6867 * io/lchmod.c: Likewise.
6868 * io/lchown.c: Likewise.
6869 * io/link.c: Likewise.
6870 * io/linkat.c: Likewise.
6871 * io/lseek.c: Likewise.
6872 * io/lseek64.c: Likewise.
6873 * io/lxstat64.c: Likewise.
6874 * io/mkdir.c: Likewise.
6875 * io/mkdirat.c: Likewise.
6876 * io/mkfifo.c: Likewise.
6877 * io/mkfifoat.c: Likewise.
6878 * io/open.c: Likewise.
6879 * io/open64.c: Likewise.
6880 * io/openat.c: Likewise.
6881 * io/openat64.c: Likewise.
6882 * io/pipe.c: Likewise.
6883 * io/pipe2.c: Likewise.
6884 * io/poll.c: Likewise.
6885 * io/posix_fadvise.c: Likewise.
6886 * io/posix_fadvise64.c: Likewise.
6887 * io/posix_fallocate.c: Likewise.
6888 * io/posix_fallocate64.c: Likewise.
6889 * io/read.c: Likewise.
6890 * io/readlink.c: Likewise.
6891 * io/readlinkat.c: Likewise.
6892 * io/rmdir.c: Likewise.
6893 * io/sendfile.c: Likewise.
6894 * io/sendfile64.c: Likewise.
6895 * io/statfs.c: Likewise.
6896 * io/statfs64.c: Likewise.
6897 * io/statvfs.c: Likewise.
6898 * io/statvfs64.c: Likewise.
6899 * io/symlink.c: Likewise.
6900 * io/symlinkat.c: Likewise.
6901 * io/ttyname.c: Likewise.
6902 * io/ttyname_r.c: Likewise.
6903 * io/umask.c: Likewise.
6904 * io/unlink.c: Likewise.
6905 * io/unlinkat.c: Likewise.
6906 * io/utime.c: Likewise.
6907 * io/utimensat.c: Likewise.
6908 * io/write.c: Likewise.
6909 * io/xmknod.c: Likewise.
6910 * io/xmknodat.c: Likewise.
6911 * io/xstat.c: Likewise.
6912 * io/xstat64.c: Likewise.
6913 * login/getpt.c: Likewise.
6914 * login/grantpt.c: Likewise.
6915 * login/unlockpt.c: Likewise.
6916 * math/e_acoshl.c: Likewise.
6917 * math/e_acosl.c: Likewise.
6918 * math/e_asinl.c: Likewise.
6919 * math/e_atan2l.c: Likewise.
6920 * math/e_atanhl.c: Likewise.
6921 * math/e_coshl.c: Likewise.
6922 * math/e_expl.c: Likewise.
6923 * math/e_fmodl.c: Likewise.
6924 * math/e_gammal_r.c: Likewise.
6925 * math/e_hypotl.c: Likewise.
6926 * math/e_j0l.c: Likewise.
6927 * math/e_j1l.c: Likewise.
6928 * math/e_jnl.c: Likewise.
6929 * math/e_lgammal_r.c: Likewise.
6930 * math/e_log10l.c: Likewise.
6931 * math/e_log2l.c: Likewise.
6932 * math/e_logl.c: Likewise.
6933 * math/e_powl.c: Likewise.
6934 * math/e_rem_pio2l.c: Likewise.
6935 * math/e_sinhl.c: Likewise.
6936 * math/e_sqrtl.c: Likewise.
6937 * math/fclrexcpt.c: Likewise.
6938 * math/fedisblxcpt.c: Likewise.
6939 * math/feenablxcpt.c: Likewise.
6940 * math/fegetenv.c: Likewise.
6941 * math/fegetexcept.c: Likewise.
6942 * math/fegetround.c: Likewise.
6943 * math/feholdexcpt.c: Likewise.
6944 * math/fesetenv.c: Likewise.
6945 * math/fesetround.c: Likewise.
6946 * math/feupdateenv.c: Likewise.
6947 * math/fgetexcptflg.c: Likewise.
6948 * math/fraiseexcpt.c: Likewise.
6949 * math/fsetexcptflg.c: Likewise.
6950 * math/ftestexcept.c: Likewise.
6951 * math/k_cosl.c: Likewise.
6952 * math/k_rem_pio2l.c: Likewise.
6953 * math/k_sinl.c: Likewise.
6954 * math/k_tanl.c: Likewise.
6955 * math/s_asinhl.c: Likewise.
6956 * math/s_atanl.c: Likewise.
6957 * math/s_cbrtl.c: Likewise.
6958 * math/s_erfl.c: Likewise.
6959 * math/s_expm1l.c: Likewise.
6960 * math/s_log1pl.c: Likewise.
6961 * math/s_tanhl.c: Likewise.
6962 * misc/acct.c: Likewise.
6963 * misc/brk.c: Likewise.
6964 * misc/chflags.c: Likewise.
6965 * misc/chroot.c: Likewise.
6966 * misc/fchflags.c: Likewise.
6967 * misc/fgetxattr.c: Likewise.
6968 * misc/flistxattr.c: Likewise.
6969 * misc/fremovexattr.c: Likewise.
6970 * misc/fsetxattr.c: Likewise.
6971 * misc/fsync.c: Likewise.
6972 * misc/ftruncate.c: Likewise.
6973 * misc/futimes.c: Likewise.
6974 * misc/futimesat.c: Likewise.
6975 * misc/getdomain.c: Likewise.
6976 * misc/getdtsz.c: Likewise.
6977 * misc/gethostid.c: Likewise.
6978 * misc/gethostname.c: Likewise.
6979 * misc/getloadavg.c: Likewise.
6980 * misc/getpagesize.c: Likewise.
6981 * misc/getsysstats.c: Likewise.
6982 * misc/getxattr.c: Likewise.
6983 * misc/gtty.c: Likewise.
6984 * misc/ioctl.c: Likewise.
6985 * misc/lgetxattr.c: Likewise.
6986 * misc/listxattr.c: Likewise.
6987 * misc/llistxattr.c: Likewise.
6988 * misc/lremovexattr.c: Likewise.
6989 * misc/lsetxattr.c: Likewise.
6990 * misc/lutimes.c: Likewise.
6991 * misc/madvise.c: Likewise.
6992 * misc/mincore.c: Likewise.
6993 * misc/mlock.c: Likewise.
6994 * misc/mlockall.c: Likewise.
6995 * misc/mmap.c: Likewise.
6996 * misc/mprotect.c: Likewise.
6997 * misc/msync.c: Likewise.
6998 * misc/munlock.c: Likewise.
6999 * misc/munlockall.c: Likewise.
7000 * misc/munmap.c: Likewise.
7001 * misc/preadv.c: Likewise.
7002 * misc/preadv64.c: Likewise.
7003 * misc/ptrace.c: Likewise.
7004 * misc/pwritev.c: Likewise.
7005 * misc/pwritev64.c: Likewise.
7006 * misc/readv.c: Likewise.
7007 * misc/reboot.c: Likewise.
7008 * misc/remap_file_pages.c: Likewise.
7009 * misc/removexattr.c: Likewise.
7010 * misc/revoke.c: Likewise.
7011 * misc/select.c: Likewise.
7012 * misc/setdomain.c: Likewise.
7013 * misc/setegid.c: Likewise.
7014 * misc/seteuid.c: Likewise.
7015 * misc/sethostid.c: Likewise.
7016 * misc/sethostname.c: Likewise.
7017 * misc/setregid.c: Likewise.
7018 * misc/setreuid.c: Likewise.
7019 * misc/setxattr.c: Likewise.
7020 * misc/sstk.c: Likewise.
7021 * misc/stty.c: Likewise.
7022 * misc/swapoff.c: Likewise.
7023 * misc/swapon.c: Likewise.
7024 * misc/sync.c: Likewise.
7025 * misc/syncfs.c: Likewise.
7026 * misc/syscall.c: Likewise.
7027 * misc/truncate.c: Likewise.
7028 * misc/ualarm.c: Likewise.
7029 * misc/usleep.c: Likewise.
7030 * misc/ustat.c: Likewise.
7031 * misc/utimes.c: Likewise.
7032 * misc/vhangup.c: Likewise.
7033 * misc/writev.c: Likewise.
7034 * posix/_exit.c: Likewise.
7035 * posix/alarm.c: Likewise.
7036 * posix/execve.c: Likewise.
7037 * posix/fexecve.c: Likewise.
7038 * posix/fork.c: Likewise.
7039 * posix/fpathconf.c: Likewise.
7040 * posix/getaddrinfo.c: Likewise.
7041 * posix/getegid.c: Likewise.
7042 * posix/geteuid.c: Likewise.
7043 * posix/getgid.c: Likewise.
7044 * posix/getgroups.c: Likewise.
7045 * posix/getlogin.c: Likewise.
7046 * posix/getlogin_r.c: Likewise.
7047 * posix/getpgid.c: Likewise.
7048 * posix/getpid.c: Likewise.
7049 * posix/getppid.c: Likewise.
7050 * posix/getresgid.c: Likewise.
7051 * posix/getresuid.c: Likewise.
7052 * posix/getsid.c: Likewise.
7053 * posix/getuid.c: Likewise.
7054 * posix/glob64.c: Likewise.
7055 * posix/nanosleep.c: Likewise.
7056 * posix/pathconf.c: Likewise.
7057 * posix/pause.c: Likewise.
7058 * posix/posix_madvise.c: Likewise.
7059 * posix/pread.c: Likewise.
7060 * posix/pread64.c: Likewise.
7061 * posix/pwrite.c: Likewise.
7062 * posix/pwrite64.c: Likewise.
7063 * posix/sched_getaffinity.c: Likewise.
7064 * posix/sched_getp.c: Likewise.
7065 * posix/sched_gets.c: Likewise.
7066 * posix/sched_primax.c: Likewise.
7067 * posix/sched_primin.c: Likewise.
7068 * posix/sched_rr_gi.c: Likewise.
7069 * posix/sched_setaffinity.c: Likewise.
7070 * posix/sched_setp.c: Likewise.
7071 * posix/sched_sets.c: Likewise.
7072 * posix/sched_yield.c: Likewise.
7073 * posix/setgid.c: Likewise.
7074 * posix/setlogin.c: Likewise.
7075 * posix/setpgid.c: Likewise.
7076 * posix/setresgid.c: Likewise.
7077 * posix/setresuid.c: Likewise.
7078 * posix/setsid.c: Likewise.
7079 * posix/setuid.c: Likewise.
7080 * posix/sleep.c: Likewise.
7081 * posix/spawni.c: Likewise.
7082 * posix/sysconf.c: Likewise.
7083 * posix/times.c: Likewise.
7084 * posix/wait.c: Likewise.
7085 * posix/wait3.c: Likewise.
7086 * posix/wait4.c: Likewise.
7087 * posix/waitpid.c: Likewise.
7088 * resolv/gai_sigqueue.c: Likewise.
7089 * resource/getpriority.c: Likewise.
7090 * resource/getrlimit.c: Likewise.
7091 * resource/getrusage.c: Likewise.
7092 * resource/nice.c: Likewise.
7093 * resource/setpriority.c: Likewise.
7094 * resource/setrlimit.c: Likewise.
7095 * resource/ulimit.c: Likewise.
7096 * rt/aio_cancel.c: Likewise.
7097 * rt/aio_fsync.c: Likewise.
7098 * rt/aio_read.c: Likewise.
7099 * rt/aio_sigqueue.c: Likewise.
7100 * rt/aio_suspend.c: Likewise.
7101 * rt/aio_write.c: Likewise.
7102 * rt/clock_getres.c: Likewise.
7103 * rt/clock_gettime.c: Likewise.
7104 * rt/clock_nanosleep.c: Likewise.
7105 * rt/clock_settime.c: Likewise.
7106 * rt/lio_listio.c: Likewise.
7107 * rt/mq_close.c: Likewise.
7108 * rt/mq_getattr.c: Likewise.
7109 * rt/mq_notify.c: Likewise.
7110 * rt/mq_open.c: Likewise.
7111 * rt/mq_receive.c: Likewise.
7112 * rt/mq_send.c: Likewise.
7113 * rt/mq_setattr.c: Likewise.
7114 * rt/mq_timedreceive.c: Likewise.
7115 * rt/mq_timedsend.c: Likewise.
7116 * rt/mq_unlink.c: Likewise.
7117 * rt/shm_open.c: Likewise.
7118 * rt/shm_unlink.c: Likewise.
7119 * rt/timer_create.c: Likewise.
7120 * rt/timer_delete.c: Likewise.
7121 * rt/timer_getoverr.c: Likewise.
7122 * rt/timer_gettime.c: Likewise.
7123 * rt/timer_settime.c: Likewise.
7124 * setjmp/__longjmp.c: Likewise.
7125 * setjmp/setjmp.c: Likewise.
7126 * signal/kill.c: Likewise.
7127 * signal/killpg.c: Likewise.
7128 * signal/raise.c: Likewise.
7129 * signal/sigaction.c: Likewise.
7130 * signal/sigaltstack.c: Likewise.
7131 * signal/sigblock.c: Likewise.
7132 * signal/sigignore.c: Likewise.
7133 * signal/sigintr.c: Likewise.
7134 * signal/signal.c: Likewise.
7135 * signal/sigpause.c: Likewise.
7136 * signal/sigpending.c: Likewise.
7137 * signal/sigqueue.c: Likewise.
7138 * signal/sigreturn.c: Likewise.
7139 * signal/sigset.c: Likewise.
7140 * signal/sigsetmask.c: Likewise.
7141 * signal/sigstack.c: Likewise.
7142 * signal/sigsuspend.c: Likewise.
7143 * signal/sigtimedwait.c: Likewise.
7144 * signal/sigvec.c: Likewise.
7145 * signal/sigwait.c: Likewise.
7146 * signal/sigwaitinfo.c: Likewise.
7147 * signal/sysv_signal.c: Likewise.
7148 * socket/accept.c: Likewise.
7149 * socket/accept4.c: Likewise.
7150 * socket/bind.c: Likewise.
7151 * socket/connect.c: Likewise.
7152 * socket/getpeername.c: Likewise.
7153 * socket/getsockname.c: Likewise.
7154 * socket/getsockopt.c: Likewise.
7155 * socket/isfdtype.c: Likewise.
7156 * socket/listen.c: Likewise.
7157 * socket/recv.c: Likewise.
7158 * socket/recvfrom.c: Likewise.
7159 * socket/recvmsg.c: Likewise.
7160 * socket/send.c: Likewise.
7161 * socket/sendmsg.c: Likewise.
7162 * socket/sendto.c: Likewise.
7163 * socket/setsockopt.c: Likewise.
7164 * socket/shutdown.c: Likewise.
7165 * socket/sockatmark.c: Likewise.
7166 * socket/socket.c: Likewise.
7167 * socket/socketpair.c: Likewise.
7168 * stdio-common/ctermid.c: Likewise.
7169 * stdio-common/cuserid.c: Likewise.
7170 * stdio-common/remove.c: Likewise.
7171 * stdio-common/rename.c: Likewise.
7172 * stdio-common/renameat.c: Likewise.
7173 * stdio-common/tempname.c: Likewise.
7174 * stdlib/getcontext.c: Likewise.
7175 * stdlib/makecontext.c: Likewise.
7176 * stdlib/setcontext.c: Likewise.
7177 * stdlib/swapcontext.c: Likewise.
7178 * stdlib/system.c: Likewise.
7179 * streams/fattach.c: Likewise.
7180 * streams/fdetach.c: Likewise.
7181 * streams/getmsg.c: Likewise.
7182 * streams/getpmsg.c: Likewise.
7183 * streams/putmsg.c: Likewise.
7184 * streams/putpmsg.c: Likewise.
7185 * sysdeps/unix/bsd/getpt.c: Likewise.
7186 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7187 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7190 Likewise.
7191 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7193 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7194 * sysvipc/msgctl.c: Likewise.
7195 * sysvipc/msgget.c: Likewise.
7196 * sysvipc/msgrcv.c: Likewise.
7197 * sysvipc/msgsnd.c: Likewise.
7198 * sysvipc/semctl.c: Likewise.
7199 * sysvipc/semget.c: Likewise.
7200 * sysvipc/semop.c: Likewise.
7201 * sysvipc/semtimedop.c: Likewise.
7202 * sysvipc/shmat.c: Likewise.
7203 * sysvipc/shmctl.c: Likewise.
7204 * sysvipc/shmdt.c: Likewise.
7205 * sysvipc/shmget.c: Likewise.
7206 * termios/tcdrain.c: Likewise.
7207 * termios/tcflow.c: Likewise.
7208 * termios/tcflush.c: Likewise.
7209 * termios/tcgetattr.c: Likewise.
7210 * termios/tcgetpgrp.c: Likewise.
7211 * termios/tcsendbrk.c: Likewise.
7212 * termios/tcsetattr.c: Likewise.
7213 * termios/tcsetpgrp.c: Likewise.
7214 * time/adjtime.c: Likewise.
7215 * time/clock.c: Likewise.
7216 * time/getitimer.c: Likewise.
7217 * time/gettimeofday.c: Likewise.
7218 * time/setitimer.c: Likewise.
7219 * time/settimeofday.c: Likewise.
7220 * time/stime.c: Likewise.
7221 * time/time.c: Likewise.
7222
7223 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7224
7225 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7226 /usr/old/bin.
7227
7228 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7229 instead of spaces.
7230 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7231
7232 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7233
7234 [BZ #14796]
7235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7236 FE_TONEAREST before applying Dekker multiplication and Knuth
7237 addition. Clear inexact exceptions and check for exact zero
7238 results afterwards.
7239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7242 * math/libm-test.inc (fma_test): Add more tests.
7243 (fma_test_towardzero): Likewise.
7244 (fma_test_downward): Likewise.
7245 (fma_test_upward): Likewise.
7246 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7247 function.
7248 (libc_fesetround): New macro.
7249 (libc_fesetroundf): Likewise.
7250 (libc_fesetroundl): Likewise.
7251 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7252 function.
7253 (libc_fesetround_387): Likewise.
7254 (libc_fesetroundf): New macro.
7255 (libc_fesetround): Likewise.
7256 (libc_fesetroundl): Likewise.
7257 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7258 function.
7259 (libc_fesetroundf): New macro.
7260 (libc_fesetround): Likewise.
7261 (libc_fesetroundl): Likewise.
7262 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7263 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7264 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7265 libm_hidden_ver.
7266 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7267 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7268 libm_hidden_def.
7269 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7270 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7271 libm_hidden_ver.
7272 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7273 libm_hidden_def.
7274
7275 [BZ #3439]
7276 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7277 integer constant usable in #if and use that to give value to enum
7278 constant.
7279 (FE_DIVBYZERO): Likewise.
7280 (FE_UNDERFLOW): Likewise.
7281 (FE_OVERFLOW): Likewise.
7282 (FE_INVALID): Likewise.
7283 (FE_INVALID_SNAN): Likewise.
7284 (FE_INVALID_ISI): Likewise.
7285 (FE_INVALID_IDI): Likewise.
7286 (FE_INVALID_ZDZ): Likewise.
7287 (FE_INVALID_IMZ): Likewise.
7288 (FE_INVALID_COMPARE): Likewise.
7289 (FE_INVALID_SOFTWARE): Likewise.
7290 (FE_INVALID_SQRT): Likewise.
7291 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7292 (FE_TONEAREST): Likewise.
7293 (FE_TOWARDZERO): Likewise.
7294 (FE_UPWARD): Likewise.
7295 (FE_DOWNWARD): Likewise.
7296 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7297 (FE_DIVBYZERO): Likewise.
7298 (FE_OVERFLOW): Likewise.
7299 (FE_UNDERFLOW): Likewise.
7300 (FE_INEXACT): Likewise.
7301 (FE_TONEAREST): Likewise.
7302 (FE_DOWNWARD): Likewise.
7303 (FE_UPWARD): Likewise.
7304 (FE_TOWARDZERO): Likewise.
7305 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7306 (FE_UNDERFLOW): Likewise.
7307 (FE_OVERFLOW): Likewise.
7308 (FE_DIVBYZERO): Likewise.
7309 (FE_INVALID): Likewise.
7310 (FE_TONEAREST): Likewise.
7311 (FE_TOWARDZERO): Likewise.
7312 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7313 (FE_OVERFLOW): Likewise.
7314 (FE_UNDERFLOW): Likewise.
7315 (FE_DIVBYZERO): Likewise.
7316 (FE_INEXACT): Likewise.
7317 (FE_TONEAREST): Likewise.
7318 (FE_TOWARDZERO): Likewise.
7319 (FE_UPWARD): Likewise.
7320 (FE_DOWNWARD): Likewise.
7321 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7322 (FE_DIVBYZERO): Likewise.
7323 (FE_OVERFLOW): Likewise.
7324 (FE_UNDERFLOW): Likewise.
7325 (FE_INEXACT): Likewise.
7326 (FE_TONEAREST): Likewise.
7327 (FE_DOWNWARD): Likewise.
7328 (FE_UPWARD): Likewise.
7329 (FE_TOWARDZERO): Likewise.
7330
7331 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7332
7333 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7334
7335 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7338 commands. Quote $PWD.
7339 (blacklist_exports): Don't use remove_newlines. Replace "declare
7340 -x" by "export".
7341 (remove_newlines): Remove.
7342
7343 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7344
7345 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7346 * stdlib/stdlib.h (atof): Moved to ...
7347 * include/bits/stdlib-float.h: Here. New file.
7348 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7349 * stdlib/bits/stdlib-float.h: New file.
7350 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7351 -mno-sse -mno-mmx.
7352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7353 <xmmintrin.h>.
7354
7355 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7356
7357 * conform/conformtest.pl (@headers): Add fenv.h.
7358 * conform/data/fenv.h-data: New file.
7359 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7360 include of <math/fenv.h>.
7361
7362 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7363 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7364 && !UNIX98]. Enables tests for XOPEN2K8.
7365 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7366 POSIX2008]: Likewise.
7367
7368 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7369 (struct rusage): Do not expect type or its members.
7370
7371 [BZ #3439]
7372 * math/math.h (FP_NAN): Define macro to integer constant usable in
7373 #if and use that to give value to enum constant.
7374 (FP_INFINITE): Likewise.
7375 (FP_ZERO): Likewise.
7376 (FP_SUBNORMAL): Likewise.
7377 (FP_NORMAL): Likewise.
7378
7379 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7380
7381 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7382 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7383 arguments.
7384
7385 2012-11-02 Roland McGrath <roland@hack.frob.com>
7386
7387 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7388 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7389 autoconf-time if not.
7390 * configure.in: Remove AC_PREREQ.
7391
7392 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7393
7394 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7395 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7396 of the internal implementation.
7397
7398 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7399
7400 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7401 except include of <misc/sys/syslog.h>.
7402
7403 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7404
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7406 function returns with a NULL context exit with zero.
7407
7408 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7409
7410 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7411
7412 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7415 (run_program_cmd): This.
7416 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7417 (tst_langinfo): New variable. Use it.
7418
7419 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7420
7421 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7422 floating point opcodes.
7423
7424 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7425
7426 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7427 variable.
7428
7429 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7430
7431 * sysdeps/mach/hurd/powerpc: Remove directory.
7432 * sysdeps/mach/powerpc: Likewise.
7433
7434 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7435
7436 * scripts/check-local-headers.sh: Ignore c++ headers.
7437
7438 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7439
7440 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7441 __libc_cleanup_region_start argument.
7442
7443 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #14784]
7446 [BZ #14785]
7447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7448 x * y using scaling, not as x * y + z.
7449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7451 * math/libm-test.inc (fma_test): Add more tests.
7452 (fma_test_towardzero): Likewise.
7453 (fma_test_downward): Likewise.
7454 (fma_test_upward): Likewise.
7455
7456 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7457
7458 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7459
7460 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7461
7462 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7463 New variable.
7464
7465 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7466
7467 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7468
7469 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7470
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7472 Fix sort order.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7474 Likewise.
7475
7476 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7477
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7479 Fix the order of the list for glibc 2.17.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7481 Likewise.
7482
7483 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7484
7485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7486
7487 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7488
7489 [BZ #14610]
7490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7491 for low part of x being zero before using __atanl (y).
7492 * math/libm-test.inc (atan2_test): Add another test.
7493
7494 * manual/install.texi (Configuring and compiling): Document
7495 general use of test-wrapper and test-wrapper-env.
7496 * INSTALL: Regenerated.
7497
7498 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7499 (__fma): Do not extract and scale down low bits on after-rounding
7500 systems when result rounded to normal precision would have normal
7501 exponent.
7502 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7503 (__fmal): Do not extract and scale down low bits on after-rounding
7504 systems when result rounded to normal precision would have normal
7505 exponent.
7506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7507 (__fmal): Do not extract and scale down low bits on after-rounding
7508 systems when result rounded to normal precision would have normal
7509 exponent.
7510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7511 macro.
7512 (fma_test): Add more tests.
7513 (fma_test_towardzero): Likewise.
7514 (fma_test_downward): Likewise.
7515 (fma_test_upward): Likewise.
7516
7517 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7518
7519 * sysdeps/i386/tininess.h: Renamed to ...
7520 * sysdeps/x86/tininess.h: This.
7521 * sysdeps/x86_64/tininess.h: Removed.
7522
7523 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7524
7525 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7526 input. Use $(build-program-cmd).
7527 ($(objpfx)tst-array1-static.out): Likewise.
7528 ($(objpfx)tst-array2.out): Likewise.
7529 ($(objpfx)tst-array3.out): Likewise.
7530 ($(objpfx)tst-array4.out): Likewise.
7531 ($(objpfx)tst-array5.out): Likewise.
7532 ($(objpfx)tst-array5-static.out): Likewise.
7533
7534 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7535
7536 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7537 if defined.
7538
7539 * nss/nsswitch.h (nss_interface_function): Provide new
7540 macro for use with NSS functions.
7541 * grp/initgroups.c: Use new macro.
7542 * nss/getXXbyYY.c: Likewise.
7543 * nss/getXXbyYY_r.c: Likewise.
7544 * nss/getXXent.c: Likewise.
7545 * nss/getXXent_r.c: Likewise.
7546 * sysdeps/posix/getaddrinfo.c: Likewise.
7547
7548 2012-10-30 Andreas Jaeger <aj@suse.de>
7549
7550 * po/ru.po: Update Russion translation from translation project.
7551
7552 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7553
7554 [BZ #14152]
7555 [BZ #14783]
7556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7557 result and shift together with sticky bit instead of replicating
7558 round-to-nearest rounding.
7559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7561 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7562 missing underflow exceptions.
7563 (fma_test_towardzero): Add more tests.
7564 (fma_test_downward): Likewise.
7565 (fma_test_upward): Likewise.
7566
7567 [BZ #14047]
7568 * sysdeps/generic/tininess.h: New file.
7569 * sysdeps/i386/tininess.h: Likewise.
7570 * sysdeps/sh/tininess.h: Likewise.
7571 * sysdeps/x86_64/tininess.h: Likewise.
7572 * stdlib/tst-strtod-underflow.c: Likewise.
7573 * stdlib/tst-tininess.c: Likewise.
7574 * stdlib/strtod_l.c: Include <tininess.h>.
7575 (round_and_return): Do not set errno for exact underflow cases.
7576 Force an underflow exception when setting errno for underflow.
7577 Determine underflow based on rounding to normal precision if
7578 TININESS_AFTER_ROUNDING.
7579 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7580 ERANGE for exact underflow cases.
7581 * stdlib/Makefile (tests): Add tst-tininess and
7582 tst-strtod-underflow.
7583 ($(objpfx)tst-tininess): Use $(link-libm).
7584 ($(objpfx)tst-strtod-underflow): Likewise.
7585
7586 2012-10-30 Andreas Jaeger <aj@suse.de>
7587
7588 [BZ#14767]
7589 * elf/Makefile (tests): Remove conditional for have-initfini-array
7590 since this is now always required and the variable does not exist
7591 anymore.
7592 (tests-static): Likewise.
7593 (modules-names): Likewise.
7594
7595 * po/eo.po: Add Esperanto translation from translation project.
7596
7597 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7598 merged with constructor/destructor.
7599 (init_array): Likewise.
7600 * elf/tst-array2dep.c (fini_array): Likewise.
7601 (init_array): Likewise.
7602
7603 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7604
7605 * manual/message.texi: Delete @cartouche tags.
7606
7607 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7608
7609 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7610 EOPNOTSUPP.
7611 * sysdeps/mach/hurd/fsync.c: Likewise.
7612
7613 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7614 [_POSIX_REALTIME_SIGNALS]: Change condition to
7615 [_POSIX_REALTIME_SIGNALS > 0].
7616
7617 2012-10-27 Andreas Jaeger <aj@suse.de>
7618
7619 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7620 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7622 [__WORDSIZE != 64]: Likewise.
7623
7624 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 * iconvdata/tst-table.sh: Remove ${SHELL}.
7627 * iconvdata/tst-tables.sh: Likewise.
7628
7629 2012-10-25 David S. Miller <davem@davemloft.net>
7630
7631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7632 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7633 of strtoull.
7634
7635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7636 ifunc-impl-list.c
7637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7638 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7639 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7640 file.
7641
7642 2012-10-25 Roland McGrath <roland@hack.frob.com>
7643
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7645 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7646 __getdirentries.
7647
7648 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7649 Jim Blandy <jimb@codesourcery.com>
7650
7651 * scripts/cross-test-ssh.sh: New file.
7652 * manual/install.texi (Configuring and compiling): Document use of
7653 cross-test-ssh.sh.
7654 * INSTALL: Regenerated.
7655
7656 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7657
7658 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7659 EOPNOTSUPP.
7660
7661 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7662
7663 * Makeconfig (run-program-prefix): Fix comment.
7664
7665 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7666 Jim Blandy <jimb@codesourcery.com>
7667
7668 * Makeconfig (test-wrapper): New variable,
7669 (test-wrapper-env): Likewise.
7670 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7671 (run-built-tests): Define to yes.
7672 (run-program-prefix): Use $(test-wrapper).
7673 (built-program-cmd): Likewise.
7674 * Rules (make-test-out): Use $(test-wrapper-env) and
7675 $(host-built-program-cmd).
7676 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7677 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7678 tst-pathopt.sh.
7679 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7680 $(test-wrapper-env) to tst-rtld-load-self.sh.
7681 ($(objpfx)order2.out): Use $(test-wrapper).
7682 ($(objpfx)tst-initorder.out): Likewise.
7683 ($(objpfx)tst-initorder2.out): Likewise.
7684 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7685 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7686 (test_wrapper_env): New variable. Use it to run ld.so.
7687 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7688 Use it to run ld.so.
7689 (test_wrapper_env): Likewise.
7690 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7691 $(test-wrapper) to run-iconv-test.sh.
7692 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7693 (ICONV): Use $test_wrapper.
7694 * posix/Makefile ($(objpfx)globtest.out): Pass
7695 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7696 globtest.sh, not $(run-program-prefix).
7697 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7698 (test_wrapper): Likewise.
7699 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7700 set together with run_via_rtld_prefix.
7701 (run_program_prefix): Define in terms of test_wrapper and
7702 run_via_rtld_prefix.
7703
7704 2012-10-24 Roland McGrath <roland@hack.frob.com>
7705
7706 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7707 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7708 Targets removed.
7709
7710 [BZ #14743]
7711 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7712 Declare __clock_getres, __clock_gettime, __clock_settime,
7713 __clock_nanosleep, and __clock_getcpuclockid.
7714 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7715 Remove librt_hidden_def (clock_gettime).
7716 * sysdeps/unix/clock_gettime.c: Likewise.
7717 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7718 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7719 * rt/clock_getres.c: Define __clock_getres as an alias.
7720 * sysdeps/posix/clock_getres.c: Likewise.
7721 * rt/clock_settime.c: Define __clock_settime as an alias.
7722 * sysdeps/unix/clock_settime.c: Likewise.
7723 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7724 * sysdeps/unix/clock_nanosleep.c: Likewise.
7725 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7726 * rt/clock-compat.c: New file.
7727 * rt/Makefile (librt-routines): Add clock-compat and move
7728 $(clock-routines) to ...
7729 (routines): ... here, new variable.
7730 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7731 Don't add get_clockfreq here.
7732 * rt/Versions (libc: GLIBC_2.17): New version set.
7733 Add clock_* symbols here.
7734 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7736 (GLIBC_2.17): Add clock_* symbols.
7737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7741 Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7743 Likewise.
7744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7748 * NEWS: Mention the move.
7749
7750 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7751 Use __open, __read, __close rather than their public counterparts.
7752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7753 (__get_clockfreq_via_cpuinfo): Likewise.
7754 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7755 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7756
7757 * config.h.in (HAVE_IFUNC): New #undef.
7758 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7759 was successful.
7760 * configure: Regenerated.
7761
7762 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7763
7764 * configure.in: Move READELF check to start of file.
7765 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7766 libc_cv_asm_gnu_indirect_function in the process.
7767 * configure: Regenerated.
7768
7769 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7770
7771 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7772 send the output to /dev/null.
7773 (libc_cv_cc_with_libunwind): Likewise.
7774 (libc_cv_as_noexecstack): Likewise.
7775 * configure: Regenerate.
7776
7777 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7778
7779 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7780
7781 * posix/globtest.sh (TMPDIR): Do not set.
7782 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7783 (testout): Likewise.
7784
7785 2012-10-24 Andreas Jaeger <aj@suse.de>
7786
7787 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7788 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7789 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7790 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7791 posix_fadvise64, posix_fallocate64.
7792
7793 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7794 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7795 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7796 Likewise.
7797 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7798 Likewise.
7799 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7800
7801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7802 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7803 <bits/fcntl-linux.h>.
7804 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7805
7806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7807 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7808 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7809 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7810 [__WORDSIZE != 64]: Likewise.
7811
7812 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7813
7814 * Makeconfig (run-built-tests): New variable.
7815 * Rules [$(cross-compiling) = yes]: Change condition to
7816 [$(run-built-tests) = no].
7817 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7818 to [$(run-built-tests) = yes].
7819 * elf/Makefile [$(cross-compiling) = no]: Likewise
7820 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7821 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7822 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7823 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7824 * io/Makefile [$(cross-compiling) = no]: Likewise.
7825 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7826 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7827 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7828 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7829 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7830 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7831 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7832 * string/Makefile [$(cross-compiling) = no]: Likewise.
7833
7834 * posix/Makefile ($(objpfx)globtest.out): Pass
7835 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7836 $(rtld-installed-name).
7837 * posix/globtest.sh (elf_objpfx): Remove variable.
7838 (rtld_installed_name): Likewise.
7839 (library_path): Likewise.
7840 (run_program_prefix): New variable. Use for running globtest
7841 binary.
7842
7843 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7844 Joseph Myers <joseph@codesourcery.com>
7845
7846 * Makeconfig (host-built-program-cmd): New variable.
7847 * elf/Makefile (tst-stackguard1-ARGS): Use
7848 $(host-built-program-cmd).
7849 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7850 (tst-spawn-ARGS): Likewise.
7851 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7852
7853 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7854 Jim Blandy <jimb@codesourcery.com>
7855
7856 * Makeconfig (run-via-rtld-prefix): New variable.
7857 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7858 (built-program-cmd): Likewise.
7859
7860 2012-10-22 Andreas Jaeger <aj@suse.de>
7861
7862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7863 __O_RSYNC if it exists, otherwise to O_SYNC.
7864
7865 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7866 Joseph Myers <joseph@codesourcery.com>
7867
7868 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7869 /dev/null.
7870 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7871 from /dev/null
7872 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7873 /dev/null.
7874
7875 2012-10-22 Andreas Jaeger <aj@suse.de>
7876
7877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7878 Define always.
7879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7880
7881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7882 bits/fcntl-linux.h.
7883
7884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7885 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7886
7887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7888 to __O_LARGEFILE.
7889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7890 to __O_LARGEFILE.
7891
7892 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7893 Joseph Myers <joseph@codesourcery.com>
7894
7895 * config.make.in (NM): New variable.
7896
7897 2012-10-21 Andreas Jaeger <aj@suse.de>
7898
7899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7900 definitions and declarations that are provided by
7901 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7902
7903 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7904
7905 [BZ #14683]
7906 * elf/Makefile (tests-static): Add tst-leaks1-static.
7907 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7908 ($(objpfx)tst-leaks1-static): New rule.
7909 ($(objpfx)tst-leaks1-static-mem): Likewise.
7910 (tst-leaks1-static-ENV): New macro.
7911 * elf/dl-open.c (dl_open_worker): Check the main application
7912 only if SHARED is defined.
7913 * elf/tst-leaks1-static.c: New file.
7914
7915 2012-10-20 Andreas Jaeger <aj@suse.de>
7916
7917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7918 generic values for Linux.
7919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7920 and declarations that are provided by <bits/fcntl-linux.h> and
7921 include <bits/fcntl-linux.h>.
7922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7924
7925 2012-10-20 Roland McGrath <roland@hack.frob.com>
7926
7927 * io/fcntl.h: Move include of <bits/types.h> to the top and
7928 include it unconditionally.
7929
7930 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7931
7932 * wcsmbs/Makefile (tests-ifunc): New variable.
7933 (tests): Add $(tests-ifunc).
7934 * wcsmbs/test-wcschr-ifunc.c: New file.
7935 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7936 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7937 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7938 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7939 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7940
7941 * string/Makefile (tests-ifunc): New variable.
7942 (tests): Add $(tests-ifunc).
7943 * string/test-memccpy.c (TEST_NAME): New macro.
7944 * string/test-memchr.c (TEST_NAME): Likewise.
7945 * string/test-memcmp.c (TEST_NAME): Likewise.
7946 * string/test-memcpy.c (TEST_NAME): Likewise.
7947 * string/test-memmem.c (TEST_NAME): Likewise.
7948 * string/test-memmove.c (TEST_NAME): Likewise.
7949 * string/test-memset.c (TEST_NAME): Likewise.
7950 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7951 * string/test-stpcpy.c (TEST_NAME): Likewise.
7952 * string/test-stpncpy.c (TEST_NAME): Likewise.
7953 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7954 * string/test-strcasestr.c (TEST_NAME): Likewise.
7955 * string/test-strcat.c (TEST_NAME): Likewise.
7956 * string/test-strchr.c (TEST_NAME): Likewise.
7957 * string/test-strcmp.c(TEST_NAME): Likewise.
7958 * string/test-strcpy.c (TEST_NAME): Likewise.
7959 * string/test-strcspn.c (TEST_NAME): Likewise.
7960 * string/test-strlen.c (TEST_NAME): Likewise.
7961 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7962 * string/test-strncmp.c (TEST_NAME): Likewise.
7963 * string/test-strncpy.c (TEST_NAME): Likewise.
7964 * string/test-strnlen.c (TEST_NAME): Likewise.
7965 * string/test-strpbrk.c (TEST_NAME): Likewise.
7966 * string/test-strrchr.c (TEST_NAME): Likewise.
7967 * string/test-strspn.c (TEST_NAME): Likewise.
7968 * string/test-strstr.c (TEST_NAME): Likewise.
7969 * string/test-bcopy-ifunc.c: New file.
7970 * string/test-bzero-ifunc.c: Likewise.
7971 * string/test-memccpy-ifunc.c: Likewise.
7972 * string/test-memchr-ifunc.c: Likewise.
7973 * string/test-memcmp-ifunc.c: Likewise.
7974 * string/test-memcpy-ifunc.c: Likewise.
7975 * string/test-memmem-ifunc.c: Likewise.
7976 * string/test-memmove-ifunc.c: Likewise.
7977 * string/test-mempcpy-ifunc.c: Likewise.
7978 * string/test-memset-ifunc.c: Likewise.
7979 * string/test-rawmemchr-ifunc.c: Likewise.
7980 * string/test-stpcpy-ifunc.c: Likewise.
7981 * string/test-stpncpy-ifunc.c: Likewise.
7982 * string/test-strcasecmp-ifunc.c: Likewise.
7983 * string/test-strcasestr-ifunc.c: Likewise.
7984 * string/test-strcat-ifunc.c: Likewise.
7985 * string/test-strchr-ifunc.c: Likewise.
7986 * string/test-strchrnul-ifunc.c: Likewise.
7987 * string/test-strcmp-ifunc.c: Likewise.
7988 * string/test-strcpy-ifunc.c: Likewise.
7989 * string/test-strcspn-ifunc.c: Likewise.
7990 * string/test-strlen-ifunc.c: Likewise.
7991 * string/test-strncasecmp-ifunc.c: Likewise.
7992 * string/test-strncat-ifunc.c: Likewise.
7993 * string/test-strncmp-ifunc.c: Likewise.
7994 * string/test-strncpy-ifunc.c: Likewise.
7995 * string/test-strnlen-ifunc.c: Likewise.
7996 * string/test-strpbrk-ifunc.c: Likewise.
7997 * string/test-strrchr-ifunc.c: Likewise.
7998 * string/test-strspn-ifunc.c: Likewise.
7999 * string/test-strstr-ifunc.c: Likewise.
8000
8001 * debug/Makefile (tests-ifunc): New variable.
8002 (tests): Add $(tests-ifunc).
8003 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8004 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8005 * debug/test-stpcpy_chk-ifunc.c: New file.
8006 * debug/test-strcpy_chk-ifunc.c: Likewise.
8007
8008 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8009
8010 [BZ #13601]
8011 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8012 header is not read in.
8013
8014 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8015
8016 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8017 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8018 directly. Pass built executable to script as
8019 $(built-program-cmd).
8020 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8021 $testprogram without using LD_LIBRARY_PATH and $ldso.
8022
8023 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8024 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8025 $(rtld-installed-name).
8026 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8027 (rtld_installed_name): Likewise.
8028 (library_path): Likewise.
8029 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8030 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8031 $(run-program-prefix) to tst-tables.sh.
8032 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8033 it to run tst-table-from and tst-table-to.
8034 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8035 Pass it to tst-table.sh.
8036 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8037 $(run-program-prefix) to tst-gettext.sh.
8038 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8039 tst-translit.sh.
8040 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8041 tst-gettext2.sh.
8042 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8043 to run tst-gettext.
8044 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8045 to run tst-gettext2.
8046 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8047 to run tst-translit.
8048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8049 $(run-program-prefix) to tst-mtrace.sh.
8050 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8051 to run tst-mtrace.
8052 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8053 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8054 $(rtld-installed-name).
8055 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8056 (rtld_installed_name): Likewise.
8057 (run_program_prefix): New variable. Use it to run wordexp-test.
8058
8059 * Makeconfig (ARCH): Remove all definitions.
8060 (machine): Likewise.
8061 [ARCH]: Remove conditional code.
8062 [!objdir]: Give error.
8063 [!objdir] (objpfx): Remove.
8064 [!objdir] (common-objpfx): Likewise.
8065 [!objdir] (common-objdir): Likewise.
8066 * configure.in (config_makefile): Remove. Hardcode Makefile in
8067 AC_CONFIG_FILES call.
8068 * configure: Regenerated.
8069
8070 [BZ #13888]
8071 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8072 or TMPDIR.
8073 (testout): Likewise.
8074
8075 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8076 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8077 $(rtld-installed-name).
8078 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8079 (rtld_installed_name): Likwise.
8080 (runit): Remove function.
8081 (run_getconf): New variable, Use it for running getconf binary.
8082
8083 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 [BZ #14716]
8086 * string/test-memmem.c (check_result): New function.
8087 (do_one_test): Use it.
8088 (check1): New function.
8089 (test_main): Use it.
8090
8091 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8092
8093 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8094
8095 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8096
8097 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8098 (_G_LSEEK64): Likewise.
8099 (_G_MMAP64): Likewise.
8100 (_G_FSTAT64): Likewise.
8101 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8102 (_G_LSEEK64): Likewise.
8103 (_G_MMAP64): Likewise.
8104 (_G_FSTAT64): Likewise.
8105 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8106 unconditional. Call __mmap64 directly.
8107 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8108 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8109 __lseek64 directly.
8110 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8111 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8112 __mmap64 directly.
8113 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8114 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8115 __lseek64 directly.
8116 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8117 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8118 __lseek64 directly.
8119 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8120 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8121 __lseek64 directly.
8122 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8123 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8124 __fxstat64 directly.
8125 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8126 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8127 unconditional.
8128 (freopen64) [!_G_OPEN64]: Remove conditional code.
8129 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8130 unconditional.
8131 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8132 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8133 unconditional.
8134 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8135 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8136 unconditional.
8137 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8138 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8139 unconditional.
8140 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8141 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8142 unconditional.
8143 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8144 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8145 unconditional.
8146 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8147 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8148 unconditional.
8149 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8150
8151 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8152
8153 [BZ #12140]
8154 * manual/memory.texi (Malloc Tunable Parameters): Add note
8155 about free list pointers overwriting some perturb bytes.
8156 Wording suggested by Roland McGrath.
8157
8158 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8159
8160 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8161 (lgamma_test): Likewise.
8162 (tgamma_test): Likewise.
8163
8164 2012-10-16 Florian Weimer <fweimer@redhat.com>
8165
8166 [BZ #14700]
8167 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8168 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8169
8170 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8171
8172 * NEWS: Mention BZ #14716.
8173 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8174 when removing AVAILABLE1_USES_J macro.
8175
8176 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8179 (__bswap_64): __uint64_t for unsigned 64-bit int.
8180
8181 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8182
8183 * include/string.h (memmem): Declare libc hidden alias.
8184 * string/memmem.c (memmem): Define libc hidden alias.
8185 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8186 __read, __close instead of open, read, close.
8187
8188 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8189
8190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8191 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8192 global and hidden.
8193 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8194 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8195 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8196 Likewise.
8197 (__rawmemchr_sse2): Likewise.
8198 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8199 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8200 (__strchr_sse2): Likewise.
8201 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8202 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8203 (__strcasecmp_sse2): Likewise.
8204 (__strncasecmp_sse2): Likewise.
8205 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8206 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8207 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8208 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8209 (__strrchr_sse2): Likewise.
8210 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8211 ifunc-impl-list.c.
8212 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8213 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8214 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8215 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8216 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8217 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8220 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8221 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8222 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8224 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8225 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8226 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8227 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8228 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8229 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8230 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8231 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8232 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8233 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8234 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8235 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8236 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8237 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8238 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8239 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8240 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8241 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8242
8243 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8244 global and hidden.
8245 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8246 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8247 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8248 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8249 Likewise.
8250 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8251 Likewise.
8252 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8253 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8254 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8255 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8256 ifunc-impl-list.c.
8257 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8258 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8259 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8266 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8267 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8268 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8269 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8270 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8271 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8273 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8274 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8275 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8276 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8278 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8279 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8289 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8291 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8298
8299 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8300 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8301 * include/ifunc-impl-list.h: New file.
8302 * misc/ifunc-impl-list.c: Likewise.
8303 * misc/Makefile (routines): Add ifunc-impl-list.
8304 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8305 * string/test-string.h: Include <ifunc-impl-list.h>.
8306 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8307 impl_array): New variables.
8308 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8309 are defined.
8310 (test_init): Call __libc_ifunc_impl_list to initialize
8311 func_list if TEST_IFUNC and TEST_NAME are defined.
8312
8313 * string/Makefile (strop-tests): Add bcopy and bzero.
8314 * string/test-bcopy.c: New file.
8315 * string/test-bzero.c: Likewise.
8316 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8317 defined.
8318 * string/test-memset.c: Support bzero test if TEST_BZERO is
8319 defined.
8320 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8321 __libc_memmove.
8322 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8323 __libc_memset.
8324 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8325 of memset.
8326
8327 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8328
8329 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8330 * configure: Regenerated.
8331
8332 * Makeconfig (+link-static-before-libc): Don't include
8333 $(link-static-libc).
8334
8335 * libio/libio.h (_IO_pos_t): Remove.
8336
8337 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8338
8339 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8340 McGrath.
8341
8342 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8343
8344 * crypt/crypt-entry.c: Include fips-private.h.
8345 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8346 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8347 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8348 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8349
8350 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8351
8352 * crypt/crypt-private.h: Include stdbool.h.
8353 (_ufc_setup_salt_r): Return bool.
8354 * crypt/crypt-entry.c: Include errno.h.
8355 (__crypt_r): Return NULL with EINVAL for bad salt.
8356 * crypt/crypt_util.c (bad_for_salt): New.
8357 (_ufc_setup_salt_r): Check that salt is long enough and within
8358 the specified alphabet.
8359 * crypt/badsalttest.c: New file.
8360 * crypt/Makefile (tests): Add it.
8361 ($(objpfx)badsalttest): New.
8362
8363 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8364
8365 * NEWS: Add entry for BZ #14602.
8366
8367 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8368
8369 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8370 type-generic.
8371 * math/libm-test.inc: Update comment listing what functions and
8372 macros are tested.
8373 (isgreater_test): New function.
8374 (isgreaterequal_test): Likewise.
8375 (isless_test): Likewise.
8376 (islessequal_test): Likewise.
8377 (islessgreater_test): Likewise.
8378 (isunordered_test): Likewise.
8379 (main): Call the new functions.
8380
8381 2012-10-09 Roland McGrath <roland@hack.frob.com>
8382
8383 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8384 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8385 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8386 * sysdeps/i386/configure: Regenerated.
8387 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8388 * sysdeps/mach/configure: Regenerated.
8389 * sysdeps/mach/hurd/configure: Regenerated.
8390 * sysdeps/powerpc/configure: Regenerated.
8391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8393 * sysdeps/s390/s390-32/configure: Regenerated.
8394 * sysdeps/s390/s390-64/configure: Regenerated.
8395 * sysdeps/sh/configure: Regenerated.
8396 * sysdeps/sparc/configure: Regenerated.
8397 * sysdeps/unix/sysv/linux/configure: Regenerated.
8398 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8399 * sysdeps/x86_64/configure: Regenerated.
8400
8401 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8402 defined. Don't check if MAP is NULL.
8403
8404 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8405
8406 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8407 (_G_stat64): Likewise.
8408 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8409 (_G_stat64): Likewise.
8410 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8411 instead of struct _G_stat64.
8412 * libio/fileops.c (mmap_remap_check): Likewise.
8413 (decide_maybe_mmap): Likewise.
8414 (_IO_new_file_seekoff): Likewise.
8415 (_IO_file_stat): Likewise.
8416 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8417 _G_off64_t.
8418 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8419 instead of struct _G_stat64.
8420 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8421
8422 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8423
8424 [BZ #14602]
8425 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8426 Replace with ...
8427 (CHECK_EOL): New macro.
8428 (two_way_short_needle): Check beginning of haystack for EOL. Use
8429 CHECK_EOL.
8430 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8431 Replace with CHECK_EOL.
8432 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8433 Replace with CHECK_EOL.
8434
8435 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8436
8437 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8438 type-generic.
8439 * math/libm-test.inc: Update comment listing what functions and
8440 macros are tested.
8441 (finite_test): New function.
8442 (isinf_test): Likewise.
8443 (isnan_test): Likewise.
8444 (fpclassify_test): Test subnormal input.
8445 (isfinite_test): Likewise.
8446 (isnormal_test): Likewise.
8447 (main): Call the new functions.
8448
8449 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8450
8451 [BZ #14660]
8452 * Makerules (%.dynsym): Force C locale when running
8453 $(OBJDUMP) --dynamic-syms.
8454
8455 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8456
8457 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8458 <stdint.h>.
8459
8460 2012-10-06 David S. Miller <davem@davemloft.net>
8461
8462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8463 upper 32-bits of the length value in %o2 since we use branch-on-register
8464 tests which consider the entire 64-bit register.
8465
8466 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8467
8468 * string/test-strstr.c (check2): Add a test for page boundary.
8469
8470 2012-10-05 David S. Miller <davem@davemloft.net>
8471
8472 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8474 file.
8475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8476 sysdep_routines.
8477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8478 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8479 and bzero when HWCAP_SPARC_CRYPTO is present.
8480
8481 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8482
8483 [BZ #14602]
8484 * string/test-strstr.c (check2): New function.
8485 (test_main): Call check2.
8486
8487 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8488 and bug-strchr1.
8489 * string/bug-strcasestr1.c (do_test): Moved to ...
8490 * string/test-strcasestr.c (check1): Here. New function.
8491 (do_one_test): Break out result checking code into ...
8492 (check_result): This. New function.
8493 (do_one_test): Call check_result.
8494 (test_main): Call check1.
8495 * string/bug-strchr1.c (do_test): Moved to ...
8496 * string/test-strchr.c (check1): Here. New function.
8497 (do_one_test): Break out result checking code into ...
8498 (check_result): This. New function.
8499 (do_one_test): Call check_result.
8500 (test_main): Call check1.
8501 * string/bug-strstr1.c (main): Moved to ...
8502 * string/test-strstr.c (check1): Here. New function.
8503 (do_one_test): Break out result checking code into ...
8504 (check_result): This. New function.
8505 (do_one_test): Call check_result.
8506 (test_main): Call check1.
8507 * string/bug-strcasestr1.c: Removed.
8508 * string/bug-strchr1.c: Likewise.
8509 * string/bug-strstr1.c: Likewise.
8510
8511 * elf/Makefile (dl-routines): Add hwcaps.
8512 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8513 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8514 (_dl_important_hwcaps): Moved to ...
8515 * elf/dl-hwcaps.c: Here. New file.
8516 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8517
8518 [BZ #14557]
8519 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8520 if IS_IN_rtld isn't defined.
8521
8522 * elf/dl-support.c (_dl_sysinfo_map): New.
8523 Include "get-dynamic-info.h" and "setup-vdso.h".
8524 (_dl_non_dynamic_init): Call setup_vdso.
8525 * elf/dynamic-link.h: Don't include <assert.h>.
8526 (elf_get_dynamic_info): Moved to ...
8527 * elf/get-dynamic-info.h: Here. New file.
8528 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8529 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8530 * elf/setup-vdso.h: Here. New file.
8531 * elf/rtld.c: Include "setup-vdso.h".
8532 (dl_main): Call setup_vdso.
8533
8534 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8535
8536 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8537 creal in comment listing functions tested. List finite, isinf,
8538 isnan, isless, islessequal, isgreater, isgreaterequal,
8539 islessgreater, isunordered, lgamma_r and pow10 as functions and
8540 macros not tested. Mention which functions not tested are aliases
8541 for other functions. Fix typo. Note that signs of NaNs are not
8542 tested.
8543
8544 * scripts/config.guess: Update from config.git.
8545 * scripts/config.sub: Likewise.
8546
8547 2012-10-04 Roland McGrath <roland@hack.frob.com>
8548
8549 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8550 * misc/madvise.c (madvise): Renamed to __madvise.
8551 Make madvise a weak alias.
8552 * include/sys/mman.h: Declare __madvise.
8553 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8554 * sysdeps/unix/syscalls.list
8555 (madvise): Make __madvise the strong name, and madvise a weak alias.
8556 * sysdeps/unix/sysv/linux/syscalls.list
8557 (madvise, mmap): Remove redundant entries.
8558 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8559 * malloc/malloc.c (mtrim): Likewise.
8560 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8561
8562 2012-10-03 Roland McGrath <roland@hack.frob.com>
8563
8564 * sysdeps/mach/hurd/dl-cache.c: File removed.
8565 * config.h.in (USE_LDCONFIG): New #undef.
8566 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8567 * configure: Regenerated.
8568 * elf/Makefile (dl-routines): Add dl-cache only under
8569 [$(use-ldconfig) = yes].
8570 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8571 cache on [USE_LDCONFIG].
8572 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8573 [USE_LDCONFIG].
8574 * elf/rtld.c (dl_main): Likewise.
8575
8576 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8577
8578 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8579 _SC_LEVEL4_CACHE_LINESIZE.
8580
8581 2012-10-03 Roland McGrath <roland@hack.frob.com>
8582
8583 * sysdeps/unix/bsd/confstr.h: File removed.
8584
8585 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8586
8587 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8588 sys/sdt-config.h.
8589
8590 2012-10-02 Roland McGrath <roland@hack.frob.com>
8591
8592 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8593 Make 'mapoff' field ElfW(Off) rather than off_t.
8594
8595 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8596
8597 * nscd/Makefile: Remove nscd-cflags and all its users.
8598 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8599 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8600
8601 [BZ #10631]
8602 * malloc.c (malloc_printerr): Clarify error message.
8603
8604 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 [BZ #14648]
8607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8608 Set bit_FMA_Usable if FMA is supported.
8609 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8610 macro.
8611 (bit_FMA4_Usable): Updated.
8612 (index_FMA_Usable): New macro.
8613 (CPUID_FMA): Likewise
8614 (HAS_FMA): Defined with bit_FMA_Usable.
8615
8616 2012-10-01 Roland McGrath <roland@hack.frob.com>
8617
8618 * bits/types.h (__swblk_t): Type removed.
8619 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8620 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8622 (__SWBLK_T_TYPE): Likewise.
8623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8624 (__SWBLK_T_TYPE): Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8626 (__SWBLK_T_TYPE): Likewise.
8627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8628 (__SWBLK_T_TYPE): Likewise.
8629
8630 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8631 Honza Horak <hhorak@redhat.com>
8632
8633 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8634 (xdr_mapname): Use YPMAXMAP as maxsize.
8635 (xdr_peername): Use YPMAXPEER as maxsize.
8636 (xdr_keydat): Use YPAXRECORD as maxsize.
8637 (xdr_valdat): Use YPMAXRECORD as maxsize.
8638
8639 2012-10-01 Roland McGrath <roland@hack.frob.com>
8640
8641 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8642
8643 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8644 * csu/init-first.c: ... here.
8645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8646 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8648 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8649 * sysdeps/i386/init-first.c: File removed.
8650 * sysdeps/sh/init-first.c: File removed.
8651
8652 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8653
8654 [BZ #14645]
8655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8656 if x * y might underflow to zero and z is zero.
8657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8659 * math/libm-test.inc (min_subnorm_value): New variable.
8660 (fma_test): Add more tests.
8661 (fma_test_towardzero): Likewise.
8662 (fma_test_downward): Likewise
8663 (fma_test_upward): Likewise.
8664 (initialize): Set min_subnorm_value.
8665
8666 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8667
8668 [BZ #14638]
8669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8670 0 + 0.
8671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8672 mode for addition resulting in exact zero.
8673 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8675 exact 0 + 0.
8676 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8678 * math/libm-test.inc (fma_test): Add more tests.
8679 (fma_test_towardzero): New function.
8680 (fma_test_downward): Likewise.
8681 (fma_test_upward): Likewise.
8682 (main): Call the new functions.
8683
8684 2012-09-28 David S. Miller <davem@davemloft.net>
8685
8686 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8687
8688 2012-09-28 Roland McGrath <roland@hack.frob.com>
8689
8690 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8691 instead of SIGALRM.
8692
8693 * sysdeps/gnu/_G_config.h: Moved to ...
8694 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8695 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8696 * sysdeps/generic/_G_config.h: ... here.
8697
8698 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8699
8700 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8701
8702 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8703 Conditionalize target on [libnss_test1.so-version].
8704
8705 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8706
8707 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8708 (elfobjdir): Move out of conditionals.
8709
8710 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8711 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8712 (__nss_lookup_function): Conditionalize label remove_from_tree on
8713 [!DO_STATIC_NSS || SHARED], matching its only use.
8714
8715 2012-09-28 David S. Miller <davem@davemloft.net>
8716
8717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8719 file.
8720 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8721 sysdep_routines.
8722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8724 when HWCAP_SPARC_CRYPTO is present.
8725
8726 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8727
8728 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8729
8730 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8731
8732 [BZ #6530]
8733 * stdio-common/vfprintf.c (process_string_arg): Revert
8734 2000-07-22 change.
8735
8736 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8737
8738 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8739 for testcase.
8740 * stdio-common/tst-sprintf.c: Include <locale.h>
8741 (main): Test sprintf's handling of incomplete multibyte
8742 characters.
8743
8744 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * elf/dl-runtime.c (VERSYMIDX): Removed.
8747 * elf/dl-version.c (VERSYMIDX): Likewise.
8748 * elf/do-rel.h (VERSYMIDX): Likewise.
8749 (VALIDX): Likewise.
8750 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8751 * elf/rtld.c (VALIDX): Likewise.
8752 (ADDRIDX): Likewise.
8753 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8754 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8755 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8756 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8757 (VALIDX): Likewise.
8758 (ADDRIDX): Likewise.
8759
8760 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8761
8762 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8763
8764 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8765
8766 [BZ #11438]
8767 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8768 to global scope.
8769 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8770 addresses are in the same scope as 192.0.2/24.
8771 * posix/gai.conf: Document new scope table defaults.
8772
8773 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8774
8775 [BZ #5298]
8776 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8777 for ftell. Compute offsets from write pointers instead.
8778 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8779
8780 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8781
8782 [BZ #14543]
8783 * libio/Makefile (tests): New test case tst-fseek.
8784 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8785 combination works in wide mode.
8786 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8787 state when the external buffer state changes.
8788
8789 2012-09-27 David S. Miller <davem@davemloft.net>
8790
8791 [BZ #14376]
8792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8793 pass reloc->r_addend in as the 'high' argument to
8794 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8795
8796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8797
8798 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8799
8800 * rt/tst-aio2.c: Include <pthread.h>.
8801 * rt/tst-aio3.c: Likewise.
8802
8803 2012-09-27 Steve Ellcey <sellcey@mips.com>
8804
8805 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8806
8807 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8810 contents on [SHARED].
8811
8812 2012-09-26 Marek Polacek <polacek@redhat.com>
8813
8814 [BZ #14530]
8815 [BZ #13741]
8816 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8817 for C++ and GCC <4.3 as well as for non GCC compilers.
8818
8819 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8820
8821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8822
8823 2012-09-25 Roland McGrath <roland@hack.frob.com>
8824
8825 * Makefile.in (all, install): Declare with .PHONY.
8826 Reported by Michael Hope <michael.hope@linaro.org>.
8827
8828 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8829
8830 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8831 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8832 system header.
8833 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8834 Likewise.
8835 (sydep_routines): Add the new and the internal functions.
8836 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8837 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8839 (GLIBC_2.17): Add the new function.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8841 (GLIBC_2.17): Likewise.
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8843 (GLIBC_2.17): Likewise.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8845 (GLIBC_2.17): Likewise.
8846 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8847
8848 2012-09-25 Alan Modra <amodra@gmail.com>
8849
8850 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8851 Add release barrier before setting once_control to say
8852 initialisation is done. Add hints on lwarx. Use macro in
8853 place of isync.
8854 (clear_once_control): Add release barrier.
8855
8856 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8857
8858 [BZ #13629]
8859 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8860 specially.
8861 * math/s_clog10.c (__clog10): Likewise.
8862 * math/s_clog10f.c (__clog10f): Likewise.
8863 * math/s_clog10l.c (__clog10l): Likewise.
8864 * math/s_clogf.c (__clogf): Likewise.
8865 * math/s_clogl.c (__clogl): Likewise.
8866 * math/Makefile (libm-calls): Add x2y2m1.
8867 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8868 (__x2y2m1): Likewise.
8869 (__x2y2m1l): Likewise.
8870 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8871 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8876 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8877 * sysdeps/i386/fpu/libm-test-ulps: Update.
8878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8879
8880 [BZ #14621]
8881 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8882 int as type of variable DEPTH.
8883 (glob): Use size_t instead of int as type of variables NEWCOUNT
8884 and OLD_PATHC.
8885
8886 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8887
8888 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8889 Add s_sincosf-sse2.
8890 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8891 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8892 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8893 macros for using routine as __sincosf_ia32.
8894 Use macro for function declaration and weak_alias.
8895 * sysdeps/i386/fpu/libm-test-ulps: Update.
8896
8897 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8899
8900 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8901 subnormal argument.
8902 * math/s_cexpf.c (__cexpf): Likewise.
8903 * math/s_csinf.c (__csinf): Likewise.
8904 * math/s_csinhf.c (__csinhf): Likewise.
8905 * math/s_ctanf.c (__ctanf): Likewise.
8906 * math/s_ctanhf.c (__ctanhf): Likewise.
8907 * math/s_ccosh.c (__ccoshf): Likewise.
8908 * math/s_cexp.c (__cexpl): Likewise.
8909 * math/s_csin.c (__csin): Likewise.
8910 * math/s_csinh.c (__csinh): Likewise.
8911 * math/s_ctan.c (__ctan): Likewise.
8912 * math/s_ctanh.c (ctanh): Likewise.
8913 * math/s_ccoshl.c (__ccoshl): Likewise.
8914 * math/s_cexpl.c (__cexpl): Likewise.
8915 * math/s_csinl.c (__csinl): Likewise.
8916 * math/s_csinhl.c (__csinhl): Likewise.
8917 * math/s_ctanl.c (__ctanl): Likewise.
8918 * math/s_ctanhl.c (__ctanhl): Likewise.
8919
8920 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8921
8922 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8923 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8924 (_IO_off_t): Define to __off_t, not _G_off_t.
8925 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8926 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8927 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8928 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8929 type of __dummy and __dummy2 fields.
8930 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8931 (_G_ssize_t): Likewise.
8932 (_G_off_t): Likewise.
8933 (_G_pid_t): Likewise.
8934 (_G_uid_t): Likewise.
8935 (_G_wchar_t): Likewise.
8936 (_G_wint_t): Likewise.
8937 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8938 (_G_ssize_t): Likewise.
8939 (_G_off_t): Likewise.
8940 (_G_pid_t): Likewise.
8941 (_G_uid_t): Likewise.
8942 (_G_wchar_t): Likewise.
8943 (_G_wint_t): Likewise.
8944 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8945 (_G_ssize_t): Likewise.
8946 (_G_off_t): Likewise.
8947 (_G_pid_t): Likewise.
8948 (_G_uid_t): Likewise.
8949 (_G_wchar_t): Likewise.
8950 (_G_wint_t): Likewise.
8951
8952 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8953
8954 * malloc/arena.c: Include malloc-sysdep.h.
8955 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8956 is sufficient to shrink the heap or an unmap is needed.
8957 * sysdeps/generic/malloc-sysdep.h: New file. Define
8958 new function check_may_shrink_heap.
8959 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8960 new function check_may_shrink_heap.
8961
8962 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8963
8964 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8965 comments.
8966
8967 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8968
8969 * catgets/test-gencat.sh: Add "set -e".
8970 * elf/tst-pathopt.sh: Likewise.
8971 * grp/tst_fgetgrent.sh: Likewise.
8972 * iconvdata/run-iconv-test.sh: Likewise.
8973 * intl/tst-gettext.sh: Likewise.
8974 * intl/tst-gettext2.sh: Likewise.
8975 * intl/tst-gettext4.sh: Likewise.
8976 * intl/tst-gettext6.sh: Likewise.
8977 * intl/tst-translit.sh: Likewise.
8978 * io/ftwtest-sh: Likewise.
8979 * libio/test-freopen.sh: Likewise.
8980 * malloc/tst-mtrace.sh: Likewise.
8981 * posix/globtest.sh: Likewise.
8982 * posix/tst-getconf.sh: Likewise.
8983 * posix/wordexp-tst.sh: Likewise.
8984 * stdio-common/tst-printf.sh: Likewise.
8985 * stdio-common/tst-unbputc.sh: Likewise.
8986 * stdlib/tst-fmtmsg.sh: Likewise.
8987 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8988 * catgets/Makefile: Do not specify -e option when running
8989 testsuite shell scripts.
8990 * elf/Makefile: Likewise.
8991 * grp/Makefile: Likewise.
8992 * iconvdata/Makefile: Likewise.
8993 * intl/Makefile: Likewise.
8994 * io/Makefile: Likewise.
8995 * libio/Makefile: Likewise.
8996 * malloc/Makefile: Likewise.
8997 * posix/Makefile: Likewise.
8998 * stdio-common/Makefile: Likewise.
8999 * stdlib/Makefile: Likewise.
9000 * sysdeps/x86_64/Makefile: Likewise.
9001
9002 * io/ftwtest-sh: Add copyright header.
9003 * posix/globtest.sh: Likewise.
9004 * posix/tst-getconf.sh: Likewise.
9005 * posix/wordexp-tst.sh: Likewise.
9006 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9007
9008 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 [BZ #13679]
9011 * Makeconfig (+link): Defined as $(+link-static) if
9012 $(build-shared) isn't yes.
9013 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9014 isn't yes.
9015 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9016
9017 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9018
9019 [BZ #14562]
9020 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9021 new chunk size with MALLOC_ALIGN_MASK.
9022
9023 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9024
9025 [BZ #5044]
9026 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9027 <rounding-mode.h>.
9028 (__printf_fphex): Determine rounding using get_rounding_mode and
9029 round_away.
9030 * stdio-common/tst-printf-round.c (struct hex_test): New
9031 structure.
9032 (hex_tests): New variable.
9033 (test_hex_in_one_mode): New function.
9034 (do_test): Also run tests for hex float output.
9035
9036 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9037
9038 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9040 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9041 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9042 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9043 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9044 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9046
9047 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9048
9049 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9050 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9051 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9052 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9053
9054 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9055
9056 [BZ #14579]
9057 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9058 mode only.
9059 * elf/tst-rtld-load-self.sh: New test.
9060 * elf/Makefile: Run it.
9061
9062 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9063
9064 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9065 (tst-writev-ENV): Remove.
9066 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9067
9068 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9069
9070 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9071
9072 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9073
9074 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9075 unconditional.
9076 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9077 Likewise.
9078 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9079 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9080 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9081 Likewise.
9082
9083 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 [BZ #14587]
9086 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9087 * config.make.in (have-cpp-asm-debuginfo): Removed.
9088 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9089 * configure: Regenerated.
9090
9091 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9092
9093 [BZ #5044]
9094 * stdio-common/printf_fp.c: Include <stdbool.h> and
9095 <rounding-mode.h>.
9096 (___printf_fp): Determine rounding using get_rounding_mode and
9097 round_away.
9098 * stdio-common/tst-printf-round.c: New file.
9099 * stdio-common/Makefile (tests): Add tst-printf-round.
9100 (link-libm): New variable.
9101 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9102
9103 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 [BZ #14576]
9106 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9107 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9108 Likewise.
9109 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9110 Likewise.
9111
9112 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9113
9114 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9115 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9116 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9117 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9118
9119 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9120
9121 [BZ #14518]
9122 * include/rounding-mode.h: New file.
9123 * sysdeps/generic/get-rounding-mode.h: Likewise.
9124 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9125 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9126 (MAX_VALUE): New macro.
9127 (MIN_VALUE): Likewise.
9128 (overflow_value): New function.
9129 (underflow_value): Likewise.
9130 (round_and_return): Use overflow_value and underflow_value to
9131 determine return values in overflow and underflow cases. Use
9132 round_away to determine rounding depending on rounding mode.
9133 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9134 determine return values in overflow and underflow cases.
9135 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9136 (struct test_results): New structure.
9137 (struct test): Use struct test_results to store expected results
9138 for all rounding modes.
9139 (TEST): Include expected results for all rounding modes.
9140 (test_in_one_mode): New function.
9141 (do_test): Use test_in_one_mode to compute and check results.
9142 Check results for all rounding modes.
9143 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9144 $(link-libm).
9145
9146 2012-12-09 Allan McRae <allan@archlinux.org>
9147
9148 * sysdeps/i386/fpu/libm-test-ulps: Update
9149
9150 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9151
9152 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9153 (_G_int32_t): Likewise.
9154 (_G_uint16_t): Likewise.
9155 (_G_uint32_t): Likewise.
9156 (_G_HAVE_BOOL): Likewise.
9157 (_G_HAVE_ATEXIT): Likewise.
9158 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9159 (_G_HAVE_IO_FILE_OPEN): Likewise.
9160 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9161 (_G_int32_t): Likewise.
9162 (_G_uint16_t): Likewise.
9163 (_G_uint32_t): Likewise.
9164 (_G_HAVE_BOOL): Likewise.
9165 (_G_HAVE_ATEXIT): Likewise.
9166 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9167 (_G_HAVE_IO_FILE_OPEN): Likewise.
9168 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9169 (_G_int32_t): Likewise.
9170 (_G_uint16_t): Likewise.
9171 (_G_uint32_t): Likewise.
9172 (_G_HAVE_BOOL): Likewise.
9173 (_G_HAVE_ATEXIT): Likewise.
9174 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9175 (_G_HAVE_IO_FILE_OPEN): Likewise.
9176
9177 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9178
9179 * csu/libc-tls.c: Update copyright years.
9180
9181 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9182
9183 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9184 [!_G_USING_THUNKS]: Remove conditional code.
9185 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9186 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9187
9188 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9189 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9190 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9191 (_G_VTABLE_LABEL_PREFIX): Likewise.
9192 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9193 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9195 (_G_VTABLE_LABEL_PREFIX): Likewise.
9196 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9197 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9199 (_G_VTABLE_LABEL_PREFIX): Likewise.
9200 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9201
9202 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9203
9204 * libio/Makefile: Include ../Makeconfig before tests.
9205 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9206 only if $(build-shared) is yes.
9207
9208 * iconv/gconv_db.c: Update copyright years.
9209
9210 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9211
9212 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9213 unwind info if defined PIC. Fix special cases description.
9214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9215
9216 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9217 DP_HI_MASK entry.
9218 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9219
9220 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9221
9222 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9223
9224 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9225 is NULL.
9226
9227 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9228 (LDLIBS-tst-chk4): This.
9229 (LDFLAGS-tst-chk5): Renamed to ...
9230 (LDLIBS-tst-chk5): This.
9231 (LDFLAGS-tst-chk6): Renamed to ...
9232 (LDLIBS-tst-chk6): This.
9233 (LDFLAGS-tst-lfschk4): Renamed to ...
9234 (LDLIBS-tst-lfschk4): This.
9235 (LDFLAGS-tst-lfschk5): Renamed to ...
9236 (LDLIBS-tst-lfschk5): This.
9237 (LDFLAGS-tst-lfschk6): Renamed to ...
9238 (LDLIBS-tst-lfschk6): This.
9239
9240 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9241 on $(common-objpfx)soversions.mk.
9242
9243 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9244
9245 [BZ #10014]
9246 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9247 example host name.
9248
9249 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9250
9251 * malloc/arena.c (arena_get_retry): New function that gets
9252 another arena for the caller to try its request on.
9253 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9254 current arena cannot fulfill the request.
9255 (__libc_memalign): Likewise.
9256 (__libc_memalign): Likewise.
9257 (__libc_pvalloc): Likewise.
9258 (__libc_calloc): Likewise.
9259
9260 2012-09-05 John Tobey <john.tobey@gmail.com>
9261
9262 [BZ #13542]
9263 * manual/arith.texi (Operations on Complex): Fix description
9264 of carg branch cut.
9265
9266 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9267
9268 [BZ #10014]
9269 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9270 host name.
9271
9272 [BZ #10038]
9273 * manual/memory.texi (Memory): Make order of menu items match
9274 order of sections.
9275
9276 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9279 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9280 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9281
9282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9283
9284 * csu/libc-tls.c (static_dtv): Renamed to ...
9285 (_dl_static_dtv): This. Make it global.
9286 (_dl_initial_dtv): Removed.
9287 (__libc_setup_tls): Updated.
9288 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9289 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9290 DL_INITIAL_DTV.
9291
9292 2012-09-06 Petr Machata <pmachata@redhat.com>
9293
9294 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9295 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9296 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9297 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9298
9299 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9300
9301 [BZ #14545]
9302 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9303 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9304 freeing dtv[-1].
9305
9306 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 [BZ #14544]
9309 * Makeconfig (link-static-before-libc): Replace $(+prector)
9310 with $(+prectorT).
9311 (link-static-after-libc): Replace $(+postctor) with
9312 $(+postctorT).
9313 (link-bounded): Replace $(+prector)/$(+postctor) with
9314 $(+prectorT)/$(+postctorT).
9315 (+prectorT): New macro.
9316 (+postctorT): Likewise.
9317
9318 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9319
9320 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9321 (round_str): Handle values above the maximum for IBM long double
9322 as inexact.
9323 * stdlib/tst-strtod-round.c (tests): Regenerated.
9324
9325 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9326
9327 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9328 assembler flag.
9329 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9330 zarch_nohighgprs around the zarch optimized routines.
9331 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9332 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9334 for zarch.
9335
9336 2012-09-05 David S. Miller <davem@davemloft.net>
9337
9338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9339
9340 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9341 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9342 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9344 entries.
9345
9346 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9347
9348 * malloc/arena.c: Fold copyright years.
9349 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9350
9351 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9352
9353 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9354
9355 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9356
9357 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9358
9359 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9360
9361 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9362 change internal state upon failure.
9363
9364 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9365
9366 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9367 * malloc/memusage.c (mmap): Likewise.
9368 (mmap64, mremap): Likewise. Adjust name in comment.
9369
9370 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9371
9372 * libio/fileops.c: Fix typos in comments.
9373 * libio/oldfileops.c: Likewise.
9374 * libio/wfileops.c: Likewise.
9375
9376 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9377
9378 [BZ #1349]
9379 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9380 (tst-malloc-usable-ENV): Set environment for test case.
9381 * malloc/hooks.c (malloc_check_get_size): New function to get
9382 requested size.
9383 * malloc/malloc.c (musable): Use malloc_check_get_size.
9384 * malloc/tst-malloc-usable.c: New test case.
9385
9386 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9387
9388 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9389
9390 2012-09-05 Allan McRae <allan@archlinux.org>
9391
9392 [BZ #13966]
9393 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9394 determine header location.
9395 * configure: Regenerated.
9396
9397 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9400 float format.
9401 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9402 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9403 format.
9404 (test): Regenerate.
9405
9406 2012-09-04 David S. Miller <davem@davemloft.net>
9407
9408 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9409 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9411
9412 2012-09-04 Florian Weimer <fweimer@redhat.com>
9413
9414 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9415 failures.
9416
9417 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9418
9419 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9420
9421 [BZ #9914]
9422 * libio/iogetdelim.c: Include <limits.h>.
9423 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9424 + len + 1 would overflow.
9425
9426 2012-09-03 Andreas Jaeger <aj@suse.de>
9427
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9429 * sysdeps/i386/fpu/libm-test-ulps: Update.
9430
9431 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9432
9433 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9434 Add s_sinf-sse2, s_conf-sse2.
9435
9436 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9437 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9438 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9439 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9440
9441 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9442 for using routine as __sinf_ia32.
9443 Use macro for function declaration and weak_alias.
9444 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9445 for using routine as __cosf_ia32.
9446 Use macro for function declaration and weak_alias.
9447
9448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9449 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9450
9451 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9452 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9454
9455 * math/libm-test.inc (cos_test): Add more test cases.
9456 (sin_test): Likewise.
9457 (sincos_test): Likewise.
9458
9459 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9460
9461 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9462 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9463 hidden.
9464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9465
9466 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9467
9468 [BZ #14538]
9469 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9470 first element of the GOT.
9471 (elf_machine_load_address): Return the difference between
9472 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9473
9474 2012-09-01 Allan McRae <allan@archlinux.org>
9475
9476 [BZ #13412]
9477 * configure.in (AWK): Require gawk version 3.0 or later.
9478 * configure: Regenerated.
9479
9480 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9481
9482 * sysdeps/unix/sysv/linux/kernel-features.h
9483 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9485 [__NR_clock_getres]: Make code unconditional.
9486 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9487 (clock_getcpuclockid): Remove code left unreachable by removal of
9488 conditionals.
9489 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9490 code unconditional.
9491 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9492 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9493 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9494 Make code unconditional.
9495 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9496 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9497 * sysdeps/unix/sysv/linux/clock_settime.c
9498 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9499 conditional code.
9500 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9501 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9502
9503 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9504
9505 [BZ #14476]
9506 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9507 scripts/test-installation.pl.
9508
9509 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9510 and $ld_so_version if it is set.
9511
9512 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
9514 [BZ #14516]
9515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9516 failure if reading from procfs failed.
9517 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9518
9519 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9520
9521 * sysdeps/unix/sysv/linux/kernel-features.h
9522 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9523 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9524 Remove conditional code.
9525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9526 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9527 Remove conditional code.
9528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9529 * sysdeps/unix/sysv/linux/i386/fxstat.c
9530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9532 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9535 * sysdeps/unix/sysv/linux/i386/lxstat.c
9536 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9538 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9539 Remove conditional code.
9540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9541 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9542 Remove conditional code.
9543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9544 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9545 <kernel-features.h>.
9546 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9547 Remove.
9548 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9549 Remove conditional code.
9550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9551 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9552 Remove conditional.
9553
9554 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9555
9556 [BZ #5400]
9557 * NEWS: Add fixed bug number.
9558
9559 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #14519]
9562 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9563 underflowing exponent in case of negative sign.
9564 * stdlib/tst-strtod-round-data: Add more tests.
9565 * stdlib/tst-strtod-round.c (tests): Regenerated.
9566
9567 [BZ #3479]
9568 * stdlib/strtod_l.c (NDIG): Remove.
9569 (HEXNDIG): Likewise.
9570 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9571 smallest representable value.
9572 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9573 lie within an exact representation of 1/2 ulp of the result.
9574 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9575 unconditionally.
9576 (TENS_P9_IDX): Define unconditionally.
9577 (TENS_P9_SIZE): Likewise.
9578 (TENS_P10_IDX): Likewise.
9579 (TENS_P10_SIZE): Likewise.
9580 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9581 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9582 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9583 entries for 10^2^13 and 10^2^14.
9584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9585 (TENS_P13_IDX): Define.
9586 (TENS_P13_SIZE): Likewise.
9587 (TENS_P14_IDX): Likewise.
9588 (TENS_P14_SIZE): Likewise.
9589 (_fpioconst_pow10): Change array size to
9590 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9591 unconditional.
9592 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9593 1024]: Add entries for 10^2^13 and 10^2^14.
9594 [LAST_POW10 > _LAST_POW10]: Remove #error.
9595 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9596 (_fpioconst_pow10): Change array size to
9597 FPIOCONST_POW10_ARRAY_SIZE.
9598 * stdlib/gen-fpioconst.c: New file.
9599 * stdlib/gen-tst-strtod-round.c: Likewise.
9600 * stdlib/tst-strtod-round-data: Likewise.
9601 * stdlib/tst-strtod-round.c: Likewise.
9602 * stdlib/Makefile (tests): Add tst-strtod-round.
9603
9604 [BZ #14459]
9605 * stdlib/strtod_l.c: Include <stdint.h>.
9606 (NDEBUG): Do not define.
9607 (round_and_return): Change EXPONENT parameter to type intmax_t.
9608 Rearrange calculations to avoid internal overflow possibilities.
9609 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9610 Rearrange calculations to avoid internal overflow possibilities.
9611 Assert that number fits inside MPNSIZE limbs.
9612 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9613 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9614 calculations and add assertions to avoid internal overflow
9615 possibilities. Add casts to avoid signed/unsigned operations.
9616 * stdlib/tst-strtod-overflow.c: New file.
9617 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9618
9619 2012-08-25 Marek Polacek <polacek@redhat.com>
9620
9621 * time/time.h: Fix some typos in comments.
9622
9623 2012-08-23 Roland McGrath <roland@hack.frob.com>
9624
9625 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9626 * posix/tst-rfc3484-2.c: Likewise.
9627 * posix/tst-rfc3484-3.c: Likewise.
9628
9629 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9630
9631 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9632 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9633
9634 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9635
9636 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9637 #include of fxstatat64.c.
9638
9639 2012-08-22 Roland McGrath <roland@hack.frob.com>
9640
9641 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9642 * shadow/getspent_r.c: Likewise.
9643 * shadow/getspnam.c: Likewise.
9644 * shadow/getspnam_r.c: Likewise.
9645 * gshadow/getsgent.c: Likewise.
9646 * gshadow/getsgent_r.c: Likewise.
9647 * gshadow/getsgnam.c: Likewise.
9648 * gshadow/getsgnam_r.c: Likewise.
9649 * inet/getnetbyad.c: Likewise.
9650 * inet/getnetbyad_r.c: Likewise.
9651 * inet/getnetbynm.c: Likewise.
9652 * inet/getnetbynm_r.c: Likewise.
9653 * inet/getnetent.c: Likewise.
9654 * inet/getnetent_r.c: Likewise.
9655 * inet/getproto.c: Likewise.
9656 * inet/getproto_r.c: Likewise.
9657 * inet/getprtent.c: Likewise.
9658 * inet/getprtent_r.c: Likewise.
9659 * inet/getprtname.c: Likewise.
9660 * inet/getprtname_r.c: Likewise.
9661 * inet/getrpcbyname.c: Likewise.
9662 * inet/getrpcbyname_r.c: Likewise.
9663 * inet/getrpcbynumber.c: Likewise.
9664 * inet/getrpcbynumber_r.c: Likewise.
9665 * inet/getrpcent.c: Likewise.
9666 * inet/getrpcent_r.c: Likewise.
9667 * inet/getaliasent.c: Likewise.
9668 * inet/getaliasent_r.c: Likewise.
9669 * inet/getaliasname.c: Likewise.
9670 * inet/getaliasname_r.c: Likewise.
9671 * nscd/getgrgid_r.c: Likewise.
9672 * nscd/getgrnam_r.c: Likewise.
9673 * nscd/gethstbyad_r.c: Likewise.
9674 * nscd/gethstbynm3_r.c: Likewise.
9675 * nscd/getpwnam_r.c: Likewise.
9676 * nscd/getpwuid_r.c: Likewise.
9677 * nscd/getsrvbynm_r.c: Likewise.
9678 * nscd/getsrvbypt_r.c: Likewise.
9679 * nscd/gai.c: Likewise.
9680
9681 * configure.in (build_nscd): New substituted variable, set
9682 by --disable-build-nscd and defaults to $use_nscd.
9683 * configure: Regenerated.
9684 * config.make.in (build-nscd): New substituted variable.
9685 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9686 Change conditional to require [$(build-nscd) = yes] as well.
9687 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9688
9689 [BZ# 13696]
9690 * configure.in (use_nscd): New substituted variable, set by
9691 --disable-nscd. If enabled, define USE_NSCD.
9692 * configure: Regenerated.
9693 * config.h.in: Add USE_NSCD.
9694 * config.make.in (use-nscd): New substituted variable.
9695 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9696 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9697 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9698 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9699 (CFLAGS-getgrnam_r.c): Likewise.
9700 (CFLAGS-initgroups.c): Likewise.
9701 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9702 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9703 Variables removed.
9704 * inet/getnetgrent_r.c
9705 (nscd_setnetgrent): New function, broken out of ...
9706 (setnetgrent): ... here. Call it.
9707 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9708 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9709 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9710 * nscd/Makefile (routines, aux): Move definitions after include of
9711 Makeconfig. Conditionalize on [$(use-nscd) != no].
9712 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9713 Conditionalize on [USE_NSCD].
9714 (is_nscd, nscd_init_cb): Likewise.
9715 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9716 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9717 * nss/nss_db/db-init.c: Likewise.
9718 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9719 [USE_NSCD].
9720 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9721 (make_request): Use it.
9722 (cache_valid_p): New function.
9723 (__check_pf): Use it.
9724 * NEWS: Add item for --disable-nscd.
9725
9726 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9727
9728 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9729 to support sed >= 4.2.1-20-ga9bf076.
9730 * configure: Regenerated.
9731
9732 2012-08-22 Roland McGrath <roland@hack.frob.com>
9733
9734 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9735 Conditionalize whole body on [IREL].
9736
9737 2012-08-22 Jeff Law <law@redhat.com>
9738
9739 [BZ #14505]
9740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9741 if the family is PF_UNSPEC.
9742
9743 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9744
9745 * Makerules (lib-version): Rename from V.
9746 (install-lib-nosubdir): Change V to lib-version.
9747
9748 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9749
9750 [BZ #14252]
9751 * powerpc32/power6/wcschr.c: New file.
9752 * powerpc32/power6/wcscpy.c: New file.
9753 * powerpc32/power6/wcsrchr.c: New file.
9754 * powerpc64/power6/wcschr.c: New file.
9755 * powerpc64/power6/wcscpy.c: New file.
9756 * powerpc64/power6/wcsrchr.c: New file.
9757
9758 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9759
9760 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9761 (two_way_short_needle): Use it.
9762 * string/strstr.c (AVAILABLE1_USES_J): Define.
9763 * string/strcasestr.c: Likewise.
9764
9765 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9766 array references.
9767 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9768
9769 [BZ #11607]
9770 * NEWS: Add an entry.
9771 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9772 define their defaults.
9773 (two_way_short_needle): Detect end-of-string on-the-fly.
9774 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9775 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9776 * string/bug-strcasestr1.c: New test.
9777 * string/Makefile: Run it.
9778
9779 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9780
9781 [BZ #11607]
9782 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9783 the first character.
9784
9785 2012-08-21 Roland McGrath <roland@hack.frob.com>
9786
9787 * csu/elf-init.c (__libc_csu_irel): Function removed.
9788 * csu/libc-start.c (apply_irel): New function.
9789 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9790
9791 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9792
9793 * sysdeps/unix/sysv/linux/kernel-features.h
9794 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9795 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9796 <kernel-features.h>.
9797 [__NR_fadvise64_64]: Make code unconditional.
9798 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9799 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9800 !__NR_fadvise64_64)]: Likewise.
9801 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9802 !__NR_fadvise64_64))]: Likewise.
9803 [__NR_fadvise64]: Make code unconditional.
9804 [!__NR_fadvise64]: Remove conditional code.
9805 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9806 <kernel-features.h>.
9807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9808 unconditional.
9809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9810 conditional code.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9812 not include <kernel-features.h>.
9813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9814 unconditional.
9815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9816 conditional code.
9817 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9818 include <kernel-features.h>.
9819 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9820 unconditional.
9821 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9822 conditional code.
9823
9824 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9825
9826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9827 slight instruction rearrangements per scrollpipe analysis.
9828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9829
9830 2012-08-20 Roland McGrath <roland@hack.frob.com>
9831
9832 * manual/syslog.texi (syslog; vsyslog, closelog):
9833 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9834 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9835
9836 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9837 DSOCAPS to match condition on defining it.
9838
9839 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9840
9841 * sysdeps/unix/sysv/linux/kernel-features.h
9842 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9850 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9851 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9852
9853 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9854 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9855
9856 * sysdeps/unix/sysv/linux/kernel-features.h
9857 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9858 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9859 unconditional.
9860 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9861 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9862 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9863 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9864 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9865 Make code unconditional.
9866 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9867 (__mmap64) [!__NR_mmap2]: Likewise.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9869 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9870 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9872 [__NR_mmap2]: Make code unconditional.
9873 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9874 (__mmap64) [!__NR_mmap2]: Likewise.
9875
9876 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9877
9878 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9879
9880 2012-08-18 Andreas Jaeger <aj@suse.de>
9881
9882 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9883
9884 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9885
9886 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9887 * include/unistd.h (__have_sock_cloexec): Likewise.
9888 (__have_pipe2): Likewise.
9889 (__have_dup3): Likewise.
9890
9891 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9892
9893 [BZ #9685]
9894 * include/unistd.h (__have_pipe2): Change define into an extern int.
9895 (__have_dup3): Likewise.
9896 * socket/have_sock_cloexec.c: Include fcntl.h.
9897 (__have_pipe2): New variable.
9898 (__have_dup3): Likewise.
9899
9900 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9901
9902 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9903
9904 2012-08-17 Marek Polacek <polacek@redhat.com>
9905
9906 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9907 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9908
9909 2012-08-17 Roland McGrath <roland@hack.frob.com>
9910
9911 * configure.in: Add AC_SUBST for sysheaders.
9912 * configure: Regenerated.
9913 * config.make.in (sysheaders): New substituted variable.
9914
9915 * sysdeps/unix/mkfifo.c: Moved ...
9916 * sysdeps/posix/mkfifo.c: ... here.
9917 * sysdeps/unix/mkfifoat.c: Moved ...
9918 * sysdeps/posix/mkfifoat.c: ... here.
9919
9920 * sysdeps/unix/utime.c: Moved ...
9921 * sysdeps/posix/utime.c: ... here.
9922
9923 * sysdeps/unix/time.c: Moved ...
9924 * sysdeps/posix/time.c: ... here.
9925 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9926 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9927
9928 * sysdeps/unix/nice.c: Moved ...
9929 * sysdeps/posix/nice.c: ... here.
9930
9931 * sysdeps/unix/alarm.c: Moved ...
9932 * sysdeps/posix/alarm.c: ... here.
9933
9934 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9935
9936 2012-08-17 Jeff Law <law@redhat.com>
9937
9938 * intl/Makefile (codeset_mo): New variable.
9939 ($(codeset_mo)): New target.
9940 (tst-codeset.out): Depend on that. Remove explicit rule.
9941 (tst-gettext3.out, tst-gettext5.out): Likewise.
9942 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9943 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9944 * intl/tst-codeset.sh: Remove.
9945 * intl/tst-gettext3.sh: Likewise.
9946 * intl/tst-gettext5.sh: Likewise.
9947
9948 2012-08-17 Roland McGrath <roland@hack.frob.com>
9949
9950 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9951 * sysdeps/unix/syscalls.list: ... here.
9952
9953 * sysdeps/posix/getaddrinfo.c
9954 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9955 (gaiconf_init, gaiconf_reload): Use them.
9956 [!_STATBUF_ST_NSEC]
9957 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9958 Define using time_t rather than struct timespec.
9959
9960 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9961 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9962 Macros removed.
9963 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9964 [!NO_THREADS].
9965 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9966 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9967 Likewise.
9968
9969 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9970 __libc_cleanup_push argument.
9971
9972 * bits/param.h: New file.
9973 * misc/sys/param.h: New file.
9974 * include/sys/param.h: New file.
9975 * misc/Makefile (headers): Add bits/param.h.
9976 * sysdeps/generic/sys/param.h: File removed.
9977 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9978 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9979 * sysdeps/mach/hurd/bits/param.h: New file.
9980 * sysdeps/mach/hurd/sys/param.h: File removed.
9981
9982 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9983 last change.
9984
9985 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9986 [_IO_MTSAFE_IO].
9987 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9988 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9989 New macros.
9990
9991 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9992 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9993 rather than -D_IO_MTSAFE_IO conditionally.
9994 * stdio-common/Makefile (CPPFLAGS): Likewise.
9995 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9996 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9997 Use $(libio-mtsafe).
9998 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9999 of -D_IO_MTSAFE_IO.
10000 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10001 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10002 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10003 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10004 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10005 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10006 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10007 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10008 (CFLAGS-fread_u_chk.c): Likewise.
10009 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10010 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10011 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10012 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10013 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10014 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10015 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10016 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10017 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10018
10019 * libio/Makefile: Test [$(libc-reentrant) = yes]
10020 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10021
10022 * Makeconfig
10023 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10024 * sysdeps/pthread/configure: File removed.
10025 * sysdeps/pthread/Makeconfig: New file.
10026 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10027 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10028
10029 2012-08-16 Gary Benson <gbenson@redhat.com>
10030
10031 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10032 unmapping the first object in a namespace.
10033
10034 2012-08-16 Roland McGrath <roland@hack.frob.com>
10035
10036 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10037 (__internal_setnetgrent): ... this. Add internal_function to
10038 definition. Add libc_hidden_def.
10039 (setnetgrent): Update caller.
10040 (internal_endnetgrent): Renamed to ...
10041 (__internal_endnetgrent): ... this. Add internal_function to
10042 definition. Add libc_hidden_def.
10043 (endnetgrent): Update caller.
10044 (internal_getnetgrent_r): Renamed to ...
10045 (__internal_getnetgrent_r): ... this. Add internal_function to
10046 definition. Add libc_hidden_def.
10047 (__getnetgrent_r): Update caller.
10048 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10049
10050 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10051
10052 * stdlib/longlong.h: Update from GCC.
10053
10054 2012-08-16 Roland McGrath <roland@hack.frob.com>
10055
10056 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10057 on _QL, which is set by umul_ppmm but never used.
10058 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10059 variables, which are set by GMP macros but never used.
10060 * stdio-common/_itowa.c (_itowa): Likewise.
10061 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10062 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10063
10064 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10065
10066 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10067 struct La_sh_regs is not constant.
10068 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10069 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10070 and struct La_sparc64_regs are not constant.
10071
10072 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10073
10074 * sysdeps/unix/sysv/linux/kernel-features.h
10075 (__ASSUME_POSIX_TIMERS): Remove.
10076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10078 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10079 Make code unconditional.
10080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10081 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10082 Make code unconditional.
10083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10084 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10085 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10087 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10088 Make code unconditional.
10089 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10090 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10091 (__libc_missing_posix_timers): Remove.
10092
10093 2012-08-15 Roland McGrath <roland@hack.frob.com>
10094
10095 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10096 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10097
10098 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10099
10100 * elf/dl-sym.c: Include <stdlib.h>.
10101
10102 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10103 constants, which avoids warnings in 32-bit builds.
10104
10105 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10106 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10107
10108 * misc/lseek.c: File moved to ...
10109 * io/lseek.c: ... here.
10110
10111 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10112
10113 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10114 shifting LEN more than 31 bits at once.
10115
10116 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10117
10118 [BZ #14195]
10119 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10120 segmentation fault for a case of two empty input strings.
10121 * string/test-strncasecmp.c (check1): Renamed to...
10122 (bz12205): ...this.
10123 (bz14195): Add new testcase for two empty input strings and N > 0.
10124 (test_main): Call new testcase, adapt for renamed function.
10125
10126 2012-08-15 Andreas Jaeger <aj@suse.de>
10127
10128 [BZ #14090]
10129 * crypt/md5test2.c: New test, based on test supplied by Serge
10130 Belyshev <belyshev@depni.sinp.msu.ru>.
10131 * crypt/Makefile (xtests): Add md5test-giant..
10132 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10133
10134 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10135
10136 [BZ #14090]
10137 * crypt/md5.c (md5_process_block): Don't assume the buffer
10138 length is less than 2**32.
10139 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10140 length is less than 2**64.
10141
10142 2012-08-15 Roland McGrath <roland@hack.frob.com>
10143
10144 * string/str-two-way.h: Include <sys/param.h>.
10145 (MAX): Macro removed.
10146
10147 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10148 Move #define and #undef of memmove to just before and after
10149 including <string.h>.
10150
10151 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10152 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10153 and after including <string.h>. Move declarations of
10154 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10155 to before #include "string/memmove.c".
10156
10157 * include/dirent.h: Declare __getdirentries.
10158
10159 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10160 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10161
10162 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10163
10164 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10165 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10166 * sysdeps/i386/configure: Regenerated.
10167 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10168 STABS_CURRENT_FILE, and STABS_FUN.
10169 (END): Remove call to STABS_FUN_END.
10170 (STABS_CURRENT_FILE1): Delete.
10171 (STABS_CURRENT_FILE): Likewise.
10172 (STABS_FUN): Likewise.
10173 (STABS_FUN_END): Likewise.
10174 (STABS_FUN2): Likewise.
10175 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10176 * sysdeps/x86_64/configure: Regenerated.
10177
10178 2012-08-14 Roland McGrath <roland@hack.frob.com>
10179
10180 * elf/dl-open.c: Include <atomic.h>.
10181 * elf/dl-lookup.c: Likewise.
10182
10183 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10184
10185 * sysdeps/unix/sysv/linux/kernel-features.h
10186 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10187 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10188 unconditionally.
10189 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10190 unconditionally.
10191 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10192 condition on __ASSUME_CLONE_THREAD_FLAGS.
10193
10194 2012-08-14 Andreas Jaeger <aj@suse.de>
10195
10196 * sysdeps/i386/fpu/libm-test-ulps: Update.
10197
10198 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10199
10200 * include/atomic.h (atomic_exchange_and_add): Split into ...
10201 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10202 New atomic macros.
10203
10204 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10205
10206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10207
10208 2012-08-13 Jeff Law <law@redhat.com>
10209
10210 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10211 null byte in the output string.
10212
10213 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10214
10215 * sysdeps/unix/sysv/linux/kernel-features.h
10216 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10217 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10218 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10220 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10221 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10222 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10223
10224 2012-08-09 Jeff Law <law@redhat.com>
10225
10226 [BZ #13939]
10227 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10228 When avoid_arena is set, don't retry in the that arena. Pick the
10229 next one, whatever it might be.
10230 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10231 (arena_lock): Pass in new parameter to arena_get2.
10232 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10233 arena_get2.
10234 (__libc_malloc): Unify retrying after main arena failure with
10235 __libc_memalign version.
10236 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10237
10238 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10239
10240 [BZ #14166]
10241 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10242 to __redirect_strstr.
10243 (__strstr_sse42): Use typeof __redirect_strstr.
10244 (__strstr_ia32): Likewise.
10245 (__libc_strstr): New prototype.
10246 (strstr): Renamed to ...
10247 (__libc_strstr): This.
10248 (strstr): New strong alias of __libc_strstr.
10249 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10250 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10251 __redirect_time.
10252 Include <time.h>.
10253 (__libc_time): New prototype.
10254 (time_ifunc): Replace time with __libc_time.
10255 (time): New strong alias and hidden definition of __libc_time.
10256 (__GI_time): Remove strong alias.
10257 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10258 Include <stddef.h>.
10259 (memmove): Redefined to __redirect_memmove.
10260 (__memmove_sse2): Use typeof __redirect_memmove.
10261 (__memmove_ssse3): Likewise.
10262 (__memmove_ssse3_back): Likewise.
10263 (__libc_memmove): New prototype.
10264 (memmove): Renamed to ...
10265 (__libc_memmove): This.
10266 (memmove): New strong alias of __libc_memmove.
10267
10268 2012-08-08 Mark Salter <msalter@redhat.com>
10269
10270 * elf/elf.h
10271 (R_MN10300_TLS_GD): Define.
10272 (R_MN10300_TLS_LD): Likewise.
10273 (R_MN10300_TLS_LDO): Likewise.
10274 (R_MN10300_TLS_GOTIE): Likewise.
10275 (R_MN10300_TLS_IE): Likewise.
10276 (R_MN10300_TLS_LE): Likewise.
10277 (R_MN10300_TLS_DTPMOD): Likewise.
10278 (R_MN10300_TLS_DTPOFF): Likewise.
10279 (R_MN10300_TLS_TPOFF): Likewise.
10280 (R_MN10300_SYM_DIFF): Likewise.
10281 (R_MN10300_ALIGN): Likewise.
10282 (R_MN10300_NUM): Update.
10283
10284 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10285
10286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10287 Remove.
10288
10289 2012-08-08 Roland McGrath <roland@hack.frob.com>
10290
10291 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10292
10293 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10294 sysdeps/unix -> sysdeps/posix move.
10295 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10296
10297 2012-08-07 Allan McRae <allan@archlinux.org>
10298
10299 [BZ #14303]
10300 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10301 (SUNOS_CPP): Likewise.
10302 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10303 not found.
10304 (open_input): Call CPP using execvp.
10305
10306 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10307
10308 * sysdeps/unix/sysv/linux/kernel-features.h
10309 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10310 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10311 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10312 (__ASSUME_WAITID_SYSCALL): Likewise.
10313 * sysdeps/unix/sysv/linux/dl-execstack.c
10314 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10315 code unconditional.
10316 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10317 conditional code.
10318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10319 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10320 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10321 code.
10322 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10323 unconditional.
10324 [__ASSUME_WAITID_SYSCALL]: Likewise.
10325 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10326
10327 2012-08-07 Roland McGrath <roland@hack.frob.com>
10328
10329 * sysdeps/unix/closedir.c: Renamed to ...
10330 * sysdeps/posix/closedir.c: ... here.
10331 * sysdeps/unix/dirfd.c: Renamed to ...
10332 * sysdeps/posix/dirfd.c: ... here.
10333 * sysdeps/unix/dirstream.h: Renamed to ...
10334 * sysdeps/posix/dirstream.h: ... here.
10335 * sysdeps/unix/fdopendir.c: Renamed to ...
10336 * sysdeps/posix/fdopendir.c: ... here.
10337 * sysdeps/unix/opendir.c: Renamed to ...
10338 * sysdeps/posix/opendir.c: ... here.
10339 * sysdeps/unix/readdir.c: Renamed to ...
10340 * sysdeps/posix/readdir.c: ... here.
10341 * sysdeps/unix/readdir_r.c: Renamed to ...
10342 * sysdeps/posix/readdir_r.c: ... here.
10343 * sysdeps/unix/rewinddir.c: Renamed to ...
10344 * sysdeps/posix/rewinddir.c: ... here.
10345 * sysdeps/unix/seekdir.c: Renamed to ...
10346 * sysdeps/posix/seekdir.c: ... here.
10347 * sysdeps/unix/telldir.c: Renamed to ...
10348 * sysdeps/posix/telldir.c: ... here.
10349 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10350 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10351 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10352 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10353
10354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10355 * bits/fcntl.h: ... here.
10356
10357 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10358 not 0.
10359 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10360 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10361 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10362 (struct flock): Move l_start, l_len to the beginning.
10363 Use __pid_t for l_pid.
10364 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10365 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10366 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10367 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10368 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10369 [__USE_LARGEFILE64] (struct flock64): New type.
10370 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10371
10372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10373 * bits/dirent.h: ... here.
10374
10375 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10376 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10377
10378 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10379
10380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10381 Change from 2.6.0 to 2.6.16.
10382 * sysdeps/unix/sysv/linux/configure: Regenerated.
10383 * sysdeps/unix/sysv/linux/kernel-features.h
10384 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10385 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10386 version.
10387 (__ASSUME_UTIMES): Likewise.
10388 (__ASSUME_CLONE_STOPPED): Remove.
10389 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10390 architectures, not kernel version.
10391 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10392 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10393 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10394 (__ASSUME_WAITID_SYSCALL): Likewise.
10395 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10396 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10397 * README: State 2.6.16 as minimum Linux kernel version. Do not
10398 refer to older versions.
10399
10400 2012-08-06 Roland McGrath <roland@hack.frob.com>
10401
10402 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10403 Define alphasort64 as an alias.
10404 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10405 Define versionsort64 as an alias.
10406 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10407 Define scandir64 as an alias.
10408 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10409 Define scandirat64 as an alias.
10410 * dirent/alphasort64.c (alphasort64):
10411 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10412 * dirent/versionsort64.c: Likewise.
10413 * dirent/scandir64.c: Likewise.
10414 * dirent/scandirat64.c: Likewise.
10415 * sysdeps/wordsize-64/alphasort.c: File removed.
10416 * sysdeps/wordsize-64/alphasort64.c: File removed.
10417 * sysdeps/wordsize-64/scandir.c: File removed.
10418 * sysdeps/wordsize-64/scandir64.c: File removed.
10419 * sysdeps/wordsize-64/scandirat.c: File removed.
10420 * sysdeps/wordsize-64/scandirat64.c: File removed.
10421 * sysdeps/wordsize-64/versionsort.c: File removed.
10422 * sysdeps/wordsize-64/versionsort64.c: File removed.
10423 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10424 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10425 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10426 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10427 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10428 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10429 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10430 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10431
10432 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10434 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10436 [defined __arch64__ || defined __sparcv9]
10437 (__INO_T_MATCHES_INO64_T): New macro.
10438 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10439 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10440 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10441 * sysdeps/unix/sysv/linux/bits/dirent.h
10442 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10443 (_DIRENT_MATCHES_DIRENT64): New macro.
10444
10445 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10446 Define lockf64 as an alias.
10447 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10448 Define fseeko64 as an alias.
10449 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10450 Define ftello64 as an alias.
10451 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10452 Define _IO_fgetpos64 and fgetpos64 as aliases.
10453 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10454 Define _IO_fsetpos64 and fsetpos64 as aliases.
10455 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10456 Conditionalize body on this.
10457 * libio/fseeko64.c: Likewise.
10458 * libio/ftello64.c: Likewise.
10459 * libio/iofgetpos64.c: Likewise.
10460 * libio/iofsetpos64.c: Likewise.
10461 * sysdeps/wordsize-64/lockf.c: File removed.
10462 * sysdeps/wordsize-64/lockf64.c: File removed.
10463 * sysdeps/wordsize-64/fseeko.c: File removed.
10464 * sysdeps/wordsize-64/fseeko64.c: File removed.
10465 * sysdeps/wordsize-64/ftello.c: File removed.
10466 * sysdeps/wordsize-64/ftello64.c: File removed.
10467 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10468 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10469 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10470 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10471 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10477 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10479 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10481
10482 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10484 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10486 [defined __arch64__ || defined __sparcv9]
10487 (__OFF_T_MATCHES_OFF64_T): New macro.
10488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10489 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10491 (__OFF_T_MATCHES_OFF64_T): New macro.
10492
10493 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10494
10495 * stdlib/secure-getenv.c (__secure_getenv): Replace
10496 GLIBC_2_16 with GLIBC_2_17.
10497
10498 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10502
10503 2012-08-03 David S. Miller <davem@davemloft.net>
10504
10505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10506
10507 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10508
10509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10510 Remove.
10511 (__ASSUME_CORRECT_SI_PID): Likewise.
10512 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10513 (__ASSUME_TMPFS_NAME): Likewise.
10514 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10515 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10516 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10517 (HAVE_AUX_SECURE): Make definition unconditional.
10518 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10519 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10520
10521 2012-08-03 Roland McGrath <roland@hack.frob.com>
10522
10523 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10524 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10525 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10527 __eloop_threshold instead of SYMLOOP_MAX.
10528
10529 * sysdeps/generic/eloop-threshold.h: New file.
10530 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10531 of MAXSYMLINKS.
10532 * elf/chroot_canon.c (chroot_canon): Likewise.
10533
10534 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10535
10536 [BZ #13717]
10537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10538 Change to 2.6.0 everywhere.
10539 * sysdeps/unix/sysv/linux/configure: Regenerated.
10540 * sysdeps/unix/sysv/linux/kernel-features.h
10541 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10542 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10543 kernel versions.
10544 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10545 (__ASSUME_FUTEX_REQUEUE): Remove.
10546 (__ASSUME_STATFS64): Define unconditionally.
10547 (__ASSUME_AT_SECURE): Likewise.
10548 (__ASSUME_CORRECT_SI_PID): Likewise.
10549 (__ASSUME_TGKILL): Define without depending on kernel version for
10550 i386.
10551 (__ASSUME_UTIMES): Likewise.
10552 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10553 kernel version.
10554 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10555 (__ASSUME_TMPFS_NAME): Likewise.
10556 * README: Update reference to Linux kernel versions.
10557
10558 2012-08-02 Marek Polacek <polacek@redhat.com>
10559
10560 [BZ# 14150]
10561 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10562 libc_cv_asm_type_prefix with %.
10563 * configure: Regenerated.
10564 * include/libc-symbols.h: Remove comment about
10565 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10566 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10567 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10568 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10569 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10570 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10571 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10572 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10573 * elf/tst-unique2mod1.c: Likewise.
10574 * elf/tst-unique1mod2.c: Likewise.
10575 * elf/tst-unique1mod1.c: Likewise.
10576 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10577 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10578 Replace ASM_TYPE_DIRECTIVE with .type.
10579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10580 * sysdeps/i386/sysdep.h: Likewise.
10581 * sysdeps/x86_64/sysdep.h: Likewise.
10582 * sysdeps/sh/sysdep.h: Likewise.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10584 Do not define ASM_TYPE_DIRECTIVE.
10585 * sysdeps/powerpc/sysdep.h: Likewise.
10586 * sysdeps/powerpc/powerpc32/sysdep.h:
10587 Replace ASM_TYPE_DIRECTIVE with .type.
10588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10590 * sysdeps/i386/fpu/e_powf.S: Likewise.
10591 * sysdeps/i386/fpu/e_expl.S: Likewise.
10592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10594 * sysdeps/i386/fpu/e_pow.S: Likewise.
10595 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10597 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10598 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10599 * sysdeps/i386/fpu/e_log2.S: Likewise.
10600 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10602 * sysdeps/i386/fpu/e_powl.S: Likewise.
10603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10605 * sysdeps/i386/fpu/e_logl.S: Likewise.
10606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10607 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10608 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10611 * sysdeps/i386/fpu/e_log.S: Likewise.
10612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10613 * sysdeps/i386/fpu/e_logf.S: Likewise.
10614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10615 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10617 * sysdeps/i386/fpu/e_log10.S: Likewise.
10618 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10619 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10620 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10621 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10622 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10623 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10625 * sysdeps/i386/i686/strtok.S: Likewise.
10626 * sysdeps/i386/i386-mcount.S: Likewise.
10627 * sysdeps/i386/strtok.S: Likewise.
10628 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10632 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10633 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10634 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10635 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10637 * sysdeps/x86_64/_mcount.S: Likewise.
10638 * sysdeps/x86_64/strtok.S: Likewise.
10639 * sysdeps/sh/_mcount.S: Likewise.
10640
10641 2012-08-01 Roland McGrath <roland@hack.frob.com>
10642
10643 * libio/iofopen.c: Include <fcntl.h>.
10644 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10645 (_IO_fopen64, fopen64): Define as aliases.
10646 * libio/iofopen64.c: Include <fcntl.h>.
10647 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10648 Conditionalize body on this.
10649 * sysdeps/wordsize-64/iofopen.c: File removed.
10650 * sysdeps/wordsize-64/iofopen64.c: File removed.
10651
10652 2012-08-01 Marek Polacek <polacek@redhat.com>
10653
10654 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10655 Use dlfcn directly instead of a variable.
10656 (binfmt-subdir): Do not define.
10657 (dlfcn): Likewise.
10658
10659 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10660
10661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10662 Remove all definitions.
10663 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10664 <kernel-features.h>.
10665 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10666 (miss_F_GETOWN_EX): Remove all definitions.
10667 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10668 macro definition.
10669 [!__ASSUME_FCNTL64]: Remove conditional code.
10670 [__ASSUME_FCNTL64]: Make code unconditional.
10671 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10672 <kernel-features.h>.
10673 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10674 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10675 (lockf64) [__NR_fcntl64]: Make code unconditional.
10676 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10677
10678 * sysdeps/unix/sysv/linux/kernel-features.h
10679 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10680 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10681 Make code unconditional.
10682 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10683 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10685 [__NR_vfork]: Make code unconditional.
10686 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10687 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10689 [__NR_vfork]: Make code unconditional.
10690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10692
10693 2012-08-01 Roland McGrath <roland@hack.frob.com>
10694
10695 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10696 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10697
10698 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10699 Define mkstemp64 as an alias.
10700 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10701 Define mkstemps64 as an alias.
10702 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10703 Define mkostemp64 as an alias.
10704 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10705 Define mkostemps64 as an alias.
10706 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10707 Conditionalize body on this.
10708 * misc/mkostemp64.c: Likewise.
10709 * misc/mkostemps64.c: Likewise.
10710 * misc/mkstemps64.c: Likewise.
10711 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10712 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10713 * sysdeps/wordsize-64/mkostemp.c: File removed.
10714 * sysdeps/wordsize-64/mkstemp.c: File removed.
10715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10716 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10717 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10718 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10719
10720 [BZ #14138]
10721 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10722 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10723 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10724 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10725
10726 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10727 compat_symbol macros from <shlib-compat.h> rather than the underlying
10728 default_symbol_version and symbol_version macros, so that DEFAULT
10729 lines in shlib-versions are respected.
10730 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10731
10732 2012-08-01 Florian Weimer <fweimer@redhat.com>
10733
10734 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10735 Declare with warn_unused_result.
10736 (setgid, setregid, setegid, setresgid): Likewise.
10737 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10738 Likewise.
10739 * WUR-REPORT: Remove set*id functions.
10740
10741 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10742
10743 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10744
10745 2012-07-31 Roland McGrath <roland@hack.frob.com>
10746
10747 * include/sys/socket.h (__libc_accept, __libc_accept4):
10748 Add attribute_hidden.
10749 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10750
10751 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10752 use of PTR_MANGLE.
10753 * inet/getnetgrent_r.c (setup): Likewise.
10754
10755 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10756
10757 2012-07-31 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10760
10761 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10762
10763 [BZ #13629]
10764 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10765 value between 1.0 and 2.0 and smaller part has absolute value less
10766 than 1.0.
10767 * math/s_clog10.c (__clog10): Likewise.
10768 * math/s_clog10f.c (__clog10f): Likewise.
10769 * math/s_clog10l.c (__clog10l): Likewise.
10770 * math/s_clogf.c (__clogf): Likewise.
10771 * math/s_clogl.c (__clogl): Likewise.
10772 * math/libm-test.inc (clog_test): Add more tests.
10773 (clog10_test): Likewise.
10774 * sysdeps/i386/fpu/libm-test-ulps: Update.
10775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10776
10777 2012-07-31 Florian Weimer <fweimer@redhat.com>
10778
10779 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10780 Exit with zero in case no suitable GID is found, and write a
10781 message to standard error.
10782
10783 2012-07-30 Roland McGrath <roland@hack.frob.com>
10784
10785 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10786 rather than to 1.
10787 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10788 (MAXPATHLEN): Removed.
10789 (NOGROUP, NODEV): New macros.
10790 (setbit, clrbit, isset, isclr): New macros.
10791 (howmany, roundup, powerof2): New macros.
10792 (DEV_BSIZE): New macro.
10793
10794 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10795 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10796
10797 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10798 definition on [!__NO_LONG_DOUBLE_MATH].
10799
10800 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10801 PTR_MANGLE and PTR_DEMANGLE.
10802
10803 * socket/accept4.c (accept4): Rename to __libc_accept4.
10804 Define accept4 as a weak alias.
10805
10806 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10807 on [_DIRENT_HAVE_D_TYPE].
10808 * io/ftw.c (ftw_dir): Likewise.
10809
10810 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10811
10812 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10813
10814 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10815 Use the BSD numbers rather than the arbitrary ones we had.
10816 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10817 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10818 (SIGXCPU, SIGXFSZ): New macros.
10819 (_NSIG): Now 32.
10820
10821 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10822 initializer on [_LIBC_REENTRANT].
10823
10824 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10825 definitions inside [_POSIX_MAPPED_FILES].
10826
10827 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10828
10829 * dirent/opendir.c: Include <fcntl.h>.
10830
10831 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10832 (__libc_getspecific): Likewise.
10833 (__libc_key_create): Likewise.
10834
10835 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10836 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10837 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10838 (tmpfile64): Define as alias.
10839 * sysdeps/wordsize-64/tmpfile.c: File removed.
10840 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10841 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10843
10844 * stdio-common/vfscanf.c: Include <stdbool.h>.
10845 * nss/makedb.c: Likewise.
10846 * stdio-common/_i18n_number.h: Likewise.
10847 * argp/argp-help.c: Likewise.
10848 * posix/wordexp.c: Likewise.
10849 * sysdeps/posix/spawni.c: Likewise.
10850 * nss/nss_files/files-initgroups.c: Likewise.
10851 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10852 * nss/nss_files/files-initgroups.c: Likewise.
10853 * nss/nss_db/db-netgrp.c: Likewise.
10854 * nss/nss_db/db-initgroups.c: Likewise.
10855 * io/fchmodat.c: Include <sys/stat.h>.
10856
10857 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10858 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10859
10860 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10861 [HAVE_MMAP].
10862
10863 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10864 Add multiple inclusion protection.
10865
10866 2012-07-27 David S. Miller <davem@davemloft.net>
10867
10868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10869
10870 2012-07-27 Gary Benson <gbenson@redhat.com>
10871
10872 [BZ #14298]
10873 * elf/rtld.c: Include <stap-probe.h>.
10874 (dl_main): Added static probes "init_start" and "init_complete".
10875 * elf/dl-load.c: Include <stap-probe.h>.
10876 (lose): Take new parameter "nsid".
10877 Added static probe "map_failed".
10878 (_dl_map_object_from_fd): Pass namespace id to lose.
10879 Added static probe "map_start".
10880 (open_verify): Pass namespace id to lose.
10881 * elf/dl-open.c: Include <stap-probe.h>.
10882 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10883 and "reloc_complete".
10884 * elf/dl-close.c: Include <stap-probe.h>.
10885 (_dl_close_worker): Added static probes "unmap_start" and
10886 "unmap_complete".
10887 * elf/rtld-debugger-interface.txt: New file documenting the above.
10888
10889 2012-07-26 Roland McGrath <roland@hack.frob.com>
10890
10891 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10892 rather than a string variable.
10893 * sunrpc/rpc_main.c (h_output): Likewise.
10894 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10895
10896 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10897
10898 * inet/check_native.c: New file.
10899
10900 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10901
10902 [BZ #13629]
10903 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10904 if larger part has absolute value 1.0.
10905 * math/s_clog10.c (__clog10): Likewise.
10906 * math/s_clog10f.c (__clog10f): Likewise.
10907 * math/s_clog10l.c (__clog10l): Likewise.
10908 * math/s_clogf.c (__clogf): Likewise.
10909 * math/s_clogl.c (__clogl): Likewise.
10910 * math/libm-test.inc (clog_test): Add more tests.
10911 (clog10_test): Likewise.
10912 * sysdeps/i386/fpu/libm-test-ulps: Update.
10913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10914
10915 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10916 (pltexit): Likewise.
10917 (La_regs): Likewise.
10918 (La_retval): Likewise.
10919 (int_retval): Likewise.
10920 Update #error for removed macros to refer only to definitions in
10921 tst-audit.h.
10922 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10923 macro.
10924 (pltexit): Likewise.
10925 (La_regs): Likewise.
10926 (La_retval): Likewise.
10927 (int_retval): Likewise.
10928 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10929 macro.
10930 (pltexit): Likewise.
10931 (La_regs): Likewise.
10932 (La_retval): Likewise.
10933 (int_retval): Likewise.
10934 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10935 macro.
10936 (pltexit): Likewise.
10937 (La_regs): Likewise.
10938 (La_retval): Likewise.
10939 (int_retval): Likewise.
10940 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10941 macro.
10942 (pltexit): Likewise.
10943 (La_regs): Likewise.
10944 (La_retval): Likewise.
10945 (int_retval): Likewise.
10946 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10947 macro.
10948 (pltexit): Likewise.
10949 (La_regs): Likewise.
10950 (La_retval): Likewise.
10951 (int_retval): Likewise.
10952 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10953 macro.
10954 (pltexit): Likewise.
10955 (La_regs): Likewise.
10956 (La_retval): Likewise.
10957 (int_retval): Likewise.
10958 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10959 macro definitions in tst-audit.h.
10960 * sysdeps/i386/tst-audit.h: New file.
10961 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10962 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10963 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10964 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10965 * sysdeps/sh/tst-audit.h: Likewise.
10966 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10967 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10968 * sysdeps/x86_64/tst-audit.h: Likewise.
10969
10970 2012-07-26 Andreas Jaeger <aj@suse.de>
10971
10972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10973 ptrace.
10974
10975 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10976 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10977 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10978 PTRACE_O_MASK.
10979 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10981 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10982
10983 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10984 value.
10985
10986 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10987 _sigsys.
10988 (si_call_addr, si_syscall, si_arch): Define new macro.
10989 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10990 _sigsys.
10991 (si_call_addr, si_syscall, si_arch): Define new marcro.
10992 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10993 _sigsys.
10994 (si_call_addr, si_syscall, si_arch): Define new macro.
10995 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10996 _sigsys.
10997 (si_call_addr, si_syscall, si_arch): Define new macro.
10998
10999 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11000
11001 [BZ #13717]
11002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11003 Change to 2.4.21 where previously 2.4.1.
11004 * sysdeps/unix/sysv/linux/configure: Regenerated.
11005 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11006 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11007 Linux kernel version.
11008 (__ASSUME_STD_AUXV): Remove.
11009 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11010 kernel version.
11011 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11012 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11013 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11014 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11015 (__ASSUME_NETLINK_SUPPORT): Likewise.
11016 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11017 (__no_netlink_support): Remove conditional definition.
11018 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11019 Remove.
11020 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11021 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11022 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11023 (if_nameindex_ioctl): Remove.
11024 (if_nameindex_netlink): Do not handle __no_netlink_support.
11025 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11026 code.
11027 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11028 Remove conditional code.
11029 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11030 code.
11031 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11032 unconditional.
11033 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11034 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11035 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11036 Remove.
11037 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11038 [!__ASSUME_STD_AUXV]: Remove conditional code.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11040 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11041 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11043 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11044 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11045 code.
11046 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11048 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11049 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11050 conditional code.
11051 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11053 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11054 code.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11056 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11057 conditional code.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11059 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11060 code unconditional.
11061 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11062 conditional code.
11063 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11064 unconditional.
11065 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11066 conditional code.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11068 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11069 unconditional.
11070 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11071 conditional code.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11073 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11074 code unconditional.
11075 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11076 conditional code.
11077 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11078 unconditional.
11079 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11080 conditional code.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11082 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11083 code unconditional.
11084 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11085 conditional code.
11086 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11087 unconditional.
11088 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11089 conditional code.
11090
11091 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11092
11093 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11095 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11096 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11097 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11098 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11099 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11100 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11101 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11102 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11103 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11104 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11105 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11106 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11107 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11108 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11109 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11111 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11113 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11114 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11116
11117 2012-07-25 Florian Weimer <fweimer@redhat.com>
11118
11119 * Versions.def: Add GLIBC_2.17.
11120 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11121 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11122 Introduce __libc_secure_getenv.
11123 * stdlib/Versions (2.17): Add secure_getenv
11124 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11125 * stdlib/secure-getenv.c: Rename __secure_getenv to
11126 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11127 symbol __secure_getenv for GLIBC_2.0.
11128 * stdlib/tst-secure-getenv.c: New.
11129 * stdlib/Makefile (tests): Add testcase.
11130 * manual/startup.texi (Environment Access): Document
11131 secure_getenv.
11132 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11133 __libc_secure_getenv.
11134 * inet/ruserpass.c (ruserpass): Likewise.
11135 * malloc/mtrace.c (mtrace): Likewise.
11136 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11137 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11138 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11139 * sysdeps/posix/tempname.c: Likewise. Evaluate
11140 HAVE_SECURE_GETENV.
11141 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11142 __secure_getenv to __libc_secure_getenv.
11143 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11145 Likewise.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11147 Likewise.
11148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11155
11156 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11157
11158 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11159 (struct La_i86_retval): Likewise.
11160 (struct La_x86_64_regs): Likewise.
11161 (struct La_x86_64_retval): Likewise.
11162 (struct La_x32_regs): Likewise.
11163 (struct La_x32_retval): Likewise.
11164 (struct La_ppc32_regs): Likewise.
11165 (struct La_ppc32_retval): Likewise.
11166 (struct La_ppc64_regs): Likewise.
11167 (struct La_ppc64_retval): Likewise.
11168 (struct La_sh_regs): Likewise.
11169 (struct La_sh_retval): Likewise.
11170 (struct La_s390_32_regs): Likewise.
11171 (struct La_s390_32_retval): Likewise.
11172 (struct La_s390_64_regs): Likewise.
11173 (struct La_s390_64_retval): Likewise.
11174 (struct La_sparc32_regs): Likewise.
11175 (struct La_sparc32_retval): Likewise.
11176 (struct La_sparc64_regs): Likewise.
11177 (struct La_sparc64_retval): Likewise.
11178 (struct audit_ifaces): Remove architecture-specific pltenter and
11179 pltexit members.
11180 * sysdeps/i386/ldsodefs.h: New file.
11181 * sysdeps/powerpc/ldsodefs.h: Likewise.
11182 * sysdeps/s390/ldsodefs.h: Likewise.
11183 * sysdeps/sh/ldsodefs.h: Likewise.
11184 * sysdeps/sparc/ldsodefs.h: Likewise.
11185 * sysdeps/x86_64/ldsodefs.h: Likewise.
11186
11187 2012-07-25 Marek Polacek <polacek@redhat.com>
11188
11189 [BZ #6808]
11190 * math/libm-test.inc (yn_test): Add another test.
11191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11192 to ERANGE when the result is +-Inf.
11193 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11194 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11195 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11196 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11197
11198 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11199
11200 * conform/data/time.h-data (NULL): Use macro-constant. Require
11201 equal to 0.
11202 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11203 clock_t.
11204 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11205
11206 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11207
11208 * configure.in <sysdeps resolving>: Correct printing
11209 Implies_before.
11210 * configure: Regenerate.
11211
11212 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11213
11214 * math/w_ilogb.c: Include <limits.h>.
11215 * math/w_ilogbl.c: Likewise.
11216
11217 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11218
11219 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11220 va_copy. Document allowing for unavailable va_copy only as
11221 pre-C99 compatibility.
11222 * manual/string.texi (Copying and Concatenation): Use va_copy
11223 instead of __va_copy in concat example.
11224
11225 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11226
11227 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11228 (__sendto): Use create_address_port. Initialize APORT and deallocate
11229 it if not null.
11230
11231 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11232 with O_NOLINK passed to __file_name_lookup.
11233
11234 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11235 with O_NOLINK passed to __file_name_lookup.
11236
11237 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11238 negative N or less than NGIDS.
11239
11240 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11241 type to string_t. Set ERANGE as errno and return it if NAME is not big
11242 enough. Use memcpy instead of strncpy.
11243
11244 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11245
11246 * elf/Makefile (check-data): Remove.
11247 (localplt.data): New vpath directive.
11248 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11249 instead of $(check-data).
11250 * scripts/data/localplt-generic.data: Move to ...
11251 * sysdeps/generic/localplt.data: ... here.
11252 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11253 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11254 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11256 ... here.
11257 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11259 ... here.
11260 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11262 ... here.
11263 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11265 ... here.
11266 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11268 ... here.
11269 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11271 ... here.
11272
11273 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274
11275 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11276 PPC32 and PPC64 files.
11277 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11278 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11279
11280 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11281
11282 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11283 __makecontext_ret to ...
11284 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11285 ... here and call exit if uc_link is NULL. New file.
11286 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11287 __makecontext_ret.S.
11288 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11289 __makecontext_ret to ...
11290 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11291 ... here and call exit if uc_link is NULL. New file.
11292 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11293 __makecontext_ret.S.
11294
11295 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11296
11297 * elf/elf.h (R_390_IRELATIVE): New definition.
11298 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11299 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11300 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11301 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11302 (elf_machine_lazy_rel): Likewise.
11303 * sysdeps/s390/dl-irel.h: New file.
11304 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11305 * sysdeps/s390/s390-64/memset.S: New asm code.
11306 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11307 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11308 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11309 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11310 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11311 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11313 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11314 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11315 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11316 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11317 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11318 * sysdeps/s390/s390-32/memset.S: New asm code.
11319 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11320
11321 2012-07-17 Marek Polacek <polacek@redhat.com>
11322
11323 [BZ #14349]
11324 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11325 * sysdeps/s390/s390-64/configure.in: Likewise.
11326 * sysdeps/sparc/configure.in: Likewise.
11327 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11328 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11329 * sysdeps/i386/configure.in: Likewise.
11330 * sysdeps/x86_64/configure.in: Likewise.
11331 * sysdeps/sh/configure.in: Likewise.
11332 * sysdeps/s390/s390-32/configure: Regenerated.
11333 * sysdeps/s390/s390-64/configure: Likewise.
11334 * sysdeps/x86_64/configure: Likewise.
11335 * sysdeps/sh/configure: Likewise.
11336 * sysdeps/powerpc/powerpc64/configure: Likewise.
11337 * sysdeps/powerpc/powerpc32/configure: Likewise.
11338 * sysdeps/sparc/configure: Likwise.
11339 * sysdeps/i386/configure: Likewise.
11340
11341 * elf/dl-open.c: Comment fixes.
11342
11343 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11344
11345 * Makefile [CXX] (check-data): Remove.
11346 [CXX] (c++-types.data): New vpath directive.
11347 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11348 vpath. Do not allow for C++ type data being missing.
11349 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11350 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11351 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11352 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11353 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11354 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11355 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11357 ... here.
11358 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11360 ... here.
11361 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11363 ... here.
11364 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11366 ... here.
11367 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11369 ... here.
11370 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11372 ... here.
11373 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11375 ... here.
11376 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11378
11379 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11380 definitions to architecture-specific files.
11381 (TLS_IE): Likewise.
11382 (TLS_LD): Likewise.
11383 (TLS_GD): Likewise.
11384 * sysdeps/i386/tls-macros.h: New file.
11385 * sysdeps/powerpc/tls-macros.h: Likewise.
11386 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11387 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11388 * sysdeps/sh/tls-macros.h: Likewise.
11389 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11390 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11391 * sysdeps/x86_64/tls-macros.h: Likewise.
11392
11393 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11394
11395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11396 zero value for regular exit case.
11397
11398 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11399 (__start_context): Preserve zero value for regular exit case.
11400
11401 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11402 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11403
11404 * manual/setjmp.texi (setcontext): Clarify normal process
11405 termination when uc_link is the null pointer.
11406 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11407 exit call.
11408
11409 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11412 preprocessor. Test for each exception mask separately.
11413
11414 2012-07-16 Andreas Jaeger <aj@suse.de>
11415
11416 * po/ru.po: Update from translation team.
11417
11418 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11419
11420 * conform/data/string.h-data (NULL): Use macro-constant. Require
11421 equal to 0.
11422 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11423 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11424 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11425 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11427
11428 2012-07-13 Andreas Jaeger <aj@suse.de>
11429
11430 * po/fr.po: Update from translation team.
11431
11432 2012-07-12 Marek Polacek <polacek@redhat.com>
11433
11434 [BZ #14173]
11435 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11436 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11437 loop condition.
11438
11439 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11440
11441 [BZ #13717]
11442 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11443 Change to 2.4.1 where previously 2.4.0.
11444 * sysdeps/unix/sysv/linux/configure: Regenerated.
11445 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11446 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11447 version.
11448 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11449 (__ASSUME_AT_CLKTCK): Remove.
11450 (__ASSUME_AT_PAGESIZE): Likewise.
11451 (__ASSUME_AT_XID): Likewise.
11452 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11453 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11454 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11455 unconditionally.
11456 (HAVE_AUX_PAGESIZE): Likewise.
11457 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11458 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11459 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11460
11461 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11462
11463 [BZ #14307]
11464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11465 the temporary buffer used to invoke __gethostbyname2_r,
11466 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11467 host_data / struct gaih_addrtuple.
11468 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11469 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11470 header file nss/nsswitch.h.
11471 * nss/nsswitch.h (global scope): Add definition of implementation
11472 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11473 resolv/nss_dns/dns-host.c).
11474
11475 2012-07-11 Andreas Jaeger <aj@suse.de>
11476
11477 * po/fr.po: Update from translation team.
11478
11479 * po/sv.po: Update from translation team
11480 * po/fr.po: Another update from translation team.
11481
11482 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11483
11484 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11485 for subnormals or multiply small sinh result by itself.
11486 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11488
11489 2012-07-11 David S. Miller <davem@davemloft.net>
11490
11491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11492
11493 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11494
11495 [BZ #14347]
11496 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11497 (INTERNAL_MARK): Shift it here.
11498
11499 2012-07-10 Marek Polacek <polacek@redhat.com>
11500
11501 [BZ #14151]
11502 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11503 libc_cv_asm_global_directive with .globl.
11504 * configure: Regenerated.
11505 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11506 with .globl.
11507 * sysdeps/i386/configure: Regenerated.
11508 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11509 with .globl.
11510 * sysdeps/x86_64/configure: Regenerated.
11511 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11512 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11513 * elf/tst-unique2mod2.c: Likewise.
11514 * elf/tst-unique2mod1.c: Likewise.
11515 * elf/tst-unique1mod2.c: Likewise.
11516 * elf/tst-unique1mod1.c: Likewise.
11517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11518 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11521 * sysdeps/mach/sysdep.h: Likewise.
11522 * sysdeps/i386/sysdep.h: Likewise.
11523 * sysdeps/i386/i386-mcount.S: Likewise.
11524 * sysdeps/x86_64/_mcount.S: Likewise.
11525 * sysdeps/x86_64/sysdep.h: Likewise.
11526 * sysdeps/sh/_mcount.S: Likewise.
11527 * sysdeps/sh/sysdep.h: Likewise.
11528 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11529 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11530 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11532 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11533 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11534 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11535 * locale/localeinfo.h: Likewise.
11536 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11537 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11538
11539 2012-07-09 Roland McGrath <roland@hack.frob.com>
11540
11541 [BZ #14336]
11542 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11543 system".
11544 * manual/message.texi (The Uniforum approach): Likewise.
11545 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11546 (glibc iconv Implementation): Likewise.
11547
11548 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11549
11550 [BZ #14337]
11551 * math/s_clog.c (__clog): Avoid scaling a value down where that
11552 could result in underflow.
11553 * math/s_clog10.c (__clog10): Likewise.
11554 * math/s_clog10f.c (__clog10f): Likewise.
11555 * math/s_clog10l.c (__clog10l): Likewise.
11556 * math/s_clogf.c (__clogf): Likewise.
11557 * math/s_clogl.c (__clogl): Likewise.
11558 * math/libm-test.inc (clog_test): Add more tests.
11559 (clog10_test): Likewise.
11560 * sysdeps/i386/fpu/libm-test-ulps: Update.
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562
11563 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11564
11565 [BZ #14283]
11566 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11567 by 7 not 8 to examine high bit of fractional part.
11568
11569 [BZ #14042]
11570 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11571 for call to __mcount_internal.
11572 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11573 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11574 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11575
11576 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11577
11578 [BZ #14154]
11579 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11580 approximation for values within 0x1p-13f of an odd multiple of
11581 pi/4.
11582 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11583 exception. Add more tests.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585
11586 [BZ #6778]
11587 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11588 inputs and return -1 for them. Do not check for +Inf in case not
11589 reachable for +Inf.
11590 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11591 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11592 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11593 and return -1 for them. Do not check for +Inf in case not
11594 reachable for +Inf.
11595 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11596 define.
11597 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11598 and return -1 for them. Do not check for +Inf in case not
11599 reachable for +Inf.
11600 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11601 spurious underflow.
11602 * sysdeps/i386/fpu/libm-test-ulps: Update.
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604
11605 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11606
11607 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11608
11609 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11610
11611 [BZ #14157]
11612 [BZ #14331]
11613 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11614 could result in spurious underflow. Scale down values above
11615 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11616 * math/s_csqrtf.c (__csqrtf): Likewise.
11617 * math/s_csqrtl.c (__csqrtl): Likewise.
11618 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11619 spurious underflow.
11620 * sysdeps/i386/fpu/libm-test-ulps: Update.
11621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11622
11623 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11624
11625 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11626 xopen-msg.sed.
11627 * catgets/xopen-msg.awk: New file.
11628 * catgets/xopen-msg.sed: Removed.
11629
11630 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11631 po2text.sed.
11632 * intl/po2test.awk: New file.
11633 * intl/po2test.sed: Removed.
11634
11635 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11636
11637 [BZ #14328]
11638 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11639 or multiply small sinh result by itself.
11640 * math/s_ctanf.c (__ctanf): Likewise.
11641 * math/s_ctanh.c (__ctanh): Likewise.
11642 * math/s_ctanhf.c (__ctanhf): Likewise.
11643 * math/s_ctanhl.c (__ctanhl): Likewise.
11644 * math/s_ctanl.c (__ctanl): Likewise.
11645 * math/libm-test.inc (ctan_test_tonearest): New function.
11646 (ctan_test_towardzero): Likewise.
11647 (ctan_test_downward): Likewise.
11648 (ctan_test_upward): Likewise.
11649 (ctanh_test_tonearest): Likewise.
11650 (ctanh_test_towardzero): Likewise.
11651 (ctanh_test_downward): Likewise.
11652 (ctanh_test_upward): Likewise.
11653 (main): Call these new functions.
11654 * sysdeps/i386/fpu/libm-test-ulps: Update.
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656
11657 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11658
11659 * .gitignore: Delete /ports entry.
11660
11661 2012-07-03 Andreas Jaeger <aj@suse.de>
11662
11663 * po/bg.po: Update from translation team.
11664 * po/cs.po: Likewise.
11665 * po/de.po: Likewise.
11666 * po/hr.po: Likewise.
11667 * po/nl.pl: Likewise.
11668 * po/pl.po: Likewise.
11669 * po/vi.po: Likewise.
11670
11671 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11672
11673 * Makeconfig [!+link] (+link-before-libc): New variable.
11674 [!+link] (+link-after-libc): Likewise.
11675 [!+link] (+link-tests): Likewise.
11676 [!+link] (+link): Define in terms of $(+link-before-libc) and
11677 $(+link-after-libc).
11678 [!+link-static] (+link-static-before-libc): New variable.
11679 [!+link-static] (+link-static-after-libc): Likewise.
11680 [!+link-static] (+link-static-tests): Likewise.
11681 [!+link-static] (+link-static): Define in terms of
11682 $(+link-static-before-libc) and $(+link-static-after-libc).
11683 [build-shared] (link-libc-before-gnulib): New variable.
11684 [build-shared] (link-libc-tests): Likewise.
11685 [build-shared] (link-libc): Define in terms of
11686 $(link-libc-before-gnulib).
11687 [!build-shared] (link-libc-tests): New variable.
11688 (link-libc-static-tests): New variable.
11689 [!gnulib] (gnulib-arch): New variable.
11690 [!gnulib] (gnulib-tests): Likewise.
11691 [!gnulib] (static-gnulib-arch): Likewise.
11692 [!gnulib] (static-gnulib-tests): Likewise.
11693 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11694 Define with "=" instead of ":=".
11695 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11696 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11697 * Rules (binaries-all-notests): New variable.
11698 (binaries-all-tests): Likewise.
11699 (binaries-static-notests): Likewise.
11700 (binaries-static-tests): Likewise.
11701 (binaries-all): Define using $(binaries-all-notests) and
11702 $(binaries-all-tests).
11703 (binaries-static): Define using $(binaries-static-notests) and
11704 $(binaries-static-tests).
11705 (binaries-shared-tests): New variable.
11706 (binaries-shared-notests): Likewise.
11707 (binaries-shared): Remove variable.
11708 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11709 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11710 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11711 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11712 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11713 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11714 * elf/Makefile (sln-modules): New variable.
11715 (extra-objs): Add $(sln-modules:=.o).
11716 (ldconfig-modules): Add static-stubs.
11717 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11718 * elf/static-stubs.c: New file.
11719
11720 [BZ #14283]
11721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11722 by 7 not 8 to examine high bit of fractional part. Use volatile
11723 variables when splitting into final array of floats if
11724 __FLT_EVAL_METHOD__ != 0.
11725 * math/libm-test.inc (cos_test): Add another test.
11726 (sin_test): Likewise.
11727 * sysdeps/i386/fpu/libm-test-ulps: Update.
11728
11729 [BZ #14273]
11730 * math/libm-test.inc (cosh_test): Add more tests.
11731
11732 * version.h (RELEASE): Set to "development".
11733 (VERSION): Set to "2.16.90".
11734
11735 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11736
11737 * NEWS: Update copyright. Remove last-updated date.
11738 Mention math library bug fixes and timezone data changes.
11739 * README: Mention GNU/Hurd, x32, and HPPA support status.
11740
11741 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11742
11743 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11744
11745 2012-06-27 Andreas Jaeger <aj@suse.de>
11746
11747 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11748
11749 2012-06-25 Andreas Jaeger <aj@suse.de>
11750
11751 * sysdeps/s390/fpu/libm-test-ulps: Update.
11752
11753 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11754 Thomas Schwinge <thomas@codesourcery.com>
11755
11756 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11757 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11759 fanotify_mark.
11760
11761 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11762
11763 * sysdeps/mach/start.c: Remove file.
11764 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11765 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11766 * sysdeps/sh/init-first.c: Likewise.
11767
11768 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11769 registers for frame unwinding purposes, add CFI directives.
11770 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11771 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11772 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11773 Likewise.
11774
11775 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11776 __fortify_fail returning.
11777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11778
11779 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11780 sysdeps/sh/____longjmp_chk.S.
11781 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11782 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11783 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11784 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11785
11786 * sysdeps/sh/abort-instr.h: New file.
11787 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11788 process in case exit returns.
11789
11790 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11791 initialize the GOT register before use.
11792
11793 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11794 calculation of ARGC > 4.
11795
11796 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11797 meaningful names to some local labels.
11798
11799 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11800 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11801
11802 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11803 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11804 (__arch_compare_and_exchange_val_16_acq): Likewise.
11805 (__arch_compare_and_exchange_val_32_acq): Likewise.
11806 (atomic_exchange_and_add): Fix gUSA sequence.
11807 (atomic_add): Likewise.
11808 (atomic_add_negative): Likewise.
11809 (atomic_add_zero): Likewise.
11810 (atomic_bit_test_set): Likewise.
11811
11812 2012-06-22 Andreas Schwab <schwab@redhat.com>
11813
11814 [BZ #13579]
11815 * include/link.h (struct link_map): Add l_free_initfini.
11816 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11817 l_initfini.
11818 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11819 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11820 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11821 set.
11822
11823 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11824
11825 * configure.in: Use AC_LANG_SOURCE.
11826 * configure: Regenerate.
11827
11828 2012-06-22 Roland McGrath <roland@hack.frob.com>
11829
11830 * configure.in (libc_cv_localstatedir): New substituted variable.
11831 * configure: Regenerated.
11832 * config.make.in (localstatedir): New variable, substituted from
11833 libc_cv_localstatedir.
11834 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11835 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11836 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11837 * sysdeps/gnu/configure: Regenerated.
11838
11839 2012-06-21 Jeff Law <law@redhat.com>
11840
11841 [BZ #14277]
11842 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11843 free. Simplify list management for _LIBC case.
11844
11845 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11846
11847 [BZ #14273]
11848 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11849 Clear sign bit of 64-bit integer value before comparing against
11850 overflow value.
11851
11852 * sysdeps/mach/configure: Regenerated.
11853
11854 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11855
11856 [BZ #14278]
11857 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11858
11859 2012-06-21 Jeff Law <law@redhat.com>
11860
11861 [BZ #13882]
11862 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11863 uint16_t for elements in the "seen" array to avoid char overflows.
11864 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11865 * elf/dl-open.c (dl_open_worker): Likewise.
11866
11867 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11868
11869 * scripts/list-sources.sh: Scan PORTS for translations.
11870 * po/libc.pot: Regenerated.
11871
11872 2012-06-21 Andreas Jaeger <aj@suse.de>
11873
11874 [BZ #12194]
11875 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11876 warning.
11877 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11878 * bits/byteswap-16.h (__bswap_16): Likewise.
11879 * bits/byteswap.h (__bswap_constant_16): Likewise.
11880
11881 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 [BZ #14117]
11884 * sysdeps/i386/fpu_control.h: Removed.
11885 * sysdeps/x86_64/fpu_control.h: Moved to ...
11886 * sysdeps/x86/fpu_control.h: Here.
11887
11888 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11889 (_FPU_SETCW): Likewise.
11890
11891 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 [BZ #14117]
11894 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11895 * sysdeps/x86/fpu/bits/mathinline.h: This.
11896 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11897
11898 [BZ #14050]
11899 [BZ #14117]
11900 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11901 functions if __x86_64__ is defined.
11902
11903 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11904
11905 * string/endian.h: Add !__ASSEMBLER__ condition for including
11906 conversion interfaces.
11907
11908 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #14241]
11911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11912 of ABS(x) in calculating zero to negative powers other than odd
11913 integers.
11914 * math/libm-test.inc (pow_test): Add more tests.
11915
11916 2012-06-15 Andreas Jaeger <aj@suse.de>
11917
11918 * manual/contrib.texi (Contributors): Update entry of Liubov
11919 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11920 Machado Filho.
11921
11922 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11923
11924 * string/string.h: Add __wur to GNU version of strerror_r.
11925
11926 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 [BZ #14229]
11929 * string/Makefile (tests): Add tst-strtok_r.
11930 * string/tst-strtok_r.c: New file.
11931 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11932 RAX_LP/RDX_LP on SAVE_PTR.
11933
11934 2012-06-14 Roland McGrath <roland@hack.frob.com>
11935
11936 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11937
11938 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11939
11940 * libm_test.inc (csqrt_test): Allow more spurious underflow
11941 exceptions.
11942 (j0_test): Likewise.
11943 (j1_test): Likewise.
11944 (y0_test): Likewise.
11945 (y1_test): Likewise.
11946
11947 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11948
11949 * po/Makefile (libc.pot): Use UTF-8 charset.
11950
11951 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11952
11953 [BZ #14210]
11954 Suppress sign-conversion warning from FD_SET.
11955 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11956 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11957 not unsigned long int.
11958 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11959
11960 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 [BZ #14050]
11963 [BZ #14117]
11964 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11965 __extern_always_inline instead of __extern_inline.
11966 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11967 (__signbit): Likewise.
11968 (__signbitl): Support C++ namespace.
11969 (lrintf): New inline function.
11970 (lrint): Likewise.
11971 (llrintf): Likewise.
11972 (llrint): Likewise.
11973 (fmaxf): Likewise.
11974 (fmax): Likewise.
11975 (fminf): Likewise.
11976 (fmin): Likewise.
11977 (rint): Likewise.
11978 (rintf): Likewise.
11979 (ceil): Likewise.
11980 (ceilf): Likewise.
11981 (floor): Likewise.
11982 (floorf): Likewise.
11983 (nearbyint): Likewise.
11984 (nearbyintf): Likewise.
11985
11986 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11987
11988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11989 non-default versions.
11990
11991 2012-06-11 Roland McGrath <roland@hack.frob.com>
11992
11993 [BZ #14218]
11994 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11995
11996 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11997
11998 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11999 (FE_UPWARD, FE_DOWNWARD): Don't define.
12000 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12001 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12002
12003 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12004 reading it.
12005 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12006 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12007
12008 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12009
12010 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12012 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12013 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12014
12015 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12016
12017 [BZ #14117]
12018 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12019 * sysdeps/i386/fpu/Implies: New file.
12020 * sysdeps/x86_64/fpu/Implies: Likewise.
12021 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12022 * sysdeps/x86/fpu/bits/fenv.h: This.
12023
12024 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12025 __SSE_MATH__.
12026
12027 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12028
12029 [BZ #14134]
12030 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12031 character 0xffff that matches the last element of the
12032 conversion table.
12033
12034 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12035
12036 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12037 fmodl commit.
12038
12039 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12040
12041 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12042 values higher than 25.6283.
12043
12044 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12045
12046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12047 subnormal exponent extraction and add some __builtin_expect.
12048 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12049 Fix for subnormal mantissa calculation.
12050
12051 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12052
12053 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12054 cpu2 is -1 and errno is not ENOSYS.
12055
12056 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 [BZ #14117]
12059 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12060 * sysdeps/x86/bits/string.h: This.
12061 * sysdeps/x86_64/bits/string.h: Removed.
12062
12063 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12064 if not compiling for x86-64, but compiling for >= i486.
12065
12066 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12067 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12068
12069 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12070 New macro from Linux kernel 3.4.0.
12071 (FP_XSTATE_MAGIC2): Likewise.
12072 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12073 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12074 (struct _fpx_sw_bytes): New struct.
12075 (struct _xsave_hdr): Likewise.
12076 (struct _ymmh_state): Likewise.
12077 (struct _xstate): Likewise.
12078
12079 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12080 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12082 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12083 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12084 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12085
12086 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12087 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12088 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12089 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12090 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12091 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12092
12093 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12094
12095 [BZ #13743]
12096 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12097 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12098 (sysdep_headers): Include sys/platform/ppc.h.
12099 * sysdeps/powerpc/test-gettimebase.c: Test for
12100 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12101 * manual/Makefile (appendices): Include platform.texi.
12102 * manual/contrib.texi (Contributors): Update @node pointers.
12103 * manual/maint.texi (Maintenance): Likewise.
12104 (Platform): New node.
12105 * manual/platform.texi: New file. Document the new features.
12106
12107 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12108 Jakub Jelinek <jakub@redhat.com>
12109
12110 [BZ #14188]
12111 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12112 where __builtin_expect is unavailable.
12113
12114 2012-06-03 David S. Miller <davem@davemloft.net>
12115
12116 * stdlib/longlong.h: Updated from GCC.
12117
12118 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12119
12120 [BZ #14042]
12121 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12122 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12123 __mcount_internal.
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12125 (GLIBC_2.16): Likewise.
12126
12127 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12128
12129 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12130
12131 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12132
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12134 (default-abi): New variable.
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12136 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12137 variable.
12138 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12139 Likewise.
12140 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12141 Likewise.
12142 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12143 Likewise.
12144
12145 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12146 definition. Document in comment.
12147
12148 2012-06-01 David S. Miller <davem@davemloft.net>
12149
12150 * stdlib/longlong.h: Updated from GCC.
12151
12152 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 [BZ #14117]
12155 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12156 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12157 sys/debugreg.h sys/io.h here.
12158 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12159 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12160 sys/io.h.
12161 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12162 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12163 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12164 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12165 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12166 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12167
12168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12169 Define only if __x86_64__ is defined.
12170
12171 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12172
12173 [BZ #14048]
12174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12175 Use int64_t for variable i.
12176 * math/libm-test.inc (fmod_test): Add more tests.
12177
12178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12179 z computation is not scheduled after fetestexcept.
12180 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12181 Use math_force_eval instead of asm to ensure calculation scheduled
12182 before exception test.
12183 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12184 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12185
12186 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12187
12188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12189 computation is not scheduled after fetestexcept.
12190
12191 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12192
12193 [BZ #14117]
12194 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12195 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12196
12197 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198
12199 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12200 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12201
12202 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12203
12204 [BZ #14117]
12205 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12206 <bits/wordsize.h>.
12207 (__WCHAR_MIN): Support __WORDSIZE == 64.
12208 (__WCHAR_MAX): Likewise.
12209
12210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12211 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12212
12213 [BZ #14183]
12214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12215 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12216
12217 [BZ #14117]
12218 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12220
12221 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12222 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12223
12224 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12225 Defined to 1 if __x86_64__ isn't defined.
12226 (_STAT_VER_LINUX_OLD): New.
12227 (st_atime): Remove duplicate.
12228 (st_mtime): Likewise.
12229 (st_ctime): Likewise.
12230
12231 2012-05-31 David S. Miller <davem@davemloft.net>
12232
12233 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12234 entries.
12235
12236 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12237
12238 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12239 gen-libm-test.pl.
12240
12241 [BZ #14132]
12242 * elf/dl-reloc.c: Include <_itoa.h>.
12243 (_dl_reloc_bad_type): Remove use of INTUSE.
12244 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12245 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12246 * stdio-common/psiginfo.c (psiginfo): Likewise.
12247 * stdio-common/psignal.c (psignal): Likewise.
12248 * string/strsignal.c (strsignal): Likewise.
12249 * include/signal.h (_sys_siglist): Declare hidden proto.
12250 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12251 INTVARDEF with libc_hidden_data_def.
12252 * stdio-common/itoa-udigits.c: Likewise.
12253 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12254 (_itoa_lower_digits_internal): Remove declaration.
12255 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12256 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12257 (_sys_sigabbrev_internal): Remove aliases.
12258 (_sys_siglist): Define hidden alias.
12259
12260 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12261
12262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12263 bits/sysctl.h.
12264
12265 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 [BZ #14117]
12268 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12269 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12270
12271 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12273 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12274 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12275 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12276 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12277
12278 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12279 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12280 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12281
12282 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12283 with __addr.
12284 (insw): Likewise.
12285 (insl): Likewise.
12286 (outsb): Likewise.
12287 (outsw): Likewise.
12288 (outsl): Likewise.
12289
12290 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12291 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12292 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12293
12294 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12295 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12296 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12297 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12298 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12299 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12300
12301 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12302 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12303
12304 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12305 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12306
12307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12310
12311 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12312 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12313 to ...
12314 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12315
12316 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12317 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12318 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12319
12320 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12321 for x86-64.
12322 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12323
12324 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12325
12326 * math/math.h (M_El): Use two more decimal places.
12327 (M_LOG2El): Likewise.
12328 (M_LOG10El): Likewise.
12329 (M_LN2l): Likewise.
12330 (M_LN10l): Likewise.
12331 (M_PIl): Likewise.
12332 (M_PI_2l): Likewise.
12333 (M_PI_4l): Likewise.
12334 (M_1_PIl): Likewise.
12335 (M_2_PIl): Likewise.
12336 (M_2_SQRTPIl): Likewise.
12337 (M_SQRT2l): Likewise.
12338 (M_SQRT1_2l): Likewise.
12339
12340 2012-05-31 David S. Miller <davem@davemloft.net>
12341
12342 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12343 values between float registers.
12344 * sysdeps/sparc/sparc64/memset.S: Likewise.
12345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12346
12347 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12348
12349 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12350 -D_FORTIFY_SOURCE=1.
12351 (CPPFLAGS-tst-longjmp_chk.c): Define.
12352 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12353 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12354 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12355 CFLAGS-tst-wchar-h.c.
12356
12357 2012-05-31 Marek Polacek <polacek@redhat.com>
12358
12359 [BZ #14132]
12360 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12361 __endmntent_internal): Remove declaration.
12362 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12363 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12364 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12365
12366 2012-05-30 David S. Miller <davem@davemloft.net>
12367
12368 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12369 (___Q_simulate_exceptions): Use real FP ops rather than writing
12370 into the %fsr.
12371 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12372 Likewise.
12373
12374 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 [BZ #14117]
12377 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12378 * sysdeps/x86/bits/xtitypes.h: This.
12379
12380 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12381 * sysdeps/x86/bits/wordsize.h: This.
12382
12383 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12384 * sysdeps/x86/bits/huge_vall.h: This.
12385
12386 * sysdeps/i386/bits/select.h: Removed.
12387 * sysdeps/x86_64/bits/select.h: Renamed to ...
12388 * sysdeps/x86/bits/select.h: This.
12389
12390 * sysdeps/i386/bits/setjmp.h: Removed.
12391 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12392 * sysdeps/x86/bits/setjmp.h: This.
12393
12394 * sysdeps/i386/bits/mathdef.h: Removed.
12395 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12396 * sysdeps/x86/bits/mathdef.h: This.
12397
12398 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12399
12400 [BZ #14132]
12401 * include/sys/socket.h (__connect_internal)
12402 (__libc_sa_len_internal): Remove declaration.
12403 (__connect, __libc_sa_len): Declare hidden_proto.
12404 (SA_LEN): Remove use of INTUSE.
12405 * socket/connect.c: Add libc_hidden_def.
12406 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12407 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12408 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12409 alias.
12410 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12411 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12412 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12413 of adding _internal alias.
12414
12415 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 [BZ #14117]
12418 * sysdeps/i386/bits/link.h: Removed.
12419 * sysdeps/i386/bits/linkmap.h: Likewise.
12420 * sysdeps/x86_64/bits/link.h: Renamed to ...
12421 * sysdeps/x86/bits/link.h: This.
12422 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12423 * sysdeps/x86/bits/linkmap.h: This.
12424
12425 * sysdeps/i386/bits/endian.h: Removed.
12426 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12427 * sysdeps/x86/bits/endian.h: This.
12428
12429 * sysdeps/i386/bits/byteswap.h: Removed.
12430 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12431 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12432 * sysdeps/x86/bits/byteswap.h: This.
12433 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12434 * sysdeps/x86/bits/byteswap-16.h: This.
12435 * sysdeps/i386/Implies: Add x86.
12436 * sysdeps/x86_64/Implies: Likewise.
12437
12438 2012-05-30 David S. Miller <davem@davemloft.net>
12439
12440 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12441 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12443 (FP_TRAPPING_EXCEPTIONS): Define.
12444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12445 (FP_TRAPPING_EXCEPTIONS): Define.
12446 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12447 subnormals only when inexact has been signalled or underflow
12448 exceptions are enabled.
12449 (_FP_PACK_CANONICAL): Likewise.
12450
12451 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 [BZ #14183]
12454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12455 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12456
12457 2012-05-30 Richard Henderson <rth@twiddle.net>
12458
12459 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12460 with #ifndef NOT_IN_libc.
12461
12462 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12463 marked to avoid plt entry.
12464
12465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12466
12467 [BZ #14112]
12468 * Makeconfig (default-abi): New macro.
12469 (abi-includes): Likewise.
12470 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12471 $(abi-$(default-abi)-lib-soname) for soname if defined.
12472 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12473 abi-variants.
12474 * Makefile (installed-stubs): Likewise.
12475 * include/stubs-biarch.h: Removed.
12476 * scripts/lib-names.awk: Only handle one library at a time.
12477 * scripts/soversions.awk: Remove WORDSIZE support.
12478 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12479 entries.
12480 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12481 Removed.
12482 (syscall-list-default-condition): Likewise.
12483 (syscall-list-default-condition): Likewise.
12484 (syscall-list-includes): Likewise.
12485 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12486 syscall-list-* with abi-*. Handle undefined abi-variants.
12487 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12488 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12489 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12490 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12491 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12492 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12493 Removed.
12494 (syscall-list-32-options): Likewise.
12495 (syscall-list-32-condition): Likewise.
12496 (syscall-list-64-options): Likewise.
12497 (syscall-list-64-condition): Likewise.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12499 macro.
12500 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12501 Renamed to ...
12502 (abi-*): This.
12503 (abi-64-ld-soname): New macro.
12504 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12505 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12506 Renamed to ...
12507 (abi-*): This.
12508 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12509 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12510
12511 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12512
12513 * sysdeps/unix/sysv/linux/kernel-features.h
12514 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12515 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12516 include <kernel-features.h>.
12517 [!__NR_ftruncate64]: Remove conditional code.
12518 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12519 [__NR_ftruncate64]: Make code unconditional.
12520 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12521 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12522 include <kernel-features.h>.
12523 [!__NR_ftruncate64]: Remove conditional code.
12524 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12525 [__NR_ftruncate64]: Make code unconditional.
12526 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12528 include <kernel-features.h>.
12529 [!__NR_ftruncate64]: Remove conditional code.
12530 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12531 [__NR_ftruncate64]: Make code unconditional.
12532 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12534 include <kernel-features.h>.
12535 [!__NR_ftruncate64]: Remove conditional code.
12536 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12537 [__NR_ftruncate64]: Make code unconditional.
12538 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12539
12540 * configure.in (libc_cv_fpie): Weaken to a compile test using
12541 LIBC_TRY_CC_OPTION.
12542 * configure: Regenerated.
12543
12544 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12545
12546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12550 Refreshed.
12551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12557 Refreshed.
12558
12559 2012-05-27 David S. Miller <davem@davemloft.net>
12560
12561 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12562 (___Q_zero): New.
12563 (__Q_simulate_exceptions): Return void. Change to simulate
12564 exceptions by writing into the %fsr.
12565 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12566 (__Qp_handle_exceptions): Likewise.
12567 (numbers): Delete.
12568 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12569 __Qp_handle_exceptions.
12570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12571 __Qp_handle_exceptions.
12572 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12573 as unused and give dummy FP_RND_NEAREST initializer.
12574 (FP_INHIBIT_RESULTS): Define.
12575 (___Q_simulate_exceptions): Update declaration.
12576 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12577 formatting.
12578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12579 as unused and give dummy FP_RND_NEAREST initializer.
12580 (__Qp_handle_exceptions): Update declaration.
12581 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12582 formatting.
12583
12584 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12585
12586 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12587 the temporary FPU control word.
12588 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12589 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12591 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12592 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12593 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12594 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12595 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12596 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12597 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12598 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12599
12600 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12601
12602 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12603 fields.
12604
12605 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12606
12607 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12608 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12609 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12610 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12611 Likewise.
12612 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12613 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12614 Likewise.
12615
12616 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12617
12618 * po/h.po: Update from translation team.
12619
12620 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12621
12622 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12623
12624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12625 handling of denormals.
12626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12627 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12628 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12629 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12633 Likewise.
12634
12635 2012-05-26 Marek Polacek <polacek@redhat.com>
12636
12637 [BZ #14152]
12638 * math/libm-test.inc (fma_test): Don't always expect underflow
12639 exception.
12640
12641 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12642
12643 [BZ #12416]
12644 * elf/tst-execstack.c: Include stackinfo.h.
12645 (do_test): Adjust test case to ensure that pthread_getattr_np
12646 behaviour remains the same after marking stack executable.
12647
12648 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12649
12650 * sysdeps/unix/sysv/linux/kernel-features.h
12651 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12652 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12653 kernel-features.h.
12654 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12655 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12656 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12657 kernel-features.h.
12658 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12659 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12660
12661 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 * configure.in: Define the default includes to being none.
12664 * configure: Regenerated.
12665
12666 2012-05-25 Roland McGrath <roland@hack.frob.com>
12667
12668 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12669 * sysdeps/x86_64/setjmp.S: Likewise.
12670 * sysdeps/i386/bsd-setjmp.S: Likewise.
12671 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12672 * sysdeps/i386/setjmp.S: Likewise.
12673 * sysdeps/i386/__longjmp.S: Likewise.
12674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12675 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12676
12677 * include/stap-probe.h: New file.
12678 * configure.in: Handle --enable-systemtap.
12679 * configure: Regenerated.
12680 * config.h.in (USE_STAP_PROBE): New #undef.
12681 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12682 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12683 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12684
12685 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12686
12687 [BZ #13717]
12688 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12689 to 2.4.0 where earlier.
12690 * sysdeps/unix/sysv/linux/configure: Regenerated.
12691 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12692 <kernel-features.h>.
12693 [__ASSUME_32BITUIDS]: Make code unconditional.
12694 [!__ASSUME_32BITUIDS]: Remove conditional code.
12695 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12696 <kernel-features.h>.
12697 [__ASSUME_32BITUIDS]: Make code unconditional.
12698 [!__ASSUME_32BITUIDS]: Remove conditional code.
12699 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12700 [__ASSUME_32BITUIDS]: Make code unconditional.
12701 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12702 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12703 <kernel-features.h>.
12704 [__ASSUME_32BITUIDS]: Make code unconditional.
12705 [!__ASSUME_32BITUIDS]: Remove conditional code.
12706 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12707 <kernel-features.h>.
12708 [__ASSUME_32BITUIDS]: Make code unconditional.
12709 [!__ASSUME_32BITUIDS]: Remove conditional code.
12710 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12711 <kernel-features.h>.
12712 [__ASSUME_32BITUIDS]: Make code unconditional.
12713 [!__ASSUME_32BITUIDS]: Remove conditional code.
12714 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12715 <kernel-features.h>.
12716 [__ASSUME_32BITUIDS]: Make code unconditional.
12717 [!__ASSUME_32BITUIDS]: Remove conditional code.
12718 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12719 <kernel-features.h>.
12720 [__ASSUME_32BITUIDS]: Make code unconditional.
12721 [!__ASSUME_32BITUIDS]: Remove conditional code.
12722 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12723 <kernel-features.h>.
12724 [__ASSUME_32BITUIDS]: Make code unconditional.
12725 [!__ASSUME_32BITUIDS]: Remove conditional code.
12726 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12727 <kernel-features.h>.
12728 [__ASSUME_32BITUIDS]: Make code unconditional.
12729 [!__ASSUME_32BITUIDS]: Remove conditional code.
12730 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12731 <kernel-features.h>.
12732 [__ASSUME_32BITUIDS]: Make code unconditional.
12733 [!__ASSUME_32BITUIDS]: Remove conditional code.
12734 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12735 <kernel-features.h>.
12736 [__ASSUME_32BITUIDS]: Make code unconditional.
12737 [!__ASSUME_32BITUIDS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12739 <kernel-features.h>.
12740 [__ASSUME_32BITUIDS]: Make code unconditional.
12741 [!__ASSUME_32BITUIDS]: Remove conditional code.
12742 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12743 <kernel-features.h>.
12744 [__NR_setresgid] (__setresgid): Do not declare.
12745 [__ASSUME_32BITUIDS]: Make code unconditional.
12746 [!__ASSUME_32BITUIDS]: Remove conditional code.
12747 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12748 <kernel-features.h>.
12749 [__NR_setresuid] (__setresuid): Do not declare.
12750 [__ASSUME_32BITUIDS]: Make code unconditional.
12751 [!__ASSUME_32BITUIDS]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12753 <kernel-features.h>.
12754 [__ASSUME_32BITUIDS]: Make code unconditional.
12755 [!__ASSUME_32BITUIDS]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12757 <kernel-features.h>.
12758 [__ASSUME_32BITUIDS]: Make code unconditional.
12759 [!__ASSUME_32BITUIDS]: Remove conditional code.
12760 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12761 <kernel-features.h>.
12762 [__ASSUME_32BITUIDS]: Make code unconditional.
12763 [!__ASSUME_32BITUIDS]: Remove conditional code.
12764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12765 <kernel-features.h>.
12766 [__ASSUME_32BITUIDS]: Make code unconditional.
12767 [!__ASSUME_32BITUIDS]: Remove conditional code.
12768 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12769 <kernel-features.h>.
12770 [__ASSUME_32BITUIDS]: Make code unconditional.
12771 [!__ASSUME_32BITUIDS]: Remove conditional code.
12772 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12773 <kernel-features.h>.
12774 [__ASSUME_32BITUIDS]: Make code unconditional.
12775 [!__ASSUME_32BITUIDS]: Remove conditional code.
12776 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12777 <kernel-features.h>.
12778 [__ASSUME_32BITUIDS]: Make code unconditional.
12779 [!__ASSUME_32BITUIDS]: Remove conditional code.
12780 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12781 <kernel-features.h>.
12782 [__ASSUME_32BITUIDS]: Make code unconditional.
12783 [!__ASSUME_32BITUIDS]: Remove conditional code.
12784 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12785 <kernel-features.h>.
12786 [__ASSUME_32BITUIDS]: Make code unconditional.
12787 [!__ASSUME_32BITUIDS]: Remove conditional code.
12788 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/kernel-features.h
12793 (__ASSUME_SETRESUID_SYSCALL): Remove.
12794 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12795 (__ASSUME_32BITUIDS): Likewise.
12796 (__ASSUME_LDT_WORKS): Likewise.
12797 (__ASSUME_O_DIRECTORY): Likewise.
12798 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12799 architecture but not kernel version.
12800 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12801 (__ASSUME_MMAP2_SYSCALL): Likewise.
12802 (__ASSUME_STAT64_SYSCALL): Likewise.
12803 (__ASSUME_IPC64): Likewise.
12804 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12805 <kernel-features.h>.
12806 [__ASSUME_32BITUIDS]: Make code unconditional.
12807 [!__ASSUME_32BITUIDS]: Remove conditional code.
12808 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12809 <kernel-features.h>.
12810 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12811 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12812 132096]: Remove conditional code.
12813 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12815 <kernel-features.h>.
12816 [__ASSUME_32BITUIDS]: Make code unconditional.
12817 [!__ASSUME_32BITUIDS]: Remove conditional code.
12818 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12819 <kernel-features.h>.
12820 [__ASSUME_32BITUIDS]: Make code unconditional.
12821 [!__ASSUME_32BITUIDS]: Remove conditional code.
12822 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12823 <kernel-features.h>.
12824 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12825 unconditional.
12826 (__setresgid): Do not declare.
12827 [__ASSUME_32BITUIDS]: Make code unconditional.
12828 [!__ASSUME_32BITUIDS]: Remove conditional code.
12829 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12830 <kernel-features.h>.
12831 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12832 unconditional.
12833 (__setresuid): Do not declare.
12834 [__ASSUME_32BITUIDS]: Make code unconditional.
12835 [!__ASSUME_32BITUIDS]: Remove conditional code.
12836 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12837 <kernel-features.h>.
12838 [__ASSUME_32BITUIDS]: Make code unconditional.
12839 [!__ASSUME_32BITUIDS]: Remove conditional code.
12840 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844
12845 2012-05-25 Richard Henderson <rth@twiddle.net>
12846
12847 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12848 dl_hwcap to ifunc resolver.
12849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12850 elf_ifunc_invoke.
12851 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12852 dl_hwcap to ifunc resolver.
12853 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12854
12855 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12856
12857 [BZ #14153]
12858 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12859 for |x| <= 2**-26, not 2**-57.
12860 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12861 exception.
12862
12863 2012-05-24 Jeff Law <law@redhat.com>
12864
12865 * stdio-common/Makefile (tests): Add bug25.
12866 * stdio-common/bug25.c: New test.
12867
12868 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12869
12870 [BZ #13576]
12871 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12872 multiple of MALLOC_ALIGNMENT in size.
12873 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12874
12875 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12876
12877 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12878 Require >= 256.
12879 (FILENAME_MAX): Use macro-int-constant.
12880 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12881 (_IOFBF): Use macro-int-constant.
12882 (_IOLBF): Likewise.
12883 (_IONBF): Likewise.
12884 (SEEK_CUR): Likewise.
12885 (SEEK_END): Likewise.
12886 (SEEK_SET): Likewise.
12887 (TMP_MAX): Likewise.
12888 (EOF): Use macro-int-constant. Require < 0.
12889 (NULL): Use macro-constant. Require == 0.
12890 (stdin): Require type to be FILE *.
12891 (stdout): Likewise.
12892 (stderr): Likewise.
12893 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12894 macro-int-constant.
12895 (EXIT_SUCCESS): Likewise.
12896 (NULL): Use macro-constant. Require == 0.
12897 (RAND_MAX): Use macro-int-constant.
12898 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12899 [C99-based standards] (strtof): Require function.
12900 [C99-based standards] (strtold): Likewise.
12901 [C99-based standards] (strtoll): Likewise.
12902 [C99-based standards] (strtoull): Likewise.
12903 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12904 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12905 [ISO || ISO99 || ISO11] (math.h): Likewise.
12906 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12907 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12909
12910 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12911
12912 [BZ #14132]
12913 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12914 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12915 * intl/dgettext.c (DCGETTEXT): Likewise.
12916 * intl/gettext.c (DCGETTEXT): Likewise.
12917 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12918 * posix/regex_internal.h (gettext): Likewise.
12919 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12920 Remove declaration.
12921 * include/argz.h (__argz_count_internal)
12922 (__argz_stringify_internal): Remove declaration.
12923 (__argz_count, __argz_stringify): Declare hidden proto.
12924 * intl/dcgettext.c: Remove use of INTDEF.
12925 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12926 * string/argz-stringify.c: Likewise.
12927 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12928 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12929 Declare hidden proto.
12930 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12931 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12932 Declare hidden proto.
12933 * include/stdio.h (__asprintf_internal): Don't declare.
12934 (__asprintf): Don't define as macro. Declare hidden proto.
12935 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12936 (__fsetlocking): Declare hidden proto.
12937 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12938 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12939 hidden proto.
12940 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12941 (_IO_setlinebuf): Remove use of INTUSE.
12942 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12943 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12944 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12945 Remove declaration.
12946 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12947 (_IO_do_flush): Remove use of INTUSE.
12948 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12949 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12950 (_IO_adjust_column, _IO_least_wmarker)
12951 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12952 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12953 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12954 (_IO_default_doallocate, _IO_wdefault_doallocate)
12955 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12956 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12957 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12958 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12959 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12960 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12961 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12962 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12963 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12964 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12965 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12966 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12967 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12968 proto.
12969 (_IO_flush_all_internal, _IO_adjust_column_internal)
12970 (_IO_default_uflow_internal, _IO_default_finish_internal)
12971 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12972 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12973 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12974 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12975 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12976 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12977 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12978 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12979 (_IO_file_close_internal, _IO_file_close_it_internal)
12980 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12981 (_IO_file_init_internal, _IO_file_attach_internal)
12982 (_IO_file_fopen_internal, _IO_file_read_internal)
12983 (_IO_file_sync_internal, _IO_file_seek_internal)
12984 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12985 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12986 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12987 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12988 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12989 (_IO_list_all_internal, _IO_link_in_internal)
12990 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12991 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12992 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12993 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12994 (_IO_do_write_internal, _IO_padn_internal)
12995 (_IO_getline_info_internal, _IO_getline_internal)
12996 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12997 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12998 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12999 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13000 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13001 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13002 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13003 with libc_hidden_ver, remove use of INTUSE.
13004 * libio/genops.c: Likewise.
13005 * libio/freopen.c: Likewise.
13006 * libio/freopen64.c: Likewise.
13007 * libio/iofclose.c: Likewise.
13008 * libio/iofdopen.c: Likewise.
13009 * libio/iofflush.c: Likewise.
13010 * libio/iofflush_u.c: Likewise.
13011 * libio/iofgets.c: Likewise.
13012 * libio/iofgets_u.c: Likewise.
13013 * libio/iofopen.c: Likewise.
13014 * libio/iofopncook.c: Likewise.
13015 * libio/iofread.c: Likewise.
13016 * libio/iofread_u.c: Likewise.
13017 * libio/ioftell.c: Likewise.
13018 * libio/iofwrite.c: Likewise.
13019 * libio/iogetline.c: Likewise.
13020 * libio/iogets.c: Likewise.
13021 * libio/iogetwline.c: Likewise.
13022 * libio/iopadn.c: Likewise.
13023 * libio/iopopen.c: Likewise.
13024 * libio/ioseekoff.c: Likewise.
13025 * libio/ioseekpos.c: Likewise.
13026 * libio/iosetbuffer.c: Likewise.
13027 * libio/iosetvbuf.c: Likewise.
13028 * libio/ioungetc.c: Likewise.
13029 * libio/ioungetwc.c: Likewise.
13030 * libio/iovdprintf.c: Likewise.
13031 * libio/iovsprintf.c: Likewise.
13032 * libio/iovsscanf.c: Likewise.
13033 * libio/memstream.c: Likewise.
13034 * libio/obprintf.c: Likewise.
13035 * libio/oldfileops.c: Likewise.
13036 * libio/oldiofclose.c: Likewise.
13037 * libio/oldiofdopen.c: Likewise.
13038 * libio/oldiofopen.c: Likewise.
13039 * libio/oldiopopen.c: Likewise.
13040 * libio/oldstdfiles.c: Likewise.
13041 * libio/putc.c: Likewise.
13042 * libio/setbuf.c: Likewise.
13043 * libio/setlinebuf.c: Likewise.
13044 * libio/stdfiles.c: Likewise.
13045 * libio/strops.c: Likewise.
13046 * libio/vasprintf.c: Likewise.
13047 * libio/vscanf.c: Likewise.
13048 * libio/vsnprintf.c: Likewise.
13049 * libio/vswprintf.c: Likewise.
13050 * libio/wfiledoalloc.c: Likewise.
13051 * libio/wfileops.c: Likewise.
13052 * libio/wgenops.c: Likewise.
13053 * libio/wmemstream.c: Likewise.
13054 * libio/wstrops.c: Likewise.
13055 * libio/__fpurge.c: Likewise.
13056 * libio/__fsetlocking.c: Likewise.
13057 * assert/assert.c: Likewise.
13058 * debug/fgets_chk.c: Likewise.
13059 * debug/fgets_u_chk.c: Likewise.
13060 * debug/fread_chk.c: Likewise.
13061 * debug/fread_u_chk.c: Likewise.
13062 * debug/gets_chk.c: Likewise.
13063 * debug/obprintf_chk.c: Likewise.
13064 * debug/vasprintf_chk.c: Likewise.
13065 * debug/vdprintf_chk.c: Likewise.
13066 * debug/vsnprintf_chk.c: Likewise.
13067 * debug/vsprintf_chk.c: Likewise.
13068 * malloc/mtrace.c: Likewise.
13069 * misc/error.c: Likewise.
13070 * misc/syslog.c: Likewise.
13071 * stdio-common/asprintf.c: Likewise.
13072 * stdio-common/fxprintf.c: Likewise.
13073 * stdio-common/getw.c: Likewise.
13074 * stdio-common/isoc99_fscanf.c: Likewise.
13075 * stdio-common/isoc99_scanf.c: Likewise.
13076 * stdio-common/isoc99_vfscanf.c: Likewise.
13077 * stdio-common/isoc99_vscanf.c: Likewise.
13078 * stdio-common/isoc99_vsscanf.c: Likewise.
13079 * stdio-common/printf-prs.c: Likewise.
13080 * stdio-common/printf_fp.c: Likewise.
13081 * stdio-common/printf_fphex.c: Likewise.
13082 * stdio-common/printf_size.c: Likewise.
13083 * stdio-common/putw.c: Likewise.
13084 * stdio-common/scanf.c: Likewise.
13085 * stdio-common/sprintf.c: Likewise.
13086 * stdio-common/tmpfile.c: Likewise.
13087 * stdio-common/vfprintf.c: Likewise.
13088 * stdio-common/vfscanf.c: Likewise.
13089 * stdlib/strfmon_l.c: Likewise.
13090 * sunrpc/openchild.c: Likewise.
13091 * sunrpc/xdr_stdio.c: Likewise.
13092 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13093 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13094
13095 2012-05-24 Roland McGrath <roland@hack.frob.com>
13096
13097 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13098
13099 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13100 in the third column, to generate for the shared library an IFUNC
13101 that uses _dl_vdso_vsym.
13102 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13103 * Makeconfig (object-suffixes-noshared): New variable.
13104
13105 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13106 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13107 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13108 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13109
13110 [BZ #14132]
13111 * include/sys/time.h (__gettimeofday): Remove macro.
13112 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13113 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13114 Remove INTDEF.
13115 (__gettimeofday): Add libc_hidden_def.
13116 (gettimeofday): Add libc_hidden_weak.
13117 * sysdeps/mach/gettimeofday.c: Likewise.
13118 * sysdeps/posix/gettimeofday.c: Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13120 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13122 (__gettimeofday_internal): Remove strong_alias.
13123 (__gettimeofday): Add libc_hidden_def.
13124 (gettimeofday): Add libc_hidden_weak.
13125 * sysdeps/unix/syscalls.list (gettimeofday):
13126 Remove __gettimeofday_internal alias.
13127
13128 2012-05-24 Daniel Jacobowitz <drow@false.org>
13129 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 [BZ #12495]
13132 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13133 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13134 (largebin_index_32_big): New.
13135 (largebin_index): Use it for 16-byte alignment.
13136 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13137 correction with front_misalign.
13138
13139 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13143 Likewise.
13144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13145 Likewise.
13146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13147 Likewise.
13148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13149 Likewise.
13150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13151 Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13153 Likewise.
13154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13155 Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13157 Likewise.
13158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13159 Likewise.
13160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13161 Likewise.
13162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13163 Likewise.
13164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13165 Likewise.
13166
13167 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13168 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13169
13170 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13171
13172 [BZ #10846]
13173 [BZ #14036]
13174 * math/libm-test.inc (exp_test): Add test from bug 14036.
13175 (pow_test): Add test from bug 10846.
13176
13177 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13178 and other flags.
13179 (special_function): Do not include flags in test name.
13180 (parse_args): Likewise.
13181 * sysdeps/i386/fpu/libm-test-ulps: Update.
13182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13184 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13186
13187 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13188 exceptions.
13189 * math/libm-test.inc ("Philosophy"): Update comment about
13190 exception testing.
13191 (UNDERFLOW_EXCEPTION): New macro.
13192 (UNDERFLOW_EXCEPTION_OK): Likewise.
13193 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13194 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13195 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13196 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13197 (INVALID_EXCEPTION_OK): Update value.
13198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13199 (OVERFLOW_EXCEPTION_OK): Likewise.
13200 (IGNORE_ZERO_INF_SIGN): Likewise.
13201 (test_exceptions): Handle underflow exceptions.
13202 (acos_test): Update for underflow exception expectations.
13203 (cexp_test): Likewise.
13204 (clog_test): Likewise.
13205 (clog10_test): Likewise.
13206 (csqrt_test): Likewise.
13207 (ctan_test): Likewise.
13208 (ctanh_test): Likewise.
13209 (exp_test): Likewise.
13210 (exp10_test): Likewise.
13211 (exp2_test): Likewise.
13212 (expm1_test): Likewise.
13213 (fma_test): Likewise.
13214 (j0_test): Likewise.
13215 (jn_test): Likewise.
13216 (nexttoward_test): Likewise.
13217 (pow_test): Likewise.
13218 (scalbn_test): Likewise.
13219 (scalbln_test): Likewise.
13220 (tan_test): Likewise.
13221 (y1_test): Likewise.
13222 * sysdeps/i386/fpu/libm-test-ulps: Update.
13223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13224
13225 2012-05-23 David S. Miller <davem@davemloft.net>
13226
13227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13228 (__libc_sigaction): Remove unused local variables.
13229
13230 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13233
13234 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13235
13236 mktime: avoid signed integer overflow
13237 * time/mktime.c (__mktime_internal): Do not mishandle the case
13238 where diff == INT_MIN.
13239
13240 mktime: simplify computation of average
13241 * time/mktime.c (ranged_convert): Use new time_t_avg function
13242 instead of rolling our own (probably-slower) code.
13243
13244 mktime: do not assume signed right shift propagates sign bit
13245 * time/mktime.c (isdst_differ): New static function.
13246 (__mktime_internal): No need to normalize tm_isdst now.
13247 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13248 tm_isdst values.
13249
13250 mktime: merge another wrapv change from gnulib
13251 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13252 from some compilers.
13253
13254 mktime: remove incorrect attempt at unusual arithmetics
13255 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13256 The code didn't really work on such machines anyway.
13257 (TYPE_MINIMUM): Assume two's complement.
13258 (twos_complement_arithmetic): Verify that long_int and time_t
13259 are two's complement (or unsigned, in the latter case).
13260
13261 mktime: check signed shifts on long_int and time_t, too
13262 * time/mktime.c (SHR): Check that shifts work as desired
13263 on the types long_int and time_t too, as SHR is used on
13264 such types.
13265
13266 mktime: do not assume 'long' is wide enough
13267 * time/mktime.c (verify): Move decl up.
13268 (long_int): New type.
13269 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13270 to remove assumption in the code that 'long' is wide enough to
13271 store year values. This assumption is not true on x32 and on
13272 some non-glibc platforms.
13273
13274 mktime: merge wrapv change from gnulib
13275 * time/mktime.c (WRAPV): New macro.
13276 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13277 (guess_time_tm, __mktime_internal): Do not assume that signed
13278 integer overflow wraps around; modern compilers generate code
13279 where this assumption is no longer valid.
13280
13281 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13284 Replace "jmp L(pseudo_end)" with "ret".
13285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13286 Likewise.
13287
13288 2012-05-23 Andreas Jaeger <aj@suse.de>
13289
13290 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13291 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13292
13293 2012-05-23 Andreas Jaeger <aj@suse.de>
13294 Maximilian Attems <max@stro.at>
13295
13296 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13297 New macros.
13298
13299 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13300
13301 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13302 code so that pseudo_end is just ret and the stack pointer is
13303 correct also for static library in error case.
13304
13305 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13306
13307 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13308 move to syscalls.list.
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13313
13314 * manual/install.texi (Running make install): Do not mention Linux
13315 kernel version for which pt_chown is not needed.
13316 (Linux): Do not mention problems with nscd with 2.0 kernels.
13317 * INSTALL: Regenerated.
13318
13319 2012-05-23 Andreas Jaeger <aj@suse.de>
13320
13321 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13322 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13323 macro.
13324 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13326 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13328 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13333 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13334 * sysdeps/unix/sysv/linux/bits/in.h
13335 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13336
13337 2012-05-22 Roland McGrath <roland@hack.frob.com>
13338
13339 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13340 (PREPARE_VERSION): Just use assert instead, it will be elided
13341 under [NDEBUG] anyway.
13342
13343 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13344
13345 * sysdeps/unix/sysv/linux/Makefile: Include
13346 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13347 (sysdep_routines): Remove sysctl.
13348 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13349 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13350 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13351 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13352 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13353
13354 2012-05-22 Andreas Jaeger <aj@suse.de>
13355
13356 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13357 that pseudo_end is just ret and the stack pointer is correct also
13358 for static library in error case.
13359
13360 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13361
13362 [BZ #14122]
13363 * nss/nsswitch.c (defconfig_entries): New variable.
13364 (__nss_database_lookup): Don't leak defconfig entries.
13365 (nss_parse_service_list): Don't leak on error paths.
13366 (free_database_entries): New function.
13367 (free_defconfig): New function.
13368 (free_mem): Move common code to free_database_entries.
13369
13370 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13371
13372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13373 Add arch_prctl.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13375
13376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13377 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13379 New macro.
13380 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13381 (INTERNAL_SYSCALL_TYPES): Likewise.
13382 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13383 (LOAD_REGS_TYPES_[1-6]): Likewise.
13384 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13385 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13386
13387 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13388
13389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13390 copysignl for GLIBC_2_0.
13391 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13392 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13394 logbl for GLIBC_2_0.
13395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13396 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13397
13398 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13399
13400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13402
13403 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13404 Use "neg %eax".
13405
13406 * time/mktime.c: Update copyright years.
13407
13408 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13409
13410 mktime: merge comment-quoting-style change from gnulib
13411 * time/mktime.c: Quote 'like this' in comments.
13412 The GNU coding standards suggest that we no longer quote `like this',
13413 as "`" and "'" are typically rendered asymmetrically nowadays.
13414 The typical gnulib style is to quote 'like this' when quoting
13415 code, and "like this" when quoting English.
13416
13417 * time/mktime.c (compile-command): Add "-I.".
13418
13419 mktime: merge mktime-internal.h change from gnulib
13420 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13421
13422 mktime: merge time_r change from gnulib
13423 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13424
13425 mktime: merge DEBUG change from gnulib
13426 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13427 case system <time.h> has a #define.
13428
13429 mktime: merge <sys/types.h> change from gnulib
13430 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13431 since <time.t> is now guaranteed to define time_t.
13432
13433 mktime: merge HAVE_CONFIG_H change from gnulib
13434 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13435
13436 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13439 Use "neg %eax".
13440
13441 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13442 __rlim_t cast.
13443 (struct rusage): Use anonymous union to pad each field to
13444 __syscall_slong_t.
13445
13446 2012-05-21 David S. Miller <davem@davemloft.net>
13447
13448 * Makefules (o-iterator): Remove .s cases.
13449 (compile-command.s): Delete.
13450 (COMPILE.s): Delete.
13451 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13452
13453 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13454
13455 * configure.in (libc_cv_predef_stack_protector): Only consider
13456 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13457 * configure: Regenerated.
13458
13459 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13462 New macro. Use R*LP on int and pointer.
13463 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13464 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13465 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13466 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13467
13468 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13469 [__WORDSIZE_TIME64_COMPAT32] instead of
13470 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13471 (struct utmp): Likewise.
13472 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13473 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13474 Renamed to ...
13475 (__WORDSIZE_TIME64_COMPAT32): This.
13476 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13477 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13478 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13480 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13481 (__WORDSIZE_TIME64_COMPAT32): New macro.
13482
13483 2012-05-21 Andreas Jaeger <aj@suse.de>
13484
13485 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13486 only if [SHARED]. Add prototype for __wcschr_ia32.
13487
13488 2012-05-21 Roland McGrath <roland@hack.frob.com>
13489
13490 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13491 of %rbp unmolested in the jmp_buf while mangling the low bits.
13492 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13493 unmolested high bits of %rbp while demangling the low bits.
13494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13495
13496 2012-05-21 Andreas Jaeger <aj@suse.de>
13497
13498 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13499 * sunrpc/svc_simple.c: Use it for registerrpc.
13500 * sunrpc/xcrypt.c: Use it for passwd2des.
13501
13502 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13503
13504 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13507 Don't define if [__SYSCALL_WORDSIZE != 32].
13508 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13509 New macro.
13510
13511 2012-05-21 Bruno Haible <bruno@clisp.org>
13512 Andreas Jaeger <aj@suse.de>
13513
13514 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13515 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13516 inptr and inend for must_buffer_ch.
13517 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13518 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13519 * stdio-common/Makefile (tests): Remove bug15.
13520 (bug15-ENV): Remove macro.
13521 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13522 anymore.
13523
13524 2012-05-19 Andreas Jaeger <aj@suse.de>
13525 Roland McGrath <roland@hack.frob.com>
13526
13527 * manual/contrib.texi: Completely rewritten. It contains now an
13528 alphabetical list of contributors and their contributions.
13529
13530 2012-05-21 Richard Henderson <rth@twiddle.net>
13531
13532 * misc/getauxval.c (__getauxval): Use unsigned long int.
13533 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13534 (getauxval): Use unsigned long int.
13535
13536 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13539
13540 2012-05-21 Roland McGrath <roland@hack.frob.com>
13541
13542 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13543 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13544 __alignof__ (long double).
13545
13546 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13547
13548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13549
13550 2012-05-20 Richard Henderson <rth@twiddle.net>
13551
13552 * misc/getauxval.c: New file.
13553 * misc/sys/auxv.h: New file.
13554 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13555 (routines): Add getauxval.
13556 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13557 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13558 * elf/dl-sysdep.c (_dl_auxv): Remove.
13559 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13560 * elf/dl-support.c (_dl_auxv): New variable.
13561 (_dl_aux_init): Initialize it.
13562 * manual/startup.texi (Auxiliary Vector): New node.
13563 * sysdeps/generic/bits/hwcap.h: New file.
13564 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13565 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13566 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13567 * sysdeps/sparc/sysdep.h: ... here. Include it.
13568 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13571 Update.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13580
13581 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13582
13583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13584
13585 2012-05-19 David S. Miller <davem@davemloft.net>
13586
13587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13588
13589 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #14123]
13592 * math/s_ccosh.c: Include <float.h>
13593 (__ccosh): Avoid internal overflow calculating sinh and cosh
13594 values before multiplying by sin and cos values.
13595 * math/s_ccoshf.c: Likewise.
13596 * math/s_ccoshl.c: Likewise.
13597 * math/s_csin.c: Likewise.
13598 * math/s_csinf.c: Likewise.
13599 * math/s_csinl.c: Likewise.
13600 * math/s_csinh.c: Likewise.
13601 * math/s_csinhf.c: Likewise.
13602 * math/s_csinhl.c: Likewise.
13603 * math/libm-test.inc (ccos_test): Add more tests.
13604 (ccosh_test): Likewise.
13605 (csin_test): Likewise.
13606 (csinh_test): Likewise.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13609
13610 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13613 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13614
13615 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13616
13617 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13618
13619 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13620 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13621 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13622 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13623 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13624 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13625 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13626 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13627 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13628 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13629 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13630 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13631 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13632 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13633 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13634 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13635 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13636 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13637 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13638 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13639 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13640 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13641 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13642 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13643 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13644 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13645 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13646 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13647 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13648 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13649 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13650
13651 2012-05-18 Andreas Jaeger <aj@suse.de>
13652
13653 * csu/.gitignore: Delete.
13654
13655 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13656
13657 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13658 (timex): Use __syscall_slong_t.
13659
13660 2012-05-18 Andreas Jaeger <aj@suse.de>
13661 Carlos O'Donell <carlos_odonell@mentor.com>
13662
13663 * manual/install.texi (Configuring and compiling): Update
13664 description about files modified in the source directory.
13665 * INSTALL: Regenerated.
13666
13667 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13668
13669 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13670 value. Use "or" to set return value to -1.
13671 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13672 negate return value.
13673
13674 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13675
13676 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13677 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13678 failure if the compiler has Graphite support disabled.
13679 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13680 Likewise.
13681 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13682 CFLAGS-memmove.c): Likewise.
13683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13684 Likewise.
13685
13686 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13687
13688 * sysdeps/x86_64/x32/_itoa.h: New file.
13689
13690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13691 getdents system call only if kernel and user dirents have the
13692 same d_ino and d_off.
13693
13694 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13695 LLONG_MAX != LONG_MAX.
13696 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13697 (_fitoa_word): Likewise.
13698
13699 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13700 years.
13701 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13702 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13703 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13704
13705 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13706 include <bits/wordsize.h>. Check __x86_64__ instead of
13707 __WORDSIZE.
13708 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13709 if __x86_64__ is defined. Use anonymous union on fpstate.
13710
13711 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13712 anonymous union.
13713
13714 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13715
13716 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13717 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13718 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13719 Refer to _rtld_local_ro instead of _rtld_global_ro.
13720 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13721 Likewise.
13722 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13723 Likewise.
13724 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13725 Likewise.
13726 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13727 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13728 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13729
13730 * sysdeps/powerpc/powerpc32/dl-machine.c
13731 (__elf_machine_runtime_setup) [PROF]: Don't reference
13732 _dl_prof_resolve.
13733
13734 2012-05-18 Andreas Jaeger <aj@suse.de>
13735
13736 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13737 function only available for GCCs before 3.4 since GCC 3.4
13738 introduced a builtin.
13739 (lrint): Likewise.
13740 (llrintf): Likewise.
13741 (llrint): Likewise.
13742 (fmaxf): Likewise.
13743 (fmax): Likewise.
13744 (fminf): Likewise.
13745 (fmin): Likewise.
13746 (rint): Likewise.
13747 (rintf): Likewise.
13748 (nearbyint): Likewise.
13749 (nearbyintf): Likewise.
13750 (ceil): Likewise.
13751 (ceilf): Likewise.
13752 (floor): Likewise.
13753 (floorf): Likewise.
13754
13755 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13756
13757 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13758 on both fields and cast pointer to __syscall_ulong_t.
13759
13760 * bits/types.h (__fsword_t): New type.
13761 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13762 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13764 (__FSWORD_T_TYPE): Likewise.
13765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13766 (__FSWORD_T_TYPE): Likewise.
13767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13768 (__FSWORD_T_TYPE): Likewise.
13769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13770 (__FSWORD_T_TYPE): Likewise.
13771 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13772 __SWORD_TYPE with __fsword_t.
13773 (statfs64): Likewise.
13774
13775 2012-05-17 David S. Miller <davem@davemloft.net>
13776
13777 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13778
13779 2012-05-17 Andreas Jaeger <aj@suse.de>
13780
13781 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13782 warning.
13783
13784 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13787
13788 2012-05-17 Andreas Jaeger <aj@suse.de>
13789
13790 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13791 when it is used.
13792
13793 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13794
13795 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13796
13797 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13798
13799 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13800 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13801
13802 2012-05-17 Andreas Jaeger <aj@suse.de>
13803 Carlos O'Donell <carlos_odonell@mentor.com>
13804
13805 [BZ #14059]
13806 * sysdeps/x86_64/multiarch/init-arch.h
13807 (bit_YMM_Usable): Rename to...
13808 (bit_AVX_Usable): ... this.
13809 (bit_FMA4_Usable): New macro.
13810 (bit_XMM_state): New macro.
13811 (bit_YMM_state): New macro.
13812 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13813 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13814 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13815 (CPUID_OSXSAVE): New macro.
13816 (CPUID_AVX): New macro.
13817 (CPUID_FMA4): New macro.
13818 (index_YMM_Usable): Rename to...
13819 (index_AVX_Usable): ... this.
13820 (HAS_AVX): Use HAS_ARCH_FEATURE.
13821 (HAS_FMA4): Likewise.
13822 (HAS_YMM_USABLE): Remove.
13823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13824 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13825 are present.
13826 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13827 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13828 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13829 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13830 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13831
13832 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13833
13834 * math/libm-test.c: Support platforms without multiple rounding modes.
13835 * math/bug-nextafter.c: Support platforms without FP exceptions.
13836 * math/bug-nexttoward.c: Likewise.
13837 * math/test-fenv.c: Likewise.
13838 * math/test-misc.c: Likewise.
13839 * stdlib/bug-getcontext.c: Likewise.
13840
13841 2012-05-17 Andreas Jaeger <aj@suse.de>
13842
13843 * manual/examples/search.c (critter_cmp): Change signature to
13844 avoid warnings.
13845 * manual/string.texi (Collation Functions): Likewise.
13846
13847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13848
13849 * bits/types.h: Fold copyright years.
13850 * bits/typesizes.h: Likewise.
13851 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13855 * time/time.h: Likewise.
13856
13857 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13858
13859 [BZ #208]
13860 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13861 in instead of returning them. Return void.
13862 (__libc_mallinfo): Accumulate over all arenas.
13863 (__malloc_stats): Adjust for change in int_mallinfo interface.
13864
13865 2012-05-16 Roland McGrath <roland@hack.frob.com>
13866
13867 [BZ #10375]
13868 * configure.in (NM): Add AC_CHECK_TOOL for it.
13869 (libc_extra_cflags): New substituted variable.
13870 Check for -fstack-protector being used implicitly.
13871 * configure: Regenerated.
13872 * config.make.in (config-extra-cflags): New variable,
13873 gets @libc_extra_cflags@.
13874 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13875
13876 [BZ #10375]
13877 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13878 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13879 * configure: Regenerated.
13880 * config.make.in (CPPUNDEFS): New substituted variable.
13881 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13882 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13883 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13884
13885 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13888 (mq_attr): Use __syscall_slong_t.
13889
13890 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13891
13892 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13893 Check __x86_64__ instead of __WORDSIZE.
13894 (_STAT_VER_LINUX): Likewise.
13895 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13896 __syscall_ulong_t and __syscall_slong_t.
13897 (stat64): Likewise.
13898
13899 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13902
13903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13904
13905 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13906
13907 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13910 __syscall_ulong_t.
13911
13912 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13913 include <bits/wordsize.h>. Check __x86_64__ instead of
13914 __WORDSIZE.
13915 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13916 defined.
13917 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13918
13919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13920 include <bits/wordsize.h>. Check __x86_64__ instead of
13921 __WORDSIZE.
13922 (user_regs_struct): Use "__extension__ unsigned long long"
13923 instead of "unsigned long" if __x86_64__ is defined.
13924 (user): Likewise. Pad after pointer field if __ILP32__ is
13925 defined.
13926
13927 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13928
13929 * configure.in (makeinfo): Require version 4.5 or later. Allow
13930 versions 5 to 9.
13931 * configure: Regenerated.
13932 * manual/install.texi (texinfo): Increase version requirement to
13933 4.5 or later.
13934 * INSTALL: Regenerated.
13935
13936 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13937
13938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13939
13940 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13941
13942 * sysdeps/x86_64/x32/ffs.c: New file.
13943
13944 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13945 __syscall_ulong_t.
13946 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13947 defined. Use __syscall_ulong_t.
13948 (shminfo): Use __syscall_ulong_t.
13949 (shm_info): Likewise.
13950
13951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13952 __syscall_ulong_t.
13953
13954 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13955 <bits/wordsize.h>.
13956 (msgqnum_t): Use __syscall_ulong_t.
13957 (msglen_t): Likewise.
13958 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13959 __syscall_ulong_t.
13960
13961 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13962 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13963
13964 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13965
13966 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13967 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13968
13969 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13970 __syscall_slong_t.
13971
13972 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13973 include <bits/wordsize.h>. Check __x86_64__ instead of
13974 __WORDSIZE.
13975
13976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13977 "unsigned long long int" if __x86_64__ is defined.
13978 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13979
13980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13981 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13982 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13983
13984 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13985 <stdint.h>.
13986 (GET_PC): Cast to uintptr_t first.
13987 (GET_FRAME): Likewise.
13988 (GET_STACK): Likewise.
13989
13990 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13992 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13994 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13996 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13997 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14003 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14005 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14009 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14010 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14017 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14019
14020 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14021
14022 * Makerules (+depfiles): Also collect depfiles from .oS in
14023 $(extra-objs).
14024 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14025 .oS, $(libnldbl-routines)).
14026
14027 * Makerules (native-compile-mkdep-flags): Define.
14028 * sunrpc/Makefile (extra-objs): Add $(addprefix
14029 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14030 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14031 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14032 calling $(make-target-directory).
14033
14034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14035
14036 * bits/types.h (__snseconds_t): Removed.
14037 * time/time.h (struct timespec): Replace __snseconds_t with
14038 __syscall_slong_t.
14039 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14040 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14041 Likewise.
14042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14043 (__SNSECONDS_T_TYPE): Likewise.
14044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14045 (__SNSECONDS_T_TYPE): Likewise.
14046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14047 (__SNSECONDS_T_TYPE): Likewise.
14048
14049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 * sysdeps/mach/hurd/bits/typesizes.h
14052 (__SYSCALL_SLONG_TYPE): New macro.
14053 (__SYSCALL_ULONG_TYPE): Likewise.
14054
14055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14056
14057 * bits/types.h (__syscall_slong_t): New type.
14058 (__syscall_ulong_t): Likewise.
14059
14060 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14061 (__SYSCALL_ULONG_TYPE): Likewise.
14062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14063 (__SYSCALL_SLONG_TYPE): Likewise.
14064 (__SYSCALL_ULONG_TYPE): Likewise.
14065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14066 (__SYSCALL_SLONG_TYPE): Likewise.
14067 (__SYSCALL_ULONG_TYPE): Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14069 (__SYSCALL_SLONG_TYPE): Likewise.
14070 (__SYSCALL_ULONG_TYPE): Likewise.
14071
14072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14075 Add sigaltstack-offsets.sym.
14076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14077 <sigaltstack-offsets.h>.
14078 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14079 longjmp_msg pointer.
14080 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14081 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14082 signal stack.
14083 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14084
14085 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14086
14087 * elf/stackguard-macros.h: Remove file.
14088 * sysdeps/generic/stackguard-macros.h: New file.
14089 * sysdeps/i386/stackguard-macros.h: Likewise.
14090 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14091 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14092 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14093 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14094 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14095 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14096 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14097 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14098 <elf/stackguard-macros.h>.
14099
14100 [BZ #14109]
14101 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14102 __aligned__ in attribute.
14103 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14104 (gregset_t): Likewise.
14105
14106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14107
14108 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14109 * sysdeps/x86_64/64/Implies-after: Here. New file.
14110 * sysdeps/x86_64/x32/Implies-after: New file.
14111
14112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14115 and access return value for _dl_profile_fixup. Use R10_LP to
14116 load frame size.
14117
14118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14119
14120 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14121
14122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14125 * sysdeps/x86_64/x32/sysdep.h: New file.
14126
14127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14128
14129 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14130 * sysdeps/x86_64/setjmp.S: Likewise.
14131
14132 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14133
14134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14136 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14138 remove unused global constant.
14139
14140 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14141
14142 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14143 include of <not-cancel.h>.
14144
14145 2012-05-15 Roland McGrath <roland@hack.frob.com>
14146
14147 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14148
14149 2012-05-15 Jeff Law <law@redhat.com>
14150 Andreas Jaeger <aj@suse.de>
14151
14152 [BZ #13594]
14153 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14154 out from...
14155 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14156 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14157 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14158 code changing __hst_map_handle.map.
14159
14160 2012-05-15 Roland McGrath <roland@hack.frob.com>
14161
14162 * configure.in (sysnames): Look for Implies-before and Implies-after
14163 files.
14164 * configure: Regenerated.
14165
14166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14167
14168 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14169 8-byte data alignment with LP_SIZE alignment.
14170
14171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14172
14173 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14174 into R10_LP.
14175
14176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14177
14178 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14179
14180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14181
14182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14185 Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14187
14188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14189
14190 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14191 (stackinfo_sub_sp): Likewise.
14192
14193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14194
14195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14196 RAX_LP.
14197
14198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14201 into R*_LP.
14202
14203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14206 sizes into R*_LP.
14207
14208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14209
14210 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14211
14212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14215 into R11_LP and load __x86_64_shared_cache_size_half into
14216 R8_LP.
14217
14218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14221 R8_LP.
14222
14223 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14224
14225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14226 logb for POWER7.
14227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14228 logbf for POWER7.
14229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14230 logbl for POWER7.
14231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14232 powerpc32/power7/fpu/s_logb.c via #include.
14233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14234 powerpc32/power7/fpu/s_logbf.c via #include.
14235 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14236 powerpc32/power7/fpu/s_logbl.c via #include.
14237
14238 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14239
14240 * README.libm: Remove file.
14241
14242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14243
14244 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14245 count for x32. Use R*_LP and omit operand-size suffix.
14246
14247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14248
14249 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14250 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14251 * sysdeps/x86_64/x32/shlib-versions: New file.
14252
14253 2012-05-14 Roland McGrath <roland@hack.frob.com>
14254
14255 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14256 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14257 Use _dl_fatal_printf instead.
14258
14259 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14260
14261 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14262 set if not set by the user. Do not allow for being unset.
14263 * sysdeps/unix/sysv/linux/configure: Regenerated.
14264
14265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14266
14267 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14268 the `q' suffix from lea and replace .quad with ASM_ADDR.
14269
14270 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14271
14272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14273 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14274 instead of $17.
14275 (PTR_DEMANGLE): Likewise.
14276
14277 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14280 (LP_OP): Likewise.
14281 (ASM_ADDR): Likewise.
14282 (RAX_LP): Likewise.
14283 (RBP_LP): Likewise.
14284 (RBX_LP): Likewise.
14285 (RCX_LP): Likewise.
14286 (RDI_LP): Likewise.
14287 (RSI_LP): Likewise.
14288 (RSP_LP): Likewise.
14289 (R8_LP): Likewise.
14290 (R9_LP): Likewise.
14291 (R10_LP): Likewise.
14292 (R10_LP): Likewise.
14293 (R11_LP): Likewise.
14294 (R12_LP): Likewise.
14295 (R13_LP): Likewise.
14296 (R14_LP): Likewise.
14297 (R15_LP): Likewise.
14298
14299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14300
14301 * sysdeps/x86_64/x32/dl-machine.h: New file.
14302
14303 2012-05-14 Andreas Jaeger <aj@suse.de>
14304
14305 * manual/Makefile (subdir): Remove export of subdir.
14306 (all): Remove target.
14307 (.PHONY): Remove all from list.
14308 (mkinstalldirs): Remove.
14309 (.PHONY): Remove installdirs from list.
14310 ($(inst_infodir)/libc.info): Use make-target-directory.
14311 (installdirs): Remove.
14312 (subdir_%): Remove.
14313 (glibc-targets): Remove.
14314 (lib): Remove.
14315 (stubs): Remove.
14316 ($(objpfx)stubs ../po/manual.pot): Remove.
14317 ($(objpfx)stamp%): Remove.
14318 (make-target-directory): Remove.
14319 (subdir_install): Remove.
14320 (routines): Remove.
14321 (aux): Remove.
14322 (sources): Remove.
14323 (objects): Remove.
14324 (headers): Remove.
14325
14326 [BZ #13750]
14327 * manual/.gitignore: Remove, it's not needed anymore.
14328 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14329 all files in it.
14330 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14331 directory.
14332 (texis): Renamed to $(objpfx)texis.
14333 (texis-path): New, contains path to generated files.
14334 (chapters.%): Use texis-path for complete path, add extra argument
14335 libc-texinfo.sh.
14336 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14337 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14338 (summary,texi, stamp-summary): Use complete path of
14339 files. Generate files in build dir.
14340 (dir-add.texi): Build in build dir.
14341 (libm-err.texi,stamp-libm-err): Likewise.
14342 (version.texi, stamp-version): Likewise.
14343 (.%c.texi): Likewise.
14344 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14345 (mostlyclean): Remove target.
14346 (realclean): Remove target.
14347 (generated): Add new variable with contents from mostlyclean and
14348 realclean, remove entries duplicated in common-mostlyclean, add
14349 stamp-libm-err and stamp-version.
14350 (generated-dirs): Add libc directory.
14351 ($(inst_infodir)/libc.info): Install files from build dir.
14352
14353 * manual/install.texi (Configuring and compiling): Adjust since
14354 the info files are not part of the tar ball anymore.
14355
14356 2012-05-14 Andreas Jaeger <aj@suse.de>
14357
14358 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14359 variable.
14360
14361 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14362
14363 [BZ #13717]
14364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14365 to 2.2.0 where earlier.
14366 * sysdeps/unix/sysv/linux/configure: Regenerated.
14367 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14368 Remove conditional code.
14369 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14370 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14371 Remove conditional code.
14372 [!__NR_lchown]: Likewise.
14373 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14374 [__NR_lchown]: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14376 comment referencing __ASSUME_LCHOWN_SYSCALL.
14377 * sysdeps/unix/sysv/linux/i386/sigaction.c
14378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14380 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14381 Remove conditional code.
14382 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14383 (__protocol_available): Remove #if 0 code.
14384 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14385 conditional code.
14386 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14387 * sysdeps/unix/sysv/linux/kernel-features.h
14388 (__ASSUME_GETCWD_SYSCALL): Don't define.
14389 (__ASSUME_REALTIME_SIGNALS): Likewise.
14390 (__ASSUME_PREAD_SYSCALL): Likewise.
14391 (__ASSUME_PWRITE_SYSCALL): Likewise.
14392 (__ASSUME_POLL_SYSCALL): Likewise.
14393 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14394 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14395 non-SPARC.
14396 (__ASSUME_SIOCGIFNAME): Don't define.
14397 (__ASSUME_MSG_NOSIGNAL): Likewise.
14398 (__ASSUME_SENDFILE): Define unconditionally.
14399 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14400 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14401 conditional code.
14402 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14403 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14404 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14405 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14406 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14407 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14408 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14410 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14413 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14416 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14419 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14422 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14425 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14431 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14432 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14433 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14434 Remove conditional code.
14435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14436 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14437 Remove conditional code.
14438 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14440 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14441 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14442 Remove conditional code.
14443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14444 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14445 Remove conditional code.
14446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14447 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14448 Remove conditional code.
14449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14450 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14451 Remove conditional code.
14452 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14453 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14454 Remove conditional code.
14455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14456 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14457 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14458 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14459 * sysdeps/unix/sysv/linux/sigaction.c
14460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14462 * sysdeps/unix/sysv/linux/sigpending.c
14463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14465 * sysdeps/unix/sysv/linux/sigprocmask.c
14466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14468 * sysdeps/unix/sysv/linux/sigsuspend.c
14469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14471 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14472 (__libc_missing_rt_sigs): Remove.
14473 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14474 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14475 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14476 Remove conditional code.
14477 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14479 return 1.
14480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14483 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14484
14485 2012-05-14 Andreas Jaeger <aj@suse.de>
14486
14487 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14488 it's not used in glibc.
14489 (__coshm1): Likewise.
14490 (__acosh1p): Likewise.
14491 (__sgn): Likewise.
14492
14493 * manual/string.texi (Copying and Concatenation): Add missing
14494 variable in concat example.
14495 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14496
14497 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14498
14499 [BZ #14103]
14500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14501 __builtin_clzl with __builtin_clzll.
14502
14503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14504
14505 [BZ #14104]
14506 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14507 libc_freeres_ptr.
14508
14509 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14510
14511 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14512 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14513 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14514 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14515
14516 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14517
14518 * NEWS: Update ia64 info.
14519
14520 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14521
14522 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14523 used as bcopy.
14524
14525 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14526
14527 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14528 * sysdeps/unix/syscalls.list (dup3): Likewise.
14529 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14530 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14531
14532 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14535 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14536
14537 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14540 thread pointer.
14541 (TLS_IE): Use mov/add instead of movq/addq to load thread
14542 pointer.
14543 (TLS_GD_PREFIX): New.
14544 (TLS_GD): Use it.
14545
14546 2012-05-11 David S. Miller <davem@davemloft.net>
14547
14548 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14549 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14550 (_FPU_SETCW): Likewise.
14551
14552 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14553
14554 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14555 is 32-byte aligned.
14556
14557 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14558
14559 [BZ #11837]
14560 * iconvdata/gb18030.c: Update tables.
14561 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14562 characters specially.
14563 (BODY for TO_LOOP): Add encoding of missing ranges.
14564
14565 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14566
14567 [BZ #13673]
14568 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14569 * sysdeps/mach/hurd/dup3.c: Likewise.
14570 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14571 * sysdeps/powerpc/memmove.c:: Likewise.
14572
14573 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14576 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14577
14578 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14579
14580 * elf/elf.h (R_X86_64_RELATIVE64): New.
14581 (R_X86_64_NUM): Updated.
14582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14583 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14584 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14585 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14586 tst-quad1pie tst-quad2pie
14587 (modules-names): Add tst-quadmod1 tst-quadmod2.
14588 ($(objpfx)tst-quad1): New dependency.
14589 ($(objpfx)tst-quad2): Likewise.
14590 ($(objpfx)tst-quad1pie): Likewise.
14591 ($(objpfx)tst-quad2pie): Likewise.
14592 * sysdeps/x86_64/tst-quad1.c: New file.
14593 * sysdeps/x86_64/tst-quad1pie.c: New file.
14594 * sysdeps/x86_64/tst-quad2.c: Likewise.
14595 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14596 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14597 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14598 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14599 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14600
14601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14602
14603 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14604 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14605 * streams/stropts.h (t_scalar_t): Define type.
14606
14607 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14608 (_PATH_PRESERVE): Set to "/var/lib".
14609 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14610
14611 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14612 instead of int.
14613
14614 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14615 if __dir_mkfile succeeded.
14616
14617 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14618 checking for _hurd_dtablesize. Unlock it right after having
14619 finished _hurd_dtable allocation.
14620
14621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14622
14623 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14624 * sysdeps/mach/hurd/configure: Regenerated.
14625 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14626 special-casing to...
14627 * sysdeps/gnu/configure.in: ... this new file.
14628 * sysdeps/unix/sysv/linux/configure: Regenerated.
14629 * sysdeps/gnu/configure: New generated file.
14630
14631 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14632 for Linux: use nsec instead of usec, as well as:
14633 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14634 members of type struct timespec.
14635 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14636 New macros.
14637 (struct stat64): Likewise.
14638 (_STATBUF_ST_NSEC): New macro.
14639 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14640
14641 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14642 __strtoul_internal rather than strtoul.
14643
14644 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14645
14646 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14647 and reject them.
14648
14649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14650
14651 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14652 which preserves existing values.
14653 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14654
14655 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14656
14657 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14658 TIMEOUT values. Return EINVAL for NFDS values either negative or
14659 greater than FD_SETSIZE.
14660
14661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14662
14663 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14664 allocated, call __vm_protect to finish enabling the existing space, and
14665 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14666 allocate the remainder.
14667
14668 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14669
14670 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14671 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14672
14673 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14674
14675 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14676 sysdeps/mach/hurd/readlink.c.
14677
14678 * posix/tst-sysconf.c (posix_options): Only use
14679 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14680 _POSIX_SYNCHRONIZED_IO when they are defined
14681 * sysdeps/mach/hurd/bits/posix_opt.h:
14682 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14683 (_XOPEN_REALTIME): Undefine macro.
14684 (_XOPEN_REALTIME_THREADS): Undefine macro.
14685 (_XOPEN_SHM): Undefine macro.
14686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14687 macro to -1.
14688 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14689 macro to -1.
14690 (_POSIX_ASYNC_IO): Undefine macro.
14691 (_POSIX_PRIORITIZED_IO): Undefine macro.
14692 (_POSIX_SPIN_LOCKS): Define macro to -1.
14693
14694 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14695 SA_NODEFER, SA_RESETHAND.
14696 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14697 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14698 F_DUPFD_CLOEXEC.
14699
14700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14701
14702 * elf/Makefile (pldd-modules): Define unconditionally.
14703
14704 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14705
14706 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14707
14708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14709
14710 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14711 Return ENOENT when name is empty.
14712 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14713
14714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14715
14716 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14717
14718 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14719
14720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14721
14722 Fix mlock in all cases except non-readable pages.
14723 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14724 instead of VM_PROT_ALL as parameter to __vm_wire function.
14725
14726 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14727 (__mkdir): When path is `/', just fail with EEXIST.
14728 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14729
14730 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14731
14732 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14733 <sys/uio.h> (for writev).
14734 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14735 and <sys/param.h> (for MIN).
14736
14737 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14738
14739 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14740 REQUESTED_TIME. Properly set the remaining time and return EINTR
14741 if interrupted.
14742
14743 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14744
14745 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14746 Depend on against $(link-rpcuserlibs).
14747
14748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14749
14750 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14751 (__libc_stack_end): Do not use attribute_relro.
14752 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14753 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14754 to libthread-provided value.
14755 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14756 attribute_relro.
14757
14758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14759
14760 [BZ #3748]
14761 * bits/libc-lock.h (__libc_once_get): New macro.
14762 * sysdeps/mach/bits/libc-lock.h: Likewise.
14763 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14765 instead of using implementation details.
14766
14767 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14768 * libio/freopen.c: Likewise.
14769 * libio/freopen64.c: Likewise.
14770 * misc/syslog.c: Likewise.
14771 * nscd/connections.c: Likewise.
14772 * nscd/netgroupcache.c: Likewise.
14773 * sysdeps/posix/getcwd.c: Likewise.
14774
14775 2012-05-10 Roland McGrath <roland@hack.frob.com>
14776
14777 * math/w_ilogbf.c: Add #include <limits.h>.
14778
14779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14780
14781 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14782 path instead of returning without unlocking.
14783
14784 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14785 immediate-write ioctls.
14786 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14787
14788 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14789
14790 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14791 __builtin_frame_address instead of making assumptions about the
14792 location of the return address relative to DATA. Force early load of
14793 the return address.
14794 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14795 __builtin_frame_address.
14796
14797 dup3 for GNU Hurd.
14798 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14799 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14800 implement dup3 and do some further code clean-ups.
14801 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14802 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14803
14804 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14805
14806 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14807
14808 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14809 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14810 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14811 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14812 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14813 d->port.lock.
14814
14815 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14816 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14817 when handler == SIG_ERR, not when handler != SIG_ERR.
14818
14819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14820
14821 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14822 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14823 definitions.
14824
14825 accept4 for GNU Hurd.
14826 * include/sys/socket.h (__libc_accept4): New prototype.
14827 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14828 to implement __libc_accept4.
14829 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14830 __libc_accept4.
14831 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14832
14833 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14834 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14835 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14836 signal-defines.sym.
14837
14838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14839
14840 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14841
14842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14843
14844 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14845 assertion on O_CLOEXEC flag.
14846 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14847 * hurd/intern-fd.c: Likewise.
14848 * hurd/port2fd.c: Likewise.
14849
14850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14851
14852 [BZ #3906]
14853 * bits/in.h (IPV6_PKTINFO): Define new macro.
14854 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14855
14856 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14857
14858 [BZ #13954]
14859 [BZ #13955]
14860 [BZ #13956]
14861 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14863 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14864 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14866 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14867 * math/libm-test.inc (logb_test) : Additional logb tests.
14868
14869 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14870 Andreas Jaeger <aj@suse.de>
14871
14872 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14873 * configure: Regenerated.
14874 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14875 * config.make.in (link-obsolete-rpc): New substituted variable.
14876 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14877 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14878 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14879 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14880 so that libc.a contains the symbols.
14881 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14882 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14883 * sunrpc/auth_none.c: Likewise.
14884 * sunrpc/auth_unix.c: Likewise.
14885 * sunrpc/authdes_prot.c: Likewise.
14886 * sunrpc/authuxprot.c: Likewise.
14887 * sunrpc/clnt_gen.c: Likewise.
14888 * sunrpc/clnt_perr.c: Likewise.
14889 * sunrpc/clnt_raw.c: Likewise.
14890 * sunrpc/clnt_simp.c: Likewise.
14891 * sunrpc/clnt_tcp.c: Likewise.
14892 * sunrpc/clnt_udp.c: Likewise.
14893 * sunrpc/clnt_unix.c: Likewise.
14894 * sunrpc/des_crypt.c: Likewise.
14895 * sunrpc/des_soft.c: Likewise.
14896 * sunrpc/get_myaddr.c: Likewise.
14897 * sunrpc/key_call.c: Likewise.
14898 * sunrpc/key_prot.c: Likewise.
14899 * sunrpc/netname.c: Likewise.
14900 * sunrpc/pm_getmaps.c: Likewise.
14901 * sunrpc/pm_getport.c: Likewise.
14902 * sunrpc/pmap_clnt.c: Likewise.
14903 * sunrpc/pmap_prot.c: Likewise.
14904 * sunrpc/pmap_prot2.c: Likewise.
14905 * sunrpc/pmap_rmt.c: Likewise.
14906 * sunrpc/publickey.c: Likewise.
14907 * sunrpc/rpc_cmsg.c: Likewise.
14908 * sunrpc/rpc_common.c: Likewise.
14909 * sunrpc/rpc_dtable.c: Likewise.
14910 * sunrpc/rpc_prot.c: Likewise.
14911 * sunrpc/rpc_thread.c: Likewise.
14912 * sunrpc/rtime.c: Likewise.
14913 * sunrpc/svc.c: Likewise.
14914 * sunrpc/svc_auth.c: Likewise.
14915 * sunrpc/svc_raw.c: Likewise.
14916 * sunrpc/svc_run.c: Likewise.
14917 * sunrpc/svc_tcp.c: Likewise.
14918 * sunrpc/svc_udp.c: Likewise.
14919 * sunrpc/svc_unix.c: Likewise.
14920 * sunrpc/svcauth_des.c: Likewise.
14921 * sunrpc/xcrypt.c: Likewise.
14922 * sunrpc/xdr.c: Likewise.
14923 * sunrpc/xdr_array.c: Likewise.
14924 * sunrpc/xdr_float.c: Likewise.
14925 * sunrpc/xdr_intXX_t.c: Likewise.
14926 * sunrpc/xdr_mem.c: Likewise.
14927 * sunrpc/xdr_rec.c: Likewise.
14928 * sunrpc/xdr_ref.c: Likewise.
14929 * sunrpc/xdr_sizeof.c: Likewise.
14930 * sunrpc/xdr_stdio.c: Likewise.
14931
14932 2012-05-10 Roland McGrath <roland@hack.frob.com>
14933
14934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14935 change. Update copyright years.
14936
14937 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14938
14939 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14940
14941 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14942 Joseph Myers <joseph@codesourcery.com>
14943 Paul Pluzhnikov <ppluzhnikov@google.com>
14944
14945 [BZ #14012]
14946 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14947 requiring rpcgen.
14948 [cross-compiling] (extra-libs): Likewise.
14949 [cross-compiling] (extra-libs-others): Likewise.
14950 [cross-compiling] (librpcsvc-routines): Likewise.
14951 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14952 [cross-compiling] (omit-deps): Likewise.
14953 (sunrpc-CPPFLAGS): New variable.
14954 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14955 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14956 (cross-rpcgen-objs): New variable.
14957 (extra-objs): Append $(cross-rpcgen-objs).
14958 ($(cross-rpcgen-objs)): New rule.
14959 ($(objpfx)cross-rpcgen): Likewise.
14960 (rpcgen-cmd): Define to use $(built-program-file). Expand
14961 comment.
14962 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14963 ($(objpfx)x%.stmp): Likewise.
14964 * sunrpc/proto.h [IS_IN_build] (_): Define.
14965 [IS_IN_build] (_libc_intl_domainname): Likewise.
14966
14967 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14968
14969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14970 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14971 and R_X86_64_TPOFF64.
14972
14973 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14974
14975 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14976 sysdeps/unix/sysv/syscalls.list.
14977 (stime): Likewise.
14978 (utime): Likewise.
14979 * sysdeps/unix/sysv/syscalls.list: Remove file.
14980
14981 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14982
14983 [BZ #3440]
14984 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14985 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14986 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14987 (__LC_IDENTIFICATION): Make these macros useful in #if
14988 expressions, as required by C99.
14989
14990 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14991
14992 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14993 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14994 after this.
14995
14996 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14997
14998 * stdlib/longlong.h: Updated from GCC.
14999
15000 2012-05-09 Andreas Jaeger <aj@suse.de>
15001
15002 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15003 default is first entry.
15004 (run_mode): Set type.
15005 (main): Remove informal message about syslog.
15006 (options): Fix typo.
15007
15008 [BZ #14053]
15009 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15010 to asm.
15011 (lrint): Likewise.
15012 (llrintf): Likewise.
15013 (llrint): Likewise.
15014 (rint): Likewise.
15015 (rintf): Likewise.
15016 (nearbyint): Likewise.
15017 (nearbyintf): Likewise.
15018
15019 2012-05-09 Andreas Jaeger <aj@suse.de>
15020 Pedro Alves <palves@redhat.com>
15021
15022 * nscd/nscd.c (run_mode): Use enum.
15023 (main): Cleanup coding style issue.
15024
15025 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15026 Andreas Jaeger <aj@suse.de>
15027
15028 * nscd/nscd.c (go_background): Replaced with...
15029 (run_mode): ... this.
15030 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15031 (options): Add -F --foreground.
15032 (main): Implement it.
15033 (parse_opt): Parse it.
15034
15035 2012-05-09 Andreas Jaeger <aj@suse.de>
15036
15037 [BZ #14083]
15038 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15039 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15040 -Wconversion warning.
15041 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15042 Likewise.
15043
15044 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15045
15046 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15047 == 0.
15048 (LC_ALL): Use macro-int-constant.
15049 (LC_COLLATE): Likewise.
15050 (LC_CTYPE): Likewise.
15051 (LC_MESSAGES): Likewise.
15052 (LC_MONETARY): Likewise.
15053 (LC_NUMERIC): Likewise.
15054 (LC_TIME): Likewise.
15055 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15056 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15058 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15059 Specify type.
15060 [C99-based standards] (float_t): Expect type.
15061 [C99-based standards] (double_t): Expect type.
15062 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15063 type.
15064 [C99-based standards] (HUGE_VALL): Likewise.
15065 [C99-based standards] (INFINITY): Likewise.
15066 [C99-based standards] (NAN): Likewise.
15067 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15068 [C99-based standards] (FP_NAN): Likewise.
15069 [C99-based standards] (FP_NORMAL): Likewise.
15070 [C99-based standards] (FP_SUBNORMAL): Likewise.
15071 [C99-based standards] (FP_ZERO): Likewise.
15072 [C99-based standards] (FP_FAST_FMA): Use
15073 optional-macro-int-constant. Specify type. Require == 1.
15074 [C99-based standards] (FP_FAST_FMAF): Likewise.
15075 [C99-based standards] (FP_FAST_FMAL): Likewise.
15076 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15077 [C99-based standards] (FP_ILOGBNAN): Likewise.
15078 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15079 Specify type.
15080 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15081 [C99-based standards] (math_errhandling): Specify type.
15082 [ISO99 || ISO11] (signgam): Do not allow.
15083 [non-C99-based standards] (copysignf): Do not allow.
15084 [non-C99-based standards] (exp2f): Likewise.
15085 [non-C99-based standards] (log2f): Likewise.
15086 [non-C99-based standards] (modff): Allow.
15087 [non-C99-based standards] (erff): Do not allow.
15088 [non-C99-based standards] (erfcf): Likewise.
15089 [non-C99-based standards] (gammaf): Likewise.
15090 [non-C99-based standards] (hypotf): Likewise.
15091 [non-C99-based standards] (j0f): Likewise.
15092 [non-C99-based standards] (j1f): Likewise.
15093 [non-C99-based standards] (jnf): Likewise.
15094 [non-C99-based standards] (lgammaf): Likewise.
15095 [non-C99-based standards] (tgammaf): Likewise.
15096 [non-C99-based standards] (y0f): Likewise.
15097 [non-C99-based standards] (y1f): Likewise.
15098 [non-C99-based standards] (ynf): Likewise.
15099 [non-C99-based standards] (isnanf): Likewise.
15100 [non-C99-based standards] (acoshf): Likewise.
15101 [non-C99-based standards] (asinhf): Likewise.
15102 [non-C99-based standards] (atanhf): Likewise.
15103 [non-C99-based standards] (cbrtf): Likewise.
15104 [non-C99-based standards] (expm1f): Likewise.
15105 [non-C99-based standards] (ilogbf): Likewise.
15106 [non-C99-based standards] (log1pf): Likewise.
15107 [non-C99-based standards] (logbf): Likewise.
15108 [non-C99-based standards] (nextafterf): Likewise.
15109 [non-C99-based standards] (remainderf): Likewise.
15110 [non-C99-based standards] (rintf): Likewise.
15111 [non-C99-based standards] (scalbf): Likewise.
15112 [non-C99-based standards] (copysignl): Likewise.
15113 [non-C99-based standards] (exp2l): Likewise.
15114 [non-C99-based standards] (log2l): Likewise.
15115 [non-C99-based standards] (modfl): Allow.
15116 [non-C99-based standards] (erfl): Do not allow.
15117 [non-C99-based standards] (erfcl): Likewise.
15118 [non-C99-based standards] (gammal): Likewise.
15119 [non-C99-based standards] (hypotl): Likewise.
15120 [non-C99-based standards] (j0l): Likewise.
15121 [non-C99-based standards] (j1l): Likewise.
15122 [non-C99-based standards] (jnl): Likewise.
15123 [non-C99-based standards] (lgammal): Likewise.
15124 [non-C99-based standards] (tgammal): Likewise.
15125 [non-C99-based standards] (y0l): Likewise.
15126 [non-C99-based standards] (y1l): Likewise.
15127 [non-C99-based standards] (ynl): Likewise.
15128 [non-C99-based standards] (isnanl): Likewise.
15129 [non-C99-based standards] (acoshl): Likewise.
15130 [non-C99-based standards] (asinhl): Likewise.
15131 [non-C99-based standards] (atanhl): Likewise.
15132 [non-C99-based standards] (cbrtl): Likewise.
15133 [non-C99-based standards] (expm1l): Likewise.
15134 [non-C99-based standards] (ilogbl): Likewise.
15135 [non-C99-based standards] (log1pl): Likewise.
15136 [non-C99-based standards] (logbl): Likewise.
15137 [non-C99-based standards] (nextafterl): Likewise.
15138 [non-C99-based standards] (remainderl): Likewise.
15139 [non-C99-based standards] (rintl): Likewise.
15140 [non-C99-based standards] (scalbl): Likewise.
15141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15142 [non-C99-based standards] (FP_*): Do not allow.
15143 [C99-based standards] (FP_*): Change to
15144 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15145 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15146 allow.
15147 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15148 (SIG_ERR): Likewise.
15149 [X/Open-based standards] (SIG_HOLD): Likewise.
15150 (SIG_IGN): Likewise.
15151 (SIGABRT): Use macro-int-constant. Specify type. Require
15152 positive value.
15153 (SIGFPE): Likewise.
15154 (SIGILL): Likewise.
15155 (SIGINT): Likewise.
15156 (SIGSEGV): Likewise.
15157 (SIGTER): Likewise.
15158 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15159 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15160 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15161 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15162 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15163 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15164 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15165 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15166 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15167 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15168 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15169 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15170 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15171 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15172 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15173 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15174 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15175 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15176 [X/Open-based standards] (SIGTRAP): Likewise.
15177 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15178 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15179 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15181 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15182 allow.
15183
15184 2012-05-08 Ian Wienand <ianw@vmware.com>
15185
15186 [BZ #14080]
15187 * time/tzset.c (__tzset_parse_tz): Update default rules for
15188 daylight time changes in the Energy Policy Act of 2005.
15189
15190 2012-05-09 Andreas Jaeger <aj@suse.de>
15191
15192 [BZ #13983]
15193 * elf/ldconfig.c (parse_conf): Change string to make clear that
15194 ldconfig only issued a warning if ld.so.conf does not exist.
15195
15196 2012-05-08 David S. Miller <davem@davemloft.net>
15197
15198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15199 movxtod instead of popping the value on the stack.
15200
15201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15202
15203 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15204
15205 * config.h.in: Add HAVE_ARM_PCS_VFP.
15206
15207 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15208
15209 [BZ #13979]
15210 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15211 checking but the checks are disabled for any reason.
15212
15213 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15214
15215 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15216 and ELF64_R_TYPE with ELFW(R_TYPE).
15217
15218 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15219
15220 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15221 (ulimit): Likewise.
15222
15223 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15224 (settimeofday): Likewise.
15225
15226 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15227
15228 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15229 a struct th_u2 inside the union, and move tu_block/tu_code into
15230 a new th_u3 union of tu_block/tu_code inside of that. Move
15231 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15232 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15233 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15234 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15235 (th_stuff): Change to th_u1.tu_stuff.
15236 (th_data): Define.
15237 (th_msg): Change to th_u1.th_u2.tu_data.
15238
15239 2012-05-07 David S. Miller <davem@davemloft.net>
15240
15241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15242
15243 [BZ #14074]
15244 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15245 (SETUP_PIC_REG): Use it.
15246 (SETUP_PIC_REG_LEAF): Use it.
15247
15248 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15249
15250 [BZ #13885]
15251 [BZ #13923]
15252 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15253 USE_AS_EXPM1L.
15254 (EXPL_FINITE): Likewise.
15255 (FLDLOG): Likewise.
15256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15257 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15258 e_expl.S.
15259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15260 USE_AS_EXPM1L.
15261 (EXPL_FINITE): Likewise.
15262 (FLDLOG): Likewise.
15263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15264 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15265 e_expl.S.
15266 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15267 test of -max_value argument for long double.
15268 * sysdeps/i386/fpu/libm-test-ulps: Update.
15269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15270
15271 2012-05-06 David S. Miller <davem@davemloft.net>
15272
15273 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15274 quad soft-float symbols whose references which are compiler
15275 generated.
15276 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15277
15278 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15279
15280 [BZ #13884]
15281 [BZ #13914]
15282 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15283 USE_AS_EXP10L.
15284 (EXPL_FINITE): Likewise.
15285 (FLDLOG): Likewise.
15286 (c0): Likewise.
15287 (c1): Likewise.
15288 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15289 Adjust comments for base varying.
15290 (__expl_finite): Change alias to EXPL_FINITE.
15291 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15292 e_expl.S.
15293 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15294 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15296 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15298 USE_AS_EXP10L.
15299 (EXPL_FINITE): Likewise.
15300 (FLDLOG): Likewise.
15301 (c0): Likewise.
15302 (c1): Likewise.
15303 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15304 Adjust comments for base varying.
15305 (__expl_finite): Change alias to EXPL_FINITE.
15306 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15307 tests for bugs.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15309
15310 [BZ #14064]
15311 * math/libm-test.inc (check_float_internal): Correct ulp
15312 calculation for subnormal expected results.
15313
15314 2012-05-06 Andreas Jaeger <aj@suse.de>
15315
15316 * Makeconfig (+math-flags): New, set to -frounding-math.
15317 (+cflags): Add +math-flags so that all of glibc gets compiled with
15318 it.
15319
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15321
15322 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15323
15324 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15325 Disable one test.
15326
15327 [BZ #13787]
15328 [BZ #13922]
15329 [BZ #14036]
15330 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15331 (__ieee754_expl): Allow for and saturate large arguments.
15332 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15333 (u_threshold): Likewise.
15334 (__exp): Call __ieee754_exp before checking for overflow and
15335 underflow.
15336 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15337 (u_threshold): Likewise.
15338 (__expf): Call __ieee754_expf before checking for overflow and
15339 underflow.
15340 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15341 (u_threshold): Likewise.
15342 (__expl): Call __ieee754_expl before checking for overflow and
15343 underflow.
15344 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15345 (__ieee754_expl): Allow for and saturate large arguments.
15346 * math/libm-test.inc (exp_test): Add another test. Do not allow
15347 missing overflow exception on overflow.
15348 (expm1_test): Do not allow missing overflow exception on overflow.
15349
15350 * sysdeps/i386/fpu/e_expl.c: Move to ...
15351 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15352 rather than using inline asm.
15353 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15354 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15355 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15356
15357 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15358 (nice): Likewise.
15359 (poll): Likewise.
15360 (signal): Likewise.
15361 (time): Likewise.
15362 (times): Likewise.
15363
15364 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15365
15366 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15367 sysdeps/unix/common/syscalls.list.
15368 (fchmod): Likewise.
15369 (fchown): Likewise.
15370 (ftruncate): Likewise.
15371 (getrusage): Likewise.
15372 (gettimeofday): Likewise.
15373 (setpgid): Likewise.
15374 (setregid): Likewise.
15375 (setreuid): Likewise.
15376 (sigaction): Likewise.
15377 (truncate): Likewise.
15378 (vhangup): Likewise.
15379 * sysdeps/unix/common/syscalls.list: Remove file.
15380 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15381 * sysdeps/unix/sysv/linux/Implies: Likewise.
15382
15383 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15384
15385 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15387 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15388 Moved to ...
15389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15390 Here.
15391 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15392 to ...
15393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15394 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15395 to ...
15396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15397 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15398 to ...
15399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15400 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15401 to ...
15402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15403 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15404 to ...
15405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15406 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15407 to ...
15408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15409 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15410 to ...
15411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15412 Here.
15413 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15414 to ...
15415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15416 Here.
15417 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15418 to ...
15419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15420 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15421 Moved to ...
15422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15423 Here.
15424 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15425 to ...
15426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15427
15428 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15429
15430 * sysdeps/unix/common/bits/dirent.h: Remove file.
15431 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15432
15433 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15434 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15435 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15436 * sysdeps/unix/bsd/isatty.c: Likewise.
15437 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15438 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15439 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15440
15441 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442
15443 [BZ #13563]
15444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15445 long double comparison inaccuracies.
15446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15448
15449 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15450
15451 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15453
15454 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #14049]
15457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15458 nonzero digits before rounding a hex value.
15459 * stdlib/tst-strtod.c (tests): Add another test.
15460
15461 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15462
15463 * sysdeps/s390/fpu/libm-test-ulps: Update.
15464
15465 2012-05-03 Andreas Jaeger <aj@suse.de>
15466
15467 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15468 does not get optimized out.
15469 (malloc_opt_barrier): New.
15470
15471 2012-05-03 Andreas Jaeger <aj@suse.de>
15472 Roland McGrath <roland@hack.frob.com>
15473
15474 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15475 intermediate file deletion.
15476 (generated): Add .symlist files.
15477
15478 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15479
15480 [BZ #13775]
15481 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15482 Redirect under this condition.
15483 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15484 [__USE_GNU] (__dprintf_chk): Not under this condition.
15485 [__USE_GNU] (__vdprintf_chk): Likewise.
15486 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15487 under this condition.
15488 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15489 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15490 [__USE_XOPEN2K8] (vdprintf): Likewise.
15491 [__USE_GNU] (__dprintf_chk): Not under this condition.
15492 [__USE_GNU] (__vdprintf_chk): Likewise.
15493 [__USE_GNU] (dprintf): Likewise.
15494 [__USE_GNU] (vdprintf): Likewise.
15495
15496 2012-05-03 Roland McGrath <roland@hack.frob.com>
15497
15498 * elf/Makefile (common-generated): Set this instead of generated for
15499 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15500 $(all-built-dso)-derived lists.
15501
15502 2012-05-03 Andreas Jaeger <aj@suse.de>
15503
15504 * sysdeps/i386/fpu/libm-test-ulps: Update.
15505
15506 * FAQ: Removed.
15507 * FAQ.in: Likewise.
15508 * scripts/gen-FAQ.pl: Likewise.
15509 * manual/install.texi (Installation): Point to online location of
15510 FAQ.
15511 * Makefile (files-for-dist): Remove FAQ.
15512 (FAQ): Remove.
15513
15514 2012-05-02 Allan McRae <allan@archlinux.org>
15515
15516 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15517 (LDFLAGS-reldepmod5.so): Likewise.
15518 (LDFLAGS-reldep6mod1.so): Likewise.
15519 (LDFLAGS-reldep6mod4.so): Likewise.
15520 (LDFLAGS-reldep8mod3.so): Likewise.
15521 (LDFLAGS-unload4mod1.so): Likewise.
15522 (LDFLAGS-unload4mod2.so): Likewise.
15523 (LDFLAGS-tst-initorder): Likewise.
15524 (LDFLAGS-tst-initordera2.so): Likewise.
15525 (LDFLAGS-tst-initordera3.so): Likewise.
15526 (LDFLAGS-tst-initordera4.so): Likewise.
15527 (LDFLAGS-tst-initorderb2.so): Likewise.
15528 (LDFLAGS-noload): Likewise.
15529 (LDFLAGS-next): Likewise.
15530 (LDFLAGS-order2mod1.so): Likewise.
15531 (LDFLAGS-order2mod2.so): Likewise.
15532 (LDFLAGS-tst-initorder2): Likewise.
15533 (LDFLAGS-tst-initorder2a.so): Likewise.
15534 (LDFLAGS-tst-initorder2b.so): Likewise.
15535 (LDFLAGS-tst-initorder2c.so): Likewise.
15536 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15537
15538 2012-05-02 David S. Miller <davem@davemloft.net>
15539
15540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15541
15542 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15543
15544 [BZ #14055]
15545 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15546
15547 2012-05-02 Andreas Jaeger <aj@suse.de>
15548
15549 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15550 since we manipulate rounding mode.
15551 (CPPFLAGS-test-idouble.c): Likewise.
15552 (CPPFLAGS-test-ifloat.c): Likewise.
15553 (CFLAGS-test-ldouble.c): Likewise.
15554 (CFLAGS-test-double.c): Likewise.
15555 (CFLAGS-test-float.c): Likewise.
15556 (CFLAGS-test-misc.c): Likewise.
15557 (CFLAGS-test-test-fenv.c): Likewise.
15558
15559 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15560
15561 [BZ #2550]
15562 [BZ #2570]
15563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15564 comparisons to determine direction to adjust input.
15565
15566 2012-05-01 Roland McGrath <roland@hack.frob.com>
15567
15568 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15569 output to the target.
15570
15571 * scripts/localplt.awk: New file.
15572 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15573 (check-localplt-CFLAGS): Variable removed.
15574 ($(all-built-dso:=.jmprel)): New static pattern rule.
15575 (generated): Add those targets.
15576 (localplt-built-dso): New variable.
15577 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15578
15579 * elf/check-localplt.c: File removed.
15580
15581 * scripts/check-execstack.awk: New file.
15582 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15583 (check-execstack-CFLAGS): Variable removed.
15584 ($(objpfx)check-execstack.h): Target removed.
15585 ($(objpfx)execstack-default): New target.
15586 (generated): Add that instead of check-execstack.h.
15587 ($(all-built-dso:=.phdr)): New static pattern rule.
15588 (generated): Add those targets.
15589 * elf/check-execstack.c: File removed.
15590
15591 * scripts/check-textrel.awk: New file.
15592 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15593 (check-textrel-CFLAGS): Variable removed.
15594 (all-built-dso): Use := to define.o
15595 ($(all-built-dso:=.dyn)): New static pattern rule.
15596 (generated): Add those targets.
15597 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15598 * config.make.in (READELF): New substituted variable.
15599 * elf/check-textrel.c: File removed.
15600
15601 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15602
15603 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15604 allow.
15605 * conform/data/ctype.h-data [C99-based standards] (isblank):
15606 Expect function.
15607 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15608 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15610 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15611 Specify type. Require positive value.
15612 (EILSEQ): Likewise.
15613 (ERANGE): Likewise.
15614 [ISO || POSIX] (EILSEQ): Do not expect.
15615 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15616 Specify type. Require positive value.
15617 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15629 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15630 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15691 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15692 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15693 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15694 Require >= 2.
15695 (FLT_ROUNDS): Expect as macro, not constant.
15696 (FLT_MANT_DIG): Use macro-int-constant.
15697 (DBL_MANT_DIG): Likewise.
15698 (LDBL_MANT_DIG): Likewise.
15699 (FLT_DIG): Likewise.
15700 (DBL_DIG): Likewise.
15701 (LDBL_DIG): Likewise.
15702 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15703 (DBL_MIN_EXP): Likewise.
15704 (LDBL_MIN_EXP): Likewise.
15705 (FLT_MAX_EXP): Use macro-int-constant.
15706 (DBL_MAX_EXP): Likewise.
15707 (LDBL_MAX_EXP): Likewise.
15708 (FLT_MAX_10_EXP): Likewise.
15709 (DBL_MAX_10_EXP): Likewise.
15710 (LDBL_MAX_10_EXP): Likewise.
15711 (FLT_MAX): Use macro-constant.
15712 (DBL_MAX): Likewise.
15713 (LDBL_MAX): Likewise.
15714 (FLT_EPSILON): Use macro-constant. Give upper bound.
15715 (DBL_EPSILON): Likewise.
15716 (LDBL_EPSILON): Likewise.
15717 (FLT_MIN): Likewise.
15718 (DBL_MIN): Likewise.
15719 (LDBL_MIN): Likewise.
15720 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15721 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15722 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15723 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15724 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15725 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15726 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15727 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15728 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15729 [ISO11] (FLT_TRUE_MIN): Likewise.
15730 [ISO11] (LDBL_TRUE_MIN): Likewise.
15731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15732 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15733 (SCHAR_MIN): Use macro-int-constant. Specify type.
15734 (SCHAR_MAX): Likewise.
15735 (UCHAR_MAX): Likewise.
15736 (CHAR_MIN): Likewise.
15737 (CHAR_MAX): Likewise.
15738 (MB_LEN_MAX): Use macro-int-constant.
15739 (SHRT_MIN): Use macro-int-constant. Specify type.
15740 (SHRT_MAX): Likewise.
15741 (USHRT_MAX): Likewise.
15742 (INT_MAX): Likewise.
15743 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15744 bound negative.
15745 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15746 bound with "U".
15747 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15748 bound with "L".
15749 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15750 bound negative. Suffix upper bound with "L".
15751 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15752 bound with "UL".
15753 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15754 Specify type.
15755 [C99-based standards] (LLONG_MAX): Likewise.
15756 [C99-based standards] (ULLONG_MAX): Likewise.
15757 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15758 == 0.
15759 [ISO11] (max_align_t): Require type.
15760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15761
15762 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15763 from $CFLAGS, without defining away __attribute__ calls.
15764 (checknamespace): Use $CFLAGS_namespace.
15765
15766 * conform/conformtest.pl (@keywords): Only include C99 keywords
15767 for standards based on C99 or C11.
15768
15769 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15770 Disable tests.
15771 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15772 UNIX98]: Likewise.
15773
15774 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15775 usability of symbols in #if.
15776
15777 * conform/conformtest.pl: If macro or constant types start
15778 "promoted:", expect the symbol to be of the following type
15779 promoted by the integer promotions.
15780
15781 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15782 in one place. Also handle "macro-constant".
15783
15784 * conform/conformtest.pl: Only accept expected macro values with
15785 "==". Parse all "macro" lines in one place.
15786 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15787
15788 * conform/conformtest.pl: Handle braced types on "constant" lines
15789 instead of handling "typed-constant".
15790 * conform/data/signal.h-data: Use "constant" instead of
15791 "typed-constant".
15792
15793 * conform/conformtest.pl: Handle "optional-" at start of lines in
15794 one place rather than duplicating several cases. Handle each
15795 format of "macro" line with initial "optional-".
15796
15797 * conform/conformtest.pl: Only accept expected constant or
15798 optional-constant values with "==". Parse all "constant" lines in
15799 one place. Parse all "optional-constant" lines in one place.
15800 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15801 * conform/data/fmtmsg.h-data: Likewise.
15802 * conform/data/netinet/in.h-data: Likewise.
15803 * conform/data/tar.h-data: Likewise.
15804 * conform/data/limits.h-data: Use "==" form on "constant" and
15805 "optional-constant" lines.
15806
15807 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15808 Use -std=c99 for XOPEN2K.
15809 (@knownproblems): Remove.
15810 (newtoken): Don't check %isknown.
15811
15812 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15813 Do not expect macro.
15814 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15826 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15827 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15844 [XPG3] (acosh): Likewise.
15845 [XPG3] (asinh): Likewise.
15846 [XPG3] (atanh): Likewise.
15847 [XPG3] (cbrt): Likewise.
15848 [XPG3] (expm1): Likewise.
15849 [XPG3] (ilogb): Likewise.
15850 [XPG3] (log1p): Likewise.
15851 [XPG3] (logb): Likewise.
15852 [XPG3] (nextafter): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15855 [XPG3] (remainder): Likewise.
15856 [XPG3] (rint): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15864 [UNIX98 || XOPEN2K] (scalb): Expect.
15865 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15866 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16002
16003 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16004 _XOPEN_SOURCE_EXTENDED for XPG4.
16005
16006 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16007
16008 * Makeconfig (localtime): Remove variable.
16009 (inst_localtime-file): Likewise.
16010
16011 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16012
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16014 Update.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16016 Update.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16018 Update.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16020 Update.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16022 Update.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16024 Update.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16026 Update.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16028 Update.
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16030 Update.
16031
16032 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16033
16034 [BZ #2550]
16035 [BZ #2570]
16036 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16037 comparisons to determine direction to adjust input.
16038 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16039 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16041 Likewise.
16042 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16043 Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16045 Likewise.
16046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16048 Likewise.
16049 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16050 Likewise.
16051 * math/libm-test.inc (nexttoward_test): Add more tests.
16052
16053 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16054
16055 [BZ #14040]
16056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16057 in version GLIBC_2.1, not GLIBC_2.0.
16058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16059 Likewise.
16060
16061 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16062
16063 [BZ #13942]
16064 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16065 (1 - x) * (1 + x).
16066 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16067 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16068 * math/libm-test.inc (acos_test): Add more tests.
16069 (asin_test): Likewise.
16070 * sysdeps/i386/fpu/libm-test-ulps: Update.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072
16073 [BZ #14034]
16074 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16075 of square root.
16076 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16077 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16078 * math/libm-test.inc (acos_test_tonearest): New function.
16079 (acos_test_towardzero): Likewise.
16080 (acos_test_downward): Likewise.
16081 (acos_test_upward): Likewise.
16082 (asin_test_tonearest): Likewise.
16083 (asin_test_towardzero): Likewise.
16084 (asin_test_downward): Likewise.
16085 (asin_test_upward): Likewise.
16086 (main): Call the new functions.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16089
16090 [BZ #13884]
16091 [BZ #13924]
16092 * math/e_exp10.c: Include <float.h>.
16093 (__ieee754_exp10): Handle underflow here rather than multiplying
16094 large negative argument by M_LN10.
16095 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16096 of __ieee754_expf.
16097 * math/e_exp10l.c: Include <float.h>.
16098 (__ieee754_exp10l): Handle underflow here rather than multiplying
16099 large negative argument by M_LN10l.
16100 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16101 spurious overflow exception on underflow.
16102
16103 2012-04-29 Marek Polacek <polacek@redhat.com>
16104
16105 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16106 (__fortify_function): New macro.
16107 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16108 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16109 __extern_always_inline.
16110 * libio/bits/stdio2.h: Likewise.
16111 * libio/bits/stdio.h: Likewise.
16112 * string/string.h: Likewise.
16113 * string/bits/string3.h: Likewise.
16114 * include/stdio.h: Likewise.
16115 * stdlib/bits/stdlib.h: Likewise.
16116 * stdlib/stdlib.h: Likewise.
16117 * rt/bits/mqueue2.h: Likewise.
16118 * rt/mqueue.h: Likewise.
16119 * posix/bits/unistd.h: Likewise.
16120 * posix/unistd.h: Likewise.
16121 * io/bits/poll2.h: Likewise.
16122 * io/bits/fcntl2.h: Likewise.
16123 * io/fcntl.h: Likewise.
16124 * io/sys/poll.h: Likewise.
16125 * misc/bits/syslog.h: Likewise.
16126 * misc/bits/syslog-ldbl.h: Likewise.
16127 * misc/sys/syslog.h: Likewise.
16128 * socket/bits/socket2.h: Likewise.
16129 * socket/sys/socket.h: Likewise.
16130 * debug/tst-chk1.c: Likewise.
16131 * wcsmbs/bits/wchar2.h: Likewise.
16132 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16133 * wcsmbs/wchar.h: Likewise.
16134
16135 2012-04-29 Andreas Jaeger <aj@suse.de>
16136
16137 * Makerules (tests): Remove enable-check-abi protection.
16138 (check-abi-warn): Remove.
16139 (check-abi-%): Remove check-abi-warn usage.
16140
16141 * configure.in: Remove check-abi configure option.
16142 * configure: Regenerated.
16143 * config.make.in (enable-check-abi): Remove.
16144
16145 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16146
16147 [BZ #14033]
16148 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16149 double functions to double *_finite functions.
16150
16151 [BZ #13941]
16152 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16153 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16154 LDBL_MIN_EXP.
16155 * stdio-common/Makefile (tests): Add tst-sprintf3.
16156 * stdio-common/tst-sprintf3.c: New file.
16157
16158 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16159 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16160
16161 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16162
16163 * conform/conformtest.pl: Remove duplicate typed-constant
16164 handling.
16165
16166 2012-04-28 David S. Miller <davem@davemloft.net>
16167
16168 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16169 (check-abi-%): Remove AWK script prerequisite and explicit
16170 abilist directory.
16171 (check-abi): Rewrite to just diff the symlist with the abilist.
16172 (config-tls, config-abi-config): Delete, no longer used.
16173 (update-abi-%): Remove AWK script and explicit abilist directory.
16174 (update-abi): Rewrite to simply compare and conditionally copy the
16175 symlist and the sysdep abilist file. Remove update-abi-config
16176 checks.
16177 * abilist/ld.abilist: Remove.
16178 * abilist/libBrokenLocale.abilist: Remove.
16179 * abilist/libanl.abilist: Remove.
16180 * abilist/libcrypt.abilist: Remove.
16181 * abilist/libdl.abilist: Remove.
16182 * abilist/librt.abilist: Remove.
16183 * abilist/libthread_db.abilist: Remove.
16184 * abilist/libutil.abilist: Remove.
16185 * scripts/extract-abilist.awk: Remove.
16186 * scripts/merge-abilist.awk: Remove.
16187 * sysdeps/generic/libcidn.abilist: New file.
16188 * sysdeps/generic/libnss_compat.abilist: New file.
16189 * sysdeps/generic/libnss_db.abilist: New file.
16190 * sysdeps/generic/libnss_dns.abilist: New file.
16191 * sysdeps/generic/libnss_files.abilist: New file.
16192 * sysdeps/generic/libnss_hesiod.abilist: New file.
16193 * sysdeps/generic/libnss_nis.abilist: New file.
16194 * sysdeps/generic/libnss_nisplus.abilist: New file.
16195 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16196 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16197 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16198 file.
16199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16200 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16201 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16202 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16203 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16205 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16206 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16207 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16208 file.
16209 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16211 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16213 file.
16214 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16216 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16218 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16219 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16220 file.
16221 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16222 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16224 file.
16225 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16227 New file.
16228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16229 New file.
16230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16231 New file.
16232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16233 New file.
16234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16235 New file.
16236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16237 New file.
16238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16239 New file.
16240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16241 New file.
16242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16243 New file.
16244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16245 New file.
16246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16247 New file.
16248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16249 New file.
16250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16251 New file.
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16253 file.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16255 New file.
16256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16257 New file.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16259 file.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16261 New file.
16262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16263 New file.
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16265 file.
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16267 New file.
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16269 New file.
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16271 New file.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16273 New file.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16275 New file.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16277 New file.
16278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16280 file.
16281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16282 New file.
16283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16284 file.
16285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16286 file.
16287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16288 file.
16289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16290 file.
16291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16292 file.
16293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16294 New file.
16295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16296 file.
16297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16298 file.
16299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16300 New file.
16301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16302 file.
16303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16305 file.
16306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16307 New file.
16308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16309 file.
16310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16311 file.
16312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16313 file.
16314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16315 file.
16316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16317 file.
16318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16319 New file.
16320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16321 file.
16322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16323 file.
16324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16325 New file.
16326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16327 file.
16328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16329 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16330 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16331 file.
16332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16333 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16334 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16336 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16337 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16338 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16339 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16340 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16341 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16344 file.
16345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16346 New file.
16347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16348 file.
16349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16350 file.
16351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16352 file.
16353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16354 file.
16355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16356 file.
16357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16358 New file.
16359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16360 New file.
16361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16362 file.
16363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16364 New file.
16365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16366 file.
16367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16369 file.
16370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16371 New file.
16372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16373 file.
16374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16375 file.
16376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16377 file.
16378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16379 file.
16380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16381 file.
16382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16383 New file.
16384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16385 New file.
16386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16387 file.
16388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16389 New file.
16390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16391 file.
16392
16393 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16394
16395 * conform/conformtest.pl: Fix typo in handling typed-constant from
16396 allow-header.
16397
16398 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16399
16400 * README: Cut down references to pre-2.6 Linux kernels and
16401 Linuxthreads. Update lists of configurations in libc and ports
16402 and sort alphabetically. Say "or newer" with Linux kernel version
16403 requirements.
16404
16405 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16406
16407 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16408
16409 [BZ #887]
16410 * math/libm-test.inc (logb_test_downward): New test to expose
16411 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16412 rounding mode.
16413
16414 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16415
16416 [BZ #14027]
16417 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16418 to be done.
16419 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16420 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16421
16422 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16423
16424 * sysdeps/unix/i386/brk.S: Remove file.
16425 * sysdeps/unix/i386/dl-brk.S: Likewise.
16426 * sysdeps/unix/i386/pipe.S: Likewise.
16427 * sysdeps/unix/i386/sigreturn.S: Likewise.
16428 * sysdeps/unix/i386/syscall.S: Likewise.
16429 * sysdeps/unix/i386/vfork.S: Likewise.
16430 * sysdeps/unix/i386/wait.S: Likewise.
16431
16432 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16433 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16434
16435 * configure.in (arm*-none*): Do not allow without
16436 --enable-hacker-mode.
16437 (netbsd*): Remove case setting base_os.
16438 (386bsd*): Likewise.
16439 (freebsd*): Likewise.
16440 (bsdi*): Likewise.
16441 (osf*): Likewise.
16442 (sunos*): Likewise.
16443 (ultrix*): Likewise.
16444 (newsos*): Likewise.
16445 (dynix*): Likewise.
16446 (*bsd*): Likewise.
16447 (sysv*): Likewise.
16448 (isc*): Likewise.
16449 (esix*): Likewise.
16450 (sco*): Likewise.
16451 (minix*): Likewise.
16452 (irix4*): Likewise.
16453 (irix6*): Likewise.
16454 (solaris[2-9]*): Likewise.
16455 (none): Likewise.
16456 * configure: Regenerated.
16457
16458 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16459
16460 [BZ #11521]
16461 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16462 overflow or cancellation in calculating denominator.
16463 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16464 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16465 down expression to avoid unexpected rounding in newer GCCs.
16466 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16467
16468 2012-04-26 David S. Miller <davem@davemloft.net>
16469
16470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16471 long-double compat symbols.
16472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16485
16486 2012-04-25 David S. Miller <davem@davemloft.net>
16487
16488 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16489 HWCAP_* values only after the memory barriers have been defined.
16490 (atomic_full_barrier): Define.
16491 (atomic_read_barrier): Define.
16492 (atomic_write_barrier): Define.
16493
16494 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16495
16496 * shlib-versions: Add libgcc_s version information.
16497 * sysdeps/generic/libgcc_s.h: Remove.
16498 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16499 libgcc_s.h.
16500 * sysdeps/gnu/unwind-resume.c: Likewise.
16501 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16502
16503 2012-04-25 David S. Miller <davem@davemloft.net>
16504
16505 * sysdeps/unix/sparc/brk.S: Delete.
16506 * sysdeps/unix/sparc/dl-brk.S: Delete.
16507 * sysdeps/unix/sparc/pipe.S: Delete.
16508 * sysdeps/unix/sparc/sysdep.S: Delete.
16509 * sysdeps/unix/sparc/sysdep.h: Delete.
16510 * sysdeps/unix/sparc/vfork.S: Delete.
16511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16512 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16514 ret_ERRVAL, r0, r1, MOVE): Define.
16515 (JUMPTARGET): Remove.
16516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16517 sysdeps/unix/sparc/sysdep.h
16518 (ENTRY, END): Remove.
16519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16520
16521 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16522
16523 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16524 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16525 -DIS_IN_build.
16526
16527 * timezone/README: Update upstream location and email address for
16528 tzcode and tzdata.
16529 * timezone/zdump.c: Update from tzcode 2012b.
16530 * timezone/zic.c: Likewise.
16531
16532 * configure.in (libc_cv_as_needed): Remove test.
16533 * configure: Regenerated.
16534 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16535 conditional definition.
16536 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16537 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16538 * config.make.in (have-as-needed): Remove variable.
16539
16540 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16541 Paul Pluzhnikov <ppluzhnikov@google.com>
16542
16543 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16544 strings correctly.
16545
16546 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16547
16548 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16549 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16550 * sysdeps/sh/strlen.S: Likewise.
16551
16552 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16553
16554 * sysdeps/unix/fork.S: Remove file.
16555 * sysdeps/unix/i386/fork.S: Likewise.
16556 * sysdeps/unix/sparc/fork.S: Likewise.
16557
16558 * sysdeps/unix/system.c: Remove file.
16559 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16560
16561 * sysdeps/unix/getegid.S: Remove file.
16562 * sysdeps/unix/geteuid.S: Likewise.
16563
16564 2012-04-24 Roland McGrath <roland@hack.frob.com>
16565
16566 * scripts/check-localplt.awk: New file.
16567 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16568 of diff.
16569 * scripts/data/localplt-generic.data: Add a comment.
16570
16571 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16572 NODE when __dir_mkfile failed.
16573 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16574 Reported by Ludovic Courtès <ludo@gnu.org>.
16575
16576 2012-04-24 Andreas Jaeger <aj@suse.de>
16577
16578 * Makerules (common-clean): Also remove gen-as-const-headers
16579 files.
16580
16581 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16582
16583 * Makerules (native-compile): Do not change working directory for
16584 build. Use $(OUTPUT_OPTION) in command.
16585 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16586
16587 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16588
16589 [BZ #13886]
16590 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16591 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16592 * math/libm-test.inc (floor_test): Add more tests.
16593 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16594
16595 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16596
16597 * sysdeps/unix/getdents.c: Remove file.
16598 * sysdeps/unix/sysv/getdents.c: Likewise.
16599 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16600
16601 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16602 sysdeps/unix/mman/syscalls.list.
16603 (mmap): Likewise.
16604 (mprotect): Likewise.
16605 (msync): Likewise.
16606 (munmap): Likewise.
16607 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16608 * sysdeps/unix/mman/syscalls.list: Remove.
16609 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16610
16611 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16612 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16613 * configure: Regenerated.
16614 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16615 $(libgcc_s_suffix).
16616 * config.make.in (libgcc_s_suffix): Remove variable.
16617
16618 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16619
16620 * sysdeps/unix/sysv/gethostname.c: Move to ...
16621 * sysdeps/posix/gethostname.c: ... here.
16622
16623 * sysdeps/unix/execve.S: Remove file.
16624
16625 * sysdeps/unix/_exit.S: Remove file.
16626
16627 2012-04-23 Andreas Jaeger <aj@suse.de>
16628
16629 [BZ #13739]
16630 * manual/Makefile: Remove make dist support, there's no
16631 need for a stand-alone documentation tar ball.
16632 (TEXI2DVI): Define always, it's not in Makeconfig.
16633 (dist): Removed.
16634 (tar-it): Removed.
16635 (edition): Removed.
16636 (glibc-doc-$(edition).tar): Removed
16637 (%.Z): Removed.
16638 (%.gz): Removed.
16639 (%.uu): Removed.
16640 (ETAGS): Remove, it's in Makeconfig.
16641 (move-if-change): Remove, it's in Makeconfig.
16642
16643 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16644
16645 [BZ #13970]
16646 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16647 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16648 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16649 (strtod_l, strtof_l, strtold_l): Remove __wur.
16650 It is not necessarily an error to ignore strtol's return value.
16651 One can reliably look at the stored endptr to decide whether
16652 the number had valid syntax.
16653
16654 2012-04-21 Andreas Jaeger <aj@suse.de>
16655
16656 [BZ #13739]
16657 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16658
16659 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16660
16661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16662 * sysdeps/unix/sysv/Versions: Remove file.
16663
16664 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16665
16666 [BZ #13927]
16667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16668
16669 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16670
16671 [BZ #7064]
16672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16673 version from __vm86.
16674
16675 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16676
16677 * sysdeps/unix/common/lxstat.c: Remove file.
16678 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16679
16680 * sysdeps/unix/sysv/Makefile: Remove file.
16681
16682 * sysdeps/unix/sysv/direct.h: Remove file.
16683
16684 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16685 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16686 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16687 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16688 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16689 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16690 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16691
16692 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16693
16694 * sysdeps/unix/xmknod.c: Remove file.
16695 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16696
16697 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16698
16699 * sysdeps/unix/sysv/i386/time.S: Remove file.
16700
16701 * sysdeps/unix/fxstat.c: Remove file.
16702 * sysdeps/unix/xstat.c: Likewise.
16703 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16704
16705 * sysdeps/unix/sysv/sigaction.c: Remove file.
16706
16707 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16708 (sysdep_headers): Remove variable.
16709 [termio.h not in sysdep_headers] (generated): Likewise.
16710 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16711 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16712 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16713 * sysdeps/unix/sysv/tcflow.c: Likewise.
16714 * sysdeps/unix/sysv/tcflush.c: Likewise.
16715 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16716 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16717 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16718 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16719 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16720
16721 * sysdeps/unix/siglist.c: Remove file.
16722
16723 * sysdeps/unix/getppid.S: Remove file.
16724
16725 * sysdeps/unix/mkdir.c: Remove file.
16726 * sysdeps/unix/rmdir.c: Likewise.
16727
16728 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16729
16730 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16731 ERR_MAX value.
16732 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16733 errlist-compat value.
16734
16735 2012-04-18 David S. Miller <davem@davemloft.net>
16736
16737 * sysdeps/generic/memcopy.h (reg_char): Delete.
16738 * debug/strcat_chk.c: Use char, not reg_char.
16739 * debug/strcpy_chk.c: Likewise.
16740 * debug/strncat_chk.c: Likewise.
16741 * debug/strncpy_chk.c: Likewise.
16742 * string/memchr.c: Likewise.
16743 * string/memrchr.c: Likewise.
16744 * string/rawmemchr.c: Likewise.
16745 * string/strcat.c: Likewise.
16746 * string/strchr.c: Likewise.
16747 * string/strchrnul.c: Likewise.
16748 * string/strcmp.c: Likewise.
16749 * string/strcpy.c: Likewise.
16750 * string/strncat.c: Likewise.
16751 * string/strncmp.c: Likewise.
16752 * string/strncpy.c: Likewise.
16753
16754 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16755
16756 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16757 __builtin_memcopy is called when src and dest ranges are known to not
16758 overlap.
16759
16760 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16761
16762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16763 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16764 fwd_align_merge macro call.
16765 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16766 bwd_align_merge macro call.
16767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16768
16769 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16770
16771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16772 bwd_align_merge macros.
16773 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16774 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16775 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16776
16777 2012-04-18 David S. Miller <davem@davemloft.net>
16778
16779 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16780
16781 2012-04-18 Andreas Jaeger <aj@suse.de>
16782
16783 [BZ# 6794]
16784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16785 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16786 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16787
16788 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16789 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16790 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16791
16792 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16793 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16794 Adjust for changed ldbl-128 files.
16795
16796 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16797 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16798 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16799
16800 2012-04-17 David S. Miller <davem@davemloft.net>
16801
16802 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16803
16804 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16805
16806 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16807 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16808 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16809 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16810 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16811 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16812
16813 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16814
16815 [BZ #6794]
16816 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16817 * math/libm-test.inc: Add ilogb errno and exception tests.
16818 * math/w_ilogb.c: New file: ilogb wrapper.
16819 * math/w_ilogbf.c: New file: ilogbf wrapper.
16820 * math/w_ilogbl.c: New file: ilogbl wrapper.
16821 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16822 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16823 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16824 exception being thrown with 0.0 as argument.
16825 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16826 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16827 exception being thrown with 0.0 as argument.
16828 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16829 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16830 exception being thrown with 0.0 as argument.
16831 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16832 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16833 exception being thrown with 0.0 as argument.
16834 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16835 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16836 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16837 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16840 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16841 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16842 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16843
16844 2012-04-17 Petr Baudis <pasky@ucw.cz>
16845
16846 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16847 with altivec.
16848
16849 2012-04-16 Marek Polacek <polacek@redhat.com>
16850
16851 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16852
16853 2012-04-16 Marek Polacek <polacek@redhat.com>
16854
16855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16856 operands of fdivp instruction.
16857
16858 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16859
16860 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16861 * elf/tst-auditmod3b.c: Likewise.
16862 * elf/tst-auditmod4b.c: Likewise.
16863 * elf/tst-auditmod5b.c: Likewise.
16864 * elf/tst-auditmod6b.c: Likewise.
16865 * elf/tst-auditmod6c.c: Likewise.
16866 * elf/tst-auditmod7b.c: Likewise.
16867 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16868 * sysdeps/x86_64/preconfigure.in: Likewise.
16869 * sysdeps/x86_64/preconfigure: Regenerated.
16870
16871 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16874 __ILP32__.
16875
16876 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16877
16878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16879 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16880
16881 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16882
16883 [BZ #13973]
16884 * locale/iso-639.def: Fix gl language name. Spotted by
16885 Yaron Shahrabani.
16886
16887 2012-04-12 Roland McGrath <roland@hack.frob.com>
16888
16889 [BZ #2074]
16890 * libio/libio.h (__io_write_fn): Update comment.
16891
16892 2012-04-12 Petr Baudis <pasky@ucw.cz>
16893
16894 [BZ #2074]
16895 * stdio.texi (Hook Functions): The user provided writer function
16896 is not allowed to return -1.
16897
16898 2012-04-11 David S. Miller <davem@davemloft.net>
16899
16900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16901
16902 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16903
16904 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16905 Add a leading slash to rtkaio.
16906
16907 2012-04-11 Jim Meyering <meyering@redhat.com>
16908
16909 [BZ #11959]
16910 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16911 It is not necessarily an error to ignore fwrite's return
16912 value. One can reliably use ferror to test for errors after
16913 the fact.
16914
16915 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16916
16917 * bits/types.h (__snseconds_t): New type.
16918 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16919
16920 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16922 (__SNSECONDS_T_TYPE): Likewise.
16923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16924 (__SNSECONDS_T_TYPE): Likewise.
16925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16926 (__SNSECONDS_T_TYPE): Likewise.
16927
16928 2012-04-10 Andreas Jaeger <aj@suse.de>
16929
16930 [BZ #2636]
16931 * manual/time.texi (Processor Time): Return type of times is
16932 elapsed real time since an arbitrary point in the past.
16933 (CPU Time): Move CLK_TCK from here...
16934 (Processor Time): ...to here. Correct description.
16935 * manual/conf.texi (Constants for Sysconf): Correct description of
16936 _SC_CLK_TCK.
16937
16938 2012-04-10 David S. Miller <davem@davemloft.net>
16939
16940 [BZ #13967]
16941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16942 where the is a gap between DT_REL(A) and DT_JMPREL.
16943
16944 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16947 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16948 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16949
16950 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16951
16952 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16953 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16954 (dl_main): Handle --inhibit-cache.
16955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16956 _dl_inhibit_cache.
16957 * elf/dl-load.c (_dl_map_object): Use it.
16958 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16959
16960 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16961
16962 [BZ #13872]
16963 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16964 (__ieee754_powl): Saturate large exponents rather than testing for
16965 overflow of y*log2(x).
16966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16967 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16968 exceptions.
16969
16970 [BZ #11521]
16971 * math/s_ctan.c: Include <float.h>.
16972 (__ctan): Avoid internal overflow or cancellation in calculating
16973 denominator.
16974 * math/s_ctanf.c: Likewise.
16975 * math/s_ctanl.c: Likewise.
16976 * math/s_ctanh.c: Likewise.
16977 * math/s_ctanhf.c: Likewise.
16978 * math/s_ctanhl.c: Likewise.
16979 * math/libm-test.inc (ctan_test): Add more tests.
16980 (ctanh_test): Likewise.
16981 * sysdeps/i386/fpu/libm-test-ulps: Update.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16983
16984 2012-04-09 Andreas Jaeger <aj@suse.de>
16985
16986 [BZ #6894]
16987 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16988 is an optional BSD extension.
16989
16990 [BZ #10254]
16991 * manual/stdio.texi (Opening Streams): Document additional fopen
16992 parameters.
16993
16994 2012-04-09 Roland McGrath <roland@hack.frob.com>
16995
16996 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16997 %eax without telling the compiler.
16998
16999 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17000
17001 [BZ # 13963]
17002 * manual/install.texi: Use sourceware.org.
17003
17004 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17005
17006 [BZ #13873]
17007 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17008 (__ieee754_pow): Generate overflow and underflow using huge*huge
17009 and tiny*tiny rather than just returning constant infinity or zero
17010 for large exponents.
17011 * math/libm-test.inc (pow_test): Require overflow exceptions for
17012 applicable cases of large exponents.
17013
17014 [BZ #706]
17015 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17016 (__ieee754_pow): Use iterative multiplication algorithm only for
17017 integer exponents with absolute value below 1024. Check for odd
17018 integer exponents when using algorithm for real exponents.
17019 * math/libm-test.inc (pow_test): Add more tests.
17020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17021
17022 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17023
17024 [BZ #13705]
17025 * math/libm-test.inc (exp_test): Do not allow overflow exception
17026 on underflow test.
17027
17028 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17029
17030 [BZ #13705]
17031 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17032 instead of __kernel_standard_f.
17033
17034 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17035
17036 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17037 * sysdeps/x86_64/memset_chk.S: Likewise.
17038
17039 2012-04-08 Andreas Jaeger <aj@suse.de>
17040
17041 [BZ #10153]
17042 * manual/startup.texi (Environment Access): Describe return value
17043 for putenv and setenv.
17044
17045 [BZ #6895]
17046 * manual/filesys.texi (Directory Entries): Add description for
17047 DT_LNK.
17048
17049 [BZ #6890]
17050 * manual/filesys.texi (Directory Entries): Clarify that it's file
17051 system not operating system in the description of DT_UNKNOWN.
17052
17053 [BZ #6578]
17054 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17055
17056 2012-04-08 Stephen Compall <s11@member.fsf.org>
17057
17058 [BZ #6649]
17059 * manual/llio.texi (Opening and Closing Files): Add cross
17060 reference to explain mode argument.
17061
17062 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17063
17064 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17065 * sysdeps/x86_64/memset_chk.S: Likewise.
17066
17067 2012-04-07 David S. Miller <davem@davemloft.net>
17068
17069 * elf/elf.h (R_SPARC_WDISP10): Define.
17070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17071 R_SPARC_SIZE32.
17072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17073 R_SPARC_SIZE64 and R_SPARC_H34.
17074
17075 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17076
17077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17078 conditions and remove no longer applicable assertion.
17079
17080 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * bits/byteswap.h: Include <features.h>.
17083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17085
17086 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 * bits/byteswap.h (__bswap_16): Removed.
17089 Include <bits/byteswap-16.h> to get __bswap_16.
17090 * sysdeps/i386/bits/byteswap.h: Likewise.
17091 * sysdeps/s390/bits/byteswap.h: Likewise.
17092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17093 * bits/byteswap-16.h: New file.
17094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17095 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17096 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17097 * string/Makefile (headers): Add bits/byteswap-16.h.
17098
17099 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17100
17101 [BZ #13895]
17102 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17103 extra indirection.
17104 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17105 * nss/tst-nss-static.c: New.
17106
17107 2012-04-06 Robert Millan <rmh@gnu.org>
17108
17109 [BZ #6486]
17110 * manual/llio.texi (File Position Primitive): lseek
17111 refers to WHENCE when it really means OFFSET.
17112
17113 2012-04-06 Andreas Jaeger <aj@suse.de>
17114
17115 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17116 strncmp declarations.
17117
17118 * abilist/libc.abilist: Add __poll and __ppoll.
17119
17120 2012-04-05 David S. Miller <davem@davemloft.net>
17121
17122 * scripts/check-local-headers.sh: Accept a host triplet in the
17123 path matched by the exclude regexp.
17124
17125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17126 definition.
17127 * sysdeps/powerpc/powerpc32/dl-machine.h
17128 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17129 * sysdeps/s390/s390-32/dl-machine.h
17130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17131 * sysdeps/sparc/sparc32/dl-machine.h
17132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17133 * sysdeps/sparc/sparc64/dl-machine.h
17134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17135
17136 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17137 lazy binding.
17138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17139 undefined symbol errors.
17140
17141 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17142 DT_NEEDED entries.
17143
17144 2012-04-05 Michael Matz <matz@suse.de>
17145
17146 [BZ #13592]
17147 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17148
17149 2012-04-05 Andreas Jaeger <aj@suse.de>
17150
17151 [BZ #13908]
17152 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17153 comment.
17154
17155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17156
17157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17158 which ROUND is no valid rounding mode.
17159
17160 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17161
17162 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17163 read again.
17164 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17165
17166 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17167
17168 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17169 an exception using FPU order intentionally.
17170
17171 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17172
17173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17174 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17175 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17176 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17177
17178 2012-04-05 Simon Josefsson <simon@josefsson.org>
17179
17180 [BZ #12340]
17181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17182 EINVAL when BUFLEN is too smal.
17183
17184 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17185
17186 [BZ #13553]
17187 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17188 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17189
17190 2012-04-03 Andreas Jaeger <aj@suse.de>
17191
17192 [BZ #13938]
17193 * manual/setjmp.texi (System V contexts): Fix sentence.
17194
17195 [BZ #13926]
17196 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17197 New macro for this case.
17198 [!__GNUC__] (__bswap_64): New inline function for this case.
17199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17200 * bits/byteswap.h: Likewise.
17201 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17202 ull, guard with __GLIBC_HAVE_LONG_LONG.
17203
17204 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17205 __GLIBC_HAVE_LONG_LONG.
17206
17207 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17208 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17209
17210 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17211
17212 [BZ #13691]
17213 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17214 inptr and inend, rather than using last_ch.
17215
17216 2012-04-02 David S. Miller <davem@davemloft.net>
17217
17218 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17219 * stdio-common/printf-parse.h (read_int): Change return type to
17220 'int', return -1 on INT_MAX overflow.
17221 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17222 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17223 overflows INT_MAX. Check for overflow of in-format-string precision
17224 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17225 SIZE_MAX not INT_MAX for integer overflow test.
17226 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17227 skip the construct in the format string but do not record anything.
17228 * stdio-common/bug22.c: Adjust to test both width/prevision
17229 INT_MAX overflow as well as total length INT_MAX overflow. Check
17230 explicitly for proper errno values.
17231
17232 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17233
17234 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17235 CHAR_MAX.
17236 * string/test-strcmp.c [! WIDE]: Likewise.
17237 * time/tst-mktime2.c: Likewise for INT_MAX.
17238 * string/test-string.h: #include <sys/param.h> for MIN.
17239
17240 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17241 * sysdeps/i386/init-first.c (init): Likewise.
17242 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17243 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17244 * sysdeps/sh/init-first.c (init): Likewise.
17245
17246 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17247
17248 * po/ru.po: Update from translation team.
17249 * po/vi.po: Likewise.
17250
17251 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17252
17253 * resolv/nss_dns/dns-host.c: Merge copyright years.
17254
17255 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17256
17257 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17258 Optimize memcpy with prefetch if
17259 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17260 src, dst pointers have unequal 16 byte alignments.
17261
17262 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17263
17264 [BZ #13928]
17265 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17266 from a CNAME entry and return the minimum ttl for the query.
17267 (gaih_getanswer_slice): Likewise.
17268
17269 2012-03-30 Jeff Law <law@redhat.com>
17270
17271 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17272 due to long keys.
17273 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17274 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17275
17276 * resolv/nss_dns/dns-host.c: Update copyright year.
17277
17278 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17279
17280 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17281 requests to save a system call. Fix check that all bytes are sent.
17282
17283 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17284 comments for sendmmsg.
17285
17286 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17287
17288 [BZ #13691]
17289 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17290 with only 1 character between 0x0041 and 0x01b0.
17291 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17292 * wcsmbs/tst-mbsnrtowcs.c: New file.
17293
17294 2012-03-29 David S. Miller <davem@davemloft.net>
17295
17296 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17297 small copies by hand.
17298
17299 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
17301 [BZ #13761]
17302 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17303 _nss_compat_initgroups_dyn): Fall back to malloc/free
17304 for large group memberships.
17305
17306 2012-03-28 David S. Miller <davem@davemloft.net>
17307
17308 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17309 that branches into memcpy.
17310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17313 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17315 bits.
17316 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17317 implementation too.
17318 * sysdeps/sparc/mempcpy.S: New file.
17319
17320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17321 the IFUNC routine in the libc case.
17322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17323
17324 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17326 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17327 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17328 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17329 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17330 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17331 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17332
17333 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17334 loop to 256 bytes instead of 64 bytes and fix test signedness.
17335
17336 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17337 * sysdeps/sparc/sparc32/Makefile: rather than here...
17338 * sysdeps/sparc/sparc64/Makefile: and here.
17339
17340 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17341
17342 * malloc/mallocbug.c: Avoid warnings about unused variables.
17343
17344 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17345
17346 [BZ #13760]
17347 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17348 in the right place. Discard and retry query if response is
17349 larger than input buffer size.
17350
17351 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17352
17353 [BZ #369]
17354 [BZ #2678]
17355 [BZ #3866]
17356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17357 x for large integer exponent.
17358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17359 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17360 sign of result as needed afterwards.
17361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17362 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17363 result for underflowing pow the same as for overflow.
17364 (__kernel_standard_l): Handle powl overflow and underflow here
17365 rather than calling __kernel_standard.
17366 * math/libm-test.inc (pow_test): Add more tests.
17367
17368 [BZ #3868]
17369 [BZ #13879]
17370 [BZ #13910]
17371 [BZ #13911]
17372 [BZ #13912]
17373 [BZ #13913]
17374 [BZ #13915]
17375 [BZ #13916]
17376 [BZ #13917]
17377 [BZ #13918]
17378 [BZ #13919]
17379 [BZ #13920]
17380 [BZ #13921]
17381 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17382 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17383 (__kernel_standard_l): New function.
17384 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17385 __kernel_standard.
17386 * math/w_acosl.c (__acosl): Likewise.
17387 * math/w_asinl.c (__asinl): Likewise.
17388 * math/w_atan2l.c (__atan2l): Likewise.
17389 * math/w_atanhl.c (__atanhl): Likewise.
17390 * math/w_coshl.c (__coshl): Likewise.
17391 * math/w_exp10l.c (__exp10l): Likewise.
17392 * math/w_exp2l.c (__exp2l): Likewise.
17393 * math/w_fmodl.c (__fmodl): Likewise.
17394 * math/w_hypotl.c (__hypotl): Likewise.
17395 * math/w_j0l.c (__j0l, __y0l): Likewise.
17396 * math/w_j1l.c (__j1l, __y1l): Likewise.
17397 * math/w_jnl.c (__jnl, __ynl): Likewise.
17398 * math/w_lgammal.c (__lgammal): Likewise.
17399 * math/w_log10l.c (__log10l): Likewise.
17400 * math/w_log2l.c (__log2l): Likewise.
17401 * math/w_logl.c (__logl): Likewise.
17402 * math/w_powl.c (__powl): Likewise.
17403 * math/w_remainderl.c (__remainderl): Likewise.
17404 * math/w_scalbl.c (sysv_scalbl): Likewise.
17405 * math/w_sinhl.c (__sinhl): Likewise.
17406 * math/w_sqrtl.c (__sqrtl): Likewise.
17407 * math/w_tgammal.c (__tgammal): Likewise.
17408 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17409 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17410 * math/libm-test.inc (acos_test): Add more tests.
17411 (acosh_test): Likewise.
17412 (asin_test): Likewise.
17413 (atanh_test): Likewise.
17414 (exp_test): Likewise.
17415 (exp10_test): Likewise.
17416 (exp2_test): Likewise.
17417 (expm1_test): Likewise.
17418 (lgamma_test): Likewise.
17419 (log_test): Likewise.
17420 (log10_test): Likewise.
17421 (log1p_test): Likewise.
17422 (log2_test): Likewise.
17423 (pow_test): Do not allow some spurious overflow exceptions.
17424 (sqrt_test): Add more tests.
17425 (tgamma_test): Likewise.
17426 (y0_test): Likewise.
17427 (y1_test): Likewise.
17428 (yn_test): Likewise.
17429
17430 2012-03-27 Anton Blanchard <anton@samba.org>
17431
17432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17433 MAP_HUGETLB.
17434 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17435 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17437
17438 2012-03-27 David S. Miller <davem@davemloft.net>
17439
17440 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17441
17442 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17443 have-as-vis3 check.
17444
17445 2012-03-27 Andreas Jaeger <aj@suse.de>
17446
17447 * sysdeps/x86_64/elf/configure.in: Moved to ...
17448 * sysdeps/x86_64/configure.in: ... here.
17449 * sysdeps/x86_64/elf/start.S: Moved to ...
17450 * sysdeps/x86_64/start.S: ... here.
17451 * sysdeps/x86_64/elf/configure: Delete.
17452
17453 * sysdeps/x86_64/configure.in: Merge contents from
17454 sysdeps/i386/configure.in (without i686 check).
17455
17456 * sysdeps/i386/elf/Versions: Merge into ...
17457 * sysdeps/i386/Versions: ... this.
17458 * sysdeps/i386/elf/Versions: Delete file.
17459 * sysdeps/i386/elf/start.S: Moved to ...
17460 * sysdeps/i386/start.S: ...here.
17461 * sysdeps/i386/elf/configure.in: Merge into...
17462 * sysdeps/i386/configure.in: ...here.
17463 * sysdeps/i386/elf/configure.in: Delete file.
17464 * sysdeps/i386/elf/configure: Delete file.
17465
17466 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17467 * debug/backtracesyms.c: ... here.
17468 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17469 * debug/backtracesymsfd.c: ... here.
17470 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17471 * sysdeps/generic/ifunc-sel.h: ... here.
17472
17473 * sysdeps/unix/i386/start.c: Delete file.
17474 * sysdeps/unix/sparc/start.c: Delete file.
17475 * sysdeps/unix/start.c: Delete file.
17476
17477 * sysdeps/sh/elf/configure.in: Moved to ...
17478 * sysdeps/sh/configure.in: ... here.
17479 * sysdeps/sh/elf/start.S: Moved to ...
17480 * sysdeps/sh/start.S: ... here.
17481 * sysdeps/sh/elf/configure: Delete file.
17482
17483 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17484 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17485 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17486 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17487 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17488 * sysdeps/powerpc/powerpc64/start.S: here.
17489 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17490 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17491 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17492 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17493 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17494
17495 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17496 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17497 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17498 * sysdeps/powerpc/powerpc32/start.S: ... here.
17499 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17500 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17501 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17502
17503 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17504 * sysdeps/powerpc/ifunc-sel.h: ... here.
17505 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17506 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17507
17508 * sysdeps/sparc/elf/configure.in: Moved to ...
17509 * sysdeps/sparc/configure.in: ... here.
17510 * sysdeps/sparc/elf/configure: Delete file.
17511 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17512 * sysdeps/sparc/sparc32/start.S: ... here.
17513 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17514 * sysdeps/sparc/sparc64/start.S: ... here.
17515 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17516 * sysdeps/sparc/sparc32/Makefile: ... this.
17517 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17518 * sysdeps/sparc/sparc64/Makefile: ... this.
17519
17520 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17521 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17522 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17523 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17524 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17525 * sysdeps/s390/s390-32/setjmp.S: ... here.
17526 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17527 * sysdeps/s390/s390-32/configure.in: ... here.
17528 * sysdeps/s390/s390-32/elf/configure: Delete file.
17529 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17530 * sysdeps/s390/s390-32/start.S: ... here.
17531
17532 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17533 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17534 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17535 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17536 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17537 * sysdeps/s390/s390-64/setjmp.S: ... here.
17538 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17539 * sysdeps/s390/s390-64/configure.in: ... here
17540 * sysdeps/s390/s390-64/elf/configure: Delete file.
17541 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17542 * sysdeps/s390/s390-64/start.S: ... here.
17543 * sysdeps/s390/s390-64/elf/configure: Delete.
17544
17545 * configure.in: Remove support for elf directories in sysdeps.
17546
17547 * configure: Regenerated.
17548 * sysdeps/i386/configure: Regenerated.
17549 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17550 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17551 * sysdeps/s390/s390-32/configure: Regenerated.
17552 * sysdeps/s390/s390-64/configure: Regenerated.
17553 * sysdeps/sh/configure: Regenerated.
17554 * sysdeps/sparc/configure: Regenerated.
17555 * sysdeps/x86_64/configure: Regenerated.
17556
17557 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17558
17559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17560
17561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17562 denormal result into account.
17563
17564 2012-03-25 Roland McGrath <roland@hack.frob.com>
17565
17566 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17567 Reported by Allan McRae <allan@archlinux.org>.
17568
17569 2012-03-23 Jeff Law <law@redhat.com>
17570
17571 * nss/getnssent.c (__nss_getent): Fix typo.
17572
17573 2012-03-23 David S. Miller <davem@davemloft.net>
17574
17575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17576
17577 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17580 to pad to uint64_t for each field.
17581 (dl_tls_index): Replace unsigned long with uint64_t.
17582
17583 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17584 Paul Pluzhnikov <ppluzhnikov@google.com>
17585
17586 [BZ #6528]
17587 * grp/Makefile (otherlibs): Don't set it.
17588 * inet/Makefile (otherlibs): Likewise.
17589 * login/Makefile (otherlibs): Likewise.
17590 * nscd/Makefile (otherlibs): Likewise.
17591 * posix/Makefile (otherlibs): Likewise.
17592 * pwd/Makefile (otherlibs): Likewise.
17593 * rt/Makefile (otherlibs): Likewise.
17594 * sunrpc/Makefile (otherlibs): Likewise.
17595 * nss/Makefile (otherlibs): Likewise.
17596 Add libnss_files to routines and static-only-routines.
17597 ($(objpfx)getent): Remove rule.
17598 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17599 static-only-routines.
17600
17601 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17602
17603 [BZ #13892]
17604 * math/s_cexp.c: Include <float.h>.
17605 (__cexp): Handle exp result overflowing not necessarily
17606 overflowing both real and imaginary parts of result.
17607 * math/s_cexpf.c: Likewise.
17608 * math/s_cexpl.c: Likewise.
17609 * math/libm-test.inc (cexp_test): Add more tests.
17610 * sysdeps/i386/fpu/libm-test-ulps: Update.
17611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17612
17613 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * include/link.h (ELFW): New macro.
17616 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17617 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17618
17619 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17622 with uint64_t.
17623
17624 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17625
17626 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17627 declaration.
17628 (struct La_x32_retval): Likewise.
17629
17630 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17631
17632 * sysdeps/x86_64/preconfigure.in: New file.
17633 * sysdeps/x86_64/preconfigure: New generated file.
17634
17635 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17636
17637 [BZ #13824]
17638 * math/e_exp2l.c: Include <float.h>.
17639 (__ieee754_exp2l): Handle overflow and underflow cases
17640 separately. Only pass fractional part of argument to
17641 __ieee754_expl.
17642 * math/libm-test.inc (exp2_test): Add more tests.
17643
17644 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17645 negating x to take absolute value.
17646 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17647 Likewise.
17648 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17649 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17650 Likewise.
17651 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17652 computing low part if x was negated.
17653 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17654
17655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17658 la_x32_gnu_pltexit.
17659 (pltexit): Cast int_retval to ptrdiff_t.
17660 * elf/tst-auditmod3b.c: Likewise.
17661 * elf/tst-auditmod4b.c: Likewise.
17662 * elf/tst-auditmod5b.c: Likewise.
17663 * elf/tst-auditmod6b.c: Likewise.
17664 * elf/tst-auditmod6c.c: Likewise.
17665 * elf/tst-auditmod7b.c: Likewise.
17666
17667 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17668 and x32_gnu_pltexit.
17669
17670 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17671 __ELF_NATIVE_CLASS.
17672 (La_x32_regs): New macro.
17673 (La_x32_retval): Likewise.
17674 (la_x32_gnu_pltenter): New function prototype.
17675 (la_x32_gnu_pltexit): Likewise.
17676
17677 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17678
17679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17680 exponent.
17681
17682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17683
17684 * configure.in (libc_cv_cc_nofma): Check for option to disable
17685 generation of FMA instructions.
17686 * configure: Regenerate.
17687 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17688 * sysdeps/ieee754/dbl-64/Makefile: New file.
17689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17690 Remove brandred-fma4.
17691 (CFLAGS-brandred-fma4.c): Remove.
17692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17694 define.
17695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17696 define.
17697
17698 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17701 LLONG_MAX != LONG_MAX.
17702 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17703 (_fitoa_word): Likewise.
17704 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17705 LLONG_MAX != LONG_MAX.
17706 * stdio-common/_itowa.h: Include <_itoa.h>.
17707 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17708 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17709 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17710 only if not defined.
17711 (_ITOA_WORD_TYPE): Likewise.
17712 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17713 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17714
17715 2012-03-21 David S. Miller <davem@davemloft.net>
17716
17717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17718
17719 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17720
17721 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17722 of x86_64 when setting libc_cv_slibdir, libdir and
17723 libc_cv_localedir.
17724 * sysdeps/unix/sysv/linux/configure: Regenerated.
17725
17726 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17727
17728 * manual/lang.texi (Old Varargs): Remove section.
17729 (How Variadic): Update menu.
17730 (va_start): Do not mention varargs.h.
17731
17732 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17733 Joseph Myers <joseph@codesourcery.com>
17734
17735 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17736 link test.
17737 * configure: Regenerated.
17738
17739 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17740
17741 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17742 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17743 conformtest.pl
17744
17745 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17746
17747 * NOTES: Remove.
17748 * Makefile (files-for-dist): Remove NOTES.
17749 (NOTES): Remove rule.
17750 * README: Don't refer to NOTES.
17751 * manual/creature.texi: Don't include macros.texi.
17752 * manual/intro.texi (creature.texi): Remove comment referring to
17753 NOTES.
17754
17755 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17756 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17757 * configure: Regenerated.
17758 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17759 LIBC_TRY_CC_OPTION.
17760 (libc_cv_as_i686): Likewise.
17761 (libc_cv_cc_avx): Likewise.
17762 (libc_cv_cc_sse2avx): Likewise.
17763 (libc_cv_cc_fma4): Likewise.
17764 (libc_cv_cc_novzeroupper): Likewise.
17765 * sysdeps/i386/configure: Regenerated.
17766
17767 [BZ #13883]
17768 * sysdeps/i386/fpu/s_cexp.S: Remove.
17769 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17770 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17771 * math/libm-test.inc (cexp_test): Add more tests.
17772 * sysdeps/i386/fpu/libm-test-ulps: Update.
17773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17774
17775 2012-03-21 Allan McRae <allan@archlinux.org>
17776
17777 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17778
17779 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17780
17781 [BZ #13871]
17782 * math/w_exp2.c: Do not include <float.h>.
17783 (o_threshold, u_threshold): Remove.
17784 (__exp2): Calculate result before checking finiteness and calling
17785 __kernel_standard.
17786 * math/w_exp2f.c: Likewise.
17787 * math/w_exp2l.c: Likewise.
17788 * math/libm-test.inc (exp2_test): Require overflow exception for
17789 1e6 input.
17790
17791 [BZ #3866]
17792 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17793 range of signed 64-bit integers before using fistpll. Remove
17794 checks for whether integers fit in mantissa bits.
17795 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17796 the range of signed 32-bit integers before using fistpl. Remove
17797 checks for whether integers fit in mantissa bits.
17798 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17799 (__ieee754_powl): Test for y outside the range of signed 64-bit
17800 integers before using fistpll. Reduce 64-bit values to 63-bit
17801 ones as needed.
17802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17803 divide-by-zero is raised for zero to large negative powers.
17804 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17805 (__ieee754_powl): Test for y outside the range of signed 64-bit
17806 integers before using fistpll. Reduce 64-bit values to 63-bit
17807 ones as needed.
17808 * math/libm-test.inc (pow_test): Add more tests.
17809
17810 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17811
17812 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17813 <stdio-common/_itoa.h>.
17814 * debug/segfault.c: Likewise.
17815 * elf/dl-cache.c: Likewise.
17816 * elf/dl-minimal.c: Likewise.
17817 * elf/dl-misc.c: Likewise.
17818 * elf/dl-sysdep.c: Likewise.
17819 * elf/dl-version.c: Likewise.
17820 * elf/rtld.c: Likewise.
17821 * hurd/hurdsock.c: Likewise.
17822 * hurd/lookup-retry.c: Likewise.
17823 * malloc/malloc.c: Likewise.
17824 * malloc/mtrace.c: Likewise.
17825 * nscd/nscd_getgr_r.c: Likewise.
17826 * nscd/nscd_getpw_r.c: Likewise.
17827 * nscd/nscd_getserv_r.c: Likewise.
17828 * posix/getopt_init.c: Likewise.
17829 * posix/wordexp.c: Likewise.
17830 * stdio-common/_itoa.c: Likewise.
17831 * stdio-common/printf_fphex.c: Likewise.
17832 * stdio-common/vfprintf.c: Likewise.
17833 * string/_strerror.c: Likewise.
17834 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17835 * sysdeps/i386/i686/hp-timing.h: Likewise.
17836 * sysdeps/mach/_strerror.c: Likewise.
17837 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17838 * sysdeps/mach/hurd/sethostid.c: Likewise.
17839 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17840 * sysdeps/mach/xpg-strerror.c: Likewise.
17841 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17843 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17844 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17845 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17846 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17847 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17848 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17849 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17850 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17851 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17852 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17853 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17855 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17856 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17857 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17858 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17859 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17860 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17862
17863 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17864
17865 * stdio-common/_itoa.h: Moved to ...
17866 * sysdeps/generic/_itoa.h: Here.
17867
17868 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17869
17870 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17871 instead of "_itoa.h" and "_itowa.h".
17872 * stdio-common/vfprintf.: Likewise.
17873
17874 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17877 <bits/wordsize.h>.
17878 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17879 (__signbit): Likwise.
17880 (llrintf): Likwise.
17881 (llrint): Likwise.
17882
17883 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17884
17885 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17886 __WORDSIZE != 64.
17887
17888 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17889
17890 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17891 OVERFLOW_EXCEPTION_OK.
17892 * math/libm-test.inc ("Philosophy"): Update comment about
17893 exception testing.
17894 (OVERFLOW_EXCEPTION): Define.
17895 (OVERFLOW_EXCEPTION_OK): Likewise.
17896 (INVALID_EXCEPTION_OK): Renumber.
17897 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17898 (IGNORE_ZERO_INF_SIGN): Likewise.
17899 (test_exceptions): Handle FE_OVERFLOW.
17900 (exp10_test): Expect overflow exceptions.
17901 (exp2_test): Likewise.
17902 (expm1_test): Likewise.
17903 (nextafter_test): Likewise.
17904 (pow_test): Likewise.
17905 (scalbn_test): Likewise.
17906 (scalbln_test): Likewise.
17907
17908 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17909
17910 * sysdeps/x86_64/bits/atomic.h
17911 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17912 64bit integer.
17913 (atomic_exchange_acq): Likewise.
17914 (__arch_exchange_and_add_body): Likewise.
17915 (__arch_add_body): Likewise.
17916 (atomic_add_negative): Likewise.
17917 (atomic_add_zero): Likewise.
17918
17919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17920
17921 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17922 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17923
17924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17927 Check __x86_64__ instead of __WORDSIZE.
17928
17929 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17930
17931 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17932
17933 2012-03-19 David S. Miller <davem@davemloft.net>
17934
17935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17936
17937 * sysdeps/sparc/fpu/fenv_private.h: New file.
17938 * sysdeps/sparc/fpu/math_private.h: Use it.
17939 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17940 Remove.
17941 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17942 (libc_feholdexcept_setroundl): Remove.
17943 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17944 Remove.
17945 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17946 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17947
17948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17951 int64_t instead of long int.
17952 (INSERT_WORDS64): Likwise.
17953
17954 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17955
17956 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17957 _Unwind_GetCFA return to _Unwind_Ptr first.
17958
17959 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17960
17961 [BZ #13629]
17962 * math/s_clog.c: Include <float.h>.
17963 (__clog): Scale large or subnormal inputs.
17964 * math/s_clogf.c: Likewise.
17965 * math/s_clogl.c: Likewise.
17966 * math/s_clog10.c: Include <float.h>.
17967 (M_LOG10_2): Define.
17968 (__clog10): Scale large or subnormal inputs.
17969 * math/s_clog10f.c: Likewise.
17970 * math/s_clog10l.c: Likewise.
17971 * math/libm-test.inc (clog_test): Add more tests.
17972 (clog10_test): Likewise.
17973 * sysdeps/i386/fpu/libm-test-ulps: Update.
17974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17975
17976 [BZ #11451]
17977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17978 x and y.
17979 * math/libm-test.inc (atan2_test): Add another test.
17980
17981 * Makerules (common-objdir-compile): Remove.
17982 * sysdeps/unix/Makefile (config-generated): Do not add
17983 $(unix-generated) to variable.
17984 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17985 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17986 Remove rule.
17987 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17988 Likewise.
17989 [generic bits/local_lim.h] (before-compile): Do not append to
17990 variable.
17991 [generic bits/local_lim.h] (common-generated): Likewise.
17992 [generic sys/param.h] (before-compile): Do not append to variable.
17993 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17994 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17995 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17997 include.
17998 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17999 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18000 [generic sys/param.h] ($(addprefix
18001 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18002 [generic sys/param.h] (common-generated): Do not append to
18003 variable.
18004 [generic sys/param.h] (sysdep_headers): Likewise.
18005 [generic bits/errno.h] (before-compile): Do not append to
18006 variable.
18007 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18008 rule.
18009 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18010 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18011 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18012 [generic bits/errno.h] (common-generated): Do not append to
18013 variable.
18014 [generic bits/ioctls.h] (before-compile): Do not append to
18015 variable.
18016 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18017 rule.
18018 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18019 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18021 rule.
18022 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18023 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18024 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18025 [generic bits/ioctls.h] (common-generated): Do not append to
18026 variable.
18027 [generic sys/syscall.h] (syscall.h): Remove variable.
18028 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18029 rule.
18030 [generic sys/syscall.h] (before-compile): Do not append to
18031 variable.
18032 [generic sys/syscall.h] (common-generated): Likewise.
18033 * sysdeps/unix/errnos-tmpl.c: Remove file.
18034 * sysdeps/unix/errnos.awk: Likewise.
18035 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18036 * sysdeps/unix/ioctls.awk: Likewise.
18037 * sysdeps/unix/mk-local_lim.c: Likewise.
18038 * sysdeps/unix/snarf-ioctls: Likewise.
18039
18040 2012-03-19 Richard Henderson <rth@twiddle.net>
18041
18042 * sysdeps/i386/fpu/fenv_private.h: New file.
18043 * sysdeps/i386/fpu/math_private.h: Use it.
18044 (math_opt_barrier, math_force_eval): Remove.
18045 (libc_feholdexcept_setround_53bit): Remove.
18046 (libc_feupdateenv_53bit): Remove.
18047 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18048 (math_opt_barrier, math_force_eval): Remove.
18049 (libc_feholdexcept): Remove.
18050 (libc_feholdexcept_setround): Remove.
18051 (libc_fetestexcept, libc_fesetenv): Remove.
18052 (libc_feupdateenv_test): Remove.
18053 (libc_feupdateenv, libc_feholdsetround): Remove.
18054 (libc_feresetround): Remove.
18055
18056 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18057 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18058
18059 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18060 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18061 (libc_feupdateenv_testl): New.
18062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18063 (libc_feupdateenv_testf): New.
18064 (libc_feupdateenv): Use libc_feupdateenv_test.
18065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18067
18068 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18069 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18070 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18071 (libc_feresetround_noex): New.
18072 (libc_feresetround_noexf): New.
18073 (libc_feresetround_noexl): New.
18074 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18075 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18076 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18078 SET_RESTORE_ROUND.
18079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18081 (__cos): Likewise.
18082 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18084 SET_RESTORE_ROUND_NOEX.
18085 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18086 SET_RESTORE_ROUND_NOEXF.
18087 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18088 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18089 (libc_feholdsetroundf): New.
18090 (libc_feresetround, libc_feresetroundf): New.
18091
18092 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18093 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18094 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18095
18096 * sysdeps/generic/math_private.h: Include <fenv.h>.
18097 (default_libc_feholdexcept): New.
18098 (default_libc_feholdexcept_setround): New.
18099 (default_libc_fesetenv, default_libc_feupdateenv): New.
18100 (libc_feholdexcept): Only define if undefined.
18101 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18102 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18103 (libc_feholdexcept_setroundl): Likewise.
18104 (libc_feholdexcept_setround_53bit): Likewise.
18105 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18106 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18107 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18108 (libc_feupdateenv_53bit): Likewise.
18109 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18110 (libc_feholdexcept): Convert from macro to inline function.
18111 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18112 (libc_fesetenv, libc_feupdateenv): Likewise.
18113
18114 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18115 not previously defined.
18116 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18117 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18118 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18119 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18120 * sysdeps/ieee754/flt-32/math_private.h: New file.
18121 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18122 math_private.h below SET_FLOAT_WORD.
18123 (__isnan, __isinf_ns, __finite): Remove.
18124 (__isnanf, __isinf_nsf, __finitef): Remove.
18125
18126 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18127
18128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18129
18130 2012-03-17 David S. Miller <davem@davemloft.net>
18131
18132 [BZ #6471]
18133 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18134 for 2.16.
18135
18136 2012-03-16 David S. Miller <davem@davemloft.net>
18137
18138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18139 warnings.
18140
18141 [BZ #6471]
18142 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18143 properly.
18144 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18145 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18146 sysdep_routines when subdir is sysvipc.
18147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18148 __getshmlba helper.
18149
18150 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18151
18152 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18155 [__LP64__].
18156
18157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18158
18159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18160 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18161 (__lround): Renamed to ...
18162 (__llround): This. Replace long int with long long int.
18163 Define lround functions as aliases of llround functions.
18164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18165
18166 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18167
18168 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18169 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18170 adresses to uintptr_t. Replace "long int" and "unsigned long
18171 int" with "greg_t" on va_arg.
18172
18173 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18176 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18177
18178 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18179 Move e_machine check before EI_CLASS check. Handle x32
18180 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18181 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18182 SKIP_EM_IA_64 and include
18183 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18184
18185 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18186 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18187 (add_system_dir): New macro.
18188
18189 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18190 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18191
18192 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18193
18194 [BZ #2551]
18195 [BZ #2552]
18196 [BZ #2553]
18197 [BZ #2554]
18198 [BZ #2562]
18199 [BZ #2563]
18200 [BZ #2565]
18201 [BZ #2566]
18202 [BZ #2576]
18203 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18204 (y0): Likewise.
18205 * math/w_j0f.c (j0f): Likewise.
18206 (y0f): Likewise.
18207 * math/w_j0l.c (__j0l): Likewise.
18208 (__y0l): Likewise.
18209 * math/w_j1.c (j1): Likewise.
18210 (y1): Likewise.
18211 * math/w_j1f.c (j1f): Likewise.
18212 (y1f): Likewise.
18213 * math/w_j1l.c (__j1l): Likewise.
18214 (__y1l): Likewise.
18215 * math/w_jn.c (jn): Likewise.
18216 (yn): Likewise.
18217 * math/w_jnf.c (jnf): Likewise.
18218 (ynf): Likewise.
18219 * math/w_jnl.c (__jnl): Likewise.
18220 (__ynl): Likewise.
18221 * math/libm-test.inc (j0_test): Add more tests.
18222 (j1_test): Likewise.
18223 (jn_test): Likewise. Add trailing semicolon to existing test.
18224 (y0_test): Likewise.
18225 (y1_test): Likewise.
18226 * sysdeps/i386/fpu/libm-test-ulps: Update.
18227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228
18229 [BZ #13851]
18230 [BZ #13854]
18231 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18232 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18233 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18235 (__tanl): Set errno for infinite argument.
18236 * sysdeps/i386/fpu/mptan.c: Remove.
18237 * sysdeps/i386/fpu/s_tan.S: Likewise.
18238 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18239 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18240 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18241 * math/libm-test.inc (tan_test): Add more tests and enable more
18242 tests for double and long double.
18243 * sysdeps/i386/fpu/libm-test-ulps: Update.
18244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18245
18246 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18247
18248 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18249 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18250
18251 2012-03-16 Roland McGrath <roland@hack.frob.com>
18252
18253 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18254 * configure.in: Use it for both main tree and add-ons.
18255 * configure: Regenerated.
18256
18257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18260
18261 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18262
18263 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18264 in comment.
18265
18266 [BZ #13851]
18267 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18268 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18272 infinite argument.
18273 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18275 != 0 for prec == 2.
18276 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18277 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18278 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18279 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18280 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18281 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18282 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18283 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18284 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18285 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18286 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18287 * math/libm-test.inc (cos_test): Add more tests and enable more
18288 tests for long double.
18289 (sin_test): Likewise.
18290 (sincos_test): Likewise.
18291 * sysdeps/i386/fpu/libm-test-ulps: Update.
18292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18293
18294 2012-03-16 David S. Miller <davem@davemloft.net>
18295
18296 * sysdeps/sparc/fpu/math_private.h: New file.
18297
18298 2012-03-15 David S. Miller <davem@davemloft.net>
18299
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18301 file.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18304 file.
18305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18311 sysdep routines.
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18313
18314 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18315 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18316
18317 * sysdeps/sparc/sparc-ifunc.h: New file.
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18319 sparc-ifunc.h
18320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18322 Likewise.
18323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18324 Likewise.
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18329 Likewise.
18330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18335 Likewise.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18337 Likewise.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18362
18363 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18364
18365 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18366 scaling.
18367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18368
18369 2012-03-15 Andreas Jaeger <aj@suse.de>
18370
18371 [BZ #13852]
18372 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18373 ieee754/flt-32 implementation for sin, cos and sincos.
18374 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18375 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18376 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18377 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18378 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18379 ieee754/flt-32 implementation for tan.
18380
18381 * math/libm-test.inc (cos_test): Enable some large input tests for
18382 float as well
18383 (sin_test): Likewise.
18384 (sincos_test): Likewise.
18385 (tan_test): Add tests for large input.
18386
18387 * sysdeps/i386/fpu/libm-test-ulps: Update.
18388
18389 2012-03-15 Andreas Jaeger <aj@suse.de>
18390
18391 [BZ #13658]
18392 * math/libm-test.inc (cos_test): Add more test cases.
18393 (sin_test): Likewise.
18394 (sincos_test): Likewise.
18395
18396 2012-03-15 Andreas Jaeger <aj@suse.de>
18397
18398 [BZ #13837]
18399 * math/libm-test.inc (cos_test): Add a test case for large input
18400 value.
18401 (sin_test): Likewise.
18402 (sincos_test): Likewise.
18403
18404 2012-03-15 Andreas Jaeger <aj@suse.de>,
18405 Joseph Myers <joseph@codesourcery.com>
18406
18407 [BZ #13658]
18408 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18409 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18410 * sysdeps/i386/fpu/branred.c: Likewise.
18411 * sysdeps/i386/fpu/dosincos.c: Likewise.
18412 * sysdeps/i386/fpu/mpa.c: Likewise.
18413 * sysdeps/i386/fpu/s_cos.S: Likewise.
18414 * sysdeps/i386/fpu/s_sin.S: Likewise.
18415 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18416 * sysdeps/i386/fpu/sincos32.c: Likewise.
18417
18418 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18419 Define.
18420 (libc_feupdateenv_53bit): Define.
18421 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18422 Define.
18423 (libc_feupdateenv_53bit): Define.
18424
18425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18426 53 bit (without extend i386 double precision).
18427
18428 * math/libm-test.inc (sincos_test): Add tests for large input.
18429 (sin): Likewise.
18430 (cos): Likewise.
18431
18432 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18433
18434 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18435
18436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18437
18438 2012-03-15 David S. Miller <davem@davemloft.net>
18439
18440 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18441 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18442 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18443 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18456 file.
18457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18459 file.
18460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18462 file.
18463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18465 file.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18468 fmin/fmax sysdep routines.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18470
18471 2012-03-14 David S. Miller <davem@davemloft.net>
18472
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18502 routines.
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18504 file.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18507 file.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18510 file.
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18513 file.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18516 file.
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18519 file.
18520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18521 file.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18523 file.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18525 file.
18526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18527 New file.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18529 file.
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18531 file.
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18534 file.
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18537 file.
18538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18540 file.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18543 VIS3 routines.
18544
18545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18546 New file.
18547
18548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549
18550 * sysdeps/sparc/configure.in: New file.
18551 * sysdeps/sparc/configure: Generate.
18552 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18553 * configure: Regenerate.
18554 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18555 * config.make.in (have-as-vis3): New.
18556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18557 available use -Av9d instead of -Av9a.
18558 * sysdeps/sparc/sparc64/Makefile: Likewise.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18561 New file.
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18563 file.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18565 New file.
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18567 file.
18568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18573
18574 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18575 fzeros/fnegs to load 0x80000000 into a float register instead of
18576 using the stack.
18577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18578
18579 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18580
18581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18582 bits/syscall.h.
18583 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18584 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18585 ($(inst_includedir)/bits/syscall.h): Remove rule.
18586 ($(objpfx)bits/syscall.d): Include instead of
18587 $(objpfx)syscall-list.d.
18588 (generated): Change syscall-list.h and syscall-list.d to
18589 bits/syscall.h and bits/syscall.d.
18590
18591 2012-03-14 Roland McGrath <roland@hack.frob.com>
18592
18593 [BZ #13846]
18594 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18595
18596 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18597
18598 [BZ #13841]
18599 * math/s_csqrt.c: Include <float.h>.
18600 (__csqrt): Scale large or subnormal inputs.
18601 * math/s_csqrtf.c: Likewise.
18602 * math/s_csqrtl.c: Likewise.
18603 * math/libm-test.inc (csqrt_test): Add more tests.
18604 * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606
18607 [BZ #13840]
18608 * math/libm-test.inc (hypot_test): Add more tests.
18609
18610 2012-03-13 David S. Miller <davem@davemloft.net>
18611
18612 [BZ #13840]
18613 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18614 double-precision for the calculation instead of scaling.
18615
18616 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18617
18618 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18619 manipulate bits before adding and subtracting TWO52[sx].
18620 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18621 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18622 Likewise.
18623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18624
18625 2012-03-13 David S. Miller <davem@davemloft.net>
18626
18627 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18628 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18630 rtld-global-offsets.h
18631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18632
18633 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18634 large parameters.
18635
18636 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18637
18638 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18639 'err' in the ifdef scope in which it is actually used.
18640
18641 * nss/nss_db/db-init.c: Include string.h
18642
18643 2012-03-12 David S. Miller <davem@davemloft.net>
18644
18645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18646 masking out of the most significant byte of random value used.
18647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18648 Fix coding style in previous change.
18649
18650 * sysdeps/unix/sysv/linux/kernel-features.h
18651 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18652 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18653 expression.
18654 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18655 later.
18656
18657 2012-03-11 David S. Miller <davem@davemloft.net>
18658
18659 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18660 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18662 for 'resultvar' otherwise things get truncated on 64-bit.
18663
18664 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18665 Fix masking out of the most significant byte of random value used.
18666
18667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18668
18669 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18670
18671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18672
18673 2012-03-09 David S. Miller <davem@davemloft.net>
18674
18675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18676 variables with appropriate CPP guards.
18677 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18678 frame pointer, not the stack pointer. Correct layout comments. Fix test
18679 on resulting framesize and the management of the outregs buffer for pltexit.
18680 Preserve floating point return values across _dl_call_pltexit call.
18681 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18682 framesize and the management of the outregs buffer for pltexit.
18683 Preserve floating point return values across _dl_call_pltexit
18684 call.
18685 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18686 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18687 (print_exit): Fix format string for return register value.
18688
18689 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18690
18691 * sunrpc/Makefile (others): Add rpcgen.
18692 ($(objpfx)rpcgen): Remove special build rule and dependency on
18693 libc.
18694 * sunrpc/rpcgen.c: New file.
18695
18696 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18697
18698 [BZ #13673]
18699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18701 * sysdeps/i386/crti.S: Likewise.
18702 * sysdeps/i386/crtn.S: Likewise.
18703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18707 * sysdeps/sh/crti.S: Likewise.
18708 * sysdeps/sh/crtn.S: Likewise.
18709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18710
18711 [BZ #13673]
18712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18713 with URL.
18714 * locale/programs/locfile-kw.gperf: Likewise.
18715 * locale/programs/charmap-kw.h: Regenerated.
18716 * locale/programs/locfile-kw.h: Likewise.
18717
18718 [BZ #13673]
18719 * intl/plural.y: Replace FSF snail mail address with URL.
18720 * intl/plural.c: Regenerated.
18721
18722 2012-03-09 Richard Henderson <rth@twiddle.net>
18723
18724 * include/math_private.h: Remove file.
18725 * math/math_private.h: Move file ...
18726 * sysdeps/generic/math_private.h: ... here.
18727
18728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18731
18732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18733 and <math_private.h>.
18734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18883 * sysdeps/ieee754/k_standard.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19044 * sysdeps/ieee754/s_lib_version.c: Likewise.
19045 * sysdeps/ieee754/s_matherr.c: Likewise.
19046 * sysdeps/ieee754/s_signgam.c: Likewise.
19047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19068
19069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19070
19071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19072 * sunrpc/rpc_main.c: Likewise.
19073 * sunrpc/rpc_svcout.c: Likewise.
19074
19075 2012-03-09 David S. Miller <davem@davemloft.net>
19076
19077 * include/math_private.h: New file.
19078
19079 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19080
19081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19084 from <bits/socket_type.h>.
19085 (enum __socket_type): Don't define here.
19086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19088 bits/socket_type.h.
19089
19090 [BZ #13566]
19091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19092 checking __USE_GNU.
19093
19094 * Makerules ($(inst_includedir)/%.h): New rule.
19095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19096 (install-others): Remove variable setting.
19097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19098
19099 2012-03-08 Richard Henderson <rth@twiddle.net>
19100
19101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19102 from macro to inline function; merge with the
19103 !__LIBC_INTERNAL_MATH_INLINES version.
19104 (__ieee754_sqrtf): Likewise.
19105
19106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19107 to inline function.
19108 (__rintf, __floor, __floorf): Likewise.
19109
19110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19111 macro to inline function.
19112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19113
19114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19115 not <math/math_private.h>.
19116
19117 2012-03-08 David S. Miller <davem@davemloft.net>
19118
19119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19120 copyright year.
19121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19122
19123 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19124
19125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19126 normalization.
19127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19129
19130 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19131
19132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19133 be defined individually, they must be defined as a block. Define
19134 S for printing a string instead of hidint the different by using a
19135 macro for adding the 'l'.
19136 * stdio-common/tst-fphex-wide.c: Adjust.
19137
19138 2012-03-07 Marek Polacek <polacek@redhat.com>
19139
19140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19141
19142 2012-03-08 Marek Polacek <polacek@redhat.com>
19143
19144 [BZ #13806]
19145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19146 * stdio-common/tst-fphex.c: Define a few macros to make the
19147 test reusable. Use them.
19148 * stdio-common/tst-fphex-wide.c: New file.
19149
19150 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19151
19152 [BZ #6911]
19153 * manual/macros.texi (gnusystems): New macro.
19154 (nongnusystems): Likewise.
19155 (gnulinuxhurdsystems): Likewise.
19156 (gnuhurdsystems): Likewise..
19157 (gnulinuxsystems): Likewise.
19158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19159 variants of the GNU system, not "GNU system".
19160 * manual/conf.texi: Likewise.
19161 * manual/errno.texi: Likewise. Update example of errno macro
19162 expansion.
19163 * manual/filesys.texi: Likewise.
19164 (getumask): Document as specific to GNU/Hurd.
19165 * manual/install.texi: Likewise. Reword some references to
19166 GNU/Linux.
19167 * manual/intro.texi: Likewise.
19168 * manual/io.texi: Likewise.
19169 (File Name Portability): Detail which constraints are inapplicable
19170 to all GNU systems and which are only inapplicable to GNU/Hurd.
19171 * manual/job.texi: Likewise.
19172 * manual/llio.texi: Likewise.
19173 (O_NOCTTY): Document as present on GNU/Linux.
19174 * manual/maint.texi: Likewise.
19175 * manual/memory.texi: Likewise.
19176 * manual/pattern.texi: Likewise.
19177 * manual/pipe.texi: Likewise.
19178 * manual/process.texi: Likewise.
19179 * manual/resource.texi: Likewise.
19180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19181 child on GNU/Hurd.
19182 * manual/setjmp.texi: Likewise.
19183 * manual/signal.texi: Likewise.
19184 * manual/startup.texi: Likewise.
19185 * manual/stdio.texi: Likewise.
19186 * manual/terminal.texi: Likewise.
19187 (ONLCR): Document as POSIX.
19188 (OXTABS): Document availability on GNU/Linux as XTABS.
19189 (ONOEOT): Document availability separately from other bits.
19190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19191 * manual/time.texi: Likewise.
19192 * manual/users.texi: Likewise.
19193 * INSTALL: Regenerated.
19194 * sysdeps/gnu/errlist.c: Regenerated.
19195
19196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19199 puts.
19200 * configure: Regenerated.
19201
19202 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19203
19204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19205 default includes instead of AC_HEADER_CHECK.
19206 * sysdeps/i386/configure: Regenerated.
19207
19208 [BZ #10716]
19209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19210 * math/s_cacoshf.c (__cacoshf): Likewise.
19211 * math/s_cacoshl.c (__cacoshl): Likewise.
19212 * math/s_casinh.c (__casinh): Set signs of result from argument.
19213 * math/s_casinhf.c (__casinhf): Likewise.
19214 * math/s_casinhl.c (__casinhl): Likewise.
19215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19216 (casinh_test): Add more tests.
19217 * sysdeps/i386/fpu/libm-test-ulps: Update.
19218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19219
19220 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19221
19222 * po/zh_TW.po: Update from translation team.
19223
19224 * login/Makefile (distribute): Remove variable.
19225 * catgets/Makefile: Likewise.
19226 * mach/Makefile: Likewise.
19227 * malloc/Makefile: Likewise.
19228 * misc/Makefile: Likewise.
19229 * iconv/Makefile: Likewise.
19230 * nscd/Makefile: Likewise.
19231 * hurd/Makefile: Likewise.
19232 * manual/Makefile: Likewise.
19233 * locale/Makefile: Likewise.
19234 * intl/Makefile: Likewise.
19235 * conform/Makefile: Likewise.
19236 * nss/Makefile: Likewise.
19237 * time/Makefile: Likewise.
19238 * soft-fp/Makefile: Likewise.
19239 * dirent/Makefile: Likewise.
19240 * gmon/Makefile: Likewise.
19241 * po/Makefile: Likewise.
19242 * rt/Makefile: Likewise.
19243 * socket/Makefile: Likewise.
19244 * math/Makefile: Likewise.
19245 * signal/Makefile: Likewise.
19246 * debug/Makefile: Likewise.
19247 * elf/Makefile: Likewise.
19248 * timezone/Makefile: Likewise.
19249 * stdlib/Makefile: Likewise.
19250 * iconvdata/Makefile: Likewise.
19251 * sunrpc/Makefile: Likewise.
19252 * io/Makefile: Likewise.
19253 * argp/Makefile: Likewise.
19254 * inet/Makefile: Likewise.
19255 * hesiod/Makefile: Likewise.
19256 * grp/Makefile: Likewise.
19257 * csu/Makefile: Likewise.
19258 * wctype/Makefile: Likewise.
19259 * crypt/Makefile: Likewise.
19260 * libio/Makefile: Likewise.
19261 * string/Makefile: Likewise.
19262 * nis/Makefile: Likewise.
19263 * resolv/Makefile: Likewise.
19264 * stdio-common/Makefile: Likewise.
19265 * wcsmbs/Makefile: Likewise.
19266 * dlfcn/Makefile: Likewise.
19267 * posix/Makefile: Likewise.
19268
19269 [BZ #6959]
19270 * timezone/Makefile: Don't install timezone files, just the programs
19271 and scripts.
19272
19273 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19274
19275 * nss/databases.def: Add missing gshadow entry.
19276
19277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19278
19279 2012-03-06 Marek Polacek <polacek@redhat.com>
19280
19281 [BZ #13726]
19282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19285 * stdio-common/tst-long-dbl-fphex.c: New file.
19286
19287 2012-03-06 David S. Miller <davem@davemloft.net>
19288
19289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19290 (set_obp_int): New function.
19291 (get_obp_int): New function.
19292 (__get_clockfreq_via_dev_openprom): Likewise.
19293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19294 Avoid unused variable warnings on 'val' and use builtin_expect.
19295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19296 __builtin_expect.
19297 (INLINE_CLONE_SYSCALL): Likewise.
19298
19299 2012-03-05 David S. Miller <davem@davemloft.net>
19300
19301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19302
19303 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19304
19305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19306
19307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19308 only for |x| >= 40.
19309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19310
19311 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19312
19313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19314 Replace gettimeofday with __vdso_gettimeofday.
19315
19316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19318 __vdso_clock_gettime and __vdso_getcpu.
19319
19320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19321 time with __vdso_time.
19322
19323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19324
19325 * manual/lang.texi (size_t): Note types to which size_t may be
19326 equivalent with the GNU C Library, but do not describe when
19327 differences between them are significant.
19328
19329 2012-03-05 Andreas Jaeger <aj@suse.de>
19330
19331 * sysdeps/i386/fpu/libm-test-ulps: Update.
19332
19333 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19334
19335 [BZ #3976]
19336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19337 (__ieee754_pow): Save and restore rounding mode and use
19338 round-to-nearest for main computations.
19339 * math/libm-test.inc (pow_test_tonearest): New function.
19340 (pow_test_towardzero): Likewise.
19341 (pow_test_downward): Likewise.
19342 (pow_test_upward): Likewise.
19343 (main): Call the new functions.
19344 * sysdeps/i386/fpu/libm-test-ulps: Update.
19345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19346
19347 [BZ #3976]
19348 * math/libm-test.inc (cosh_test_tonearest): New function.
19349 (cosh_test_towardzero): Likewise.
19350 (cosh_test_downward): Likewise.
19351 (cosh_test_upward): Likewise.
19352 (sinh_test_tonearest): Likewise.
19353 (sinh_test_towardzero): Likewise.
19354 (sinh_test_downward): Likewise.
19355 (sinh_test_upward): Likewise.
19356 (main): Call the new functions.
19357 * sysdeps/i386/fpu/libm-test-ulps: Update.
19358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19359
19360 2012-03-05 Tom de Vries <tom@codesourcery.com>
19361
19362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19363 default stack guard is set in last bytes.
19364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19365
19366 2012-03-05 Kees Cook <keescook@chromium.org>
19367
19368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19369
19370 [BZ #13656]
19371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19372 possibly allocate from heap instead of stack.
19373 * stdio-common/bug-vfprintf-nargs.c: New file.
19374 * stdio-common/Makefile (tests): Add nargs overflow test.
19375
19376 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19377
19378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19379
19380 2012-03-03 Marek Polacek <polacek@redhat.com>
19381
19382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19383 * math/math_private.h: Likewise.
19384 * stdlib/tst-strtod.c: Likewise.
19385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19386 * sysdeps/x86_64/bits/atomic.h: Likewise.
19387
19388 2012-03-02 David S. Miller <davem@davemloft.net>
19389
19390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19398
19399 2012-03-02 Roland McGrath <roland@hack.frob.com>
19400
19401 [BZ #13792]
19402 * manual/examples/README: New file, says the example source files
19403 can be used under GPL>=2.
19404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19405 line containing just "*/".
19406 * manual/examples/add.c: Add copyright header (GPL>=2).
19407 * manual/examples/argp-ex1.c: Likewise.
19408 * manual/examples/argp-ex2.c: Likewise.
19409 * manual/examples/argp-ex3.c: Likewise.
19410 * manual/examples/argp-ex4.c: Likewise.
19411 * manual/examples/atexit.c: Likewise.
19412 * manual/examples/db.c: Likewise.
19413 * manual/examples/dir.c: Likewise.
19414 * manual/examples/dir2.c: Likewise.
19415 * manual/examples/execinfo.c: Likewise.
19416 * manual/examples/filecli.c: Likewise.
19417 * manual/examples/filesrv.c: Likewise.
19418 * manual/examples/fmtmsgexpl.c: Likewise.
19419 * manual/examples/genpass.c: Likewise.
19420 * manual/examples/inetcli.c: Likewise.
19421 * manual/examples/inetsrv.c: Likewise.
19422 * manual/examples/isockad.c: Likewise.
19423 * manual/examples/longopt.c: Likewise.
19424 * manual/examples/memopen.c: Likewise.
19425 * manual/examples/memstrm.c: Likewise.
19426 * manual/examples/mkfsock.c: Likewise.
19427 * manual/examples/mkisock.c: Likewise.
19428 * manual/examples/mygetpass.c: Likewise.
19429 * manual/examples/pipe.c: Likewise.
19430 * manual/examples/popen.c: Likewise.
19431 * manual/examples/rprintf.c: Likewise.
19432 * manual/examples/search.c: Likewise.
19433 * manual/examples/select.c: Likewise.
19434 * manual/examples/setjmp.c: Likewise.
19435 * manual/examples/sigh1.c: Likewise.
19436 * manual/examples/sigusr.c: Likewise.
19437 * manual/examples/stpcpy.c: Likewise.
19438 * manual/examples/strdupa.c: Likewise.
19439 * manual/examples/strftim.c: Likewise.
19440 * manual/examples/strncat.c: Likewise.
19441 * manual/examples/subopt.c: Likewise.
19442 * manual/examples/swapcontext.c: Likewise.
19443 * manual/examples/termios.c: Likewise.
19444 * manual/examples/testopt.c: Likewise.
19445 * manual/examples/testpass.c: Likewise.
19446 * manual/examples/timeval_subtract.c: Likewise.
19447
19448 [BZ #13792]
19449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19450 function to ...
19451 * manual/timeval_subtract.c.texi: ... here, new file.
19452
19453 2012-03-02 David S. Miller <davem@davemloft.net>
19454
19455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19456
19457 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #3976]
19460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19461 (__sin): Save and restore rounding mode and use round-to-nearest
19462 for all computations.
19463 (__cos): Save and restore rounding mode and use round-to-nearest
19464 for all computations.
19465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19466 <fenv.h>.
19467 (tan): Save and restore rounding mode and use round-to-nearest for
19468 all computations.
19469 * math/libm-test.inc (cos_test_tonearest): New function.
19470 (cos_test_towardzero): Likewise.
19471 (cos_test_downward): Likewise.
19472 (cos_test_upward): Likewise.
19473 (sin_test_tonearest): Likewise.
19474 (sin_test_towardzero): Likewise.
19475 (sin_test_downward): Likewise.
19476 (sin_test_upward): Likewise.
19477 (tan_test_tonearest): Likewise.
19478 (tan_test_towardzero): Likewise.
19479 (tan_test_downward): Likewise.
19480 (tan_test_upward): Likewise.
19481 (main): Call the new functions.
19482 * sysdeps/i386/fpu/libm-test-ulps: Update.
19483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19484
19485 [BZ #10135]
19486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19487 small n, then large n, before computing and testing k+n.
19488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19490 Likewise.
19491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19492 Likewise.
19493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19501 * math/libm-test.inc (scalbn_test): Add more tests.
19502 (scalbln_test): Likewise.
19503
19504 * manual/filesys.texi (mode_t): Describe constraints on size and
19505 signedness, not exact equivalence to a particular type.
19506 (ino_t): Likewise.
19507 (ino64_t): Likewise.
19508 (dev_t): Likewise.
19509 (nlink_t): Likewise.
19510 (blkcnt_t): Likewise.
19511 (blkcnt64_t): Likewise.
19512 * manual/llio.texi (off_t): Likewise.
19513
19514 [BZ #3976]
19515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19516 (__ieee754_exp): Save and restore rounding mode and use
19517 round-to-nearest for all computations.
19518 * math/libm-test.inc (exp_test_tonearest): New function.
19519 (exp_test_towardzero): Likewise.
19520 (exp_test_downward): Likewise.
19521 (exp_test_upward): Likewise.
19522 (main): Call the new functions.
19523 * sysdeps/i386/fpu/libm-test-ulps: Update.
19524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19525
19526 2012-03-01 Chris Demetriou <cgd@google.com>
19527
19528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19529 have predictable order.
19530
19531 2012-03-01 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19534
19535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19539
19540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19549
19550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19551
19552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19555
19556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19574 * sysdeps/sparc/elf/configure: Regenerated.
19575
19576 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19577
19578 * configure.in (AS, LD): Require binutils 2.20 or later.
19579 * configure: Regenerated.
19580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19581 as required minimum version.
19582 * INSTALL: Regenerated.
19583
19584 [BZ #2541]
19585 [BZ #4108]
19586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19587 before squaring exponent.
19588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19589 bottom long double and 27 bits of top long double before squaring
19590 exponent.
19591 * math/libm-test.inc (erfc_test): Add more tests.
19592 * sysdeps/i386/fpu/libm-test-ulps: Update.
19593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19595
19596 2012-03-01 Kai Tietz <ktietz@redhat.com>
19597
19598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19600 containing bit-fields.
19601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19602 * soft-fp/single.h (_FP_UNION_S): Likewise.
19603 * soft-fp/double.h (_FP_UNION_D): Likewise.
19604
19605 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19606
19607 [BZ #13786]
19608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19609 not include ../strcmp.S.
19610 [USE_AS_STRNCASECMP_L]: Likewise.
19611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19614 (__strncasecmp_l_ia32): Define as alias to
19615 __strncasecmp_l_nonascii.
19616
19617 [BZ #5794]
19618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19619 * sysdeps/i386/fpu/libm-test-ulps: Update.
19620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19621
19622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624
19625 2012-02-29 Jeff Law <law@redhat.com>
19626
19627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19628 out of bounds read.
19629
19630 2012-02-29 Marek Polacek <polacek@redhat.com>
19631
19632 [BZ #13706]
19633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19634 * elf/Makefile: Add rules to run tst-unused-dep.out.
19635
19636 2012-02-28 David S. Miller <davem@davemloft.net>
19637
19638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19644
19645 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19646
19647 * math/libm-test.inc (llround_test): Move one test from
19648 lround_test. Use TEST_f_L in moved test.
19649 (lround_test): Move misplaced test to llround_test. Add testcase
19650 from bug 2561.
19651
19652 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19653
19654 * sysdeps/x86_64/fpu/e_expf.S: New file.
19655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19656
19657 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19658
19659 [BZ #13637]
19660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19661 of remain_len that may cause incomplete multi-byte character and
19662 false match.
19663 * posix/bug-regex33.c: New file.
19664 * posix/Makefile (tests): Add bug-regex33.
19665
19666 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19667
19668 * manual/macros.texi: New file.
19669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19670 * manual/libc.texinfo: Include macros.texi.
19671 * manual/creatute.texi: Likewise.
19672 * manual/install.texi: Likewise.
19673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19674 @glibcadj{} in references to the GNU C Library.
19675 * manual/charset.texi: Likewise.
19676 * manual/conf.texi: Likewise.
19677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19678 when not using those macros.
19679 * manual/creature.texi: Likewise.
19680 * manual/crypt.texi: Likewise.
19681 * manual/errno.texi: Likewise.
19682 * manual/filesys.texi: Likewise.
19683 * manual/header.texi: Likewise.
19684 * manual/install.texi: Likewise.
19685 * manual/intro.texi: Likewise.
19686 * manual/io.texi: Likewise.
19687 * manual/job.texi: Likewise.
19688 * manual/lang.texi: Likewise.
19689 * manual/libc.texiinfo: Likewise.
19690 * manual/llio.texi: Likewise.
19691 * manual/locale.texi: Likewise.
19692 * manual/maint.texi: Likewise.
19693 * manual/math.texi: Likewise.
19694 * manual/memory.texi: Likewise.
19695 * manual/message.texi: Likewise.
19696 * manual/nss.texi: Likewise.
19697 * manual/pattern.texi: Likewise.
19698 * manual/process.texi: Likewise.
19699 * manual/resource.texi: Likewise.
19700 * manual/search.texi: Likewise.
19701 * manual/setjmp.texi: Likewise.
19702 * manual/signal.texi: Likewise.
19703 * manual/socket.texi: Likewise.
19704 * manual/startup.texi: Likewise.
19705 * manual/stdio.texi: Likewise.
19706 * manual/string.texi: Likewise.
19707 * manual/sysinfo.texi: Likewise.
19708 * manual/syslog.texi: Likewise.
19709 * manual/terminal.texi: Likewise.
19710 * manual/time.texi: Likewise.
19711 * manual/users.texi: Likewise.
19712 * INSTALL: Regenerated.
19713 * NOTES: Regenerated.
19714 * sysdeps/gnu/errlist.c: Regenerated.
19715
19716 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19717
19718 * include/dirent.h: Include <dirstream.h> before
19719 <dirent/dirent.h>.
19720
19721 2012-02-28 David S. Miller <davem@davemloft.net>
19722
19723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19727
19728 2012-02-27 David S. Miller <davem@davemloft.net>
19729
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19734
19735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19736 frame pointer instead of stack pointer relative arg slot.
19737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19740
19741 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19742
19743 [BZ #3992]
19744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19745
19746 2012-02-27 David S. Miller <davem@davemloft.net>
19747
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19756
19757 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19758
19759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19760 later. Allow versions 5-9.
19761 * configure: Regenerated.
19762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19763 required minimum version and 4.6 as recommended version. Do not
19764 mention bugs in GCC 2.7 and 2.8.
19765 * INSTALL: Regenerated.
19766
19767 2012-02-27 David S. Miller <davem@davemloft.net>
19768
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19777
19778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19779 manipulate bits before adding and subtracting TWO112[sx].
19780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19781
19782 2012-02-27 Roland McGrath <roland@hack.frob.com>
19783
19784 [BZ #13775]
19785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19788 being in POSIX, because they are in 1003.1-2008.
19789
19790 * rt/tst-aio.c: Include <fcntl.h>.
19791 * rt/tst-aio7.c: Likewise.
19792 * rt/tst-aio64.c: Likewise.
19793
19794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19795
19796 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19797
19798 * manual/install.texi (--with-headers): Describe headers as
19799 interface headers, not private headers.
19800 (Specific advice for GNU/Linux systems): Describe use of headers
19801 from "make headers_install", not private headers from older
19802 kernels.
19803 * INSTALL: Regenerated.
19804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19805 Change to 2.6.19.
19806 * sysdeps/unix/sysv/linux/configure: Regenerated.
19807
19808 * manual/llio.texi (fclean): Remove documentation.
19809
19810 * manual/Makefile (libc-texi-generated): New variable. Include
19811 version.texi.
19812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19813 $(libc-texi-generated), not duplicated list of files.
19814 (version.texi, stamp-version): New rules.
19815 (realclean): Remove $(libc-texi-generated), not individual files
19816 from that list. Do not remove dir-add.texinfo.
19817 * manual/libc.texinfo: Comment out uses of edition numbers and
19818 references to printed manual. Remove last-updated dates.
19819 (EDITION): Comment out.
19820 (ISBN): Likewise.
19821 (VERSION, UPDATED): Remove.
19822 (version.texi): Include.
19823
19824 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19825
19826 * sysdeps/posix/spawni.c: Include <signal.h>.
19827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19828 * sysdeps/pthread/aio_fsync.c: Likewise.
19829
19830 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19831
19832 * conform/Makefile (tests): Run only when not cross-compiling and
19833 when fast-check is not defined.
19834
19835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19836 * conform/data/limits.h-data: Fixes for POSIX2008.
19837 * conform/run-conformtest.sh: Run all tests.
19838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19839 headers.
19840 * include/bits/dlfcn.h: Likewise.
19841 * include/langinfo.h: Likewise.
19842 * include/monetary.h: Likewise.
19843 * include/sys/poll.h: Likewise.
19844
19845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19846 for __USE_GNU.
19847 * posix/spawn.h: Define __need_sigset_t.
19848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19851 to get sigevent_t only.
19852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19853 only for __USE_GNU.
19854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19856 process_vm_writev only for __USE_GNU.
19857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19858
19859 * conform/Makefile: For now ignore errors from run-conformtest.
19860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19861 POSIX to avoid namespace pollution. Don't prepend headers.
19862 * conform/data/aio.h-data: Fixes for POSIX testing.
19863 * conform/data/fcntl.h-data: Likewise.
19864 * conform/data/glob.h-data: Likewise.
19865 * conform/data/grp.h-data: Likewise.
19866 * conform/data/pthread.h-data: Likewise.
19867 * conform/data/pwd.h-data: Likewise.
19868 * conform/data/signal.h-data: Likewise.
19869 * conform/data/spawn.h-data: Likewise.
19870 * conform/data/stdio.h-data: Likewise.
19871 * conform/data/stdlib.h-data: Likewise.
19872 * conform/data/stropts.h-data: Likewise.
19873 * conform/data/sys/mman.h-data: Likewise.
19874 * conform/data/sys/stat.h-data: Likewise.
19875 * conform/data/sys/types.h-data: Likewise.
19876 * conform/data/sys/wait.h-data: Likewise.
19877 * conform/data/time.h-data: Likewise.
19878 * conform/data/unistd.h-data: Likewise.
19879 * conform/data/utime.h-data: Likewise.
19880
19881 * io/sys/stat.h: fchmod was always in POSIX.
19882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19884 * rt/aio.h: Define __need_timespec before including <time.h>.
19885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19886 struct. Add forward declaration of pthread_attr_t and use it in
19887 sigevent.
19888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19891 always remove CLK_TCK definition.
19892
19893 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19894
19895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19896
19897 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19898
19899 * conform/run-conformtest.sh: New file.
19900 * conform/Makefile: Run run-conformtest for tests.
19901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19902 support.
19903
19904 * conform/data/uchar.h-data: New file.
19905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19906 * conform/data/arpa/inet.h-data: Likewise.
19907 * conform/data/assert.h-data: Likewise.
19908 * conform/data/complex.h-data: Likewise.
19909 * conform/data/cpio.h-data: Likewise.
19910 * conform/data/ctype.h-data: Likewise.
19911 * conform/data/dirent.h-data: Likewise.
19912 * conform/data/dlfcn.h-data: Likewise.
19913 * conform/data/errno.h-data: Likewise.
19914 * conform/data/fcntl.h-data: Likewise.
19915 * conform/data/float.h-data: Likewise.
19916 * conform/data/fmtmsg.h-data: Likewise.
19917 * conform/data/fnmatch.h-data: Likewise.
19918 * conform/data/ftw.h-data: Likewise.
19919 * conform/data/glob.h-data: Likewise.
19920 * conform/data/grp.h-data: Likewise.
19921 * conform/data/iconv.h-data: Likewise.
19922 * conform/data/inttypes.h-data: Likewise.
19923 * conform/data/langinfo.h-data: Likewise.
19924 * conform/data/libgen.h-data: Likewise.
19925 * conform/data/limits.h-data: Likewise.
19926 * conform/data/locale.h-data: Likewise.
19927 * conform/data/math.h-data: Likewise.
19928 * conform/data/monetary.h-data: Likewise.
19929 * conform/data/mqueue.h-data: Likewise.
19930 * conform/data/ndbm.h-data: Likewise.
19931 * conform/data/net/if.h-data: Likewise.
19932 * conform/data/netdb.h-data: Likewise.
19933 * conform/data/netinet/in.h-data: Likewise.
19934 * conform/data/nl_types.h-data: Likewise.
19935 * conform/data/poll.h-data: Likewise.
19936 * conform/data/pthread.h-data: Likewise.
19937 * conform/data/pwd.h-data: Likewise.
19938 * conform/data/regex.h-data: Likewise.
19939 * conform/data/sched.h-data: Likewise.
19940 * conform/data/search.h-data: Likewise.
19941 * conform/data/semaphore.h-data: Likewise.
19942 * conform/data/setjmp.h-data: Likewise.
19943 * conform/data/signal.h-data: Likewise.
19944 * conform/data/spawn.h-data: Likewise.
19945 * conform/data/stdarg.h-data: Likewise.
19946 * conform/data/stdio.h-data: Likewise.
19947 * conform/data/stdlib.h-data: Likewise.
19948 * conform/data/string.h-data: Likewise.
19949 * conform/data/strings.h-data: Likewise.
19950 * conform/data/stropts.h-data: Likewise.
19951 * conform/data/sys/ipc.h-data: Likewise.
19952 * conform/data/sys/mman.h-data: Likewise.
19953 * conform/data/sys/msg.h-data: Likewise.
19954 * conform/data/sys/resource.h-data: Likewise.
19955 * conform/data/sys/select.h-data: Likewise.
19956 * conform/data/sys/sem.h-data: Likewise.
19957 * conform/data/sys/shm.h-data: Likewise.
19958 * conform/data/sys/socket.h-data: Likewise.
19959 * conform/data/sys/stat.h-data: Likewise.
19960 * conform/data/sys/statvfs.h-data: Likewise.
19961 * conform/data/sys/time.h-data: Likewise.
19962 * conform/data/sys/timeb.h-data: Likewise.
19963 * conform/data/sys/times.h-data: Likewise.
19964 * conform/data/sys/types.h-data: Likewise.
19965 * conform/data/sys/uio.h-data: Likewise.
19966 * conform/data/sys/un.h-data: Likewise.
19967 * conform/data/sys/utsname.h-data: Likewise.
19968 * conform/data/sys/wait.h-data: Likewise.
19969 * conform/data/syslog.h-data: Likewise.
19970 * conform/data/tar.h-data: Likewise.
19971 * conform/data/termios.h-data: Likewise.
19972 * conform/data/utime.h-data: Likewise.
19973 * conform/data/utmpx.h-data: Likewise.
19974 * conform/data/varargs.h-data: Likewise.
19975 * conform/data/wchar.h-data: Likewise.
19976 * conform/data/wctype.h-data: Likewise.
19977 * conform/data/wordexp.h-data: Likewise.
19978
19979 * include/stropts.h: New file.
19980 * include/uchar.h: New file.
19981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19982 * include/assert.h: Likewise.
19983 * include/ctype.h: Likewise.
19984 * include/dirent.h: Likewise.
19985 * include/dlfcn.h: Likewise.
19986 * include/fcntl.h: Likewise.
19987 * include/fnmatch.h: Likewise.
19988 * include/glob.h: Likewise.
19989 * include/grp.h: Likewise.
19990 * include/libio.h: Likewise.
19991 * include/locale.h: Likewise.
19992 * include/math.h: Likewise.
19993 * include/net/if.h: Likewise.
19994 * include/netdb.h: Likewise.
19995 * include/netinet/in.h: Likewise.
19996 * include/pthread.h: Likewise.
19997 * include/pwd.h: Likewise.
19998 * include/regex.h: Likewise.
19999 * include/sched.h: Likewise.
20000 * include/search.h: Likewise.
20001 * include/setjmp.h: Likewise.
20002 * include/signal.h: Likewise.
20003 * include/stdio.h: Likewise.
20004 * include/stdlib.h: Likewise.
20005 * include/string.h: Likewise.
20006 * include/sys/cdefs.h: Likewise.
20007 * include/sys/mman.h: Likewise.
20008 * include/sys/msg.h: Likewise.
20009 * include/sys/resource.h: Likewise.
20010 * include/sys/select.h: Likewise.
20011 * include/sys/socket.h: Likewise.
20012 * include/sys/stat.h: Likewise.
20013 * include/sys/statvfs.h: Likewise.
20014 * include/sys/time.h: Likewise.
20015 * include/sys/times.h: Likewise.
20016 * include/sys/uio.h: Likewise.
20017 * include/sys/utsname.h: Likewise.
20018 * include/sys/wait.h: Likewise.
20019 * include/termios.h: Likewise.
20020 * include/time.h: Likewise.
20021 * include/ulimit.h: Likewise.
20022 * include/unistd.h: Likewise.
20023 * include/utime.h: Likewise.
20024 * include/wchar.h: Likewise.
20025 * include/wctype.h: Likewise.
20026 * include/wordexp.h: Likewise.
20027
20028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20029
20030 * time/time.h: TIME_UTC must be a macro.
20031 Make timespec_get available for ISO C11 only as well.
20032
20033 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20034
20035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20037
20038 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20039
20040 * configure.in: Use -o not -a in test for unsupported multi-arch.
20041
20042 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20043
20044 * manual/texinfo.tex: Update to version 2012-01-19.16.
20045
20046 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20047
20048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20049
20050 2012-02-24 Roland McGrath <roland@hack.frob.com>
20051
20052 [BZ #13738]
20053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20054 * manual/fdl-1.3.texi: New file.
20055 * manual/fdl-1.1.texi: File removed.
20056
20057 [BZ #13738]
20058 * manual/libc.texinfo (FDL_VERSION): New @set.
20059 Use it for mention of FDL in cover text.
20060 (Documentation License): Use it in @include file name.
20061
20062 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20063 Roland McGrath <roland@hack.frob.com>
20064
20065 [BZ #5461]
20066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20067 not LONG_LONG_MAX and LONG_LONG_MIN.
20068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20070 name.
20071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20072
20073 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20074
20075 [BZ #2547]
20076 [BZ #11365]
20077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20078 manipulate bits before adding and subtracting TWO23[sx].
20079 * math/libm-test.inc (nearbyint_test): Add more tests.
20080
20081 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20082
20083 [BZ #2548]
20084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20085 bits before adding and subtracting TWO23[sx].
20086 * math/libm-test.inc (rint_test): Add more tests.
20087 (rint_test_tonearest): Likewise.
20088 (rint_test_towardzero): Likewise.
20089 (rint_test_downward): Likewise.
20090 (rint_test_upward: Likewise.
20091
20092 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20093
20094 [BZ #10110]
20095 * include/stdc-predef.h: New file. Extracted from features.h.
20096 * include/features.h: Include stdc-predef.h.
20097 * Makefile (headers): Add stdc-predef.h.
20098 * CONFORMANCE (Compiler limitations): Update.
20099
20100 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20101
20102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20103
20104 2012-02-21 David S. Miller <davem@davemloft.net>
20105
20106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20108
20109 2012-02-20 David S. Miller <davem@davemloft.net>
20110
20111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20112 using a normal save/restore sequence, rather than allocating a
20113 dummy stack frame just to store a frame pointer and restore.
20114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20115
20116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20117
20118 * manual/install.texi: Fix stray word in line-wrapped comment.
20119
20120 2012-02-20 David S. Miller <davem@davemloft.net>
20121
20122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20123 both binutils and gcc support GOTDATA.
20124
20125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20126 "rd %pc" in the PIC register setup sequences.
20127
20128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20137 (SYSCALL_ERROR_HANDLER): Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20141 (SYSCALL_ERROR_HANDLER): Likewise.
20142
20143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20144 (HAVE_GCC_GOTDATA): New.
20145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20146 relocation support in both binutils and gcc.
20147 * sysdeps/sparc/elf/configure: Regenerate.
20148
20149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20150 * sysdeps/sparc/sparc32/elf/configure: Delete.
20151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20152 * sysdeps/sparc/sparc64/elf/configure: Delete.
20153 * sysdeps/sparc/elf/configure.in: New file.
20154 * sysdeps/sparc/elf/configure: Generate.
20155
20156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20161
20162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20163
20164 * manual/install.texi: Do not mention specific glibc version
20165 numbers.
20166 * manual/libc.texinfo (VERSION, UPDATED): Update.
20167 (@copying): Use @copyright{} and range of years.
20168
20169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20170
20171 [BZ #13695]
20172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20173 [crti.S not in sysdirs] (generated): Do not append.
20174 [crti.S not in sysdirs] (omit-deps): Likewise.
20175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20180 Likewise.
20181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20184 * csu/defs.awk: Remove file.
20185 * sysdeps/generic/initfini.c: Likewise.
20186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20187 variable.
20188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20189 Likewise.
20190
20191 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20192
20193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20199 <bits/epoll.h>.
20200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20201 (__EPOLL_PACKED): Define to empty if not defined by
20202 <bits/epoll.h>.
20203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20205 bits/epoll.h.
20206
20207 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20208
20209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20213 <bits/timerfd.h>.
20214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20216 bits/timerfd.h.
20217
20218 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20219
20220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20221 in C locale.
20222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20226
20227 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20228
20229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20231
20232 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20233
20234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20236 defined.
20237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20238 Likewise.
20239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20240 entry for 2.16.
20241
20242 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20243
20244 * math/w_acos.c: Use non-signaling floating-point comparisons.
20245 * math/w_acosf.c: Likewise.
20246 * math/w_acosh.c: Likewise.
20247 * math/w_acoshf.c: Likewise.
20248 * math/w_acoshl.c: Likewise.
20249 * math/w_acosl.c: Likewise.
20250 * math/w_asin.c: Likewise.
20251 * math/w_asinf.c: Likewise.
20252 * math/w_asinl.c: Likewise.
20253 * math/w_atanh.c: Likewise.
20254 * math/w_atanhf.c: Likewise.
20255 * math/w_atanhl.c: Likewise.
20256 * math/w_exp2.c: Likewise.
20257 * math/w_exp2f.c: Likewise.
20258 * math/w_exp2l.c: Likewise.
20259 * math/w_j0.c: Likewise.
20260 * math/w_j0f.c: Likewise.
20261 * math/w_j0l.c: Likewise.
20262 * math/w_j1.c: Likewise.
20263 * math/w_j1f.c: Likewise.
20264 * math/w_j1l.c: Likewise.
20265 * math/w_jn.c: Likewise.
20266 * math/w_jnf.c: Likewise.
20267 * math/w_log.c: Likewise.
20268 * math/w_log10.c: Likewise.
20269 * math/w_log10f.c: Likewise.
20270 * math/w_log10l.c: Likewise.
20271 * math/w_log2.c: Likewise.
20272 * math/w_log2f.c: Likewise.
20273 * math/w_log2l.c: Likewise.
20274 * math/w_logf.c: Likewise.
20275 * math/w_logl.c: Likewise.
20276 * math/w_sqrt.c: Likewise.
20277 * math/w_sqrtf.c: Likewise.
20278 * math/w_sqrtl.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20284
20285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20286
20287 [BZ #9739]
20288 * manual/string.texi (strnlen): Use correct parameter name in
20289 equivalent expression.
20290
20291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20292
20293 [BZ #11174]
20294 * manual/users.texi (seteuid): Consistently use neweuid for
20295 argument name.
20296
20297 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20298
20299 [BZ #13704]
20300 * manual/nss.texi (Services in the NSS configuration): Correct
20301 list of services in example configuration file.
20302
20303 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20304
20305 [BZ #11322]
20306 * manual/arith.texi: Remove statements about negative zero
20307 behaving identically to zero.
20308
20309 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20310
20311 [BZ #5993]
20312 * manual/install.texi: Do not document upgrading from libc5.
20313
20314 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20315
20316 [BZ #4596]
20317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20318
20319 2012-02-18 David S. Miller <davem@davemloft.net>
20320
20321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20323 %o7 across the call.
20324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20325 instead.
20326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20327 SETUP_PIC_REG_LEAF.
20328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20330 * sysdeps/sparc/crtn.S: Likewise.
20331
20332 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20333
20334 * aout/Makefile: Remove.
20335
20336 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20337
20338 [BZ #13058]
20339 * manual/examples/argp-ex1.c (main): Format definition in GNU
20340 style.
20341 * manual/examples/argp-ex2.c (main): Likewise.
20342 * manual/examples/argp-ex3.c (main): Likewise.
20343 * manual/examples/argp-ex4.c (main): Likewise.
20344 * manual/examples/longopt.c (main): Use new-style prototype
20345 definition.
20346 * manual/examples/strncat.c (main): Specify return type and use
20347 (void) for arguments.
20348 * manual/examples/subopt.c (main): Use char **argv argument.
20349
20350 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20351
20352 [BZ #5077]
20353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20354 rounding modes.
20355
20356 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20357
20358 [BZ #6907]
20359 * manual/string.texi (strchr): Change when strchrnul is
20360 recommended.
20361
20362 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20363
20364 [BZ #174]
20365 * manual/locale.texi (setlocale): Document LOCPATH.
20366
20367 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20368
20369 [BZ #10210]
20370 * manual/process.texi (execle): Move @dots{} before last argument.
20371
20372 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20373
20374 [BZ #12047]
20375 * manual/charset.texi (Generic Charset Conversion): Fix typo
20376 (LC_TYPE -> LC_CTYPE).
20377
20378 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20379
20380 [BZ #5805]
20381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20382 (scalbnf): Likewise.
20383 (scalbnl): Likewise.
20384 (scalbln): Likewise.
20385 (scalblnf): Likewise.
20386 (scalblnl): Likewise.
20387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20388 (vwarnx): Likewise.
20389 (verr): Likewise.
20390 (verrx): Likewise.
20391 * manual/filesys.texi (telldir): Use braces around return type.
20392 * manual/llio.texi (mmap): Add space after comma.
20393 (mmap64): Likewise.
20394 * manual/math.texi (jn): Use @var{} on parameter names.
20395 (jnf): Likewise.
20396 (jnl): Likewise.
20397 (yn): Likewise.
20398 (ynf): Likewise.
20399 (ynl): Likewise.
20400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20401 line.
20402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20403 "...".
20404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20405 (sched_get_priority_max): Likewise.
20406 * manual/signal.texi (sigvec): Add space after comma.
20407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20408 names.
20409 (if_indextoname): Likewise.
20410 (if_freenameindex): Likewise.
20411 (sendto): Use ',' instead of '.' in prototype.
20412 * manual/startup.texi (syscall): Use @dots{} instead of literal
20413 "...".
20414 * manual/stdio.texi (__fpending): Separate initial words of
20415 paragraph from @deftypefun line.
20416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20417 "...".
20418 (vsyslog): Use @var{} on parameter names.
20419 * manual/terminal.texi (stty): Use @var{} on parameter names.
20420 * manual/users.texi (getutmp): Use @var{} on parameter names.
20421 (getutmpx): Likewise.
20422
20423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20424
20425 [BZ #6884]
20426 * manual/stdio.texi (fopen): Fix typos in description of
20427 ",ccs=STRING".
20428
20429 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20430
20431 [BZ #4026]
20432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20433 get clock_id definition.
20434
20435 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20436
20437 [BZ #4822]
20438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20439 (madvise): Cast every argument to void on its own.
20440
20441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20442
20443 [BZ #9902]
20444 * manual/startup.texi (Exit Status): Fix typo.
20445
20446 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20447
20448 [BZ #10140]
20449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20450 * manual/examples/argp-ex2.c: Likewise.
20451 * manual/examples/argp-ex3.c: Likewise.
20452
20453 2012-02-16 Richard Henderson <rth@redhat.com>
20454
20455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20456 * sysdeps/s390/s390-32/initfini.c: Remove.
20457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20458 * sysdeps/s390/s390-64/initfini.c: Remove.
20459
20460 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20461
20462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20463 compiler output for sysdeps/generic/initfini.c.
20464 * sysdeps/sh/elf/initfini.c: Remove file.
20465
20466 2012-02-16 David S. Miller <davem@davemloft.net>
20467
20468 [BZ #11494]
20469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20470
20471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20472 * sysdeps/sparc/crti.S: New file.
20473 * sysdeps/sparc/crtn.S: New file.
20474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20475 * sysdeps/sparc/sparc64/Makefile: Likewise.
20476
20477 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20478
20479 [BZ #3335]
20480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20481
20482 2012-02-15 Roland McGrath <roland@hack.frob.com>
20483
20484 [BZ #4822]
20485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20486
20487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20488 (write, read, close): Likewise.
20489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20490
20491 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20492
20493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20497 <bits/signalfd.h>.
20498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20500 bits/signalfd.h.
20501
20502 2012-02-14 Marek Polacek <polacek@redhat.com>
20503
20504 * sysdeps/x86_64/crti.S: New file.
20505 * sysdeps/x86_64/crtn.S: New file.
20506 * sysdeps/x86_64/elf/initfini.c: Remove file.
20507
20508 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20509
20510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20514 <bits/inotify.h>.
20515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20517 bits/inotify.h.
20518
20519 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20520
20521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20525 <bits/eventfd.h>.
20526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20528 bits/eventfd.h.
20529
20530 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20531
20532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20533 __feraiseexcept instead of feraiseexcept.
20534
20535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20536 nanosleep invocations.
20537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20538 strings, and add error checking for a nanosleep invocations.
20539
20540 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20541
20542 Replace FSF snail mail address with URLs, as per GNU coding standards.
20543 Most of the snail mail addresses were wrong anyway, and omitting
20544 them makes the source code easier to maintain. Almost all of the
20545 changes are to license notices and to locale LC_IDENTIFICATION
20546 addresses, except for this one:
20547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20548 not its snail mail address.
20549
20550 2012-02-09 Richard Henderson <rth@twiddle.net>
20551
20552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20553 of kernel-features.h.
20554
20555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20556
20557 2012-02-08 Marek Polacek <polacek@redhat.com>
20558
20559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20561 * sysdeps/gnu/_G_config.h: Likewise.
20562 * sysdeps/generic/_G_config.h: Likewise.
20563
20564 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20565
20566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20567 tests.
20568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20569
20570 * sysdeps/powerpc/powerpc32/crti.S: New file.
20571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20572 * sysdeps/powerpc/powerpc64/crti.S: New file.
20573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20574
20575 * Makeconfig (have-initfini): Don't set.
20576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20577 * configure.in (nopic_initfini): Don't substitute.
20578 * config.h.in (HAVE_INITFINI): Don't #undef.
20579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20581
20582 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20583
20584 Support crti.S and crtn.S provided directly by architectures.
20585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20586 [crti.S in sysdirs] (omit-deps): Likewise.
20587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20596 compiler output for sysdeps/generic/initfini.c.
20597 * sysdeps/i386/elf/Makefile: Remove file.
20598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20599
20600 2012-02-07 Marek Polacek <polacek@redhat.com>
20601
20602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20603 * sysdeps/gnu/_G_config.h: Likewise.
20604 * sysdeps/mach/hurd/_G_config.h: Likewise.
20605
20606 2012-02-07 Marek Polacek <polacek@redhat.com>
20607
20608 * math/Makefile (tests): Add tst-CMPLX2.
20609 * math/tst-CMPLX2.c: New file.
20610
20611 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20612
20613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20614
20615 * math/libm-test.inc (jn_test): Add missing L suffix.
20616
20617 2012-02-06 Marek Polacek <polacek@redhat.com>
20618
20619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20620 * sysdeps/i386/fpu/e_powf.S: Likewise.
20621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20624 * sysdeps/i386/fpu/e_pow.S: Likewise.
20625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20629 * sysdeps/i386/fpu/e_log2.S: Likewise.
20630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20632 * sysdeps/i386/fpu/e_powl.S: Likewise.
20633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20636 * sysdeps/i386/fpu/e_logl.S: Likewise.
20637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20643 * sysdeps/i386/fpu/e_log.S: Likewise.
20644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20647 * sysdeps/i386/fpu/e_logf.S: Likewise.
20648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20653 * sysdeps/i386/fpu/e_log10.S: Likewise.
20654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20660 * sysdeps/i386/asm-syntax.h: Likewise.
20661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20670 * sysdeps/powerpc/sysdep.h: Likewise.
20671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20673
20674 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20675
20676 [BZ #411]
20677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20678
20679 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20680
20681 * sysdeps/i386/sysdep.h: Include <features.h>.
20682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20683 version.
20684
20685 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20686
20687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20688 Define.
20689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20690 LOAD_PIC_REG_STR.
20691
20692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20693
20694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20695 (SETUP_PIC_REG): Use GET_PC_THUNK.
20696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20697 macro.
20698
20699 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20700
20701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20702 for non-PIC compilation.
20703 (SETUP_PIC_REG): Add .p2align directive.
20704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20745
20746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20747
20748 * math/tst-CMPLX.c: Include <stdio.h>.
20749
20750 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20751
20752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20753 float.
20754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20755 * sysdeps/sparc/bits/mathdef.h: Likewise.
20756
20757 2012-01-31 Marek Polacek <polacek@redhat.com>
20758
20759 * libio/libio.h: Don't define _PARAMS.
20760 * locale/programs/config.h: Don't define PARAMS.
20761 * stdlib/strtol_l.c: Likewise.
20762 (__strtol_l): Remove PARAMS from the prototype.
20763
20764 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20765
20766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20767 names. Just use the correct names. Remove unnecessary wrapper
20768 functions.
20769 * malloc/arena.c: Likewise.
20770 * malloc/hooks.c: Likewise.
20771
20772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20773 ARENA_TEST says not to. Simplify test for creation of a new arena.
20774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20775
20776 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20777
20778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20779 into tail calls.
20780 (update_get_addr): New function.
20781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20782 GET_ADDR_MODULE parameter.
20783
20784 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20785
20786 * crypt/cert.c: Remove __STDC__ conditionals.
20787 * crypt/crypt-entry.c: Likewise.
20788 * crypt/crypt_util.c: Likewise.
20789 * libio/filedoalloc.c: Likewise.
20790 * libio/fileops.c: Likewise.
20791 * libio/genops.c: Likewise.
20792 * libio/iofclose.c: Likewise.
20793 * libio/iofdopen.c: Likewise.
20794 * libio/iofopen.c: Likewise.
20795 * libio/iofopen64.c: Likewise.
20796 * libio/iogetdelim.c: Likewise.
20797 * libio/iopopen.c: Likewise.
20798 * libio/obprintf.c: Likewise.
20799 * libio/oldfileops.c: Likewise.
20800 * libio/oldiofclose.c: Likewise.
20801 * libio/oldiofdopen.c: Likewise.
20802 * libio/oldiofopen.c: Likewise.
20803 * libio/oldiopopen.c: Likewise.
20804 * libio/wfiledoalloc.c: Likewise.
20805 * libio/wgenops.c: Likewise.
20806 * locale/programs/xmalloc.c: Likewise.
20807 * misc/syslog.c: Likewise.
20808 * stdio-common/xbug.c: Likewise.
20809 * string/memchr.c: Likewise.
20810 * string/memcmp.c: Likewise.
20811 * string/memrchr.c: Likewise.
20812 * string/rawmemchr.c: Likewise.
20813 * sysdeps/posix/getcwd.c: Likewise.
20814 * time/strftime_l.c: Likewise.
20815
20816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20817
20818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20819 * config.make.in (config-cflags-sse2avx): Define.
20820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20821 Fix typo.
20822
20823 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20824
20825 * scripts/config.guess: Update from upstream config git repository.
20826 * scripts/config.sub: Likewise.
20827
20828 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20829
20830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20831 (EM_NUM): Update.
20832 (R_TILEPRO_*, R_TILEGX_*): New macros.
20833
20834 * scripts/firstversions.awk: Fix bug in version range handling.
20835
20836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20837
20838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20839
20840 * include/sys/epoll.h: New file.
20841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20842 libc_hidden_def.
20843
20844 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20845
20846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20847 Avoid unnecessary __WORDSIZE == 64 test.
20848 (fmaxf): Use VEX format if possible.
20849 (fmax): Likewise.
20850 (fminf): Likewise.
20851 (fmin): Likewise.
20852
20853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20854 * math/math_private.h: Remove libc_fegetround* and
20855 libc_fesetround*.
20856 * sysdeps/i386/configure.in: Check for -msse2avx.
20857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20858 also if SSE2AVX is defined.
20859 Remove libc_fegetround* and libc_fesetround*.
20860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20863 of HAS_YMM_USABLE.
20864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20869
20870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20871
20872 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20873
20874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20875 size is not set.
20876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20877
20878 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20879
20880 [BZ #13618]
20881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20882 relocation.
20883 * Makeconfig (libm): Define.
20884 * elf/Makefile: Add rules to build and run tst-relsort1.
20885 * elf/tst-relsort1.c: New file.
20886 * elf/tst-relsort1mod1.c: New file.
20887 * elf/tst-relsort1mod2.c: New file.
20888
20889 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20890
20891 * math/s_ldexp.c: Remove __STDC__ conditionals.
20892 * math/s_ldexpf.c: Likewise.
20893 * math/s_ldexpl.c: Likewise.
20894 * math/s_nextafter.c: Likewise.
20895 * math/s_nexttowardf.c: Likewise.
20896 * math/s_significand.c: Likewise.
20897 * math/s_significandf.c: Likewise.
20898 * math/s_significandl.c: Likewise.
20899 * math/w_jnl.c: Likewise.
20900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20940 * sysdeps/ieee754/k_standard.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21020 * sysdeps/ieee754/s_matherr.c: Likewise.
21021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21025
21026 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21027
21028 * crypt/md5.h: Remove __STDC__ conditionals.
21029 * libio/libioP.h: Likewise.
21030 * locale/programs/config.h: Likewise.
21031 * sysdeps/generic/sysdep.h: Likewise.
21032 * sysdeps/i386/asm-syntax.h: Likewise.
21033 * sysdeps/s390/asm-syntax.h: Likewise.
21034 * sysdeps/unix/sysdep.h: Likewise.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21037
21038 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21039
21040 * libio/libio.h: Remove __STDC__ conditionals.
21041 * malloc/obstack.h: Likewise.
21042 * math/complex.h: Likewise.
21043 * math/math.h: Likewise.
21044 * sysdeps/generic/_G_config.h: Likewise.
21045 * sysdeps/gnu/_G_config.h: Likewise.
21046 * sysdeps/mach/hurd/_G_config.h: Likewise.
21047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21049 * sysdeps/sparc/bits/mathdef.h: Likewise.
21050
21051 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21052
21053 [BZ #13583]
21054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21055 Clean up HAS_* macros.
21056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21058 possible.
21059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21060 HAS_AVX.
21061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21066
21067 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21068
21069 * elf/tst-unique3.cc (gets): Remove declaration.
21070 * elf/tst-unique3lib.cc (gets): Likewise.
21071 * elf/tst-unique3lib2.cc (gets): Likewise.
21072 * elf/tst-unique4.cc (gets): Likewise.
21073
21074 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21075
21076 * include/stdio.h: Add C++ protection. Add gets declarations and
21077 definitions.
21078 * debug/tst-chk1.c: Don't declare gets here.
21079 * stdio-common/tst-gets.c: Likewise.
21080
21081 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21082
21083 * posix/glob: Remove directory.
21084
21085 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21086
21087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21088
21089 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21090
21091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21092 of the non-standard EPFNOSUPPORT.
21093
21094 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21095
21096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21099
21100 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21101
21102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21103
21104 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21105
21106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21107 transient errors.
21108 * nscd/grpcache.c (cache_addgr): Likewise.
21109 * nscd/hstcache.c (cache_addhst): Likewise.
21110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21111 * nscd/pwdcache.c (cache_addpw): Likewise.
21112 * nscd/servicescache.c (cache_addserv): Likewise.
21113
21114 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21115
21116 * malloc/malloc.c: Various cleanups.
21117 * malloc/hooks.c: Likewise.
21118
21119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21120 * stdlib/bug-fmtmsg1.c: New file.
21121
21122 * stdlib/fmtmsg.c (init): Add missing unlock.
21123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21124
21125 2012-01-12 Marek Polacek <polacek@redhat.com>
21126
21127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21128 and _GNU_SOURCE.
21129
21130 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21131
21132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21134 macro to ensure uniqueness of label name.
21135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21137
21138 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21139
21140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21141
21142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21146
21147 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21148
21149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21150
21151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21154
21155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21156
21157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21161
21162 * math/bits/math-finite.h: Add ldexp support.
21163
21164 2012-01-10 Marek Polacek <polacek@redhat.com>
21165
21166 * locale/programs/localedef.h (show_archive_content): Add noreturn
21167 attribute.
21168
21169 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21170
21171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21172
21173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21174
21175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21176
21177 * io/Makefile (headers): Add bits/poll2.h.
21178
21179 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21180
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21182 typo #include statement.
21183
21184 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21185
21186 * include/sys/cdefs.h: Define __attribute_alloc_size.
21187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21189 * elf/pldd.c: Likewise.
21190 * iconv/iconv_charmap.c: Likewise.
21191 * iconv/iconvconfig.c: Likewise.
21192 * iconv/strtab.c: Likewise.
21193 * locale/programs/locale.c: Likewise.
21194 * locale/programs/localedef.h: Likewise.
21195 * locale/programs/simple-hash.c: Likewise.
21196 * nscd/nscd.h: Likewise.
21197 * nss/makedb.c: Likewise.
21198 * sysdeps/generic/ldconfig.h: Likewise.
21199 * locale/programs/localedef.c: Remove xmalloc prototype.
21200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21201
21202 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21203
21204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21205 appropriate.
21206
21207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21208
21209 * math/Makefile (tests): Add tst-CMPLX.
21210 * math/tst-CMPLX.c: New file.
21211
21212 * math/complex.h (CMPLXL): Fix typo.
21213
21214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21216 GLIBC_2.16.
21217 * debug/tst-chk1.c: Add poll and ppoll tests.
21218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21219 * include/sys/poll.h: Add hidden proto for ppoll.
21220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21221 * sysdeps/mach/hurd/ppoll.c: Likewise.
21222 * io/ppoll.c: Likewise.
21223 * debug/poll_chk.c: New file.
21224 * debug/ppoll_chk.c: New file.
21225 * include/bits/poll2.h: New file.
21226 * io/bits/poll2.h: New file.
21227
21228 [BZ #1350]
21229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21230
21231 * configure.in: static is always set to yes. Remove.
21232 * config.make.in: Don't set build-static.
21233 * Makeconfig: Remove use of build-static.
21234 * dlfcn/Makefile: Likewise.
21235 * elf/Makefile: Likewise.
21236 * math/Makefile: Likewise.
21237 * misc/Makefile: Likewise.
21238 * nptl/Makefile: Likewise.
21239 * sysdeps/mach/hurd/Makefile: Likewise.
21240
21241 * configure.in: PWD_P is not used anymore.
21242 * config.make.in: Remove PWD_P entry.
21243
21244 * configure.in: Remove last remnants of RANLIB.
21245 No need to check for signed size_t anymore.
21246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21247 and IA-64.
21248 Remove __builtin_expect test because we require at least gcc 3.4.
21249 * aclocal.m4: Likewise.
21250
21251 * wcsmbs/mbrtoc16.c: Implement using towc function.
21252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21253 * wcsmbs/wcsmbsload.c: Likewise.
21254 * iconv/gconv_simple.c: Likewise.
21255 * iconv/gconv_int.h: Likewise.
21256 * iconv/gconv_builtin.h: Likewise.
21257 * iconv/iconv_prog.c: Remove CHAR16 handling.
21258
21259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21260
21261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21262
21263 * configure.in: Remove --with-elf and --enable-bounded options.
21264 Dont set base_machine for ia64. More non-ELF conditions removed.
21265 Remove testing and setting of leading underscore information.
21266 * config.make.in (build-bounded): Set to no.
21267 * config.h.in: Remove NO_UNDERSCORES entry.
21268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21269 them.
21270 * csu/start.c: Remove !NO_UNDERSCORE code.
21271 * locale/localeinfo.h: Likewise.
21272 * sysdeps/generic/machine-gmon.h: Likewise.
21273 * sysdeps/generic/sysdep.h: Likewise.
21274 * sysdeps/i386/sysdep.h: Likewise.
21275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21276 * sysdeps/mach/sysdep.h: Likewise.
21277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21279 * sysdeps/sh/sysdep.h: Likewise.
21280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21281 * sysdeps/unix/i386/sysdep.S: Likewise.
21282 * sysdeps/unix/sparc/start.c: Likewise.
21283 * sysdeps/unix/sparc/sysdep.S: Likewise.
21284 * sysdeps/unix/sparc/sysdep.h: Likewise.
21285 * sysdeps/unix/start.c: Likewise.
21286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21287 * sysdeps/x86_64/sysdep.h: Likewise.
21288
21289 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21290
21291 [BZ #13553]
21292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21293 for non-gcc.
21294 * argp/argp-fmtstream.h: Use const instead __const.
21295 * argp/argp.h: Likewise.
21296 * assert/assert.h: Likewise.
21297 * bits/fenv.h: Likewise.
21298 * bits/sched.h: Likewise.
21299 * bits/sigset.h: Likewise.
21300 * bits/sigthread.h: Likewise.
21301 * catgets/nl_types.h: Likewise.
21302 * conform/data/pthread.h-data: Likewise.
21303 * crypt/crypt-private.h: Likewise.
21304 * crypt/crypt.h: Likewise.
21305 * crypt/crypt_util.c: Likewise.
21306 * ctype/ctype.h: Likewise.
21307 * debug/execinfo.h: Likewise.
21308 * debug/mbsnrtowcs_chk.c: Likewise.
21309 * debug/mbsrtowcs_chk.c: Likewise.
21310 * debug/wcsnrtombs_chk.c: Likewise.
21311 * debug/wcsrtombs_chk.c: Likewise.
21312 * debug/wcstombs_chk.c: Likewise.
21313 * dirent/dirent.h: Likewise.
21314 * dlfcn/dlfcn.h: Likewise.
21315 * elf/neededtest4.c: Likewise.
21316 * grp/grp.h: Likewise.
21317 * gshadow/gshadow.h: Likewise.
21318 * iconv/gconv.h: Likewise.
21319 * iconv/gconv_int.h: Likewise.
21320 * iconv/gconv_simple.c: Likewise.
21321 * iconv/iconv.h: Likewise.
21322 * iconv/loop.c: Likewise.
21323 * iconv/skeleton.c: Likewise.
21324 * include/aio.h: Likewise.
21325 * include/aliases.h: Likewise.
21326 * include/argz.h: Likewise.
21327 * include/arpa/inet.h: Likewise.
21328 * include/assert.h: Likewise.
21329 * include/dirent.h: Likewise.
21330 * include/dlfcn.h: Likewise.
21331 * include/execinfo.h: Likewise.
21332 * include/fcntl.h: Likewise.
21333 * include/fenv.h: Likewise.
21334 * include/glob.h: Likewise.
21335 * include/grp.h: Likewise.
21336 * include/libintl.h: Likewise.
21337 * include/mntent.h: Likewise.
21338 * include/netdb.h: Likewise.
21339 * include/pwd.h: Likewise.
21340 * include/rpc/netdb.h: Likewise.
21341 * include/sched.h: Likewise.
21342 * include/search.h: Likewise.
21343 * include/shadow.h: Likewise.
21344 * include/signal.h: Likewise.
21345 * include/stdio.h: Likewise.
21346 * include/stdlib.h: Likewise.
21347 * include/string.h: Likewise.
21348 * include/sys/socket.h: Likewise.
21349 * include/sys/stat.h: Likewise.
21350 * include/sys/statfs.h: Likewise.
21351 * include/sys/statvfs.h: Likewise.
21352 * include/sys/syslog.h: Likewise.
21353 * include/sys/time.h: Likewise.
21354 * include/sys/uio.h: Likewise.
21355 * include/time.h: Likewise.
21356 * include/unistd.h: Likewise.
21357 * include/utmp.h: Likewise.
21358 * include/wchar.h: Likewise.
21359 * include/wctype.h: Likewise.
21360 * inet/aliases.h: Likewise.
21361 * inet/arpa/inet.h: Likewise.
21362 * inet/netinet/ether.h: Likewise.
21363 * inet/netinet/in.h: Likewise.
21364 * intl/libintl.h: Likewise.
21365 * io/bits/fcntl2.h: Likewise.
21366 * io/fcntl.h: Likewise.
21367 * io/ftw.h: Likewise.
21368 * io/sys/poll.h: Likewise.
21369 * io/sys/stat.h: Likewise.
21370 * io/sys/statfs.h: Likewise.
21371 * io/sys/statvfs.h: Likewise.
21372 * io/utime.h: Likewise.
21373 * libio/bits/stdio.h: Likewise.
21374 * libio/bits/stdio2.h: Likewise.
21375 * libio/libio.h: Likewise.
21376 * libio/libioP.h: Likewise.
21377 * libio/stdio.h: Likewise.
21378 * locale/lc-ctype.c: Likewise.
21379 * locale/locale.h: Likewise.
21380 * login/utmp.h: Likewise.
21381 * malloc/arena.c: Likewise.
21382 * malloc/malloc.c: Likewise.
21383 * malloc/malloc.h: Likewise.
21384 * malloc/mcheck.c: Likewise.
21385 * malloc/mtrace.c: Likewise.
21386 * math/bits/mathcalls.h: Likewise.
21387 * math/fenv.h: Likewise.
21388 * math/math_private.h: Likewise.
21389 * misc/bits/error.h: Likewise.
21390 * misc/bits/syslog.h: Likewise.
21391 * misc/err.h: Likewise.
21392 * misc/error.h: Likewise.
21393 * misc/fstab.h: Likewise.
21394 * misc/mntent.h: Likewise.
21395 * misc/regexp.h: Likewise.
21396 * misc/search.h: Likewise.
21397 * misc/sgtty.h: Likewise.
21398 * misc/sys/mman.h: Likewise.
21399 * misc/sys/syslog.h: Likewise.
21400 * misc/sys/uio.h: Likewise.
21401 * misc/sys/xattr.h: Likewise.
21402 * misc/ttyent.h: Likewise.
21403 * nis/rpcsvc/ypclnt.h: Likewise.
21404 * nss/nss.h: Likewise.
21405 * posix/bits/unistd.h: Likewise.
21406 * posix/fnmatch.h: Likewise.
21407 * posix/glob.h: Likewise.
21408 * posix/sched.h: Likewise.
21409 * posix/spawn.h: Likewise.
21410 * posix/sys/wait.h: Likewise.
21411 * posix/unistd.h: Likewise.
21412 * posix/wordexp.h: Likewise.
21413 * pwd/pwd.h: Likewise.
21414 * resolv/netdb.h: Likewise.
21415 * resource/sys/resource.h: Likewise.
21416 * rt/aio.h: Likewise.
21417 * rt/bits/mqueue2.h: Likewise.
21418 * rt/mqueue.h: Likewise.
21419 * shadow/shadow.h: Likewise.
21420 * signal/signal.h: Likewise.
21421 * socket/send.c: Likewise.
21422 * socket/sendto.c: Likewise.
21423 * socket/sys/socket.h: Likewise.
21424 * stdio-common/printf.h: Likewise.
21425 * stdlib/bits/stdlib.h: Likewise.
21426 * stdlib/fmtmsg.h: Likewise.
21427 * stdlib/monetary.h: Likewise.
21428 * stdlib/stdlib.h: Likewise.
21429 * stdlib/ucontext.h: Likewise.
21430 * streams/stropts.h: Likewise.
21431 * string/argz.h: Likewise.
21432 * string/bits/string2.h: Likewise.
21433 * string/string.h: Likewise.
21434 * string/strings.h: Likewise.
21435 * sunrpc/rpc/auth.h: Likewise.
21436 * sunrpc/rpc/auth_des.h: Likewise.
21437 * sunrpc/rpc/clnt.h: Likewise.
21438 * sunrpc/rpc/netdb.h: Likewise.
21439 * sunrpc/rpc/pmap_clnt.h: Likewise.
21440 * sunrpc/rpc/xdr.h: Likewise.
21441 * sysdeps/generic/inttypes.h: Likewise.
21442 * sysdeps/generic/net/if.h: Likewise.
21443 * sysdeps/generic/sys/swap.h: Likewise.
21444 * sysdeps/gnu/net/if.h: Likewise.
21445 * sysdeps/gnu/utmpx.h: Likewise.
21446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21447 * sysdeps/i386/i486/bits/string.h: Likewise.
21448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21449 * sysdeps/s390/bits/string.h: Likewise.
21450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21481 * sysvipc/sys/ipc.h: Likewise.
21482 * sysvipc/sys/msg.h: Likewise.
21483 * sysvipc/sys/sem.h: Likewise.
21484 * sysvipc/sys/shm.h: Likewise.
21485 * termios/termios.h: Likewise.
21486 * time/sys/time.h: Likewise.
21487 * time/time.h: Likewise.
21488 * wcsmbs/bits/wchar2.h: Likewise.
21489 * wcsmbs/uchar.h: Likewise.
21490 * wcsmbs/wchar.h: Likewise.
21491 * wctype/wctype.h: Likewise.
21492
21493 [BZ #13551]
21494 * Makeconfig: Remove all but ELF support including AIX support.
21495 * Makerules: Likewise.
21496 * config.h.in: Likewise.
21497 * config.make.in: Likewise.
21498 * configure: Likewise.
21499 * configure.in: Likewise.
21500 * csu/Makefile: Likewise.
21501 * csu/version.c: Likewise.
21502 * debug/Makefile: Likewise.
21503 * dlfcn/Makefile: Likewise.
21504 * elf/Makefile: Likewise.
21505 * extra-lib.mk: Likewise.
21506 * iconv/Makefile: Likewise.
21507 * include/libc-symbols.h: Likewise.
21508 * include/shlib-compat.h: Likewise.
21509 * resolv/Makefile: Likewise.
21510 * resolv/res_libc.c: Likewise.
21511 * rt/Makefile: Likewise.
21512 * sysdeps/i386/asm-syntax.h: Likewise.
21513 * sysdeps/i386/sysdep.h: Likewise.
21514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21515 * sysdeps/mach/sysdep.h: Likewise.
21516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21518 * sysdeps/s390/asm-syntax.h: Likewise.
21519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21521 * sysdeps/sh/sysdep.h: Likewise.
21522 * sysdeps/unix/sparc/sysdep.h: Likewise.
21523 * sysdeps/wordsize-32/divdi3.c: Likewise.
21524 * sysdeps/x86_64/sysdep.h: Likewise.
21525
21526 * argp/Versions: Remove _argp_unlock_xxx.
21527
21528 [BZ #13559]
21529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21530 * abilist/libBrokenLocale.abilist: Likewise.
21531 * abilist/libanl.abilist: Likewise.
21532 * abilist/libc.abilist: Likewise.
21533 * abilist/libcrypt.abilist: Likewise.
21534 * abilist/libdl.abilist: Likewise.
21535 * abilist/libm.abilist: Likewise.
21536 * abilist/libnsl.abilist: Likewise.
21537 * abilist/libpthread.abilist: Likewise.
21538 * abilist/libresolv.abilist: Likewise.
21539 * abilist/librt.abilist: Likewise.
21540 * abilist/libthread_db.abilist: Likewise.
21541 * abilist/libutil.abilist: Likewise.
21542 * abilist/libnss_db.abilist: New file.
21543
21544 * scripts/abilist.awk: Add support for indirect functions.
21545
21546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21547
21548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21549
21550 * shlib-versions: Remove entries for ports architectures.
21551
21552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21553 files in ports.
21554 * elf/stackguard-macros.h: Remove support for IA-64.
21555 * elf/tst-auditmod1.c: Likewise.
21556 * sysdeps/generic/ldsodefs.h: Likewise.
21557
21558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21560 configure files.
21561
21562 [BZ #13552]
21563 * configure.in: Remove --enable-omitfp support.
21564 * FAQ.in: Adjust.
21565 * config.make.in: Likewise.
21566 * Makeconfig: Likewise.
21567 * manual/install.texi: Likewise.
21568
21569 In case anyone cares, the IA-64 architecture could move to ports.
21570 * sysdeps/ia64/*: Removed.
21571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21573
21574 [BZ #13555]
21575 * configure.in: Remove entries for unsupported architectures.
21576
21577 [BZ #13533]
21578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21580 routines.
21581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21584 fall back to using wcrtomb.
21585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21587 renaming.
21588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21589 * wcsmbs/tst-c16c32-1.c: New file.
21590
21591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21592 local variable.
21593
21594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21595
21596 * elf/tst-unique3.cc: Add explicit declaration of gets.
21597 * elf/tst-unique3lib.cc: Likewise.
21598 * elf/tst-unique3lib2.cc: Likewise.
21599 * elf/tst-unique4.cc: Likewise.
21600
21601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21602
21603 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21604
21605 [BZ #13566]
21606 * assert/assert.h (static_assert): Don't define for C++.
21607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21609
21610 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21611
21612 * iconv/loop.c (single loop): Fix assertion in storing of
21613 remaining bytes.
21614
21615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21616
21617 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21618
21619 * posix/getconf.c: Update copyright year.
21620 * nss/getent.c: Likewise.
21621 * nss/makedb.c: Likewise.
21622 * iconv/iconvconfig.c: Likewise.
21623 * iconv/iconv_prog.c: Likewise.
21624 * elf/ldconfig.c: Likewise.
21625 * elf/pldd.c: Likewise.
21626 * elf/sotruss.ksh: Likewise.
21627 * catgets/gencat.c: Likewise.
21628 * csu/version.c: Likewise.
21629 * elf/ldd.bash.in: Likewise.
21630 * elf/sprof.c (print_version): Likewise.
21631 * locale/programs/locale.c: Likewise.
21632 * locale/programs/localedef.c: Likewise.
21633 * login/programs/pt_chown.c: Likewise.
21634 * nscd/nscd.c (print_version): Likewise.
21635 * debug/xtrace.sh: Likewise.
21636 * malloc/memusage.sh: Likewise.
21637 * malloc/mtrace.pl: Likewise.
21638 * debug/catchsegv.sh: Likewise.
21639
21640 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21641
21642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21643 pure attribute.
21644
21645 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21646
21647 [BZ #13533]
21648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21650 transformations.
21651 * iconv/gconv_int.h: Likewise.
21652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21654 from libc for GLIBC_2.16.
21655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21657 * wcsmbs/uchar.h: Really define mbstate_t.
21658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21659 * wcsmbs/c16rtomb.c: New file.
21660 * wcsmbs/mbrtoc16.c: New file.
21661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21662 for C/POSIX locale.
21663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21665
21666 * wcsmbs/wchar.h: Add missing __restrict.
21667
21668 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21669
21670 [BZ #13532]
21671 * time/Makefile (routines): Add timespec_get.
21672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21674 timespec for ISO C11.
21675 * time/timespec_get.c: New file.
21676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21678
21679 [BZ #13531]
21680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21681 * stdlib/stdlib.h: Declare aligned_alloc.
21682 * Versions.def: Add GLIBC_2.16 for libc.
21683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21684
21685 [BZ 13527]
21686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21687 ISO C11.
21688
21689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21690 code.
21691
21692 [BZ #13528]
21693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21694
21695 [BZ #13529]
21696 * assert/assert.h (static_assert): Define.
21697
21698 * version.h: Update for 2.16 development version.
21699
21700 [BZ #13526]
21701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21702 _ISOC11_SOURCE.
21703
21704 * version.h (RELEASE): Bump for 2.15 release.
21705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21706
21707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21708 Patch by Marek Polacek <mpolacek@redhat.com>.
21709
21710 * bits/byteswap.h: Protect long long constants with __extension__.
21711 * sysdeps/i386/bits/byteswap.h: Likewise.
21712 * sysdeps/ia64/bits/byteswap.h: Likewise.
21713 * sysdeps/s390/bits/byteswap.h: Likewise.
21714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21715
21716 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21717
21718 [BZ #13540]
21719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21720 destination buffer.
21721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21722
21723 2011-12-23 Marek Polacek <polacek@redhat.com>
21724
21725 * elf/dl-addr.c (determine_info): Add inline keyword.
21726 * elf/tst-auditmod4b.c (check_avx): Likewise.
21727 * elf/tst-auditmod6b.c (check_avx): Likewise.
21728 * elf/tst-auditmod6c.c (check_avx): Likewise.
21729 * elf/tst-auditmod7b.c (check_avx): Likewise.
21730
21731 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21732
21733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21734 !__SSE_MATH__.
21735
21736 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21737
21738 [BZ #13540]
21739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21740 processing for last bytes.
21741
21742 2011-08-06 Bruno Haible <bruno@clisp.org>
21743
21744 [BZ #13061]
21745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21746 U+0385, not to U+1FEE.
21747
21748 [BZ #13062]
21749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21750 entry for U+00A5 U+0301.
21751
21752 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21753
21754 [BZ #13166]
21755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21756 buffer for the output is too small.
21757
21758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21759 optimization.
21760
21761 [BZ #13185]
21762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21763 SSE flags if possible.
21764
21765 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21766
21767 [BZ #13540]
21768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21769 processing for last bytes.
21770
21771 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21772
21773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21774 (syscall-list-default-options, syscall-list-default-condition)
21775 (syscall-list-includes): Define.
21776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21777 list of ABIs and options and #if conditions for each ABI. Do not
21778 handle common syscalls between ABIs specially.
21779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21780 Remove.
21781 (syscall-list-variants, syscall-list-32bit-options)
21782 (syscall-list-32bit-condition, syscall-list-64bit-options)
21783 (syscall-list-64bit-condition): Define.
21784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21785 (syscall-list-variants, syscall-list-32bit-options)
21786 (syscall-list-32bit-condition, syscall-list-64bit-options)
21787 (syscall-list-64bit-condition): Define.
21788 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21789 Remove.
21790 (syscall-list-variants, syscall-list-32bit-options)
21791 (syscall-list-32bit-condition, syscall-list-64bit-options)
21792 (syscall-list-64bit-condition): Define.
21793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21794 Remove.
21795 (syscall-list-variants, syscall-list-32bit-options)
21796 (syscall-list-32bit-condition, syscall-list-64bit-options)
21797 (syscall-list-64bit-condition): Define.
21798
21799 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21800
21801 * locale/iso-639.def: Add brx entry.
21802
21803 [BZ #13328]
21804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21806
21807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21808 __feraiseexcept_renamed.
21809
21810 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21811
21812 [BZ #13538]
21813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21814 EPOLLET with unsigned values.
21815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21817
21818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21819 to large cancellation.
21820 * math/s_cacoshf.c: Likewise.
21821 * math/s_cacoshl.c: Likewise.
21822
21823 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21824
21825 [BZ #13305]
21826 [BZ #12786]
21827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21828 * math/s_cacoshf.c: Likewise.
21829 * math/s_cacoshl.c: Likewise.
21830
21831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21832
21833 [BZ #13439]
21834 * iconv/gconv.h: Define __GCONV_SWAP.
21835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21836 * iconvdata/utf-16.c: Likewise.
21837 * iconvdata/utf-32.c: Likewise.
21838
21839 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21840
21841 [BZ #13524]
21842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21843 numerator after shifting it by one limb.
21844
21845 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21846
21847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21848 under [__USE_EXTERN_INLINES].
21849
21850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21851
21852 [BZ #13446]
21853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21854
21855 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21856
21857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21859 optimized code.
21860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21864 for strncasecmp/strncasecmp_l compilation.
21865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21867
21868 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21869
21870 [BZ #13484]
21871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21872 of __asm__.
21873
21874 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21875
21876 [BZ #13506]
21877 * time/tzfile.c (__tzfile_read): Check values from file header.
21878
21879 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21880
21881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21883 * powerpc/powerpc32/dl-start.S: Likewise.
21884 * powerpc/powerpc32/elf/start.S: Likewise.
21885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21898 * powerpc/powerpc32/memset.S: Likewise.
21899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21912
21913 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21914
21915 * math/libm-test.inc: Added more nearbyint tests.
21916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21920
21921 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21922
21923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21924 FD_CLOEXEC.
21925
21926 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21927
21928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21929 Add wcscpy-ssse3 wcscpy-c.
21930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21933 * sysdeps/x86_64/wcschr.S: New file.
21934 * sysdeps/x86_64/wcsrchr.S: New file.
21935 * string/test-strcmp.c: Remove checking of wcscmp function for
21936 wrong alignments.
21937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21939 wcsrchr-sse2 wcsrchr-c.
21940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21949 * wcsmbc/wcschr.c (WCSCHR): New macro.
21950
21951 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21952
21953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21954 * wcsmbs/test-wcsrchr.c: New file.
21955 * string/test-strrchr.c: Add wcsrchr support.
21956 (WIDE): New macro.
21957 * wcsmbs/test-wcscpy.c: New file.
21958 * string/test-strcpy.c: Add wcscpy support.
21959 (WIDE): New macro.
21960
21961 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21962
21963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21964 the inner loop.
21965
21966 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21967
21968 [BZ #13472]
21969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21970
21971 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21972
21973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21974 Minor optimizations.
21975
21976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21979
21980 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21981
21982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21985 for gcc to avoid warnings.
21986 * inet/Makefile (tests): Add tst-checks.
21987 * inet/tst-checks.c: New file.
21988
21989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21990 warning.
21991
21992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21993 __wmemcmp_sse2.
21994
21995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21997
21998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21999
22000 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22001
22002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22003 problem.
22004
22005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22006
22007 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22008
22009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22010 conditional on GCC version.
22011 (__arch_compare_and_exchange_val_8_acq)
22012 (__arch_compare_and_exchange_val_16_acq)
22013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22016
22017 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22018
22019 * sysdeps/sh/backtrace.c: New file.
22020
22021 2011-12-02 Andreas Schwab <schwab@redhat.com>
22022
22023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22024 parenthesis.
22025
22026 2011-12-01 Andreas Schwab <schwab@redhat.com>
22027
22028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22029 falling back to utime.
22030
22031 2011-11-30 Andreas Schwab <schwab@redhat.com>
22032
22033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22034 expectations for float.
22035
22036 2011-11-29 Andreas Schwab <schwab@redhat.com>
22037
22038 * locale/weight.h (findidx): Add parameter len.
22039 * locale/weightwc.h (findidx): Likewise.
22040 * posix/fnmatch_loop.c (FCT): Adjust caller.
22041 * posix/regcomp.c (build_equiv_class): Likewise.
22042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22043 * posix/regexec.c (check_node_accept_bytes): Likewise.
22044 * string/strcoll_l.c (STRCOLL): Likewise.
22045 * string/strxfrm_l.c (STRXFRM): Likewise.
22046
22047 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22048
22049 * Makefile.in: Remove CVSOPT handling.
22050 * configure.in: Remove use of AC_REVISION.
22051 * iconvdata/Makefile (distribute): No need to filter out CVS.
22052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22053 handling.
22054
22055 2011-11-16 Andreas Schwab <schwab@redhat.com>
22056
22057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22059 [USE_AS_STRNCASECMP_L]: Likewise.
22060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22061 NO_TLS_DIRECT_SEG_REFS.
22062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22063 Fix argument offsets for non-PIC.
22064 [USE_AS_STRNCASECMP_L]: Likewise.
22065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22066 NO_TLS_DIRECT_SEG_REFS.
22067
22068 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22069
22070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22071 O_CLOEXEC.
22072 * locale/loadlocale.c (_nl_load_locale): Likewise.
22073
22074 2011-11-15 Andreas Schwab <schwab@redhat.com>
22075
22076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22079 (SYSCALL_GETTIME): Set errno on error.
22080
22081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22082 count references to noai6ai_cached.
22083
22084 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22085
22086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22087
22088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22089 FD_CLOEXEC for /proc/self/maps.
22090
22091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22092 FD_CLOEXEC for /proc/meminfo.
22093
22094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22095 gai.conf.
22096
22097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22098 FD_CLOEXEC for given file.
22099
22100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22101
22102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22103 FD_CLOEXEC for /etc/hosts.
22104 (_gethtent): Likewise.
22105
22106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22107
22108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22109 cancellation and set FD_CLOEXEC for /etc/netgroup.
22110
22111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22112 reading /etc/publickey.
22113
22114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22115 allow cancellation when reading /etc/group.
22116
22117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22118 cancellation.
22119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22120
22121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22122 when using data file.
22123
22124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22125
22126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22127 (write_nis_obj): Use "c" and "e" in fopen.
22128
22129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22130
22131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22132
22133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22134
22135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22136
22137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22138 locale.alias.
22139
22140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22141
22142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22143
22144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22145
22146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22147 file parsing and set FD_CLOEXEC.
22148
22149 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22150
22151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22152
22153 2011-11-14 Andreas Schwab <schwab@redhat.com>
22154
22155 * malloc/arena.c (arena_get2): Don't call reused_arena when
22156 _int_new_arena failed.
22157
22158 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22159
22160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22166 to compile strcasecmp and strncasecmp.
22167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22169
22170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22171
22172 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22173
22174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22175 locale-defines.sym to gen-as-const-headers.
22176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22179 to compile strcasecmp and strncasecmp.
22180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22181 strcasecmp_l and strncasecmp_l.
22182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22193
22194 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22195
22196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22197 result of SYSDEP_GETTIME_CPU to retval.
22198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22199 parameter list to macro. Remove trailing semicolon. Adjust users.
22200
22201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22202 variable.
22203
22204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22205 mantissa words.
22206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22207
22208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22209 from unused variable.
22210
22211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22212 DWARF definitions.
22213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22214 for assembling.
22215
22216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22217 over namespaces.
22218
22219 * sunrpc/rpc_prot.c (rejected): Fix case value.
22220
22221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22222 unsigned long long int to avoid warnings in shift.
22223
22224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22225 of use of trans.
22226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22227 variable tmp.
22228
22229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22232
22233 * nis/nis_table.c (nis_list): Use variable of correct type for
22234 result of __follow_path call.
22235
22236 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22237
22238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22239 of math functions ceil, trunc, floor, round, and sqrt, when
22240 avaliable on the platform.
22241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22242 name clash.
22243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22246
22247 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22248
22249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22251
22252 2011-11-11 Roland McGrath <roland@hack.frob.com>
22253
22254 * include/unistd.h: Fix __readlink return type.
22255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22256
22257 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22258
22259 * stdlib/ucontext.h: Undo last change for makecontext.
22260
22261 2011-11-11 Andreas Schwab <schwab@redhat.com>
22262
22263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22264
22265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22266 * setjmp/setjmp.h: Mark functions as non-leaf.
22267 * setjmp/bits/setjmp2.h: Likewise.
22268 * stdlib/ucontext.h: Likewise.
22269
22270 2011-11-10 Andreas Schwab <schwab@redhat.com>
22271
22272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22273 (reused_arena): Don't check arena limit.
22274 (arena_get2): Atomically check arena limit.
22275
22276 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22277
22278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22280
22281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22282 instructions.
22283
22284 2011-11-07 Andreas Schwab <schwab@redhat.com>
22285
22286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22287 handler when locking.
22288
22289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22290 Fix size of allocated buffer.
22291
22292 2011-11-04 Andreas Schwab <schwab@redhat.com>
22293
22294 [BZ #10103]
22295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22296 declarations for long double functions.
22297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22298
22299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22300
22301 2011-11-03 Andreas Schwab <schwab@redhat.com>
22302
22303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22304 installed.
22305
22306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22307 is disabled.
22308
22309 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22310
22311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22312
22313 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22314
22315 * include/alloca.h (stackinfo_alloca_round): Define.
22316 (extend_alloca): Use it.
22317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22319 here.
22320
22321 * scripts/check-local-headers.sh: Ignore libaudit.h.
22322
22323 * nscd/Makefile (extra-objs): Make recursively expanded.
22324
22325 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22326
22327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22329
22330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22331 * posix/tst-rfc3484-2.c: Likewise.
22332 * posix/tst-rfc3484-3.c: Likewise.
22333
22334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22335 process_vm_writev.
22336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22337 process_vm_writev.
22338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22339 process_vm_writev from libc using GLIBC_2.15 version.
22340
22341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22342
22343 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22344
22345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22346 stack usage.
22347
22348 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22349
22350 [BZ #13367]
22351 * nss/getent.c (initgroups_keys): Show error message in case no group
22352 names are given.
22353
22354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22356 __bump_nl_timestamp.
22357 * nscd/connections (nscd_init): When host database is served open
22358 netlink socket and request notification about configuration changes.
22359 (main_loop_poll): Track netlink file descriptor and bump timestamp
22360 in case data becomes available.
22361 (main_loop_epoll): Likewise.
22362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22363 (database_pers_head): Add extra_data fileds.
22364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22367 Adjust caller.
22368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22369 in6ai data, call __free_in6ai.
22370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22371 Add -DHAVE_NETLINK.
22372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22373 interface information. Reuse previous data if netlink timestamp
22374 is not changed.
22375 (__bump_nl_timestamp): New function.
22376 (__free_in6ai): New function.
22377
22378 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22379
22380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22381 close_not_cancel_no_status here.
22382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22383
22384 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22385
22386 [BZ #13276]
22387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22388 return value.
22389
22390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22393
22394 2011-07-03 Andreas Jaeger <aj@suse.de>
22395
22396 [BZ #10709]
22397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22399 * math/libm-test.inc (sin_test): Add test case.
22400
22401 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22402
22403 [BZ #13337]
22404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22406
22407 * elf/chroot_canon.c (chroot_canon): Cleanups.
22408
22409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22410
22411 [BZ #13335]
22412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22414
22415 * string/test-strchr.c: Make usable for strchrnul testing.
22416 * string/test-strchrnul.c: New file.
22417 * string/Makefile (strop-tests): Add strchrnul.
22418
22419 * po/it.po: Update from translation team.
22420 * po/es.po: Likewise.
22421
22422 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22423
22424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22425 the three constants needed as parameters. Drop the others.
22426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22427 __m128i_strloadu_tolower.
22428 Create and initialize variable zero and use it in all the places
22429 where _mm_setzero_si128 was used.
22430
22431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22435 anymore.
22436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22441 __mpranred, __mptan.
22442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22451
22452 2011-10-28 Andreas Schwab <schwab@redhat.com>
22453
22454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22455 redefine if SHARED.
22456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22457
22458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22459 wide char related routines to wcsmbs subdir.
22460
22461 2011-10-27 Andreas Schwab <schwab@redhat.com>
22462
22463 [BZ #13344]
22464 * misc/sys/cdefs.h (__THROWNL): Define.
22465 * posix/unistd.h: Use __THREADNL instead of __THREAD
22466 for memory synchronization functions.
22467
22468 2011-10-26 Roland McGrath <roland@hack.frob.com>
22469
22470 [BZ #13349]
22471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22472 doesn't exist.
22473 * manual/stdio.texi (Obstack Streams): Node removed.
22474
22475 2011-10-26 Andreas Schwab <schwab@redhat.com>
22476
22477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22480
22481 * math/math_private.h (math_force_eval): Allow non-addressable
22482 arguments.
22483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22484
22485 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22486
22487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22488 file is not needed.
22489
22490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22498 Add AVX variants.
22499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22518
22519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22521
22522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22523 place. Use VEX encoding when compiling for AVX.
22524
22525 2011-10-25 Andreas Schwab <schwab@redhat.com>
22526
22527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22529
22530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22531
22532 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22533
22534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22535 useless if() expression.
22536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22555
22556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22557
22558 2011-10-25 Andreas Schwab <schwab@redhat.com>
22559
22560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22561 condition.
22562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22563
22564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22565
22566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22567 .text section. Avoid duplicate constants.
22568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22613
22614 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22615
22616 * sysdeps/x86_64/dla.h: Move to ...
22617 * sysdeps/x86_64/fpu/dla.h: ...here.
22618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22619 situations. Use __builtin_fma only for gcc 4.6 and up.
22620
22621 * config.make.in: Add have-mfma4 entry.
22622 * configure.in: Substitute libc_cv_cc_fma4.
22623 * math/Makefile (dbl-only-routines): Add sincostab.
22624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22625 Use __sincostab not sincos.
22626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22627 name is a macro.
22628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22632 using __copysign.
22633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22637 and __inv.
22638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22640 __copysign.
22641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22642 define aliases when function name is a macro.
22643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22644 sysdeps/ieee754/dbl-64/sincos.tbl.
22645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22646 fma4-enabled routines.
22647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22677
22678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22679 rename.
22680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22688
22689 2011-10-24 Andreas Schwab <schwab@redhat.com>
22690
22691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22692
22693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22694
22695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22696
22697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22698 prediction.
22699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22700
22701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22702 Remove unused variable magic_bits.
22703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22704
22705 * string/strnlen.c: Define and use STRNLEN macro.
22706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22709 * wcsmbs/wcslen.c: Define and use WCSLEN.
22710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22717
22718 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22719
22720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22721 strnlen-sse2-no-bsf.
22722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22725 Add strnlen support.
22726 (USE_AS_STRNLEN): New macro.
22727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22730 * sysdeps/x86_64/wcslen.S: New file.
22731
22732 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22733
22734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22735 XMM-moves are used for copying on small sizes.
22736
22737 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22738
22739 * wcsmbs/Makefile (strop-tests): Add wcschr.
22740 * wcsmbs/test-wcschr.c: New file.
22741 * string/test-strchr.c: Update.
22742 Add wcschr support.
22743 (WIDE): New macro.
22744
22745 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22746
22747 * wcsmbs/Makefile (strop-tests): Add wcslen.
22748 * wcsmbs/test-wcslen.c: New file.
22749 * string/test-strlen.c: Update.
22750 Add wcslen support.
22751 (WIDE): New macro.
22752
22753 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22754
22755 * po/it.po: Update from translation team.
22756
22757 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22758
22759 * sysdeps/x86_64/wcscmp.S: Update.
22760 Fix wrong comparison semantics.
22761 wcscmp shall use signed comparison not unsigned.
22762 Don't use substraction to avoid overflow bug.
22763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22764 * wcsmbc/wcscmp.c: Likewise.
22765 * string/test-strcmp.c: Likewise.
22766 Add new tests to check cases with negative values.
22767
22768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22769
22770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22771 * sysdeps/x86_64/dla.h: ...here. New file.
22772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22781
22782 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22783
22784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22785 __ynl_finite aliases.
22786
22787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22788
22789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22790
22791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22792 define DLA_FMA.
22793 [DLA_FMA] (EMULV): Use DLA_FMA.
22794 [DLA_FMA] (MUL12): Use EMULV.
22795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22796 that are not needed.
22797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22804
22805 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22806
22807 * math/s_nan.c: Undef __nan.
22808 * math/s_nanf.c: Undef __nanf.
22809 * math/s_nanl.c: Undef __nanl.
22810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22811 "math_private.h".
22812
22813 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22814
22815 * math/s_catan.c: Add branch predictions.
22816 * math/s_catanf.c: Likewise.
22817 * math/s_catanh.c: Likewise.
22818 * math/s_catanhf.c: Likewise.
22819 * math/s_catanhl.c: Likewise.
22820 * math/s_catanl.c: Likewise.
22821 * math/s_cexp.c: Likewise.
22822 * math/s_cexpf.c: Likewise.
22823 * math/s_cexpl.c: Likewise.
22824 * math/s_clog.c: Likewise.
22825 * math/s_clog10.c: Likewise.
22826 * math/s_clog10f.c: Likewise.
22827 * math/s_clog10l.c: Likewise.
22828 * math/s_clogf.c: Likewise.
22829 * math/s_clogl.c: Likewise.
22830 * math/s_csqrt.c: Likewise.
22831 * math/s_csqrtf.c: Likewise.
22832 * math/s_csqrtl.c: Likewise.
22833 * math/s_ctanf.c: Likewise.
22834 * math/s_ctanh.c: Likewise.
22835 * math/s_ctanhf.c: Likewise.
22836 * math/s_ctanhl.c: Likewise.
22837 * math/s_ctanl.c: Likewise.
22838
22839 * math/math_private.h: Define __nan, __nanf, __nanl.
22840 * math/s_cacosh.c: Include <math_private.h>.
22841 * math/s_cacoshl.c: Likewise.
22842 * math/s_casinh.c: Likewise.
22843 * math/s_casinhf.c: Likewise.
22844 * math/s_casinhl.c: Likewise.
22845 * math/s_ccos.c: Rely entire on ccosh.
22846 * math/s_ccosf.c: Rely entire on ccoshf.
22847 * math/s_ccosl.c: Rely entirely on ccoshl.
22848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22849 Remove tests for FE_INVALID.
22850 * math/s_ccoshf.c: Likewise.
22851 * math/s_ccoshl.c: Likewise.
22852 * math/s_csin.c: Likewise.
22853 * math/s_csinf.c: Likewise.
22854 * math/s_csinh.c Likewise.
22855 * math/s_csinhf.c: Likewise.
22856 * math/s_csinhl.c: Likewise.
22857 * math/s_csinl.c: Likewise.
22858 * math/s_ctan.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22862
22863 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22864
22865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22866 compilation problems.
22867
22868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22869 __builtin_expect.
22870
22871 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22872
22873 * sysdeps/i386/configure.in: Test for -mfma4 option.
22874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22876 COMMON_CPUID_INDEX_80000001.
22877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22879 use it if FMA3 is not supported.
22880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22881
22882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22884
22885 2011-10-20 Andreas Schwab <schwab@redhat.com>
22886
22887 [BZ #12892]
22888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22889 it would create a cycle with a link time dependency.
22890
22891 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22892
22893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22894 instruction.
22895 * string/Makefile (strop-tests): Add rawmemchr.
22896 * string/test-rawmemchr.c: New file.
22897
22898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22901 when compiling str{,n}casecmp and when AVX is available. Hook up
22902 new optimized code in initializers.
22903
22904 2011-10-19 Andreas Schwab <schwab@redhat.com>
22905
22906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22907 __feraiseexcept instead of feraiseexcept.
22908
22909 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22910
22911 * math/math_private.h: Define defaults for libc_fetestexcept and
22912 libc_feupdateenv.
22913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22919 libc_fetestexcept and libc_feupdateenv.
22920
22921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22925 libc_feholdexcept_setround.
22926
22927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22928 Add s_nearbyint-c and s_nearbyintf-c.
22929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22930 nearbyintf inlines.
22931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22935
22936 * math/math_private.h: Define defaults for libc_fegetround,
22937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22942 standard functions.
22943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22944 Remove comments and hacks for old compiler versions.
22945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22947 libc_feholdexceptl.
22948
22949 2011-10-18 Andreas Schwab <schwab@redhat.com>
22950
22951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22952 (__feraiseexcept_renamed): Add __NTH.
22953 (feraiseexcept): Add __NTH. Rename local variables to fix
22954 namespace violations.
22955
22956 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22957
22958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22959
22960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22961
22962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22963 recently added interfaces.
22964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22965
22966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22967 about macro parameter expansion.
22968
22969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22970 __NO_MATH_INLINES is defined. Cleanups.
22971
22972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22973 and __floorf is target has SSE4.1.
22974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22978
22979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22980 name.
22981 (floorf): Likewise.
22982
22983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22984
22985 2011-10-17 Andreas Schwab <schwab@redhat.com>
22986
22987 * misc/sys/cdefs.h: Fix last change.
22988
22989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22990 database lookup.
22991
22992 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22993
22994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22995
22996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23018
23019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23020 ceil, ceilf, floor, floorf.
23021
23022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23023 Perform IRELATIVE relocations last.
23024
23025 * elf/do-rel.h: Add another parameter nrelative, replacing the
23026 local variable with the same name. Change name of the function
23027 to end in Rel or Rela (uppercase).
23028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23030 elf_dynamic_do_##reloc function.
23031
23032 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23033
23034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23035 is sufficient, at least on modern CPUs.
23036
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23038
23039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23041
23042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23043 __expl_finite.
23044 * math/bits/math-finite.h: Add entries for exp.
23045 * math/e_expl.c: Add __*_finite alias.
23046 * sysdeps/i386/fpu/e_exp.S: Likewise.
23047 * sysdeps/i386/fpu/e_expf.S: Likewise.
23048 * sysdeps/i386/fpu/e_expl.c: Likewise.
23049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23056
23057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23058 is sufficient, at least on modern CPUs.
23059
23060 * ctype/ctype-info.c (__ctype_init): Define.
23061 * include/ctype.h (__ctype_init): Declare.
23062 (__ctype_b_loc): The variable is always initialized.
23063 (__ctype_toupper_loc): Likewise.
23064 (__ctype_tolower_loc): Likewise.
23065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23067
23068 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23069
23070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23071
23072 * configure.in: Also look in $cxxmachine/include for C++ system
23073 headers.
23074
23075 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23076
23077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23082 (USE_AS_WMEMCMP): New macro.
23083 Fixing indents.
23084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23095 (USE_AS_WMEMCMP): New macro.
23096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23097 * sysdeps/string/test-memcmp.c: Update.
23098 Fix simple_wmemcmp.
23099 Add new tests.
23100 * wcsmbs/wmemcmp.c: Update.
23101 (WMEMCMP): New macro.
23102 Fix overflow bug.
23103
23104 2011-10-12 Andreas Jaeger <aj@suse.de>
23105
23106 [BZ #13268]
23107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23108
23109 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23110
23111 * libio/iofwide.c (do_length): Avoid warning.
23112
23113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23114
23115 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23116
23117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23118
23119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23122 * sysdeps/i386/i686/fpu/e_log.S: New file.
23123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23125
23126 * ctype/ctype.h: Add support for inlined isXXX functions when
23127 compiling C++ code.
23128
23129 2011-10-14 Andreas Schwab <schwab@redhat.com>
23130
23131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23132
23133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23134
23135 2011-10-13 Roland McGrath <roland@hack.frob.com>
23136
23137 [BZ #13291]
23138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23139
23140 2011-10-13 Andreas Schwab <schwab@redhat.com>
23141
23142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23144 feraiseexcept.
23145
23146 * sysdeps/x86_64/memrchr.S: Check for zero size.
23147
23148 * string/stratcliff.c: Add memrchr tests.
23149
23150 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23151
23152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23154 rawmemchr-sse2 rawmemchr-sse2-bsf.
23155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23165 * string/memrchr.c (MEMRCHR): New macro.
23166
23167 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23168
23169 Add integration with gcc's -ffinite-math-only and optimize wrapper
23170 functions in libm.
23171 * Versions.def: Define GLIBC_2.15 version for libm.
23172 * math/Makefile (headers): Add bits/math-finite.h.
23173 * math/bits/math-finite.h: New file.
23174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23176 * math/e_acoshl.c: Add __*_finite alias.
23177 * math/e_acosl.c: Likewise.
23178 * math/e_asinl.c: Likewise.
23179 * math/e_atan2l.c: Likewise.
23180 * math/e_atanhl.c: Likewise.
23181 * math/e_coshl.c: Likewise.
23182 * math/e_exp10.c: Likewise.
23183 * math/e_exp10f.c: Likewise.
23184 * math/e_exp10l.c: Likewise.
23185 * math/e_exp2l.c: Likewise.
23186 * math/e_fmodl.c: Likewise.
23187 * math/e_gammal_r.c: Likewise.
23188 * math/e_hypotl.c: Likewise.
23189 * math/e_j0l.c: Likewise.
23190 * math/e_j1l.c: Likewise.
23191 * math/e_jnl.c: Likewise.
23192 * math/e_lgammal_r.c: Likewise.
23193 * math/e_log10l.c: Likewise.
23194 * math/e_log2l.c: Likewise.
23195 * math/e_logl.c: Likewise.
23196 * math/e_powl.c: Likewise.
23197 * math/e_sinhl.c: Likewise.
23198 * math/e_sqrtl.c: Likewise.
23199 * math/e_scalb.c: Completely rewritten and optimized.
23200 * math/e_scalbf.c: Likewise.
23201 * math/e_scalbl.c: Likewise.
23202 * math/w_acos.c: Likewise.
23203 * math/w_acosf.c: Likewise.
23204 * math/w_acosl.c: Likewise.
23205 * math/w_acosh.c: Likewise.
23206 * math/w_acoshf.c: Likewise.
23207 * math/w_acoshl.c: Likewise.
23208 * math/w_asin.c: Likewise.
23209 * math/w_asinf.c: Likewise.
23210 * math/w_asinl.c: Likewise.
23211 * math/w_atan2.c: Likewise.
23212 * math/w_atan2f.c: Likewise.
23213 * math/w_atan2l.c: Likewise.
23214 * math/w_atanh.c: Likewise.
23215 * math/w_atanhf.c: Likewise.
23216 * math/w_atanhl.c: Likewise.
23217 * math/w_exp10.c: Likewise.
23218 * math/w_exp10f.c: Likewise.
23219 * math/w_exp10l.c: Likewise.
23220 * math/w_fmod.c: Likewise.
23221 * math/w_fmodf.c: Likewise.
23222 * math/w_fmodl.c: Likewise.
23223 * math/w_j0.c: Likewise.
23224 * math/w_j0f.c: Likewise.
23225 * math/w_j0l.c: Likewise.
23226 * math/w_j1.c: Likewise.
23227 * math/w_j1f.c: Likewise.
23228 * math/w_j1l.c: Likewise.
23229 * math/w_jn.c: Likewise.
23230 * math/w_jnf.c: Likewise.
23231 * math/w_log.c: Likewise.
23232 * math/w_logf.c: Likewise.
23233 * math/w_logl.c: Likewise.
23234 * math/w_log10.c: Likewise.
23235 * math/w_log10f.c: Likewise.
23236 * math/w_log10l.c: Likewise.
23237 * math/w_log2.c: Likewise.
23238 * math/w_log2f.c: Likewise.
23239 * math/w_log2l.c: Likewise.
23240 * math/w_pow.c: Likewise.
23241 * math/w_powf.c: Likewise.
23242 * math/w_powl.c: Likewise.
23243 * math/w_remainder.c: Likewise.
23244 * math/w_remainderf.c: Likewise.
23245 * math/w_remainderl.c: Likewise.
23246 * math/w_scalb.c: Likewise.
23247 * math/w_scalbf.c: Likewise.
23248 * math/w_scalbl.c: Likewise.
23249 * math/w_sqrt.c: Likewise.
23250 * math/w_sqrtf.c: Likewise.
23251 * math/w_sqrtl.c: Likewise.
23252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23254 used.
23255 * math/math_private.h: Declare __kernel_standard_f.
23256 * math/w_cosh.c: Remove cruft and optimize a bit.
23257 * math/w_coshf.c: Likewise.
23258 * math/w_coshl.c: Likewise.
23259 * math/w_exp2.c: Likewise.
23260 * math/w_exp2f.c: Likewise.
23261 * math/w_exp2l.c: Likewise.
23262 * math/w_hypot.c: Likewise.
23263 * math/w_hypotf.c: Likewise.
23264 * math/w_hypotl.c: Likewise.
23265 * math/w_lgamma.c: Likewise.
23266 * math/w_lgamma_r.c: Likewise.
23267 * math/w_lgammaf.c: Likewise.
23268 * math/w_lgammaf_r.c: Likewise.
23269 * math/w_lgammal.c: Likewise.
23270 * math/w_lgammal_r.c: Likewise.
23271 * math/w_sinh.c: Likewise.
23272 * math/w_sinhf.c: Likewise.
23273 * math/w_sinhl.c: Likewise.
23274 * math/w_tgamma.c: Likewise.
23275 * math/w_tgammaf.c: Likewise.
23276 * math/w_tgammal.c: Likewise.
23277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23280 Minor optimizations. Pretty printing. Remove cruft.
23281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23286 * sysdeps/i386/fpu/e_asin.S: Likewise.
23287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23305 * sysdeps/i386/fpu/e_log.S: Likewise.
23306 * sysdeps/i386/fpu/e_log10.S: Likewise.
23307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23309 * sysdeps/i386/fpu/e_log2.S: Likewise.
23310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23312 * sysdeps/i386/fpu/e_logf.S: Likewise.
23313 * sysdeps/i386/fpu/e_logl.S: Likewise.
23314 * sysdeps/i386/fpu/e_pow.S: Likewise.
23315 * sysdeps/i386/fpu/e_powf.S: Likewise.
23316 * sysdeps/i386/fpu/e_powl.S: Likewise.
23317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23439 (__isnanf): Likewise.
23440 (__isinf_ns): Likewise.
23441 (__isinf_nsf): Likewise.
23442 (__finite): Likewise.
23443 (__finitef): Likewise.
23444 (__ieee754_sqrt): Define as macro.
23445 (__ieee754_sqrtf): Define as macro.
23446 (__ieee754_sqrtl): Define as macro.
23447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23448 inlined copy.
23449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23450 __FINITE_MATH_ONLY__ consistent.
23451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23452
23453 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23454
23455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23456 of rawmemchr.
23457
23458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23459
23460 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23461
23462 * po/ja.po: Update from translation team.
23463
23464 2011-10-08 Roland McGrath <roland@hack.frob.com>
23465
23466 * locale/programs/locarchive.c (prepare_address_space): New function.
23467 (create_archive, enlarge_archive, open_archive): Use it.
23468
23469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23470 inside [SHARED], where it is used.
23471
23472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23473
23474 * nss/getent.c (netgroup_keys): Remove unused variable.
23475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23476
23477 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23478
23479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23485 * math/Makefile (libm-calls): Add s_isinf_ns.
23486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23487 * math/multc3.c: Likewise.
23488 * math/s_casin.c: Likewise.
23489 * math/s_casinf.c: Likewise.
23490 * math/s_casinl.c: Likewise.
23491 * math/s_ccos.c: Likewise.
23492 * math/s_ccosf.c: Likewise.
23493 * math/s_ccosl.c: Likewise.
23494 * math/s_ctan.c: Likewise.
23495 * math/s_ctanf.c: Likewise.
23496 * math/s_ctanh.c: Likewise.
23497 * math/s_ctanhf.c: Likewise.
23498 * math/s_ctanhl.c: Likewise.
23499 * math/s_ctanl.c: Likewise.
23500 * math/w_fmod.c: Likewise.
23501 * math/w_fmodf.c: Likewise.
23502 * math/w_fmodl.c: Likewise.
23503 * math/w_remainder.c: Likewise.
23504 * math/w_remainderf.c: Likewise.
23505 * math/w_remainderl.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23514
23515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23516 of the number.
23517 * stdio-common/printf_fphex.c: Likewise.
23518 * stdio-common/printf_size.c: Likewise.
23519
23520 * math/e_exp10.c: Include math_private.h using <...> not "...".
23521 * math/e_exp10f.c: Likewise.
23522 * math/e_exp10l.c: Likewise.
23523 * math/e_exp2l.c: Likewise.
23524 * math/e_j0l.c: Likewise.
23525 * math/e_j1l.c: Likewise.
23526 * math/e_jnl.c: Likewise.
23527 * math/e_lgammal_r.c: Likewise.
23528 * math/e_rem_pio2l.c: Likewise.
23529 * math/e_scalb.c: Likewise.
23530 * math/e_scalbf.c: Likewise.
23531 * math/e_scalbl.c: Likewise.
23532 * math/k_cosl.c: Likewise.
23533 * math/k_sinl.c: Likewise.
23534 * math/k_tanl.c: Likewise.
23535 * math/s_cacoshf.c: Likewise.
23536 * math/s_catan.c: Likewise.
23537 * math/s_catanf.c: Likewise.
23538 * math/s_catanh.c: Likewise.
23539 * math/s_catanhf.c: Likewise.
23540 * math/s_catanhl.c: Likewise.
23541 * math/s_catanl.c: Likewise.
23542 * math/s_ccosh.c: Likewise.
23543 * math/s_ccoshf.c: Likewise.
23544 * math/s_ccoshl.c: Likewise.
23545 * math/s_cexp.c: Likewise.
23546 * math/s_cexpf.c: Likewise.
23547 * math/s_cexpl.c: Likewise.
23548 * math/s_clog.c: Likewise.
23549 * math/s_clog10.c: Likewise.
23550 * math/s_clog10f.c: Likewise.
23551 * math/s_clog10l.c: Likewise.
23552 * math/s_clogf.c: Likewise.
23553 * math/s_clogl.c: Likewise.
23554 * math/s_csin.c: Likewise.
23555 * math/s_csinf.c: Likewise.
23556 * math/s_csinh.c: Likewise.
23557 * math/s_csinhf.c: Likewise.
23558 * math/s_csinhl.c: Likewise.
23559 * math/s_csinl.c: Likewise.
23560 * math/s_csqrt.c: Likewise.
23561 * math/s_csqrtf.c: Likewise.
23562 * math/s_csqrtl.c: Likewise.
23563 * math/s_ctan.c: Likewise.
23564 * math/s_ctanf.c: Likewise.
23565 * math/s_ctanh.c: Likewise.
23566 * math/s_ctanhf.c: Likewise.
23567 * math/s_ctanhl.c: Likewise.
23568 * math/s_ctanl.c: Likewise.
23569 * math/s_ldexp.c: Likewise.
23570 * math/s_ldexpf.c: Likewise.
23571 * math/s_ldexpl.c: Likewise.
23572 * math/s_significand.c: Likewise.
23573 * math/s_significandf.c: Likewise.
23574 * math/s_significandl.c: Likewise.
23575 * math/w_acos.c: Likewise.
23576 * math/w_acosf.c: Likewise.
23577 * math/w_acosh.c: Likewise.
23578 * math/w_acoshf.c: Likewise.
23579 * math/w_acoshl.c: Likewise.
23580 * math/w_acosl.c: Likewise.
23581 * math/w_asin.c: Likewise.
23582 * math/w_asinf.c: Likewise.
23583 * math/w_asinl.c: Likewise.
23584 * math/w_atan2.c: Likewise.
23585 * math/w_atan2f.c: Likewise.
23586 * math/w_atan2l.c: Likewise.
23587 * math/w_atanh.c: Likewise.
23588 * math/w_atanhf.c: Likewise.
23589 * math/w_atanhl.c: Likewise.
23590 * math/w_cosh.c: Likewise.
23591 * math/w_coshf.c: Likewise.
23592 * math/w_coshl.c: Likewise.
23593 * math/w_dremf.c: Likewise.
23594 * math/w_exp10.c: Likewise.
23595 * math/w_exp10f.c: Likewise.
23596 * math/w_exp10l.c: Likewise.
23597 * math/w_exp2.c: Likewise.
23598 * math/w_exp2f.c: Likewise.
23599 * math/w_fmod.c: Likewise.
23600 * math/w_fmodf.c: Likewise.
23601 * math/w_fmodl.c: Likewise.
23602 * math/w_hypot.c: Likewise.
23603 * math/w_hypotf.c: Likewise.
23604 * math/w_hypotl.c: Likewise.
23605 * math/w_j0.c: Likewise.
23606 * math/w_j0f.c: Likewise.
23607 * math/w_j0l.c: Likewise.
23608 * math/w_j1.c: Likewise.
23609 * math/w_j1f.c: Likewise.
23610 * math/w_j1l.c: Likewise.
23611 * math/w_jn.c: Likewise.
23612 * math/w_jnf.c: Likewise.
23613 * math/w_jnl.c: Likewise.
23614 * math/w_lgamma.c: Likewise.
23615 * math/w_lgamma_r.c: Likewise.
23616 * math/w_lgammaf.c: Likewise.
23617 * math/w_lgammaf_r.c: Likewise.
23618 * math/w_lgammal.c: Likewise.
23619 * math/w_lgammal_r.c: Likewise.
23620 * math/w_log.c: Likewise.
23621 * math/w_log10.c: Likewise.
23622 * math/w_log10f.c: Likewise.
23623 * math/w_log10l.c: Likewise.
23624 * math/w_log2.c: Likewise.
23625 * math/w_log2f.c: Likewise.
23626 * math/w_log2l.c: Likewise.
23627 * math/w_logf.c: Likewise.
23628 * math/w_logl.c: Likewise.
23629 * math/w_pow.c: Likewise.
23630 * math/w_powf.c: Likewise.
23631 * math/w_powl.c: Likewise.
23632 * math/w_remainder.c: Likewise.
23633 * math/w_remainderf.c: Likewise.
23634 * math/w_remainderl.c: Likewise.
23635 * math/w_scalb.c: Likewise.
23636 * math/w_scalbf.c: Likewise.
23637 * math/w_scalbl.c: Likewise.
23638 * math/w_sinh.c: Likewise.
23639 * math/w_sinhf.c: Likewise.
23640 * math/w_sinhl.c: Likewise.
23641 * math/w_sqrt.c: Likewise.
23642 * math/w_sqrtf.c: Likewise.
23643 * math/w_sqrtl.c: Likewise.
23644 * math/w_tgamma.c: Likewise.
23645 * math/w_tgammaf.c: Likewise.
23646 * math/w_tgammal.c: Likewise.
23647
23648 * po/ja.po: Update from translation team.
23649
23650 2011-09-29 Andreas Jaeger <aj@suse.de>
23651
23652 [BZ #13179]
23653 * sunrpc/netname.c (netname2host): Fix logic.
23654
23655 [BZ #6779]
23656 [BZ #6783]
23657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23658 correctly.
23659 * math/w_remainder.c (__remainder): Likewise.
23660 * math/w_remainderf.c (__remainderf): Likewise.
23661 * math/libm-test.inc (remainder_test): Add test cases.
23662
23663 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23664
23665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23666 sdiv_qrnnd.
23667
23668 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23669
23670 * string/test-memcmp.c: Avoid unncessary #defines.
23671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23672
23673 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23674
23675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23676 Use new sse2 version for core i3 - i7 as it's faster
23677 than sse42 version.
23678 (bit_Prefer_PMINUB_for_stringop): New.
23679 * sysdeps/x86_64/rawmemchr.S: Update.
23680 Replace with faster SSE2 version.
23681 * sysdeps/x86_64/memrchr.S: New file.
23682 * sysdeps/x86_64/memchr.S: Update.
23683 Replace with faster SSE2 version.
23684
23685 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23686
23687 * elf/dl-load.c (lose): Add cast to avoid warning.
23688
23689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23690
23691 * po/ca.po: Update from translation team.
23692
23693 * inet/getnetgrent_r.c: Hook up nscd.
23694 * nscd/Makefile (routines): Add nscd_netgroup.
23695 (nscd-modules): Add netgroupcache.
23696 (CFLAGS-netgroupcache.c): Define.
23697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23698 (cache_search): Add const to second parameter.
23699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23700 INNETGR.
23701 (dbs): Add netgrdb entry.
23702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23703 (verify_persistent_db): Handle netgrdb.
23704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23706 GETFDNETGR.
23707 (netgroup_response_header): Define.
23708 (innetgroup_response_header): Define.
23709 (datahead): Add netgroup_response_header and innetgroup_response_header
23710 elements.
23711 * nscd/nscd.conf: Add entries for netgroup cache.
23712 * nscd/nscd.h (dbtype): Add netgrdb.
23713 (_PATH_NSCD_NETGROUP_DB): Define.
23714 (netgroup_iov_disabled): Declare.
23715 (xmalloc, xcalloc, xrealloc): Move declarations here.
23716 (cache_search): Adjust prototype.
23717 Add netgroup-related prototypes.
23718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23720 (__nscd_innetgr): Declare.
23721 * nscd/selinux.c (perms): Use access_vector_t as element type and
23722 add netgroup-related initializers.
23723 * nscd/netgroupcache.c: New file.
23724 * nscd/nscd_netgroup.c: New file.
23725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23727 For four parameters use innetgr.
23728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23732
23733 * nscd/connections.c (register_traced_file): Don't register file
23734 for disabled databases.
23735
23736 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23737
23738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23739
23740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23741 from tree and freeing node.
23742
23743 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23744
23745 * nss/nsswitch.c (__nss_database_lookup): Handle
23746 nss_parse_service_list out of memory case.
23747
23748 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23749
23750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23751 out of memory case.
23752
23753 2011-10-04 Andreas Schwab <schwab@redhat.com>
23754
23755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23757 pass it down.
23758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23759 elf_machine_rela, elf_machine_lazy_rel.
23760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23761 (ELF_DYNAMIC_DO_REL): Likewise.
23762 (ELF_DYNAMIC_DO_RELA): Likewise.
23763 (ELF_DYNAMIC_RELOCATE): Likewise.
23764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23765 to ELF_DYNAMIC_DO_REL.
23766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23769 elf_machine_rela.
23770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23771 skip_ifunc, don't call ifunc function if non-zero.
23772 (elf_machine_rela): Likewise.
23773 (elf_machine_lazy_rel): Likewise.
23774 (elf_machine_lazy_rela): Likewise.
23775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23776 (elf_machine_lazy_rel): Likewise.
23777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23778 Likewise.
23779 (elf_machine_lazy_rel): Likewise.
23780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23781 Likewise.
23782 (elf_machine_lazy_rel): Likewise.
23783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23784 (elf_machine_lazy_rel): Likewise.
23785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23786 (elf_machine_lazy_rel): Likewise.
23787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23788 (elf_machine_lazy_rel): Likewise.
23789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23790 (elf_machine_lazy_rel): Likewise.
23791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23792 (elf_machine_lazy_rel): Likewise.
23793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23794 (elf_machine_lazy_rel): Likewise.
23795
23796 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23797
23798 * nss/nss_files/files-init.c (_nss_files_init): Use static
23799 initialization for all the *_traced_file variables.
23800
23801 2011-09-28 Andreas Schwab <schwab@redhat.com>
23802
23803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23804
23805 2011-09-27 Roland McGrath <roland@hack.frob.com>
23806
23807 [BZ #13226]
23808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23809
23810 2011-09-27 Andreas Schwab <schwab@redhat.com>
23811
23812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23813 Reread the line before reparsing it.
23814
23815 2011-09-26 Andreas Schwab <schwab@redhat.com>
23816
23817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23818
23819 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23820 Maxim Kuvyrkov <maxim@codesourcery.com>
23821 Joseph Myers <joseph@codesourcery.com>
23822
23823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23824 if needed for __stack_chk_guard.
23825
23826 2011-09-19 Roland McGrath <roland@hack.frob.com>
23827
23828 * sysdeps/posix/spawni.c (script_execute): Always define it.
23829 It will be optimized away if unused.
23830 (maybe_script_execute): New function.
23831 (__spawni): Call it.
23832
23833 * Makerules: Don't include tls.make.
23834 (config-tls): Always set to thread.
23835 * tls.make.c: File removed.
23836
23837 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23838
23839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23840 * config.make.in (CPPFLAGS-config): New substituted variable.
23841
23842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23843
23844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23845
23846 [BZ #13192]
23847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23849
23850 2011-09-15 Roland McGrath <roland@hack.frob.com>
23851
23852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23855 (CALL_FAIL): Likewise.
23856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23857 (CALL_FAIL): Macro removed.
23858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23859
23860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23861
23862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23863 for __FINITE_MATH_ONLY__ == 1.
23864
23865 2011-09-15 Andreas Schwab <schwab@redhat.com>
23866
23867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23868 __ieee754_sqrt instead of sqrt.
23869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23870 __ieee754_sqrtf instead of sqrtf.
23871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23872 __floorf instead of floorf.
23873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23874 __floorf, __truncf instead of floorf, truncf.
23875
23876 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23877
23878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23879
23880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23881 __extern_always_inline.
23882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23883 32-bit.
23884
23885 2011-09-14 Andreas Schwab <schwab@redhat.com>
23886
23887 * elf/rtld.c (dl_main): Also relocate in dependency order when
23888 doing symbol dependency testing.
23889
23890 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23891
23892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23893 Always define `refsym'.
23894
23895 2011-09-13 Andreas Schwab <schwab@redhat.com>
23896
23897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23898 (__FD_ELT): Renamed from __FDELT.
23899 * misc/bits/select2.h (__FD_ELT): Likewise.
23900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23901 __FD_MASK instead of __FDELT, __FDMASK.
23902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23903 Likewise.
23904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23905 Likewise.
23906
23907 * elf/Makefile (gen-ldd): Fix pattern.
23908
23909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23910 (init_tls): Likewise.
23911
23912 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23913
23914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23915
23916 2011-09-12 Andreas Schwab <schwab@redhat.com>
23917
23918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23919 `struct cmsghdr *' instead of `void *'.
23920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23921 Likewise.
23922
23923 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23924
23925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23926 if non-absolute.
23927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23928 ldd_rewrite_script.
23929
23930 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23931
23932 * configure.in: Remove --with-tls option.
23933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23935 out in case it is missing.
23936 * sysdeps/ia64/elf/configure.in: Likewise.
23937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23941 * sysdeps/sh/elf/configure.in: Likewise.
23942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23944 * sysdeps/x86_64/elf/configure.in: Likewise.
23945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23946 * sysdeps/mach/hurd/tls.h: Likewise.
23947
23948 [BZ #13067]
23949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23950
23951 [BZ #13090]
23952 * configure.in: Fix use of AC_INIT.
23953
23954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23955
23956 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23957
23958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23959 __set_errno.
23960 * malloc/hooks.c: Likewise.
23961
23962 [BZ #11929]
23963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23964 variables statically.
23965 (narenas): Initialize.
23966 (list_lock): Initialize.
23967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23968 initializtion of main_arena and list_lock. Small cleanups.
23969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23971 Add initializers to main_arena and mp_.
23972 (malloc_state): Remove pagesize member. Change all users to use
23973 GLRO(dl_pagesize).
23974
23975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23977 is always initialized.
23978
23979 * malloc/malloc.c: Removed unused configurations and dead code.
23980 * malloc/arena.c: Likewise.
23981 * malloc/hooks.c: Likewise.
23982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23983
23984 * include/tls.h: Removed. USE___THREAD must always be defined.
23985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23986 * elf/dl-libc.c: Likewise.
23987 * elf/dl-tsd.c: Likewise.
23988 * include/errno.h: Likewise.
23989 * include/netdb.h: Likewise.
23990 * include/resolv.h: Likewise.
23991 * inet/herrno-loc.c: Likewise.
23992 * inet/herrno.c: Likewise.
23993 * malloc/arena.c: Likewise.
23994 * malloc/hooks.c: Likewise.
23995 * malloc/malloc.c: Likewise.
23996 * resolv/res-state.c: Likewise.
23997 * resolv/res_libc.c: Likewise.
23998 * sysdeps/i386/dl-machine.h: Likewise.
23999 * sysdeps/ia64/dl-machine.h: Likewise.
24000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24004 * sysdeps/sh/dl-machine.h: Likewise.
24005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24007 * sysdeps/unix/i386/sysdep.S: Likewise.
24008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24019 * sysdeps/x86_64/dl-machine.h: Likewise.
24020 * tls.make.c: Likewise.
24021
24022 * configure.in: Remove --with-__thread option. Make tests for
24023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24024 tls_model attribute fail if no support is available. Remove
24025 USE_IN_LIBIO.
24026 * Makeconfig: Adjust for dropped configure option. All features are
24027 now mandatory.
24028 * Makerules: Likewise.
24029 * Versions.def: Likewise.
24030 * argp/argp-fmtstream.c: Likewise.
24031 * argp/argp-fmtstream.h: Likewise.
24032 * argp/argp-help.c: Likewise.
24033 * assert/assert.c: Likewise.
24034 * config.h.in: Likewise.
24035 * config.make.in: Likewise.
24036 * configure: Likewise.
24037 * configure.in: Likewise.
24038 * csu/Versions: Likewise.
24039 * csu/init.c: Likewise.
24040 * elf/tst-audit2.c: Likewise.
24041 * elf/tst-tls10.c: Likewise.
24042 * elf/tst-tls10.h: Likewise.
24043 * elf/tst-tls11.c: Likewise.
24044 * elf/tst-tls12.c: Likewise.
24045 * elf/tst-tls14.c: Likewise.
24046 * elf/tst-tlsmod11.c: Likewise.
24047 * elf/tst-tlsmod12.c: Likewise.
24048 * elf/tst-tlsmod13.c: Likewise.
24049 * elf/tst-tlsmod13a.c: Likewise.
24050 * elf/tst-tlsmod14a.c: Likewise.
24051 * elf/tst-tlsmod15b.c: Likewise.
24052 * elf/tst-tlsmod16a.c: Likewise.
24053 * elf/tst-tlsmod16b.c: Likewise.
24054 * elf/tst-tlsmod7.c: Likewise.
24055 * elf/tst-tlsmod8.c: Likewise.
24056 * elf/tst-tlsmod9.c: Likewise.
24057 * gmon/gmon.c: Likewise.
24058 * grp/fgetgrent_r.c: Likewise.
24059 * grp/putgrent.c: Likewise.
24060 * hurd/fopenport.c: Likewise.
24061 * include/libc-symbols.h: Likewise.
24062 * include/tls.h: Likewise.
24063 * intl/gettextP.h: Likewise.
24064 * intl/loadinfo.h: Likewise.
24065 * locale/global-locale.c: Likewise.
24066 * locale/localeinfo.h: Likewise.
24067 * mach/devstream.c: Likewise.
24068 * malloc/arena.c: Likewise.
24069 * malloc/set-freeres.c: Likewise.
24070 * misc/err.c: Likewise.
24071 * misc/getttyent.c: Likewise.
24072 * misc/mntent_r.c: Likewise.
24073 * posix/getopt.c: Likewise.
24074 * posix/wordexp.c: Likewise.
24075 * pwd/fgetpwent_r.c: Likewise.
24076 * resolv/Versions: Likewise.
24077 * resolv/res_hconf.c: Likewise.
24078 * shadow/fgetspent_r.c: Likewise.
24079 * shadow/putspent.c: Likewise.
24080 * stdio-common/printf_fphex.c: Likewise.
24081 * stdio-common/tmpfile.c: Likewise.
24082 * stdlib/abort.c: Likewise.
24083 * stdlib/fmtmsg.c: Likewise.
24084 * sunrpc/auth_unix.c: Likewise.
24085 * sunrpc/clnt_perr.c: Likewise.
24086 * sunrpc/clnt_tcp.c: Likewise.
24087 * sunrpc/clnt_udp.c: Likewise.
24088 * sunrpc/clnt_unix.c: Likewise.
24089 * sunrpc/openchild.c: Likewise.
24090 * sunrpc/svc_simple.c: Likewise.
24091 * sunrpc/svc_tcp.c: Likewise.
24092 * sunrpc/svc_udp.c: Likewise.
24093 * sunrpc/svc_unix.c: Likewise.
24094 * sunrpc/xdr.c: Likewise.
24095 * sunrpc/xdr_array.c: Likewise.
24096 * sunrpc/xdr_rec.c: Likewise.
24097 * sunrpc/xdr_ref.c: Likewise.
24098 * sunrpc/xdr_stdio.c: Likewise.
24099
24100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24101
24102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24103
24104 2011-07-03 Andreas Jaeger <aj@suse.de>
24105
24106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24108 regenerate with gen-libm-tests.pl.
24109
24110 2010-05-12 Petr Baudis <pasky@suse.cz>
24111
24112 [BZ #11589]
24113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24114 around j0() zero points by switching to j1().
24115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24119
24120 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24121
24122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24123 instead of 0.
24124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24125 instead of 0.
24126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24127 Patch in part by Pavel Roskin <proski@gnu.org>.
24128
24129 [BZ #13138]
24130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24131 realloc.
24132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24133 Free memory block if necessary.
24134
24135 [BZ #12847]
24136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24137 be NULL. Don't lock in this case.
24138
24139 2011-09-09 Roland McGrath <roland@hack.frob.com>
24140
24141 * elf/elf.h (ELFOSABI_GNU): New macro.
24142 (ELFOSABI_LINUX): Define to that.
24143
24144 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24145
24146 * string/strncat.c (strncat): Undef the symbol in case it has been
24147 defined in bits/string.h.
24148
24149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24150
24151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24152
24153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24154 link map.
24155
24156 2011-08-17 Andreas Jaeger <aj@suse.de>
24157
24158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24159
24160 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24161 Ian Lance Taylor <iant@google.com>
24162
24163 * math/libm-test.inc (lround_test): New testcase.
24164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24165
24166 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24167
24168 * Makefile: Remove support for automatic cvs check-ins.
24169 * Makerules: Likewise.
24170 * config.make.in: Likewise.
24171 * configure.in: Likewise.
24172 * intl/Makefile: Likewise.
24173 * locale/Makefile: Likewise.
24174 * po/Makefile: Likewise.
24175 * posix/Makefile: Likewise.
24176 * sysdeps/gnu/Makefile: Likewise.
24177 * sysdeps/mach/hurd/Makefile: Likewise.
24178 * sysdeps/sparc/sparc32/Makefile: Likewise.
24179
24180 [BZ #13118]
24181 * posix/Makefile (bug-regex32-ENV): Define.
24182 Patch by John Stanley <jpsinthemix@verizon.net>.
24183
24184 * misc/Makefile (headers): Add bits/select2.h.
24185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24186 * misc/bits/select2.h: New file.
24187 * include/bits/select2.h: New file.
24188 * debug/Makefile (routines): Add fdelt_chk.
24189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24191 FD_ISSET.
24192 * debug/fdelt_chk.c: New file.
24193
24194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24195 * wcsmbs/test-wmemcmp.c: Likewise.
24196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24198
24199 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24200
24201 * string/Makefile (strop-tests): Add memcmp.
24202 * string/test-wmemcmp.c: New file.
24203 * string/test-memcmp.c: Add wmemcmp support.
24204
24205 2011-09-08 Roland McGrath <roland@hack.frob.com>
24206
24207 [BZ #13153]
24208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24209 2011-07-19 change.
24210
24211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24212 garbage value in a __mach_port_mod_refs call in the cases of the
24213 task-self and thread-self ports.
24214
24215 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24216
24217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24218
24219 2011-09-08 Andreas Schwab <schwab@redhat.com>
24220
24221 * elf/dl-load.c (lose): Check for non-null L.
24222
24223 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24224
24225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24226
24227 * elf/dl-libc.c (dlerror_run): Pass back error code from
24228 dl_catch_error.
24229
24230 [BZ #13123]
24231 * elf/dl-load.c (lose): Free l_origin if it is valid.
24232
24233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24234 names.
24235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24241
24242 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24243
24244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24254
24255 2011-08-15 Alan Modra <amodra@gmail.com>
24256
24257 [BZ #13092]
24258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24261 ppc_mcount to static-only-routines.
24262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24263 __mcount_internal.
24264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24266
24267 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24268
24269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24270 for finite and infinity parameters.
24271
24272 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24273
24274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24275 and add nop instructions for throughput optimization.
24276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24277
24278 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24279
24280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24281 aligned copy for power7 with vector-scalar instructions.
24282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24283
24284 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24285
24286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24287 AVX check.
24288
24289 2011-09-07 Andreas Schwab <schwab@redhat.com>
24290
24291 [BZ #13144]
24292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24293 last change.
24294
24295 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24296
24297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24301 clock_gettime.
24302
24303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24304
24305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24306 Forgot to demangle the pointer.
24307
24308 * sysdeps/i386/sysdep.h: Define atom_text_section.
24309 * sysdeps/x86_64/sysdep.h: Likewise.
24310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24311 section with atom_text_section.
24312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24317
24318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24320 already be defined. Change to take two parameters and don't assign
24321 result to variable. Adjust all users.
24322 Define INTERNAL_GETTIME if not already defined.
24323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24324 call.
24325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24326 HAVE_CLOCK_GETTIME_VSYSCALL.
24327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24328
24329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24330 gettimeofday vsyscall, just use time.
24331
24332 2011-09-06 Andreas Schwab <schwab@redhat.com>
24333
24334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24335 <errno.h>.
24336
24337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24338
24339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24340 syscall on x86-64.
24341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24342 syscall.
24343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24345 syscall if possible.
24346
24347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24348
24349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24350 e_ident. Don't pass to find_mapsXX.
24351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24352
24353 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24354
24355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24357 * sysdeps/x86_64/multiarch/strchr.S: Update.
24358 Check bit_slow_BSF bit.
24359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24362
24363 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24364
24365 [BZ #13134]
24366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24367 before glibc 2.15.
24368 (tryshell): Define.
24369 (__spawni): Change last parameter to be flag. Test
24370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24373 * posix/spawni.c: Likewise.
24374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24375 * posix/spawnp.c: Likewise. Change normal version to use
24376 SPAWN_XFLAGS_USE_PATH.
24377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24378 SPAWN_XFLAGS_TRY_SHELL.
24379
24380 [BZ #13150]
24381 * posix/glob.h: Remove gcc 1.x support.
24382
24383 [BZ #13068]
24384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24385
24386 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24387
24388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24390 strrchr-sse2-bsf
24391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24397
24398 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24399
24400 * sysdeps/x86_64/wcscmp.S: New file.
24401
24402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24403 wcscmp-c wcscmp-sse2
24404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24407 * wcsmbs/wcscmp.c: Allow renaming.
24408
24409 2011-09-05 David S. Miller <davem@davemloft.net>
24410
24411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24412 stack slot, rather than the struct return pointer slot.
24413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24417
24418 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24419
24420 * po/ja.po: Update from translation team.
24421
24422 [BZ #13144]
24423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24424 kernel in 64-bit binaries.
24425
24426 2011-09-01 David S. Miller <davem@davemloft.net>
24427
24428 * elf/elf.h (HWCAP_SPARC_*): Move to..
24429 * sysdeps/sparc/sysdep.h: this new file and add new values.
24430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24432 _DL_HWCAP_COUNT to 24.
24433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24434 entries.
24435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24439 instead of magic constants.
24440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24441
24442 2011-08-31 David S. Miller <davem@davemloft.net>
24443
24444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24446 Reimplement to do errno handling inline.
24447 (SYSCALL_ERROR_HANDLER): New macro.
24448 (__SYSCALL_STRING): Do not do errno handling in asm.
24449 (__CLONE_SYSCALL_STRING): Delete.
24450 (__INTERNAL_SYSCALL_STRING): Delete.
24451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24453 (PSEUDO): Reimplement to do errno handling inline.
24454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24455 (SYSCALL_ERROR_HANDLER): New macro.
24456 (__SYSCALL_STRING): Do not do errno handling in asm.
24457 (__CLONE_SYSCALL_STRING): Delete.
24458 (__INTERNAL_SYSCALL_STRING): Delete.
24459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24461 i386.
24462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24463 (inline_syscall*): Add 'err' argument.
24464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24468
24469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24471
24472 2011-08-30 Andreas Schwab <schwab@redhat.com>
24473
24474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24475
24476 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24477
24478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24479 directive.
24480
24481 2011-08-24 David S. Miller <davem@davemloft.net>
24482
24483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24484
24485 2011-08-24 Andreas Schwab <schwab@redhat.com>
24486
24487 * elf/Makefile: Add rules to build and run unload8 test.
24488 * elf/unload8.c: New file.
24489 * elf/unload8mod1.c: New file.
24490 * elf/unload8mod1x.c: New file.
24491 * elf/unload8mod2.c: New file.
24492 * elf/unload8mod3.c: New file.
24493
24494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24495 it wasn't used.
24496
24497 2011-08-23 David S. Miller <davem@davemloft.net>
24498
24499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24500 subtract stack bias.
24501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24502 %sp not %fp in calculations.
24503 (_JMPBUF_UNWINDS_ADJ): Likewise.
24504
24505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24506 (aio_suspend): Call it to force an exception region around the
24507 AIO_MISC_WAIT() invocation.
24508
24509 2011-08-23 Andreas Schwab <schwab@redhat.com>
24510
24511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24512 backslash.
24513
24514 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24515
24516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24517 protection macro.
24518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24519 and <dl-machine.h>.
24520 (Elf64_FuncDesc): Remove.
24521
24522 2011-08-22 David S. Miller <davem@davemloft.net>
24523
24524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24525 sigaltstack check, add missing cfi directives.
24526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24527 missing cfi directives, and sigaltstack handling.
24528
24529 2011-08-16 Andreas Schwab <schwab@redhat.com>
24530
24531 [BZ #11724]
24532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24533 object is seen twice.
24534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24535
24536 * elf/Makefile (distribute): Add tst-initorder2.c.
24537 (tests): Add tst-initorder2.
24538 (modules-names): Add tst-initorder2a tst-initorder2b
24539 tst-initorder2c tst-initorder2d. Add rules to build them.
24540 ($(objpfx)tst-initorder2.out): New rule.
24541 * elf/tst-initorder2.c: New file.
24542 * elf/tst-initorder2.exp: New file.
24543
24544 2011-08-22 Andreas Schwab <schwab@redhat.com>
24545
24546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24547
24548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24549 dependencies back to end of function.
24550
24551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24552 $(elfobjdir)/ld.so.
24553
24554 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24555
24556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24561 of __vdso_gettimeofday.
24562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24564 attribute_hidden.
24565 (_libc_vdso_platform_setup): Remove initialization of
24566 __vdso_gettimeofday and __vdso_time.
24567
24568 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24569
24570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24571 and fgetc_unlocked.
24572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24573 getc_unlocked.
24574
24575 * elf/dl-open.c (add_to_global): Report additions to the global scope
24576 for LD_DEBUG=scopes.
24577 (dl_open_worker): Also print scope of newly loaded dependencies.
24578 (_dl_show_scope): Indicate if there is no scope.
24579
24580 [BZ #13114]
24581 * stdio-common/Makefile (tests): Add bug24.
24582 * stdio-common/bug24.c: New file.
24583
24584 2011-08-19 Andreas Jaeger <aj@suse.de>
24585
24586 [BZ #13114]
24587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24588 non-existant file when using close-on-exec mode.
24589
24590 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24591
24592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24593 the very first instruction.
24594
24595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24596 the CFI state in the end.
24597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24598 inclusion of dl-trampoline.h.
24599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24600
24601 2011-08-19 Andreas Schwab <schwab@redhat.com>
24602
24603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24604 expectations for long double.
24605
24606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24608
24609 2011-08-14 David S. Miller <davem@davemloft.net>
24610
24611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24612 artificual limit depends upon the system page size.
24613
24614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24615
24616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24617 * resolv/Makefile: Define CFLAGS-libresolv.
24618
24619 2011-08-17 Andreas Schwab <schwab@redhat.com>
24620
24621 * nss/makedb.c (compute_tables): Make variables used in nested
24622 function static.
24623
24624 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24625
24626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24628 if buffer was too small.
24629
24630 * elf/pldd.c (main): Attach to all threads in the process.
24631 Rewrite /proc handling to use *at functions.
24632
24633 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24634
24635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24636 specifies first scope to show.
24637 (dl_open_worker): Update callers. Move printing scope of new
24638 object to before the relocation.
24639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24640 * sysdeps/generic/ldsodefs.h: Update declaration.
24641
24642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24643 string for the scope number.
24644
24645 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24646
24647 * nscd/servicescache.c (cache_addserv): Make sure written is always
24648 initialized.
24649
24650 2011-08-14 Roland McGrath <roland@hack.frob.com>
24651
24652 * sysdeps/i386/i486/bits/atomic.h
24653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24654 statement expression, so as to suppress "set but not used" warning.
24655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24656
24657 * string/strncat.c (STRNCAT): Use prototype definition.
24658
24659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24661 -Iprograms here.
24662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24663 (localedef-modules): Add localedef.
24664 (locale-modules): Add locale.
24665
24666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24668 to avoid a warning.
24669
24670 2011-08-14 David S. Miller <davem@davemloft.net>
24671
24672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24674
24675 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24676
24677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24679 * elf/rtld.c (dl_main): Set l_name of vDSO.
24680 Call _dl_show_scope when DL_DEBUG_SCOPES.
24681 (process_dl_debug): Recognize scopes flag and also set it for all.
24682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24683 Declare _dl_show_scope.
24684
24685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24686 (do_dlopen): Pass caller_dlopen to dl_open.
24687 (__libc_dlopen_mode): Initialize caller_dlopen.
24688
24689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24690 of libc. Make tolower call locale-independent. Optimize a bit by
24691 using isdigit instead of isalnum.
24692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24693
24694 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24695
24696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24697 was a dependency or dynamically loaded.
24698
24699 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24700
24701 * intl/l10nflist.c: Allow architecture-specific pop function.
24702 * sysdeps/x86_64/l10nflist.c: New file.
24703
24704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24705 classification.
24706
24707 2011-08-10 Andreas Schwab <schwab@redhat.com>
24708
24709 * include/dirent.h: Add libc_hidden_proto for scandirat and
24710 scandirat64. Don't declare __scandirat64.
24711 * dirent/scandirat.c: Add libc_hidden_def.
24712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24714
24715 2011-08-10 David S. Miller <davem@davemloft.net>
24716
24717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24718 enum.
24719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24722
24723 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24724
24725 * Versions.def [libc]: Add GLIBC_2.15.
24726 * dirent/Makefile (routines): Add scandirat and scandirat64.
24727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24728 GLIBC_2.15.
24729 * dirent/dirent.h: Declare scandirat and scandirat64.
24730 * dirent/scandirat.c: New file.
24731 * dirent/scandirat64.c: New file.
24732 * sysdeps/wordsize-64/scandirat.c: New file.
24733 * sysdeps/wordsize-64/scandirat64.c: New file.
24734 * dirent/opendir.c: Define opendirat.
24735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24736 using scandirat.
24737 * dirent/scandir64.c: Adjust for scandir.c change.
24738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24739 __scandirat64, and __scandir_cancel_handler.
24740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24741 additional parameter and use openat instead of open (outside of ld.so).
24742 Add new __opendir as wrapper around __opendirat.
24743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24744 here without requiring old scandirat implementation.
24745
24746 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24747
24748 * dirent/scandir.c (cancel_handler): Renamed to
24749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24750 defined. Adjust users.
24751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24753
24754 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24755
24756 * string/test-string.h (IMPL): Use __STRING to expand name and then
24757 stringify it.
24758
24759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24760 of cleanups.
24761
24762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24763
24764 * string/Makefile: Update.
24765 (strop-tests): Append strncat.
24766 * string/test-wcscmp.c: New file.
24767 New comprehensive test for wcscmp.
24768 * string/test-strcmp.c: Update.
24769 (WIDE): New define.
24770
24771 2011-07-22 Andreas Schwab <schwab@redhat.com>
24772
24773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24774 line.
24775
24776 2011-07-26 Andreas Schwab <schwab@redhat.com>
24777
24778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24779 encoding to ACE if AI_IDN.
24780
24781 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24782
24783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24785
24786 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24787
24788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24789 Fix overflow bug in strncat.
24790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24791
24792 * string/test-strncat.c: Update.
24793 Add new tests for checking overflow bugs.
24794
24795 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24796
24797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24806
24807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24808 (USE_AS_STRCAT): Define.
24809 Add strcat and strncat support.
24810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24811
24812 2011-07-25 Andreas Schwab <schwab@redhat.com>
24813
24814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24815 __n bigger than INT_MAX+1.
24816 (__strncmp_g): Likewise.
24817
24818 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24819
24820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24821 * libio/stido.h: Likewise.
24822
24823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24824 (AF_NFC): Define.
24825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24826 (AF_NFC): Define.
24827
24828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24833
24834 [BZ #13021]
24835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24836 installed.
24837
24838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24839 typo.
24840 (_dl_x86_64_save_sse): Likewise.
24841
24842 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24843
24844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24845 OSXSAVE.
24846 (_dl_x86_64_save_sse): Likewise.
24847
24848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24849
24850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24851
24852 2011-07-21 Andreas Schwab <schwab@redhat.com>
24853
24854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24855 change.
24856 (_dl_x86_64_save_sse): Use correct AVX check.
24857
24858 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24859
24860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24861 bug in strncpy/strncat.
24862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24863
24864 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24865
24866 * string/tester.c (test_strcat): Add tests for different alignments
24867 of source and destination.
24868 (test_strncat): Likewise.
24869
24870 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24871
24872 [BZ #12852]
24873 * posix/glob.c (glob): Check passed in values before using them in
24874 expressions to avoid some overflows.
24875 (glob_in_dir): Likewise.
24876
24877 [BZ #13007]
24878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24879 check for AVX enablement so that we don't crash with old kernels and
24880 new hardware.
24881 * elf/tst-audit4.c: Add same checks here.
24882 * elf/tst-audit6.c: Likewise.
24883
24884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24885
24886 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24887
24888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24889
24890 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24891
24892 * po/cs.po: Update from translation team.
24893 * po/bg.po: Likewise.
24894
24895 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24896
24897 * misc/sys/cdefs.h: Add support for const attribute.
24898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24899 to gnu_dev_{major,minor,makedev} functions.
24900
24901 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24902
24903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24904
24905 2011-07-20 Andreas Schwab <schwab@redhat.com>
24906
24907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24908 strlen results.
24909
24910 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24911
24912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24914 register in order to avoid conflicts with the soft frame pointer
24915 being held in r11 when necessary.
24916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24917 (INTERNAL_VSYSCALL_NCS): Likewise.
24918
24919 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24920
24921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24922 * elf/dl-fini.c (_dl_fini): Adjust caller.
24923 * elf/dl-close.c (_dl_close_worker): Likewise.
24924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24925
24926 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24927
24928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24929 "aux_cache->nlibs < 0".
24930
24931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24932 in the reload-count case.
24933
24934 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24935
24936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24940 * sysdeps/x86_64/multiarch/strcat.S: New file.
24941 * sysdeps/x86_64/multiarch/strncat.S: New file.
24942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24947 (USE_AS_STRCAT): Define.
24948 Add strcat and strncat support.
24949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24952 * string/strncat.c: Update.
24953 (USE_AS_STRNCAT): Define.
24954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24956 and i7.
24957 * sysdeps/x86_64/multiarch/init-arch.h
24958 (bit_Prefer_PMINUB_for_stringop): New.
24959 (index_Prefer_PMINUB_for_stringop): Likewise.
24960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24961 bit_Prefer_PMINUB_for_stringop.
24962
24963 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24964
24965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24966 buffer64.
24967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24968 of casting of buffer.
24969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24970 buffer32 and buffer64.
24971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24972 writes instead of casting of buffer.
24973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24974 buffer32.
24975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24976 casting of buffer.
24977
24978 2011-07-19 Andreas Schwab <schwab@redhat.com>
24979
24980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24981
24982 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24983
24984 * nscd/nscd.c (termination_handler): Don't do anything for a database
24985 if it has not yet been initialized.
24986
24987 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24988
24989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24990
24991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24992
24993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24994
24995 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24996
24997 * po/nl.po: Update from translation team.
24998 * po/sv.po: Likewise.
24999
25000 2011-07-16 Roland McGrath <roland@hack.frob.com>
25001
25002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25003 now disallowed by GCC.
25004
25005 * configure.in (use-default-link): Default to yes if a test -shared
25006 link meets our qualifications.
25007 * configure: Regenerated.
25008
25009 * config.make.in (output-format): New variable.
25010 * configure.in: Check for ld --print-output-format support.
25011 * configure: Regenerated.
25012 * Makerules ($(common-objpfx)format.lds)
25013 [$(output-format) != unknown]: Just use $(output-format),
25014 instead of the linker-script munging.
25015
25016 2011-07-14 Roland McGrath <roland@hack.frob.com>
25017
25018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25019 of $(common-objpfx)shlib.lds.
25020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25021
25022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25024
25025 * configure.in (-z relro check): Adjust test code to add a large
25026 writable data section after it.
25027 * configure: Regenerated.
25028
25029 2011-07-11 Roland McGrath <roland@hack.frob.com>
25030
25031 * configure.in (-z relro check): Fix test code to make the variable
25032 truly const.
25033 * configure: Regenerated.
25034
25035 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25036
25037 * nscd/nscd.h (struct traced_file): Define.
25038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25039 elements. Add traced_files.
25040 (inotify_fd): Declare.
25041 (register_traced_file): Declare.
25042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25043 (inotify_fd): Export.
25044 (resolv_conf_descr): Remove.
25045 (nscd_init): Move inotify descriptor creation to main.
25046 Don't register files for notification here.
25047 (register_traced_file): New function.
25048 (invalidate_cache): Don't use reset_res to determine whether to call
25049 res_init, go through the list of registered files.
25050 (main_loop_poll): The inotify descriptors are now stored in the
25051 structures for the traced files.
25052 (main_loop_epoll): Likewise
25053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25054 to __nss_disable_nscd.
25055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25056 for a database anymore. Check the records for all the registered
25057 files instead.
25058 * nss/Makefile (libnss_files-routines): Add files-init.
25059 (libnss_db-routines): Add db-init.
25060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25062 * nss/nss_db/db-init.c: New file.
25063 * nss/nss_files/files-init.c: New file.
25064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25065 __nss_lookup_function.
25066 (__nss_lookup_function): Call nss_load_library.
25067 (nss_load_all_libraries): New function.
25068 (__nss_disable_nscd): Take parameter with callback function for files
25069 to register. Set is_nscd. Load all the DSOs for the NSS modules
25070 used for the cached services.
25071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25073 options for features to all the files in nscd.
25074
25075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25076
25077 2011-07-10 Roland McGrath <roland@hack.frob.com>
25078
25079 * csu/elf-init.c (__libc_csu_init): Comment typo.
25080
25081 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25082
25083 * po/pl.po: Update from translation team.
25084 * po/ja.po: Likewise.
25085 * po/ru.po: Likewise.
25086 * po/ko.po: Likewise.
25087 * po/fr.po: Likewise.
25088
25089 2011-07-09 Roland McGrath <roland@hack.frob.com>
25090
25091 * configure.in (.ctors/.dtors header and trailer check):
25092 Use an empirical test on a built program.
25093 * configure: Regenerated.
25094
25095 * configure.in (-z relro check): Use an empirical test on a built DSO.
25096 Detect, but do not require, on ia64.
25097 * configure: Regenerated.
25098
25099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25100 Update tests that use readelf to use $READELF instead.
25101 * configure: Regenerated.
25102
25103 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25104
25105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25106 if the result is not used.
25107
25108 2011-07-05 Andreas Jaeger <aj@suse.de>
25109
25110 [BZ#9696]
25111 * stdlib/tst-strtod.c: Add testcase.
25112
25113 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25114
25115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25117 The latter has a higher limit. Take additional parameter to pass to
25118 the new function.
25119 (__pathconf): Pass file to __statfs_link_max.
25120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25121 __statfs_link_max.
25122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25123 __statfs_link_max.
25124
25125 [BZ #12868]
25126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25128 Handle Lustre.
25129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25130 (__statfs_filesize_max): Likewise.
25131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25132
25133 2011-07-05 Andreas Jaeger <aj@suse.de>
25134
25135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25136
25137 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25138
25139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25140 `status' variable.
25141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25142 Likewise.
25143
25144 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25145
25146 * Makefile (strop-tests): Add strncat.
25147 * string/test-strncat.c: New file.
25148
25149 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25150
25151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25152
25153 2011-06-21 Andreas Jaeger <aj@suse.de>
25154
25155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25156 Copy rule from iconvdata/Makefile.
25157
25158 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25159
25160 [BZ #12922]
25161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25162 but no long options are defined, just return 'W'.
25163
25164 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25165
25166 [BZ #9696]
25167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25168
25169 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25170
25171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25172 netgroups to read.
25173 (innetgr): Likewise.
25174
25175 2011-07-05 Roland McGrath <roland@hack.frob.com>
25176
25177 * config.make.in (install_root): Default to $(DESTDIR).
25178
25179 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25180
25181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25182
25183 2011-07-02 Roland McGrath <roland@hack.frob.com>
25184
25185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25186
25187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25188 containing directory rather than embedding absolute directory names.
25189
25190 * scripts/check-local-headers.sh: Rewritten using awk.
25191 Match by word, not by line. Print error messages for matches.
25192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25193
25194 * Makerules [shlib-lds-flags empty]:
25195 ($(common-objpfx)libc_pic.opts): New target.
25196 ($(common-objpfx)libc_pic.os.clean): New target.
25197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25198
25199 * config.make.in (OBJCOPY): New variable.
25200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25201 * configure: Regenerated.
25202
25203 * config.make.in (use-default-link): New variable.
25204 * configure.in (use_default_link): Grok --with-default-link to set it.
25205 * configure: Regenerated.
25206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25207 (shlib-lds, shlib-lds-flags): Define to empty.
25208
25209 * Makerules (shlib-lds): New variable.
25210 (shlib-lds-flags): New variable.
25211 (build-shlib, build-moduile, build-module-asneeded): Use it.
25212 ($(common-objpfx)libc.so): Use $(shlib-lds).
25213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25215
25216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25217 DT_FLAGS/DT_FLAGS_1 with zero flags.
25218
25219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25220 linker script munging.
25221
25222 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25223
25224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25225 as 128-bit value.
25226 * crypt/sha512.c (sha512_process_block): Perform total addition using
25227 128-bit if possible.
25228 (__sha512_finish_ctx): Likewise.
25229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25230 as 64-bit value.
25231 * crypt/sha256.c (SWAP64): Define.
25232 (sha256_process_block): Perform total addition using 64-bit if
25233 possible.
25234 (__sha256_finish_ctx): Likewise.
25235
25236 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25237
25238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25240 * nscd/hstcache.c (cache_addhst): Likewise.
25241 * nscd/grpcache.c (cache_addgr): Likewise.
25242 * nscd/aicache.c (addhstaiX): Likewise
25243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25244
25245 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25246
25247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25249 * nscd/hstcache.c (cache_addhst): Likewise.
25250 * nscd/grpcache.c (cache_addgr): Likewise.
25251 * nscd/aicache.c (addhstaiX): Likewise
25252
25253 2011-07-01 Andreas Schwab <schwab@redhat.com>
25254
25255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25256 domain only when needed.
25257
25258 2011-06-30 Andreas Schwab <schwab@redhat.com>
25259
25260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25261 is always restored.
25262
25263 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25264
25265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25266 are re-adding the entry.
25267 * nscd/servicescache.c (cache_addserv): Likewise.
25268
25269 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25270
25271 * sysdeps/generic/dl-irel.h: fix protection against multiple
25272 inclusions.
25273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25274
25275 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25276
25277 [BZ #12935]
25278 * malloc/memusage.sh: Fix quoting in message.
25279 * debug/xtrace.sh: Likewise.
25280
25281 * configure.in: Remove support for --experimental-malloc option, make
25282 it the default.
25283 * config.make.in: Likewise.
25284 * malloc/Makefile: Likewise.
25285
25286 2011-06-27 Andreas Schwab <schwab@redhat.com>
25287
25288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25289 two-byte characters.
25290
25291 2011-06-27 Roland McGrath <roland@hack.frob.com>
25292
25293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25294 AC_CACHE_CHECK invocation.
25295 * configure: Regenerated.
25296
25297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25298
25299 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25300
25301 [BZ #12350]
25302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25303 bit from old_res_options.
25304
25305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25306
25307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25308 value type for setfct.
25309
25310 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25311
25312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25313 __gettimeofday instead of gettimeofday.
25314
25315 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25316
25317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25318
25319 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25320
25321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25322
25323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25324 info.
25325
25326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25327
25328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25330 strcpy-sse2-unaligned strncpy-sse2-unaligned
25331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25341 (STRCPY): Support SSE2 and SSSE3 versions.
25342
25343 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25344
25345 [BZ #12874]
25346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25348 kernels which artificially limit size of requests.
25349
25350 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25351
25352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25368 Enable unaligned load optimization for Intel Core i3, i5 and i7
25369 processors.
25370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25371 Define.
25372 (index_Fast_Unaligned_Load): Define.
25373 (HAS_FAST_UNALIGNED_LOAD): Define.
25374
25375 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25376
25377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25378
25379 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25380
25381 [BZ #12907]
25382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25383 until it is clear that the information is realy needed.
25384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25385
25386 2011-06-22 Andreas Schwab <schwab@redhat.com>
25387
25388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25389
25390 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25391
25392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25393 /sys/devices/system/cpu/online if it is usable.
25394
25395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25396 reading the information from the /proc filesystem to once a second.
25397
25398 2011-06-21 Andreas Jaeger <aj@suse.de>
25399
25400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25401 NULL after inclusion of kernel headers.
25402
25403 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25404
25405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25406 calls to internal_setent.
25407
25408 [BZ #12885]
25409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25410 addresses using gethostbyname4_r ignore IPv4 addresses.
25411
25412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25414
25415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25416
25417 2011-06-20 David S. Miller <davem@davemloft.net>
25418
25419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25420 inclusions.
25421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25422
25423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25424 (elf_irel): Use it.
25425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25429 * sysdeps/x86_64/dl-irel.h: Likewise.
25430
25431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25432 * elf/dl-sym.c: Likewise.
25433
25434 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25435
25436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25437 need to dereference resplen2.
25438
25439 2011-06-14 Andreas Schwab <schwab@redhat.com>
25440
25441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25442
25443 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25444
25445 * Makeconfig: Define vardbdir and inst_vardbdir.
25446 * nss/Makefile: Add rules to install db-Makefile.
25447
25448 * nss/nss_db/db-XXX.c: Cleanup.
25449
25450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25452 GLIBC_PRIVATE.
25453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25454 * nss/makedb.c: Implement -g option to specify that value strings
25455 are generated and should not be added to table iterated over for
25456 get*ent calls.
25457 * nss/nss_db/db-initgroups.c: New file.
25458
25459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25460 interface.
25461
25462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25463 (internal_getgrouplist): Adjust to name change.
25464 Update use_initgroups_entry if this is not the first call.
25465 * nss/databases.def: Add initgroups entry.
25466
25467 * nss/makedb.c (compute_tables): Check result of multiple hash table
25468 sizes to minimize maximum chain length.
25469
25470 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25471
25472 * Versions.def: Add entry for libnss_db.
25473 * shlib-versions: Likewise.
25474 * nss/Makefile: Add rules to build libnss_db.
25475 * nss/Versions: Add libnss_db information. Organize libnss_files
25476 entries better.
25477 * nss/db-Makefile: Add gshadow support. Change rules for the new
25478 makedb progra. Some minor improvements to generate smaller files.
25479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25480 here from...
25481 * nss/makedb.c: ...here.
25482 Improve database format to be smaller and require less memory at
25483 runtime.
25484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25485 db anymore.
25486 * nss/nss_db/db-netgrp.c: Likewise.
25487 * nss/nss_db/db-open.c: Likewise.
25488 * nss/nss_files/flies-XXX.x: Adjust comments.
25489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25490 * nss/nss_files/files-grp.c: Likewise.
25491 * nss/nss_files/files-hosts.c: Likewise.
25492 * nss/nss_files/files-network.c: Likewise.
25493 * nss/nss_files/files-proto.c: Likewise.
25494 * nss/nss_files/files-pwd.c: Likewise.
25495 * nss/nss_files/files-rpc.c: Likewise.
25496 * nss/nss_files/files-service.c: Likewise.
25497 * nss/nss_files/files-sgrp.c: Likewise.
25498 * nss/nss_files/files-spwd.c: Likewise.
25499 * nss/nss_db/db-alias.c: Removed.
25500 * nss/nss_db/dummy-db.h: Removed.
25501
25502 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25503
25504 * nss/makedb.c: Rewritten to not use database library.
25505 * nss/Makefile: Update to build new makedb program.
25506
25507 2011-06-14 Andreas Jaeger <aj@suse.de>
25508
25509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25510 memset declaration.
25511
25512 2011-06-10 Andreas Schwab <schwab@redhat.com>
25513
25514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25515 tmpbuf.
25516
25517 2011-06-10 Roland McGrath <roland@hack.frob.com>
25518
25519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25520 * elf/Makefile ($(objpfx)ld.so): Likewise.
25521
25522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25523 Don't list ld.so twice in dependencies.
25524
25525 * posix/bug-regex31.c: Include <stdlib.h>.
25526
25527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25528
25529 * nis/nss_compat/compat-spwd.c
25530 (getspent_next_nss_netgr): Remove unused variable.
25531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25532
25533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25534 nonmembers" output to use the right array.
25535
25536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25537
25538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25539
25540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25542 * catgets/gencat.c (read_input_file): Likewise.
25543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25544
25545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25546 variable definition inside #if's controlling its use.
25547
25548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25549
25550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25551
25552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25553
25554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25555 unreachable code.
25556
25557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25558
25559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25560 * configure: Regenerated.
25561
25562 * Makerules: Revert last change.
25563 * elf/Makefile: Likewise.
25564
25565 2011-06-09 Roland McGrath <roland@hack.frob.com>
25566
25567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25569 (reloc-link): Likewise.
25570
25571 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25572
25573 * elf/Makefile: Add rules to build pldd.
25574 * elf/pldd.c: New file.
25575 * elf/pldd-xx.c: New file.
25576
25577 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25578
25579 * version.h: Update for 2.15 development version.
25580
25581 2011-06-07 David S. Miller <davem@davemloft.net>
25582
25583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25584 ifuncs.
25585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25586 elf_machine_lazy_rel): Likewise.
25587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25589 elf_machine_lazy_rel): Likewise.
25590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25591 dl_hwcap via passed in argument.
25592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25593 Likewise.
25594
25595 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25596
25597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25598
25599 2011-06-06 Roland McGrath <roland@hack.frob.com>
25600
25601 [BZ #12849]
25602 * manual/fdl-1.1.texi: New file, verbatim from:
25603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25604 * manual/lgpl-2.1.texi: New file, verbatim from:
25605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25606 * manual/Makefile (licenses): New variable, list those new file names.
25607 (texis): Use it.
25608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25609
25610 * manual/fdl.texi: File removed.
25611 * manual/lesser.texi: File removed.
25612 * manual/libc.texinfo (Copying, Documentation License):
25613 Use new @include file names, put @appendix directive before @include.
25614
25615 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25616
25617 [BZ #12841]
25618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25620 (mq_open): Add __NTH.
25621
25622 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25623
25624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25625 Assume Intel Core i3/i5/i7 processor if AVX is available.
25626
25627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25628
25629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25630 typo.
25631
25632 2011-05-31 Andreas Schwab <schwab@redhat.com>
25633
25634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25635 memory. Use alloca_account. Fix memory leak when retrying.
25636
25637 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25638
25639 * version.h (RELEASE): Bump for 2.14 release.
25640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25641
25642 * config.make.in (RANLIB): Remove entry.
25643
25644 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25645
25646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25647 (libc.pot): Work around missing support for .ksh extension in xgettext.
25648
25649 [BZ #12684]
25650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25651 if both request failed.
25652 (send_dg): In case of server errors clear resplen or *resplen2.
25653
25654 [BZ #12454]
25655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25656 when there are multiple maps.
25657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25658 (_dl_fini): Remove test here.
25659
25660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25661
25662 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25663
25664 [BZ #12350]
25665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25666 bit from old_res_options.
25667 (gaih_inet): Likewise.
25668
25669 [BZ #11099]
25670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25671 as signed.
25672
25673 * resolv/res_init.c (res_setoptions): Make the code more compact.
25674
25675 [BZ #11558]
25676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25677 set RES_USEVC.
25678
25679 [BZ #11634]
25680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25681
25682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25683
25684 [BZ #11781]
25685 * malloc/malloc.h: Declare malloc hook variables as volatile.
25686
25687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25688 in last patch.
25689
25690 [BZ #11799]
25691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25692 raise in the comment.
25693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25696
25697 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25698
25699 [BZ #12811]
25700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25701 grow the buffers more if it already has to be sufficient.
25702 (build_wcs_upper_buffer): Likewise.
25703 * posix/regexec.c (check_matching): Likewise.
25704 (clean_state_log_if_needed): Likewise.
25705 (extend_buffers): Don't enlarge buffers beyond size of the input
25706 buffer.
25707 Patches mostly by Emil Wojak <emil@wojak.eu>.
25708 * posix/bug-regex32.c: New file.
25709 * posix/Makefile (tests): Add bug-regex32.
25710
25711 * locale/findlocale.c (_nl_find_locale): Return right away if
25712 _nl_explode_name failed.
25713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25714
25715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25716
25717 * debug/xtrace.sh: Unify messages.
25718 * malloc/memusage.sh: Likewise.
25719
25720 [BZ #12813]
25721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25722 time symbol from vDSO. Substitute with vsyscall if not available.
25723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25724 __vdso_time.
25725
25726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25729 Add sendmmsg and internal_sendmmsg.
25730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25733
25734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25737
25738 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25739
25740 [BZ #12813]
25741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25743 available.
25744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25745 __vdso_getcpu.
25746
25747 [BZ #12814]
25748 * iconvdata/Makefile (tests): Add bug-iconv9.
25749 * iconvdata/bug-iconv9.c: New file.
25750
25751 2011-05-27 Andreas Schwab <schwab@redhat.com>
25752
25753 [BZ #12814]
25754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25755
25756 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25757
25758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25759 (struct user_regs_struct): Change intcs field back to cs.
25760
25761 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25762
25763 * po/ja.po: Update from translation team.
25764
25765 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25766
25767 [BZ #12795]
25768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25770
25771 2011-05-20 Andreas Schwab <schwab@redhat.com>
25772
25773 * stdlib/longlong.h: Update from GCC.
25774
25775 2011-05-23 Andreas Schwab <schwab@redhat.com>
25776
25777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25778 parameter name.
25779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25780 Add parameter name.
25781 (__sysconf): Pass it down.
25782
25783 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25784
25785 [BZ #12671]
25786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25787 some situations.
25788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25790 add in in __libc_use_alloca calls. Adjust callers.
25791 (glob): Use malloc in some situations.
25792
25793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25795 pltexit.
25796
25797 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25798
25799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25800 and CLOCK_BOOTTIME_ALARM.
25801
25802 [BZ #12782]
25803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25804 is returned.
25805
25806 * string/_strerror.c (__strerror_r): Print negative errors as signed
25807 numbers.
25808
25809 [BZ #12777]
25810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25813
25814 * configure.in: Fix typo in redirection and correct removal of test
25815 files in two cases.
25816
25817 [BZ #12788]
25818 * locale/setlocale.c (new_composite_name): Fix test to check for
25819 identical name of all categories.
25820
25821 [BZ #12792]
25822 * libio/filedoalloc.c (local_isatty): New function.
25823 (_IO_file_doallocate): Use local_isatty.
25824 * stdio-common/perror.c (perror): In case a new stream is used
25825 forward the stream error.
25826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25827 error flag.
25828
25829 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25830
25831 [BZ #11869]
25832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25833 alloca.
25834 * include/alloca.h (extend_alloca_account): Define.
25835
25836 [BZ #11857]
25837 * posix/regex.h: Fix comments with documentation of user-accessible
25838 fields after compilation and describe correct free'ing of pattern
25839 after re_compile_pattern.
25840 Patch by Reuben Thomas <rrt@sc3d.org>.
25841
25842 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25843
25844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25845 and -mno-altivec to prevent the compiler from using Altivec and/or
25846 VSX instructions when the corresponding registers are not available.
25847
25848 2011-05-19 Andreas Schwab <schwab@redhat.com>
25849
25850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25851
25852 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25853
25854 * libio/freopen.c (freopen): Use __dup2, not dup2.
25855 * libio/freopen64.c (freopen64): Likewise.
25856
25857 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25858
25859 [BZ #12775]
25860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25861 * math/Makefile (tests): Add test-powl.
25862 (CFLAGS-test-powl.c): Define.
25863 * math/test-powl.c: New file.
25864
25865 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25866
25867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25868
25869 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25870
25871 [BZ #11837]
25872 * iconvdata/gb18030.c: Update to GB18020-2005.
25873
25874 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25875
25876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25878 Patch by Aharon Robbins <arnold@skeeve.com>.
25879
25880 [BZ #11892]
25881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25882 on the stack.
25883
25884 [BZ #11895]
25885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25886 through underflows.
25887
25888 [BZ #12766]
25889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25890 point to strings before performing equality test for error_one_per_line
25891 mode.
25892
25893 [BZ #11697]
25894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25895
25896 [BZ #11820]
25897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25898 (struct user_fpregs_struct): Avoid __uint*_t types.
25899
25900 [BZ #6420]
25901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25902 symbol info. Use it instead of calling _dl_addr locally.
25903 (lock_and_info): New function.
25904 (tr_freehook): Call lock_and_info and pass symbol info as additional
25905 parameter to tr_where.
25906 (tr_mallochook): Likewise.
25907 (tr_reallochook): Likewise.
25908 (tr_memalignhook): Likewise.
25909
25910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25911 used and couldn't be at all thread-safe.
25912
25913 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25914
25915 * libio/freopen.c (freopen): Don't close old file descriptor
25916 before the new one is opened. Instead dup the new file descriptor
25917 to the old one after the new stream is created.
25918 * libio/freopen64.c (freopen64): Likewise.
25919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25920 * libio/fileops.c (_IO_new_file_close_it): Handle new
25921 _IO_FLAGS2_NOCLOSE flag.
25922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25925 _IO_FLAGS2_NOCLOSE flag.
25926 * include/unistd.h: Add hidden_proto for dup3.
25927 Define __have_dup3.
25928 * io/dup3.c: Define hidden symbol.
25929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25930
25931 [BZ #7101]
25932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25933 when an incomplete long option is used.
25934 * posix/tst-getopt_long1.c: New file.
25935 * posix/Makefile (tests): Add tst-getopt_long1.
25936
25937 [BZ #10138]
25938 * scripts/config.guess: Update from autoconf-2.68.
25939 * scripts/config.sub: Likewise.
25940
25941 [BZ #10157]
25942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25943 tests into ...
25944 (has_cpuclock): ...this. New function.
25945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25946 macro here based on has_cpuclock code.
25947
25948 [BZ #10149]
25949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25950 First byte (not low byte) is now always NUL.
25951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25952
25953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25954 Use non-cancelable interfaces.
25955
25956 [BZ #9809]
25957 * locale/iso-639.def: Add entry for Sorani.
25958
25959 [BZ #11901]
25960 * include/stdlib.h: Move include protection to the right place.
25961 Define abort_msg_s. Declare __abort_msg with it.
25962 * stdlib/abort.c (__abort_msg): Adjust type.
25963 * assert/assert.c (__assert_fail_base): New function. Majority
25964 of code from __assert_fail. Allocate memory for __abort_msg with
25965 mmap.
25966 (__assert_fail): Now call __assert_fail_base.
25967 * assert/assert-perr.c: Remove bulk of implementation. Use
25968 __assert_fail_base.
25969 * include/assert.hL Declare __assert_fail_base.
25970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25971 mmap.
25972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25973
25974 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25975
25976 [BZ #11952]
25977 [BZ #12453]
25978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25979 until all modules are registered in the DTV.
25980 * elf/Makefile: Add rules to build and run tst-tls19.
25981 * elf/tst-tls19.c: New file.
25982 * elf/tst-tls19mod1.c: New file.
25983 * elf/tst-tls19mod2.c: New file.
25984 * elf/tst-tls19mod3.c: New file.
25985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25986
25987 [BZ #12083]
25988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25989 correctly.
25990
25991 [BZ #12601]
25992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25993 two-byte sequence errors.
25994 * iconvdata/Makefile (tests): Add bug-iconv8.
25995 * iconvdata/bug-iconv8.c: New file.
25996
25997 [BZ #12626]
25998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25999 buf2 definition.
26000
26001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26002
26003 [BZ #12432]
26004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26005 (dummy_getcfa): New function.
26006 (init): Get _Unwind_GetCFA address, use dummy if not found.
26007 (backtrace_helper): In recursion check, also check whether CFA changes.
26008 (__backtrace): Completely initialize arg.
26009
26010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26011 storing incomplete byte sequence in state object. Avoid testing for
26012 guaranteed too small input if we know there is enough data available.
26013
26014 2011-05-11 Andreas Schwab <schwab@redhat.com>
26015
26016 * Makeconfig (+link-pie): Indent.
26017 * Rules (binaries-pie): Define if $(have-fpie) and
26018 $(build-shared).
26019 (binaries-shared): Also filter out $(binaries-pie).
26020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26021 * nscd/Makefile (others-pie): Add nscd.
26022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26023 ($(objpfx)nscd): Remove command override.
26024 * login/Makefile (others-pie): Add pt_chown.
26025 ($(objpfx)pt_chown): Remove command override.
26026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26027 remove command overrides.
26028
26029 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26030
26031 * libio/tst_putwc.c: Fix error messages.
26032
26033 [BZ #12724]
26034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26035 currently writing and seek to current position when not.
26036 * libio/Makefile (tests): Add bug-fclose1.
26037 * libio/bug-fclose1.c: New file.
26038
26039 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26040
26041 [BZ #12511]
26042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26043 don't set DF_1_NODELETE here.
26044 (do_lookup_x): When entering new entry test for copy relocation
26045 and if necessary set DF_1_NODELETE flag.
26046 * elf/tst-unique4.cc: New file.
26047 * elf/tst-unique4.h: New file.
26048 * elf/tst-unique4lib.cc: New file.
26049 * elf/Makefile: Add rules to build and run tst-unique4.
26050 Patch by Piotr Bury <pbury@goahead.com>.
26051
26052 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26053
26054 [BZ #12052]
26055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26056
26057 [BZ #12625]
26058 * misc/mntent_r.c (addmntent): Flush the stream after the output
26059
26060 [BZ #12393]
26061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26062 (is_trusted_path_normalize): Skip initial colon. Append slash
26063 to empty buffer. Duplicate is_trusted_path code but allow
26064 constructed patch to be prefix.
26065 (is_dst): Allow $ORIGIN followed by /.
26066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26067 Correct testing of result of is_trusted_path_normalize
26068 (decompose_rpath): Fix warning.
26069
26070 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26071
26072 [BZ #11257]
26073 * grp/initgroups.c (internal_getgrouplist): When we found the service
26074 list through the initgroups entry in nsswitch.conf do not always
26075 continue on a successful lookup. Don't always use the
26076 __nss_group_database value if it is set.
26077 * nss/nsswitch.conf (initgroups): Change action for successful db
26078 lookup to continue for compatibility.
26079
26080 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26081
26082 [BZ #11532]
26083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26084 and CP774 modules.
26085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26086 and CP774 modules.
26087 * iconvdata/tst-tables.sh: Likewise.
26088 * iconvdata/cp770.c: New file.
26089 * iconvdata/cp771.c: New file.
26090 * iconvdata/cp772.c: New file.
26091 * iconvdata/cp773.c: New file.
26092 * iconvdata/cp774.c: New file.
26093 * iconvdata/testdata/CP770: New file.
26094 * iconvdata/testdata/CP770..UTF8: New file.
26095 * iconvdata/testdata/CP771: New file.
26096 * iconvdata/testdata/CP771..UTF8: New file.
26097 * iconvdata/testdata/CP772: New file.
26098 * iconvdata/testdata/CP772..UTF8: New file.
26099 * iconvdata/testdata/CP773: New file.
26100 * iconvdata/testdata/CP773..UTF8: New file.
26101 * iconvdata/testdata/CP774: New file.
26102 * iconvdata/testdata/CP774..UTF8: New file.
26103
26104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26105 END CHARMAP line.
26106 * iconvdata/gen-8bit-gap.sh: Likewise.
26107 * iconvdata/gen-8bit.sh: Likewise.
26108
26109 * locale/iso-639.def: Add ary entry.
26110
26111 [BZ #11258]
26112 * locale/C-translit.h.in: Add U20A1 transliteration.
26113
26114 [BZ #12178]
26115 * locale/iso-639.def: Add wae entry.
26116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26117
26118 [BZ #12545]
26119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26120 for n.
26121
26122 [BZ #12711]
26123 * locale/C-translit.h.in: Add entry for U20B9.
26124 Patch by pravin.d.s@gmail.com.
26125
26126 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26127
26128 [BZ #12713]
26129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26130 ENAMETOOLONG use generic getcwd.
26131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26132 in rtld. Use *stat64.
26133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26140 __fstatat64 macros.
26141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26142 * dirent/rewinddir.c: Add libc_hidden_def.
26143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26145
26146 * include/dirent.h (__alloc_dir): Add flags parameter.
26147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26149 __alloc_dir.
26150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26151 from fdopendir if O_CLOEXEC is already set.
26152
26153 2011-03-15 Alan Modra <amodra@gmail.com>
26154
26155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26156 l_tls_firstbyte_offset non-zero. Save padding offset in
26157 l_tls_firstbyte_offset for later use.
26158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26159 freeing static tls block.
26160
26161 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26162
26163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26164 where #ifdef was intended. The intent is to prevent ARG_MAX from
26165 being defined by the kernel headers.
26166
26167 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26168
26169 [BZ #12734]
26170 * resolv/resolv.h: Define RES_NOTLDQUERY.
26171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26172 no-tld-query and set RES_NOTLDQUERY.
26173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26175 modern BIND to search name as TLD unless forbidden.
26176
26177 2011-05-07 Petr Baudis <pasky@suse.cz>
26178 Ulrich Drepper <drepper@gmail.com>
26179
26180 [BZ #12393]
26181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26182 (is_trusted_path): ...to here.
26183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26185 using is_trusted_path_normalize() in setuid scripts.
26186
26187 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26188
26189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26190 __BEGIN/__END_DECLS.
26191
26192 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26193
26194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26195 NSS_STATUS_NOTFOUND if no record was found.
26196
26197 2011-05-05 Andreas Schwab <schwab@redhat.com>
26198
26199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26200 (headers-not-in-tirpc): Remove rpc/netdb.h
26201 * resolv/netdb.h: Revert last change.
26202
26203 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26204
26205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26206 circular dependency between libgcc.a and libc.a.
26207
26208 2011-05-05 Andreas Schwab <schwab@redhat.com>
26209
26210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26211 * nis/Makefile: Don't install rpcsvc/*.
26212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26213 instead of <rpc/types.h>.
26214 (MAXHOSTNAMELEN): Define.
26215
26216 2011-05-03 Andreas Schwab <schwab@redhat.com>
26217
26218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26219
26220 2011-04-28 Maciej Babinski <mbabinski@google.com>
26221
26222 [BZ #12714]
26223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26224 gethostbyname4_r when IPv6 results are possible.
26225
26226 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26227
26228 [BZ #12723]
26229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26230 _PC_PIPE_BUF handling.
26231
26232 2011-04-30 Bruno Haible <bruno@clisp.org>
26233
26234 [BZ #12717]
26235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26237 to 'int'.
26238 * inet/getnameinfo.c (getnameinfo): Likewise.
26239
26240 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26241
26242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26243 to groups setting in database lookup.
26244 * nss/nsswitch.conf: Add initgroups entry.
26245
26246 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26247
26248 [BZ #12685]
26249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26250 mode string.
26251 Patch by Eric Blake <eblake@redhat.com>.
26252
26253 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26254
26255 * sunrpc/Makefile (need-export-routines): Add svc_run.
26256 (routines): Remove svc_run.
26257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26259 * sunrpc/svc_run.c (svc_run): Likewise.
26260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26261
26262 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26263
26264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26265 problem in reallocation in last patch.
26266
26267 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26268
26269 * sunrpc/Makefile: Move inclusion of Rules.
26270
26271 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26272
26273 * nss/nss_files/files-initgroups.c: New file.
26274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26276 _nss_files_initgroups_dyn.
26277
26278 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26279
26280 * elf/elf.h (R_ARM_IRELATIVE): Define.
26281
26282 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26283
26284 * po/ru.po: Update from translation team.
26285
26286 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26287
26288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26289 dependencies.
26290
26291 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26292
26293 [BZ #12653]
26294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26299
26300 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26301
26302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26303 differing bytes.
26304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26307
26308 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26309
26310 [BZ #12420]
26311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26312 storing it.
26313 * stdlib/bug-getcontext.c: New file.
26314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26315
26316 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26317
26318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26319 instructions into .machine "z9-109".
26320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26322
26323 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26324
26325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26326 between environment variables and auxiliary vector.
26327
26328 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26329
26330 * Makefile: Add rules to build linkobj/libc.so.
26331 * include/libc-symbols.h: Define libc_hidden_nolink.
26332 * include/rpc/auth.h: Mark functions which are to be hidden.
26333 * include/rpc/auth_des.h: Likewise.
26334 * include/rpc/auth_unix.h: Likewise.
26335 * include/rpc/clnt.h: Likewise.
26336 * include/rpc/des_crypt.h: Likewise.
26337 * include/rpc/key_prot.h: Likewise.
26338 * include/rpc/pmap_clnt.h: Likewise.
26339 * include/rpc/pmap_prot.h: Likewise.
26340 * include/rpc/pmap_rmt.h: Likewise.
26341 * include/rpc/rpc_msg.h: Likewise.
26342 * include/rpc/svc.h: Likewise.
26343 * include/rpc/svc_auth.h: Likewise.
26344 * include/rpc/xdr.h: Likewise.
26345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26346 * nss/Makefile: Likewise.
26347 * sunrpc/Makefile: Don't install headers. Build library with normal
26348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26350 for the compat linking library. Remove use of INTDEF/INTUSE.
26351 * sunrpc/auth_none.c: Likewise.
26352 * sunrpc/auth_unix.c: Likewise.
26353 * sunrpc/authdes_prot.c: Likewise.
26354 * sunrpc/authuxprot.c: Likewise.
26355 * sunrpc/clnt_gen.c: Likewise.
26356 * sunrpc/clnt_perr.c: Likewise.
26357 * sunrpc/clnt_raw.c: Likewise.
26358 * sunrpc/clnt_simp.c: Likewise.
26359 * sunrpc/clnt_tcp.c: Likewise.
26360 * sunrpc/clnt_udp.c: Likewise.
26361 * sunrpc/clnt_unix.c: Likewise.
26362 * sunrpc/des_crypt.c: Likewise.
26363 * sunrpc/des_soft.c: Likewise.
26364 * sunrpc/get_myaddr.c: Likewise.
26365 * sunrpc/key_call.c: Likewise.
26366 * sunrpc/key_prot.c: Likewise.
26367 * sunrpc/netname.c: Likewise.
26368 * sunrpc/pm_getmaps.c: Likewise.
26369 * sunrpc/pm_getport.c: Likewise.
26370 * sunrpc/pmap_clnt.c: Likewise.
26371 * sunrpc/pmap_prot.c: Likewise.
26372 * sunrpc/pmap_prot2.c: Likewise.
26373 * sunrpc/pmap_rmt.c: Likewise.
26374 * sunrpc/publickey.c: Likewise.
26375 * sunrpc/rpc_cmsg.c: Likewise.
26376 * sunrpc/rpc_common.c: Likewise.
26377 * sunrpc/rpc_dtable.c: Likewise.
26378 * sunrpc/rpc_prot.c: Likewise.
26379 * sunrpc/rpc_thread.c: Likewise.
26380 * sunrpc/rtime.c: Likewise.
26381 * sunrpc/svc.c: Likewise.
26382 * sunrpc/svc_auth.c: Likewise.
26383 * sunrpc/svc_authux.c: Likewise.
26384 * sunrpc/svc_raw.c: Likewise.
26385 * sunrpc/svc_run.c: Likewise.
26386 * sunrpc/svc_simple.c: Likewise.
26387 * sunrpc/svc_tcp.c: Likewise.
26388 * sunrpc/svc_udp.c: Likewise.
26389 * sunrpc/svc_unix.c: Likewise.
26390 * sunrpc/svcauth_des.c: Likewise.
26391 * sunrpc/xcrypt.c: Likewise.
26392 * sunrpc/xdr.c: Likewise.
26393 * sunrpc/xdr_array.c: Likewise.
26394 * sunrpc/xdr_float.c: Likewise.
26395 * sunrpc/xdr_intXX_t.c: Likewise.
26396 * sunrpc/xdr_mem.c: Likewise.
26397 * sunrpc/xdr_rec.c: Likewise.
26398 * sunrpc/xdr_ref.c: Likewise.
26399 * sunrpc/xdr_sizeof.c: Likewise.
26400 * sunrpc/xdr_stdio.c: Likewise.
26401
26402 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26403
26404 [BZ #12650]
26405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26406 * sysdeps/ia64/dl-tls.h: Likewise.
26407 * sysdeps/powerpc/dl-tls.h: Likewise.
26408 * sysdeps/s390/dl-tls.h: Likewise.
26409 * sysdeps/sh/dl-tls.h: Likewise.
26410 * sysdeps/sparc/dl-tls.h: Likewise.
26411 * sysdeps/x86_64/dl-tls.h: Likewise.
26412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26413
26414 2011-03-14 Andreas Schwab <schwab@redhat.com>
26415
26416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26417 rpath element also skip the following colon.
26418 (expand_dynamic_string_token): Add is_path parameter and pass
26419 down to DL_DST_REQUIRED and _dl_dst_substitute.
26420 (decompose_rpath): Call expand_dynamic_string_token with
26421 non-zero is_path. Ignore empty rpaths.
26422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26423 with zero is_path.
26424
26425 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26426
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26428 Make cancelable.
26429
26430 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26431
26432 [BZ #12655]
26433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26434 Patch by Filipe David Manana <fdmanana@apache.org>.
26435
26436 2011-04-07 Andreas Schwab <schwab@redhat.com>
26437
26438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26439 Maintain aligned stack.
26440 (CHECK_RSP): Remove unused macro.
26441
26442 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26443
26444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26446
26447 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26448
26449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26450
26451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26452
26453 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 [BZ #12518]
26456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26458 * sysdeps/x86_64/memmove.c: New file.
26459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26460 (memcpy): Renamed to ...
26461 (__new_memcpy): This.
26462 (memcpy): Provide GLIBC_2_14 memcpy.
26463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26464 (memcpy): Provide GLIBC_2_2_5 memcpy.
26465
26466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26467
26468 [BZ #12631]
26469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26470
26471 2011-03-30 Andreas Schwab <schwab@redhat.com>
26472
26473 * misc/syncfs.c: New file.
26474 * misc/Makefile (routines): Add syncfs.
26475 * posix/unistd.h: Declare syncfs.
26476 * sysdeps/unix/syscalls.list: Add syncfs.
26477
26478 2011-04-01 Andreas Schwab <schwab@redhat.com>
26479
26480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26481 open_by_handle_at.
26482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26489
26490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26491
26492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26499
26500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26501 sync_file_range.c with -fexceptions.
26502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26509 sync_file_range as cancellation point
26510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26511 now a wrapper around __call_sync_file_range with cancellation handling.
26512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26514 function name to __call_sync_file_range.
26515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26516 Add call_sync_file_range.
26517
26518 2011-04-01 Andreas Schwab <schwab@redhat.com>
26519
26520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26521 bits/timex.h.
26522
26523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26524
26525 * iconv/iconv.h: Fix typo in comment.
26526 * io/fcntl.h: Likewise.
26527 * libio/stdio.h: Likewise.
26528 * posix/spawn.h: Likewise.
26529 * posix/unistd.h: Likewise.
26530 * stdlib/stdlib.h: Likewise.
26531 * time/time.h: Likewise.
26532 * wcsmbs/wchar.h: Likewise.
26533
26534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26535 open_by_handle): Add.
26536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26538 Augment a few comments.
26539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26545 open_by_handle.
26546
26547 * io/fcntl.h (AT_EMPTY_PATH): Define.
26548
26549 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26550
26551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26554 to...
26555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26556 * Versions.def: Add GLIBC_2.14.
26557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26558 Export.
26559
26560 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26561
26562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26563 round counter.
26564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26565
26566 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26567
26568 [BZ #12597]
26569 * string/test-strncmp.c (do_page_test): New function.
26570 (check2): Likewise.
26571 (test_main): Call check2.
26572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26573
26574 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26575
26576 [BZ #12587]
26577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26578 Handle cache information in CPU leaf 4.
26579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26580
26581 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26582
26583 [BZ #12583]
26584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26585 character representation.
26586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26587
26588 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26589
26590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26591 END(__isnan) to END(__isnanf) to match function entry point/label
26592 EALIGN(__isnanf,...).
26593
26594 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26595
26596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26597
26598 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26599
26600 [BZ #12510]
26601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26602 copy from the symbol referenced in the relocation to initialize the
26603 used variable.
26604 Patch by Piotr Bury <pbury@goahead.com>.
26605 * elf/Makefile: Add rules to build and tst-unique3.
26606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26607 * elf/tst-unique3.cc: New file.
26608 * elf/tst-unique3.h: New file.
26609 * elf/tst-unique3lib.cc: New file.
26610 * elf/tst-unique3lib2.cc: New file.
26611
26612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26613
26614 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26615
26616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26618 to _start.
26619
26620 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26621
26622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26623 to-be-loaded object along a path to loader is ld.so.
26624
26625 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26626 Ulrich Drepper <drepper@gmail.com>
26627
26628 * sysdeps/x86_64/memset.S: After aligning destination, code
26629 branches to different locations depending on the value of
26630 misalignment, when multiarch is enabled. Fix this.
26631
26632 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26633
26634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26635 Set _x86_64_preferred_memory_instruction for AMD processsors.
26636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26637 Set bit_Prefer_SSE_for_memop for AMD processors.
26638
26639 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26640
26641 * libio/fmemopen.c (fmemopen): Optimize a bit.
26642
26643 2011-03-03 Andreas Schwab <schwab@redhat.com>
26644
26645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26646
26647 2011-03-03 Roland McGrath <roland@redhat.com>
26648
26649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26650
26651 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26652
26653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26654 __bzero_ultra1 instead of __memset_ultra1.
26655
26656 2011-02-23 Andreas Schwab <schwab@redhat.com>
26657 Ulrich Drepper <drepper@gmail.com>
26658
26659 [BZ #12509]
26660 * include/link.h (struct link_map): Add l_orig_initfini.
26661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26662 returning unsuccessfully.
26663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26664 close of a file loaded at startup, restore the original l_initfini
26665 list.
26666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26667 list, store the pointer.
26668 * elf/Makefile ($(objpfx)noload-mem): New rule.
26669 (noload-ENV): Define.
26670 (tests): Add $(objpfx)noload-mem.
26671 * elf/noload.c: Include <memcheck.h>.
26672 (main): Call mtrace. Close all opened handles.
26673
26674 2011-02-17 Andreas Schwab <schwab@redhat.com>
26675
26676 [BZ #12454]
26677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26678 dependencies are missing.
26679
26680 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26681
26682 Fix __if_freereq crash: Unlike the generic version which uses free,
26683 Hurd needs munmap.
26684 * sysdeps/mach/hurd/ifreq.h: New file.
26685
26686 2011-01-27 Petr Baudis <pasky@suse.cz>
26687 Ulrich Drepper <drepper@gmail.com>
26688
26689 [BZ 12445]#
26690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26691 to extend_alloca().
26692 * stdio-common/bug23.c: New file.
26693 * stdio-common/Makefile (tests): Add bug23.
26694
26695 2010-09-28 Andreas Schwab <schwab@redhat.com>
26696 Ulrich Drepper <drepper@gmail.com>
26697
26698 [BZ #12489]
26699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26700 before performing relro protection. At old place add assertion
26701 to make sure nothing changed.
26702
26703 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26704 Glauber de Oliveira Costa <glommer@gmail.com>
26705
26706 * elf/elf.h: Add new ARM TLS relocs.
26707
26708 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26709
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26712 cast from r3.
26713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26714 'tests' variable.
26715 * sysdeps/wordsize-64/tst-writev.c: New file.
26716
26717 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26718
26719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26721 insns in _dl_start to prevent a TOC reference before relocs are
26722 resolved.
26723
26724 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26725
26726 [BZ #12469]
26727 * Makeconfig: Remove RANLIB definition.
26728 * Makerules: Don't use RANLIB.
26729 * aclocal.m4: Remove ranlib test.
26730 * configure.in: No need to check for ranlib.
26731 * elf/rtld-Rules: Don't use RANLIB.
26732
26733 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26734
26735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26736 protection macro.
26737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26738 inclusion protection macro.
26739
26740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26741 SIGRTMIN and SIGRTMAX and print information in that case only when
26742 SIGRTMIN is defined.
26743
26744 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26745
26746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26747 arginfo fn returning -1.
26748
26749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26750 and thousands string is zero terminated.
26751
26752 2011-02-03 Andreas Schwab <schwab@redhat.com>
26753
26754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26755 sysdeps/unix/sysv/linux/bits/socket.h.
26756
26757 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26758
26759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26760 (__CPU_COUNT): Remove old macros.
26761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26763 (__CPU_ALLOC, __CPU_FREE): Add macros.
26764 (__sched_cpualloc, __sched_cpufree): Add declarations.
26765
26766 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26767
26768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26771 (readdhstai): Return value of addhstaiX call.
26772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26773 (addgrbyX): Return value returned by cache_addgr.
26774 (readdgrbyname): Return value returned by addgrbyX.
26775 (readdgrbygid): Likewise.
26776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26777 (addpwbyX): Return value returned by cache_addpw.
26778 (readdpwbyname): Return value returned by addhstbyX.
26779 (readdpwbyuid): Likewise.
26780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26781 (addservbyX): Return value returned by cache_addserv.
26782 (readdservbyname): Return value returned by addservbyX:
26783 (readdservbyport): Likewise.
26784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26785 (addhstbyX): Return value returned by cache_addhst.
26786 (readdhstbyname): Return value returned by addhstbyX.
26787 (readdhstbyaddr): Likewise.
26788 (readdhstbynamev6): Likewise.
26789 (readdhstbyaddrv6): Likewise.
26790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26791 (readdinitgroups): Return value returned by addinitgroupsX.
26792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26793 (prune_cache): Keep track of timeout value of re-added entries.
26794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26795 * nscd/nscd.h: Adjust prototypes of readd* functions.
26796
26797 2011-02-04 Roland McGrath <roland@redhat.com>
26798
26799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26800 (nis_stats): Likewise.
26801 * nis/nis_modify.c (nis_modify): Likewise.
26802 * nis/nis_remove.c (nis_remove): Likewise.
26803 * nis/nis_add.c (nis_add): Likewise.
26804
26805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26806
26807 * posix/fnmatch_loop.c: Add some consts.
26808
26809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26810
26811 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26812
26813 [BZ #12460]
26814 * config.make.in (config-cflags-novzeroupper): Define.
26815 * configure.in: Substitute libc_cv_cc_novzeroupper.
26816 * elf/Makefile (AVX-CFLAGS): Define.
26817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26818 (CFLAGS-tst-auditmod4a.c): Likewise.
26819 (CFLAGS-tst-auditmod4b.c): Likewise.
26820 (CFLAGS-tst-auditmod6b.c): Likewise.
26821 (CFLAGS-tst-auditmod6c.c): Likewise.
26822 (CFLAGS-tst-auditmod7b.c): Likewise.
26823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26824
26825 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26826
26827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26828 function to the callback.
26829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26830
26831 2011-02-02 Andreas Schwab <schwab@redhat.com>
26832
26833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26834 of errno.
26835
26836 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26837
26838 [BZ #11724]
26839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26840 of constructors.
26841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26842 of destructors.
26843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26844
26845 [BZ #11724]
26846 * elf/Makefile: Add rules to build and run new test.
26847 * elf/tst-initorder.c: New file.
26848 * elf/tst-initorder.exp: New file.
26849 * elf/tst-initordera1.c: New file.
26850 * elf/tst-initordera2.c: New file.
26851 * elf/tst-initordera3.c: New file.
26852 * elf/tst-initordera4.c: New file.
26853 * elf/tst-initorderb1.c: New file.
26854 * elf/tst-initorderb2.c: New file.
26855 * elf/tst-order-a1.c: New file.
26856 * elf/tst-order-a2.c: New file.
26857 * elf/tst-order-a3.c: New file.
26858 * elf/tst-order-a4.c: New file.
26859 * elf/tst-order-b1.c: New file.
26860 * elf/tst-order-b2.c: New file.
26861 * elf/tst-order-main.c: New file.
26862 New test case by George Gensure <werkt0@gmail.com>.
26863
26864 2010-10-01 Andreas Schwab <schwab@redhat.com>
26865
26866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26867 decoding ACE if AI_CANONIDN.
26868
26869 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26870
26871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26872
26873 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26874
26875 * version.h (RELEASE): Bump for 2.13 release.
26876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26877
26878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26879
26880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26881 MADV_NOHUGEPAGE.
26882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26888
26889 * posix/getconf.c: Update copyright year.
26890 * catgets/gencat.c: Likewise.
26891 * csu/version.c: Likewise.
26892 * debug/catchsegv.sh: Likewise.
26893 * debug/xtrace.sh: Likewise.
26894 * elf/ldconfig.c: Likewise.
26895 * elf/ldd.bash.in: Likewise.
26896 * elf/sprof.c (print_version): Likewise.
26897 * iconv/iconv_prog.c: Likewise.
26898 * iconv/iconvconfig.c: Likewise.
26899 * locale/programs/locale.c: Likewise.
26900 * locale/programs/localedef.c: Likewise.
26901 * malloc/memusage.sh: Likewise.
26902 * malloc/mtrace.pl: Likewise.
26903 * nscd/nscd.c (print_version): Likewise.
26904 * nss/getent.c: Likewise.
26905
26906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26907 PF_CAIF, and PF_ALG.
26908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26909
26910 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26911
26912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26913 (modules-names): Use them.
26914 (ifunc-test-modules, ifunc-pie-tests): Define.
26915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26917 (test-extras): Likewise.
26918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26919 $(compile-command.c).
26920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26921 (all-built-dso): Define.
26922 (check-textrel.out, check-execstack.out): Depend on it.
26923
26924 * configure.in: Don't override --enable-multi-arch.
26925
26926 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26927
26928 [BZ #6812]
26929 * nscd/hstcache.c (tryagain): Define.
26930 (cache_addhst): Return tryagain not notfound for temporary errors.
26931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26932 failed.
26933
26934 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26935
26936 [BZ #10563]
26937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26938 to make the syscall.
26939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26940
26941 [BZ #12378]
26942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26943 and fall back to matching as normal character if the string ends before
26944 the matching ']' is found. This is what POSIX requires.
26945 * posix/testfnm.c: Adjust test result.
26946 * posix/globtest.sh: Adjust test result. Add new test.
26947 * posix/tst-fnmatch.input: Likewise.
26948 * posix/tst-fnmatch2.c: Add new test.
26949
26950 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26951
26952 * elf/Makefile (check-execstack): Revert last change. Depend on
26953 check-execstack.h.
26954 (check-execstack.h): New target.
26955 (generated): Add check-execstack.h.
26956 * elf/check-execstack.c: Include "check-execstack.h".
26957 (main): Revert last change.
26958 (handle_file): Return zero if GNU_STACK is absent and
26959 DEFAULT_STACK_PERMS doesn't include PF_X.
26960
26961 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26962
26963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26964 in child fails because the descriptor is already closed.
26965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26968
26969 [BZ #12397]
26970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26971 syscall.
26972
26973 [BZ #10484]
26974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26975 temporary buffer used to handle multi lookups locally.
26976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26977
26978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26979
26980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26981 loader is ld.so.
26982
26983 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26984
26985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26986 alignment for SSE2.
26987
26988 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26989
26990 [BZ #12394]
26991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26992 characters. When rounding increased number of integer digits recompute
26993 number of groups.
26994 * stdio-common/tst-grouping.c: New file.
26995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26996
26997 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26998
26999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27001
27002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27003 void.
27004 * bits/select.h: Likewise.
27005
27006 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27007
27008 * po/ja.po: Update from translation team.
27009
27010 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27011
27012 [BZ #11155]
27013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27014 implementation just like for lxstat, fxstatat, et al.
27015
27016 2010-12-27 Jim Meyering <meyering@redhat.com>
27017
27018 [BZ #12348]
27019 * posix/regexec.c (build_trtable): Return failure indication upon
27020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27021
27022 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27023
27024 [BZ #12201]
27025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27029
27030 [BZ #12207]
27031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27032
27033 [BZ #12204]
27034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27036
27037 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27041 script has SORT_BY_INIT_PRIORITY.
27042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27043 NO_CTORS_DTORS_SECTIONS is defined.
27044 * elf/soinit.c: Likewise.
27045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27046 NO_CTORS_DTORS_SECTIONS is defined.
27047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27049 * sysdeps/sh/init-first.c: Likewise.
27050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27051
27052 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27053
27054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27055 always use the slow path.
27056
27057 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27058
27059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27060 similar rule which adds the sysdep directories to the header search in
27061 order to pick up the correct platform stackinfo.h.
27062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27063 perform test if it is, otherwise return successfully without testing.
27064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27065 DEFAULT_STACK_PERMS define in stackinfo.h.
27066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27067 defined in stackinfo.h.
27068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27069 DEFAULT_STACK_PERMS defined in stackinfo.h.
27070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27071 * sysdeps/ia64/stackinfo.h: Likewise.
27072 * sysdeps/s390/stackinfo.h: Likewise.
27073 * sysdeps/sh/stackinfo.h: Likewise.
27074 * sysdeps/sparc/stackinfo.h: Likewise.
27075 * sysdeps/x86_64/stackinfo.h: Likewise.
27076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27077 PF_X for powerpc64. Retain PF_X for powerpc32.
27078
27079 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27080
27081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27082 accurately.
27083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27084 GETDENTS_64BIT_ALIGNED.
27085
27086 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27087
27088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27089
27090 2010-12-10 Andreas Schwab <schwab@redhat.com>
27091
27092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27093 _GNU_SOURCE.
27094
27095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27097 Remove __restrict.
27098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27100
27101 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27102
27103 [BZ #11655]
27104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27105 are initialized.
27106
27107 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27108
27109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27110
27111 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27112
27113 * po/it.po: Update from translation team.
27114
27115 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27118 unused codes.
27119
27120 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27121
27122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27123
27124 2010-11-24 Andreas Schwab <schwab@redhat.com>
27125
27126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27127 specially.
27128 (gaih_getanswer_slice): Likewise.
27129
27130 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27131
27132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27133
27134 2010-05-31 Petr Baudis <pasky@suse.cz>
27135
27136 [BZ #11149]
27137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27138 silently even in the chroot mode.
27139
27140 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27141
27142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27143 last patch a bit. Pretty printing
27144
27145 2010-05-31 Petr Baudis <pasky@suse.cz>
27146
27147 [BZ #10085]
27148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27149 initialization of skip_initgroups_dyn.
27150
27151 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27152
27153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27155
27156 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27157
27158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27159
27160 2010-11-11 Andreas Schwab <schwab@redhat.com>
27161
27162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27165 ($(objpfx)tst-fnmatch-mem): New rule.
27166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27167 * posix/tst-fnmatch.c (main): Call mtrace.
27168
27169 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27170
27171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27172 Support Intel processor model 6 and model 0x2c.
27173
27174 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27175
27176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27177 signed comparison.
27178
27179 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27180
27181 [BZ #12205]
27182 * string/test-strncasecmp.c (check_result): New function.
27183 (do_one_test): Use it.
27184 (check1): New function.
27185 (test_main): Use it.
27186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27187 Support strcasecmp and strncasecmp.
27188
27189 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27190
27191 [BZ #12194]
27192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27194
27195 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27198 IFUNC support.
27199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27200 memset-x86-64.
27201 * sysdeps/x86_64/multiarch/bzero.S: New file.
27202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27204 * sysdeps/x86_64/multiarch/memset.S: New file.
27205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27207 Set bit_Prefer_SSE_for_memop for Intel processors.
27208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27209 Define.
27210 (index_Prefer_SSE_for_memop): Define.
27211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27212
27213 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27214
27215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27217
27218 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 [BZ #12191]
27221 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27222 (__x86_64_raw_data_cache_size_half): Likewise.
27223 (__x86_64_raw_shared_cache_size): Likewise.
27224 (__x86_64_raw_shared_cache_size_half): Likewise.
27225
27226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27227 (__x86_64_raw_data_cache_size_half): Likewise.
27228 (__x86_64_raw_shared_cache_size): Likewise.
27229 (__x86_64_raw_shared_cache_size_half): Likewise.
27230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27232 and __x86_64_raw_shared_cache_size_half. Round
27233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27235 to multiple of 256 bytes.
27236
27237 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27238
27239 [BZ #12167]
27240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27241 of inacessible symlinks. Verify result of symlink before returning it.
27242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27244
27245 2010-10-28 Erich Ritz <erichritz@gmail.com>
27246
27247 * math/math.h (isinf): Fix typo in comment.
27248
27249 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27250
27251 * po/da.po: Update from translation team.
27252
27253 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27254
27255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27256 is added to the list.
27257
27258 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27259 Ulrich Drepper <drepper@gmail.com>
27260
27261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27262 the global list here. Move code to...
27263 (_dl_add_to_namespace_list): ...here. New function.
27264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27266 * elf/dl-load.c (lose): Don't remove the element from the list.
27267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27268 (_dl_map_object): Likewise.
27269
27270 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27271
27272 [BZ #12159]
27273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27274 into all bytes of SSE register.
27275 Patch by Richard Li <richardpku@gmail.com>.
27276
27277 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27278
27279 [BZ #12140]
27280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27281 perturbing.
27282
27283 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27284
27285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27290 submachine.
27291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27292
27293 2010-10-22 Andreas Schwab <schwab@redhat.com>
27294
27295 * include/dlfcn.h (__RTLD_SECURE): Define.
27296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27297 mode & __RTLD_SECURE instead.
27298 (open_path): Rename preloaded parameter to secure.
27299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27301 * elf/dl-deps.c (openaux): Likewise.
27302 * elf/rtld.c (struct map_args): Remove is_preloaded.
27303 (map_doit): Don't use it.
27304 (dl_main): Likewise.
27305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27307
27308 2010-09-09 Andreas Schwab <schwab@redhat.com>
27309
27310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27311 (sysd-rules-targets): Remove duplicates.
27312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27313 rtld-%.$o dependency.
27314
27315 2010-10-18 Andreas Schwab <schwab@redhat.com>
27316
27317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27318 _dl_map_object do it.
27319
27320 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27321
27322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27323 fast fma builtins, define the macros in the C99 standard.
27324 (FP_FAST_FMAF): Likewise.
27325 (FP_FAST_FMAL): Likewise.
27326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27327
27328 * bits/mathdef.h: Update copyright year.
27329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27330
27331 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27332
27333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27334 builtins, define the macros in the C99 standard.
27335 (FP_FAST_FMAF): Likewise.
27336 (FP_FAST_FMAL): Likewise.
27337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27338 multiply/add.
27339 (FP_FAST_FMAF): Likewise.
27340
27341 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27342
27343 [BZ #3268]
27344 * math/libm-test.inc (fma_test): Some new testcases.
27345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27347 y and infinite z. Do multiplication by C already in long double.
27348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27350 y and infinite z. Do bitwise or of inexact bit into u.d.
27351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27353 * sysdeps/i386/fpu/s_fma.S: Removed.
27354 * sysdeps/i386/fpu/s_fmal.S: Removed.
27355
27356 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27357
27358 [BZ #3268]
27359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27361 computation is not scheduled after fetestexcept. Fix value
27362 of minimum denormal long double.
27363
27364 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27365
27366 [BZ #3268]
27367 * math/libm-test.inc (fma_test): Add some more tests.
27368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27369 correctly.
27370
27371 2010-10-15 Andreas Schwab <schwab@redhat.com>
27372
27373 * scripts/data/localplt-s390-linux-gnu.data: New file.
27374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27375
27376 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27377
27378 [BZ #3268]
27379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27381 instead of dbl-64.
27382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27383 inlines.
27384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27386 if one of x and y is very large and the other is subnormal.
27387 * sysdeps/s390/fpu/s_fmaf.c: New file.
27388 * sysdeps/s390/fpu/s_fma.c: New file.
27389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27390 * sysdeps/powerpc/fpu/s_fma.S: New file.
27391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27394
27395 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27396
27397 [BZ #3268]
27398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27399 fma tests.
27400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27407
27408 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27409
27410 [BZ #12078]
27411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27412 * posix/bug-regex31.input: Add test case.
27413
27414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27415
27416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27417 * posix/bug-regex31.input: New file.
27418
27419 [BZ #12078]
27420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27421 (parse_sub_exp): Fix last change, use postorder.
27422
27423 * posix/bug-regex31.c: New file.
27424 * posix/Makefile: Add rules to build and run bug-regex31.
27425
27426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27427
27428 [BZ #12078]
27429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27430
27431 [BZ #12108]
27432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27433 to have entries in sys_siglist.
27434
27435 [BZ #12093]
27436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27437 be NULL.
27438
27439 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27440
27441 [BZ #3268]
27442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27455 * math/ftestexcept.c (fetestexcept): Likewise.
27456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27463
27464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27465
27466 [BZ #12107]
27467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27468 newline.
27469
27470 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27471
27472 * string/bug-strstr1.c: New file.
27473 * string/Makefile: Add rules to build and run bug-strstr1.
27474
27475 2010-10-05 Eric Blake <eblake@redhat.com>
27476
27477 [BZ #12092]
27478 * string/str-two-way.h (two_way_long_needle): Always clear memory
27479 when skipping input due to the shift table.
27480
27481 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27482
27483 [BZ #12005]
27484 * malloc/mcheck.c: Handle large requests.
27485
27486 [BZ #12077]
27487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27488 for strncmp and strncasecmp.
27489 * string/stratcliff.c: Add tests for strcmp and strncmp.
27490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27491
27492 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27493
27494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27495 __set_fpscr.
27496
27497 2010-09-30 Andreas Jaeger <aj@suse.de>
27498
27499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27500 (CGROUP_SUPER_MAGIC): Define.
27501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27502 Handle btrfs and cgroup file systems.
27503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27504 Likewise.
27505
27506 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27507
27508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27510
27511 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27512
27513 [BZ #12067]
27514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27515 trying to locate the ELF header.
27516
27517 2010-09-27 Andreas Schwab <schwab@redhat.com>
27518
27519 [BZ #11611]
27520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27521 Mask out sign-bit copies when constructing f_fsid.
27522
27523 2010-09-24 Petr Baudis <pasky@suse.cz>
27524
27525 * debug/stack_chk_fail_local.c: Add missing licence exception.
27526 * debug/warning-nop.c: Likewise.
27527
27528 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27529
27530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27531 implementing getdents64 using getdents syscall, set d_type if
27532 __ASSUME_GETDENTS32_D_TYPE.
27533
27534 2010-09-16 Andreas Schwab <schwab@redhat.com>
27535
27536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27538
27539 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27540
27541 [BZ #12037]
27542 * posix/unistd.h: Undo change of feature selection for ftruncate from
27543 2010-01-11.
27544
27545 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27546
27547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27548 detection.
27549
27550 2010-09-20 Andreas Schwab <schwab@redhat.com>
27551
27552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27553 fanotify_mark.
27554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27555
27556 2010-09-14 Andreas Schwab <schwab@redhat.com>
27557
27558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27559 variables after CHECK_SP call.
27560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27561
27562 2010-09-13 Andreas Schwab <schwab@redhat.com>
27563 Ulrich Drepper <drepper@redhat.com>
27564
27565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27566 re-relocationg ld.so.
27567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27568 _dl_init_paths call.
27569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27570 here anymore.
27571
27572 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27573
27574 * resolv/res_init.c (__res_vinit): Count the default server we added.
27575
27576 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27577 Ulrich Drepper <drepper@redhat.com>
27578
27579 [BZ #11968]
27580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27581 (____longjmp_chk): Use %ebx for saving value across system call.
27582 Add unwind info.
27583
27584 2010-09-06 Andreas Schwab <schwab@redhat.com>
27585
27586 * manual/Makefile: Don't mix pattern rules with normal rules.
27587
27588 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27589
27590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27591 operation.
27592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27597 Likewise.
27598
27599 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27600
27601 [BZ #11979]
27602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27604
27605 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27606
27607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27608 * sysdeps/x86_64/addmul_1.S: Likewise.
27609 * sysdeps/x86_64/lshift.S: Likewise.
27610 * sysdeps/x86_64/mul_1.S: Likewise.
27611 * sysdeps/x86_64/rshift.S: Likewise.
27612 * sysdeps/x86_64/sub_n.S: Likewise.
27613 * sysdeps/x86_64/submul_1.S: Likewise.
27614
27615 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27616
27617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27618 Define __sched_param instead of SCHED_* and sched_param when
27619 <bits/sched.h> is included with __need_schedparam defined.
27620 * bits/sched.h [__need_schedparam]
27621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27623 (__defined_schedparam): Define to 1.
27624 (__sched_param): New structure, identical to sched_param.
27625 (__need_schedparam): Undefine.
27626
27627 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27628
27629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27630 (epoll_create1): Declare.
27631
27632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27633
27634 2010-08-31 Andreas Schwab <schwab@redhat.com>
27635
27636 [BZ #7066]
27637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27638 shifting retval into place.
27639
27640 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27641
27642 * nis/rpcsvc/nis.h: Update copyright notice.
27643 * nis/rpcsvc/nis.x: Likewise.
27644 * nis/rpcsvc/nis_callback.h: Likewise.
27645 * nis/rpcsvc/nis_callback.x: Likewise.
27646 * nis/rpcsvc/nis_object.x: Likewise.
27647 * nis/rpcsvc/nis_tags.h: Likewise.
27648 * nis/rpcsvc/yp.h: Likewise.
27649 * nis/rpcsvc/yp.x: Likewise.
27650 * nis/rpcsvc/ypupd.h: Likewise.
27651 * nis/yp_xdr.c: Likewise.
27652 * nis/ypupdate_xdr.c: Likewise.
27653
27654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27655 mainly the body of pmap_getport. Add parameters to specify timeouts.
27656 (pmap_getport): Use __libc_rpc_getport.
27657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27660
27661 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27662
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27664 fanotify_mark.
27665
27666 2010-08-27 Roland McGrath <roland@redhat.com>
27667
27668 * sysdeps/i386/i686/multiarch/Makefile
27669 (CFLAGS-varshift.c): New variable.
27670
27671 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27672
27673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27675
27676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27677
27678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27679
27680 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27681
27682 * sysdeps/x86_64/strlen.S: Unroll the loop.
27683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27684 strlen-sse2 strlen-sse2-bsf.
27685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27686 __strlen_no_bsf if bit_Slow_BSF is set.
27687 (__strlen_sse42): Removed.
27688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27690
27691 2010-08-25 Roland McGrath <roland@redhat.com>
27692
27693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27694 * sysdeps/x86_64/multiarch/varshift.c: New file.
27695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27699
27700 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27703 strlen-sse2 strlen-sse2-bsf.
27704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27706 (__strlen_sse2): Removed.
27707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27710 bit_Slow_BSF for Atom.
27711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27712 (index_Slow_BSF): Define.
27713 (HAS_SLOW_BSF): Define.
27714
27715 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27716
27717 [BZ #10851]
27718 * resolv/res_init.c (__res_vinit): When no server address at all
27719 is given default to loopback.
27720
27721 2010-08-24 Roland McGrath <roland@redhat.com>
27722
27723 * configure.in: Remove config-name.h generation.
27724 * configure: Regenerated.
27725 * config-name.in: File removed.
27726 * scripts/config-uname.sh: New file.
27727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27728 ($(objdir)config-name.h): New target.
27729
27730 * sunrpc/rpc_parse.h: Avoid nested comment.
27731
27732 2010-08-24 Richard Henderson <rth@redhat.com>
27733 Ulrich Drepper <drepper@redhat.com>
27734 H.J. Lu <hongjiu.lu@intel.com>
27735
27736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27740 _mm_alignr_epi8 with _mm_loadu_si128.
27741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27743 (__m128i_shift_right): Removed.
27744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27746 * sysdeps/x86_64/multiarch/varshift.h: New file.
27747 * sysdeps/x86_64/multiarch/varshift.S: New file.
27748
27749 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27750
27751 * configure.in: Move assembler checks to before sysdep dir checking.
27752
27753 2010-08-20 Petr Baudis <pasky@suse.cz>
27754
27755 * LICENSES: Sync the sunrpc license.
27756
27757 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27758
27759 * sunrpc/auth_des.c: Update copyright notice once again.
27760 * sunrpc/auth_none.c: Likewise.
27761 * sunrpc/auth_unix.c: Likewise.
27762 * sunrpc/authdes_prot.c: Likewise.
27763 * sunrpc/authuxprot.c: Likewise.
27764 * sunrpc/bindrsvprt.c: Likewise.
27765 * sunrpc/clnt_gen.c: Likewise.
27766 * sunrpc/clnt_perr.c: Likewise.
27767 * sunrpc/clnt_raw.c: Likewise.
27768 * sunrpc/clnt_simp.c: Likewise.
27769 * sunrpc/clnt_tcp.c: Likewise.
27770 * sunrpc/clnt_udp.c: Likewise.
27771 * sunrpc/clnt_unix.c: Likewise.
27772 * sunrpc/des_crypt.c: Likewise.
27773 * sunrpc/des_soft.c: Likewise.
27774 * sunrpc/get_myaddr.c: Likewise.
27775 * sunrpc/getrpcport.c: Likewise.
27776 * sunrpc/key_call.c: Likewise.
27777 * sunrpc/key_prot.c: Likewise.
27778 * sunrpc/openchild.c: Likewise.
27779 * sunrpc/pm_getmaps.c: Likewise.
27780 * sunrpc/pm_getport.c: Likewise.
27781 * sunrpc/pmap_clnt.c: Likewise.
27782 * sunrpc/pmap_prot.c: Likewise.
27783 * sunrpc/pmap_prot2.c: Likewise.
27784 * sunrpc/pmap_rmt.c: Likewise.
27785 * sunrpc/rpc/auth.h: Likewise.
27786 * sunrpc/rpc/auth_unix.h: Likewise.
27787 * sunrpc/rpc/clnt.h: Likewise.
27788 * sunrpc/rpc/des_crypt.h: Likewise.
27789 * sunrpc/rpc/key_prot.h: Likewise.
27790 * sunrpc/rpc/netdb.h: Likewise.
27791 * sunrpc/rpc/pmap_clnt.h: Likewise.
27792 * sunrpc/rpc/pmap_prot.h: Likewise.
27793 * sunrpc/rpc/pmap_rmt.h: Likewise.
27794 * sunrpc/rpc/rpc.h: Likewise.
27795 * sunrpc/rpc/rpc_des.h: Likewise.
27796 * sunrpc/rpc/rpc_msg.h: Likewise.
27797 * sunrpc/rpc/svc.h: Likewise.
27798 * sunrpc/rpc/svc_auth.h: Likewise.
27799 * sunrpc/rpc/types.h: Likewise.
27800 * sunrpc/rpc/xdr.h: Likewise.
27801 * sunrpc/rpc_clntout.c: Likewise.
27802 * sunrpc/rpc_cmsg.c: Likewise.
27803 * sunrpc/rpc_common.c: Likewise.
27804 * sunrpc/rpc_cout.c: Likewise.
27805 * sunrpc/rpc_dtable.c: Likewise.
27806 * sunrpc/rpc_hout.c: Likewise.
27807 * sunrpc/rpc_main.c: Likewise.
27808 * sunrpc/rpc_parse.c: Likewise.
27809 * sunrpc/rpc_parse.h: Likewise.
27810 * sunrpc/rpc_prot.c: Likewise.
27811 * sunrpc/rpc_sample.c: Likewise.
27812 * sunrpc/rpc_scan.c: Likewise.
27813 * sunrpc/rpc_scan.h: Likewise.
27814 * sunrpc/rpc_svcout.c: Likewise.
27815 * sunrpc/rpc_tblout.c: Likewise.
27816 * sunrpc/rpc_util.c: Likewise.
27817 * sunrpc/rpc_util.h: Likewise.
27818 * sunrpc/rpcinfo.c: Likewise.
27819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27820 * sunrpc/rpcsvc/key_prot.x: Likewise.
27821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27822 * sunrpc/rpcsvc/mount.x: Likewise.
27823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27825 * sunrpc/rpcsvc/rex.x: Likewise.
27826 * sunrpc/rpcsvc/rstat.x: Likewise.
27827 * sunrpc/rpcsvc/rusers.x: Likewise.
27828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27829 * sunrpc/rpcsvc/spray.x: Likewise.
27830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27831 * sunrpc/rtime.c: Likewise.
27832 * sunrpc/svc.c: Likewise.
27833 * sunrpc/svc_auth.c: Likewise.
27834 * sunrpc/svc_authux.c: Likewise.
27835 * sunrpc/svc_raw.c: Likewise.
27836 * sunrpc/svc_run.c: Likewise.
27837 * sunrpc/svc_simple.c: Likewise.
27838 * sunrpc/svc_tcp.c: Likewise.
27839 * sunrpc/svc_udp.c: Likewise.
27840 * sunrpc/svc_unix.c: Likewise.
27841 * sunrpc/svcauth_des.c: Likewise.
27842 * sunrpc/xcrypt.c: Likewise.
27843 * sunrpc/xdr.c: Likewise.
27844 * sunrpc/xdr_array.c: Likewise.
27845 * sunrpc/xdr_float.c: Likewise.
27846 * sunrpc/xdr_mem.c: Likewise.
27847 * sunrpc/xdr_rec.c: Likewise.
27848 * sunrpc/xdr_ref.c: Likewise.
27849 * sunrpc/xdr_sizeof.c: Likewise.
27850 * sunrpc/xdr_stdio.c: Likewise.
27851
27852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27853 handling.
27854
27855 2010-08-19 Andreas Schwab <schwab@redhat.com>
27856
27857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27858
27859 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27860
27861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27875
27876 2010-07-26 Anton Blanchard <anton@samba.org>
27877
27878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27879 * malloc/arena.c (heap_trim): Likewise.
27880
27881 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27882
27883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27884 here. Not...
27885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27887
27888 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27889
27890 * sysdeps/i386/elf/Makefile: New file.
27891
27892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27893
27894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27895 from fanotify_init.
27896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27898
27899 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27900
27901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27902 of strncasecmp_l.
27903 * sysdeps/multiarch/strcmp.S: Likewise.
27904
27905 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27906
27907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27908 strncase_l-nonascii.
27909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27910 Add strncase_l-ssse3.
27911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27912 * sysdeps/x86_64/strcmp.S: Likewise.
27913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27915 * sysdeps/x86_64/strncase.S: New file.
27916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27917 * sysdeps/x86_64/strncase_l.S: New file.
27918 * string/Makefile (strop-tests): Add strncasecmp.
27919 * string/test-strncasecmp.c: New file.
27920
27921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27922 warning.
27923
27924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27926
27927 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27928
27929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27930
27931 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27932
27933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27936
27937 2010-05-01 Alan Modra <amodra@gmail.com>
27938
27939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27944 tidying. Don't tail-call __sigjmp_save for static lib.
27945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27946 save location.
27947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27948 (CALL_MCOUNT): Add eh info, and nop after bl.
27949 (TAIL_CALL_SYSCALL_ERROR): New macro.
27950 (PSEUDO_RET): Use it.
27951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27952 Correct save location of integer regs and cr.
27953 (_dl_profile_resolve): Correct cr save location. Delete nops
27954 after bl when SHARED. Reduce cfi size a little by better
27955 placement of cfi directives.
27956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27957 make a stack frame. Instead use parm save area as a temp.
27958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27961 Don't make a stack frame for parent, use parm save area.
27962 Increase child stack frame to 112 bytes. Don't save unused reg,
27963 and adjust reg usage. Set up cfi on error recovery and
27964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27966 (__makecontext): Add dummy nop after jump to exit.
27967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27968 Use correct parm save area and cr save, reduce stack frame.
27969 Correct cfi for possible PSEUDO_RET frame setup.
27970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27971 Branch to local label emitted by PSEUDO_RET rather than
27972 __syscall_error.
27973
27974 2010-08-12 Andreas Schwab <schwab@redhat.com>
27975
27976 [BZ #11904]
27977 * locale/programs/locale.c (print_assignment): New function.
27978 (show_locale_vars): Use it.
27979
27980 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27981
27982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27983 field.
27984 (struct statfs64): Likewise.
27985 (_STATFS_F_FLAGS): Define.
27986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27989 (ST_VALID): Define locally.
27990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27991 __statvfs_getflags, use the provided value.
27992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27993 __ASSUME_STATFS_F_FLAGS.
27994
27995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27996
27997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27998 Add sys/fanotify.h.
27999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28000 fanotify_mask for GLIBC_2.13.
28001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28002 fanotify_init and fanotify_mark.
28003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28005
28006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28007 Add prlimit.
28008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28009 prlimit64 for GLIBC_2.13.
28010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28011 prlimit64.
28012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28013 syscall.
28014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28019 add prlimit alias.
28020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28021
28022 [BZ #11903]
28023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28025
28026 * nss/Makefile: Add rules to build and run tst-nss-test1.
28027 * shlib-versions: Add entry for libnss_test1.
28028 * nss/nss_test1.c: New file.
28029 * nss/tst-nss-test1.c: New file.
28030
28031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28032 (__nss_configure_lookup): Set appropriate entry in
28033 __nss_configure_lookup to true.
28034 * nss/nsswitch.h: Define enum with indeces of databases in
28035 databases and __nss_database_custom arrays. Declare
28036 __nss_database_custom.
28037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28038 to avoid using nscd when custom rules are installed.
28039 * nss/getXXbyYY_r.c: Likewise.
28040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28041
28042 * nss/nss_files/files-parse.c: Whitespace fixes.
28043
28044 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28045
28046 [BZ #11883]
28047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28048 * posix/fnmatch_loop.c: Likewise.
28049
28050 2010-07-17 Andi Kleen <ak@linux.intel.com>
28051
28052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28055 * Versions.def [GLIBC_2.13]: Add.
28056
28057 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28058
28059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28060 Also fail if tpwd after pwuid call is NULL.
28061
28062 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28063
28064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28065 when converting to ms.
28066
28067 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28068
28069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28070 EOPNOTSUPP errors with ENOTTY.
28071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28072 EOPNOTSUPP errors with ENOTTY.
28073
28074 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28075
28076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28077 Add strcasecmp_l-ssse3.
28078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28079 strcasecmp.
28080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28083
28084 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28085
28086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28087
28088 * string/Makefile (strop-tests): Add strcasecmp.
28089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28090 strcasecmp_l-nonascii.
28091 (gen-as-const-headers): Add locale-defines.sym.
28092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28093 * sysdeps/x86_64/strcasecmp.S: New file.
28094 * sysdeps/x86_64/strcasecmp_l.S: New file.
28095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28096 * sysdeps/x86_64/locale-defines.sym: New file.
28097 * string/test-strcasecmp.c: New file.
28098
28099 * string/test-strcasestr.c: Test both ends of the range of characters.
28100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28101
28102 2010-07-29 Roland McGrath <roland@redhat.com>
28103
28104 [BZ #11856]
28105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28106
28107 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28108
28109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28110 for ld.so.
28111
28112 2010-07-27 Andreas Schwab <schwab@redhat.com>
28113
28114 * manual/memory.texi (Malloc Tunable Parameters): Document
28115 M_PERTURB.
28116
28117 2010-07-26 Roland McGrath <roland@redhat.com>
28118
28119 [BZ #11840]
28120 * configure.in (-fgnu89-inline check): Set and substitute
28121 gnu89_inline, not libc_cv_gnu89_inline.
28122 * configure: Regenerated.
28123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28124
28125 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28126
28127 * string/test-strnlen.c: New file.
28128 * string/Makefile (strop-tests): Add strnlen.
28129 * string/tester.c (test_strnlen): Add a few more test cases.
28130 * string/tst-strlen.c: Better error reporting.
28131
28132 * sysdeps/x86_64/strnlen.S: New file.
28133
28134 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28135
28136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28137 lower-latency instructions.
28138
28139 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28140
28141 * string/test-strcasestr.c: New file.
28142 * string/test-strstr.c: New file.
28143 * string/Makefile (strop-tests): Add strstr and strcasestr.
28144 * string/str-two-way.h: Don't undefine MAX.
28145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28146
28147 2010-07-21 Andreas Schwab <schwab@redhat.com>
28148
28149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28150 strcasestr-nonascii.
28151 (CFLAGS-strcasestr-nonascii.c): Define.
28152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28154 Remove unused attribute.
28155
28156 2010-07-20 Roland McGrath <roland@redhat.com>
28157
28158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28160 ld.so.cache was broken. With it, there is no way to disable dsocaps
28161 like LD_HWCAP_MASK can disable hwcaps.
28162
28163 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28164
28165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28166
28167 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28168
28169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28170 call in strcasestr.
28171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28172 __strcasestr_sse42_nonascii.
28173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28174 strcasestr-nonascii.c.
28175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28176
28177 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28178
28179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28183
28184 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28185
28186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28187 fcntl.
28188
28189 2010-07-06 Andreas Schwab <schwab@redhat.com>
28190
28191 [BZ #11577]
28192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28193 dl_signal_cerror.
28194
28195 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28196
28197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28198 _PC_PIPE_BUF using F_GETPIPE_SZ.
28199
28200 2010-07-05 Roland McGrath <roland@redhat.com>
28201
28202 * manual/arith.texi (Rounding Functions): Fix rint description
28203 implicit in round description.
28204
28205 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28206
28207 * elf/Makefile: Fix linking for a few tests to make recent linker
28208 happy.
28209
28210 2010-06-30 Andreas Schwab <schwab@redhat.com>
28211
28212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28213 $(common-objpfx)libc_nonshared.a.
28214
28215 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28216
28217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28265
28266 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28267
28268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28270 * string/memmove.c (memmove): Renamed to ...
28271 (MEMMOVE): ...this. Default to memmove.
28272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28274 (END_CHK): Define.
28275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28277 mempcpy-ssse3-back memmove-ssse3-back.
28278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28285 * sysdeps/x86_64/multiarch/memmove.c: New file.
28286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28292 Define.
28293 (index_Fast_Copy_Backward): Define.
28294 (HAS_ARCH_FEATURE): Define.
28295 (HAS_FAST_REP_STRING): Define.
28296 (HAS_FAST_COPY_BACKWARD): Define.
28297
28298 2010-06-21 Andreas Schwab <schwab@redhat.com>
28299
28300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28301 Restore proper fallback handling.
28302
28303 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28304
28305 [BZ #11701]
28306 * posix/group_member.c (__group_member): Correct checking loop.
28307
28308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28309 OOM in getpwuid_r correctly. Return error number when the caller
28310 should return, otherwise -1.
28311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28312 call returning > 0 value.
28313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28314
28315 2010-06-07 Andreas Schwab <schwab@redhat.com>
28316
28317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28318 libc_nonshared.a from targets in modules-names.
28319
28320 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28321
28322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28323 requires it.
28324
28325 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28326
28327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28331
28332 2010-06-02 Andreas Schwab <schwab@redhat.com>
28333
28334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28335
28336 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28337
28338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28339 and F_GETPIPE_SZ.
28340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28346
28347 2010-06-14 Roland McGrath <roland@redhat.com>
28348
28349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28350
28351 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28352
28353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28354 __REDIRECT followed by __THROW.
28355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28356 * posix/getopt.h (getopt): Likewise.
28357
28358 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28359
28360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28363 in AT_FLAGS.
28364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28366
28367 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28368
28369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28370
28371 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28372
28373 [BZ #11640]
28374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28375 Properly check family and model.
28376
28377 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28378
28379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28380
28381 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28382
28383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28384
28385 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28386
28387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28388 symbol reference.
28389
28390 2010-05-19 Andreas Schwab <schwab@redhat.com>
28391
28392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28393 symbol reference.
28394
28395 2010-05-21 Andreas Schwab <schwab@redhat.com>
28396
28397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28398 and internal_recvmmsg.
28399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28403
28404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28407
28408 2010-05-20 Andreas Schwab <schwab@redhat.com>
28409
28410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28411
28412 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28413
28414 POWER7 optimizations.
28415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28417
28418 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28419
28420 * version.h: Update for 2.13 development version.
28421
28422 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28423
28424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28425 exceptions. Return 0.
28426
28427 2010-05-07 Roland McGrath <roland@redhat.com>
28428
28429 * elf/ldconfig.c (main): Add a const.
28430
28431 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28432
28433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28434 (args_options): Add no-idn option.
28435 (ahosts_keys_int): Add idn_flags to ai_flags.
28436 (parse_option): Handle 'i' option to clear idn_flags.
28437
28438 * malloc/malloc.c (_int_free): Possible race in the most recently
28439 added check. Only act on the data if no current modification
28440 happened.
28441
28442 See ChangeLog.17 for earlier changes.