]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Move dummy glob64.c alongside glob.c that defines glob64.
[thirdparty/glibc.git] / ChangeLog
1 2013-05-06 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4 * sysdeps/wordsize-64/glob64.c: ... here.
5
6 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8 New macros.
9
10 * debug/getlogin_r_chk.c: Moved to ...
11 * login/getlogin_r_chk.c: ... here.
12 * debug/Makefile (routines): Move getlogin_r_chk to ...
13 * login/Makefile (routines): ... here.
14 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15 * login/Versions (libc: GLIBC_2.4): ... here.
16
17 * io/poll.c (__poll): Renamed from poll.
18 Add libc_hidden_def.
19 (poll): Define as weak alias.
20
21 * debug/ptsname_r_chk.c: Moved to ...
22 * login/ptsname_r_chk.c: ... here.
23 * debug/Makefile (routines): Move ptsname_r_chk to ...
24 * login/Makefile (routines): ... here.
25 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26 * login/Versions (libc: GLIBC_2.4): ... here.
27
28 * posix/getlogin.c: Moved to ...
29 * login/getlogin.c: ... here.
30 * posix/getlogin_r.c: Moved to ...
31 * login/getlogin_r.c: ... here.
32 * posix/getlogin_r.c: Moved to ...
33 * login/getlogin_r.c: ... here.
34 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35 * login/Makefile (routines): ... here.
36 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37 * login/Versions (libc: GLIBC_2.0): ... here.
38
39 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40 (setrlimit): Define as weak alias.
41
42 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43 Call __ names for open, ftruncate, and close.
44 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45 (truncate): Define as weak alias.
46
47 2013-05-06 Joseph Myers <joseph@codesourcery.com>
48
49 * math/gen-libm-test.pl (parse_args): Initialize x before each
50 test of frexp, modf and remquo.
51
52 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53 test signgam value.
54
55 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 [BZ #15418]
58 [BZ #15419]
59 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60 internal tests.
61 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62
63 2013-05-06 Roland McGrath <roland@hack.frob.com>
64
65 * elf/dl-writev.h: New file.
66 * elf/dl-misc.c: Include it.
67 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
69
70 2013-05-04 Joseph Myers <joseph@codesourcery.com>
71
72 * math/libm-test.inc (noXFails): Remove variable.
73 (noXPasses): Likewise.
74 (BUILD_COMPLEX_INT): Remove macro.
75 (print_screen): Remove xfail argument.
76 (print_screen_max_error): Likewise.
77 (update_stats): Likewise.
78 (print_max_error): Likewise. Update calls to other affected
79 functions.
80 (print_complex_max_error): Likewise.
81 (test_single_exception): Update calls to print_screen.
82 (test_single_errno): Likewise.
83 (check_float_internal): Remove xfail argument. Update calls to
84 other affected functions.
85 (check_float): Likewise.
86 (check_complex): Likewise.
87 (check_int): Likewise.
88 (check_long): Likewise.
89 (check_bool): Likewise.
90 (check_longlong): Likewise.
91 (main): Don't print noXFails and noXPasses.
92 * math/gen-libm-test.pl (top level): Don't mention expected
93 failure handling in comment.
94 (new_test): Don't handle expected failures.
95 (parse_args): Don't mention expected failure handling in comment.
96 (generate_testfile): Don't handle expected failures.
97 (parse_ulps): Likewise.
98 (print_ulps_file): Likewise.
99 (get_failure): Remove function.
100 (output_test): Don't handle expected failures.
101 * make/README.libm-test: Don't mention expected failure handling.
102
103 * math/libm-test.inc (plus_zero): Make const. Add initializer.
104 (minus_zero): Likewise.
105 (plus_infty): Likewise.
106 (minus_infty): Likewise.
107 (qnan_value): Likewise.
108 (max_value): Likewise.
109 (min_value): Likewise.
110 (min_subnorm_value): Likewise.
111 (initialize): Do not initialize those variables dynamically.
112
113 2013-05-03 Roland McGrath <roland@hack.frob.com>
114
115 * io/open.c (__open_2): Moved to ...
116 * io/open_2.c: ... this new file.
117 * io/open64.c (__open64_2): Moved to ...
118 * io/open64_2.c: ... this new file.
119 * io/openat.c (__openat_2): Moved to ...
120 * io/openat_2.c: ... this new file.
121 * io/openat64.c (__openat64_2): Moved to ...
122 * io/openat64_2.c: ... this new file.
123 * io/Makefile (routines): Add them.
124 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
125 * sysdeps/unix/sysv/linux/open_2.c: File removed.
126 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
127 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
128 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
129 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
130 (__openat64): Add hidden_ver.
131 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
132 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
133
134 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
135 Separately conditionalize setting of GLRO(dl_sysinfo) so
136 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
137 as well, but the actual setting is only under [NEED_DL_SYSINFO].
138
139 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
143 definition.
144 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
145 * sysdeps/unix/sysv/linux/powerpc/init-first.c
146 (_libc_vdso_platform_setup): Add __vdso_time initialization.
147 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
148 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
149
150 2013-05-03 Joseph Myers <joseph@codesourcery.com>
151
152 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
153 test signgam value.
154
155 * math/libm-test.inc (hypot_test): Do not use
156 IGNORE_ZERO_INF_SIGN.
157
158 2013-05-03 Andreas Jaeger <aj@suse.de>
159
160 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
161 Linux 3.9.
162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
163 (PF_MAX): Adjust for VSOCK change.
164
165 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166
167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
168
169 2013-05-02 Carlos O'Donell <carlos@redhat.com>
170
171 [BZ #15264]
172 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
173 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
174 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
175
176 2013-05-02 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
179
180 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
181
182 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
183
184 2013-05-01 Roland McGrath <roland@hack.frob.com>
185
186 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
187
188 2013-05-01 Richard Smith <richard@metafoo.co.uk>
189
190 [BZ #14952]
191 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
192 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
193 Use __attribute__ ((__gnu_inline__)).
194 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
195 Don't use __attribute__ ((__gnu_inline__)).
196
197 2013-05-01 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #15423]
200 * math/s_catan.c (__catan): Handle small real or imaginary part of
201 input specially to avoid spurious underflow.
202 * math/s_catanf.c (__catanf): Likewise.
203 * math/s_catanh.c (__catanh): Likewise.
204 * math/s_catanhf.c (__catanhf): Likewise.
205 * math/s_catanhl.c (__catanhl): Likewise.
206 * math/s_catanl.c (__catanl): Likewise.
207 * math/libm-test.inc (catan_test): Add more tests.
208 (catanh_test): Likewise.
209 * sysdeps/i386/fpu/libm-test-ulps: Update.
210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
211
212 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215
216 2013-04-30 Joseph Myers <joseph@codesourcery.com>
217
218 [BZ #15416]
219 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
220 accurately for denominator in atan2.
221 * math/s_catanf.c (__catanf): Likewise.
222 * math/s_catanh.c (__catanh): Likewise.
223 * math/s_catanhf.c (__catanhf): Likewise.
224 * math/s_catanhl.c (__catanhl): Likewise.
225 * math/s_catanl.c (__catanl): Likewise.
226 * math/libm-test.inc (catan_test): Add more tests.
227 (catanh_test): Likewise.
228 * sysdeps/i386/fpu/libm-test-ulps: Update.
229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
230
231 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
232
233 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
234
235 * benchtests/Makefile (bench): Remove slow benchmarks.
236 * benchtests/atan-inputs: Add slow benchmark inputs.
237 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
238 (BENCH_FUNC): Accept variant offset.
239 (VARIANT): Define.
240 * benchtests/bench-skeleton.c (main): Run benchmark for each
241 variant.
242 * benchtests/cos-inputs: Add slow benchmark inputs.
243 * benchtests/exp-inputs: Likewise.
244 * benchtests/pow-inputs: Likewise.
245 * benchtests/sin-inputs: Likewise.
246 * benchtests/slowatan-inputs: Remove.
247 * benchtests/slowatan.c: Remove.
248 * benchtests/slowcos-inputs: Remove.
249 * benchtests/slowcos.c: Remove.
250 * benchtests/slowexp-inputs: Remove.
251 * benchtests/slowexp.c: Remove.
252 * benchtests/slowpow-inputs: Remove.
253 * benchtests/slowpow.c: Remove.
254 * benchtests/slowsin-inputs: Remove.
255 * benchtests/slowsin.c: Remove.
256 * benchtests/slowtan-inputs: Remove.
257 * benchtests/slowtan.c: Remove.
258 * benchtests/tan-inputs: Add slow benchmark inputs.
259 * scripts/bench.pl: Parse comments and directives.
260
261 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
262 in CPPFLAGS.
263 ($(objpfx)bench-%.c): Remove *-ITER.
264 * benchtests/bench-modf.c: Remove definition of ITER.
265 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
266 (main): Loop for DURATION seconds instead of fixed number of
267 iterations.
268 * scripts/bench.pl: Don't expect iterations in parameters.
269
270 2013-04-29 Roland McGrath <roland@hack.frob.com>
271
272 * io/fchdir.c (__fchdir): Renamed from fchdir.
273 (fchdir): Define as weak alias.
274
275 2013-04-29 Joseph Myers <joseph@codesourcery.com>
276
277 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
278 (ERRNO_EDOM): Likewise.
279 (ERRNO_ERANGE): Likewise.
280 (noErrnoTests): New variable.
281 (init_max_error): Set errno to 0.
282 (test_single_errno): New function.
283 (test_errno): Likewise.
284 (check_float_internal): Call test_errno. Set errno to 0.
285 (check_complex): Refer to errno tests in comment.
286 (check_int): Call test_errno. Set errno to 0.
287 (check_long): Likewise.
288 (check_bool): Likewise.
289 (check_longlong): Likewise.
290 (cos_test): Use ERRNO_* flags for errno tests instead of
291 check_int.
292 (expm1_test): Likewise.
293 (fmod_test): Likewise.
294 (ilogb_test): Likewise.
295 (lgamma_test): Likewise.
296 (pow_test): Likewise.
297 (remainder_test): Likewise.
298 (sin_test): Likewise.
299 (tan_test): Likewise.
300 (yn_test): Likewise.
301 (initialize): Set errno to 0.
302 (main): Print number of errno tests.
303 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
304
305 2013-04-29 Andreas Jaeger <aj@suse.de>
306
307 [BZ #15084]
308 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
309 and RES_USEVC.
310
311 [BZ #15085]
312 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
313 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
314 unimplemented.
315
316 [BZ #15380]
317 * stdlib/random.c (__initstate): Return NULL if
318 __initstate fails.
319
320 [BZ #15086]
321 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
322 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
323 RES_SNGLKUPREOP.
324
325 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
328
329 2013-04-29 Joseph Myers <joseph@codesourcery.com>
330
331 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
332 of individual tests.
333 (casin_test): Likewise.
334 (casinh_test): Likewise.
335
336 2013-04-27 Joseph Myers <joseph@codesourcery.com>
337
338 [BZ #15409]
339 * math/s_catan.c (__catan): Handle arguments with large real or
340 imaginary part separately without squaring.
341 * math/s_catanf.c (__catanf): Likewise.
342 * math/s_catanh.c (__catanh): Likewise.
343 * math/s_catanhf.c (__catanhf): Likewise.
344 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
345 and redefine.
346 (__catanhl): Handle arguments with large real or imaginary part
347 separately without squaring.
348 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
349 and redefine.
350 (__catanl): Handle arguments with large real or imaginary part
351 separately without squaring.
352 * math/libm-test.inc (catan_test): Add more tests.
353 (catanh_test): Likewise.
354 * sysdeps/i386/fpu/libm-test-ulps: Update.
355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
356
357 2013-04-27 Andreas Jaeger <aj@suse.de>
358
359 [BZ #15007]
360 * stdlib/stdlib.h: Update guards for qecvt.
361 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
362 <stdlib.h>.
363
364 2013-04-27 Allan McRae <allan@archlinux.org>
365
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367
368 2013-04-26 Joseph Myers <joseph@codesourcery.com>
369
370 [BZ #15406]
371 * math/s_catan.c: Include <float.h>.
372 (__catan): Ensure underflow exception occurs for underflowed
373 result.
374 * math/s_catanf.c: Include <float.h>.
375 (__catanf): Ensure underflow exception occurs for underflowed
376 result.
377 * math/s_catanh.c: Include <float.h>.
378 (__catanh): Ensure underflow exception occurs for underflowed
379 result.
380 * math/s_catanhf.c: Include <float.h>.
381 (__catanhf): Ensure underflow exception occurs for underflowed
382 result.
383 * math/s_catanhl.c: Include <float.h>.
384 (__catanhl): Ensure underflow exception occurs for underflowed
385 result.
386 * math/s_catanl.c: Include <float.h>.
387 (__catanl): Ensure underflow exception occurs for underflowed
388 result.
389 * math/libm-test.inc (catan_test): Add more tests.
390 (catanh_test): Likewise.
391
392 [BZ #15405]
393 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
394 underflowed result.
395 * math/s_ccoshf.c (__ccoshf): Likewise.
396 * math/s_ccoshl.c (__ccoshl): Likewise.
397 * math/s_csin.c (__csin): Likewise.
398 * math/s_csinf.c (__csinf): Likewise.
399 * math/s_csinh.c (__csinh): Likewise.
400 * math/s_csinhf.c (__csinhf): Likewise.
401 * math/s_csinhl.c (__csinhl): Likewise.
402 * math/s_csinl.c (__csinl): Likewise.
403 * math/libm-test.inc (ccos_test): Add more tests.
404 (ccosh_test): Likewise.
405 (csin_test): Likewise.
406 (csinh_test): Likewise.
407
408 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
410 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
411 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
412 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
413 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
414 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
415 powerpc/power5+/fpu folders.
416 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
417
418
419 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
420
421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422
423 2013-04-25 Joseph Myers <joseph@codesourcery.com>
424
425 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
426 additions to variable.
427 [$(config-machine) = x86_64] (modules-names): Likewise.
428 ($(objpfx)tst-audit3): Remove dependency.
429 ($(objpfx)tst-audit3.out): Likewise.
430 ($(objpfx)tst-audit4): Likewise.
431 ($(objpfx)tst-audit4.out): Likewise.
432 ($(objpfx)tst-audit5): Likewise.
433 ($(objpfx)tst-audit5.out): Likewise.
434 ($(objpfx)tst-audit6): Likewise.
435 ($(objpfx)tst-audit6.out): Likewise.
436 ($(objpfx)tst-audit7): Likewise.
437 ($(objpfx)tst-audit7.out): Likewise.
438 (tst-audit3-ENV): Remove variable.
439 (tst-audit4-ENV): Likewise.
440 (tst-audit5-ENV): Likewise.
441 (tst-audit6-ENV): Likewise.
442 (tst-audit7-ENV): Likewise.
443 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
444 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
445 addition to variable.
446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
451 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
452 tst-audit3, tst-audit4 and tst-audit5.
453 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
454 tst-audit6 and tst-audit7.
455 [$(subdir) = elf] (modules-names): Add audit modules for those
456 tests.
457 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
458 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
459 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
460 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
461 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
462 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
463 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
464 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
465 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
466 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
467 [$(subdir) = elf] (tst-audit3-ENV): New variable.
468 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
469 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
470 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
471 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
472 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
473 Likewise.
474 [$(subdir) = elf && $(config-cflags-avx) = yes]
475 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
476 [$(subdir) = elf && $(config-cflags-avx) = yes]
477 (CFLAGS-tst-auditmod4a.c): Likewise.
478 [$(subdir) = elf && $(config-cflags-avx) = yes]
479 (CFLAGS-tst-auditmod4b.c): Likewise.
480 [$(subdir) = elf && $(config-cflags-avx) = yes]
481 (CFLAGS-tst-auditmod6b.c): Likewise.
482 [$(subdir) = elf && $(config-cflags-avx) = yes]
483 (CFLAGS-tst-auditmod6c.c): Likewise.
484 [$(subdir) = elf && $(config-cflags-avx) = yes]
485 (CFLAGS-tst-auditmod7b.c): Likewise.
486 * elf/tst-audit3.c: Move to ...
487 * sysdeps/x86_64/tst-audit3.c: ... here.
488 * elf/tst-audit4.c: Move to ...
489 * sysdeps/x86_64/tst-audit4.c: ... here.
490 * elf/tst-audit5.c: Move to ...
491 * sysdeps/x86_64/tst-audit5.c: ... here.
492 * elf/tst-audit6.c: Move to ...
493 * sysdeps/x86_64/tst-audit6.c: ... here.
494 * elf/tst-audit7.c: Move to ...
495 * sysdeps/x86_64/tst-audit7.c: ... here.
496 * elf/tst-auditmod3a.c: Move to ...
497 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
498 * elf/tst-auditmod3b.c: Move to ...
499 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
500 * elf/tst-auditmod4a.c: Move to ...
501 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
502 * elf/tst-auditmod4b.c: Move to ...
503 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
504 * elf/tst-auditmod5a.c: Move to ...
505 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
506 * elf/tst-auditmod5b.c: Move to ...
507 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
508 * elf/tst-auditmod6a.c: Move to ...
509 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
510 * elf/tst-auditmod6b.c: Move to ...
511 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
512 * elf/tst-auditmod6c.c: Move to ...
513 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
514 * elf/tst-auditmod7a.c: Move to ...
515 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
516 * elf/tst-auditmod7b.c: Move to ...
517 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
518
519 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
520
521 [BZ #15366]
522 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
523 define unconditionally.
524 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
525 define unconditionally.
526 (INT8_C, INT16_C, etc.): Likewise.
527
528 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
529
530 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
531 __ehdr_start with hidden visibility.
532
533 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
534
535 2013-04-24 Carlos O'Donell <carlos@redhat.com>
536
537 * math/libm-test.inc (cos_test): Use accurate hex constants.
538 (sincost_test): Likewise.
539
540 2013-04-24 Joseph Myers <joseph@codesourcery.com>
541
542 * math/libm-test.inc (catan_test): Add more tests.
543 (catanh_test): Likewise.
544
545 * math/s_catanf.c (__catanf): Use suffixed floating-point
546 constants.
547 * math/s_catanhf.c (__catanhf): Likewise.
548 * math/s_catanhl.c (__catanhl): Likewise.
549 * math/s_catanl.c (__catanl): Likewise.
550
551 [BZ #15394]
552 * math/s_catan.c (__catan): Calculate imaginary part of result
553 with log1p not log unless computing log of number close to 0.
554 * math/s_catanf.c (__catanf): Likewise.
555 * math/s_catanl.c (__catanl): Likewise.
556 * math/s_catanh.c (__catanh): Calculate real part of result with
557 log1p not log unless computing log of number close to 0.
558 * math/s_catanhf.c (__catanhf): Likewise.
559 * math/s_catanhl.c (__catanhl): Likewise.
560 * math/libm-test.inc (catan_test): Add more tests.
561 (catanh_test): Likewise.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564
565 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 * benchtests/Makefile: Mention files in which fast and slow
568 paths of math functions are implemented.
569
570 2013-04-23 Roland McGrath <roland@hack.frob.com>
571
572 * sysdeps/posix/timespec_get.c: New file.
573
574 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
577 POWER.
578 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
579 for POWER.
580 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
581 powerpc/power5/fpu folders.
582 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
583 * benchtests/Makefile: Add modf testcase.
584 * benchtests/bench-modf.c: New file: Benchmark test for mo
585
586 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
587
588 [BZ #14888]
589 * time/Makefile (tests): Add tst-strptime-whitespace.
590 * time/strptime_l.c (get_number): Use ISSPACE.
591 (__strptime_internal): Likewise.
592 * time/tst-strptime-whitespace.c: New test case.
593
594 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
595
596 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
597 member.
598 (_nss_files_init): Set it here.
599
600 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
601
602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
603 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
604 unsigned.
605
606 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
607
608 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
609
610 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
613 size just once.
614
615 2013-04-21 David S. Miller <davem@davemloft.net>
616
617 * po/ru.po: Update Russion translation from translation project.
618
619 2013-04-17 Adam Conrad <adconrad@0c3.net>
620
621 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
622 and setfsgid.
623
624 2013-04-17 Carlos O'Donell <carlos@redhat.com>
625
626 * configure.in: Remove i386 configure warning. Remove i386 case.
627 * configure: Regenerate.
628 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
629 Add example to error message.
630 * sysdeps/i386/configure: Regenerate.
631
632 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
633
634 * benchtests/Makefile (bench): Add cos, tan, slowcos and
635 slowtan.
636 * benchtests/cos-inputs: New file.
637 * benchtests/slowcos-inputs: New file.
638 * benchtests/slowcos.c: New file.
639 * benchtests/slowtan-inputs: New file.
640 * benchtests/slowtan.c: New file.
641 * benchtests/tan-inputs: New file.
642
643 2013-04-16 Roland McGrath <roland@hack.frob.com>
644
645 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
646 considered kosher.
647
648 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
649
650 * benchtests/Makefile: Include cppflags-iterator.mk to add
651 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
652
653 * Makefile.in (bench-clean): New target.
654 * benchtests/Makefile (bench-clean): Likewise.
655
656 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
657
658 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
659
660 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
661
662 * stdio-common/tstdiomisc.c: Fix coding-style violation.
663
664 2013-04-15 Andreas Schwab <schwab@suse.de>
665
666 * nscd/grpcache.c (cache_addgr): Properly check for short write.
667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
668 * nscd/pwdcache.c (cache_addpw): Likewise.
669 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
670 more than recsize.
671
672 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 * benchtests/Makefile (bench): Write all output to
675 bench-out.tmp together.
676
677 2013-04-15 Andreas Schwab <schwab@suse.de>
678
679 * nscd/nscd.c (main): Don't fork again after closing files.
680
681 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
682
683 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
684
685 * benchtests/Rules (bench-deps): Collect dependencies into a
686 single variable. Add Makefile to dependencies.
687 ($(objpfx)bench-%.c): Depend on bench-deps.
688
689 2013-04-12 Roland McGrath <roland@hack.frob.com>
690 Xavier Roche <roche+kml2@exalead.com>
691
692 [BZ #15361]
693 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
694 just that it's a file descriptor.
695 * manual/llio.texi (Synchronizing AIO Operations): Update description
696 for EBADF error from aio_fsync.
697
698 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
699
700 * Rules (bench): Move target definition...
701 * benchtests/Makefile: ... here.
702
703 2013-04-11 Carlos O'Donell <carlos@redhat.com>
704
705 * math/libm-test.inc (cos_test): Fix PI/2 test.
706 (sincos_test): Likewise.
707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
708 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
709
710 2013-04-11 Andreas Schwab <schwab@suse.de>
711
712 [BZ #13988]
713 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
714 accept exponent character only when digits were seen.
715 * stdio-common/Makefile (tests): Add bug26.
716 * stdio-common/bug26.c: New file.
717
718 [BZ #14293]
719 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
720 non-freeable.
721
722 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
723
724 * Makeconfig (rtld-prefix): Define built linker prefix.
725 * Rules (run-bench): Use it.
726 * math/Makefile (run-regen-ulps): Likewise.
727
728 * Rules (bench): Remove eval.
729
730 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
731 Roland McGrath <roland@hack.frob.com>
732 Ondrej Bilka <neleai@seznam.cz>
733
734 [BZ #15346]
735 * time/getdate.c: Include ctype.h and alloca.h.
736 (__getdate_r): Trim leading and trailing spaces of input.
737 * time/tst-getdate.c (tests): Add tests with leading and
738 trailing spaces.
739
740 2013-04-08 Roland McGrath <roland@hack.frob.com>
741
742 [BZ #14280]
743 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
744 when computing value.
745
746 2013-04-06 Carlos O'Donell <carlos@redhat.com>
747
748 * math/README.libm-test (How can I generate "libm-test-ulps"?):
749 Use testrun.sh to run libm tests.
750
751 [BZ #15309]
752 * elf/dl-open.c (dl_open_worker): memset all of seen array.
753
754 2013-04-06 Marko Myllynen <myllynen@redhat.com>
755
756 [BZ #15264]
757 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
758
759 2013-04-06 Carlos O'Donell <carlos@redhat.com>
760
761 * Makefile.in (regen-ulps): New target.
762 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
763 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
764 [ifneq (no,$(PERL)] (regen-ulps): New target.
765 [ifeq (no,$(PERL)] (regen-ulps): New target.
766 * math/libm-test.inc (ulps_file_name): Define.
767 (output_dir): New variable.
768 (options): Add "output-dir" option.
769 (parse_opt): Handle 'o' case.
770 (main): If output_dir is non-NULL use it as a prefix
771 otherwise use "".
772 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
773
774 2013-04-06 Carlos O'Donell <carlos@redhat.com>
775
776 [BZ #10060, #10062]
777 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
778 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
779 fail configure if __sync_val_compare_and_swap is not inlined.
780 * sysdeps/i386/configure: Regenerate.
781 * configure.in: Build for i686 when configured for i386.
782 * configure: Regenerate.
783 * README: Remove i386 reference.
784
785 2013-04-06 Carlos O'Donell <carlos@redhat.com>
786
787 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
789
790 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
791
792 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
793 (lmsnanval): New variables.
794 (F): Add conversion tests.
795 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
796 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
797
798 * stdio-common/tstdiomisc.c (F): Properly collect individual
799 tests' results.
800
801 [BZ #14686, #15336]
802 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
804 Instead, use input NaN values or generate a qNaN by arithmetic
805 operation. Also fix bugs to comply with the standard.
806 * math/libm-test.inc (remainder_test): Add more tests.
807
808 [BZ #15335, #15342]
809 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
811 input NaN values or generate a qNaN by arithmetic operation.
812
813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
814 unreachable code.
815
816 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
817 definitions.
818
819 2013-04-03 Joseph Myers <joseph@codesourcery.com>
820
821 [BZ #14478]
822 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
823 underflowed result.
824 * math/s_cexpf.c (__cexpf): Likewise.
825 * math/s_cexpl.c (__cexpl): Likewise.
826 * math/libm-test.inc (cexp_test): Add more tests.
827
828 2013-04-03 Andreas Schwab <schwab@suse.de>
829
830 [BZ #15330]
831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
832 order arrays from heap if bigger than alloca cutoff.
833
834 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
835
836 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
837 (SNAN_TESTS_double): Refer to GCC PR56831.
838 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
839 GCC PR56828.
840
841 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 * Rules (bench): Move bench.out after the run is complete.
844
845 * Rules (bench): Echo currently running benchmark.
846
847 * benchtests/Makefile (bench): Add atan and slowatan.
848 * benchtests/atan-inputs: New file.
849 * benchtests/slowatan-inputs: New file.
850 * benchtests/slowatan.c: New file.
851
852 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
854 its value.
855
856 [BZ #15305]
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
859 __ASSUME_XFS_RESTRICTED_CHOWN.
860 * sysdeps/unix/sysv/linux/pathconf.c
861 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
862 Save and restore errno.
863
864 2013-04-02 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #15327]
867 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
868 arguments using __kernel_casinh.
869 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
870 arguments using __kernel_casinhf.
871 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
872 arguments using __kernel_casinhl.
873 * math/libm-test.inc (cacosh_test): Add more tests.
874 * sysdeps/i386/fpu/libm-test-ulps: Update.
875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
876
877 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
878
879 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
881
882 * bench/Makefile (bench): Add sin and slowsin.
883 * benchtests/sin-inputs: New file.
884 * benchtests/slowsin-inputs: New file.
885 * benchtests/slowsin.c: New file.
886
887 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
888 (bench): Add slowexp and slowpow.
889 (exp-ITER): Increase iterations.
890 (pow-ITER): Likewise.
891 * benchtests/exp-inputs: Change input.
892 * benchtests/pow-inputs: Likewise.
893 * benchtests/slowexp-inputs: New file.
894 * benchtests/slowexp.c: New file.
895 * benchtests/slowpow-inputs: New file.
896 * benchtests/slowpow.c: New file.
897
898 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
901 instructions.
902 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
903 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
904 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
905 * benchtests/Makefile: Add rint benchtest.
906 * benchtests/rint-inputs: Input for rint benchtest.
907
908 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
909
910 * Versions.def (libm): Add GLIBC_2.18.
911 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
912 hidden libm prototypes.
913 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
914 * math/Makefile (libm-calls): Add s_issignaling.
915 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
916 __issignalingf, __issignalingl. Adjust all libm.abilist files.
917 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
918 declaration.
919 * math/math.h [__USE_GNU] (issignaling): New macro.
920 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
921 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
923 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
924 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
926 * manual/arith.texi (issignaling): New section.
927 * manual/libm-err-tab.pl (@all_functions): Update comment.
928 * math/gen-libm-test.pl (parse_args): Apply special handling for
929 issignaling.
930 * math/libm-test.inc (print_float, issignaling_test): New
931 functions.
932 (check_float_internal): Add issignaling checks.
933 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
934 default definition.
935 * sysdeps/powerpc/math-tests.h: New file.
936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
937 tests.
938 * math/test-snan.c (TEST_FUNC): Likewise.
939
940 2013-03-30 David S. Miller <davem@davemloft.net>
941
942 * po/de.po: Update from translation team.
943
944 2013-03-30 Joseph Myers <joseph@codesourcery.com>
945
946 [BZ #10357]
947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
948 imaginary part less than 1.0 and real part less than 0.5
949 specially.
950 * math/k_casinhf.c (__kernel_casinhf): Likewise.
951 * math/k_casinhl.c (__kernel_casinhl): Likewise.
952 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
953 (cacos_test): Add more tests.
954 (casin_test): Likewise.
955 (casinh_test): Likewise.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
959 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
960
961 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
962 ONE with its value.
963
964 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
965 (__pow_mp): Replace ONE and MONE with their values.
966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
969 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
972
973 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
974
975 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
976 (__pow_mp): Replace ZERO and MZERO with their values.
977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
982 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
983 (__sqr): Likewise.
984
985 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
986
987 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
988
989 2013-03-28 Roland McGrath <roland@hack.frob.com>
990
991 * include/stdlib.h [!SHARED] (__call_tls_dtors):
992 Declare with __attribute__ ((weak)).
993 * stdlib/exit.c (__libc_atexit) [!SHARED]:
994 Call __call_tls_dtors only if it's not NULL.
995
996 2013-03-28 Roland McGrath <roland@hack.frob.com>
997
998 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
999 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1000 magic __ehdr_start linker symbol if it's defined.
1001 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1002 them up here if it was already done.
1003
1004 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1005 (_dl_aux_init): Use const in cast when setting it.
1006 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1007 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1008 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1009
1010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1011 Declare them here.
1012 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1013 * csu/libc-tls.c: Nor here.
1014 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1015
1016 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1017 (__libc_message): Never call vsyslog.
1018
1019 2013-03-28 Alan Modra <amodra@gmail.com>
1020
1021 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1022 Define as empty.
1023 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1024 Likewise.
1025
1026 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027
1028 [BZ #15214]
1029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1030 underflow.
1031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1032
1033 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1034
1035 [BZ #15304]
1036 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1037 Don't add gid passed as argument.
1038
1039 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1040
1041 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1042
1043 [BZ #15307]
1044 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1045 imaginary part between 1.0 and 1.5 and real part less than 0.5
1046 specially.
1047 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1048 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1049 * math/libm-test.inc (cacos_test): Add more tests.
1050 (casin_test): Likewise.
1051 (casinh_test): Likewise.
1052 * sysdeps/i386/fpu/libm-test-ulps: Update.
1053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1054
1055 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1056
1057 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1058 constants.
1059 (norm): Likewise.
1060 (denorm): Likewise.
1061 (__dbl_mp): Likewise.
1062 (add_magnitudes): Likewise.
1063 (sub_magnitudes): Likewise.
1064 (__add): Likewise.
1065 (__sub): Likewise.
1066 (__mul): Likewise.
1067 (__sqr): Likewise.
1068 (__inv): Likewise.
1069 (__dvd): Likewise.
1070
1071 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1072 commented code.
1073 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1074 (__dubcos): Likewise.
1075 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1076 (__ieee754_acos): Likewise.
1077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1079 (__exp1): Likewise.
1080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1082 (log1): Likewise.
1083 (my_log2): Likewise.
1084 (checkint): Likewise.
1085 * sysdeps/ieee754/dbl-64/e_remainder.c
1086 (__ieee754_remainder): Likewise.
1087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1089 (bsloww): Likewise.
1090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1091
1092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1094 MANTISSA_STORE_T to store computations on mantissa. Use
1095 macros for rounding and division.
1096 (denorm): Likewise.
1097 (__dbl_mp): Likewise.
1098 (add_magnitudes): Likewise.
1099 (sub_magnitudes): Likewise.
1100 (__mul): Likewise.
1101 (__sqr): Likewise.
1102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1103 powers of two in terms of TWOPOW macro.
1104 (mp_no): Make type of mantissa as MANTISSA_T.
1105 [!RADIXI]: Define RADIXI.
1106 [!TWO52]: Define TWO52.
1107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1108
1109 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1112 llroundl symbol when building for PPC32.
1113
1114 2013-03-24 Mark H Weaver <mhw@netris.org>
1115
1116 * manual/arith.texi (Normalization Functions): Fix prototypes for
1117 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1118
1119 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 [BZ #13889]
1122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1123 high value to check if expl overflow.
1124 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1125 to check for underflow and overflow.
1126 * math/libm-test.inc: Add exp test.
1127
1128 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1129
1130 [BZ #11120]
1131 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1132 with NOT_IN_libc.
1133
1134 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1137 symbol.
1138
1139 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1140
1141 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1142 wrap blocks consisting of several statements.
1143
1144 * sysdeps/generic/math-tests.h: New file.
1145 * sysdeps/i386/fpu/math-tests.h: Likewise.
1146 * math/test-snan.c: Include it.
1147 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1148
1149 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #15285]
1152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1153 (__ieee754_j0l): Do not improve calculations using cos of twice
1154 input for inputs above LDBL_MAX / 2.0L.
1155 (__ieee754_y0l): Likewise.
1156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1157 (__ieee754_j1l): Do not improve calculations using cos of twice
1158 input for inputs above LDBL_MAX / 2.0L.
1159 (__ieee754_y1l): Likewise.
1160 * math/libm-test.inc (j0_test): Add another test.
1161 (j1_test): Likewise.
1162 (y0_test): Likewise.
1163 (y1_test): Likewise.
1164 * sysdeps/i386/fpu/libm-test-ulps: Update.
1165
1166 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
1168 * Rules ($(objpfx)bench-%.c): Include code from a C source
1169 file.
1170
1171 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1172
1173 [BZ #15287]
1174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1175 imaginary part 1.0 and real part less than 0.5 specially.
1176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1178 * math/libm-test.inc (cacos_test): Add more tests.
1179 (casin_test): Likewise.
1180 (casinh_test): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183
1184 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
1186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1187 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1188
1189 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1190
1191 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1192 * config.make.in (config-cflags-sse4): Remove variable.
1193 (config-cflags-avx): Likewise.
1194 (config-cflags-sse2avx): Likewise.
1195 (config-cflags-novzeroupper): Likewise.
1196 (config-asflags-i686): Likewise.
1197 (have-mfma4): Likewise.
1198 (have-as-vis3): Likewise.
1199 (MIG): Likewise.
1200 * configure.in (MIG): Do not AC_SUBST.
1201 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1202 (libc_cv_cc_sse4): Do not AC_SUBST.
1203 (libc_cv_cc_avx): Likewise.
1204 (libc_cv_cc_sse2avx): Likewise.
1205 (libc_cv_cc_novzeroupper): Likewise.
1206 (libc_cv_cc_fma4): Likewise.
1207 (libc_cv_as_i686): Likewise.
1208 (libc_cv_sparc_as_vis3): Likewise.
1209 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1210 LIBC_CONFIG_VAR.
1211 (config-asflags-i686): Likewise.
1212 (config-cflags-avx): Likewise.
1213 (config-cflags-sse2avx): Likewise.
1214 (have-mfma4): Likewise.
1215 (config-cflags-novzeroupper): Likewise.
1216 * sysdeps/mach/configure.in (MIG): Likewise.
1217 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1218 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1219 LIBC_CONFIG_VAR.
1220 (config-cflags-avx): Likewise.
1221 (config-cflags-sse2avx): Likewise.
1222 (have-mfma4): Likewise.
1223 (config-cflags-novzeroupper): Likewise.
1224 * configure: Regenerated.
1225 * sysdeps/i386/configure: Likewise.
1226 * sysdeps/mach/configure: Likewise.
1227 * sysdeps/sparc/configure: Likewise.
1228 * sysdeps/x86_64/configure: Likewise.
1229
1230 2013-03-20 Roland McGrath <roland@hack.frob.com>
1231
1232 [BZ #14812]
1233 * locale/programs/localedef.c (options): Put N_ translation marker
1234 on argument names, not just descriptions.
1235
1236 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1237
1238 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1239
1240 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1241
1242 [BZ #14176]
1243 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1244
1245 2013-03-19 Roland McGrath <roland@hack.frob.com>
1246
1247 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1248 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1249 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1250 [!BEFORE_ABORT] (before_abort): New function.
1251 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1252 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1253 (writev_for_fatal): New function.
1254 (WRITEV_FOR_FATAL): New macro; call that.
1255 (backtrace_and_maps): New function.
1256 (BEFORE_ABORT): New macro; call that.
1257 (struct str_list): Type removed.
1258 (__libc_message, __libc_fatal): Functions removed.
1259 Include <sysdeps/posix/libc_fatal.c> instead.
1260
1261 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1262
1263 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1264 constants.
1265 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1266 double constants.
1267
1268 2013-03-19 Andreas Schwab <schwab@suse.de>
1269
1270 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1271 * sysdeps/gnu/configure: Regenerate.
1272
1273 * configure.in: Substitute libc_cv_rtlddir.
1274 * configure: Regenerate.
1275 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1276 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1277 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1278 * elf/Makefile (install-others, CFLAGS-interp.c)
1279 (ldso_install, common-ldd-rewrite): Likewise.
1280 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1281 $(inst_slibdir)/$(rtld-installed-name).
1282 * scripts/rellns-sh: Add -p option.
1283 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1284 for source.
1285
1286 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1287
1288 * manual/nptl.texi: Renamed to ...
1289 * manual/threads.texi: ... this.
1290 * manual/Makefile (chapters): Update.
1291
1292 2013-03-18 Roland McGrath <roland@hack.frob.com>
1293
1294 [BZ #14812]
1295 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1296 on argument names, not just descriptions.
1297 * malloc/memusagestat.c (options): Likewise.
1298 * nss/getent.c (options): Likewise.
1299
1300 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1301
1302 [BZ #14812]
1303 * iconv/iconv_prog.c (options): Put N_ translation marker
1304 on argument names, not just descriptions.
1305 * iconv/iconvconfig.c (options): Likewise.
1306
1307 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1308
1309 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1310 implementation which is faster on all x86_64 architectures.
1311 Tested on AMD, Intel Nehalem, SNB, IVB.
1312 * sysdeps/x86_64/strnlen.S: Likewise.
1313
1314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1315 Remove all multiarch strlen and strnlen versions.
1316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1317 Remove strlen and strnlen related parts.
1318
1319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1320 Inline strlen part.
1321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1322
1323 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1324 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1325 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1326 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1327 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1329
1330 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1331
1332 * manual/memory.texi (Malloc Tunable Parameters):
1333 Sort parameters alphabetically. Add comments for missing entries.
1334
1335 2013-03-17 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1338
1339 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1340
1341 [BZ #15283]
1342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1343 for arguments at most half maximum finite value.
1344 * math/libm-test.inc (j0_test): Add more tests.
1345 (j1_test): Likewise.
1346 (y0_test): Likewise.
1347 (y1_test): Likewise.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350
1351 [BZ #14155]
1352 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1353 1 / x and functions P and Q for arguments above 0x1p256L.
1354 (__ieee754_y0l): Likewise.
1355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1356 (__ieee754_y1l): Likewise.
1357 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1358 (j1_test): Likewise.
1359 (y0_test): Likewise.
1360 (y1_test): Likewise.
1361
1362 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1363
1364 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1365 variable.
1366
1367 2013-03-15 Roland McGrath <roland@hack.frob.com>
1368
1369 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1370 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1371 zero since it's initialized to EXEC_PAGESIZE.
1372
1373 * sysdeps/unix/sysv/linux/ldsodefs.h
1374 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1375 * sysdeps/generic/ldsodefs.h: ... here.
1376
1377 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1378
1379 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1380
1381 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1382 math/test-snan.c.
1383 * math/test-snan.c: Renamed from
1384 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1385 * math/Makefile (tests): Add test-snan.
1386 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1387 test-powerpc-snan.
1388
1389 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1390 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1391 functions.
1392 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1393 __builtin_nan family of functions.
1394 * math/libm-test.inc (initialize): Initialize qnan_value with
1395 __builtin_nan family of functions.
1396 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1397 Remove variables.
1398 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1399 Remove functions.
1400 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1401 storage class. Initialize qNaN_var and sNaN_var with
1402 __builtin_nan and __builtin_nans families of functions,
1403 respectively.
1404
1405 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1406 (sqrt_test): Remove duplicate test with qNaN input.
1407 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1408 (round_test, signbit_test, significand_test): Note missing +/-Inf
1409 as well as qNaN tests.
1410
1411 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1412 qNaN_var. Fix a few strings, too.
1413 * math/libm-test.inc (nan_value): Rename to qnan_value.
1414 * math/gen-libm-test.pl (%beautify): Adjust to that.
1415 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1416 * math/test-misc.c (main): Likewise.
1417 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1418 to __qnan_bytes, and __qnan_union, respectively.
1419 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1420 Likewise.
1421 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1422 and lqnanval, respectively.
1423 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1424 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1425 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1426 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1427
1428 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1429 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1430 doubles.
1431
1432 * math/test-misc.c (main): Fix copy'n'pastos.
1433 * misc/tst-efgcvt.c (special): Likewise.
1434
1435 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1436 Remove declarations.
1437
1438 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
1440 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1441 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1442 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1443 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1444
1445 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1448 macro to return vdso values correctly in IFUNC implementations.
1449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1450 Optimization by using IFUNC.
1451
1452 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1453 Richard Henderson <rth@redhat.com>
1454 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1455
1456 * Makefile.in (bench): New target.
1457 * NEWS: Mention the benchmark framework.
1458 * Rules (bench): Likewise.
1459 (binaries-bench): Generate binaries for functions to
1460 benchmark.
1461 * benchtests/Makefile: New makefile for benchmark tests.
1462 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1463 programs.
1464 * benchtests/exp-inputs: New input file for EXP function.
1465 * benchtests/pow-inputs: New input file for POW function.
1466 * scripts/bench.pl: New script to generate source files for
1467 benchmark programs.
1468
1469 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1470
1471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1473 computations on mantissa. Use macros for rounding and
1474 division.
1475 (denorm): Likewise.
1476 (__dbl_mp): Likewise.
1477 (add_magnitudes): Likewise.
1478 (sub_magnitudes): Likewise.
1479 (__mul): Likewise.
1480 (__sqr): Likewise.
1481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1482 powers of two in terms of TWOPOW macro.
1483 (mp_no): Make type of mantissa as MANTISSA_T.
1484 [!RADIXI]: Define RADIXI.
1485 [!TWO52]: Define TWO52.
1486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1487
1488 * manual/nptl.texi (cindex): Modify threads to pthreads.
1489
1490 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1491
1492 * sysdeps/x86_64/preconfigure: Regenerated.
1493
1494 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1495
1496 [BZ #14155]
1497 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1498 0x1p28 and above.
1499 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1500 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1501 0x1p28 and above.
1502 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1503 * math/libm-test.inc (j0_test): Do not allow one spurious
1504 underflow exception.
1505 (y1_test): Likewise.
1506
1507 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1508
1509 * manual/Makefile (chapters): Add nptl.
1510 * manual/debug.texi (Debugging Support): Add link to Threads
1511 chapter.
1512 * manual/nptl.texi: New file.
1513
1514 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1515
1516 2013-03-14 Petr Baudis <pasky@ucw.cz>
1517
1518 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1519 for non-NULL pointer before the memory validity test. Pointed
1520 out by Holger Brunck <holger.brunck@keymile.com>.
1521
1522 2013-03-13 Andreas Schwab <schwab@suse.de>
1523
1524 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1525 instead of .os.
1526
1527 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1528
1529 * timezone/zic.c: Update from tzcode 2013b.
1530
1531 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1532
1533 * manual/install.texi (Configuring and compiling):
1534 Mention i686 and i586.
1535 * INSTALL: Regenerate.
1536
1537 2013-03-12 Roland McGrath <roland@hack.frob.com>
1538
1539 * sysdeps/init_array/elf-init.c: New file.
1540 * csu/elf-init.c
1541 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1542 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1543
1544 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1545 __gmon_start__ as global, but as static with a .preinit_array pointer.
1546 * sysdeps/init_array/gmon-start.c: New file. Use that.
1547 * sysdeps/init_array/crti.S: New file, empty except for comments.
1548 * sysdeps/init_array/crtn.S: Likewise.
1549
1550 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1551
1552 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1553 definining bcopy.
1554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1555 Remove Prefer_SSE_for_memop.
1556 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1557 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1558 HAS_PREFER_SSE_FOR_MEMOP.
1559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1560 memset-x86-64.
1561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1562 Remove bzero, memset ifunc support.
1563 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1567
1568 2013-03-11 Andreas Schwab <schwab@suse.de>
1569
1570 [BZ #15234]
1571 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1572 by SHLIB_COMPAT.
1573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1574 (GLIBC_2.16): Remove pthread_atfork.
1575
1576 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1577
1578 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1579 (ptestcases.h): Likewise.
1580
1581 2013-03-08 Roland McGrath <roland@hack.frob.com>
1582
1583 * Makeconfig ($(common-objpfx)config.status): Depend on
1584 sysdeps/*/preconfigure{,.in} too.
1585
1586 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1587
1588 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1589 (__free_hook): Use void * instead of __malloc_ptr_t.
1590 (__malloc_hook): Likewise.
1591 (__realloc_hook): Likewise.
1592 (__memalign_hook): Likewise.
1593 (__after_morecore_hook): Likewise.
1594 * malloc/arena.c (save_malloc_hook): Likewise.
1595 (save_free_hook): Likewise.
1596 * malloc/hooks.c (malloc_hook_ini): Likewise.
1597 (realloc_hook_ini): Likewise.
1598 (memalign_hook_ini): Likewise.
1599 * malloc/malloc.c (malloc_hook_ini): Likewise.
1600 (realloc_hook_ini): Likewise.
1601 (memalign_hook_ini): Likewise.
1602 (__free_hook): Likewise.
1603 (__malloc_hook): Likewise.
1604 (__realloc_hook): Likewise.
1605 (__memalign_hook): Likewise.
1606 (__libc_malloc): Likewise.
1607 (__libc_free): Likewise.
1608 (__libc_realloc): Likewise.
1609 (__libc_memalign): Likewise.
1610 (__libc_valloc): Likewise.
1611 (__libc_pvalloc): Likewise.
1612 (__libc_calloc): Likewise.
1613 (__posix_memalign): Likewise.
1614 * malloc/morecore.c (__sbrk): Likewise.
1615 (__default_morecore): Likewise.
1616
1617 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1618
1619 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1620 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1621 __malloc_ptrdiff_t.
1622
1623 * malloc/malloc.h (__malloc_size_t): Remove macro.
1624 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1625 __malloc_size_t.
1626 (old_memalign_hook): Likewise.
1627 (old_realloc_hook): Likewise.
1628 (struct hdr): Likewise.
1629 (flood): Likewise.
1630 (mallochook): Likewise.
1631 (memalignhook): Likewise.
1632 (reallochook): Likewise.
1633 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1634 (tr_old_realloc_hook): Likewise.
1635 (tr_old_memalign_hook): Likewise.
1636 (tr_mallochook): Likewise.
1637 (tr_reallochook): Likewise.
1638 (tr_memalignhook): Likewise.
1639
1640 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1643 default_ldbl_pack and using as default implementation.
1644 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1645 implementation.
1646 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1647 redundant definition.
1648 (ldbl_insert_mantissa): Likewise.
1649 (ldbl_canonicalize): Likewise.
1650 (ldbl_nearbyint): Likewise.
1651 (ldbl_pack): Rename to ldbl_pack_ppc.
1652 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1653 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1654 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1655
1656 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1657
1658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1659 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1661 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1664 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1665 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1666
1667 2013-03-07 Andreas Jaeger <aj@suse.de>
1668
1669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1670 bits/mman-linux.h.
1671
1672 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1673
1674 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1675 Include mpa.h and declare __MPEXP.
1676 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1678 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1683
1684 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1685 (__slowpow): Use long double EXPL and LOGL functions to
1686 compute POW.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1688 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1692 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1693
1694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1695 intermediate variable to calculate exponent.
1696 (__sqr): Likewise.
1697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1698 Likewise.
1699 (__sqr): Likewise.
1700
1701 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1702 [!NO__SQR]: Define __sqr.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1704 and NO__SQR. Remove all code except __mul and __sqr. Include
1705 sysdeps/ieee754/dbl-64/mpa.c.
1706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1707
1708 [BZ #12723]
1709 * posix/Makefile (tests): Add tst-pathconf.
1710 * posix/tst-pathconf.c: New test case.
1711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1712 _PC_PIPE_BUF.
1713 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1714
1715 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1716
1717 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1718
1719 2013-03-06 Andreas Jaeger <aj@suse.de>
1720
1721 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1722 definition via __MAP_ANONYMOUS.
1723
1724 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1725 it's not part of Linux headers.
1726
1727 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1728 (MAP_HUGE_MASK): Define.
1729
1730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1731 Define.
1732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1734 Define.
1735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1736 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1737 Define.
1738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1740 Define.
1741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1742
1743 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1744 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1745 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1746 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1747 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1749
1750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1751 Handle f2fs.
1752
1753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1754 Handle f2fs and efivarfs.
1755
1756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1757 f2fs.
1758
1759 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1760 (EFIVARFS_MAGIC): Add.
1761 (F2FS_LINK_MAX): Add.
1762
1763 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1764
1765 * stdio-common/vfprintf.c: Replace __builtin_expect with
1766 __glibc_unlikely.
1767
1768 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1769
1770 [BZ #13550]
1771 * sysdeps/generic/bp-sym.h: Remove file.
1772 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1773 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1774 <bp-sym.h> and <bp-asm.h>.
1775 (__longjmp): Don't use BP_SYM.
1776 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1777 and <bp-asm.h>.
1778 (memcpy): Don't use BP_SYM.
1779 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (memcpy): Don't use BP_SYM.
1782 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1783 <bp-asm.h>.
1784 (memcpy): Don't use BP_SYM.
1785 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1786 <bp-asm.h>.
1787 (memset): Don't use BP_SYM.
1788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1790 (__bzero): Don't use BP_SYM.
1791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1794 <bp-sym.h> and <bp-asm.h>.
1795 (memcmp): Don't use BP_SYM. Remove comment about bounded
1796 pointers.
1797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1798 <bp-sym.h> and <bp-asm.h>.
1799 (memcpy): Don't use BP_SYM.
1800 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1801 <bp-sym.h> and <bp-asm.h>.
1802 (memset): Don't use BP_SYM.
1803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1805 (__bzero): Don't use BP_SYM.
1806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1809 <bp-sym.h> and <bp-asm.h>.
1810 (strncmp): Don't use BP_SYM. Remove comment about bounded
1811 pointers.
1812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1813 <bp-sym.h> and <bp-asm.h>.
1814 (memcpy): Don't use BP_SYM.
1815 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1816 <bp-sym.h> and <bp-asm.h>.
1817 (memset): Don't use BP_SYM.
1818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1820 (__bzero): Don't use BP_SYM.
1821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1824 <bp-sym.h> and <bp-asm.h>.
1825 (__memchr): Don't use BP_SYM.
1826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (memcmp): Don't use BP_SYM. Remove comment about bounded
1829 pointers.
1830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1831 <bp-sym.h> and <bp-asm.h>.
1832 (memcpy): Don't use BP_SYM.
1833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1834 <bp-sym.h> and <bp-asm.h>.
1835 (__mempcpy): Don't use BP_SYM.
1836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1837 <bp-sym.h> and <bp-asm.h>.
1838 (__memrchr): Don't use BP_SYM.
1839 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1840 <bp-sym.h> and <bp-asm.h>.
1841 (memset): Don't use BP_SYM.
1842 (__bzero): Likewise.
1843 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1844 <bp-sym.h> and <bp-asm.h>.
1845 (__rawmemchr): Don't use BP_SYM.
1846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1847 <bp-sym.h> and <bp-asm.h>.
1848 (__STRCMP): Don't use BP_SYM.
1849 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1850 <bp-sym.h> and <bp-asm.h>.
1851 (strchr): Don't use BP_SYM.
1852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1853 <bp-sym.h> and <bp-asm.h>.
1854 (__strchrnul): Don't use BP_SYM.
1855 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1856 <bp-sym.h> and <bp-asm.h>.
1857 (strlen): Don't use BP_SYM.
1858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1859 <bp-sym.h> and <bp-asm.h>.
1860 (strncmp): Don't use BP_SYM. Remove comment about bounded
1861 pointers.
1862 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1863 <bp-sym.h> and <bp-asm.h>.
1864 (__strnlen): Don't use BP_SYM.
1865 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1866 <bp-sym.h> and <bp-asm.h>.
1867 (__GI__setjmp): Don't use BP_SYM.
1868 (_setjmp): Likewise.
1869 (__sigsetjmp): Likewise.
1870 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1871 (L(start_addresses)): Don't use BP_SYM.
1872 (_start): Likewise.
1873 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1874 <bp-asm.h>.
1875 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1876 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1877 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1878 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1879 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1880 <bp-asm.h>.
1881 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1882 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1883 about bounded pointers.
1884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1886 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1887 <bp-asm.h>.
1888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1889 about bounded pointers. Remove GKM FIXME comments.
1890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1891 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1892 <bp-asm.h>.
1893 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1894 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1895 Remove GKM FIXME comments.
1896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1898 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1899 <bp-asm.h>.
1900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1901 about bounded pointers. Remove GKM FIXME comment.
1902 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1903 and <bp-asm.h>.
1904 (strncmp): Don't use BP_SYM. Remove comment about bounded
1905 pointers.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1907 <bp-sym.h> and <bp-asm.h>.
1908 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1910 <bp-sym.h> and <bp-asm.h>.
1911 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1912 comment.
1913
1914 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1915
1916 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1917 call free(NULL).
1918
1919 2013-03-05 David S. Miller <davem@davemloft.net>
1920
1921 * po/es.po: Update from translation team.
1922
1923 2013-03-05 Andreas Jaeger <aj@suse.de>
1924
1925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1926 <bits/mman-linux.h>.
1927 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1928 is fine.
1929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1930 <bits/mman-linux.h> to end of file.
1931 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1932 is fine.
1933 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1934 <bits/mman-linux.h> to end of file.
1935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1936 is fine.
1937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1938 <bits/mman-linux.h> to end of file.
1939
1940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1941 (MCL_CURRENT, MCL_FUTURE): Define here.
1942
1943 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1944
1945 [BZ #15232]
1946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1947 attribute_hidden.
1948 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1949
1950 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1951
1952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1953 fourth parameter needed for rt_sigprocmask syscall.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1955 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1958 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1960
1961 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1962
1963 [BZ #13550]
1964 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1965 comment about bounded pointers.
1966 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1967 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1968
1969 2013-03-04 Andreas Jaeger <aj@suse.de>
1970
1971 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1972 common definitions.
1973
1974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1975 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1980
1981 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
1983 [BZ #15055]
1984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1985 __ieee754_sqrl instead of __sqrl.
1986
1987 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1988
1989 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1990 * sysdeps/powerpc/fpu_control.h: ... here.
1991 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1992 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1993 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1994 * sysdeps/powerpc/bits/mathinline.h: ... here.
1995
1996 2013-03-01 Roland McGrath <roland@hack.frob.com>
1997
1998 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1999 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2000 to just [NEED_DL_SYSINFO_DSO].
2001 * elf/dl-support.c: Likewise.
2002 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2003 * elf/rtld.c (dl_main): Likewise.
2004 * elf/setup-vdso.h (setup_vdso): Likewise.
2005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2006 * sysdeps/unix/sysv/linux/dl-sysdep.c
2007 (_dl_discover_osversion): Likewise.
2008
2009 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2010
2011 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2013
2014 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
2016 * NEWS: Mention libm performance improvements and non-x86 PI
2017 futex support.
2018
2019 * csu/libc-start.c (__pthread_initialize_minimal): Change
2020 function arguments.
2021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2022
2023 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2024
2025 [BZ #13550]
2026 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2027 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2028 <bp-sym.h> and <bp-asm.h>.
2029 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2031 and <bp-asm.h>.
2032 (memcpy): Don't use BP_SYM.
2033 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2034 <bp-asm.h>.
2035 (__mpn_add_n): Don't use BP_SYM.
2036 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2037 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2038 and <bp-asm.h>.
2039 (__mpn_addmul_1): Don't use BP_SYM.
2040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2041 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2042 <bp-sym.h>.
2043 (_setjmp): Don't use BP_SYM.
2044 (__novmx_setjmp): Likewise.
2045 (__GI__setjmp): Likewise.
2046 (__vmx_setjmp): Likewise.
2047 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2048 <bp-sym.h>.
2049 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2050 (__bzero): Don't use BP_SYM.
2051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2053 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2054 <bp-sym.h> and <bp-asm.h>.
2055 (memcpy): Don't use BP_SYM.
2056 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2057 <bp-sym.h> and <bp-asm.h>.
2058 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2059 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2060 <bp-sym.h> and <bp-asm.h>.
2061 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2062 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2063 <bp-asm.h>.
2064 (__mpn_lshift): Don't use BP_SYM.
2065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2067 <bp-asm.h>.
2068 (memset): Don't use BP_SYM.
2069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2071 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2072 <bp-asm.h>.
2073 (__mpn_mul_1): Don't use BP_SYM.
2074 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2076 <bp-sym.h> and <bp-asm.h>.
2077 (memcmp): Don't use BP_SYM.
2078 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2079 <bp-sym.h> and <bp-asm.h>.
2080 (memcpy): Don't use BP_SYM.
2081 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2082 <bp-sym.h> and <bp-asm.h>.
2083 (memset): Don't use BP_SYM.
2084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2085 <bp-sym.h> and <bp-asm.h>.
2086 (strncmp): Don't use BP_SYM.
2087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2088 <bp-sym.h> and <bp-asm.h>.
2089 (memcpy): Don't use BP_SYM.
2090 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2091 <bp-sym.h> and <bp-asm.h>.
2092 (memset): Don't use BP_SYM.
2093 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2094 <bp-sym.h> and <bp-asm.h>.
2095 (__memchr): Don't use BP_SYM.
2096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2097 <bp-sym.h> and <bp-asm.h>.
2098 (memcmp): Don't use BP_SYM.
2099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2100 <bp-sym.h> and <bp-asm.h>.
2101 (memcpy): Don't use BP_SYM.
2102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (__mempcpy): Don't use BP_SYM.
2105 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (__memrchr): Don't use BP_SYM.
2108 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2109 <bp-sym.h> and <bp-asm.h>.
2110 (memset): Don't use BP_SYM.
2111 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2112 <bp-sym.h> and <bp-asm.h>.
2113 (__rawmemchr): Don't use BP_SYM.
2114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2115 <bp-sym.h> and <bp-asm.h>.
2116 (__STRCMP): Don't use BP_SYM.
2117 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2118 <bp-sym.h> and <bp-asm.h>.
2119 (strchr): Don't use BP_SYM.
2120 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2121 <bp-sym.h> and <bp-asm.h>.
2122 (__strchrnul): Don't use BP_SYM.
2123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2124 <bp-sym.h> and <bp-asm.h>.
2125 (strlen): Don't use BP_SYM.
2126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2127 <bp-sym.h> and <bp-asm.h>.
2128 (strncmp): Don't use BP_SYM.
2129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2130 <bp-sym.h> and <bp-asm.h>.
2131 (__strnlen): Don't use BP_SYM.
2132 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2133 <bp-asm.h>.
2134 (__mpn_rshift): Don't use BP_SYM.
2135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2137 <bp-sym.h> and <bp-asm.h>.
2138 (__sigsetjmp): Don't use BP_SYM.
2139 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2140 (L(start_addresses)): Don't use BP_SYM.
2141 (_start): Likewise.
2142 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2143 <bp-asm.h>.
2144 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2147 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2148 <bp-asm.h>.
2149 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2150 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2151 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2152 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2153 <bp-asm.h>.
2154 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2155 comments.
2156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2157 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2158 <bp-asm.h>.
2159 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2160 FIXME comments.
2161 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2162 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2163 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2164 <bp-asm.h>.
2165 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2166 comment.
2167 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2168 and <bp-asm.h>.
2169 (strncmp): Don't use BP_SYM,
2170 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2171 <bp-asm.h>.
2172 (__mpn_sub_n): Don't use BP_SYM.
2173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2174 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2175 and <bp-asm.h>.
2176 (__mpn_submul_1): Don't use BP_SYM.
2177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2179 <bp-sym.h> and <bp-asm.h>.
2180 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2182 <bp-sym.h> and <bp-asm.h>.
2183 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2184 comment.
2185
2186 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2187
2188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2189 Use ZK to minimize writes to Z.
2190 (sub_magnitudes): Simplify code a bit.
2191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2192 Use ZK to minimize writes to Z.
2193 (sub_magnitudes): Simplify code a bit.
2194
2195 2013-02-27 Roland McGrath <roland@hack.frob.com>
2196
2197 * csu/gmon-start.c: Add special exception to license text.
2198
2199 2013-02-27 Richard Henderson <rth@redhat.com>
2200
2201 * scripts/config.guess: Update from config.git.
2202 * scripts/config.sub: Likewise.
2203
2204 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2207
2208 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2209
2210 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2211
2212 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2213
2214 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2215
2216 2013-02-26 Roland McGrath <roland@hack.frob.com>
2217
2218 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2219 [$(build-shared = yes].
2220
2221 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2222
2223 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2224 (__mul): Reduce iterations for calculating mantissa.
2225
2226 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2227 MPTWO.
2228 (__mpranred): Likewise.
2229
2230 [BZ #15160]
2231 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2232 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2233
2234 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2235
2236 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2237 Define __attribute__.
2238
2239 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2240
2241 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2242 unused.
2243 * posix/regex_internal.h (__attribute): Remove.
2244 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2245 (re_string_context_at): Likewise.
2246 (bitset_not): Use __attribute__ and mark function as possibly
2247 unused.
2248 (bitset_merge): Likewise.
2249 (bitset_mask): Likewise.
2250 (re_string_char_size_at): Likewise.
2251 (re_string_wchar_at): Likewise.
2252 (re_string_elem_size_at): Likewise.
2253
2254 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2255
2256 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2257 code.
2258 (cc32): Likewise.
2259
2260 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2261 (__acr): Likewise.
2262 (__cpy): Likewise.
2263 (norm): Likewise.
2264 (denorm): Likewise.
2265 (__dbl_mp): Likewise.
2266 (add_magnitudes): Likewise.
2267 (sub_magnitudes): Likewise.
2268 (__mul): Likewise.
2269 (__inv): Likewise.
2270
2271 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2272 style.
2273
2274 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2275 style.
2276
2277 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2278 code.
2279
2280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2281 up changes with default code.
2282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2283 Likewise.
2284
2285 2013-02-24 Allan McRae <allan@archlinux.org>
2286
2287 * manual/socket.texi (The Internet Namespace): Order menu items
2288 to match that in the file.
2289
2290 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2291 node listing of the info page menu.
2292
2293 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2294
2295 [BZ #13550]
2296 * sysdeps/i386/bp-asm.h: Remove file.
2297 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2298 (PARMS): Do not use macros from bp-asm.h.
2299 (S1): Likewise.
2300 (S2): Likewise.
2301 (SIZE): Likewise.
2302 (__mpn_add_n): Do not use BP_SYM
2303 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2304 "bp-asm.h".
2305 (PARMS): Do not use macros from bp-asm.h.
2306 (S1): Likewise.
2307 (SIZE): Likewise.
2308 (__mpn_addmul_1): Do not use BP_SYM
2309 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2310 "bp-asm.h".
2311 (PARMS): Do not use macros from bp-asm.h.
2312 (SIGMSK): Likewise.
2313 (_setjmp): Likewise. Do not use BP_SYM.
2314 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2315 "bp-asm.h".
2316 (PARMS): Do not use macros from bp-asm.h.
2317 (SIGMSK): Likewise.
2318 (setjmp): Likewise. Do not use BP_SYM.
2319 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2320 "bp-asm.h".
2321 (PARMS): Do not use macros from bp-asm.h.
2322 (__frexp): Do not use BP_SYM.
2323 (frexp): Likewise.
2324 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2325 "bp-asm.h".
2326 (PARMS): Do not use macros from bp-asm.h.
2327 (__frexpf): Do not use BP_SYM.
2328 (frexpf): Likewise.
2329 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2330 "bp-asm.h".
2331 (PARMS): Do not use macros from bp-asm.h.
2332 (__frexpl): Do not use BP_SYM.
2333 (frexpl): Likewise.
2334 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2335 "bp-asm.h".
2336 (PARMS): Do not use macros from bp-asm.h.
2337 (__remquo): Do not use BP_SYM.
2338 (remquo): Likewise.
2339 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2340 "bp-asm.h".
2341 (PARMS): Do not use macros from bp-asm.h.
2342 (__remquof): Do not use BP_SYM.
2343 (remquof): Likewise.
2344 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2345 "bp-asm.h".
2346 (PARMS): Do not use macros from bp-asm.h.
2347 (__remquol): Do not use BP_SYM.
2348 (remquol): Likewise.
2349 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2350 "bp-asm.h".
2351 (PARMS): Do not use macros from bp-asm.h.
2352 (DEST): Likewise.
2353 (SRC): Likewise.
2354 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2355 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2356 "bp-asm.h".
2357 (PARMS): Do not use macros from bp-asm.h.
2358 (strlen): Do not use BP_SYM.
2359 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2360 "bp-asm.h".
2361 (PARMS): Do not use macros from bp-asm.h.
2362 (S1): Likewise.
2363 (S2): Likewise.
2364 (SIZE): Likewise.
2365 (__mpn_add_n): Do not use BP_SYM.
2366 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2367 "bp-asm.h".
2368 (PARMS): Do not use macros from bp-asm.h.
2369 (S1): Likewise.
2370 (SIZE): Likewise.
2371 (__mpn_addmul_1): Do not use BP_SYM.
2372 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2373 weak_alias.
2374 (bzero): Likewise.
2375 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2376 "bp-asm.h".
2377 (PARMS): Do not use macros from bp-asm.h.
2378 (S): Likewise.
2379 (SIZE): Likewise.
2380 (__mpn_lshift): Do not use BP_SYM.
2381 * sysdeps/i386/i586/memcpy.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 (LEN): Likewise.
2387 (memcpy): Likewise. Do not use BP_SYM.
2388 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2389 libc_hidden_def and weak_alias.
2390 (mempcpy): Do not use BP_SYM in weak_alias.
2391 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2392 "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2394 (DEST): Likewise.
2395 (LEN): Likewise.
2396 [!BZERO_P] (CHR): Likewise.
2397 (memset): Likewise. Do not use BP_SYM.
2398 * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
2404 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2405 "bp-asm.h".
2406 (PARMS): Do not use macros from bp-asm.h.
2407 (S): Likewise.
2408 (SIZE): Likewise.
2409 (__mpn_rshift): Do not use BP_SYM.
2410 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2411 "bp-asm.h".
2412 (PARMS): Do not use macros from bp-asm.h.
2413 (STR): Likewise.
2414 (CHR): Likewise.
2415 (strchr): Likewise. Do not use BP_SYM.
2416 (index): Do not use BP_SYM in weak_alias.
2417 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2418 "bp-asm.h".
2419 (PARMS): Do not use macros from bp-asm.h.
2420 (DEST): Likewise.
2421 (SRC): Likewise.
2422 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2423 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2424 "bp-asm.h".
2425 (PARMS): Do not use macros from bp-asm.h.
2426 (strlen): Do not use BP_SYM.
2427 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2428 "bp-asm.h".
2429 (PARMS): Do not use macros from bp-asm.h.
2430 (S1): Likewise.
2431 (S2): Likewise.
2432 (SIZE): Likewise.
2433 (__mpn_sub_n): Do not use BP_SYM.
2434 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2435 "bp-asm.h".
2436 (PARMS): Do not use macros from bp-asm.h.
2437 (S1): Likewise.
2438 (SIZE): Likewise.
2439 (__mpn_submul_1): Do not use BP_SYM.
2440 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2441 "bp-asm.h".
2442 (PARMS): Do not use macros from bp-asm.h.
2443 (S1): Likewise.
2444 (S2): Likewise.
2445 (SIZE): Likewise.
2446 (__mpn_add_n): Do not use BP_SYM.
2447 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2448 weak_alias.
2449 (bzero): Likewise.
2450 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2451 "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2453 (BLK2): Likewise.
2454 (LEN): Likewise.
2455 (memcmp): Do not use BP_SYM.
2456 (bcmp): Do not use BP_SYM in weak_alias.
2457 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2458 "bp-asm.h".
2459 (PARMS): Do not use macros from bp-asm.h.
2460 (DEST): Likewise.
2461 (SRC): Likewise.
2462 (LEN): Likewise.
2463 (memcpy): Likewise. Do not use BP_SYM.
2464 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2465 "bp-asm.h".
2466 (PARMS): Do not use macros from bp-asm.h.
2467 (DEST): Likewise.
2468 (SRC): Likewise.
2469 (LEN): Likewise.
2470 (memmove): Likewise. Do not use BP_SYM.
2471 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2472 "bp-asm.h".
2473 (PARMS): Do not use macros from bp-asm.h.
2474 (DEST): Likewise.
2475 (SRC): Likewise.
2476 (LEN): Likewise.
2477 (__mempcpy): Likewise. Do not use BP_SYM.
2478 (mempcpy): Do not use BP_SYM in weak_alias.
2479 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2480 "bp-asm.h".
2481 (PARMS): Do not use macros from bp-asm.h.
2482 (DEST): Likewise.
2483 (LEN): Likewise.
2484 [!BZERO_P] (CHR): Likewise.
2485 (memset): Likewise. Do not use BP_SYM.
2486 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2487 "bp-asm.h".
2488 (PARMS): Do not use macros from bp-asm.h.
2489 (STR2): Likewise.
2490 (strcmp): Do not use BP_SYM.
2491 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2492 "bp-asm.h".
2493 (PARMS): Do not use macros from bp-asm.h.
2494 (STR): Likewise.
2495 (DELIM): Likewise.
2496 [USE_AS_STRTOK_R] (SAVE): Likewise.
2497 (FUNCTION): Likewise. Do not use BP_SYM.
2498 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2499 aliases.
2500 (strtok_r): Likewise.
2501 (__GI___strtok_r): Likewise.
2502 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2503 (PARMS): Do not use macros from bp-asm.h.
2504 (S): Likewise.
2505 (SIZE): Likewise.
2506 (__mpn_lshift): Do not use BP_SYM.
2507 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2508 (PARMS): Do not use macros from bp-asm.h.
2509 (STR): Likewise.
2510 (CHR): Likewise.
2511 (__memchr): Do not use BP_SYM.
2512 (memchr): Do not use BP_SYM in weak_alias.
2513 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2514 (PARMS): Do not use macros from bp-asm.h.
2515 (BLK2): Likewise.
2516 (LEN): Likewise.
2517 (memcmp): Do not use BP_SYM.
2518 (bcmp): Do not use BP_SYM in weak_alias.
2519 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2520 (PARMS): Do not use macros from bp-asm.h.
2521 (S1): Likewise.
2522 (SIZE): Likewise.
2523 (__mpn_mul_1): Do not use BP_SYM.
2524 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (STR): Likewise.
2528 (CHR): Likewise.
2529 (__rawmemchr): Do not use BP_SYM.
2530 (rawmemchr): Do not use BP_SYM in weak_alias.
2531 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (S): Likewise.
2534 (SIZE): Likewise.
2535 (__mpn_rshift): Do not use BP_SYM.
2536 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (SIGMSK): Likewise.
2539 (__sigsetjmp): Likewise. Do not use BP_SYM.
2540 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2541 (_start): Do not use BP_SYM.
2542 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2544 (DEST): Likewise.
2545 (SRC): Likewise.
2546 (__stpcpy): Likewise. Do not use BP_SYM.
2547 (stpcpy): Do not use BP_SYM in weak_alias.
2548 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2549 "bp-asm.h".
2550 (PARMS): Do not use macros from bp-asm.h.
2551 (DEST): Likewise.
2552 (SRC): Likewise.
2553 (LEN): Likewise.
2554 (__stpncpy): Likewise. Do not use BP_SYM.
2555 (stpncpy): Do not use BP_SYM in weak_alias.
2556 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (STR): Likewise.
2559 (CHR): Likewise.
2560 (strchr): Likewise. Do not use BP_SYM.
2561 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2562 "bp-asm.h".
2563 (PARMS): Do not use macros from bp-asm.h.
2564 (STR): Likewise.
2565 (CHR): Likewise.
2566 (__strchrnul): Likewise. Do not use BP_SYM.
2567 (strchrnul): Do not use BP_SYM in weak_alias.
2568 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2569 "bp-asm.h".
2570 (PARMS): Do not use macros from bp-asm.h.
2571 (STOP): Likewise.
2572 (strcspn): Do not use BP_SYM.
2573 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2574 "bp-asm.h".
2575 (PARMS): Do not use macros from bp-asm.h.
2576 (STR): Likewise.
2577 (STOP): Likewise.
2578 (strpbrk): Likewise. Do not use BP_SYM.
2579 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2580 "bp-asm.h".
2581 (PARMS): Do not use macros from bp-asm.h.
2582 (STR): Likewise.
2583 (CHR): Likewise.
2584 (strrchr): Likewise. Do not use BP_SYM.
2585 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2587 (SKIP): Likewise.
2588 (strspn): Do not use BP_SYM.
2589 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2590 (PARMS): Do not use macros from bp-asm.h.
2591 (STR): Likewise.
2592 (DELIM): Likewise.
2593 (SAVE): Likewise.
2594 (FUNCTION): Likewise. Do not use BP_SYM.
2595 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2596 aliases.
2597 (strtok_r): Likewise.
2598 (__GI___strtok_r): Likewise.
2599 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2600 (PARMS): Do not use macros from bp-asm.h.
2601 (S1): Likewise.
2602 (S2): Likewise.
2603 (SIZE): Likewise.
2604 (__mpn_sub_n): Do not use BP_SYM.
2605 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2606 "bp-asm.h".
2607 (PARMS): Do not use macros from bp-asm.h.
2608 (S1): Likewise.
2609 (SIZE): Likewise.
2610 (__mpn_submul_1): Do not use BP_SYM.
2611 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2612 <bp-sym.h>.
2613 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2614 and <bp-asm.h>.
2615 (PARMS): Do not use macros from bp-asm.h.
2616 (FLAGS): Likewise.
2617 (PTID): Likewise.
2618 (TLS): Likewise.
2619 (CTID): Likewise.
2620 (__clone): Do not use BP_SYM.
2621 (clone): Do not use BP_SYM in weak_alias.
2622 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2623 and <bp-asm.h>.
2624 (PARMS): Do not use macros from bp-asm.h.
2625 (LEN): Likewise.
2626 (__mmap64): Do not use BP_SYM.
2627 (mmap64): Do not use BP_SYM in weak_alias.
2628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2629 <bp-sym.h> and <bp-asm.h>.
2630 (PARMS): Do not use macros from bp-asm.h.
2631 (__posix_fadvise64_l64): Do not use BP_SYM.
2632 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2633 (PARMS): Do not use macros from bp-asm.h.
2634 (NSOPS): Likewise.
2635 (semtimedop): Do not use BP_SYM.
2636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2637 and <bp-asm.h>.
2638
2639 2013-02-21 Allan McRae <allan@archlinux.org>
2640
2641 * manual/message.texi (Charset conversion in gettext):
2642 Move @end statement to beginning of line.
2643
2644 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
2646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2647 static.
2648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2649 Likewise.
2650
2651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2652 (denorm): Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2655
2656 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2657
2658 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2659 tail-call to the resolved function if pltexit isn't needed.
2660
2661 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
2663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2664 or Y being zero as being unlikely.
2665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2666 Likewise.
2667
2668 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2669
2670 * manual/nss.texi (System Databases and Name Service Switch):
2671 Remove frobnicate @pxref.
2672
2673 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2674
2675 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2676 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2677
2678 2013-02-20 Petr Machata <pmachata@redhat.com>
2679
2680 * elf/elf.h (R_ARM_TARGET1): New macro.
2681 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2682 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2683 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2684 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2685 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2686 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2687 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2688 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2689 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2690 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2691 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2692 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2693 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2694 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2695 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2696 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2697 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2698 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2699 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2700 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2701 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2702 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2703 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2704 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2705 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2706 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2707 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2708 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2709 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2710 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2711 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2712 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2713 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2714 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2715 (R_ARM_THM_GOT_BREL12): Likewise.
2716 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2717 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2718 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2719 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2720 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2721 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2722 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2723 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2724 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2725
2726 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2727
2728 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2729 __attribute_used__ to __attribute__ ((unused)).
2730
2731 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
2733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2734 powerpc mpa.c.
2735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2736 comment formatting.
2737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2738
2739 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2740
2741 [BZ #13550]
2742 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2743 Remove macro.
2744 (ENTER): Remove both macro definitions.
2745 (LEAVE): Likewise.
2746 (CHECK_BOUNDS_LOW): Likewise.
2747 (CHECK_BOUNDS_HIGH): Likewise.
2748 (CHECK_BOUNDS_BOTH): Likewise.
2749 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2750 (RETURN_BOUNDED_POINTER): Likewise.
2751 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2752 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2753 (POP_ERRNO_LOCATION_RETURN): Likewise.
2754 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2756 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2757 macros.
2758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2759 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2760 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2761 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2762 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2763 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2764 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2765 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2766 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2767 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2768 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2769 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2771 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2772 removed macros.
2773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2774 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2775 macros.
2776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2777 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2778 * sysdeps/i386/i586/memset.S (memset): Likewise.
2779 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2780 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2781 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2782 macros.
2783 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2784 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2785 Change uses of L(2) to L(out).
2786 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2787 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2788 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2789 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2790 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2791 removed macros.
2792 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2793 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2794 macros.
2795 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2796 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2797 (RETURN): Do not use macro LEAVE.
2798 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2799 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2800 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2801 * sysdeps/i386/i686/memset.S (memset): Likewise.
2802 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2803 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2804 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2805 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2806 Likewise.
2807 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2808 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2809 L(1_2) and L(1_3) into L(1).
2810 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2812 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2813 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2814 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2815 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2816 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2818 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2819 macros.
2820 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2822 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2823 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2824 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2825 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2826 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2827 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2828 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2829 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2830 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2831 * sysdeps/i386/strspn.S (strspn): Likewise.
2832 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2833 conditional code.
2834 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2835 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2836 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2837 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2838 L(1_3) into L(1_1).
2839 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2841 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2842 macros.
2843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2844
2845 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2846
2847 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2848 macro.
2849
2850 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2851
2852 * math/atest-exp.c (exp_mpn): Remove ROUND.
2853 * math/atest-exp2.c (exp_mpn): Likewise.
2854 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2855
2856 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2857 * stdlib/tst-tls-atexit-lib.c: Likewise.
2858 * stdlib/tst-tls-atexit.c: Likewise.
2859
2860 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2861
2862 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2863 and __attribute_alloc_size__.
2864
2865 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2866
2867 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2868 __attribute_alloc_size__.
2869 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2870 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2871
2872 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2873
2874 * include/programs/xmalloc.h: New file.
2875 * catgets/gencat.c: Include it.
2876 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2877 * elf/pldd.c: Likewise.
2878 * iconv/iconv_charmap.c: Likewise.
2879 * iconv/iconvconfig.c: Likewise.
2880 * iconv/strtab.c: Likewise.
2881 * locale/programs/locale.c: Likewise.
2882 * locale/programs/localedef.h: Likewise.
2883 * locale/programs/simple-hash.c: Likewise.
2884 * nscd/nscd.h: Likewise.
2885 * nss/makedb.c: Likewise.
2886 * sysdeps/generic/ldconfig.h: Likewise.
2887
2888 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2889
2890 * Versions.def: Add GLIBC_2.18.
2891 * include/link.h (struct link_map): New member l_tls_dtor_count.
2892 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2893 (__call_tls_dtors): Likewise.
2894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2895 __cxa_thread_atexit_impl.
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2897 Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2901 Likewise.
2902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2903 Likewise.
2904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2911 Likewise.
2912 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2913 (tests): Add test case tst-tls-atexit.
2914 (modules-names): Add shared library for tst-tls-atexit.
2915 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2916 (GLIBC_PRIVATE): Add __call_tls_dtors.
2917 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2918 for libstdc++.
2919 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2920 * stdlib/tst-tls-atexit.c: New test case.
2921 * stdlib/tst-tls-atexit-lib.c: New test case.
2922
2923 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2924
2925 * elf/Versions (ld): Add _dl_find_dso_for_object.
2926 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2927 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2928 (dl_open_worker): Use _dl_find_dso_for_object.
2929 * elf/dl-sym.c (do_sym): Likewise.
2930 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2931
2932 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2933
2934 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2935 Syntactic changes only.
2936 (_dl_runtime_profile): Do a tail-call to the resolved function.
2937
2938 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #13550]
2941 * sysdeps/x86_64/bp-asm.h: Remove file.
2942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2943 <bp-sym.h> and <bp-asm.h>.
2944 (__clone): Do not use BP_SYM.
2945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2946 <bp-sym.h> and <bp-asm.h>.
2947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2948 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2949 "bp-asm.h".
2950 (_setjmp): Do not use BP_SYM.
2951 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2952 "bp-asm.h".
2953 (setjmp): Do not use BP_SYM.
2954 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2955 libc_hidden_def.
2956 (mempcpy): Do not use BP_SYM in weak_alias.
2957 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2958 "bp-asm.h".
2959 (strchr): Do not use BP_SYM.
2960 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2961 "bp-asm.h".
2962 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2963 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2964 (_start): Do not use BP_SYM.
2965 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2966 "bp-asm.h".
2967 (strcat): Do not use BP_SYM.
2968 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2969 "bp-asm.h".
2970 (STRCMP): Do not use BP_SYM.
2971 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2972 "bp-asm.h".
2973 (STRCPY): Do not use BP_SYM.
2974 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2975 "bp-asm.h".
2976 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2977 "bp-asm.h".
2978 (FUNCTION): Do not use BP_SYM.
2979 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2980 weak_alias.
2981 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2982
2983 2013-02-17 Andreas Jaeger <aj@suse.de>
2984
2985 * time/Versions: Sort entries.
2986 * string/Versions: Likewise.
2987 * resolv/Versions: Likewise.
2988 * posix/Versions: Likewise.
2989 * iconv/Versions: Likewise.
2990 * elf/Versions: Likewise.
2991 * wcsmbs/Versions: Likewise.
2992
2993 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2994
2995 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2996 loop termination condition.
2997
2998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2999 variable to calculate EZ.
3000 (__sqr): Likewise.
3001
3002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3003 the lower precision input.
3004
3005 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3006
3007 [BZ #13550]
3008 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3009 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3010 (run-via-rtld-prefix): Do not handle %-bp tests.
3011 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3012 (all-object-suffixes): Remove .ob.
3013 (bppfx): Remove variable.
3014 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3015 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3016 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3017 [$(build-bounded) = yes] (libtype.ob): Likewise.
3018 * Makerules (elide-routines.ob): Remove variable.
3019 (do-tests-clean): Do not handle *-bp.out.
3020 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3021 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3022 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3023 (tests): Do not include $(tests-bp.out).
3024 (xtests): Do not include $(xtests-bp.out).
3025 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3026 [$(build-bounded) = yes] ($(addprefix
3027 $(objpfx),$(binaries-bounded))): Remove rule.
3028 ($(objpfx)%-bp.out): Remove rule.
3029 * config.make.in (build-bounded): Remove variable.
3030 * crypt/Makefile [$(build-bounded) = yes]
3031 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3032 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3033 append to variable.
3034 [$(build-bounded) = yes] (install-lib): Likewise.
3035 [$(build-bounded) = yes] (generated): Likewise.
3036 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3037 Remove rule.
3038 * intl/Makefile [$(build-bounded) = yes]
3039 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3040 * math/Makefile [$(build-bounded) = yes]
3041 ($(tests:%=$(objpfx)%-bp): Likewise.
3042 * misc/Makefile [$(build-bounded) = yes]
3043 ($(objpfx)tst-tsearch-bp): Likewise.
3044 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3045 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3046 Remove dependency.
3047 * string/Makefile (o-objects.ob): Remove variable.
3048 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3049 (CFLAGS-.ob): Remove variable.
3050 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3052 both definitions of variable.
3053 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3054 (ASFLAGS-.ob): Remove variable.
3055
3056 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3057
3058 [BZ #13550]
3059 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3060 Remove __BOUNDED_POINTERS__ from condition.
3061 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3062 * string/bits/string2.h [!__NO_STRING_INLINES &&
3063 !__BOUNDED_POINTERS__]: Likewise.
3064 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3065 Likewise.
3066 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3067 Remove conditional code.
3068 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3069 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3070 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3071 condition.
3072
3073 [BZ #13550]
3074 * csu/libc-start.c: Do not include <bp-sym.h>.
3075 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3076 * elf/dl-open.c: Do not include <bp-sym.h>.
3077 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3078 * math/fegetenv.c: Do not include <bp-sym.h>.
3079 (fegetenv): Do not use BP_SYM in versioned symbols.
3080 * nptl/sysdeps/pthread/bits/libc-lockP.h
3081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3082 <bp-sym.h>.
3083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3084 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3086 (__pthread_mutex_destroy): Likewise.
3087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3088 (__pthread_mutex_lock): Likewise.
3089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3090 (__pthread_mutex_trylock): Likewise.
3091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3092 (__pthread_mutex_unlock): Likewise.
3093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3094 (__pthread_mutexattr_init): Likewise.
3095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3096 (__pthread_mutexattr_destroy): Likewise.
3097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3098 (__pthread_mutexattr_settype): Likewise.
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3100 (__pthread_rwlock_init): Likewise.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_rwlock_destroy): Likewise.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_rwlock_rdlock): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3106 (__pthread_rwlock_tryrdlock): Likewise.
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (__pthread_rwlock_wrlock): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (__pthread_rwlock_trywrlock): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (__pthread_rwlock_unlock): Likewise.
3113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3114 (__pthread_key_create): Likewise.
3115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3116 (__pthread_setspecific): Likewise.
3117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3118 (__pthread_getspecific): Likewise.
3119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3120 Likewise.
3121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3122 (_pthread_cleanup_push_defer): Likewise.
3123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3124 (_pthread_cleanup_pop_restore): Likewise.
3125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3126 (pthread_setcancelstate): Likewise.
3127 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3128 <bp-sym.h>.
3129 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3130 (memchr): Do not use BP_SYM in weak_alias.
3131 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3132 (fegetenv): Do not use BP_SYM in versioned symbols.
3133 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3134 (fesetenv): Do not use BP_SYM in versioned symbols.
3135 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3136 (feupdateenv): Do not use BP_SYM in versioned symbols.
3137 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3139 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3140 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3141 (open64): Do not use BP_SYM in weak_alias.
3142 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3143 (fegetenv): Do not use BP_SYM in versioned symbols.
3144 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3145 (fesetenv): Do not use BP_SYM in versioned symbols.
3146 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3147 (feupdateenv): Do not use BP_SYM in versioned symbols.
3148 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3149 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3150 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3151 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3152 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3155 <bp-sym.h>.
3156 (__libc_start_main): Do not use BP_SYM.
3157
3158 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3159
3160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3161 redundant return line.
3162 (norm): Likewise.
3163 (denorm): Likewise.
3164 (dbl_mp): Likewise.
3165 (sub_magnitudes): Likewise.
3166 (__add): Likewise.
3167 (__sub): Likewise.
3168 (__mul): Likewise.
3169 (__inv): Likewise.
3170 (__dvd): Likewise.
3171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3172 (norm): Likewise.
3173 (denorm): Likewise.
3174 (dbl_mp): Likewise.
3175 (sub_magnitudes): Likewise.
3176 (__add): Likewise.
3177 (__sub): Likewise.
3178 (__mul): Likewise.
3179 (__inv): Likewise.
3180 (__dvd): Likewise.
3181
3182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3183 instead of __mul.
3184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3185 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3186 (cc32): Likewise.
3187
3188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3189 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3191 of __mul for squares.
3192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3193 function
3194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3195 Likewise.
3196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3198
3199 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #13550]
3202 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3203 code.
3204 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3205 prototype or function definition. Rename ubp_* variables and
3206 parameters. Remove argv definitions conditional on
3207 [__BOUNDED_POINTERS__].
3208 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3209 * elf/dl-runtime.c (_dl_fixup): Likewise.
3210 * include/set-hooks.h (RUN_HOOK): Likewise.
3211 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3212 definition.
3213 * string/strcpy.c (strcpy): Do not use __unbounded.
3214 * sysdeps/generic/frame.h (struct layout): Likewise.
3215 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3216 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3217 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3218 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3219 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3220 (__backtrace): Likewise.
3221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3222 use __ptrvalue.
3223 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3224 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3225 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3228 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3230 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3231 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3232 Do not use __unbounded.
3233 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3234 Rename __unboundedrlimits parameter to rlimits in prototype.
3235 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3236 Do not use __unbounded.
3237 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3238 not use __ptrvalue.
3239 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3240 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3241 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3242 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3243 __ptrvalue or __unbounded.
3244 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3246 use __unbounded.
3247 (__new_msgctl): Do not use __ptrvalue.
3248 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3249 __unbounded.
3250 (__libc_msgrcv): Do not use __ptrvalue.
3251 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3252 startup_info): Do not use __unbounded.
3253 (__libc_start_main): Likewise. Rename ubp_* variables and
3254 parameters. Remove argv definitions conditional on
3255 [__BOUNDED_POINTERS__].
3256 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3257 __ptrvalue.
3258 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3259 use __unbounded.
3260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3261 or __ptrvalue.
3262 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3263 use __unbounded.
3264 (__new_shmctl): Do not use __ptrvalue.
3265 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3266 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3267 Likewise.
3268 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3270 (__libc_sigaction): Likewise.
3271 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3273 Likewise.
3274 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3275
3276 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3277
3278 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3279
3280 * string/mempcpy.c: Implement by calling memcpy.
3281
3282 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
3284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3285
3286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3287 evaluation.
3288
3289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3290 values in the mantissa.
3291
3292 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3293 minimize writes to Z.
3294 (sub_magnitudes): Simplify code a bit.
3295
3296 2013-02-12 Roland McGrath <roland@hack.frob.com>
3297
3298 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3299 from the message. The linker prefixes all warnings with that already.
3300
3301 2013-02-12 Andreas Schwab <schwab@suse.de>
3302
3303 [BZ #15078]
3304 * posix/regexec.c (extend_buffers): Add parameter min_len.
3305 (check_matching): Pass minimum needed length.
3306 (clean_state_log_if_needed): Likewise.
3307 (get_subexp): Likewise.
3308 * posix/Makefile (tests): Add bug-regex34.
3309 (bug-regex34-ENV): Define.
3310 * posix/bug-regex34.c: New file.
3311
3312 [BZ #11561]
3313 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3314 elements compare against the byte sequence of it, not its name.
3315 * posix/Makefile (tests): Add bug-regex35.
3316 (bug-regex35-ENV): Define.
3317 * posix/bug-regex35.c: New file.
3318
3319 2013-02-11 Tom de Vries <tom@codesourcery.com>
3320
3321 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3322 comment.
3323 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3324 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3325 (CHECK_EOL): Add undef.
3326
3327 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3328
3329 * bits/stdlib-bsearch.h: New file.
3330 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3331 * stdlib/stdlib.h: Likewise.
3332
3333 2013-02-11 Roland McGrath <roland@hack.frob.com>
3334
3335 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3336 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3337 declaration.
3338 * manual/search.texi (Array Search Function): Add missing const in
3339 lfind prototype.
3340 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3341 declaration to use rlim_t.
3342 (Basic Scheduling Functions): Remove erroneous const from
3343 sched_getparam prototype. Remove erroneous * from
3344 sched_get_priority_max and sched_get_priority_min prototypes.
3345 (Resource Usage): Fix summary @comment on vtimes to refer to
3346 sys/vtimes.h rather than vtimes.h.
3347 Add missing *s in vtimes prototype.
3348 (Limits on Resources): Fix ulimit prototype to return long int.
3349 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3350 prototypes to use long int rather than double.
3351 (BSD Random): Fix initstate and setstate to use char *, not void *.
3352 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3353 prototype to make second argument 'struct aiocb64 *const[]'.
3354 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3355 (Status of AIO Operations): Remove erroneous const in aio_return and
3356 aio_return64 prototypes.
3357 (Synchronizing I/O): Fix sync prototype to return void.
3358 * manual/startup.texi (Suboptions): Remove an erroneous const in
3359 getsubopt prototype.
3360 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3361 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3362 use size_t rather than int.
3363 (Scanning All Users): Likewise for getpwent_r.
3364 (Setting Groups): Add missing const to setgroups prototype.
3365 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3366 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3367 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3368 'const void *' rather than 'const char *'.
3369 (Host Address Functions): Likewise for inet_ntop.
3370 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3371 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3372 ssize_t for return value.
3373 (Sending Data): Likewise for send, sendto, sendmsg.
3374 (Socket Option Functions): Add a missing const in setsockopt prototype.
3375 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3376 use wchar_t for the argument.
3377 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3378 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3379 take no arguments.
3380 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3381 double/float/long double for second argument.
3382 Fix return types of significand, significandf, significandl.
3383 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3384 argument in fchmod prototype.
3385 (File Owner): Use uid_t and gid_t in fchown prototype.
3386 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3387 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3388 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3389 use 'const struct dirent **' as argument types to CMP function pointer
3390 argument.
3391 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3392 (File Times): Fix summary magic @comment for struct utimbuf and utime
3393 to refer to utime.h, not time.h.
3394 * manual/string.texi (Argz Functions): Add missing const in
3395 argz_extract and argz_next prototypes.
3396 (Finding Tokens in a String): Likewise for basename.
3397 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3398 (Copying and Concatenation): Fix typo in wmemmove prototype.
3399 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3400 (Signal Stack): Remove erroneous const in sigstack prototype.
3401 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3402 prototype.
3403 (Simple Calendar Time): Likewise for stime.
3404 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3405 prototype.
3406 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3407 say sys/sysctl.h instead.
3408 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3409 and vsyslog prototypes.
3410
3411 2013-02-11 Tom de Vries <tom@codesourcery.com>
3412
3413 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3414 Remove.
3415
3416 2013-02-11 Roland McGrath <roland@hack.frob.com>
3417
3418 * misc/sys/mman.h: Fix typo in mremap comment.
3419
3420 2013-02-08 Roland McGrath <roland@hack.frob.com>
3421
3422 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3423 the '\0' terminator.
3424
3425 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3426
3427 [BZ #13550]
3428 * debug/segfault.c: Don't include <bp-checks.h>.
3429 * sysdeps/generic/bp-checks.h: Remove file.
3430 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3431 (__GETDENTS): Don't use CHECK_N.
3432 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3434 (__getgroups): Don't use CHECK_N.
3435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3436 (setgroups): Don't use CHECK_N.
3437 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3438 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3439 (__libc_msgrcv): Don't use CHECK_N.
3440 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3441 (__libc_msgsnd): Don't use CHECK_N.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3443 <bp-checks.h>.
3444 (__libc_pread): Don't use CHECK_N.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3446 include <bp-checks.h>.
3447 (__libc_pread64): Don't use CHECK_N.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3449 include <bp-checks.h>.
3450 (__libc_pwrite): Don't use CHECK_N.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3452 include <bp-checks.h>.
3453 (__libc_pwrite64): Don't use CHECK_N.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3455 <bp-checks.h>.
3456 (__libc_pread): Don't use CHECK_N.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3458 include <bp-checks.h>.
3459 (__libc_pread64): Don't use CHECK_N.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3461 include <bp-checks.h>.
3462 (__libc_pwrite): Don't use CHECK_N.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3464 include <bp-checks.h>.
3465 (__libc_pwrite64): Don't use CHECK_N.
3466 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3467 (do_pread): Don't use CHECK_N.
3468 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3469 (do_pread64): Don't use CHECK_N.
3470 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3471 (do_pwrite): Don't use CHECK_N.
3472 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3473 (do_pwrite64): Don't use CHECK_N.
3474 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3475 (__libc_readv): Don't use CHECK_N.
3476 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3477 (semop): Don't use CHECK_N.
3478 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3479 <bp-checks.h>.
3480 (semtimedop): Don't use CHECK_N.
3481 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3482 (__libc_pread): Don't use CHECK_N.
3483 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3484 <bp-checks.h>.
3485 (__libc_pread64): Don't use CHECK_N.
3486 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3487 <bp-checks.h>.
3488 (__libc_pwrite): Don't use CHECK_N.
3489 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3490 <bp-checks.h>.
3491 (__libc_pwrite64): Don't use CHECK_N.
3492 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3493 <bp-checks.h>.
3494 (__libc_msgrcv): Don't use CHECK_N.
3495 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3496 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3497 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3498 (__libc_writev): Don't use CHECK_N.
3499
3500 2013-02-08 Roland McGrath <roland@hack.frob.com>
3501
3502 * string/strcpy.c: Removed unused variable.
3503
3504 * Makeconfig (+sysdep-includes): Define with := rather than =.
3505 Use an existing include/ subdir of each sysdeps dir before it.
3506
3507 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3508
3509 * nscd/connection.c (register_traced_file): Comment function.
3510 [HAVE_INOTIFY] (union __inev): Define.
3511 [HAVE_INOTIFY] (inotify_check_files): New function.
3512 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3513 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3514 clear_db_cache.
3515 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3516
3517 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3518
3519 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3520 loaded if not already and that a failure is permanent.
3521
3522 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3523
3524 [BZ #15006]
3525 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3526 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3527
3528 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #13550]
3531 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3532 (CHECK_1_NULL_OK): Likewise.
3533 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3534 (__fxstat): Do not use CHECK_1.
3535 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3536 <bp-checks.h>.
3537 (___fxstat64): Do not use CHECK_1.
3538 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3539 <bp-checks.h>.
3540 (__fxstatat): Do not use CHECK_1.
3541 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3542 <bp-checks.h>.
3543 (__fxstatat64): Do not use CHECK_1.
3544 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3545 <bp-checks.h>.
3546 (__fxstat): Do not use CHECK_1.
3547 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3548 <bp-checks.h>.
3549 (__fxstatat): Do not use CHECK_1.
3550 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3551 <bp-checks.h>.
3552 (__getresgid): Do not use CHECK_1.
3553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3554 <bp-checks.h>.
3555 (__getresuid): Do not use CHECK_1.
3556 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3557 <bp-checks.h>.
3558 (__lxstat): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3560 <bp-checks.h>.
3561 (__old_msgctl): Do not use CHECK_1.
3562 (__new_msgctl): Likewise.
3563 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3564 <bp-checks.h>.
3565 (__new_setrlimit): Do not use CHECK_1.
3566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3567 <bp-checks.h>.
3568 (__old_shmctl): Do not use CHECK_1.
3569 (__new_shmctl): Likewise.
3570 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3571 <bp-checks.h>.
3572 (__xstat): Do not use CHECK_1.
3573 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3574 (__lxstat): Do not use CHECK_1.
3575 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3576 <bp-checks.h>.
3577 (___lxstat64): Do not use CHECK_1.
3578 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3579 (__old_msgctl): Do not use CHECK_1.
3580 (__new_msgctl): Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3582 <bp-checks.h>.
3583 (__gettimeofday): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3585 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3586 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3587 <bp-checks.h>.
3588 (__gettimeofday): Do not use CHECK_1.
3589 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3590 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3591 (__new_shmctl): Do not use CHECK_1.
3592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3593 <bp-checks.h>.
3594 (do_sigtimedwait): Do not use CHECK_1.
3595 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3596 <bp-checks.h>.
3597 (do_sigwaitinfo): Do not use CHECK_1.
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3599 <bp-checks.h>.
3600 (msgctl): Do not use CHECK_1.
3601 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3602 <bp-checks.h>.
3603 (shmctl): Do not use CHECK_1.
3604 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3605 (ustat): Do not use CHECK_1.
3606 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3607 <bp-checks.h>.
3608 (__fxstat): Do not use CHECK_1.
3609 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3610 <bp-checks.h>.
3611 (__fxstatat): Do not use CHECK_1.
3612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3613 <bp-checks.h>.
3614 (__lxstat): Do not use CHECK_1.
3615 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3616 <bp-checks.h>.
3617 (__xstat): Do not use CHECK_1.
3618 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3619 (__xstat): Do not use CHECK_1.
3620 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3621 (___xstat64): Do not use CHECK_1.
3622
3623 [BZ #13550]
3624 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3625 definitions.
3626 (CHECK_BOUNDS_HIGH): Likewise.
3627 * string/strcpy.c: Do not include <bp-checks.h>.
3628 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3629
3630 2013-02-07 Roland McGrath <roland@hack.frob.com>
3631
3632 * nscd/nscd-client.h (__nscd_drop_map_ref):
3633 Add __attribute__ ((unused)).
3634 * nis/nss-nisplus.h (niserr2nss): Likewise.
3635
3636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3637 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3638
3639 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3640 Remove inline keyword.
3641 * include/rounding-mode.h (round_away): Likewise.
3642 * libio/wfileops.c (adjust_wide_data): Likewise.
3643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3644 (__m128i_strloadu_tolower): Likewise.
3645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3646 (__m128i_strloadu_tolower): Likewise.
3647 * time/mktime.c (ydhms_diff): Likewise.
3648 * locale/elem-hash.h (elem_hash): Likewise.
3649 * locale/setlocale.c (setdata): Likewise.
3650 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3651 (re_string_wchar_at): Likewise.
3652 (bitset_not, bitset_merge, bitset_mask): Likewise.
3653 [!(__GNUC__ > 3)] (inline): Remove macro.
3654 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3655 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3656 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3657 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3658 * string/memcmp.c (memcmp_bytes): Likewise.
3659 * locale/programs/locarchive.c (compute_hashval): Likewise.
3660 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3661 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3662 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3663 * nss/getent.c (print_rpc, print_protocols): Likewise.
3664 (print_passwd, print_group, print_aliases): Likewise.
3665 * nis/nss-nisplus.h (niserr2nss): Likewise.
3666 * nscd/connections.c (restart_p): Likewise.
3667 Change return type to bool.
3668
3669 2013-02-05 Roland McGrath <roland@hack.frob.com>
3670
3671 * Makeconfig (all-Depend-files): Add existing
3672 $(sorted-subdirs:=/Depend) files.
3673 (all-subdirs): Remove nss.
3674 * sysdeps/unix/inet/Subdirs: Add it here instead.
3675 * hesiod/Depend: New file.
3676
3677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3678 instead of calling alloca.
3679
3680 * io/lseek.c (__lseek): Rename to __libc_lseek.
3681 Define __lseek as an alias.
3682
3683 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3684
3685 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3686
3687 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3688 else clause and remove check for non-standard endianness.
3689
3690 2013-02-04 David S. Miller <davem@davemloft.net>
3691
3692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3693
3694 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #13550]
3697 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3698 (__ubp_memchr): Remove prototype.
3699 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3700 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3701 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3702 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3703 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3704 Remove alias.
3705 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3706 (__ubp_memchr): Likewise.
3707 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3708 (__ubp_memchr): Likewise.
3709 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3710 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3711 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3713 CHECK_STRING.
3714 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3715 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3716 (__getcwd): Do not use CHECK_STRING.
3717 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3718 <bp-checks.h>.
3719 (__real_chown): Do not use CHECK_STRING.
3720 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3721 <bp-checks.h>.
3722 (fchownat): Do not use CHECK_STRING.
3723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3724 CHECK_STRING.
3725 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3726 <bp-checks.h>.
3727 (__lchown): Do not use CHECK_STRING.
3728 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3729 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3730 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3731 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3733 include <bp-checks.h>.
3734 (truncate64): Do not use CHECK_STRING.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3736 <bp-checks.h>.
3737 (__real_chown): Do not use CHECK_STRING.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3739 <bp-checks.h>.
3740 (__lchown): Do not use CHECK_STRING.
3741 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3742 <bp-checks.h>.
3743 (__chown): Do not use CHECK_STRING.
3744 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3745 <bp-checks.h>.
3746 (truncate64): Do not use CHECK_STRING.
3747 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3750 (__xmknod): Do not use CHECK_STRING.
3751 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3752 <bp-checks.h>.
3753 (__xmknodat): Do not use CHECK_STRING.
3754 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3755 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3756
3757 2013-02-04 Andreas Schwab <schwab@suse.de>
3758
3759 [BZ #14142]
3760 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3761 * include/netdb.h: Likewise for h_errno.
3762 * elf/tst-stackguard1.c: Include <tls.h>.
3763
3764 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3765
3766 * elf/link.h (struct link_map): Extend the l_addr comment.
3767 * include/link.h (struct link_map): Likewise.
3768
3769 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3770
3771 [BZ #13550]
3772 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3773 (BOUNDED_1): Remove macro.
3774 * debug/backtrace.c: Don't include <bp-checks.h>.
3775 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3776 (__backtrace): Likewise.
3777 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3778 <bp-checks.h>.
3779 (__backtrace): Don't use BOUNDED_1.
3780 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3781 <bp-checks.h>.
3782 (__backtrace): Don't use BOUNDED_1.
3783 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3784 (__backtrace): Don't use BOUNDED_1.
3785 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3786 (shmat): Don't use BOUNDED_N.
3787
3788 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3789
3790 [BZ #13550]
3791 * sysdeps/generic/bp-start.h: Remove file.
3792 * csu/libc-start.c: Don't include <bp-start.h>.
3793 (LIBC_START_MAIN): Set up __environ directly instead of using
3794 INIT_ARGV_and_ENVIRON.
3795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3796 <bp-start.h>.
3797
3798 [BZ #13550]
3799 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3800 definitions.
3801 (CHECK_FCNTL): Likewise.
3802 (CHECK_N_PAGES): Likewise.
3803
3804 [BZ #13550]
3805 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3806 definitions.
3807 (CHECK_SIGSET_NULL_OK): Likewise.
3808 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3809 <bp-checks.h>.
3810 (sigpending): Don't use CHECK_SIGSET.
3811 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3812 <bp-checks.h>.
3813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3814 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3815 <bp-checks.h>.
3816 (do_sigsuspend): Don't use CHECK_SIGSET.
3817 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3818 use CHECK_SIGSET.
3819 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3820 (do_sigwait): Don't use CHECK_SIGSET.
3821 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3822 use CHECK_SIGSET.
3823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3824 include <bp-checks.h>.
3825 (sigpending): Don't use CHECK_SIGSET.
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3827 include <bp-checks.h>.
3828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3829 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3830 <bp-checks.h>.
3831 (sigpending): Don't use CHECK_SIGSET.
3832 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3833 <bp-checks.h>.
3834 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3835
3836 [BZ #13550]
3837 * sysdeps/generic/bp-semctl.h: Remove file.
3838 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3839 <bp-checks.h> and <bp-semctl.h>.
3840 (__old_semctl): Don't use CHECK_SEMCTL.
3841 (__new_semctl): Likewise.
3842 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3843 and <bp-semctl.h>.
3844 (__old_semctl): Don't use CHECK_SEMCTL.
3845 (__new_semctl): Likewise.
3846 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3847 <bp-checks.h> and <bp-semctl.h>.
3848 (__old_semctl): Don't use CHECK_SEMCTL.
3849 (__new_semctl): Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3851 <bp-checks.h> and <bp-semctl.h>.
3852 (semctl): Don't use CHECK_SEMCTL.
3853
3854 [BZ #13550]
3855 * Makerules (elide-bp-thunks): Remove variable.
3856 (elide-routines.oS): Don't use $(elide-bp-thunks).
3857 (elide-routines.os): Likewise.
3858 (elide-routines.o): Likewise.
3859 (elide-routines.op): Likewise.
3860 (elide-routines.og): Likewise.
3861 (objects): Don't use $(bp-thunks).
3862 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3863 include.
3864 (common-generated): Do not add s-proto-bp.d.
3865 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3866 (int): Likewise.
3867 (typ): Likewise.
3868 Do not generate makefile rules for bounded-pointer thunks.
3869 * sysdeps/generic/bp-thunks.h: Remove file.
3870 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3871 * sysdeps/unix/s-proto-bp.S: Likewise.
3872
3873 [BZ #15062]
3874 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3875 parts of result separately when argument is not close to line from
3876 -i to i and one part of argument is small.
3877 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3878 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3879 * math/libm-test.inc (cacos_test): Add more tests.
3880 (casin_test): Likewise.
3881 (casinh_test): Likewise.
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884
3885 2013-01-31 David S. Miller <davem@davemloft.net>
3886
3887 * po/de.po: Update from translation team.
3888
3889 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3890
3891 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3892
3893 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3894
3895 * configure.in (_AC_PROG_CC_C89): New definition.
3896 * configure: Regenerate.
3897
3898 * configure.in (AC_PROG_CPP): New definition.
3899 * configure: Regenerate.
3900
3901 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3902
3903 * debug/tst-backtrace.h: New file.
3904 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3905 (ret): Remove variable.
3906 (x): Likewise.
3907 (FAIL): Remove macro.
3908 (NO_INLINE): Likewise.
3909 (fn1): Use match function instead of strstr.
3910 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3911 (ret): Remove variable.
3912 (x): Likewise.
3913 (FAIL): Remove macro.
3914 (NO_INLINE): Likewise.
3915 (fn): Use match function instead of strstr.
3916 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3917 (ret): Remove variable.
3918 (x): Likewise.
3919 (FAIL): Remove macro.
3920 (NO_INLINE): Likewise.
3921 (handle_signal): Use match function instead of strstr.
3922 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3923 (ret): Remove variable.
3924 (x): Likewise.
3925 (FAIL): Remove macro.
3926 (NO_INLINE): Likewise.
3927 (handle_signal): Use match function instead of strstr.
3928
3929 2013-01-23 Roland McGrath <roland@hack.frob.com>
3930
3931 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3932
3933 2013-01-23 David S. Miller <davem@davemloft.net>
3934
3935 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3936 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3937 argument of CAS if possible.
3938 * sysdeps/sparc/sparc64/bits/atomic.h
3939 (__arch_compare_and_exchange_val_32_acq): Likewise.
3940 (__arch_compare_and_exchange_val_64_acq): Likewise.
3941
3942 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3943
3944 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3945 * sysdeps/posix/ulimit.c: ... this.
3946 Include <limits.h>.
3947 * sysdeps/unix/bsd/ulimit.c: Remove file.
3948
3949 2013-01-23 Adam Conrad <adconrad@0c3.net>
3950
3951 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3952 (LDFLAGS-tst-array5): Likewise.
3953
3954 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3955
3956 [BZ #15036]
3957 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3958 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3959 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3961
3962 2013-01-21 David S. Miller <davem@davemloft.net>
3963
3964 * sysdeps/sparc/backtrace.c: New file.
3965 * sysdeps/sparc/sparc32/backtrace.h: New file.
3966 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3967 * sysdeps/sparc/sparc64/backtrace.h: New file.
3968 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3969 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3970 -funwind-tables.
3971
3972 2013-01-21 Andreas Schwab <schwab@suse.de>
3973
3974 [BZ #15020]
3975 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3976 closed its stdout.
3977
3978 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3979
3980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3981 "mpa2.h".
3982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3983
3984 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3985 Mark Mitchell <mark@codesourcery.com>
3986 Tom de Vries <tom@codesourcery.com>
3987 Paul Pluzhnikov <ppluzhnikov@google.com>
3988
3989 * debug/tst-backtrace2.c: New file.
3990 * debug/tst-backtrace3.c: Likewise.
3991 * debug/tst-backtrace4.c: Likewise.
3992 * debug/tst-backtrace5.c: Likewise.
3993 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3994 (CFLAGS-tst-backtrace3.c): Likewise.
3995 (CFLAGS-tst-backtrace4.c): Likewise.
3996 (CFLAGS-tst-backtrace5.c): Likewise.
3997 (LDFLAGS-tst-backtrace2): Likewise.
3998 (LDFLAGS-tst-backtrace3): Likewise.
3999 (LDFLAGS-tst-backtrace4): Likewise.
4000 (LDFLAGS-tst-backtrace5): Likewise.
4001 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4002 tst-backtrace4 and tst-backtrace5.
4003
4004 2013-01-18 Anton Blanchard <anton@samba.org>
4005 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4006
4007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4008 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4010 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4012 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4013 "+r" and remove output regs list as redundant. Add explicit inline
4014 asm to specify register of return val to work around compiler codegen
4015 bug. Remove (int) cast on return value. Add return type parameter to
4016 use in macro so that this macro does not truncate return value for
4017 64-bit values.
4018 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4019 pass to INTERNAL_VSYSCALL_NCS.
4020 (INLINE_VSYSCALL): Add 'long int' as return type to
4021 INTERNAL_VSYSCALL_NCS macro invocation.
4022 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4023 INTERNAL_VSYSCALL_NCS macro invocation.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4025
4026 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
4028 [BZ #14496]
4029 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4030 Fix application of SIMD FP exception mask.
4031
4032 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4033 mp_no from a power of two.
4034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4035 __mpexp_twomm1. Use __pow_mp.
4036
4037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4038 multiplication.
4039
4040 2013-01-17 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4043
4044 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4045
4046 [BZ #15023]
4047 * include/complex.h: Condition contents on [!_COMPLEX_H].
4048 (__kernel_casinhf): New prototype.
4049 (__kernel_casinh): Likewise.
4050 (__kernel_casinhl): Likewise.
4051 * math/Makefile (libm_calls): Add k_casinh.
4052 * math/k_casinh.c: New file.
4053 * math/k_casinhf.c: Likewise.
4054 * math/k_casinhl.c: Likewise.
4055 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4056 finite nonzero arguments.
4057 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4058 finite nonzero arguments.
4059 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4060 finite nonzero arguments.
4061 * math/s_casinh.c: Do not include <float.h>.
4062 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4063 * math/s_casinhf.c: Do not include <float.h>.
4064 (__casinhf): Move code for finite nonzero arguments to
4065 k_casinhf.c.
4066 * math/s_casinhl.c: Do not include <float.h>.
4067 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4068 redefine.
4069 (__casinhl): Move code for finite nonzero arguments to
4070 k_casinhl.c.
4071 * math/libm-test.inc (cacos_test): Add more tests.
4072 * sysdeps/i386/fpu/libm-test-ulps: Update.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
4075 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4076
4077 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4078 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4079 [!HAVE_MREMAP]: Remove [defined linux] case.
4080 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4081
4082 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4083
4084 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4085
4086 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * elf/elf.h (R_386_SIZE32): New relocation.
4089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4090 R_386_SIZE32.
4091 (elf_machine_rela): Likewise.
4092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4093 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4094
4095 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4096
4097 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4098 (FP_FAST_FMA): Do not define.
4099 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4100 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4101 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4102 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4103 !_SOFT_FLOAT]: Likewise.
4104 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4106 value.
4107 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4108 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4111 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4112 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4113 file.
4114
4115 2013-01-16 Andreas Schwab <schwab@suse.de>
4116
4117 [BZ #14327]
4118 * include/stdlib.h (__mktemp): Add declaration.
4119 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4120 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4121
4122 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4123
4124 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4125 definitions.
4126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4127 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4128 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4129 definitions here.
4130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4131 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4132 definitions.
4133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4134 and ONE.
4135 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4136 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4137 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4138 definitions.
4139 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4140 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4141 definitions.
4142 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4143
4144 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4145
4146 2013-01-15 David S. Miller <davem@davemloft.net>
4147
4148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4149 trunc{,f} to libm-sysdep_routes.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4152 file.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4155 file.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4157 file.
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4163 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4165 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4166
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4168 nearbyint{,f} to libm-sysdep_routes.
4169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4171 New file.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4173 file.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4175 New file.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4177 file.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4181 file.
4182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4184 file.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4188
4189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4190 libc_feholdexcept and libc_fesetenv.
4191
4192 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4193
4194 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4195
4196 2013-01-14 David S. Miller <davem@davemloft.net>
4197
4198 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4199 (SPARC_ASM_VIS2_IFUNC): Likewise.
4200 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4202 use of 'siam' instruction.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4204 Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4206 Likewise.
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4208 Likewise.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4214 file.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4216 file.
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4218 file.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4220 file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4226 new VIS2 routines.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4230 Likewise.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4236 routines to libm-sysdep_routines.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4238
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4240 fdim/fdimf to libm-sysdep_routines.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4242 file.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4245 file.
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4249 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4250 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4251 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4252 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4253
4254 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4255
4256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4257 to optimize copies.
4258
4259 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4262
4263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4264 local variable MPTWO.
4265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4266 Likewise.
4267
4268 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4269
4270 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4271 GLOB_NOESCAPE.
4272
4273 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4274
4275 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4276
4277 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4278
4279 * manual/pattern.texi (glob_t): Document gl_flags.
4280 (glob64_t): Likewise.
4281
4282 2013-01-11 David S. Miller <davem@davemloft.net>
4283
4284 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4285 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4286 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4287 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4288 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4289 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4290 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4291 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4293 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4295 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4297
4298 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4299 sparc V9 rather than using V8 code.
4300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4302
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4304 Move to...
4305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4306 Here.
4307
4308 2013-01-11 Roland McGrath <roland@hack.frob.com>
4309
4310 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4311 not in the main loop.
4312 * configure: Regenerated.
4313
4314 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4315
4316 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4317 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4318 to just #else.
4319 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4320 [!__GLIBC_HAVE_LONG_LONG] case.
4321 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4322 condition to just #else.
4323 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4324 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4325 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4326 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4327 unconditional.
4328 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4329 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4330 #elif condition to just #else.
4331 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4332 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4333 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4334 #elif condition to just #else.
4335
4336 2013-01-11 Steve Ellcey <sellcey@mips.com>
4337
4338 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4339 (EF_MIPS_ARCH_64): Fix value.
4340 (EF_MIPS_ARCH_32R2): New.
4341 (EF_MIPS_ARCH_64R2): New.
4342
4343 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4344
4345 * Makeconfig (+link-pie-before-libc): New.
4346 (+link-pie-after-libc): Likewise.
4347 (+link-pie-tests): Likewise.
4348 (+link-pie): Rewritten.
4349 (link-before-libc): Remove $(config-LDFLAGS).
4350 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4351 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4352 (config-LDFLAGS): Renamed to ...
4353 (rtld-LDFLAGS): This.
4354 (rtld-tests-LDFLAGS): New macro.
4355 (link-libc-rpath-link): Likewise.
4356 (link-libc-tests-rpath-link): Likewise.
4357 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4358 (link-libc): Prepand $(link-libc-rpath-link).
4359 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4360 (test-program-prefix): New macro.
4361 (test-via-rtld-prefix): Likewise.
4362 (test-program-cmd): Likewise.
4363 (host-test-program-cmd): Likewise.
4364 * Makefile ($(common-objpfx)testrun.sh): Replace
4365 $(run-program-prefix) with $(test-program-prefix).
4366 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4367 $(rtld-LDFLAGS).
4368 ($(common-objpfx)shlib.lds): Likewise.
4369 (build-module-helper): Likewise.
4370 ($(common-objpfx)format.lds): Likewise.
4371 * Rules (binaries-pie-tests): New.
4372 (binaries-pie-notests): Likewise.
4373 (binaries-pie): Rewritten.
4374 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4375 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4376 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4377 (make-test-out): Replace $(host-built-program-cmd) with
4378 $(host-test-program-cmd).
4379 * config.make.in (build-hardcoded-path-in-tests): New variable.
4380 * configure.in (--enable-hardcoded-path-in-tests): New configure
4381 option.
4382 (hardcoded_path_in_tests): New AC_SUBST.
4383 * configure: Regenerated.
4384 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4385 $(built-program-cmd) with $(test-program-cmd).
4386 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4387 (test_program_cmd): This.
4388 * elf/Makefile ($(objpfx)order.out): Run test with
4389 $(test-program-prefix).
4390 ($(objpfx)order2.out): Likewise.
4391 ($(objpfx)tst-initorder.out): Likewise.
4392 ($(objpfx)tst-initorder2.out): Likewise.
4393 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4394 $(test-program-cmd).
4395 ($(objpfx)tst-array1-static.out): Likewise.
4396 ($(objpfx)tst-array2.out): Likewise.
4397 ($(objpfx)tst-array3.out): Likewise.
4398 ($(objpfx)tst-array4.out): Likewise.
4399 ($(objpfx)tst-array5.out): Likewise.
4400 ($(objpfx)tst-array5-static.out): Likewise.
4401 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4402 $(test-program-cmd).
4403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4404 $(run-program-prefix) with $(test-program-prefix).
4405 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4406 (test_program_prefix): This.
4407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4408 $(run-program-prefix) with $(test-program-prefix).
4409 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4410 (test_program_prefix): This.
4411 * iconvdata/tst-tables.sh: Likewise.
4412 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4413 $(run-program-prefix) with $(test-program-prefix).
4414 ($(objpfx)tst-translit.out): Likewise.
4415 ($(objpfx)tst-gettext2.out): Likewise.
4416 ($(objpfx)tst-gettext4.out): Likewise.
4417 ($(objpfx)tst-gettext6.out): Likewise.
4418 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4419 (test_program_prefix): This.
4420 * intl/tst-gettext2.sh: Likewise.
4421 * intl/tst-gettext4.sh Likewise.
4422 * intl/tst-gettext6.sh: Likewise.
4423 * intl/tst-translit.sh: Likewise.
4424 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4425 with $(test-program-cmd).
4426 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4427 $(run-program-prefix) with $(test-program-prefix).
4428 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4429 (test_program_prefix): This.
4430 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4431 $(run-program-prefix) with $(test-program-prefix).
4432 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4433 (test_program_prefix): This.
4434 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4435 * posix/Makefile ($(objpfx)globtest.out): Replace
4436 $(run-via-rtld-prefix) and $(test-wrapper) with
4437 $(test-program-prefix) and $(test-via-rtld-prefix).
4438 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4439 $(test-program-prefix).
4440 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4441 $(host-test-program-cmd).
4442 (tst-spawn-ARGS): Likewise.
4443 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4444 $(test-program-prefix).
4445 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4446 (test_via_rtld_prefix): This.
4447 (test_wrapper): Renamed to ...
4448 (test_program_prefix): This.
4449 (run_program_prefix): Replaced by test_program_prefix.
4450 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4451 (test_program_prefix): This.
4452 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4453 with $(host-test-program-cmd).
4454 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4455 $(run-program-prefix) with $(test-program-prefix).
4456 ($(objpfx)tst-printf.out): Likewise.
4457 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4458 $(test-program-cmd).
4459 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4460 (test_program_prefix): This.
4461 * stdio-common/tst-unbputc.sh: Likewise.
4462 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4463 $(run-program-prefix) with $(test-program-prefix).
4464 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4465 (test_program_prefix): This.
4466 * string/Makefile ($(objpfx)tst-svc.out): Replace
4467 $(built-program-cmd) with $(test-program-cmd).
4468
4469 2013-01-11 Andreas Jaeger <aj@suse.de>
4470
4471 [BZ #15003]
4472 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4473 value. Sync with Linux 3.7.
4474
4475 2013-01-10 David S. Miller <davem@davemloft.net>
4476
4477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4480
4481 2013-01-10 Roland McGrath <roland@hack.frob.com>
4482
4483 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4484 never set.
4485 * configure: Regenerated.
4486
4487 2013-01-10 David S. Miller <davem@davemloft.net>
4488
4489 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4490 sparc V9 rather than using V8 code.
4491 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4492 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4493
4494 2013-01-10 Roland McGrath <roland@hack.frob.com>
4495
4496 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4497 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4498 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4499 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4500 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4501 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4502 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4503 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4504 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4505 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4506 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4507 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4508 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4509 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4510 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4511 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4512 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4513 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4514 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4515 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4516 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4517 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4518 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4519 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4520 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4521 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4522 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4523
4524 2013-01-10 David S. Miller <davem@davemloft.net>
4525
4526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4527
4528 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4529
4530 * posix/Makefile (tests-static): New variable.
4531 (tests): Add $(tests-static).
4532 (tst-exec-static-ARGS): New variable.
4533 (tst-spawn-static-ARGS): Likewise.
4534 * posix/tst-exec-static.c: New file.
4535 * posix/tst-spawn-static.c: Likewise.
4536 * posix/tst-exec.c: Support run directly.
4537 * posix/tst-spawn.c: Likewise.
4538
4539 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4540
4541 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4542 long.
4543 * math/bits/mathcalls.h (llrint): Likewise.
4544 (llround): Likewise.
4545 * stdlib/stdlib.h (struct drand48_data): Likewise.
4546 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4547 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4549 Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4551 Likewise.
4552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4553 (elf_greg_t): Likewise.
4554 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4555 (__jmp_buf): Likewise.
4556 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4557 definitions.
4558 (llrint): Likewise, for all definitions.
4559 (llrintl): Likewise.
4560
4561 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4562 Remove [__GNUC__] condition.
4563 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4564 condition to just [__USE_ISOC99].
4565 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4566
4567 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4568
4569 [BZ #14200]
4570 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4571 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4572 defined.
4573 (_POSIX_V6_ILP32_OFF32): Likewise.
4574 (_XBS5_ILP32_OFF32): Likewise.
4575 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4576 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4577
4578 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4579
4580 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4581
4582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4583 doubles __mpexp_twomm1. Adjust usage.
4584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4585 Remove.
4586
4587 2013-01-10 Andreas Schwab <schwab@suse.de>
4588
4589 [BZ #14964]
4590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4591 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4592
4593 2013-01-09 David S. Miller <davem@davemloft.net>
4594
4595 [BZ #15003]
4596 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4597 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4598 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4599 TCP_FASTOPEN): Define.
4600 (tcp_repair_opt): New structure.
4601 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4602 enum values.
4603 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4604 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4605 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4606 (tcp_cookie_transactions): New structure.
4607
4608 2013-01-09 Anton Blanchard <anton@samba.org>
4609
4610 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4611 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4614
4615 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4616
4617 * include/features.h (__USE_ANSI): Remove.
4618
4619 2013-01-09 Roland McGrath <roland@hack.frob.com>
4620
4621 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4622
4623 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4624
4625 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
4627 * sysdeps/s390/fpu/libm-test-ulps: Update.
4628
4629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4630
4631 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4632 (__acr): Likewise.
4633 (__cpy): Likewise.
4634 (norm): Likewise.
4635 (denorm): Likewise.
4636 (__mp_dbl): Likewise.
4637 (__dbl_mp): Likewise.
4638 (add_magnitudes): Likewise.
4639 (sub_magnitudes): Likewise.
4640 (__add): Likewise.
4641 (__sub): Likewise.
4642 (__mul): Likewise.
4643 (__inv): Likewise.
4644 (__dvd): Likewise.
4645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4646 (__acr): Likewise.
4647 (__cpy): Likewise.
4648 (norm): Likewise.
4649 (denorm): Likewise.
4650 (__mp_dbl): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4654 (__add): Likewise.
4655 (__sub): Likewise.
4656 (__mul): Likewise.
4657 (__inv): Likewise.
4658 (__dvd): Likewise.
4659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4660 (__acr): Likewise.
4661 (__cpy): Likewise.
4662 (norm): Likewise.
4663 (denorm): Likewise.
4664 (__mp_dbl): Likewise.
4665 (__dbl_mp): Likewise.
4666 (add_magnitudes): Likewise.
4667 (sub_magnitudes): Likewise.
4668 (__add): Likewise.
4669 (__sub): Likewise.
4670 (__mul): Likewise.
4671 (__inv): Likewise.
4672 (__dvd): Likewise.
4673
4674 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4675
4676 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4677 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4678 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4679 2 && __USE_EXTERN_INLINES]: Likewise.
4680
4681 2013-01-08 Andreas Jaeger <aj@suse.de>
4682
4683 [BZ# 14985]
4684 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4685 Remove.
4686 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4688
4689 2013-01-07 Anton Blanchard <anton@samba.org>
4690
4691 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4693 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4694 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4695 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4697 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4709 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4711 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4714 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4716 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4718 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4734
4735 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4736
4737 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4738 (__MALLOC_PMT): Likewise.
4739 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4740 [__GNUC__], only on [_LIBC].
4741 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4742 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4743 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4744 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4745 forward declaration.
4746 (realloc_hook_ini): Likewise.
4747 (memalign_hook_ini): Likewise.
4748 (__libc_memalign): Do not use __MALLOC_PMT in variable
4749 declaration.
4750 (__libc_valloc): Likewise.
4751 (__libc_pvalloc): Likewise.
4752 (__libc_calloc): Likewise.
4753 (__posix_memalign): Likewise.
4754
4755 [BZ #14996]
4756 * math/s_casinh.c: Include <float.h>.
4757 (__casinh): Do not do computation with squaring and square root
4758 for large arguments.
4759 * math/s_casinhf.c: Include <float.h>.
4760 (__casinhf): Do not do computation with squaring and square root
4761 for large arguments.
4762 * math/s_casinhl.c: Include <float.h>.
4763 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4764 (__casinhl): Do not do computation with squaring and square root
4765 for large arguments.
4766 * math/libm-test.inc (casin_test): Add more tests.
4767 (casinh_test): Likewise.
4768 * sysdeps/i386/fpu/libm-test-ulps: Update.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4770
4771 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4774 (__x86_64_raw_data_cache_size): Likewise.
4775 (__x86_64_data_cache_size_half): Likewise.
4776 (__x86_64_raw_data_cache_size_half): Likewise.
4777 (__x86_64_shared_cache_size): Likewise.
4778 (__x86_64_raw_shared_cache_size): Likewise.
4779 (__x86_64_shared_cache_size_half): Likewise.
4780 (__x86_64_raw_shared_cache_size_half): Likewise.
4781 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4782 to ...
4783 (__x86_data_cache_size): This.
4784 (__x86_64_raw_data_cache_size): Renamed to ...
4785 (__x86_raw_data_cache_size): This.
4786 (__x86_64_data_cache_size_half): Renamed to ...
4787 (__x86_data_cache_size_half): This.
4788 (__x86_64_raw_data_cache_size_half): Renamed to ...
4789 (__x86_raw_data_cache_size_half): This.
4790 (__x86_64_shared_cache_size): Renamed to ...
4791 (__x86_shared_cache_size): This.
4792 (__x86_64_raw_shared_cache_size): Renamed to ...
4793 (__x86_raw_shared_cache_size): This.
4794 (__x86_64_shared_cache_size_half): Renamed to ...
4795 (__x86_shared_cache_size_half): This.
4796 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4797 (__x86_raw_shared_cache_size_half): This.
4798 * sysdeps/x86_64/memcpy.S: Updated.
4799 * sysdeps/x86_64/memset.S: Likewise.
4800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4803
4804 2013-01-04 David S. Miller <davem@davemloft.net>
4805
4806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4807
4808 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4809
4810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4811 1 to avoid redefinition warning.
4812 (__USE_GNU): Don't define.
4813 (init_signaling_nan): Protoize.
4814
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
4817 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4818
4819 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4821 (__cpymn): Likewise.
4822 (norm): Remove commented code.
4823 (denorm): Likewise.
4824 (__mp_dbl): Likewise.
4825 (__inv): Likewise.
4826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4827 (__cpymn): Likewise.
4828 (norm): Remove commented code.
4829 (denorm): Likewise.
4830 (__mp_dbl): Likewise.
4831 (__inv): Likewise.
4832
4833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4834 mp_no value for 1.0 and 2.0.
4835 (norm): Use RADIXI instead of radixi.d.
4836 (denorm): Likewise.
4837 (__mul): Use 0.0 instead of zero.d.
4838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4839 mp_no value for 1.0 and 2.0.
4840 (norm): Use RADIXI instead of radixi.d.
4841 (denorm): Likewise.
4842 (__mul): Use 0.0 instead of zero.d.
4843
4844 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4845
4846 [BZ #14994]
4847 * math/s_casinh.c (__casinh): Reduce finite argument to first
4848 quadrant then set signs of results at the end.
4849 * math/s_casinhf.c (__casinhf): Likewise.
4850 * math/s_casinhl.c (__casinhl): Likewise.
4851 * math/libm-test.inc (casin_test): Add more tests.
4852 (casinh_test): Likewise.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855
4856 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4857
4858 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4859
4860 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4861
4862 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4863 declarations.
4864 (denorm): Likewise.
4865 (__mp_dbl): Likewise.
4866 (__inv): Likewise.
4867
4868 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4869 and adjust the header comment.
4870
4871 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4872 variable name from declaration.
4873
4874 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4877 Initialize COMMON_CPUID_INDEX_7 element.
4878 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4879 (CPUID_RTM): Likewise.
4880 (HAS_RTM): Likewise.
4881 (COMMON_CPUID_INDEX_7): New enum.
4882
4883 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4884
4885 [BZ #14981]
4886 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4887 size is zero, record memory as freed.
4888
4889 2013-01-03 Andreas Jaeger <aj@suse.de>
4890
4891 * po/ia.po: Add new Interlingua translation.
4892
4893 2012-01-03 Allan McRae <allan@archlinux.org>
4894
4895 * locale/programs/localedef.c: Fix description of '--posix' flag.
4896
4897 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4898
4899 * NEWS: Update dates in second copyright notice.
4900 * README: Update copyright dates in example.
4901 * manual/libc.texinfo: Update copyright dates.
4902 * scripts/test-installation.pl: Update copyright date in --version
4903 output.
4904
4905 * hurd/ctty-input.c: Fix copyright notice formatting.
4906 * hurd/ctty-output.c: Likewise.
4907 * hurd/dtable.c: Likewise.
4908 * hurd/hurd-raise.c: Likewise.
4909 * hurd/hurdprio.c: Likewise.
4910 * hurd/msgportdemux.c: Likewise.
4911 * misc/sys/file.h: Likewise.
4912 * misc/sys/ioctl.h: Likewise.
4913 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4914 * sysdeps/mach/hurd/chdir.c: Likewise.
4915 * sysdeps/mach/hurd/fchdir.c: Likewise.
4916 * sysdeps/mach/hurd/rename.c: Likewise.
4917 * sysdeps/mach/hurd/rmdir.c: Likewise.
4918 * sysdeps/mach/hurd/seekdir.c: Likewise.
4919 * sysdeps/mach/hurd/setsid.c: Likewise.
4920 * sysdeps/posix/wait3.c: Likewise.
4921
4922 * All files with FSF copyright notices: Update copyright dates
4923 using scripts/update-copyrights.
4924 * intl/plural.c: Regenerated.
4925 * locale/programs/charmap-kw.h: Likewise.
4926 * locale/programs/locfile-kw.h: Likewise.
4927
4928 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4929
4930 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4931 four values.
4932
4933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4934 calculation loop and add branch prediction.
4935
4936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4937 check access beyond bounds of m1np.
4938
4939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4940 MPTWO.
4941 (__inv): Remove local variable MPTWO to use the global
4942 constant.
4943 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4945 variable MPTWO.
4946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4947 MP3HALFS static const.
4948
4949 2013-01-01 David S. Miller <davem@davemloft.net>
4950
4951 * po/ca.po: Update from translation team.
4952
4953 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4954
4955 * scripts/update-copyrights: New file.
4956 * Makeconfig: Reformat copyright notice.
4957 * ctype/ctype.h: Likewise.
4958 * debug/swprintf_chk.c: Likewise.
4959 * elf/dl-cache.c: Likewise.
4960 * elf/dl-debug.c: Likewise.
4961 * elf/dl-object.c: Likewise.
4962 * grp/initgroups.c: Likewise.
4963 * hurd/Makefile: Likewise.
4964 * hurd/hurd/signal.h: Likewise.
4965 * hurd/hurdfault.c: Likewise.
4966 * hurd/hurdioctl.c: Likewise.
4967 * hurd/hurdlookup.c: Likewise.
4968 * hurd/intr-msg.c: Likewise.
4969 * iconv/gconv_open.c: Likewise.
4970 * libio/swprintf.c: Likewise.
4971 * locale/lc-ctype.c: Likewise.
4972 * locale/nl_langinfo.c: Likewise.
4973 * mach/Machrules: Likewise.
4974 * mach/Makefile: Likewise.
4975 * malloc/obstack.h: Likewise.
4976 * manual/Makefile: Likewise.
4977 * manual/tsort.awk: Likewise.
4978 * misc/bits/stab.def: Likewise.
4979 * nis/nis_print_group_entry.c: Likewise.
4980 * nis/nis_table.c: Likewise.
4981 * nis/nss_compat/compat-pwd.c: Likewise.
4982 * nis/nss_compat/compat-spwd.c: Likewise.
4983 * po/Makefile: Likewise.
4984 * posix/fnmatch.c: Likewise.
4985 * posix/regex.h: Likewise.
4986 * resolv/Makefile: Likewise.
4987 * resolv/nss_dns/dns-network.c: Likewise.
4988 * resolv/res_hconf.c: Likewise.
4989 * scripts/gen-sorted.awk: Likewise.
4990 * soft-fp/soft-fp.h: Likewise.
4991 * stdio-common/printf.h: Likewise.
4992 * stdlib/monetary.h: Likewise.
4993 * stdlib/random.c: Likewise.
4994 * stdlib/random_r.c: Likewise.
4995 * sysdeps/generic/Makefile: Likewise.
4996 * sysdeps/gnu/Makefile: Likewise.
4997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5023 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5025 * sysdeps/mach/hurd/errnos.awk: Likewise.
5026 * sysdeps/mach/hurd/fork.c: Likewise.
5027 * sysdeps/mach/hurd/getcwd.c: Likewise.
5028 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5029 * sysdeps/mach/hurd/mmap.c: Likewise.
5030 * sysdeps/mach/hurd/utimes.c: Likewise.
5031 * sysdeps/mach/hurd/xmknod.c: Likewise.
5032 * sysdeps/posix/profil.c: Likewise.
5033 * sysdeps/posix/readdir_r.c: Likewise.
5034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5035 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5039 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5045 * sysdeps/pthread/lio_listio.c: Likewise.
5046 * sysdeps/sparc/dl-procinfo.h: Likewise.
5047 * sysdeps/unix/i386/sysdep.S: Likewise.
5048 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5049 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5050 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5051 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5053 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5054 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5055 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5056 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5057 * sysdeps/wordsize-32/divdi3.c: Likewise.
5058 * time/sys/time.h: Likewise.
5059 * wcsmbs/Makefile: Likewise.
5060
5061 2013-01-01 David S. Miller <davem@davemloft.net>
5062
5063 * po/fr.po: Update from translation team.
5064
5065 * catgets/gencat.c: Update copyright year.
5066 * csu/version.c: Likewise.
5067 * debug/catchsegv.sh: Likewise.
5068 * debug/pcprofiledump.c: Likewise.
5069 * debug/xtrace.sh: Likewise.
5070 * elf/ldconfig.c: Likewise.
5071 * elf/ldd.bash.in: Likewise.
5072 * elf/pldd.c: Likewise.
5073 * elf/sotruss.ksh: Likewise.
5074 * elf/sprof.c: Likewise.
5075 * iconv/iconv_prog.c: Likewise.
5076 * iconv/iconvconfig.c: Likewise.
5077 * locale/programs/locale.c: Likewise.
5078 * locale/programs/localedef.c: Likewise.
5079 * login/programs/pt_chown.c: Likewise.
5080 * malloc/memusage.sh: Likewise.
5081 * malloc/memusagestat.c: Likewise.
5082 * malloc/mtrace.pl: Likewise.
5083 * nscd/nscd.c: Likewise.
5084 * nss/getent.c: Likewise.
5085 * nss/makedb.c: Likewise.
5086 * posix/getconf.c: Likewise.
5087
5088 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5089
5090 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5091 numbers.
5092
5093 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5094
5095 * math/bits/mathcalls.h (modf): Use __nonnull.
5096
5097 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5098
5099 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5100 (split): Use macro CN instead of the bare value.
5101 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5102 could be used.
5103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5104 instead of the bare value.
5105 (power1): Likewise.
5106
5107 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5110 __ATAN_TWOM.
5111 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5112
5113 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5114 their values.
5115 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5117 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5118 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5119
5120 2012-12-28 Andreas Jaeger <aj@suse.de>
5121
5122 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5123 values are from Linux 3.7.
5124
5125 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5126 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5127
5128 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5129
5130 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5131 TRUE case.
5132
5133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5134 (norm): Likewise.
5135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5136 variables with preprocessor constants.
5137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5140
5141 2012-12-27 Bruno Haible <bruno@clisp.org>
5142
5143 [BZ #14317]
5144 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5145 only if needed.
5146
5147 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5148
5149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5150 and use variable directly.
5151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5152
5153 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5154 MPONE.
5155 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5157 variable MPONE.
5158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5160 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5161 include directive. Remove local variable MPONE.
5162 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5163 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5165
5166 2012-12-25 David S. Miller <davem@davemloft.net>
5167
5168 * version.h (RELEASE): Set to "development".
5169 (VERSION): Set to "2.17.90".
5170 * NEWS: Add 2.18 section.
5171
5172 2012-12-21 David S. Miller <davem@davemloft.net>
5173
5174 * po/hr.po: Update from translation team.
5175
5176 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5177
5178 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5179
5180 2012-12-19 Steve Ellcey <sellcey@mips.com>
5181
5182 * NEWS: Mention new memcpy for MIPS.
5183
5184 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5185
5186 * manual/contrib.texi (Contributors): Spelling correction.
5187
5188 2012-12-15 David S. Miller <davem@davemloft.net>
5189
5190 * po/ru.po: Update from translation team.
5191
5192 2012-12-13 David S. Miller <davem@davemloft.net>
5193
5194 * NEWS: Mention IFUNC testsuite enhancements.
5195
5196 * po/pl.po: Update from translation team.
5197 * po/bg.po: Likewise.
5198
5199 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5200 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5201
5202 2012-12-11 David S. Miller <davem@davemloft.net>
5203
5204 * po/sv.po: Update from translation team.
5205
5206 * po/vi.po: Update from translation team.
5207
5208 * po/cs.po: Update from translation team.
5209
5210 * po/de.po: Update from translation team.
5211 * po/eo.po: Likewise.
5212 * po/nl.po: Likewise.
5213
5214 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
5216 [BZ #14246]
5217 * manual/argp.texi (Argp Helper Functions): Move node to follow
5218 Argp Parsing State.
5219
5220 [BZ #14872]
5221 * manual/conf.texi (Limits on File System Capacity): Mention if
5222 terminating null is included in the max size.
5223
5224 2012-12-10 Andreas Jaeger <aj@suse.de>
5225
5226 * po/cs.po: Update from translation team.
5227
5228 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5229
5230 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5231 void pointer and cast to uintptr_t.
5232 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5233 path.
5234 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5235 * sysdeps/s390/s390-64/memset.S: Likewise.
5236
5237 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5238
5239 [BZ #14833]
5240 * menual/message.texi (Message Translation): Fix typos.
5241 (Helper programs for gettext): Likewise.
5242
5243 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 [BZ #14898]
5246 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5247 Change to -1.
5248
5249 2012-12-07 David S. Miller <davem@davemloft.net>
5250
5251 * po/libc.pot: Update.
5252
5253 2012-12-07 Richard Henderson <rth@redhat.com>
5254
5255 [BZ #10114]
5256 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5257 normal/normal case to before the switch.
5258 (_FP_DIV): Likewise.
5259
5260 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5261 Mike Frysinger <vapier@gentoo.org>
5262
5263 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5264 check for __NR_fadvise64_64.
5265
5266 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5267
5268 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5269 0, not just to plain "0" as a statement.
5270 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5271 with cw.
5272
5273 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5274
5275 * NEWS: Use sourceware.org in Bugzilla URL.
5276
5277 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5281
5282 * stdio-common/tst-put-error.c (do_test): Add newline to the
5283 padded test to ensure flush.
5284
5285 2012-12-05 Jeff Law <law@redhat.com>
5286
5287 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5288
5289 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5290
5291 * README: Don't refer to ports add-on as distributed separately.
5292 Mention AArch64 in list of systems supported in the ports add-on.
5293
5294 * LICENSES: Add more non-FSF copyright and license notices.
5295
5296 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5297 ((unused)).
5298
5299 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5300
5301 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5302 10000 as width of padded output.
5303
5304 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5305
5306 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5307
5308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5309 variable LX with __attribute__ ((unused)).
5310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5311 Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5315 with __attribute__ ((unused)).
5316
5317 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5318
5319 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5320
5321 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5322
5323 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5324 (CFLAGS-nldbl-acos.c): New variable.
5325 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5415 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5416 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5421 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5422
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5424 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5425
5426 [BZ #14914]
5427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5428 whole low double instead of just low 47 bits when splitting values
5429 into two parts.
5430
5431 2012-12-03 Allan McRae <allan@archlinux.org>
5432
5433 * manual/stdio.texi (Predefined Printf Handlers): Remove
5434 @hsep and @vsep usage.
5435
5436 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5437
5438 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5439 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5440
5441 2012-12-03 Jeff Law <law@redhat.com>
5442
5443 * time/sys/time.h (settimeofday): Do not mark TV argument
5444 as __nonnull.
5445
5446 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5447
5448 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5449 when currently writing and seek to current position when not.
5450 * libio/Makefile (tests): Remove bug-fclose1.
5451 * libio/bug-fclose1.c: Delete.
5452
5453 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5454
5455 * manual/arith.texi (feenableexcept): Fix typo.
5456 (fedisableexcept): Likewise.
5457
5458 2012-11-30 Roland McGrath <roland@hack.frob.com>
5459
5460 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5461 second, differently-typed declaration, rather than a cast.
5462
5463 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5466 * include/rpc/svc.h: ... here.
5467
5468 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5469
5470 [BZ #13013]
5471 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5472 depending n and resplen2 to catch cases where answer
5473 equals answerp2.
5474
5475 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5476
5477 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5478 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5479
5480 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5481
5482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5483
5484 2012-11-29 Roland McGrath <roland@hack.frob.com>
5485
5486 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5487
5488 2012-11-28 Jeff Law <law@redhat.com>
5489
5490 [BZ #13761]
5491 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5492 dataset_temporary. Track alloca usage into alloca_used.
5493 If dataset is large allocate and release it via malloc/free.
5494
5495 2012-06-04 Florian Weimer <fweimer@redhat.com>
5496
5497 [BZ #14197]
5498 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5499
5500 2012-11-28 David S. Miller <davem@davemloft.net>
5501
5502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5503
5504 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #14803]
5507 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5508 of pi/2 rounded to nearest to 64 bits.
5509 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5510 nearest to 64 bits.
5511 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5512 bits.
5513
5514 2012-11-28 Jeff Law <law@redhat.com>
5515 Martin Osvald <mosvald@redhat.com>
5516
5517 [BZ #14889]
5518 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5519 * sunrpc/svc.c: Include time.h.
5520 (__svc_accept_failed): New function.
5521 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5522 any reason other than EINTR, call __svc_accept_failed.
5523 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5524 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5525
5526 2012-11-28 Andreas Schwab <schwab@suse.de>
5527
5528 * scripts/abilist.awk: Also handle indirect functions in .opd
5529 section.
5530
5531 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #13881]
5534 * sysdeps/x86/fpu/powl_helper.c: New file.
5535 * sysdeps/x86/fpu/Makefile: Likewise.
5536 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5537 (p3): New object.
5538 (__ieee754_powl): Use __powl_helper for finite arguments except
5539 integer exponents below 8.
5540 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5541 (p3): New object.
5542 (__ieee754_powl): Use __powl_helper for finite arguments except
5543 integer exponents below 8.
5544 * math/libm-test.inc (pow_test): Add more tests and enable some
5545 previously disabled tests.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5548
5549 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5550 Carlos O'Donell <carlos_odonell@mentor.com>
5551
5552 * nss/makedb.c (is_prime): Assert that input is odd and greater
5553 than 4. Note that fact in a comment too.
5554 (next_prime): Add 4 to input.
5555
5556 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5557
5558 [BZ #11741]
5559 * libio/Makefile (tests): Add test case tst-fwrite-error.
5560 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5561 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5562 * libio/tst-fwrite-error.c: New test case.
5563
5564 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5565
5566 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5567 before casting to void *.
5568 * include/libc-internal.h (__pointer_type): New macro.
5569 (__integer_if_pointer_type_sub): Likewise.
5570 (__integer_if_pointer_type): Likewise.
5571 (cast_to_integer): Likewise.
5572 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5573 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5574 before casting to atomic64_t.
5575 (atomic_exchange_acq): Likewise.
5576 (__arch_exchange_and_add_body): Likewise.
5577 (__arch_add_body): Likewise.
5578 (atomic_add_negative): Likewise.
5579 (atomic_add_zero): Likewise.
5580
5581 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5584 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5585 (add_fdes): Likewise.
5586 (linear_search_fdes): Likewise.
5587 (binary_search_unencoded_fdes): Likewise.
5588
5589 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5592
5593 2012-11-24 Adam Conrad <adconrad@0c3.net>
5594
5595 * configure.in: Autodetect C++ header directories.
5596 * configure: Regenerated.
5597
5598 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5599
5600 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5601
5602 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5603
5604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5605
5606 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5607
5608 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5609 LDBL_MANT_DIG == 106]: Disable some tests.
5610 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5611 Likewise.
5612 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5613 Likewise.
5614
5615 [BZ #14871]
5616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5617 input for small inputs. Return +/- pi/2 for large inputs.
5618 * math/libm-test.inc (atan_test): Add more tests.
5619
5620 * sysdeps/generic/unwind-dw2-fde-glibc.c
5621 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5622 __attribute__ ((unused)).
5623
5624 [BZ #14645]
5625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5626 x * y if x and y are nonzero and z is zero.
5627
5628 [BZ #14811]
5629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5630 nonzero exponents with absolute value below 0x1p-117 to +/-
5631 0x1p-117.
5632
5633 [BZ #14869]
5634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5635 up arguments below 2**-450, not just those below 2**-500.
5636 * math/libm-test.inc (hypot_test): Add another test.
5637
5638 [BZ #14868]
5639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5640 Return a+b for ratio over 2**120, not 2**60.
5641 * math/libm-test.inc (hypot_test): Add another test.
5642
5643 * math/libm-test.inc (clog_test): Use
5644 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5645 (clog10_test): Likewise.
5646
5647 [BZ #6778]
5648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5649
5650 2012-11-22 Andreas Schwab <schwab@suse.de>
5651
5652 * sysdeps/i386/fpu/libm-test-ulps: Update.
5653
5654 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5655
5656 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5657 printf output with newline.
5658
5659 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5660
5661 [BZ #14865]
5662 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5663 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5664 -z nodlopen, -z initfirst and -z execstack support.
5665 * configure: Regenerated.
5666
5667 * elf/elf.h (DF_1_NODIRECT): New macro.
5668 (DF_1_IGNMULDEF): Likewise.
5669 (DF_1_NOKSYMS): Likewise.
5670 (DF_1_NOHDR): Likewise.
5671 (DF_1_EDITED): Likewise.
5672 (DF_1_NORELOC): Likewise.
5673 (DF_1_SYMINTPOSE): Likewise.
5674 (DF_1_GLOBAUDIT): Likewise.
5675 (DF_1_SINGLETON): Likewise.
5676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5677 DT_1_SUPPORTED_MASK bits.
5678 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5679
5680 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5681
5682 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5683
5684 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5685
5686 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5687 macro.
5688
5689 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5690 (sendmmsg): Move declarations...
5691 * socket/sys/socket.h: ... here.
5692 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5693 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5694 include it from...
5695 * socket/recvmmsg.c: ... this new file.
5696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5697 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5698 definition of __sendmmsg hidden.
5699 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5700 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5701 Move ENOSYS stub into and include it from...
5702 * socket/sendmmsg.c: ... this new file.
5703 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5704 (sysdep_routines): Move recvmmsg and sendmmsg...
5705 * socket/Makefile (routines): ... here.
5706 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5707 (GLIBC_PRIVATE): Add __sendmmsg.
5708 * include/sys/socket.h (__sendmmsg): Add declarations.
5709 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5710 sendmmsg.
5711
5712 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5713
5714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5715 variable I1 with __attribute__ ((unused)).
5716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5717
5718 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5719
5720 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5721 DUMMY variables with __attribute__ ((unused)).
5722
5723 * bits/byteswap.h: Include <bits/types.h>.
5724 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5725
5726 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5727
5728 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5729 string_t. Do not manually set errno.
5730 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5731 length with __strnlen. Make sure to both set errno and return it on
5732 failure.
5733
5734 2012-11-19 David S. Miller <davem@davemloft.net>
5735
5736 With help from Joseph Myers.
5737 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5738 very large arguments properly.
5739 * math/libm-test.inc (atan_test): New tests.
5740 (atan2_test): New tests.
5741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5743
5744 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5745
5746 [BZ #14856]
5747 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5748 Define to 3.
5749
5750 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5751 [POSIX] (EADDRNOTAVAIL): Likewise.
5752 [POSIX] (EAFNOSUPPORT): Likewise.
5753 [POSIX] (EALREADY): Likewise.
5754 [POSIX] (ECONNABORTED): Likewise.
5755 [POSIX] (ECONNREFUSED): Likewise.
5756 [POSIX] (ECONNRESET): Likewise.
5757 [POSIX] (EDESTADDRREQ): Likewise.
5758 [POSIX] (EDQUOT): Likewise.
5759 [POSIX] (EHOSTUNREACH): Likewise.
5760 [POSIX] (EIDRM): Likewise.
5761 [POSIX] (EISCONN): Likewise.
5762 [POSIX] (ELOOP): Likewise.
5763 [POSIX] (EMULTIHOP): Likewise.
5764 [POSIX] (ENETDOWN): Likewise.
5765 [POSIX] (ENETUNREACH): Likewise.
5766 [POSIX] (ENOBUFS): Likewise.
5767 [POSIX] (ENODATA): Likewise.
5768 [POSIX] (ENOLINK): Likewise.
5769 [POSIX] (ENOMSG): Likewise.
5770 [POSIX] (ENOPROTOOPT): Likewise.
5771 [POSIX] (ENOSR): Likewise.
5772 [POSIX] (ENOSTR): Likewise.
5773 [POSIX] (ENOTCONN): Likewise.
5774 [POSIX] (ENOTSOCK): Likewise.
5775 [POSIX] (EOPNOTSUPP): Likewise.
5776 [POSIX] (EOVERFLOW): Likewise.
5777 [POSIX] (EPROTO): Likewise.
5778 [POSIX] (EPROTONOSUPPORT): Likewise.
5779 [POSIX] (EPROTOTYPE): Likewise.
5780 [POSIX] (ESTALE): Likewise.
5781 [POSIX] (ETIME): Likewise.
5782 [POSIX] (ETXTBSY): Likewise.
5783 [POSIX] (EWOULDBLOCK): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5785 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5786 [POSIX] (SEEK_CUR): Likewise.
5787 [POSIX] (SEEK_END): Likewise.
5788 [POSIX || UNIX98] (mode_t): Do not require.
5789 [POSIX] (off_t): Likewise.
5790 [POSIX] (pid_t): Likewise.
5791 [POSIX] (sys/stat.h): Do not allow header.
5792 [POSIX] (unistd.h): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5794 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5796 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5797 require.
5798 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5799 sigevent): Specify elements.
5800 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5801 entry.
5802 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5803 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5804
5805 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5806 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5807 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5808 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5809 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5810 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5811 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5812 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5815 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5816 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5817 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5818 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5819 Likewise.
5820 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5821 Likewise.
5822 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5823 Likewise.
5824 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5825 Likewise.
5826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5829 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5831 Specify lower bound on value.
5832 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5838 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5839 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5840 value.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5842 as optional.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5859 entry.
5860 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5861 optional.
5862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5868 Likewise.
5869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5874 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5875 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5876 as optional.
5877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5881 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5882 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5883 specify as optional.
5884 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5887 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5888 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5889 [XPG3] (NL_LANGMAX): Likewise.
5890 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5891 [POSIX || XPG3] (NL_NMAX): Likewise.
5892 [POSIX || XPG3] (NL_SETMAX): Likewise.
5893 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5894 [XPG3] (NZERO): Likewise.
5895 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5896 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5897 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5898 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5899 (REG_ERANGE): Expect.
5900 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5901 optional-constant.
5902 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5903 Use (void) in prototype.
5904 [POSIX] (*_t): Allow.
5905 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5906 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5907 (WRDE_BADVAL): Expect.
5908
5909 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5910 expect.
5911 [XPG3 || XPG4] (O_RSYNC): Likewise.
5912 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5913 Likewise.
5914 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5915 [XPG3 || XPG4] (sigqueue): Likewise.
5916 [XPG3 || XPG4] (sigtimedwait): Likewise.
5917 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5918 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5919 [XPG3 || XPG4] (vsnprintf): Likewise.
5920 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5921 Likewise.
5922 [XPG3 || XPG4] (blksize_t): Likewise.
5923 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5924 Likewise.
5925 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5926 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5927 [XPG3 || XPG4] (struct itimerspec): Likewise.
5928 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5929 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5930 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5931 [XPG3 || XPG4] (clockid_t): Likewise.
5932 [XPG3 || XPG4] (timer_t): Likewise.
5933 [XPG3 || XPG4] (clock_getres): Likewise.
5934 [XPG3 || XPG4] (clock_gettime): Likewise.
5935 [XPG3 || XPG4] (clock_settime): Likewise.
5936 [XPG3 || XPG4] (nanosleep): Likewise.
5937 [XPG3 || XPG4] (timer_create): Likewise.
5938 [XPG3 || XPG4] (timer_delete): Likewise.
5939 [XPG3 || XPG4] (timer_gettime): Likewise.
5940 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5941 [XPG3 || XPG4] (timer_settime): Likewise.
5942 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5943 [XPG3 || XPG4] (getlogin_r): Likewise.
5944 [XPG3 || XPG4] (pread): Likewise.
5945 [XPG3 || XPG4] (pthread_atfork): Likewise.
5946 [XPG3 || XPG4] (pwrite): Likewise.
5947
5948 [BZ #14835]
5949 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5950 <bits/siginfo.h>.
5951
5952 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5953
5954 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5955 finalizing MALLSTREAM.
5956
5957 * sysdeps/mach/hurd/syncfs.c: New file.
5958
5959 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 [BZ #14719]
5962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5963 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5965 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5966 (_nss_dns_gethostbyname4_r): Likewise.
5967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5968 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5969
5970 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5971
5972 [BZ #13763]
5973 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5974
5975 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5976
5977 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5978 * elf/cache.c (print_entry): Print ",AArch64" for
5979 FLAG_AARCH64_LIB64
5980
5981 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5982 * elf/cache.c (print_entry): Print ",hard-float" for
5983 FLAG_ARM_LIBHF.
5984
5985 2012-11-18 David S. Miller <davem@davemloft.net>
5986
5987 With help from Joseph Myers.
5988 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5989 cutoff to 2**-13.
5990 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5991 cutoff to 2**-25.
5992 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5993 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5994 small.
5995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5996 * math/libm-test.inc (y0_test): New tests.
5997 (y1_test): New tests.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6001
6002 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6005 64-bit targets.
6006 * configure: Regenerated.
6007
6008 2012-11-17 David S. Miller <davem@davemloft.net>
6009
6010 [BZ #14811]
6011 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6012 nonzero exponents with absolute value below 0x1p-128 to +/-
6013 0x1p-128.
6014
6015 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6016
6017 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6018
6019 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6020
6021 * posix/getconf-speclist.c: New file.
6022 * posix/posix-envs.def: Likewise.
6023 * posix/confstr.c (START_ENV_GROUP): New macro.
6024 (END_ENV_GROUP): Likewise.
6025 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6026 (KNOWN_PRESENT_ENV_STRING): Likewise.
6027 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6028 (UNKNOWN_ENVIRONMENT): Likewise.
6029 (confstr): Include posix-envs.def instead of handling
6030 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6031 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6032 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6033 (END_ENV_GROUP): Likewise.
6034 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6036 (UNKNOWN_ENVIRONMENT): Likewise.
6037 (__sysconf): Include posix-envs.def instead of handling associated
6038 cases directly here.
6039 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6040 preprocessing getconf-speclist.c rather than running getconf or
6041 generating empty file.
6042
6043 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6044
6045 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6046
6047 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6048
6049 [BZ #14672]
6050 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6051
6052 2012-11-16 David S. Miller <davem@davemloft.net>
6053
6054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6055 smaller than LDBL_EPSILON/2.0L, just return xm1.
6056
6057 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 * elf/tst-array1.c (init): Set constructor priority to 1000.
6060 (fini): Set destructor priority to 1000.
6061 * elf/tst-array2dep.c: Likewise.
6062
6063 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6064
6065 [BZ #11741]
6066 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6067 (_IO_new_file_xsputn): Also return EOF if none of the input
6068 data was written when overflow failed.
6069 * libio/iopadn.c (_IO_padn): Likewise.
6070 * libio/iowpadn.c (_IO_wpadn): Likewise.
6071 * stdio-common/tst-put-error.c: Add copyright notice.
6072 (do_test): Add case for printing padded string.
6073 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6074 _IO_padn returned error.
6075 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6076 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6077 return EOF.
6078
6079 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6080
6081 * libio/libioP.h: Add comment note that the references to C++
6082 bits are now obsolete.
6083
6084 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6085
6086 * math/libm-test.inc (check_complex): Use asprintf.
6087
6088 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6089
6090 * debug/pcprofiledump.c (print_version): Update copyright year.
6091 * malloc/memusagestat.c (print_version): Likewise.
6092
6093 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 [BZ #14831]
6096 * elf/Makefile (tests): Add tst-audit8.
6097 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6098 ($(objpfx)tst-audit8.out): New target.
6099 (tst-audit8-ENV): New variable.
6100 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6101 audit if l_reloc_result is NULL.
6102 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6103 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6104 * elf/tst-audit8.c: New file.
6105
6106 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6107
6108 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6109 * misc/Makefile (CFLAGS-select.c): Define.
6110 * posix/Makefile (CFLAGS-pause.c): Define.
6111
6112 2012-11-13 David S. Miller <davem@davemloft.net>
6113
6114 * crypt/Makefile: Move test targets after toplevel Rules
6115 inclusion. Grab any necessary sysdep routines when linking.
6116 * crypt/md5.c (md5_process_block): Remove define, we will always
6117 name it __md5_process_block.
6118 (md5_finish_ctx): Update md5_process_block call.
6119 (md5_stream): Likewise.
6120 (md5_process_bytes): Likewise.
6121 (md5_process_block): Rename to __md5_process_block and move to ...
6122 * crypt/md5-block.c: ... here.
6123 * crypt/sha256.c (sha256_process_block): Move to ...
6124 * crypt/sha256-block.c: ... here.
6125 * crypt/sha512.c (sha512_process_block): Move to ...
6126 * crypt/sha512-block.c: ... here.
6127 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6128 path.
6129 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6130 * sysdeps/sparc/sparc64/multiarch/Makefile
6131 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6132 crypt subdir.
6133 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6135 multiarch changes.
6136 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6137 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6138 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6139 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6140 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6141 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6143 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6145 file.
6146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6148 file.
6149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6150
6151 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6152
6153 * timezone/tzselect.ksh: Update from tzcode git revision
6154 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6155 * timezone/zdump.c: Likewise.
6156 * timezone/zic.c: Likewise.
6157 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6158 in TZVERSION setting, not $(PKGVERSION).
6159 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6160 REPORT_BUGS_TO settings.
6161
6162 [BZ #14838]
6163 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6164 macro.
6165
6166 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6167
6168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6169 detection to immediately after _FP_ROUND().
6170 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6171 bits are 0.
6172
6173 2012-11-11 David S. Miller <davem@davemloft.net>
6174
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6176 inttypes.h
6177 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6178 __close rather than their public counterparts.
6179
6180 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6181
6182 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6183 file.
6184 [UNIX98] (sem_timedwait): Do not expect.
6185 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6186 [XPG4 || UNIX98] (sockatmark): Do not expect.
6187 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6188 (clock_getcpuclockid): Do not expect.
6189 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6190 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6191 Do not expect.
6192 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6193 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6194 [UNIX98] (vwscanf): Likewise.
6195 [UNIX98] (vswscanf): Likewise.
6196
6197 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6198
6199 * timezone/version.h: Remove file.
6200 * timezone/README: Do not refer to version.h.
6201 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6202 $(objpfx)version.h.
6203 ($(objpfx)zdump.o): Likewise.
6204 ($(objpfx)version.h): New target.
6205
6206 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6207 2012i.
6208 * timezone/README: Don't mention modification to tzselect.ksh.
6209 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6210 work on unmodified tzselect.ksh. Substitute version numbers in
6211 tzselect.ksh.
6212
6213 * Makefile (format-me): Remove.
6214 (INSTALL): Adjust indentation. Use commands directly instead of
6215 using $(format-me).
6216
6217 * aclocal.m4 (ACX_PKGVERSION): New macro.
6218 (ACX_BUGURL): Likewise.
6219 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6220 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6221 (REPORT_BUGS_TO): Likewise.
6222 * configure: Regenerated.
6223 * config.h.in (PKGVERSION): New macro.
6224 (REPORT_BUGS_TO): Likewise.
6225 * config.make.in (PKGVERSION): New variable.
6226 (PKGVERSION_TEXI): Likewise.
6227 (REPORT_BUGS_TO): Likewise.
6228 (REPORT_BUGS_TEXI): Likewise.
6229 * Makefile (format-me): Use -I$(common-objpfx)manual.
6230 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6231 ($(common-objpfx)manual/%): New target.
6232 (manual/%): Remove target.
6233 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6234 (print_version): Use PKGVERSION.
6235 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6236 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6237 and REPORT_BUGS_TO.
6238 ($(objpfx)xtrace): Likewise.
6239 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6240 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6241 (print_version): Use PKGVERSION.
6242 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6243 (do_version): Use PKGVERSION.
6244 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6245 REPORT_BUGS_TO.
6246 (common-ldd-rewrite): Likewise.
6247 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6248 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6249 (print_version): Use PKGVERSION.
6250 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6251 * elf/pldd.c (argp_program_bug_address): Remove variable.
6252 (more_help): New function.
6253 (argp): Use more_help.
6254 (print_version): Use PKGVERSION.
6255 * elf/sln.c (main): Use PKGVERSION.
6256 (usage): Use REPORT_BUGS_TO.
6257 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6258 (top level): Use PKGVERSION.
6259 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6260 (print_version): Use PKGVERSION.
6261 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6262 (print_version): Use PKGVERSION.
6263 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6264 (print_version): Use PKGVERSION.
6265 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6266 (print_version): Use PKGVERSION.
6267 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6268 (print_version): Use PKGVERSION.
6269 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6270 (print_version): Use PKGVERSION.
6271 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6272 and BUGURL.
6273 ($(objpfx)memusage): Likewise.
6274 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6275 (do_version): Use PKGVERSION.
6276 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6277 (print_version): Use PKGVERSION.
6278 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6279 ($PKGVERSION): New variable.
6280 ($REPORT_BUGS_TO): Likewise.
6281 (usage): Use $REPORT_BUGS_TO.
6282 (top level): Use $PKGVERSION.
6283 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6284 ($(objpfx)pkgvers.texi): New rule.
6285 ($(objpfx)stamp-pkgvers): Likewise.
6286 * manual/install.texi: Include pkgvers.texi.
6287 (--with-pkgversion): Document new configure option.
6288 (--with-bugurl): Likewise.
6289 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6290 than necessarily for this particular distribution. Use
6291 REPORT_BUGS_TO for where to report bugs.
6292 * INSTALL: Regenerated.
6293 * manual/libc.texinfo: Include pkgvers.texi.
6294 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6295 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6296 (print_version): Use PKGVERSION.
6297 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6298 (print_version): Use PKGVERSION.
6299 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6300 (print_version): Use PKGVERSION.
6301 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6302 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6303 macro.
6304 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6305 (print_version): Use PKGVERSION.
6306 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6307 (print_version): Use PKGVERSION.
6308 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6309 and PKGVERSION.
6310
6311 * timezone/checktab.awk: Update from tzcode 2012i.
6312 * timezone/ialloc.c: Likewise.
6313 * timezone/private.h: Likewise.
6314 * timezone/scheck.c: Likewise.
6315 * timezone/tzfile.h: Likewise.
6316 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6317 (TZVERSION): Hardcode tzcode version number.
6318 * timezone/zdump.c: Update from tzcode 2012i.
6319 * timezone/zic.c: Likewise.
6320 * timezone/version.h: New file.
6321 * timezone/README: Describe version.h. Update upstream location.
6322
6323 [BZ #14824]
6324 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6325 (mktemp): Enable declaration.
6326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6330 Likewise.
6331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6332 Likewise.
6333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6334 Likewise.
6335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6336 Likewise.
6337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6338 Likewise.
6339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6340 Likewise.
6341
6342 [BZ #14821]
6343 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6344 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6345 for copies of such integer values.
6346 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6347 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6348
6349 2012-11-09 Andreas Jaeger <aj@suse.de>
6350
6351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6352 definitions and declarations that are provided by
6353 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6354
6355 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6356
6357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6358 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6359 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6360 definition.
6361
6362 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6363
6364 * elf/elf.h: Update comment before AArch64 relocations.
6365
6366 2012-11-07 David S. Miller <davem@davemloft.net>
6367
6368 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6370 (__start_context): Declare.
6371 (__makecontext_ret): Delete.
6372 (__makecontext): Hook up __start_context instead of
6373 __makecontext_ret.
6374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6375 (sysdep_routines): Add __start_context when in stdlib.
6376
6377 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6380 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6381 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6382 hardcoded "nm".
6383 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6384 (READELF): New variable. Use it instead of hardcoded "readelf".
6385
6386 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6389 * sysdeps/x86/Makefile: Here.
6390 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6391 * sysdeps/x86/tst-xmmymm.sh: This.
6392
6393 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6394
6395 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6396 expectations.
6397 [UNIX98] (pthread_barrier_t): Do not expect.
6398 [UNIX98] (pthread_barrierattr_t): Likewise.
6399 [UNIX98] (pthread_spinlock_t): Likewise.
6400 [UNIX98] (pthread_barrier_destroy): Likewise.
6401 [UNIX98] (pthread_barrier_init): Likewise.
6402 [UNIX98] (pthread_barrier_wait): Likewise.
6403 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6404 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6405 [UNIX98] (pthread_barrierattr_init): Likewise.
6406 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6407 [UNIX98] (pthread_getcpuclockid): Likewise.
6408 [UNIX98] (pthread_mutex_timedlock): Likewise.
6409 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6410 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6411 [UNIX98] (pthread_sigmask): Likewise.
6412 [UNIX98] (pthread_spin_destroy): Likewise.
6413 [UNIX98] (pthread_spin_init): Likewise.
6414 [UNIX98] (pthread_spin_lock): Likewise.
6415 [UNIX98] (pthread_spin_trylock): Likewise.
6416 [UNIX98] (pthread_spin_unlock): Likewise.
6417 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6418 Do not expect.
6419 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6421 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6422 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6423 [XPG3 || XPG4] (pthread_key_t): Likewise.
6424 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6425 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6426 [XPG3 || XPG4] (pthread_once_t): Likewise.
6427 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6428 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6430 [XPG3 || XPG4] (pthread_t): Likewise.
6431
6432 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6433 not expect.
6434 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6435
6436 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6437 Change function return type to int.
6438
6439 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6440 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6441 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6442 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6443 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6444 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6445 [!POSIX] (posix_madvise): Likewise.
6446 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6447 && !UNIX98].
6448 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6449 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6450 (mode_t): Likewise.
6451 (posix_mem_offset): Likewise.
6452 (posix_typed_mem_get_info): Likewise.
6453 (posix_typed_mem_open): Likewise.
6454
6455 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6456 Change condition to [XOPEN2K8].
6457
6458 * conform/conformtest.pl: Preprocess allow-header data with -x c
6459 instead of from stdin.
6460 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6461 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6462 [C99-based standards] (cerfc): Likewise.
6463 [C99-based standards] (cexp2): Likewise.
6464 [C99-based standards] (cexpm1): Likewise.
6465 [C99-based standards] (clog10): Likewise.
6466 [C99-based standards] (clog1p): Likewise.
6467 [C99-based standards] (clog2): Likewise.
6468 [C99-based standards] (clgamma): Likewise.
6469 [C99-based standards] (ctgamma): Likewise.
6470 [C99-based standards] (cerff): Likewise.
6471 [C99-based standards] (cerfcf): Likewise.
6472 [C99-based standards] (cexp2f): Likewise.
6473 [C99-based standards] (cexpm1f): Likewise.
6474 [C99-based standards] (clog10f): Likewise.
6475 [C99-based standards] (clog1pf): Likewise.
6476 [C99-based standards] (clog2f): Likewise.
6477 [C99-based standards] (clgammaf): Likewise.
6478 [C99-based standards] (ctgammaf): Likewise.
6479 [C99-based standards] (cerfl): Likewise.
6480 [C99-based standards] (cerfcl): Likewise.
6481 [C99-based standards] (cexp2l): Likewise.
6482 [C99-based standards] (cexpm1l): Likewise.
6483 [C99-based standards] (clog10l): Likewise.
6484 [C99-based standards] (clog1pl): Likewise.
6485 [C99-based standards] (clog2l): Likewise.
6486 [C99-based standards] (clgammal): Likewise.
6487 [C99-based standards] (ctgammal): Likewise.
6488 * conform/data/inttypes.h-data [C99-based standards]: Include
6489 stdint.h-data. Remove all expectations for stdint.h contents.
6490 [C99-based standards] (PRI*): Do not allow.
6491 [C99-based standards] (SCN*): Likewise.
6492 [C99-based standards] (*_t): Likewise.
6493 [C99-based-standards] (PRId8): Expect macro.
6494 [C99-based-standards] (PRIi8): Likewise.
6495 [C99-based-standards] (PRIo8): Likewise.
6496 [C99-based-standards] (PRIu8): Likewise.
6497 [C99-based-standards] (PRIx8): Likewise.
6498 [C99-based-standards] (PRIX8): Likewise.
6499 [C99-based-standards] (SCNd8): Likewise.
6500 [C99-based-standards] (SCNi8): Likewise.
6501 [C99-based-standards] (SCNo8): Likewise.
6502 [C99-based-standards] (SCNu8): Likewise.
6503 [C99-based-standards] (SCNx8): Likewise.
6504 [C99-based-standards] (PRIdLEAST8): Likewise.
6505 [C99-based-standards] (PRIiLEAST8): Likewise.
6506 [C99-based-standards] (PRIoLEAST8): Likewise.
6507 [C99-based-standards] (PRIuLEAST8): Likewise.
6508 [C99-based-standards] (PRIxLEAST8): Likewise.
6509 [C99-based-standards] (PRIXLEAST8): Likewise.
6510 [C99-based-standards] (SCNdLEAST8): Likewise.
6511 [C99-based-standards] (SCNiLEAST8): Likewise.
6512 [C99-based-standards] (SCNoLEAST8): Likewise.
6513 [C99-based-standards] (SCNuLEAST8): Likewise.
6514 [C99-based-standards] (SCNxLEAST8): Likewise.
6515 [C99-based-standards] (PRIdFAST8): Likewise.
6516 [C99-based-standards] (PRIiFAST8): Likewise.
6517 [C99-based-standards] (PRIoFAST8): Likewise.
6518 [C99-based-standards] (PRIuFAST8): Likewise.
6519 [C99-based-standards] (PRIxFAST8): Likewise.
6520 [C99-based-standards] (PRIXFAST8): Likewise.
6521 [C99-based-standards] (SCNdFAST8): Likewise.
6522 [C99-based-standards] (SCNiFAST8): Likewise.
6523 [C99-based-standards] (SCNoFAST8): Likewise.
6524 [C99-based-standards] (SCNuFAST8): Likewise.
6525 [C99-based-standards] (SCNxFAST8): Likewise.
6526 [C99-based-standards] (PRId16): Likewise.
6527 [C99-based-standards] (PRIi16): Likewise.
6528 [C99-based-standards] (PRIo16): Likewise.
6529 [C99-based-standards] (PRIu16): Likewise.
6530 [C99-based-standards] (PRIx16): Likewise.
6531 [C99-based-standards] (PRIX16): Likewise.
6532 [C99-based-standards] (SCNd16): Likewise.
6533 [C99-based-standards] (SCNi16): Likewise.
6534 [C99-based-standards] (SCNo16): Likewise.
6535 [C99-based-standards] (SCNu16): Likewise.
6536 [C99-based-standards] (SCNx16): Likewise.
6537 [C99-based-standards] (PRIdLEAST16): Likewise.
6538 [C99-based-standards] (PRIiLEAST16): Likewise.
6539 [C99-based-standards] (PRIoLEAST16): Likewise.
6540 [C99-based-standards] (PRIuLEAST16): Likewise.
6541 [C99-based-standards] (PRIxLEAST16): Likewise.
6542 [C99-based-standards] (PRIXLEAST16): Likewise.
6543 [C99-based-standards] (SCNdLEAST16): Likewise.
6544 [C99-based-standards] (SCNiLEAST16): Likewise.
6545 [C99-based-standards] (SCNoLEAST16): Likewise.
6546 [C99-based-standards] (SCNuLEAST16): Likewise.
6547 [C99-based-standards] (SCNxLEAST16): Likewise.
6548 [C99-based-standards] (PRIdFAST16): Likewise.
6549 [C99-based-standards] (PRIiFAST16): Likewise.
6550 [C99-based-standards] (PRIoFAST16): Likewise.
6551 [C99-based-standards] (PRIuFAST16): Likewise.
6552 [C99-based-standards] (PRIxFAST16): Likewise.
6553 [C99-based-standards] (PRIXFAST16): Likewise.
6554 [C99-based-standards] (SCNdFAST16): Likewise.
6555 [C99-based-standards] (SCNiFAST16): Likewise.
6556 [C99-based-standards] (SCNoFAST16): Likewise.
6557 [C99-based-standards] (SCNuFAST16): Likewise.
6558 [C99-based-standards] (SCNxFAST16): Likewise.
6559 [C99-based-standards] (PRId32): Likewise.
6560 [C99-based-standards] (PRIi32): Likewise.
6561 [C99-based-standards] (PRIo32): Likewise.
6562 [C99-based-standards] (PRIu32): Likewise.
6563 [C99-based-standards] (PRIx32): Likewise.
6564 [C99-based-standards] (PRIX32): Likewise.
6565 [C99-based-standards] (SCNd32): Likewise.
6566 [C99-based-standards] (SCNi32): Likewise.
6567 [C99-based-standards] (SCNo32): Likewise.
6568 [C99-based-standards] (SCNu32): Likewise.
6569 [C99-based-standards] (SCNx32): Likewise.
6570 [C99-based-standards] (PRIdLEAST32): Likewise.
6571 [C99-based-standards] (PRIiLEAST32): Likewise.
6572 [C99-based-standards] (PRIoLEAST32): Likewise.
6573 [C99-based-standards] (PRIuLEAST32): Likewise.
6574 [C99-based-standards] (PRIxLEAST32): Likewise.
6575 [C99-based-standards] (PRIXLEAST32): Likewise.
6576 [C99-based-standards] (SCNdLEAST32): Likewise.
6577 [C99-based-standards] (SCNiLEAST32): Likewise.
6578 [C99-based-standards] (SCNoLEAST32): Likewise.
6579 [C99-based-standards] (SCNuLEAST32): Likewise.
6580 [C99-based-standards] (SCNxLEAST32): Likewise.
6581 [C99-based-standards] (PRIdFAST32): Likewise.
6582 [C99-based-standards] (PRIiFAST32): Likewise.
6583 [C99-based-standards] (PRIoFAST32): Likewise.
6584 [C99-based-standards] (PRIuFAST32): Likewise.
6585 [C99-based-standards] (PRIxFAST32): Likewise.
6586 [C99-based-standards] (PRIXFAST32): Likewise.
6587 [C99-based-standards] (SCNdFAST32): Likewise.
6588 [C99-based-standards] (SCNiFAST32): Likewise.
6589 [C99-based-standards] (SCNoFAST32): Likewise.
6590 [C99-based-standards] (SCNuFAST32): Likewise.
6591 [C99-based-standards] (SCNxFAST32): Likewise.
6592 [C99-based-standards] (PRId64): Likewise.
6593 [C99-based-standards] (PRIi64): Likewise.
6594 [C99-based-standards] (PRIo64): Likewise.
6595 [C99-based-standards] (PRIu64): Likewise.
6596 [C99-based-standards] (PRIx64): Likewise.
6597 [C99-based-standards] (PRIX64): Likewise.
6598 [C99-based-standards] (SCNd64): Likewise.
6599 [C99-based-standards] (SCNi64): Likewise.
6600 [C99-based-standards] (SCNo64): Likewise.
6601 [C99-based-standards] (SCNu64): Likewise.
6602 [C99-based-standards] (SCNx64): Likewise.
6603 [C99-based-standards] (PRIdLEAST64): Likewise.
6604 [C99-based-standards] (PRIiLEAST64): Likewise.
6605 [C99-based-standards] (PRIoLEAST64): Likewise.
6606 [C99-based-standards] (PRIuLEAST64): Likewise.
6607 [C99-based-standards] (PRIxLEAST64): Likewise.
6608 [C99-based-standards] (PRIXLEAST64): Likewise.
6609 [C99-based-standards] (SCNdLEAST64): Likewise.
6610 [C99-based-standards] (SCNiLEAST64): Likewise.
6611 [C99-based-standards] (SCNoLEAST64): Likewise.
6612 [C99-based-standards] (SCNuLEAST64): Likewise.
6613 [C99-based-standards] (SCNxLEAST64): Likewise.
6614 [C99-based-standards] (PRIdFAST64): Likewise.
6615 [C99-based-standards] (PRIiFAST64): Likewise.
6616 [C99-based-standards] (PRIoFAST64): Likewise.
6617 [C99-based-standards] (PRIuFAST64): Likewise.
6618 [C99-based-standards] (PRIxFAST64): Likewise.
6619 [C99-based-standards] (PRIXFAST64): Likewise.
6620 [C99-based-standards] (SCNdFAST64): Likewise.
6621 [C99-based-standards] (SCNiFAST64): Likewise.
6622 [C99-based-standards] (SCNoFAST64): Likewise.
6623 [C99-based-standards] (SCNuFAST64): Likewise.
6624 [C99-based-standards] (SCNxFAST64): Likewise.
6625 [C99-based-standards] (PRIdMAX): Likewise.
6626 [C99-based-standards] (PRIiMAX): Likewise.
6627 [C99-based-standards] (PRIoMAX): Likewise.
6628 [C99-based-standards] (PRIuMAX): Likewise.
6629 [C99-based-standards] (PRIxMAX): Likewise.
6630 [C99-based-standards] (PRIXMAX): Likewise.
6631 [C99-based-standards] (SCNdMAX): Likewise.
6632 [C99-based-standards] (SCNiMAX): Likewise.
6633 [C99-based-standards] (SCNoMAX): Likewise.
6634 [C99-based-standards] (SCNuMAX): Likewise.
6635 [C99-based-standards] (SCNxMAX): Likewise.
6636 [C99-based-standards] (PRIdPTR): Likewise.
6637 [C99-based-standards] (PRIiPTR): Likewise.
6638 [C99-based-standards] (PRIoPTR): Likewise.
6639 [C99-based-standards] (PRIuPTR): Likewise.
6640 [C99-based-standards] (PRIxPTR): Likewise.
6641 [C99-based-standards] (PRIXPTR): Likewise.
6642 [C99-based-standards] (SCNdPTR): Likewise.
6643 [C99-based-standards] (SCNiPTR): Likewise.
6644 [C99-based-standards] (SCNoPTR): Likewise.
6645 [C99-based-standards] (SCNuPTR): Likewise.
6646 [C99-based-standards] (SCNxPTR): Likewise.
6647 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6648 allow.
6649 * conform/data/stdint.h-data: Update comments to clarify
6650 requirements.
6651 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6652 type.
6653 [C99-based standards] (INT8_MAX): Likewise.
6654 [C99-based standards] (INT16_MIN): Likewise.
6655 [C99-based standards] (INT16_MAX): Likewise.
6656 [C99-based standards] (INT32_MIN): Likewise.
6657 [C99-based standards] (INT32_MAX): Likewise.
6658 [C99-based standards] (INT64_MIN): Likewise.
6659 [C99-based standards] (INT64_MAX): Likewise.
6660 [C99-based standards] (UINT8_MAX): Likewise.
6661 [C99-based standards] (UINT16_MAX): Likewise.
6662 [C99-based standards] (UINT32_MAX): Likewise.
6663 [C99-based standards] (UINT64_MAX): Likewise.
6664 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6665 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6666 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6667 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6668 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6669 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6670 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6671 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6672 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6673 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6674 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6675 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6676 [C99-based standards] (INT_FAST8_MIN): Likewise.
6677 [C99-based standards] (INT_FAST8_MAX): Likewise.
6678 [C99-based standards] (INT_FAST16_MIN): Likewise.
6679 [C99-based standards] (INT_FAST16_MAX): Likewise.
6680 [C99-based standards] (INT_FAST32_MIN): Likewise.
6681 [C99-based standards] (INT_FAST32_MAX): Likewise.
6682 [C99-based standards] (INT_FAST64_MIN): Likewise.
6683 [C99-based standards] (INT_FAST64_MAX): Likewise.
6684 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6685 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6686 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6687 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6688 [C99-based standards] (INTPTR_MIN): Likewise.
6689 [C99-based standards] (INTPTR_MAX): Likewise.
6690 [C99-based standards] (UINTPTR_MAX): Likewise.
6691 [C99-based standards] (INTMAX_MIN): Likewise.
6692 [C99-based standards] (INTMAX_MAX): Likewise.
6693 [C99-based standards] (UINTMAX_MAX): Likewise.
6694 [C99-based standards] (PTRDIFF_MIN): Likewise.
6695 [C99-based standards] (PTRDIFF_MAX): Likewise.
6696 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6697 [C99-based standards] (SIZE_MAX): Likewise.
6698 [C99-based standards] (WCHAR_MAX): Likewise.
6699 [C99-based standards] (WINT_MAX): Likewise.
6700 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6701 constraint on value.
6702 [C99-based standards] (WCHAR_MIN): Likewise.
6703 [C99-based standards] (WINT_MIN): Likewise.
6704 [C99-based standards] (*_t): Allow.
6705 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6706 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6707 Include math.h-data and complex.h-data. Remove all expectations
6708 of math.h and complex.h contents.
6709 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6710 at end of line.
6711 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6712 (struct tm): Expect tag.
6713 [C99-based-standards] (wcstof): Expect function.
6714 [C99-based-standards] (wcstold): Likewise.
6715 [C99-based-standards] (wcstoll): Likewise.
6716 [C99-based-standards] (wcstoull): Likewise.
6717 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6718 macro-int-constant. Specify type.
6719 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6720 constraint on value.
6721 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6722 Specify type.
6723 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6724 Specify value.
6725 [ISO C standards]: Do not allow headers.
6726 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6727 wcs[abcdefghijklmnopqrstuvwxyz]*.
6728 [ISO C standards] (*_t): Do not allow.
6729 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6730 Expect function.
6731 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6733 Specify type.
6734 [ISO C standards]: Do not allow headers.
6735 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6736 is[abcdefghijklmnopqrstuvwxyz]*.
6737 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6738 to[abcdefghijklmnopqrstuvwxyz]*.
6739 [ISO C standards] (*_t): Do not allow.
6740 * conform/data/stdalign.h-data: New file.
6741 * conform/data/stdbool.h-data: Likewise.
6742 * conform/data/stdnoreturn.h-data: Likewise.
6743
6744 2012-11-07 Roland McGrath <roland@hack.frob.com>
6745
6746 [BZ #14815]
6747 * manual/filesys.texi (Directory Entries): Typo fix.
6748 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6749
6750 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6751
6752 * elf/elf.h (EM_AARCH64): New macro.
6753 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6754 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6755 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6756 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6757 (R_AARCH64_TLSDESC): Likewise.
6758 (NT_ARM_TLS): Likewise.
6759 (NT_ARM_HW_BREAK): Likewise.
6760 (NT_ARM_HW_WATCH): Likewise.
6761
6762 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #14811]
6765 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6766 (__ieee754_powl): Saturate nonzero exponents with absolute value
6767 below 0x1p-79 to +/- 0x1p-79.
6768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6769 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6770 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6771 nonzero exponents with absolute value below 0x1p-32 to +/-
6772 0x1p-32.
6773 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6774 (__ieee754_powl): Saturate nonzero exponents with absolute value
6775 below 0x1p-79 to +/- 0x1p-79.
6776 * math/libm-test.inc (pow_test): Add more tests.
6777
6778 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6779
6780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6781 _dl_s390_cap_flags with kernel. Increase string length.
6782 (_dl_s390_platforms): Add z196 and zEC12.
6783
6784 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6785
6786 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6787 Change XOPEN21K to XOPEN2K.
6788
6789 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6790
6791 * string/memmove.c: Use memcpy when possible.
6792
6793 2012-11-06 Andreas Jaeger <aj@suse.de>
6794
6795 * po/eo.po: Update from translation team.
6796
6797 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6798
6799 [BZ #14793]
6800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6801 exponent and small x and y exponents, scale x or y up. Increase
6802 by 2 the exponent used in scaling up.
6803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6805 * math/libm-test.inc (fma_test): Add more tests.
6806 (fma_test_towardzero): Likewise.
6807 (fma_test_downward): Likewise.
6808 (fma_test_upward): Likewise.
6809
6810 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #14805]
6813 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6814 fenv_t *.
6815
6816 [BZ #14801]
6817 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6818 namespace for names of struct fields.
6819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6820 fenv_t fields.
6821 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6822 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6823
6824 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825
6826 [BZ #3665]
6827 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6828
6829 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6830
6831 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6832 PTR_DEMANGLE.
6833
6834 [BZ #5246]
6835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6836 PTR_DEMANGLE.
6837
6838 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #14797]
6841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6842 definitely overflow as x * y not x * y + z.
6843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6845 * math/libm-test.inc (fma_test): Add more tests.
6846 (fma_test_towardzero): Likewise.
6847 (fma_test_downward): Likewise.
6848 (fma_test_upward): Likewise.
6849
6850 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6851
6852 [BZ #157]
6853
6854 * include/stub-tag.h: Remove file.
6855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6856 '#include' of it.
6857 * manual/maint.texi (Porting): Don't reference it.
6858 * Makerules ($(objpfx)stubs): Likewise.
6859 * dirent/closedir.c: Don't include <stub-tag.h>.
6860 * dirent/dirfd.c: Likewise.
6861 * dirent/fdopendir.c: Likewise.
6862 * dirent/getdents.c: Likewise.
6863 * dirent/getdents64.c: Likewise.
6864 * dirent/opendir.c: Likewise.
6865 * dirent/readdir.c: Likewise.
6866 * dirent/readdir64.c: Likewise.
6867 * dirent/readdir64_r.c: Likewise.
6868 * dirent/readdir_r.c: Likewise.
6869 * dirent/rewinddir.c: Likewise.
6870 * dirent/seekdir.c: Likewise.
6871 * dirent/telldir.c: Likewise.
6872 * gmon/profil.c: Likewise.
6873 * grp/setgroups.c: Likewise.
6874 * inet/if_index.c: Likewise.
6875 * io/access.c: Likewise.
6876 * io/chdir.c: Likewise.
6877 * io/chmod.c: Likewise.
6878 * io/chown.c: Likewise.
6879 * io/close.c: Likewise.
6880 * io/dup.c: Likewise.
6881 * io/dup2.c: Likewise.
6882 * io/dup3.c: Likewise.
6883 * io/euidaccess.c: Likewise.
6884 * io/faccessat.c: Likewise.
6885 * io/fchdir.c: Likewise.
6886 * io/fchmod.c: Likewise.
6887 * io/fchmodat.c: Likewise.
6888 * io/fchown.c: Likewise.
6889 * io/fchownat.c: Likewise.
6890 * io/fcntl.c: Likewise.
6891 * io/flock.c: Likewise.
6892 * io/fstatfs.c: Likewise.
6893 * io/fstatfs64.c: Likewise.
6894 * io/fstatvfs.c: Likewise.
6895 * io/fstatvfs64.c: Likewise.
6896 * io/futimens.c: Likewise.
6897 * io/fxstat.c: Likewise.
6898 * io/fxstat64.c: Likewise.
6899 * io/fxstatat.c: Likewise.
6900 * io/fxstatat64.c: Likewise.
6901 * io/getcwd.c: Likewise.
6902 * io/isatty.c: Likewise.
6903 * io/lchmod.c: Likewise.
6904 * io/lchown.c: Likewise.
6905 * io/link.c: Likewise.
6906 * io/linkat.c: Likewise.
6907 * io/lseek.c: Likewise.
6908 * io/lseek64.c: Likewise.
6909 * io/lxstat64.c: Likewise.
6910 * io/mkdir.c: Likewise.
6911 * io/mkdirat.c: Likewise.
6912 * io/mkfifo.c: Likewise.
6913 * io/mkfifoat.c: Likewise.
6914 * io/open.c: Likewise.
6915 * io/open64.c: Likewise.
6916 * io/openat.c: Likewise.
6917 * io/openat64.c: Likewise.
6918 * io/pipe.c: Likewise.
6919 * io/pipe2.c: Likewise.
6920 * io/poll.c: Likewise.
6921 * io/posix_fadvise.c: Likewise.
6922 * io/posix_fadvise64.c: Likewise.
6923 * io/posix_fallocate.c: Likewise.
6924 * io/posix_fallocate64.c: Likewise.
6925 * io/read.c: Likewise.
6926 * io/readlink.c: Likewise.
6927 * io/readlinkat.c: Likewise.
6928 * io/rmdir.c: Likewise.
6929 * io/sendfile.c: Likewise.
6930 * io/sendfile64.c: Likewise.
6931 * io/statfs.c: Likewise.
6932 * io/statfs64.c: Likewise.
6933 * io/statvfs.c: Likewise.
6934 * io/statvfs64.c: Likewise.
6935 * io/symlink.c: Likewise.
6936 * io/symlinkat.c: Likewise.
6937 * io/ttyname.c: Likewise.
6938 * io/ttyname_r.c: Likewise.
6939 * io/umask.c: Likewise.
6940 * io/unlink.c: Likewise.
6941 * io/unlinkat.c: Likewise.
6942 * io/utime.c: Likewise.
6943 * io/utimensat.c: Likewise.
6944 * io/write.c: Likewise.
6945 * io/xmknod.c: Likewise.
6946 * io/xmknodat.c: Likewise.
6947 * io/xstat.c: Likewise.
6948 * io/xstat64.c: Likewise.
6949 * login/getpt.c: Likewise.
6950 * login/grantpt.c: Likewise.
6951 * login/unlockpt.c: Likewise.
6952 * math/e_acoshl.c: Likewise.
6953 * math/e_acosl.c: Likewise.
6954 * math/e_asinl.c: Likewise.
6955 * math/e_atan2l.c: Likewise.
6956 * math/e_atanhl.c: Likewise.
6957 * math/e_coshl.c: Likewise.
6958 * math/e_expl.c: Likewise.
6959 * math/e_fmodl.c: Likewise.
6960 * math/e_gammal_r.c: Likewise.
6961 * math/e_hypotl.c: Likewise.
6962 * math/e_j0l.c: Likewise.
6963 * math/e_j1l.c: Likewise.
6964 * math/e_jnl.c: Likewise.
6965 * math/e_lgammal_r.c: Likewise.
6966 * math/e_log10l.c: Likewise.
6967 * math/e_log2l.c: Likewise.
6968 * math/e_logl.c: Likewise.
6969 * math/e_powl.c: Likewise.
6970 * math/e_rem_pio2l.c: Likewise.
6971 * math/e_sinhl.c: Likewise.
6972 * math/e_sqrtl.c: Likewise.
6973 * math/fclrexcpt.c: Likewise.
6974 * math/fedisblxcpt.c: Likewise.
6975 * math/feenablxcpt.c: Likewise.
6976 * math/fegetenv.c: Likewise.
6977 * math/fegetexcept.c: Likewise.
6978 * math/fegetround.c: Likewise.
6979 * math/feholdexcpt.c: Likewise.
6980 * math/fesetenv.c: Likewise.
6981 * math/fesetround.c: Likewise.
6982 * math/feupdateenv.c: Likewise.
6983 * math/fgetexcptflg.c: Likewise.
6984 * math/fraiseexcpt.c: Likewise.
6985 * math/fsetexcptflg.c: Likewise.
6986 * math/ftestexcept.c: Likewise.
6987 * math/k_cosl.c: Likewise.
6988 * math/k_rem_pio2l.c: Likewise.
6989 * math/k_sinl.c: Likewise.
6990 * math/k_tanl.c: Likewise.
6991 * math/s_asinhl.c: Likewise.
6992 * math/s_atanl.c: Likewise.
6993 * math/s_cbrtl.c: Likewise.
6994 * math/s_erfl.c: Likewise.
6995 * math/s_expm1l.c: Likewise.
6996 * math/s_log1pl.c: Likewise.
6997 * math/s_tanhl.c: Likewise.
6998 * misc/acct.c: Likewise.
6999 * misc/brk.c: Likewise.
7000 * misc/chflags.c: Likewise.
7001 * misc/chroot.c: Likewise.
7002 * misc/fchflags.c: Likewise.
7003 * misc/fgetxattr.c: Likewise.
7004 * misc/flistxattr.c: Likewise.
7005 * misc/fremovexattr.c: Likewise.
7006 * misc/fsetxattr.c: Likewise.
7007 * misc/fsync.c: Likewise.
7008 * misc/ftruncate.c: Likewise.
7009 * misc/futimes.c: Likewise.
7010 * misc/futimesat.c: Likewise.
7011 * misc/getdomain.c: Likewise.
7012 * misc/getdtsz.c: Likewise.
7013 * misc/gethostid.c: Likewise.
7014 * misc/gethostname.c: Likewise.
7015 * misc/getloadavg.c: Likewise.
7016 * misc/getpagesize.c: Likewise.
7017 * misc/getsysstats.c: Likewise.
7018 * misc/getxattr.c: Likewise.
7019 * misc/gtty.c: Likewise.
7020 * misc/ioctl.c: Likewise.
7021 * misc/lgetxattr.c: Likewise.
7022 * misc/listxattr.c: Likewise.
7023 * misc/llistxattr.c: Likewise.
7024 * misc/lremovexattr.c: Likewise.
7025 * misc/lsetxattr.c: Likewise.
7026 * misc/lutimes.c: Likewise.
7027 * misc/madvise.c: Likewise.
7028 * misc/mincore.c: Likewise.
7029 * misc/mlock.c: Likewise.
7030 * misc/mlockall.c: Likewise.
7031 * misc/mmap.c: Likewise.
7032 * misc/mprotect.c: Likewise.
7033 * misc/msync.c: Likewise.
7034 * misc/munlock.c: Likewise.
7035 * misc/munlockall.c: Likewise.
7036 * misc/munmap.c: Likewise.
7037 * misc/preadv.c: Likewise.
7038 * misc/preadv64.c: Likewise.
7039 * misc/ptrace.c: Likewise.
7040 * misc/pwritev.c: Likewise.
7041 * misc/pwritev64.c: Likewise.
7042 * misc/readv.c: Likewise.
7043 * misc/reboot.c: Likewise.
7044 * misc/remap_file_pages.c: Likewise.
7045 * misc/removexattr.c: Likewise.
7046 * misc/revoke.c: Likewise.
7047 * misc/select.c: Likewise.
7048 * misc/setdomain.c: Likewise.
7049 * misc/setegid.c: Likewise.
7050 * misc/seteuid.c: Likewise.
7051 * misc/sethostid.c: Likewise.
7052 * misc/sethostname.c: Likewise.
7053 * misc/setregid.c: Likewise.
7054 * misc/setreuid.c: Likewise.
7055 * misc/setxattr.c: Likewise.
7056 * misc/sstk.c: Likewise.
7057 * misc/stty.c: Likewise.
7058 * misc/swapoff.c: Likewise.
7059 * misc/swapon.c: Likewise.
7060 * misc/sync.c: Likewise.
7061 * misc/syncfs.c: Likewise.
7062 * misc/syscall.c: Likewise.
7063 * misc/truncate.c: Likewise.
7064 * misc/ualarm.c: Likewise.
7065 * misc/usleep.c: Likewise.
7066 * misc/ustat.c: Likewise.
7067 * misc/utimes.c: Likewise.
7068 * misc/vhangup.c: Likewise.
7069 * misc/writev.c: Likewise.
7070 * posix/_exit.c: Likewise.
7071 * posix/alarm.c: Likewise.
7072 * posix/execve.c: Likewise.
7073 * posix/fexecve.c: Likewise.
7074 * posix/fork.c: Likewise.
7075 * posix/fpathconf.c: Likewise.
7076 * posix/getaddrinfo.c: Likewise.
7077 * posix/getegid.c: Likewise.
7078 * posix/geteuid.c: Likewise.
7079 * posix/getgid.c: Likewise.
7080 * posix/getgroups.c: Likewise.
7081 * posix/getlogin.c: Likewise.
7082 * posix/getlogin_r.c: Likewise.
7083 * posix/getpgid.c: Likewise.
7084 * posix/getpid.c: Likewise.
7085 * posix/getppid.c: Likewise.
7086 * posix/getresgid.c: Likewise.
7087 * posix/getresuid.c: Likewise.
7088 * posix/getsid.c: Likewise.
7089 * posix/getuid.c: Likewise.
7090 * posix/glob64.c: Likewise.
7091 * posix/nanosleep.c: Likewise.
7092 * posix/pathconf.c: Likewise.
7093 * posix/pause.c: Likewise.
7094 * posix/posix_madvise.c: Likewise.
7095 * posix/pread.c: Likewise.
7096 * posix/pread64.c: Likewise.
7097 * posix/pwrite.c: Likewise.
7098 * posix/pwrite64.c: Likewise.
7099 * posix/sched_getaffinity.c: Likewise.
7100 * posix/sched_getp.c: Likewise.
7101 * posix/sched_gets.c: Likewise.
7102 * posix/sched_primax.c: Likewise.
7103 * posix/sched_primin.c: Likewise.
7104 * posix/sched_rr_gi.c: Likewise.
7105 * posix/sched_setaffinity.c: Likewise.
7106 * posix/sched_setp.c: Likewise.
7107 * posix/sched_sets.c: Likewise.
7108 * posix/sched_yield.c: Likewise.
7109 * posix/setgid.c: Likewise.
7110 * posix/setlogin.c: Likewise.
7111 * posix/setpgid.c: Likewise.
7112 * posix/setresgid.c: Likewise.
7113 * posix/setresuid.c: Likewise.
7114 * posix/setsid.c: Likewise.
7115 * posix/setuid.c: Likewise.
7116 * posix/sleep.c: Likewise.
7117 * posix/spawni.c: Likewise.
7118 * posix/sysconf.c: Likewise.
7119 * posix/times.c: Likewise.
7120 * posix/wait.c: Likewise.
7121 * posix/wait3.c: Likewise.
7122 * posix/wait4.c: Likewise.
7123 * posix/waitpid.c: Likewise.
7124 * resolv/gai_sigqueue.c: Likewise.
7125 * resource/getpriority.c: Likewise.
7126 * resource/getrlimit.c: Likewise.
7127 * resource/getrusage.c: Likewise.
7128 * resource/nice.c: Likewise.
7129 * resource/setpriority.c: Likewise.
7130 * resource/setrlimit.c: Likewise.
7131 * resource/ulimit.c: Likewise.
7132 * rt/aio_cancel.c: Likewise.
7133 * rt/aio_fsync.c: Likewise.
7134 * rt/aio_read.c: Likewise.
7135 * rt/aio_sigqueue.c: Likewise.
7136 * rt/aio_suspend.c: Likewise.
7137 * rt/aio_write.c: Likewise.
7138 * rt/clock_getres.c: Likewise.
7139 * rt/clock_gettime.c: Likewise.
7140 * rt/clock_nanosleep.c: Likewise.
7141 * rt/clock_settime.c: Likewise.
7142 * rt/lio_listio.c: Likewise.
7143 * rt/mq_close.c: Likewise.
7144 * rt/mq_getattr.c: Likewise.
7145 * rt/mq_notify.c: Likewise.
7146 * rt/mq_open.c: Likewise.
7147 * rt/mq_receive.c: Likewise.
7148 * rt/mq_send.c: Likewise.
7149 * rt/mq_setattr.c: Likewise.
7150 * rt/mq_timedreceive.c: Likewise.
7151 * rt/mq_timedsend.c: Likewise.
7152 * rt/mq_unlink.c: Likewise.
7153 * rt/shm_open.c: Likewise.
7154 * rt/shm_unlink.c: Likewise.
7155 * rt/timer_create.c: Likewise.
7156 * rt/timer_delete.c: Likewise.
7157 * rt/timer_getoverr.c: Likewise.
7158 * rt/timer_gettime.c: Likewise.
7159 * rt/timer_settime.c: Likewise.
7160 * setjmp/__longjmp.c: Likewise.
7161 * setjmp/setjmp.c: Likewise.
7162 * signal/kill.c: Likewise.
7163 * signal/killpg.c: Likewise.
7164 * signal/raise.c: Likewise.
7165 * signal/sigaction.c: Likewise.
7166 * signal/sigaltstack.c: Likewise.
7167 * signal/sigblock.c: Likewise.
7168 * signal/sigignore.c: Likewise.
7169 * signal/sigintr.c: Likewise.
7170 * signal/signal.c: Likewise.
7171 * signal/sigpause.c: Likewise.
7172 * signal/sigpending.c: Likewise.
7173 * signal/sigqueue.c: Likewise.
7174 * signal/sigreturn.c: Likewise.
7175 * signal/sigset.c: Likewise.
7176 * signal/sigsetmask.c: Likewise.
7177 * signal/sigstack.c: Likewise.
7178 * signal/sigsuspend.c: Likewise.
7179 * signal/sigtimedwait.c: Likewise.
7180 * signal/sigvec.c: Likewise.
7181 * signal/sigwait.c: Likewise.
7182 * signal/sigwaitinfo.c: Likewise.
7183 * signal/sysv_signal.c: Likewise.
7184 * socket/accept.c: Likewise.
7185 * socket/accept4.c: Likewise.
7186 * socket/bind.c: Likewise.
7187 * socket/connect.c: Likewise.
7188 * socket/getpeername.c: Likewise.
7189 * socket/getsockname.c: Likewise.
7190 * socket/getsockopt.c: Likewise.
7191 * socket/isfdtype.c: Likewise.
7192 * socket/listen.c: Likewise.
7193 * socket/recv.c: Likewise.
7194 * socket/recvfrom.c: Likewise.
7195 * socket/recvmsg.c: Likewise.
7196 * socket/send.c: Likewise.
7197 * socket/sendmsg.c: Likewise.
7198 * socket/sendto.c: Likewise.
7199 * socket/setsockopt.c: Likewise.
7200 * socket/shutdown.c: Likewise.
7201 * socket/sockatmark.c: Likewise.
7202 * socket/socket.c: Likewise.
7203 * socket/socketpair.c: Likewise.
7204 * stdio-common/ctermid.c: Likewise.
7205 * stdio-common/cuserid.c: Likewise.
7206 * stdio-common/remove.c: Likewise.
7207 * stdio-common/rename.c: Likewise.
7208 * stdio-common/renameat.c: Likewise.
7209 * stdio-common/tempname.c: Likewise.
7210 * stdlib/getcontext.c: Likewise.
7211 * stdlib/makecontext.c: Likewise.
7212 * stdlib/setcontext.c: Likewise.
7213 * stdlib/swapcontext.c: Likewise.
7214 * stdlib/system.c: Likewise.
7215 * streams/fattach.c: Likewise.
7216 * streams/fdetach.c: Likewise.
7217 * streams/getmsg.c: Likewise.
7218 * streams/getpmsg.c: Likewise.
7219 * streams/putmsg.c: Likewise.
7220 * streams/putpmsg.c: Likewise.
7221 * sysdeps/unix/bsd/getpt.c: Likewise.
7222 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7223 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7226 Likewise.
7227 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7228 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7229 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7230 * sysvipc/msgctl.c: Likewise.
7231 * sysvipc/msgget.c: Likewise.
7232 * sysvipc/msgrcv.c: Likewise.
7233 * sysvipc/msgsnd.c: Likewise.
7234 * sysvipc/semctl.c: Likewise.
7235 * sysvipc/semget.c: Likewise.
7236 * sysvipc/semop.c: Likewise.
7237 * sysvipc/semtimedop.c: Likewise.
7238 * sysvipc/shmat.c: Likewise.
7239 * sysvipc/shmctl.c: Likewise.
7240 * sysvipc/shmdt.c: Likewise.
7241 * sysvipc/shmget.c: Likewise.
7242 * termios/tcdrain.c: Likewise.
7243 * termios/tcflow.c: Likewise.
7244 * termios/tcflush.c: Likewise.
7245 * termios/tcgetattr.c: Likewise.
7246 * termios/tcgetpgrp.c: Likewise.
7247 * termios/tcsendbrk.c: Likewise.
7248 * termios/tcsetattr.c: Likewise.
7249 * termios/tcsetpgrp.c: Likewise.
7250 * time/adjtime.c: Likewise.
7251 * time/clock.c: Likewise.
7252 * time/getitimer.c: Likewise.
7253 * time/gettimeofday.c: Likewise.
7254 * time/setitimer.c: Likewise.
7255 * time/settimeofday.c: Likewise.
7256 * time/stime.c: Likewise.
7257 * time/time.c: Likewise.
7258
7259 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7260
7261 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7262 /usr/old/bin.
7263
7264 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7265 instead of spaces.
7266 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7267
7268 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7269
7270 [BZ #14796]
7271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7272 FE_TONEAREST before applying Dekker multiplication and Knuth
7273 addition. Clear inexact exceptions and check for exact zero
7274 results afterwards.
7275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7278 * math/libm-test.inc (fma_test): Add more tests.
7279 (fma_test_towardzero): Likewise.
7280 (fma_test_downward): Likewise.
7281 (fma_test_upward): Likewise.
7282 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7283 function.
7284 (libc_fesetround): New macro.
7285 (libc_fesetroundf): Likewise.
7286 (libc_fesetroundl): Likewise.
7287 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7288 function.
7289 (libc_fesetround_387): Likewise.
7290 (libc_fesetroundf): New macro.
7291 (libc_fesetround): Likewise.
7292 (libc_fesetroundl): Likewise.
7293 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7294 function.
7295 (libc_fesetroundf): New macro.
7296 (libc_fesetround): Likewise.
7297 (libc_fesetroundl): Likewise.
7298 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7299 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7300 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7301 libm_hidden_ver.
7302 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7303 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7304 libm_hidden_def.
7305 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7306 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7307 libm_hidden_ver.
7308 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7309 libm_hidden_def.
7310
7311 [BZ #3439]
7312 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7313 integer constant usable in #if and use that to give value to enum
7314 constant.
7315 (FE_DIVBYZERO): Likewise.
7316 (FE_UNDERFLOW): Likewise.
7317 (FE_OVERFLOW): Likewise.
7318 (FE_INVALID): Likewise.
7319 (FE_INVALID_SNAN): Likewise.
7320 (FE_INVALID_ISI): Likewise.
7321 (FE_INVALID_IDI): Likewise.
7322 (FE_INVALID_ZDZ): Likewise.
7323 (FE_INVALID_IMZ): Likewise.
7324 (FE_INVALID_COMPARE): Likewise.
7325 (FE_INVALID_SOFTWARE): Likewise.
7326 (FE_INVALID_SQRT): Likewise.
7327 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7328 (FE_TONEAREST): Likewise.
7329 (FE_TOWARDZERO): Likewise.
7330 (FE_UPWARD): Likewise.
7331 (FE_DOWNWARD): Likewise.
7332 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7333 (FE_DIVBYZERO): Likewise.
7334 (FE_OVERFLOW): Likewise.
7335 (FE_UNDERFLOW): Likewise.
7336 (FE_INEXACT): Likewise.
7337 (FE_TONEAREST): Likewise.
7338 (FE_DOWNWARD): Likewise.
7339 (FE_UPWARD): Likewise.
7340 (FE_TOWARDZERO): Likewise.
7341 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7342 (FE_UNDERFLOW): Likewise.
7343 (FE_OVERFLOW): Likewise.
7344 (FE_DIVBYZERO): Likewise.
7345 (FE_INVALID): Likewise.
7346 (FE_TONEAREST): Likewise.
7347 (FE_TOWARDZERO): Likewise.
7348 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7349 (FE_OVERFLOW): Likewise.
7350 (FE_UNDERFLOW): Likewise.
7351 (FE_DIVBYZERO): Likewise.
7352 (FE_INEXACT): Likewise.
7353 (FE_TONEAREST): Likewise.
7354 (FE_TOWARDZERO): Likewise.
7355 (FE_UPWARD): Likewise.
7356 (FE_DOWNWARD): Likewise.
7357 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7358 (FE_DIVBYZERO): Likewise.
7359 (FE_OVERFLOW): Likewise.
7360 (FE_UNDERFLOW): Likewise.
7361 (FE_INEXACT): Likewise.
7362 (FE_TONEAREST): Likewise.
7363 (FE_DOWNWARD): Likewise.
7364 (FE_UPWARD): Likewise.
7365 (FE_TOWARDZERO): Likewise.
7366
7367 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7368
7369 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7370
7371 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7372
7373 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7374 commands. Quote $PWD.
7375 (blacklist_exports): Don't use remove_newlines. Replace "declare
7376 -x" by "export".
7377 (remove_newlines): Remove.
7378
7379 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7382 * stdlib/stdlib.h (atof): Moved to ...
7383 * include/bits/stdlib-float.h: Here. New file.
7384 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7385 * stdlib/bits/stdlib-float.h: New file.
7386 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7387 -mno-sse -mno-mmx.
7388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7389 <xmmintrin.h>.
7390
7391 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7392
7393 * conform/conformtest.pl (@headers): Add fenv.h.
7394 * conform/data/fenv.h-data: New file.
7395 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7396 include of <math/fenv.h>.
7397
7398 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7399 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7400 && !UNIX98]. Enables tests for XOPEN2K8.
7401 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7402 POSIX2008]: Likewise.
7403
7404 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7405 (struct rusage): Do not expect type or its members.
7406
7407 [BZ #3439]
7408 * math/math.h (FP_NAN): Define macro to integer constant usable in
7409 #if and use that to give value to enum constant.
7410 (FP_INFINITE): Likewise.
7411 (FP_ZERO): Likewise.
7412 (FP_SUBNORMAL): Likewise.
7413 (FP_NORMAL): Likewise.
7414
7415 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7416
7417 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7418 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7419 arguments.
7420
7421 2012-11-02 Roland McGrath <roland@hack.frob.com>
7422
7423 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7424 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7425 autoconf-time if not.
7426 * configure.in: Remove AC_PREREQ.
7427
7428 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7429
7430 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7431 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7432 of the internal implementation.
7433
7434 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7435
7436 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7437 except include of <misc/sys/syslog.h>.
7438
7439 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7440
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7442 function returns with a NULL context exit with zero.
7443
7444 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7445
7446 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7447
7448 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7449
7450 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7451 (run_program_cmd): This.
7452 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7453 (tst_langinfo): New variable. Use it.
7454
7455 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7456
7457 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7458 floating point opcodes.
7459
7460 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7461
7462 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7463 variable.
7464
7465 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7466
7467 * sysdeps/mach/hurd/powerpc: Remove directory.
7468 * sysdeps/mach/powerpc: Likewise.
7469
7470 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7471
7472 * scripts/check-local-headers.sh: Ignore c++ headers.
7473
7474 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7475
7476 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7477 __libc_cleanup_region_start argument.
7478
7479 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7480
7481 [BZ #14784]
7482 [BZ #14785]
7483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7484 x * y using scaling, not as x * y + z.
7485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7487 * math/libm-test.inc (fma_test): Add more tests.
7488 (fma_test_towardzero): Likewise.
7489 (fma_test_downward): Likewise.
7490 (fma_test_upward): Likewise.
7491
7492 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7493
7494 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7495
7496 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7497
7498 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7499 New variable.
7500
7501 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7502
7503 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7504
7505 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7508 Fix sort order.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7510 Likewise.
7511
7512 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7513
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7515 Fix the order of the list for glibc 2.17.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7517 Likewise.
7518
7519 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7522
7523 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7524
7525 [BZ #14610]
7526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7527 for low part of x being zero before using __atanl (y).
7528 * math/libm-test.inc (atan2_test): Add another test.
7529
7530 * manual/install.texi (Configuring and compiling): Document
7531 general use of test-wrapper and test-wrapper-env.
7532 * INSTALL: Regenerated.
7533
7534 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7535 (__fma): Do not extract and scale down low bits on after-rounding
7536 systems when result rounded to normal precision would have normal
7537 exponent.
7538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7539 (__fmal): Do not extract and scale down low bits on after-rounding
7540 systems when result rounded to normal precision would have normal
7541 exponent.
7542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7543 (__fmal): Do not extract and scale down low bits on after-rounding
7544 systems when result rounded to normal precision would have normal
7545 exponent.
7546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7547 macro.
7548 (fma_test): Add more tests.
7549 (fma_test_towardzero): Likewise.
7550 (fma_test_downward): Likewise.
7551 (fma_test_upward): Likewise.
7552
7553 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * sysdeps/i386/tininess.h: Renamed to ...
7556 * sysdeps/x86/tininess.h: This.
7557 * sysdeps/x86_64/tininess.h: Removed.
7558
7559 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7560
7561 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7562 input. Use $(build-program-cmd).
7563 ($(objpfx)tst-array1-static.out): Likewise.
7564 ($(objpfx)tst-array2.out): Likewise.
7565 ($(objpfx)tst-array3.out): Likewise.
7566 ($(objpfx)tst-array4.out): Likewise.
7567 ($(objpfx)tst-array5.out): Likewise.
7568 ($(objpfx)tst-array5-static.out): Likewise.
7569
7570 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7571
7572 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7573 if defined.
7574
7575 * nss/nsswitch.h (nss_interface_function): Provide new
7576 macro for use with NSS functions.
7577 * grp/initgroups.c: Use new macro.
7578 * nss/getXXbyYY.c: Likewise.
7579 * nss/getXXbyYY_r.c: Likewise.
7580 * nss/getXXent.c: Likewise.
7581 * nss/getXXent_r.c: Likewise.
7582 * sysdeps/posix/getaddrinfo.c: Likewise.
7583
7584 2012-10-30 Andreas Jaeger <aj@suse.de>
7585
7586 * po/ru.po: Update Russion translation from translation project.
7587
7588 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7589
7590 [BZ #14152]
7591 [BZ #14783]
7592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7593 result and shift together with sticky bit instead of replicating
7594 round-to-nearest rounding.
7595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7597 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7598 missing underflow exceptions.
7599 (fma_test_towardzero): Add more tests.
7600 (fma_test_downward): Likewise.
7601 (fma_test_upward): Likewise.
7602
7603 [BZ #14047]
7604 * sysdeps/generic/tininess.h: New file.
7605 * sysdeps/i386/tininess.h: Likewise.
7606 * sysdeps/sh/tininess.h: Likewise.
7607 * sysdeps/x86_64/tininess.h: Likewise.
7608 * stdlib/tst-strtod-underflow.c: Likewise.
7609 * stdlib/tst-tininess.c: Likewise.
7610 * stdlib/strtod_l.c: Include <tininess.h>.
7611 (round_and_return): Do not set errno for exact underflow cases.
7612 Force an underflow exception when setting errno for underflow.
7613 Determine underflow based on rounding to normal precision if
7614 TININESS_AFTER_ROUNDING.
7615 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7616 ERANGE for exact underflow cases.
7617 * stdlib/Makefile (tests): Add tst-tininess and
7618 tst-strtod-underflow.
7619 ($(objpfx)tst-tininess): Use $(link-libm).
7620 ($(objpfx)tst-strtod-underflow): Likewise.
7621
7622 2012-10-30 Andreas Jaeger <aj@suse.de>
7623
7624 [BZ#14767]
7625 * elf/Makefile (tests): Remove conditional for have-initfini-array
7626 since this is now always required and the variable does not exist
7627 anymore.
7628 (tests-static): Likewise.
7629 (modules-names): Likewise.
7630
7631 * po/eo.po: Add Esperanto translation from translation project.
7632
7633 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7634 merged with constructor/destructor.
7635 (init_array): Likewise.
7636 * elf/tst-array2dep.c (fini_array): Likewise.
7637 (init_array): Likewise.
7638
7639 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7640
7641 * manual/message.texi: Delete @cartouche tags.
7642
7643 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7644
7645 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7646 EOPNOTSUPP.
7647 * sysdeps/mach/hurd/fsync.c: Likewise.
7648
7649 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7650 [_POSIX_REALTIME_SIGNALS]: Change condition to
7651 [_POSIX_REALTIME_SIGNALS > 0].
7652
7653 2012-10-27 Andreas Jaeger <aj@suse.de>
7654
7655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7656 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7658 [__WORDSIZE != 64]: Likewise.
7659
7660 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * iconvdata/tst-table.sh: Remove ${SHELL}.
7663 * iconvdata/tst-tables.sh: Likewise.
7664
7665 2012-10-25 David S. Miller <davem@davemloft.net>
7666
7667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7668 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7669 of strtoull.
7670
7671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7672 ifunc-impl-list.c
7673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7674 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7675 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7676 file.
7677
7678 2012-10-25 Roland McGrath <roland@hack.frob.com>
7679
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7681 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7682 __getdirentries.
7683
7684 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7685 Jim Blandy <jimb@codesourcery.com>
7686
7687 * scripts/cross-test-ssh.sh: New file.
7688 * manual/install.texi (Configuring and compiling): Document use of
7689 cross-test-ssh.sh.
7690 * INSTALL: Regenerated.
7691
7692 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7693
7694 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7695 EOPNOTSUPP.
7696
7697 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7698
7699 * Makeconfig (run-program-prefix): Fix comment.
7700
7701 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7702 Jim Blandy <jimb@codesourcery.com>
7703
7704 * Makeconfig (test-wrapper): New variable,
7705 (test-wrapper-env): Likewise.
7706 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7707 (run-built-tests): Define to yes.
7708 (run-program-prefix): Use $(test-wrapper).
7709 (built-program-cmd): Likewise.
7710 * Rules (make-test-out): Use $(test-wrapper-env) and
7711 $(host-built-program-cmd).
7712 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7713 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7714 tst-pathopt.sh.
7715 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7716 $(test-wrapper-env) to tst-rtld-load-self.sh.
7717 ($(objpfx)order2.out): Use $(test-wrapper).
7718 ($(objpfx)tst-initorder.out): Likewise.
7719 ($(objpfx)tst-initorder2.out): Likewise.
7720 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7721 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7722 (test_wrapper_env): New variable. Use it to run ld.so.
7723 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7724 Use it to run ld.so.
7725 (test_wrapper_env): Likewise.
7726 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7727 $(test-wrapper) to run-iconv-test.sh.
7728 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7729 (ICONV): Use $test_wrapper.
7730 * posix/Makefile ($(objpfx)globtest.out): Pass
7731 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7732 globtest.sh, not $(run-program-prefix).
7733 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7734 (test_wrapper): Likewise.
7735 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7736 set together with run_via_rtld_prefix.
7737 (run_program_prefix): Define in terms of test_wrapper and
7738 run_via_rtld_prefix.
7739
7740 2012-10-24 Roland McGrath <roland@hack.frob.com>
7741
7742 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7743 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7744 Targets removed.
7745
7746 [BZ #14743]
7747 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7748 Declare __clock_getres, __clock_gettime, __clock_settime,
7749 __clock_nanosleep, and __clock_getcpuclockid.
7750 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7751 Remove librt_hidden_def (clock_gettime).
7752 * sysdeps/unix/clock_gettime.c: Likewise.
7753 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7754 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7755 * rt/clock_getres.c: Define __clock_getres as an alias.
7756 * sysdeps/posix/clock_getres.c: Likewise.
7757 * rt/clock_settime.c: Define __clock_settime as an alias.
7758 * sysdeps/unix/clock_settime.c: Likewise.
7759 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7760 * sysdeps/unix/clock_nanosleep.c: Likewise.
7761 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7762 * rt/clock-compat.c: New file.
7763 * rt/Makefile (librt-routines): Add clock-compat and move
7764 $(clock-routines) to ...
7765 (routines): ... here, new variable.
7766 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7767 Don't add get_clockfreq here.
7768 * rt/Versions (libc: GLIBC_2.17): New version set.
7769 Add clock_* symbols here.
7770 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7772 (GLIBC_2.17): Add clock_* symbols.
7773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7777 Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7779 Likewise.
7780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7784 * NEWS: Mention the move.
7785
7786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7787 Use __open, __read, __close rather than their public counterparts.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7789 (__get_clockfreq_via_cpuinfo): Likewise.
7790 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7791 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7792
7793 * config.h.in (HAVE_IFUNC): New #undef.
7794 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7795 was successful.
7796 * configure: Regenerated.
7797
7798 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7799
7800 * configure.in: Move READELF check to start of file.
7801 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7802 libc_cv_asm_gnu_indirect_function in the process.
7803 * configure: Regenerated.
7804
7805 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7806
7807 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7808 send the output to /dev/null.
7809 (libc_cv_cc_with_libunwind): Likewise.
7810 (libc_cv_as_noexecstack): Likewise.
7811 * configure: Regenerate.
7812
7813 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7814
7815 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7816
7817 * posix/globtest.sh (TMPDIR): Do not set.
7818 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7819 (testout): Likewise.
7820
7821 2012-10-24 Andreas Jaeger <aj@suse.de>
7822
7823 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7824 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7825 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7826 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7827 posix_fadvise64, posix_fallocate64.
7828
7829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7830 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7831 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7832 Likewise.
7833 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7834 Likewise.
7835 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7836
7837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7838 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7839 <bits/fcntl-linux.h>.
7840 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7841
7842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7843 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7844 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7845 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7846 [__WORDSIZE != 64]: Likewise.
7847
7848 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7849
7850 * Makeconfig (run-built-tests): New variable.
7851 * Rules [$(cross-compiling) = yes]: Change condition to
7852 [$(run-built-tests) = no].
7853 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7854 to [$(run-built-tests) = yes].
7855 * elf/Makefile [$(cross-compiling) = no]: Likewise
7856 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7857 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7858 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7859 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7860 * io/Makefile [$(cross-compiling) = no]: Likewise.
7861 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7862 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7863 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7864 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7865 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7866 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7867 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7868 * string/Makefile [$(cross-compiling) = no]: Likewise.
7869
7870 * posix/Makefile ($(objpfx)globtest.out): Pass
7871 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7872 $(rtld-installed-name).
7873 * posix/globtest.sh (elf_objpfx): Remove variable.
7874 (rtld_installed_name): Likewise.
7875 (library_path): Likewise.
7876 (run_program_prefix): New variable. Use for running globtest
7877 binary.
7878
7879 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7880 Joseph Myers <joseph@codesourcery.com>
7881
7882 * Makeconfig (host-built-program-cmd): New variable.
7883 * elf/Makefile (tst-stackguard1-ARGS): Use
7884 $(host-built-program-cmd).
7885 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7886 (tst-spawn-ARGS): Likewise.
7887 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7888
7889 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7890 Jim Blandy <jimb@codesourcery.com>
7891
7892 * Makeconfig (run-via-rtld-prefix): New variable.
7893 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7894 (built-program-cmd): Likewise.
7895
7896 2012-10-22 Andreas Jaeger <aj@suse.de>
7897
7898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7899 __O_RSYNC if it exists, otherwise to O_SYNC.
7900
7901 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7902 Joseph Myers <joseph@codesourcery.com>
7903
7904 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7905 /dev/null.
7906 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7907 from /dev/null
7908 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7909 /dev/null.
7910
7911 2012-10-22 Andreas Jaeger <aj@suse.de>
7912
7913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7914 Define always.
7915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7916
7917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7918 bits/fcntl-linux.h.
7919
7920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7921 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7922
7923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7924 to __O_LARGEFILE.
7925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7926 to __O_LARGEFILE.
7927
7928 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7929 Joseph Myers <joseph@codesourcery.com>
7930
7931 * config.make.in (NM): New variable.
7932
7933 2012-10-21 Andreas Jaeger <aj@suse.de>
7934
7935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7936 definitions and declarations that are provided by
7937 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7938
7939 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7940
7941 [BZ #14683]
7942 * elf/Makefile (tests-static): Add tst-leaks1-static.
7943 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7944 ($(objpfx)tst-leaks1-static): New rule.
7945 ($(objpfx)tst-leaks1-static-mem): Likewise.
7946 (tst-leaks1-static-ENV): New macro.
7947 * elf/dl-open.c (dl_open_worker): Check the main application
7948 only if SHARED is defined.
7949 * elf/tst-leaks1-static.c: New file.
7950
7951 2012-10-20 Andreas Jaeger <aj@suse.de>
7952
7953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7954 generic values for Linux.
7955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7956 and declarations that are provided by <bits/fcntl-linux.h> and
7957 include <bits/fcntl-linux.h>.
7958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7960
7961 2012-10-20 Roland McGrath <roland@hack.frob.com>
7962
7963 * io/fcntl.h: Move include of <bits/types.h> to the top and
7964 include it unconditionally.
7965
7966 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7967
7968 * wcsmbs/Makefile (tests-ifunc): New variable.
7969 (tests): Add $(tests-ifunc).
7970 * wcsmbs/test-wcschr-ifunc.c: New file.
7971 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7972 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7973 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7974 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7975 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7976
7977 * string/Makefile (tests-ifunc): New variable.
7978 (tests): Add $(tests-ifunc).
7979 * string/test-memccpy.c (TEST_NAME): New macro.
7980 * string/test-memchr.c (TEST_NAME): Likewise.
7981 * string/test-memcmp.c (TEST_NAME): Likewise.
7982 * string/test-memcpy.c (TEST_NAME): Likewise.
7983 * string/test-memmem.c (TEST_NAME): Likewise.
7984 * string/test-memmove.c (TEST_NAME): Likewise.
7985 * string/test-memset.c (TEST_NAME): Likewise.
7986 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7987 * string/test-stpcpy.c (TEST_NAME): Likewise.
7988 * string/test-stpncpy.c (TEST_NAME): Likewise.
7989 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7990 * string/test-strcasestr.c (TEST_NAME): Likewise.
7991 * string/test-strcat.c (TEST_NAME): Likewise.
7992 * string/test-strchr.c (TEST_NAME): Likewise.
7993 * string/test-strcmp.c(TEST_NAME): Likewise.
7994 * string/test-strcpy.c (TEST_NAME): Likewise.
7995 * string/test-strcspn.c (TEST_NAME): Likewise.
7996 * string/test-strlen.c (TEST_NAME): Likewise.
7997 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7998 * string/test-strncmp.c (TEST_NAME): Likewise.
7999 * string/test-strncpy.c (TEST_NAME): Likewise.
8000 * string/test-strnlen.c (TEST_NAME): Likewise.
8001 * string/test-strpbrk.c (TEST_NAME): Likewise.
8002 * string/test-strrchr.c (TEST_NAME): Likewise.
8003 * string/test-strspn.c (TEST_NAME): Likewise.
8004 * string/test-strstr.c (TEST_NAME): Likewise.
8005 * string/test-bcopy-ifunc.c: New file.
8006 * string/test-bzero-ifunc.c: Likewise.
8007 * string/test-memccpy-ifunc.c: Likewise.
8008 * string/test-memchr-ifunc.c: Likewise.
8009 * string/test-memcmp-ifunc.c: Likewise.
8010 * string/test-memcpy-ifunc.c: Likewise.
8011 * string/test-memmem-ifunc.c: Likewise.
8012 * string/test-memmove-ifunc.c: Likewise.
8013 * string/test-mempcpy-ifunc.c: Likewise.
8014 * string/test-memset-ifunc.c: Likewise.
8015 * string/test-rawmemchr-ifunc.c: Likewise.
8016 * string/test-stpcpy-ifunc.c: Likewise.
8017 * string/test-stpncpy-ifunc.c: Likewise.
8018 * string/test-strcasecmp-ifunc.c: Likewise.
8019 * string/test-strcasestr-ifunc.c: Likewise.
8020 * string/test-strcat-ifunc.c: Likewise.
8021 * string/test-strchr-ifunc.c: Likewise.
8022 * string/test-strchrnul-ifunc.c: Likewise.
8023 * string/test-strcmp-ifunc.c: Likewise.
8024 * string/test-strcpy-ifunc.c: Likewise.
8025 * string/test-strcspn-ifunc.c: Likewise.
8026 * string/test-strlen-ifunc.c: Likewise.
8027 * string/test-strncasecmp-ifunc.c: Likewise.
8028 * string/test-strncat-ifunc.c: Likewise.
8029 * string/test-strncmp-ifunc.c: Likewise.
8030 * string/test-strncpy-ifunc.c: Likewise.
8031 * string/test-strnlen-ifunc.c: Likewise.
8032 * string/test-strpbrk-ifunc.c: Likewise.
8033 * string/test-strrchr-ifunc.c: Likewise.
8034 * string/test-strspn-ifunc.c: Likewise.
8035 * string/test-strstr-ifunc.c: Likewise.
8036
8037 * debug/Makefile (tests-ifunc): New variable.
8038 (tests): Add $(tests-ifunc).
8039 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8040 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8041 * debug/test-stpcpy_chk-ifunc.c: New file.
8042 * debug/test-strcpy_chk-ifunc.c: Likewise.
8043
8044 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8045
8046 [BZ #13601]
8047 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8048 header is not read in.
8049
8050 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8051
8052 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8053 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8054 directly. Pass built executable to script as
8055 $(built-program-cmd).
8056 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8057 $testprogram without using LD_LIBRARY_PATH and $ldso.
8058
8059 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8060 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8061 $(rtld-installed-name).
8062 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8063 (rtld_installed_name): Likewise.
8064 (library_path): Likewise.
8065 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8066 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8067 $(run-program-prefix) to tst-tables.sh.
8068 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8069 it to run tst-table-from and tst-table-to.
8070 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8071 Pass it to tst-table.sh.
8072 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8073 $(run-program-prefix) to tst-gettext.sh.
8074 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8075 tst-translit.sh.
8076 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8077 tst-gettext2.sh.
8078 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8079 to run tst-gettext.
8080 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8081 to run tst-gettext2.
8082 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8083 to run tst-translit.
8084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8085 $(run-program-prefix) to tst-mtrace.sh.
8086 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8087 to run tst-mtrace.
8088 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8089 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8090 $(rtld-installed-name).
8091 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8092 (rtld_installed_name): Likewise.
8093 (run_program_prefix): New variable. Use it to run wordexp-test.
8094
8095 * Makeconfig (ARCH): Remove all definitions.
8096 (machine): Likewise.
8097 [ARCH]: Remove conditional code.
8098 [!objdir]: Give error.
8099 [!objdir] (objpfx): Remove.
8100 [!objdir] (common-objpfx): Likewise.
8101 [!objdir] (common-objdir): Likewise.
8102 * configure.in (config_makefile): Remove. Hardcode Makefile in
8103 AC_CONFIG_FILES call.
8104 * configure: Regenerated.
8105
8106 [BZ #13888]
8107 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8108 or TMPDIR.
8109 (testout): Likewise.
8110
8111 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8112 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8113 $(rtld-installed-name).
8114 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8115 (rtld_installed_name): Likwise.
8116 (runit): Remove function.
8117 (run_getconf): New variable, Use it for running getconf binary.
8118
8119 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 [BZ #14716]
8122 * string/test-memmem.c (check_result): New function.
8123 (do_one_test): Use it.
8124 (check1): New function.
8125 (test_main): Use it.
8126
8127 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8128
8129 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8130
8131 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8132
8133 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8134 (_G_LSEEK64): Likewise.
8135 (_G_MMAP64): Likewise.
8136 (_G_FSTAT64): Likewise.
8137 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8138 (_G_LSEEK64): Likewise.
8139 (_G_MMAP64): Likewise.
8140 (_G_FSTAT64): Likewise.
8141 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8142 unconditional. Call __mmap64 directly.
8143 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8144 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8145 __lseek64 directly.
8146 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8147 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8148 __mmap64 directly.
8149 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8150 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8151 __lseek64 directly.
8152 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8153 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8154 __lseek64 directly.
8155 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8156 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8157 __lseek64 directly.
8158 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8159 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8160 __fxstat64 directly.
8161 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8162 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8163 unconditional.
8164 (freopen64) [!_G_OPEN64]: Remove conditional code.
8165 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8166 unconditional.
8167 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8168 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8169 unconditional.
8170 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8171 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8172 unconditional.
8173 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8174 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8175 unconditional.
8176 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8177 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8178 unconditional.
8179 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8180 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8181 unconditional.
8182 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8183 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8184 unconditional.
8185 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8186
8187 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
8189 [BZ #12140]
8190 * manual/memory.texi (Malloc Tunable Parameters): Add note
8191 about free list pointers overwriting some perturb bytes.
8192 Wording suggested by Roland McGrath.
8193
8194 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8195
8196 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8197 (lgamma_test): Likewise.
8198 (tgamma_test): Likewise.
8199
8200 2012-10-16 Florian Weimer <fweimer@redhat.com>
8201
8202 [BZ #14700]
8203 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8204 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8205
8206 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8207
8208 * NEWS: Mention BZ #14716.
8209 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8210 when removing AVAILABLE1_USES_J macro.
8211
8212 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8213
8214 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8215 (__bswap_64): __uint64_t for unsigned 64-bit int.
8216
8217 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8218
8219 * include/string.h (memmem): Declare libc hidden alias.
8220 * string/memmem.c (memmem): Define libc hidden alias.
8221 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8222 __read, __close instead of open, read, close.
8223
8224 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8227 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8228 global and hidden.
8229 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8230 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8231 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8232 Likewise.
8233 (__rawmemchr_sse2): Likewise.
8234 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8235 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8236 (__strchr_sse2): Likewise.
8237 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8238 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8239 (__strcasecmp_sse2): Likewise.
8240 (__strncasecmp_sse2): Likewise.
8241 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8242 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8243 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8244 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8245 (__strrchr_sse2): Likewise.
8246 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8247 ifunc-impl-list.c.
8248 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8250 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8251 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8252 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8253 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8254 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8256 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8257 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8258 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8261 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8262 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8263 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8264 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8265 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8266 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8267 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8268 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8269 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8270 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8271 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8272 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8274 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8275 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8277 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8278
8279 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8280 global and hidden.
8281 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8282 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8283 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8284 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8285 Likewise.
8286 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8287 Likewise.
8288 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8289 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8290 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8291 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8292 ifunc-impl-list.c.
8293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8334
8335 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8336 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8337 * include/ifunc-impl-list.h: New file.
8338 * misc/ifunc-impl-list.c: Likewise.
8339 * misc/Makefile (routines): Add ifunc-impl-list.
8340 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8341 * string/test-string.h: Include <ifunc-impl-list.h>.
8342 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8343 impl_array): New variables.
8344 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8345 are defined.
8346 (test_init): Call __libc_ifunc_impl_list to initialize
8347 func_list if TEST_IFUNC and TEST_NAME are defined.
8348
8349 * string/Makefile (strop-tests): Add bcopy and bzero.
8350 * string/test-bcopy.c: New file.
8351 * string/test-bzero.c: Likewise.
8352 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8353 defined.
8354 * string/test-memset.c: Support bzero test if TEST_BZERO is
8355 defined.
8356 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8357 __libc_memmove.
8358 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8359 __libc_memset.
8360 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8361 of memset.
8362
8363 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8364
8365 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8366 * configure: Regenerated.
8367
8368 * Makeconfig (+link-static-before-libc): Don't include
8369 $(link-static-libc).
8370
8371 * libio/libio.h (_IO_pos_t): Remove.
8372
8373 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8374
8375 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8376 McGrath.
8377
8378 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8379
8380 * crypt/crypt-entry.c: Include fips-private.h.
8381 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8382 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8383 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8384 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8385
8386 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8387
8388 * crypt/crypt-private.h: Include stdbool.h.
8389 (_ufc_setup_salt_r): Return bool.
8390 * crypt/crypt-entry.c: Include errno.h.
8391 (__crypt_r): Return NULL with EINVAL for bad salt.
8392 * crypt/crypt_util.c (bad_for_salt): New.
8393 (_ufc_setup_salt_r): Check that salt is long enough and within
8394 the specified alphabet.
8395 * crypt/badsalttest.c: New file.
8396 * crypt/Makefile (tests): Add it.
8397 ($(objpfx)badsalttest): New.
8398
8399 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8400
8401 * NEWS: Add entry for BZ #14602.
8402
8403 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8404
8405 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8406 type-generic.
8407 * math/libm-test.inc: Update comment listing what functions and
8408 macros are tested.
8409 (isgreater_test): New function.
8410 (isgreaterequal_test): Likewise.
8411 (isless_test): Likewise.
8412 (islessequal_test): Likewise.
8413 (islessgreater_test): Likewise.
8414 (isunordered_test): Likewise.
8415 (main): Call the new functions.
8416
8417 2012-10-09 Roland McGrath <roland@hack.frob.com>
8418
8419 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8420 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8421 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8422 * sysdeps/i386/configure: Regenerated.
8423 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8424 * sysdeps/mach/configure: Regenerated.
8425 * sysdeps/mach/hurd/configure: Regenerated.
8426 * sysdeps/powerpc/configure: Regenerated.
8427 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8428 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8429 * sysdeps/s390/s390-32/configure: Regenerated.
8430 * sysdeps/s390/s390-64/configure: Regenerated.
8431 * sysdeps/sh/configure: Regenerated.
8432 * sysdeps/sparc/configure: Regenerated.
8433 * sysdeps/unix/sysv/linux/configure: Regenerated.
8434 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8435 * sysdeps/x86_64/configure: Regenerated.
8436
8437 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8438 defined. Don't check if MAP is NULL.
8439
8440 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8441
8442 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8443 (_G_stat64): Likewise.
8444 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8445 (_G_stat64): Likewise.
8446 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8447 instead of struct _G_stat64.
8448 * libio/fileops.c (mmap_remap_check): Likewise.
8449 (decide_maybe_mmap): Likewise.
8450 (_IO_new_file_seekoff): Likewise.
8451 (_IO_file_stat): Likewise.
8452 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8453 _G_off64_t.
8454 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8455 instead of struct _G_stat64.
8456 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8457
8458 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8459
8460 [BZ #14602]
8461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8462 Replace with ...
8463 (CHECK_EOL): New macro.
8464 (two_way_short_needle): Check beginning of haystack for EOL. Use
8465 CHECK_EOL.
8466 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8467 Replace with CHECK_EOL.
8468 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8469 Replace with CHECK_EOL.
8470
8471 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8472
8473 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8474 type-generic.
8475 * math/libm-test.inc: Update comment listing what functions and
8476 macros are tested.
8477 (finite_test): New function.
8478 (isinf_test): Likewise.
8479 (isnan_test): Likewise.
8480 (fpclassify_test): Test subnormal input.
8481 (isfinite_test): Likewise.
8482 (isnormal_test): Likewise.
8483 (main): Call the new functions.
8484
8485 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8486
8487 [BZ #14660]
8488 * Makerules (%.dynsym): Force C locale when running
8489 $(OBJDUMP) --dynamic-syms.
8490
8491 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8492
8493 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8494 <stdint.h>.
8495
8496 2012-10-06 David S. Miller <davem@davemloft.net>
8497
8498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8499 upper 32-bits of the length value in %o2 since we use branch-on-register
8500 tests which consider the entire 64-bit register.
8501
8502 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * string/test-strstr.c (check2): Add a test for page boundary.
8505
8506 2012-10-05 David S. Miller <davem@davemloft.net>
8507
8508 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8510 file.
8511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8512 sysdep_routines.
8513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8514 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8515 and bzero when HWCAP_SPARC_CRYPTO is present.
8516
8517 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 [BZ #14602]
8520 * string/test-strstr.c (check2): New function.
8521 (test_main): Call check2.
8522
8523 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8524 and bug-strchr1.
8525 * string/bug-strcasestr1.c (do_test): Moved to ...
8526 * string/test-strcasestr.c (check1): Here. New function.
8527 (do_one_test): Break out result checking code into ...
8528 (check_result): This. New function.
8529 (do_one_test): Call check_result.
8530 (test_main): Call check1.
8531 * string/bug-strchr1.c (do_test): Moved to ...
8532 * string/test-strchr.c (check1): Here. New function.
8533 (do_one_test): Break out result checking code into ...
8534 (check_result): This. New function.
8535 (do_one_test): Call check_result.
8536 (test_main): Call check1.
8537 * string/bug-strstr1.c (main): Moved to ...
8538 * string/test-strstr.c (check1): Here. New function.
8539 (do_one_test): Break out result checking code into ...
8540 (check_result): This. New function.
8541 (do_one_test): Call check_result.
8542 (test_main): Call check1.
8543 * string/bug-strcasestr1.c: Removed.
8544 * string/bug-strchr1.c: Likewise.
8545 * string/bug-strstr1.c: Likewise.
8546
8547 * elf/Makefile (dl-routines): Add hwcaps.
8548 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8549 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8550 (_dl_important_hwcaps): Moved to ...
8551 * elf/dl-hwcaps.c: Here. New file.
8552 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8553
8554 [BZ #14557]
8555 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8556 if IS_IN_rtld isn't defined.
8557
8558 * elf/dl-support.c (_dl_sysinfo_map): New.
8559 Include "get-dynamic-info.h" and "setup-vdso.h".
8560 (_dl_non_dynamic_init): Call setup_vdso.
8561 * elf/dynamic-link.h: Don't include <assert.h>.
8562 (elf_get_dynamic_info): Moved to ...
8563 * elf/get-dynamic-info.h: Here. New file.
8564 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8565 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8566 * elf/setup-vdso.h: Here. New file.
8567 * elf/rtld.c: Include "setup-vdso.h".
8568 (dl_main): Call setup_vdso.
8569
8570 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8571
8572 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8573 creal in comment listing functions tested. List finite, isinf,
8574 isnan, isless, islessequal, isgreater, isgreaterequal,
8575 islessgreater, isunordered, lgamma_r and pow10 as functions and
8576 macros not tested. Mention which functions not tested are aliases
8577 for other functions. Fix typo. Note that signs of NaNs are not
8578 tested.
8579
8580 * scripts/config.guess: Update from config.git.
8581 * scripts/config.sub: Likewise.
8582
8583 2012-10-04 Roland McGrath <roland@hack.frob.com>
8584
8585 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8586 * misc/madvise.c (madvise): Renamed to __madvise.
8587 Make madvise a weak alias.
8588 * include/sys/mman.h: Declare __madvise.
8589 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8590 * sysdeps/unix/syscalls.list
8591 (madvise): Make __madvise the strong name, and madvise a weak alias.
8592 * sysdeps/unix/sysv/linux/syscalls.list
8593 (madvise, mmap): Remove redundant entries.
8594 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8595 * malloc/malloc.c (mtrim): Likewise.
8596 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8597
8598 2012-10-03 Roland McGrath <roland@hack.frob.com>
8599
8600 * sysdeps/mach/hurd/dl-cache.c: File removed.
8601 * config.h.in (USE_LDCONFIG): New #undef.
8602 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8603 * configure: Regenerated.
8604 * elf/Makefile (dl-routines): Add dl-cache only under
8605 [$(use-ldconfig) = yes].
8606 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8607 cache on [USE_LDCONFIG].
8608 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8609 [USE_LDCONFIG].
8610 * elf/rtld.c (dl_main): Likewise.
8611
8612 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8613
8614 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8615 _SC_LEVEL4_CACHE_LINESIZE.
8616
8617 2012-10-03 Roland McGrath <roland@hack.frob.com>
8618
8619 * sysdeps/unix/bsd/confstr.h: File removed.
8620
8621 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8622
8623 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8624 sys/sdt-config.h.
8625
8626 2012-10-02 Roland McGrath <roland@hack.frob.com>
8627
8628 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8629 Make 'mapoff' field ElfW(Off) rather than off_t.
8630
8631 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8632
8633 * nscd/Makefile: Remove nscd-cflags and all its users.
8634 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8635 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8636
8637 [BZ #10631]
8638 * malloc.c (malloc_printerr): Clarify error message.
8639
8640 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8641
8642 [BZ #14648]
8643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8644 Set bit_FMA_Usable if FMA is supported.
8645 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8646 macro.
8647 (bit_FMA4_Usable): Updated.
8648 (index_FMA_Usable): New macro.
8649 (CPUID_FMA): Likewise
8650 (HAS_FMA): Defined with bit_FMA_Usable.
8651
8652 2012-10-01 Roland McGrath <roland@hack.frob.com>
8653
8654 * bits/types.h (__swblk_t): Type removed.
8655 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8656 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8658 (__SWBLK_T_TYPE): Likewise.
8659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8660 (__SWBLK_T_TYPE): Likewise.
8661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8662 (__SWBLK_T_TYPE): Likewise.
8663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8664 (__SWBLK_T_TYPE): Likewise.
8665
8666 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8667 Honza Horak <hhorak@redhat.com>
8668
8669 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8670 (xdr_mapname): Use YPMAXMAP as maxsize.
8671 (xdr_peername): Use YPMAXPEER as maxsize.
8672 (xdr_keydat): Use YPAXRECORD as maxsize.
8673 (xdr_valdat): Use YPMAXRECORD as maxsize.
8674
8675 2012-10-01 Roland McGrath <roland@hack.frob.com>
8676
8677 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8678
8679 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8680 * csu/init-first.c: ... here.
8681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8682 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8685 * sysdeps/i386/init-first.c: File removed.
8686 * sysdeps/sh/init-first.c: File removed.
8687
8688 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #14645]
8691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8692 if x * y might underflow to zero and z is zero.
8693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8695 * math/libm-test.inc (min_subnorm_value): New variable.
8696 (fma_test): Add more tests.
8697 (fma_test_towardzero): Likewise.
8698 (fma_test_downward): Likewise
8699 (fma_test_upward): Likewise.
8700 (initialize): Set min_subnorm_value.
8701
8702 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8703
8704 [BZ #14638]
8705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8706 0 + 0.
8707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8708 mode for addition resulting in exact zero.
8709 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8711 exact 0 + 0.
8712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8714 * math/libm-test.inc (fma_test): Add more tests.
8715 (fma_test_towardzero): New function.
8716 (fma_test_downward): Likewise.
8717 (fma_test_upward): Likewise.
8718 (main): Call the new functions.
8719
8720 2012-09-28 David S. Miller <davem@davemloft.net>
8721
8722 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8723
8724 2012-09-28 Roland McGrath <roland@hack.frob.com>
8725
8726 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8727 instead of SIGALRM.
8728
8729 * sysdeps/gnu/_G_config.h: Moved to ...
8730 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8731 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8732 * sysdeps/generic/_G_config.h: ... here.
8733
8734 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8735
8736 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8737
8738 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8739 Conditionalize target on [libnss_test1.so-version].
8740
8741 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8742
8743 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8744 (elfobjdir): Move out of conditionals.
8745
8746 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8747 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8748 (__nss_lookup_function): Conditionalize label remove_from_tree on
8749 [!DO_STATIC_NSS || SHARED], matching its only use.
8750
8751 2012-09-28 David S. Miller <davem@davemloft.net>
8752
8753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8754 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8755 file.
8756 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8757 sysdep_routines.
8758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8760 when HWCAP_SPARC_CRYPTO is present.
8761
8762 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8763
8764 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8765
8766 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8767
8768 [BZ #6530]
8769 * stdio-common/vfprintf.c (process_string_arg): Revert
8770 2000-07-22 change.
8771
8772 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8773
8774 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8775 for testcase.
8776 * stdio-common/tst-sprintf.c: Include <locale.h>
8777 (main): Test sprintf's handling of incomplete multibyte
8778 characters.
8779
8780 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * elf/dl-runtime.c (VERSYMIDX): Removed.
8783 * elf/dl-version.c (VERSYMIDX): Likewise.
8784 * elf/do-rel.h (VERSYMIDX): Likewise.
8785 (VALIDX): Likewise.
8786 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8787 * elf/rtld.c (VALIDX): Likewise.
8788 (ADDRIDX): Likewise.
8789 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8790 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8791 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8792 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8793 (VALIDX): Likewise.
8794 (ADDRIDX): Likewise.
8795
8796 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8797
8798 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8799
8800 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8801
8802 [BZ #11438]
8803 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8804 to global scope.
8805 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8806 addresses are in the same scope as 192.0.2/24.
8807 * posix/gai.conf: Document new scope table defaults.
8808
8809 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 [BZ #5298]
8812 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8813 for ftell. Compute offsets from write pointers instead.
8814 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8815
8816 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 [BZ #14543]
8819 * libio/Makefile (tests): New test case tst-fseek.
8820 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8821 combination works in wide mode.
8822 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8823 state when the external buffer state changes.
8824
8825 2012-09-27 David S. Miller <davem@davemloft.net>
8826
8827 [BZ #14376]
8828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8829 pass reloc->r_addend in as the 'high' argument to
8830 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8831
8832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8833
8834 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8835
8836 * rt/tst-aio2.c: Include <pthread.h>.
8837 * rt/tst-aio3.c: Likewise.
8838
8839 2012-09-27 Steve Ellcey <sellcey@mips.com>
8840
8841 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8842
8843 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8846 contents on [SHARED].
8847
8848 2012-09-26 Marek Polacek <polacek@redhat.com>
8849
8850 [BZ #14530]
8851 [BZ #13741]
8852 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8853 for C++ and GCC <4.3 as well as for non GCC compilers.
8854
8855 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8856
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8858
8859 2012-09-25 Roland McGrath <roland@hack.frob.com>
8860
8861 * Makefile.in (all, install): Declare with .PHONY.
8862 Reported by Michael Hope <michael.hope@linaro.org>.
8863
8864 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8865
8866 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8867 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8868 system header.
8869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8870 Likewise.
8871 (sydep_routines): Add the new and the internal functions.
8872 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8875 (GLIBC_2.17): Add the new function.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8877 (GLIBC_2.17): Likewise.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8879 (GLIBC_2.17): Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8881 (GLIBC_2.17): Likewise.
8882 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8883
8884 2012-09-25 Alan Modra <amodra@gmail.com>
8885
8886 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8887 Add release barrier before setting once_control to say
8888 initialisation is done. Add hints on lwarx. Use macro in
8889 place of isync.
8890 (clear_once_control): Add release barrier.
8891
8892 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8893
8894 [BZ #13629]
8895 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8896 specially.
8897 * math/s_clog10.c (__clog10): Likewise.
8898 * math/s_clog10f.c (__clog10f): Likewise.
8899 * math/s_clog10l.c (__clog10l): Likewise.
8900 * math/s_clogf.c (__clogf): Likewise.
8901 * math/s_clogl.c (__clogl): Likewise.
8902 * math/Makefile (libm-calls): Add x2y2m1.
8903 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8904 (__x2y2m1): Likewise.
8905 (__x2y2m1l): Likewise.
8906 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8907 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8912 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8913 * sysdeps/i386/fpu/libm-test-ulps: Update.
8914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8915
8916 [BZ #14621]
8917 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8918 int as type of variable DEPTH.
8919 (glob): Use size_t instead of int as type of variables NEWCOUNT
8920 and OLD_PATHC.
8921
8922 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8923
8924 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8925 Add s_sincosf-sse2.
8926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8928 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8929 macros for using routine as __sincosf_ia32.
8930 Use macro for function declaration and weak_alias.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932
8933 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8935
8936 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8937 subnormal argument.
8938 * math/s_cexpf.c (__cexpf): Likewise.
8939 * math/s_csinf.c (__csinf): Likewise.
8940 * math/s_csinhf.c (__csinhf): Likewise.
8941 * math/s_ctanf.c (__ctanf): Likewise.
8942 * math/s_ctanhf.c (__ctanhf): Likewise.
8943 * math/s_ccosh.c (__ccoshf): Likewise.
8944 * math/s_cexp.c (__cexpl): Likewise.
8945 * math/s_csin.c (__csin): Likewise.
8946 * math/s_csinh.c (__csinh): Likewise.
8947 * math/s_ctan.c (__ctan): Likewise.
8948 * math/s_ctanh.c (ctanh): Likewise.
8949 * math/s_ccoshl.c (__ccoshl): Likewise.
8950 * math/s_cexpl.c (__cexpl): Likewise.
8951 * math/s_csinl.c (__csinl): Likewise.
8952 * math/s_csinhl.c (__csinhl): Likewise.
8953 * math/s_ctanl.c (__ctanl): Likewise.
8954 * math/s_ctanhl.c (__ctanhl): Likewise.
8955
8956 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8957
8958 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8959 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8960 (_IO_off_t): Define to __off_t, not _G_off_t.
8961 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8962 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8963 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8964 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8965 type of __dummy and __dummy2 fields.
8966 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8967 (_G_ssize_t): Likewise.
8968 (_G_off_t): Likewise.
8969 (_G_pid_t): Likewise.
8970 (_G_uid_t): Likewise.
8971 (_G_wchar_t): Likewise.
8972 (_G_wint_t): Likewise.
8973 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8974 (_G_ssize_t): Likewise.
8975 (_G_off_t): Likewise.
8976 (_G_pid_t): Likewise.
8977 (_G_uid_t): Likewise.
8978 (_G_wchar_t): Likewise.
8979 (_G_wint_t): Likewise.
8980 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8981 (_G_ssize_t): Likewise.
8982 (_G_off_t): Likewise.
8983 (_G_pid_t): Likewise.
8984 (_G_uid_t): Likewise.
8985 (_G_wchar_t): Likewise.
8986 (_G_wint_t): Likewise.
8987
8988 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
8990 * malloc/arena.c: Include malloc-sysdep.h.
8991 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8992 is sufficient to shrink the heap or an unmap is needed.
8993 * sysdeps/generic/malloc-sysdep.h: New file. Define
8994 new function check_may_shrink_heap.
8995 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8996 new function check_may_shrink_heap.
8997
8998 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8999
9000 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9001 comments.
9002
9003 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9004
9005 * catgets/test-gencat.sh: Add "set -e".
9006 * elf/tst-pathopt.sh: Likewise.
9007 * grp/tst_fgetgrent.sh: Likewise.
9008 * iconvdata/run-iconv-test.sh: Likewise.
9009 * intl/tst-gettext.sh: Likewise.
9010 * intl/tst-gettext2.sh: Likewise.
9011 * intl/tst-gettext4.sh: Likewise.
9012 * intl/tst-gettext6.sh: Likewise.
9013 * intl/tst-translit.sh: Likewise.
9014 * io/ftwtest-sh: Likewise.
9015 * libio/test-freopen.sh: Likewise.
9016 * malloc/tst-mtrace.sh: Likewise.
9017 * posix/globtest.sh: Likewise.
9018 * posix/tst-getconf.sh: Likewise.
9019 * posix/wordexp-tst.sh: Likewise.
9020 * stdio-common/tst-printf.sh: Likewise.
9021 * stdio-common/tst-unbputc.sh: Likewise.
9022 * stdlib/tst-fmtmsg.sh: Likewise.
9023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9024 * catgets/Makefile: Do not specify -e option when running
9025 testsuite shell scripts.
9026 * elf/Makefile: Likewise.
9027 * grp/Makefile: Likewise.
9028 * iconvdata/Makefile: Likewise.
9029 * intl/Makefile: Likewise.
9030 * io/Makefile: Likewise.
9031 * libio/Makefile: Likewise.
9032 * malloc/Makefile: Likewise.
9033 * posix/Makefile: Likewise.
9034 * stdio-common/Makefile: Likewise.
9035 * stdlib/Makefile: Likewise.
9036 * sysdeps/x86_64/Makefile: Likewise.
9037
9038 * io/ftwtest-sh: Add copyright header.
9039 * posix/globtest.sh: Likewise.
9040 * posix/tst-getconf.sh: Likewise.
9041 * posix/wordexp-tst.sh: Likewise.
9042 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9043
9044 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 [BZ #13679]
9047 * Makeconfig (+link): Defined as $(+link-static) if
9048 $(build-shared) isn't yes.
9049 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9050 isn't yes.
9051 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9052
9053 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9054
9055 [BZ #14562]
9056 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9057 new chunk size with MALLOC_ALIGN_MASK.
9058
9059 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9060
9061 [BZ #5044]
9062 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9063 <rounding-mode.h>.
9064 (__printf_fphex): Determine rounding using get_rounding_mode and
9065 round_away.
9066 * stdio-common/tst-printf-round.c (struct hex_test): New
9067 structure.
9068 (hex_tests): New variable.
9069 (test_hex_in_one_mode): New function.
9070 (do_test): Also run tests for hex float output.
9071
9072 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9073
9074 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9075 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9076 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9077 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9079 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9080 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9082
9083 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9084
9085 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9086 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9087 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9088 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9089
9090 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9091
9092 [BZ #14579]
9093 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9094 mode only.
9095 * elf/tst-rtld-load-self.sh: New test.
9096 * elf/Makefile: Run it.
9097
9098 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9101 (tst-writev-ENV): Remove.
9102 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9103
9104 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9105
9106 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9107
9108 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9109
9110 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9111 unconditional.
9112 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9113 Likewise.
9114 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9115 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9117 Likewise.
9118
9119 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 [BZ #14587]
9122 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9123 * config.make.in (have-cpp-asm-debuginfo): Removed.
9124 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9125 * configure: Regenerated.
9126
9127 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #5044]
9130 * stdio-common/printf_fp.c: Include <stdbool.h> and
9131 <rounding-mode.h>.
9132 (___printf_fp): Determine rounding using get_rounding_mode and
9133 round_away.
9134 * stdio-common/tst-printf-round.c: New file.
9135 * stdio-common/Makefile (tests): Add tst-printf-round.
9136 (link-libm): New variable.
9137 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9138
9139 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 [BZ #14576]
9142 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9143 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9144 Likewise.
9145 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9146 Likewise.
9147
9148 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9149
9150 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9151 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9152 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9153 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9154
9155 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9156
9157 [BZ #14518]
9158 * include/rounding-mode.h: New file.
9159 * sysdeps/generic/get-rounding-mode.h: Likewise.
9160 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9161 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9162 (MAX_VALUE): New macro.
9163 (MIN_VALUE): Likewise.
9164 (overflow_value): New function.
9165 (underflow_value): Likewise.
9166 (round_and_return): Use overflow_value and underflow_value to
9167 determine return values in overflow and underflow cases. Use
9168 round_away to determine rounding depending on rounding mode.
9169 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9170 determine return values in overflow and underflow cases.
9171 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9172 (struct test_results): New structure.
9173 (struct test): Use struct test_results to store expected results
9174 for all rounding modes.
9175 (TEST): Include expected results for all rounding modes.
9176 (test_in_one_mode): New function.
9177 (do_test): Use test_in_one_mode to compute and check results.
9178 Check results for all rounding modes.
9179 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9180 $(link-libm).
9181
9182 2012-12-09 Allan McRae <allan@archlinux.org>
9183
9184 * sysdeps/i386/fpu/libm-test-ulps: Update
9185
9186 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9187
9188 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9189 (_G_int32_t): Likewise.
9190 (_G_uint16_t): Likewise.
9191 (_G_uint32_t): Likewise.
9192 (_G_HAVE_BOOL): Likewise.
9193 (_G_HAVE_ATEXIT): Likewise.
9194 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9195 (_G_HAVE_IO_FILE_OPEN): Likewise.
9196 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9197 (_G_int32_t): Likewise.
9198 (_G_uint16_t): Likewise.
9199 (_G_uint32_t): Likewise.
9200 (_G_HAVE_BOOL): Likewise.
9201 (_G_HAVE_ATEXIT): Likewise.
9202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9203 (_G_HAVE_IO_FILE_OPEN): Likewise.
9204 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9205 (_G_int32_t): Likewise.
9206 (_G_uint16_t): Likewise.
9207 (_G_uint32_t): Likewise.
9208 (_G_HAVE_BOOL): Likewise.
9209 (_G_HAVE_ATEXIT): Likewise.
9210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9211 (_G_HAVE_IO_FILE_OPEN): Likewise.
9212
9213 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 * csu/libc-tls.c: Update copyright years.
9216
9217 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9218
9219 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9220 [!_G_USING_THUNKS]: Remove conditional code.
9221 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9222 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9223
9224 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9225 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9226 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9227 (_G_VTABLE_LABEL_PREFIX): Likewise.
9228 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9229 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9230 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9231 (_G_VTABLE_LABEL_PREFIX): Likewise.
9232 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9233 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9234 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9235 (_G_VTABLE_LABEL_PREFIX): Likewise.
9236 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9237
9238 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9239
9240 * libio/Makefile: Include ../Makeconfig before tests.
9241 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9242 only if $(build-shared) is yes.
9243
9244 * iconv/gconv_db.c: Update copyright years.
9245
9246 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9247
9248 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9249 unwind info if defined PIC. Fix special cases description.
9250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9251
9252 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9253 DP_HI_MASK entry.
9254 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9255
9256 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9259
9260 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9261 is NULL.
9262
9263 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9264 (LDLIBS-tst-chk4): This.
9265 (LDFLAGS-tst-chk5): Renamed to ...
9266 (LDLIBS-tst-chk5): This.
9267 (LDFLAGS-tst-chk6): Renamed to ...
9268 (LDLIBS-tst-chk6): This.
9269 (LDFLAGS-tst-lfschk4): Renamed to ...
9270 (LDLIBS-tst-lfschk4): This.
9271 (LDFLAGS-tst-lfschk5): Renamed to ...
9272 (LDLIBS-tst-lfschk5): This.
9273 (LDFLAGS-tst-lfschk6): Renamed to ...
9274 (LDLIBS-tst-lfschk6): This.
9275
9276 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9277 on $(common-objpfx)soversions.mk.
9278
9279 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9280
9281 [BZ #10014]
9282 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9283 example host name.
9284
9285 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9286
9287 * malloc/arena.c (arena_get_retry): New function that gets
9288 another arena for the caller to try its request on.
9289 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9290 current arena cannot fulfill the request.
9291 (__libc_memalign): Likewise.
9292 (__libc_memalign): Likewise.
9293 (__libc_pvalloc): Likewise.
9294 (__libc_calloc): Likewise.
9295
9296 2012-09-05 John Tobey <john.tobey@gmail.com>
9297
9298 [BZ #13542]
9299 * manual/arith.texi (Operations on Complex): Fix description
9300 of carg branch cut.
9301
9302 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9303
9304 [BZ #10014]
9305 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9306 host name.
9307
9308 [BZ #10038]
9309 * manual/memory.texi (Memory): Make order of menu items match
9310 order of sections.
9311
9312 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9315 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9316 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9317
9318 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * csu/libc-tls.c (static_dtv): Renamed to ...
9321 (_dl_static_dtv): This. Make it global.
9322 (_dl_initial_dtv): Removed.
9323 (__libc_setup_tls): Updated.
9324 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9325 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9326 DL_INITIAL_DTV.
9327
9328 2012-09-06 Petr Machata <pmachata@redhat.com>
9329
9330 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9331 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9332 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9333 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9334
9335 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 [BZ #14545]
9338 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9339 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9340 freeing dtv[-1].
9341
9342 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 [BZ #14544]
9345 * Makeconfig (link-static-before-libc): Replace $(+prector)
9346 with $(+prectorT).
9347 (link-static-after-libc): Replace $(+postctor) with
9348 $(+postctorT).
9349 (link-bounded): Replace $(+prector)/$(+postctor) with
9350 $(+prectorT)/$(+postctorT).
9351 (+prectorT): New macro.
9352 (+postctorT): Likewise.
9353
9354 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9355
9356 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9357 (round_str): Handle values above the maximum for IBM long double
9358 as inexact.
9359 * stdlib/tst-strtod-round.c (tests): Regenerated.
9360
9361 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9362
9363 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9364 assembler flag.
9365 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9366 zarch_nohighgprs around the zarch optimized routines.
9367 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9368 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9370 for zarch.
9371
9372 2012-09-05 David S. Miller <davem@davemloft.net>
9373
9374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9375
9376 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9377 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9378 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9380 entries.
9381
9382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9383
9384 * malloc/arena.c: Fold copyright years.
9385 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9386
9387 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9388
9389 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9390
9391 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9392
9393 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9394
9395 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9396
9397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9398 change internal state upon failure.
9399
9400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9401
9402 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9403 * malloc/memusage.c (mmap): Likewise.
9404 (mmap64, mremap): Likewise. Adjust name in comment.
9405
9406 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9407
9408 * libio/fileops.c: Fix typos in comments.
9409 * libio/oldfileops.c: Likewise.
9410 * libio/wfileops.c: Likewise.
9411
9412 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9413
9414 [BZ #1349]
9415 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9416 (tst-malloc-usable-ENV): Set environment for test case.
9417 * malloc/hooks.c (malloc_check_get_size): New function to get
9418 requested size.
9419 * malloc/malloc.c (musable): Use malloc_check_get_size.
9420 * malloc/tst-malloc-usable.c: New test case.
9421
9422 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9423
9424 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9425
9426 2012-09-05 Allan McRae <allan@archlinux.org>
9427
9428 [BZ #13966]
9429 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9430 determine header location.
9431 * configure: Regenerated.
9432
9433 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9434
9435 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9436 float format.
9437 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9438 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9439 format.
9440 (test): Regenerate.
9441
9442 2012-09-04 David S. Miller <davem@davemloft.net>
9443
9444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9447
9448 2012-09-04 Florian Weimer <fweimer@redhat.com>
9449
9450 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9451 failures.
9452
9453 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9454
9455 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #9914]
9458 * libio/iogetdelim.c: Include <limits.h>.
9459 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9460 + len + 1 would overflow.
9461
9462 2012-09-03 Andreas Jaeger <aj@suse.de>
9463
9464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9465 * sysdeps/i386/fpu/libm-test-ulps: Update.
9466
9467 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9468
9469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9470 Add s_sinf-sse2, s_conf-sse2.
9471
9472 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9473 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9474 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9475 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9476
9477 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9478 for using routine as __sinf_ia32.
9479 Use macro for function declaration and weak_alias.
9480 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9481 for using routine as __cosf_ia32.
9482 Use macro for function declaration and weak_alias.
9483
9484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9485 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9486
9487 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9488 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9490
9491 * math/libm-test.inc (cos_test): Add more test cases.
9492 (sin_test): Likewise.
9493 (sincos_test): Likewise.
9494
9495 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9496
9497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9498 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9499 hidden.
9500 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9501
9502 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9503
9504 [BZ #14538]
9505 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9506 first element of the GOT.
9507 (elf_machine_load_address): Return the difference between
9508 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9509
9510 2012-09-01 Allan McRae <allan@archlinux.org>
9511
9512 [BZ #13412]
9513 * configure.in (AWK): Require gawk version 3.0 or later.
9514 * configure: Regenerated.
9515
9516 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9517
9518 * sysdeps/unix/sysv/linux/kernel-features.h
9519 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9521 [__NR_clock_getres]: Make code unconditional.
9522 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9523 (clock_getcpuclockid): Remove code left unreachable by removal of
9524 conditionals.
9525 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9526 code unconditional.
9527 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9529 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9530 Make code unconditional.
9531 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9533 * sysdeps/unix/sysv/linux/clock_settime.c
9534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9535 conditional code.
9536 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9538
9539 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 [BZ #14476]
9542 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9543 scripts/test-installation.pl.
9544
9545 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9546 and $ld_so_version if it is set.
9547
9548 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9549
9550 [BZ #14516]
9551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9552 failure if reading from procfs failed.
9553 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9554
9555 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9556
9557 * sysdeps/unix/sysv/linux/kernel-features.h
9558 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9559 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9560 Remove conditional code.
9561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9562 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9563 Remove conditional code.
9564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9565 * sysdeps/unix/sysv/linux/i386/fxstat.c
9566 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9568 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9571 * sysdeps/unix/sysv/linux/i386/lxstat.c
9572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9574 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9575 Remove conditional code.
9576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9577 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9578 Remove conditional code.
9579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9580 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9581 <kernel-features.h>.
9582 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9583 Remove.
9584 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9585 Remove conditional code.
9586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9587 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9588 Remove conditional.
9589
9590 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9591
9592 [BZ #5400]
9593 * NEWS: Add fixed bug number.
9594
9595 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9596
9597 [BZ #14519]
9598 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9599 underflowing exponent in case of negative sign.
9600 * stdlib/tst-strtod-round-data: Add more tests.
9601 * stdlib/tst-strtod-round.c (tests): Regenerated.
9602
9603 [BZ #3479]
9604 * stdlib/strtod_l.c (NDIG): Remove.
9605 (HEXNDIG): Likewise.
9606 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9607 smallest representable value.
9608 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9609 lie within an exact representation of 1/2 ulp of the result.
9610 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9611 unconditionally.
9612 (TENS_P9_IDX): Define unconditionally.
9613 (TENS_P9_SIZE): Likewise.
9614 (TENS_P10_IDX): Likewise.
9615 (TENS_P10_SIZE): Likewise.
9616 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9617 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9618 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9619 entries for 10^2^13 and 10^2^14.
9620 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9621 (TENS_P13_IDX): Define.
9622 (TENS_P13_SIZE): Likewise.
9623 (TENS_P14_IDX): Likewise.
9624 (TENS_P14_SIZE): Likewise.
9625 (_fpioconst_pow10): Change array size to
9626 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9627 unconditional.
9628 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9629 1024]: Add entries for 10^2^13 and 10^2^14.
9630 [LAST_POW10 > _LAST_POW10]: Remove #error.
9631 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9632 (_fpioconst_pow10): Change array size to
9633 FPIOCONST_POW10_ARRAY_SIZE.
9634 * stdlib/gen-fpioconst.c: New file.
9635 * stdlib/gen-tst-strtod-round.c: Likewise.
9636 * stdlib/tst-strtod-round-data: Likewise.
9637 * stdlib/tst-strtod-round.c: Likewise.
9638 * stdlib/Makefile (tests): Add tst-strtod-round.
9639
9640 [BZ #14459]
9641 * stdlib/strtod_l.c: Include <stdint.h>.
9642 (NDEBUG): Do not define.
9643 (round_and_return): Change EXPONENT parameter to type intmax_t.
9644 Rearrange calculations to avoid internal overflow possibilities.
9645 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9646 Rearrange calculations to avoid internal overflow possibilities.
9647 Assert that number fits inside MPNSIZE limbs.
9648 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9649 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9650 calculations and add assertions to avoid internal overflow
9651 possibilities. Add casts to avoid signed/unsigned operations.
9652 * stdlib/tst-strtod-overflow.c: New file.
9653 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9654
9655 2012-08-25 Marek Polacek <polacek@redhat.com>
9656
9657 * time/time.h: Fix some typos in comments.
9658
9659 2012-08-23 Roland McGrath <roland@hack.frob.com>
9660
9661 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9662 * posix/tst-rfc3484-2.c: Likewise.
9663 * posix/tst-rfc3484-3.c: Likewise.
9664
9665 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9666
9667 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9668 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9669
9670 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9671
9672 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9673 #include of fxstatat64.c.
9674
9675 2012-08-22 Roland McGrath <roland@hack.frob.com>
9676
9677 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9678 * shadow/getspent_r.c: Likewise.
9679 * shadow/getspnam.c: Likewise.
9680 * shadow/getspnam_r.c: Likewise.
9681 * gshadow/getsgent.c: Likewise.
9682 * gshadow/getsgent_r.c: Likewise.
9683 * gshadow/getsgnam.c: Likewise.
9684 * gshadow/getsgnam_r.c: Likewise.
9685 * inet/getnetbyad.c: Likewise.
9686 * inet/getnetbyad_r.c: Likewise.
9687 * inet/getnetbynm.c: Likewise.
9688 * inet/getnetbynm_r.c: Likewise.
9689 * inet/getnetent.c: Likewise.
9690 * inet/getnetent_r.c: Likewise.
9691 * inet/getproto.c: Likewise.
9692 * inet/getproto_r.c: Likewise.
9693 * inet/getprtent.c: Likewise.
9694 * inet/getprtent_r.c: Likewise.
9695 * inet/getprtname.c: Likewise.
9696 * inet/getprtname_r.c: Likewise.
9697 * inet/getrpcbyname.c: Likewise.
9698 * inet/getrpcbyname_r.c: Likewise.
9699 * inet/getrpcbynumber.c: Likewise.
9700 * inet/getrpcbynumber_r.c: Likewise.
9701 * inet/getrpcent.c: Likewise.
9702 * inet/getrpcent_r.c: Likewise.
9703 * inet/getaliasent.c: Likewise.
9704 * inet/getaliasent_r.c: Likewise.
9705 * inet/getaliasname.c: Likewise.
9706 * inet/getaliasname_r.c: Likewise.
9707 * nscd/getgrgid_r.c: Likewise.
9708 * nscd/getgrnam_r.c: Likewise.
9709 * nscd/gethstbyad_r.c: Likewise.
9710 * nscd/gethstbynm3_r.c: Likewise.
9711 * nscd/getpwnam_r.c: Likewise.
9712 * nscd/getpwuid_r.c: Likewise.
9713 * nscd/getsrvbynm_r.c: Likewise.
9714 * nscd/getsrvbypt_r.c: Likewise.
9715 * nscd/gai.c: Likewise.
9716
9717 * configure.in (build_nscd): New substituted variable, set
9718 by --disable-build-nscd and defaults to $use_nscd.
9719 * configure: Regenerated.
9720 * config.make.in (build-nscd): New substituted variable.
9721 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9722 Change conditional to require [$(build-nscd) = yes] as well.
9723 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9724
9725 [BZ# 13696]
9726 * configure.in (use_nscd): New substituted variable, set by
9727 --disable-nscd. If enabled, define USE_NSCD.
9728 * configure: Regenerated.
9729 * config.h.in: Add USE_NSCD.
9730 * config.make.in (use-nscd): New substituted variable.
9731 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9732 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9733 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9734 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9735 (CFLAGS-getgrnam_r.c): Likewise.
9736 (CFLAGS-initgroups.c): Likewise.
9737 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9738 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9739 Variables removed.
9740 * inet/getnetgrent_r.c
9741 (nscd_setnetgrent): New function, broken out of ...
9742 (setnetgrent): ... here. Call it.
9743 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9744 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9745 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9746 * nscd/Makefile (routines, aux): Move definitions after include of
9747 Makeconfig. Conditionalize on [$(use-nscd) != no].
9748 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9749 Conditionalize on [USE_NSCD].
9750 (is_nscd, nscd_init_cb): Likewise.
9751 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9752 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9753 * nss/nss_db/db-init.c: Likewise.
9754 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9755 [USE_NSCD].
9756 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9757 (make_request): Use it.
9758 (cache_valid_p): New function.
9759 (__check_pf): Use it.
9760 * NEWS: Add item for --disable-nscd.
9761
9762 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9763
9764 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9765 to support sed >= 4.2.1-20-ga9bf076.
9766 * configure: Regenerated.
9767
9768 2012-08-22 Roland McGrath <roland@hack.frob.com>
9769
9770 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9771 Conditionalize whole body on [IREL].
9772
9773 2012-08-22 Jeff Law <law@redhat.com>
9774
9775 [BZ #14505]
9776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9777 if the family is PF_UNSPEC.
9778
9779 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9780
9781 * Makerules (lib-version): Rename from V.
9782 (install-lib-nosubdir): Change V to lib-version.
9783
9784 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9785
9786 [BZ #14252]
9787 * powerpc32/power6/wcschr.c: New file.
9788 * powerpc32/power6/wcscpy.c: New file.
9789 * powerpc32/power6/wcsrchr.c: New file.
9790 * powerpc64/power6/wcschr.c: New file.
9791 * powerpc64/power6/wcscpy.c: New file.
9792 * powerpc64/power6/wcsrchr.c: New file.
9793
9794 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9795
9796 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9797 (two_way_short_needle): Use it.
9798 * string/strstr.c (AVAILABLE1_USES_J): Define.
9799 * string/strcasestr.c: Likewise.
9800
9801 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9802 array references.
9803 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9804
9805 [BZ #11607]
9806 * NEWS: Add an entry.
9807 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9808 define their defaults.
9809 (two_way_short_needle): Detect end-of-string on-the-fly.
9810 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9811 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9812 * string/bug-strcasestr1.c: New test.
9813 * string/Makefile: Run it.
9814
9815 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9816
9817 [BZ #11607]
9818 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9819 the first character.
9820
9821 2012-08-21 Roland McGrath <roland@hack.frob.com>
9822
9823 * csu/elf-init.c (__libc_csu_irel): Function removed.
9824 * csu/libc-start.c (apply_irel): New function.
9825 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9826
9827 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9828
9829 * sysdeps/unix/sysv/linux/kernel-features.h
9830 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9832 <kernel-features.h>.
9833 [__NR_fadvise64_64]: Make code unconditional.
9834 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9835 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9836 !__NR_fadvise64_64)]: Likewise.
9837 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9838 !__NR_fadvise64_64))]: Likewise.
9839 [__NR_fadvise64]: Make code unconditional.
9840 [!__NR_fadvise64]: Remove conditional code.
9841 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9842 <kernel-features.h>.
9843 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9844 unconditional.
9845 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9846 conditional code.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9848 not include <kernel-features.h>.
9849 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9850 unconditional.
9851 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9852 conditional code.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9854 include <kernel-features.h>.
9855 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9856 unconditional.
9857 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9858 conditional code.
9859
9860 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9861
9862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9863 slight instruction rearrangements per scrollpipe analysis.
9864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9865
9866 2012-08-20 Roland McGrath <roland@hack.frob.com>
9867
9868 * manual/syslog.texi (syslog; vsyslog, closelog):
9869 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9870 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9871
9872 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9873 DSOCAPS to match condition on defining it.
9874
9875 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9876
9877 * sysdeps/unix/sysv/linux/kernel-features.h
9878 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9880 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9881 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9888
9889 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9890 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9891
9892 * sysdeps/unix/sysv/linux/kernel-features.h
9893 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9894 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9895 unconditional.
9896 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9897 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9900 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9901 Make code unconditional.
9902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9903 (__mmap64) [!__NR_mmap2]: Likewise.
9904 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9905 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9906 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9908 [__NR_mmap2]: Make code unconditional.
9909 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9910 (__mmap64) [!__NR_mmap2]: Likewise.
9911
9912 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9913
9914 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9915
9916 2012-08-18 Andreas Jaeger <aj@suse.de>
9917
9918 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9919
9920 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9921
9922 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9923 * include/unistd.h (__have_sock_cloexec): Likewise.
9924 (__have_pipe2): Likewise.
9925 (__have_dup3): Likewise.
9926
9927 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9928
9929 [BZ #9685]
9930 * include/unistd.h (__have_pipe2): Change define into an extern int.
9931 (__have_dup3): Likewise.
9932 * socket/have_sock_cloexec.c: Include fcntl.h.
9933 (__have_pipe2): New variable.
9934 (__have_dup3): Likewise.
9935
9936 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9937
9938 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9939
9940 2012-08-17 Marek Polacek <polacek@redhat.com>
9941
9942 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9943 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9944
9945 2012-08-17 Roland McGrath <roland@hack.frob.com>
9946
9947 * configure.in: Add AC_SUBST for sysheaders.
9948 * configure: Regenerated.
9949 * config.make.in (sysheaders): New substituted variable.
9950
9951 * sysdeps/unix/mkfifo.c: Moved ...
9952 * sysdeps/posix/mkfifo.c: ... here.
9953 * sysdeps/unix/mkfifoat.c: Moved ...
9954 * sysdeps/posix/mkfifoat.c: ... here.
9955
9956 * sysdeps/unix/utime.c: Moved ...
9957 * sysdeps/posix/utime.c: ... here.
9958
9959 * sysdeps/unix/time.c: Moved ...
9960 * sysdeps/posix/time.c: ... here.
9961 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9963
9964 * sysdeps/unix/nice.c: Moved ...
9965 * sysdeps/posix/nice.c: ... here.
9966
9967 * sysdeps/unix/alarm.c: Moved ...
9968 * sysdeps/posix/alarm.c: ... here.
9969
9970 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9971
9972 2012-08-17 Jeff Law <law@redhat.com>
9973
9974 * intl/Makefile (codeset_mo): New variable.
9975 ($(codeset_mo)): New target.
9976 (tst-codeset.out): Depend on that. Remove explicit rule.
9977 (tst-gettext3.out, tst-gettext5.out): Likewise.
9978 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9979 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9980 * intl/tst-codeset.sh: Remove.
9981 * intl/tst-gettext3.sh: Likewise.
9982 * intl/tst-gettext5.sh: Likewise.
9983
9984 2012-08-17 Roland McGrath <roland@hack.frob.com>
9985
9986 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9987 * sysdeps/unix/syscalls.list: ... here.
9988
9989 * sysdeps/posix/getaddrinfo.c
9990 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9991 (gaiconf_init, gaiconf_reload): Use them.
9992 [!_STATBUF_ST_NSEC]
9993 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9994 Define using time_t rather than struct timespec.
9995
9996 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9997 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9998 Macros removed.
9999 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10000 [!NO_THREADS].
10001 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10002 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10003 Likewise.
10004
10005 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10006 __libc_cleanup_push argument.
10007
10008 * bits/param.h: New file.
10009 * misc/sys/param.h: New file.
10010 * include/sys/param.h: New file.
10011 * misc/Makefile (headers): Add bits/param.h.
10012 * sysdeps/generic/sys/param.h: File removed.
10013 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10014 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10015 * sysdeps/mach/hurd/bits/param.h: New file.
10016 * sysdeps/mach/hurd/sys/param.h: File removed.
10017
10018 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10019 last change.
10020
10021 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10022 [_IO_MTSAFE_IO].
10023 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10024 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10025 New macros.
10026
10027 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10028 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10029 rather than -D_IO_MTSAFE_IO conditionally.
10030 * stdio-common/Makefile (CPPFLAGS): Likewise.
10031 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10032 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10033 Use $(libio-mtsafe).
10034 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10035 of -D_IO_MTSAFE_IO.
10036 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10037 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10038 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10039 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10040 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10041 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10042 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10043 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10044 (CFLAGS-fread_u_chk.c): Likewise.
10045 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10046 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10047 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10048 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10049 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10050 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10051 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10052 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10053 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10054
10055 * libio/Makefile: Test [$(libc-reentrant) = yes]
10056 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10057
10058 * Makeconfig
10059 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10060 * sysdeps/pthread/configure: File removed.
10061 * sysdeps/pthread/Makeconfig: New file.
10062 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10063 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10064
10065 2012-08-16 Gary Benson <gbenson@redhat.com>
10066
10067 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10068 unmapping the first object in a namespace.
10069
10070 2012-08-16 Roland McGrath <roland@hack.frob.com>
10071
10072 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10073 (__internal_setnetgrent): ... this. Add internal_function to
10074 definition. Add libc_hidden_def.
10075 (setnetgrent): Update caller.
10076 (internal_endnetgrent): Renamed to ...
10077 (__internal_endnetgrent): ... this. Add internal_function to
10078 definition. Add libc_hidden_def.
10079 (endnetgrent): Update caller.
10080 (internal_getnetgrent_r): Renamed to ...
10081 (__internal_getnetgrent_r): ... this. Add internal_function to
10082 definition. Add libc_hidden_def.
10083 (__getnetgrent_r): Update caller.
10084 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10085
10086 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10087
10088 * stdlib/longlong.h: Update from GCC.
10089
10090 2012-08-16 Roland McGrath <roland@hack.frob.com>
10091
10092 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10093 on _QL, which is set by umul_ppmm but never used.
10094 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10095 variables, which are set by GMP macros but never used.
10096 * stdio-common/_itowa.c (_itowa): Likewise.
10097 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10098 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10099
10100 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10101
10102 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10103 struct La_sh_regs is not constant.
10104 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10105 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10106 and struct La_sparc64_regs are not constant.
10107
10108 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10109
10110 * sysdeps/unix/sysv/linux/kernel-features.h
10111 (__ASSUME_POSIX_TIMERS): Remove.
10112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10113 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10114 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10115 Make code unconditional.
10116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10117 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10118 Make code unconditional.
10119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10121 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10123 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10124 Make code unconditional.
10125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10127 (__libc_missing_posix_timers): Remove.
10128
10129 2012-08-15 Roland McGrath <roland@hack.frob.com>
10130
10131 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10132 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10133
10134 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10135
10136 * elf/dl-sym.c: Include <stdlib.h>.
10137
10138 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10139 constants, which avoids warnings in 32-bit builds.
10140
10141 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10142 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10143
10144 * misc/lseek.c: File moved to ...
10145 * io/lseek.c: ... here.
10146
10147 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10148
10149 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10150 shifting LEN more than 31 bits at once.
10151
10152 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10153
10154 [BZ #14195]
10155 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10156 segmentation fault for a case of two empty input strings.
10157 * string/test-strncasecmp.c (check1): Renamed to...
10158 (bz12205): ...this.
10159 (bz14195): Add new testcase for two empty input strings and N > 0.
10160 (test_main): Call new testcase, adapt for renamed function.
10161
10162 2012-08-15 Andreas Jaeger <aj@suse.de>
10163
10164 [BZ #14090]
10165 * crypt/md5test2.c: New test, based on test supplied by Serge
10166 Belyshev <belyshev@depni.sinp.msu.ru>.
10167 * crypt/Makefile (xtests): Add md5test-giant..
10168 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10169
10170 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10171
10172 [BZ #14090]
10173 * crypt/md5.c (md5_process_block): Don't assume the buffer
10174 length is less than 2**32.
10175 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10176 length is less than 2**64.
10177
10178 2012-08-15 Roland McGrath <roland@hack.frob.com>
10179
10180 * string/str-two-way.h: Include <sys/param.h>.
10181 (MAX): Macro removed.
10182
10183 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10184 Move #define and #undef of memmove to just before and after
10185 including <string.h>.
10186
10187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10188 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10189 and after including <string.h>. Move declarations of
10190 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10191 to before #include "string/memmove.c".
10192
10193 * include/dirent.h: Declare __getdirentries.
10194
10195 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10196 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10197
10198 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10199
10200 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10201 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10202 * sysdeps/i386/configure: Regenerated.
10203 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10204 STABS_CURRENT_FILE, and STABS_FUN.
10205 (END): Remove call to STABS_FUN_END.
10206 (STABS_CURRENT_FILE1): Delete.
10207 (STABS_CURRENT_FILE): Likewise.
10208 (STABS_FUN): Likewise.
10209 (STABS_FUN_END): Likewise.
10210 (STABS_FUN2): Likewise.
10211 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10212 * sysdeps/x86_64/configure: Regenerated.
10213
10214 2012-08-14 Roland McGrath <roland@hack.frob.com>
10215
10216 * elf/dl-open.c: Include <atomic.h>.
10217 * elf/dl-lookup.c: Likewise.
10218
10219 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10220
10221 * sysdeps/unix/sysv/linux/kernel-features.h
10222 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10223 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10224 unconditionally.
10225 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10226 unconditionally.
10227 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10228 condition on __ASSUME_CLONE_THREAD_FLAGS.
10229
10230 2012-08-14 Andreas Jaeger <aj@suse.de>
10231
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233
10234 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10235
10236 * include/atomic.h (atomic_exchange_and_add): Split into ...
10237 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10238 New atomic macros.
10239
10240 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10241
10242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10243
10244 2012-08-13 Jeff Law <law@redhat.com>
10245
10246 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10247 null byte in the output string.
10248
10249 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10250
10251 * sysdeps/unix/sysv/linux/kernel-features.h
10252 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10253 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10254 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10256 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10257 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10258 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10259
10260 2012-08-09 Jeff Law <law@redhat.com>
10261
10262 [BZ #13939]
10263 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10264 When avoid_arena is set, don't retry in the that arena. Pick the
10265 next one, whatever it might be.
10266 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10267 (arena_lock): Pass in new parameter to arena_get2.
10268 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10269 arena_get2.
10270 (__libc_malloc): Unify retrying after main arena failure with
10271 __libc_memalign version.
10272 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10273
10274 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 [BZ #14166]
10277 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10278 to __redirect_strstr.
10279 (__strstr_sse42): Use typeof __redirect_strstr.
10280 (__strstr_ia32): Likewise.
10281 (__libc_strstr): New prototype.
10282 (strstr): Renamed to ...
10283 (__libc_strstr): This.
10284 (strstr): New strong alias of __libc_strstr.
10285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10286 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10287 __redirect_time.
10288 Include <time.h>.
10289 (__libc_time): New prototype.
10290 (time_ifunc): Replace time with __libc_time.
10291 (time): New strong alias and hidden definition of __libc_time.
10292 (__GI_time): Remove strong alias.
10293 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10294 Include <stddef.h>.
10295 (memmove): Redefined to __redirect_memmove.
10296 (__memmove_sse2): Use typeof __redirect_memmove.
10297 (__memmove_ssse3): Likewise.
10298 (__memmove_ssse3_back): Likewise.
10299 (__libc_memmove): New prototype.
10300 (memmove): Renamed to ...
10301 (__libc_memmove): This.
10302 (memmove): New strong alias of __libc_memmove.
10303
10304 2012-08-08 Mark Salter <msalter@redhat.com>
10305
10306 * elf/elf.h
10307 (R_MN10300_TLS_GD): Define.
10308 (R_MN10300_TLS_LD): Likewise.
10309 (R_MN10300_TLS_LDO): Likewise.
10310 (R_MN10300_TLS_GOTIE): Likewise.
10311 (R_MN10300_TLS_IE): Likewise.
10312 (R_MN10300_TLS_LE): Likewise.
10313 (R_MN10300_TLS_DTPMOD): Likewise.
10314 (R_MN10300_TLS_DTPOFF): Likewise.
10315 (R_MN10300_TLS_TPOFF): Likewise.
10316 (R_MN10300_SYM_DIFF): Likewise.
10317 (R_MN10300_ALIGN): Likewise.
10318 (R_MN10300_NUM): Update.
10319
10320 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10321
10322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10323 Remove.
10324
10325 2012-08-08 Roland McGrath <roland@hack.frob.com>
10326
10327 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10328
10329 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10330 sysdeps/unix -> sysdeps/posix move.
10331 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10332
10333 2012-08-07 Allan McRae <allan@archlinux.org>
10334
10335 [BZ #14303]
10336 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10337 (SUNOS_CPP): Likewise.
10338 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10339 not found.
10340 (open_input): Call CPP using execvp.
10341
10342 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10343
10344 * sysdeps/unix/sysv/linux/kernel-features.h
10345 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10346 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10347 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10348 (__ASSUME_WAITID_SYSCALL): Likewise.
10349 * sysdeps/unix/sysv/linux/dl-execstack.c
10350 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10351 code unconditional.
10352 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10353 conditional code.
10354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10355 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10356 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10357 code.
10358 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10359 unconditional.
10360 [__ASSUME_WAITID_SYSCALL]: Likewise.
10361 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10362
10363 2012-08-07 Roland McGrath <roland@hack.frob.com>
10364
10365 * sysdeps/unix/closedir.c: Renamed to ...
10366 * sysdeps/posix/closedir.c: ... here.
10367 * sysdeps/unix/dirfd.c: Renamed to ...
10368 * sysdeps/posix/dirfd.c: ... here.
10369 * sysdeps/unix/dirstream.h: Renamed to ...
10370 * sysdeps/posix/dirstream.h: ... here.
10371 * sysdeps/unix/fdopendir.c: Renamed to ...
10372 * sysdeps/posix/fdopendir.c: ... here.
10373 * sysdeps/unix/opendir.c: Renamed to ...
10374 * sysdeps/posix/opendir.c: ... here.
10375 * sysdeps/unix/readdir.c: Renamed to ...
10376 * sysdeps/posix/readdir.c: ... here.
10377 * sysdeps/unix/readdir_r.c: Renamed to ...
10378 * sysdeps/posix/readdir_r.c: ... here.
10379 * sysdeps/unix/rewinddir.c: Renamed to ...
10380 * sysdeps/posix/rewinddir.c: ... here.
10381 * sysdeps/unix/seekdir.c: Renamed to ...
10382 * sysdeps/posix/seekdir.c: ... here.
10383 * sysdeps/unix/telldir.c: Renamed to ...
10384 * sysdeps/posix/telldir.c: ... here.
10385 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10386 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10388 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10389
10390 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10391 * bits/fcntl.h: ... here.
10392
10393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10394 not 0.
10395 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10396 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10397 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10398 (struct flock): Move l_start, l_len to the beginning.
10399 Use __pid_t for l_pid.
10400 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10401 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10402 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10403 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10404 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10405 [__USE_LARGEFILE64] (struct flock64): New type.
10406 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10407
10408 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10409 * bits/dirent.h: ... here.
10410
10411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10412 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10413
10414 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10415
10416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10417 Change from 2.6.0 to 2.6.16.
10418 * sysdeps/unix/sysv/linux/configure: Regenerated.
10419 * sysdeps/unix/sysv/linux/kernel-features.h
10420 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10421 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10422 version.
10423 (__ASSUME_UTIMES): Likewise.
10424 (__ASSUME_CLONE_STOPPED): Remove.
10425 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10426 architectures, not kernel version.
10427 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10428 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10429 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10430 (__ASSUME_WAITID_SYSCALL): Likewise.
10431 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10432 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10433 * README: State 2.6.16 as minimum Linux kernel version. Do not
10434 refer to older versions.
10435
10436 2012-08-06 Roland McGrath <roland@hack.frob.com>
10437
10438 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10439 Define alphasort64 as an alias.
10440 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10441 Define versionsort64 as an alias.
10442 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10443 Define scandir64 as an alias.
10444 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10445 Define scandirat64 as an alias.
10446 * dirent/alphasort64.c (alphasort64):
10447 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10448 * dirent/versionsort64.c: Likewise.
10449 * dirent/scandir64.c: Likewise.
10450 * dirent/scandirat64.c: Likewise.
10451 * sysdeps/wordsize-64/alphasort.c: File removed.
10452 * sysdeps/wordsize-64/alphasort64.c: File removed.
10453 * sysdeps/wordsize-64/scandir.c: File removed.
10454 * sysdeps/wordsize-64/scandir64.c: File removed.
10455 * sysdeps/wordsize-64/scandirat.c: File removed.
10456 * sysdeps/wordsize-64/scandirat64.c: File removed.
10457 * sysdeps/wordsize-64/versionsort.c: File removed.
10458 * sysdeps/wordsize-64/versionsort64.c: File removed.
10459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10460 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10467
10468 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10470 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10472 [defined __arch64__ || defined __sparcv9]
10473 (__INO_T_MATCHES_INO64_T): New macro.
10474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10475 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10476 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10477 * sysdeps/unix/sysv/linux/bits/dirent.h
10478 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10479 (_DIRENT_MATCHES_DIRENT64): New macro.
10480
10481 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10482 Define lockf64 as an alias.
10483 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10484 Define fseeko64 as an alias.
10485 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10486 Define ftello64 as an alias.
10487 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10488 Define _IO_fgetpos64 and fgetpos64 as aliases.
10489 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10490 Define _IO_fsetpos64 and fsetpos64 as aliases.
10491 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10492 Conditionalize body on this.
10493 * libio/fseeko64.c: Likewise.
10494 * libio/ftello64.c: Likewise.
10495 * libio/iofgetpos64.c: Likewise.
10496 * libio/iofsetpos64.c: Likewise.
10497 * sysdeps/wordsize-64/lockf.c: File removed.
10498 * sysdeps/wordsize-64/lockf64.c: File removed.
10499 * sysdeps/wordsize-64/fseeko.c: File removed.
10500 * sysdeps/wordsize-64/fseeko64.c: File removed.
10501 * sysdeps/wordsize-64/ftello.c: File removed.
10502 * sysdeps/wordsize-64/ftello64.c: File removed.
10503 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10504 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10505 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10506 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10517
10518 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10520 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10522 [defined __arch64__ || defined __sparcv9]
10523 (__OFF_T_MATCHES_OFF64_T): New macro.
10524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10525 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10527 (__OFF_T_MATCHES_OFF64_T): New macro.
10528
10529 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * stdlib/secure-getenv.c (__secure_getenv): Replace
10532 GLIBC_2_16 with GLIBC_2_17.
10533
10534 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10538
10539 2012-08-03 David S. Miller <davem@davemloft.net>
10540
10541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10542
10543 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10544
10545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10546 Remove.
10547 (__ASSUME_CORRECT_SI_PID): Likewise.
10548 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10549 (__ASSUME_TMPFS_NAME): Likewise.
10550 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10551 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10552 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10553 (HAVE_AUX_SECURE): Make definition unconditional.
10554 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10555 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10556
10557 2012-08-03 Roland McGrath <roland@hack.frob.com>
10558
10559 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10560 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10561 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10562 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10563 __eloop_threshold instead of SYMLOOP_MAX.
10564
10565 * sysdeps/generic/eloop-threshold.h: New file.
10566 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10567 of MAXSYMLINKS.
10568 * elf/chroot_canon.c (chroot_canon): Likewise.
10569
10570 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #13717]
10573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10574 Change to 2.6.0 everywhere.
10575 * sysdeps/unix/sysv/linux/configure: Regenerated.
10576 * sysdeps/unix/sysv/linux/kernel-features.h
10577 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10578 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10579 kernel versions.
10580 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10581 (__ASSUME_FUTEX_REQUEUE): Remove.
10582 (__ASSUME_STATFS64): Define unconditionally.
10583 (__ASSUME_AT_SECURE): Likewise.
10584 (__ASSUME_CORRECT_SI_PID): Likewise.
10585 (__ASSUME_TGKILL): Define without depending on kernel version for
10586 i386.
10587 (__ASSUME_UTIMES): Likewise.
10588 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10589 kernel version.
10590 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10591 (__ASSUME_TMPFS_NAME): Likewise.
10592 * README: Update reference to Linux kernel versions.
10593
10594 2012-08-02 Marek Polacek <polacek@redhat.com>
10595
10596 [BZ# 14150]
10597 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10598 libc_cv_asm_type_prefix with %.
10599 * configure: Regenerated.
10600 * include/libc-symbols.h: Remove comment about
10601 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10602 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10603 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10604 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10605 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10606 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10608 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10609 * elf/tst-unique2mod1.c: Likewise.
10610 * elf/tst-unique1mod2.c: Likewise.
10611 * elf/tst-unique1mod1.c: Likewise.
10612 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10613 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10614 Replace ASM_TYPE_DIRECTIVE with .type.
10615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10616 * sysdeps/i386/sysdep.h: Likewise.
10617 * sysdeps/x86_64/sysdep.h: Likewise.
10618 * sysdeps/sh/sysdep.h: Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10620 Do not define ASM_TYPE_DIRECTIVE.
10621 * sysdeps/powerpc/sysdep.h: Likewise.
10622 * sysdeps/powerpc/powerpc32/sysdep.h:
10623 Replace ASM_TYPE_DIRECTIVE with .type.
10624 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10626 * sysdeps/i386/fpu/e_powf.S: Likewise.
10627 * sysdeps/i386/fpu/e_expl.S: Likewise.
10628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10630 * sysdeps/i386/fpu/e_pow.S: Likewise.
10631 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10633 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10634 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10635 * sysdeps/i386/fpu/e_log2.S: Likewise.
10636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10638 * sysdeps/i386/fpu/e_powl.S: Likewise.
10639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10640 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10641 * sysdeps/i386/fpu/e_logl.S: Likewise.
10642 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10643 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10644 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10647 * sysdeps/i386/fpu/e_log.S: Likewise.
10648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10649 * sysdeps/i386/fpu/e_logf.S: Likewise.
10650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10653 * sysdeps/i386/fpu/e_log10.S: Likewise.
10654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10661 * sysdeps/i386/i686/strtok.S: Likewise.
10662 * sysdeps/i386/i386-mcount.S: Likewise.
10663 * sysdeps/i386/strtok.S: Likewise.
10664 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10667 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10668 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10669 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10670 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10671 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10673 * sysdeps/x86_64/_mcount.S: Likewise.
10674 * sysdeps/x86_64/strtok.S: Likewise.
10675 * sysdeps/sh/_mcount.S: Likewise.
10676
10677 2012-08-01 Roland McGrath <roland@hack.frob.com>
10678
10679 * libio/iofopen.c: Include <fcntl.h>.
10680 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10681 (_IO_fopen64, fopen64): Define as aliases.
10682 * libio/iofopen64.c: Include <fcntl.h>.
10683 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10684 Conditionalize body on this.
10685 * sysdeps/wordsize-64/iofopen.c: File removed.
10686 * sysdeps/wordsize-64/iofopen64.c: File removed.
10687
10688 2012-08-01 Marek Polacek <polacek@redhat.com>
10689
10690 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10691 Use dlfcn directly instead of a variable.
10692 (binfmt-subdir): Do not define.
10693 (dlfcn): Likewise.
10694
10695 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10696
10697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10698 Remove all definitions.
10699 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10700 <kernel-features.h>.
10701 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10702 (miss_F_GETOWN_EX): Remove all definitions.
10703 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10704 macro definition.
10705 [!__ASSUME_FCNTL64]: Remove conditional code.
10706 [__ASSUME_FCNTL64]: Make code unconditional.
10707 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10708 <kernel-features.h>.
10709 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10710 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10711 (lockf64) [__NR_fcntl64]: Make code unconditional.
10712 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10713
10714 * sysdeps/unix/sysv/linux/kernel-features.h
10715 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10716 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10717 Make code unconditional.
10718 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10719 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10721 [__NR_vfork]: Make code unconditional.
10722 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10723 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10725 [__NR_vfork]: Make code unconditional.
10726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10728
10729 2012-08-01 Roland McGrath <roland@hack.frob.com>
10730
10731 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10732 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10733
10734 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10735 Define mkstemp64 as an alias.
10736 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10737 Define mkstemps64 as an alias.
10738 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10739 Define mkostemp64 as an alias.
10740 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10741 Define mkostemps64 as an alias.
10742 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10743 Conditionalize body on this.
10744 * misc/mkostemp64.c: Likewise.
10745 * misc/mkostemps64.c: Likewise.
10746 * misc/mkstemps64.c: Likewise.
10747 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10748 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10749 * sysdeps/wordsize-64/mkostemp.c: File removed.
10750 * sysdeps/wordsize-64/mkstemp.c: File removed.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10755
10756 [BZ #14138]
10757 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10759 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10760 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10761
10762 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10763 compat_symbol macros from <shlib-compat.h> rather than the underlying
10764 default_symbol_version and symbol_version macros, so that DEFAULT
10765 lines in shlib-versions are respected.
10766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10767
10768 2012-08-01 Florian Weimer <fweimer@redhat.com>
10769
10770 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10771 Declare with warn_unused_result.
10772 (setgid, setregid, setegid, setresgid): Likewise.
10773 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10774 Likewise.
10775 * WUR-REPORT: Remove set*id functions.
10776
10777 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10778
10779 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10780
10781 2012-07-31 Roland McGrath <roland@hack.frob.com>
10782
10783 * include/sys/socket.h (__libc_accept, __libc_accept4):
10784 Add attribute_hidden.
10785 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10786
10787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10788 use of PTR_MANGLE.
10789 * inet/getnetgrent_r.c (setup): Likewise.
10790
10791 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10792
10793 2012-07-31 David S. Miller <davem@davemloft.net>
10794
10795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10796
10797 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10798
10799 [BZ #13629]
10800 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10801 value between 1.0 and 2.0 and smaller part has absolute value less
10802 than 1.0.
10803 * math/s_clog10.c (__clog10): Likewise.
10804 * math/s_clog10f.c (__clog10f): Likewise.
10805 * math/s_clog10l.c (__clog10l): Likewise.
10806 * math/s_clogf.c (__clogf): Likewise.
10807 * math/s_clogl.c (__clogl): Likewise.
10808 * math/libm-test.inc (clog_test): Add more tests.
10809 (clog10_test): Likewise.
10810 * sysdeps/i386/fpu/libm-test-ulps: Update.
10811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10812
10813 2012-07-31 Florian Weimer <fweimer@redhat.com>
10814
10815 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10816 Exit with zero in case no suitable GID is found, and write a
10817 message to standard error.
10818
10819 2012-07-30 Roland McGrath <roland@hack.frob.com>
10820
10821 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10822 rather than to 1.
10823 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10824 (MAXPATHLEN): Removed.
10825 (NOGROUP, NODEV): New macros.
10826 (setbit, clrbit, isset, isclr): New macros.
10827 (howmany, roundup, powerof2): New macros.
10828 (DEV_BSIZE): New macro.
10829
10830 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10831 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10832
10833 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10834 definition on [!__NO_LONG_DOUBLE_MATH].
10835
10836 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10837 PTR_MANGLE and PTR_DEMANGLE.
10838
10839 * socket/accept4.c (accept4): Rename to __libc_accept4.
10840 Define accept4 as a weak alias.
10841
10842 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10843 on [_DIRENT_HAVE_D_TYPE].
10844 * io/ftw.c (ftw_dir): Likewise.
10845
10846 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10847
10848 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10849
10850 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10851 Use the BSD numbers rather than the arbitrary ones we had.
10852 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10853 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10854 (SIGXCPU, SIGXFSZ): New macros.
10855 (_NSIG): Now 32.
10856
10857 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10858 initializer on [_LIBC_REENTRANT].
10859
10860 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10861 definitions inside [_POSIX_MAPPED_FILES].
10862
10863 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10864
10865 * dirent/opendir.c: Include <fcntl.h>.
10866
10867 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10868 (__libc_getspecific): Likewise.
10869 (__libc_key_create): Likewise.
10870
10871 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10872 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10873 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10874 (tmpfile64): Define as alias.
10875 * sysdeps/wordsize-64/tmpfile.c: File removed.
10876 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10879
10880 * stdio-common/vfscanf.c: Include <stdbool.h>.
10881 * nss/makedb.c: Likewise.
10882 * stdio-common/_i18n_number.h: Likewise.
10883 * argp/argp-help.c: Likewise.
10884 * posix/wordexp.c: Likewise.
10885 * sysdeps/posix/spawni.c: Likewise.
10886 * nss/nss_files/files-initgroups.c: Likewise.
10887 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10888 * nss/nss_files/files-initgroups.c: Likewise.
10889 * nss/nss_db/db-netgrp.c: Likewise.
10890 * nss/nss_db/db-initgroups.c: Likewise.
10891 * io/fchmodat.c: Include <sys/stat.h>.
10892
10893 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10894 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10895
10896 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10897 [HAVE_MMAP].
10898
10899 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10900 Add multiple inclusion protection.
10901
10902 2012-07-27 David S. Miller <davem@davemloft.net>
10903
10904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10905
10906 2012-07-27 Gary Benson <gbenson@redhat.com>
10907
10908 [BZ #14298]
10909 * elf/rtld.c: Include <stap-probe.h>.
10910 (dl_main): Added static probes "init_start" and "init_complete".
10911 * elf/dl-load.c: Include <stap-probe.h>.
10912 (lose): Take new parameter "nsid".
10913 Added static probe "map_failed".
10914 (_dl_map_object_from_fd): Pass namespace id to lose.
10915 Added static probe "map_start".
10916 (open_verify): Pass namespace id to lose.
10917 * elf/dl-open.c: Include <stap-probe.h>.
10918 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10919 and "reloc_complete".
10920 * elf/dl-close.c: Include <stap-probe.h>.
10921 (_dl_close_worker): Added static probes "unmap_start" and
10922 "unmap_complete".
10923 * elf/rtld-debugger-interface.txt: New file documenting the above.
10924
10925 2012-07-26 Roland McGrath <roland@hack.frob.com>
10926
10927 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10928 rather than a string variable.
10929 * sunrpc/rpc_main.c (h_output): Likewise.
10930 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10931
10932 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10933
10934 * inet/check_native.c: New file.
10935
10936 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10937
10938 [BZ #13629]
10939 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10940 if larger part has absolute value 1.0.
10941 * math/s_clog10.c (__clog10): Likewise.
10942 * math/s_clog10f.c (__clog10f): Likewise.
10943 * math/s_clog10l.c (__clog10l): Likewise.
10944 * math/s_clogf.c (__clogf): Likewise.
10945 * math/s_clogl.c (__clogl): Likewise.
10946 * math/libm-test.inc (clog_test): Add more tests.
10947 (clog10_test): Likewise.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950
10951 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10952 (pltexit): Likewise.
10953 (La_regs): Likewise.
10954 (La_retval): Likewise.
10955 (int_retval): Likewise.
10956 Update #error for removed macros to refer only to definitions in
10957 tst-audit.h.
10958 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10959 macro.
10960 (pltexit): Likewise.
10961 (La_regs): Likewise.
10962 (La_retval): Likewise.
10963 (int_retval): Likewise.
10964 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10965 macro.
10966 (pltexit): Likewise.
10967 (La_regs): Likewise.
10968 (La_retval): Likewise.
10969 (int_retval): Likewise.
10970 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10971 macro.
10972 (pltexit): Likewise.
10973 (La_regs): Likewise.
10974 (La_retval): Likewise.
10975 (int_retval): Likewise.
10976 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10977 macro.
10978 (pltexit): Likewise.
10979 (La_regs): Likewise.
10980 (La_retval): Likewise.
10981 (int_retval): Likewise.
10982 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10983 macro.
10984 (pltexit): Likewise.
10985 (La_regs): Likewise.
10986 (La_retval): Likewise.
10987 (int_retval): Likewise.
10988 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10989 macro.
10990 (pltexit): Likewise.
10991 (La_regs): Likewise.
10992 (La_retval): Likewise.
10993 (int_retval): Likewise.
10994 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10995 macro definitions in tst-audit.h.
10996 * sysdeps/i386/tst-audit.h: New file.
10997 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10998 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10999 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11000 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11001 * sysdeps/sh/tst-audit.h: Likewise.
11002 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11003 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11004 * sysdeps/x86_64/tst-audit.h: Likewise.
11005
11006 2012-07-26 Andreas Jaeger <aj@suse.de>
11007
11008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11009 ptrace.
11010
11011 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11012 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11013 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11014 PTRACE_O_MASK.
11015 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11016 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11017 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11018
11019 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11020 value.
11021
11022 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11023 _sigsys.
11024 (si_call_addr, si_syscall, si_arch): Define new macro.
11025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11026 _sigsys.
11027 (si_call_addr, si_syscall, si_arch): Define new marcro.
11028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11029 _sigsys.
11030 (si_call_addr, si_syscall, si_arch): Define new macro.
11031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11032 _sigsys.
11033 (si_call_addr, si_syscall, si_arch): Define new macro.
11034
11035 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11036
11037 [BZ #13717]
11038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11039 Change to 2.4.21 where previously 2.4.1.
11040 * sysdeps/unix/sysv/linux/configure: Regenerated.
11041 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11042 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11043 Linux kernel version.
11044 (__ASSUME_STD_AUXV): Remove.
11045 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11046 kernel version.
11047 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11048 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11049 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11050 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11051 (__ASSUME_NETLINK_SUPPORT): Likewise.
11052 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11053 (__no_netlink_support): Remove conditional definition.
11054 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11055 Remove.
11056 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11057 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11058 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11059 (if_nameindex_ioctl): Remove.
11060 (if_nameindex_netlink): Do not handle __no_netlink_support.
11061 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11062 code.
11063 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11064 Remove conditional code.
11065 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11066 code.
11067 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11068 unconditional.
11069 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11070 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11071 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11072 Remove.
11073 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11074 [!__ASSUME_STD_AUXV]: Remove conditional code.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11076 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11077 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11079 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11080 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11081 code.
11082 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11084 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11085 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11086 conditional code.
11087 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11090 code.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11093 conditional code.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11095 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11096 code unconditional.
11097 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11098 conditional code.
11099 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11100 unconditional.
11101 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11102 conditional code.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11104 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11105 unconditional.
11106 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11107 conditional code.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11109 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11110 code unconditional.
11111 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11112 conditional code.
11113 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11114 unconditional.
11115 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11116 conditional code.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11118 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11119 code unconditional.
11120 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11121 conditional code.
11122 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11123 unconditional.
11124 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11125 conditional code.
11126
11127 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11128
11129 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11131 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11132 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11133 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11134 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11135 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11136 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11137 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11138 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11139 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11140 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11141 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11142 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11145 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11147 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11152
11153 2012-07-25 Florian Weimer <fweimer@redhat.com>
11154
11155 * Versions.def: Add GLIBC_2.17.
11156 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11157 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11158 Introduce __libc_secure_getenv.
11159 * stdlib/Versions (2.17): Add secure_getenv
11160 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11161 * stdlib/secure-getenv.c: Rename __secure_getenv to
11162 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11163 symbol __secure_getenv for GLIBC_2.0.
11164 * stdlib/tst-secure-getenv.c: New.
11165 * stdlib/Makefile (tests): Add testcase.
11166 * manual/startup.texi (Environment Access): Document
11167 secure_getenv.
11168 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11169 __libc_secure_getenv.
11170 * inet/ruserpass.c (ruserpass): Likewise.
11171 * malloc/mtrace.c (mtrace): Likewise.
11172 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11173 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11174 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11175 * sysdeps/posix/tempname.c: Likewise. Evaluate
11176 HAVE_SECURE_GETENV.
11177 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11178 __secure_getenv to __libc_secure_getenv.
11179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11181 Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11183 Likewise.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11191
11192 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11193
11194 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11195 (struct La_i86_retval): Likewise.
11196 (struct La_x86_64_regs): Likewise.
11197 (struct La_x86_64_retval): Likewise.
11198 (struct La_x32_regs): Likewise.
11199 (struct La_x32_retval): Likewise.
11200 (struct La_ppc32_regs): Likewise.
11201 (struct La_ppc32_retval): Likewise.
11202 (struct La_ppc64_regs): Likewise.
11203 (struct La_ppc64_retval): Likewise.
11204 (struct La_sh_regs): Likewise.
11205 (struct La_sh_retval): Likewise.
11206 (struct La_s390_32_regs): Likewise.
11207 (struct La_s390_32_retval): Likewise.
11208 (struct La_s390_64_regs): Likewise.
11209 (struct La_s390_64_retval): Likewise.
11210 (struct La_sparc32_regs): Likewise.
11211 (struct La_sparc32_retval): Likewise.
11212 (struct La_sparc64_regs): Likewise.
11213 (struct La_sparc64_retval): Likewise.
11214 (struct audit_ifaces): Remove architecture-specific pltenter and
11215 pltexit members.
11216 * sysdeps/i386/ldsodefs.h: New file.
11217 * sysdeps/powerpc/ldsodefs.h: Likewise.
11218 * sysdeps/s390/ldsodefs.h: Likewise.
11219 * sysdeps/sh/ldsodefs.h: Likewise.
11220 * sysdeps/sparc/ldsodefs.h: Likewise.
11221 * sysdeps/x86_64/ldsodefs.h: Likewise.
11222
11223 2012-07-25 Marek Polacek <polacek@redhat.com>
11224
11225 [BZ #6808]
11226 * math/libm-test.inc (yn_test): Add another test.
11227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11228 to ERANGE when the result is +-Inf.
11229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11230 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11232 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11233
11234 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11235
11236 * conform/data/time.h-data (NULL): Use macro-constant. Require
11237 equal to 0.
11238 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11239 clock_t.
11240 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11241
11242 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11243
11244 * configure.in <sysdeps resolving>: Correct printing
11245 Implies_before.
11246 * configure: Regenerate.
11247
11248 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11249
11250 * math/w_ilogb.c: Include <limits.h>.
11251 * math/w_ilogbl.c: Likewise.
11252
11253 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11254
11255 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11256 va_copy. Document allowing for unavailable va_copy only as
11257 pre-C99 compatibility.
11258 * manual/string.texi (Copying and Concatenation): Use va_copy
11259 instead of __va_copy in concat example.
11260
11261 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11262
11263 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11264 (__sendto): Use create_address_port. Initialize APORT and deallocate
11265 it if not null.
11266
11267 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11268 with O_NOLINK passed to __file_name_lookup.
11269
11270 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11271 with O_NOLINK passed to __file_name_lookup.
11272
11273 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11274 negative N or less than NGIDS.
11275
11276 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11277 type to string_t. Set ERANGE as errno and return it if NAME is not big
11278 enough. Use memcpy instead of strncpy.
11279
11280 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11281
11282 * elf/Makefile (check-data): Remove.
11283 (localplt.data): New vpath directive.
11284 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11285 instead of $(check-data).
11286 * scripts/data/localplt-generic.data: Move to ...
11287 * sysdeps/generic/localplt.data: ... here.
11288 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11289 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11290 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11292 ... here.
11293 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11295 ... here.
11296 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11298 ... here.
11299 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11301 ... here.
11302 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11304 ... here.
11305 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11307 ... here.
11308
11309 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11310
11311 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11312 PPC32 and PPC64 files.
11313 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11314 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11315
11316 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11317
11318 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11319 __makecontext_ret to ...
11320 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11321 ... here and call exit if uc_link is NULL. New file.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11323 __makecontext_ret.S.
11324 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11325 __makecontext_ret to ...
11326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11327 ... here and call exit if uc_link is NULL. New file.
11328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11329 __makecontext_ret.S.
11330
11331 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11332
11333 * elf/elf.h (R_390_IRELATIVE): New definition.
11334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11335 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11336 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11337 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11338 (elf_machine_lazy_rel): Likewise.
11339 * sysdeps/s390/dl-irel.h: New file.
11340 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11341 * sysdeps/s390/s390-64/memset.S: New asm code.
11342 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11343 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11345 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11346 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11347 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11349 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11350 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11351 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11352 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11353 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11354 * sysdeps/s390/s390-32/memset.S: New asm code.
11355 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11356
11357 2012-07-17 Marek Polacek <polacek@redhat.com>
11358
11359 [BZ #14349]
11360 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11361 * sysdeps/s390/s390-64/configure.in: Likewise.
11362 * sysdeps/sparc/configure.in: Likewise.
11363 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11364 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11365 * sysdeps/i386/configure.in: Likewise.
11366 * sysdeps/x86_64/configure.in: Likewise.
11367 * sysdeps/sh/configure.in: Likewise.
11368 * sysdeps/s390/s390-32/configure: Regenerated.
11369 * sysdeps/s390/s390-64/configure: Likewise.
11370 * sysdeps/x86_64/configure: Likewise.
11371 * sysdeps/sh/configure: Likewise.
11372 * sysdeps/powerpc/powerpc64/configure: Likewise.
11373 * sysdeps/powerpc/powerpc32/configure: Likewise.
11374 * sysdeps/sparc/configure: Likwise.
11375 * sysdeps/i386/configure: Likewise.
11376
11377 * elf/dl-open.c: Comment fixes.
11378
11379 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11380
11381 * Makefile [CXX] (check-data): Remove.
11382 [CXX] (c++-types.data): New vpath directive.
11383 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11384 vpath. Do not allow for C++ type data being missing.
11385 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11386 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11387 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11388 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11389 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11390 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11391 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11393 ... here.
11394 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11396 ... here.
11397 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11399 ... here.
11400 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11402 ... here.
11403 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11405 ... here.
11406 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11408 ... here.
11409 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11411 ... here.
11412 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11414
11415 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11416 definitions to architecture-specific files.
11417 (TLS_IE): Likewise.
11418 (TLS_LD): Likewise.
11419 (TLS_GD): Likewise.
11420 * sysdeps/i386/tls-macros.h: New file.
11421 * sysdeps/powerpc/tls-macros.h: Likewise.
11422 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11423 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11424 * sysdeps/sh/tls-macros.h: Likewise.
11425 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11426 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11427 * sysdeps/x86_64/tls-macros.h: Likewise.
11428
11429 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11430
11431 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11432 zero value for regular exit case.
11433
11434 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11435 (__start_context): Preserve zero value for regular exit case.
11436
11437 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11438 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11439
11440 * manual/setjmp.texi (setcontext): Clarify normal process
11441 termination when uc_link is the null pointer.
11442 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11443 exit call.
11444
11445 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11446
11447 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11448 preprocessor. Test for each exception mask separately.
11449
11450 2012-07-16 Andreas Jaeger <aj@suse.de>
11451
11452 * po/ru.po: Update from translation team.
11453
11454 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11455
11456 * conform/data/string.h-data (NULL): Use macro-constant. Require
11457 equal to 0.
11458 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11459 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11460 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11461 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11463
11464 2012-07-13 Andreas Jaeger <aj@suse.de>
11465
11466 * po/fr.po: Update from translation team.
11467
11468 2012-07-12 Marek Polacek <polacek@redhat.com>
11469
11470 [BZ #14173]
11471 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11473 loop condition.
11474
11475 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11476
11477 [BZ #13717]
11478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11479 Change to 2.4.1 where previously 2.4.0.
11480 * sysdeps/unix/sysv/linux/configure: Regenerated.
11481 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11482 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11483 version.
11484 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11485 (__ASSUME_AT_CLKTCK): Remove.
11486 (__ASSUME_AT_PAGESIZE): Likewise.
11487 (__ASSUME_AT_XID): Likewise.
11488 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11489 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11490 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11491 unconditionally.
11492 (HAVE_AUX_PAGESIZE): Likewise.
11493 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11494 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11495 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11496
11497 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11498
11499 [BZ #14307]
11500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11501 the temporary buffer used to invoke __gethostbyname2_r,
11502 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11503 host_data / struct gaih_addrtuple.
11504 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11505 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11506 header file nss/nsswitch.h.
11507 * nss/nsswitch.h (global scope): Add definition of implementation
11508 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11509 resolv/nss_dns/dns-host.c).
11510
11511 2012-07-11 Andreas Jaeger <aj@suse.de>
11512
11513 * po/fr.po: Update from translation team.
11514
11515 * po/sv.po: Update from translation team
11516 * po/fr.po: Another update from translation team.
11517
11518 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11519
11520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11521 for subnormals or multiply small sinh result by itself.
11522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11524
11525 2012-07-11 David S. Miller <davem@davemloft.net>
11526
11527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11528
11529 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11530
11531 [BZ #14347]
11532 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11533 (INTERNAL_MARK): Shift it here.
11534
11535 2012-07-10 Marek Polacek <polacek@redhat.com>
11536
11537 [BZ #14151]
11538 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11539 libc_cv_asm_global_directive with .globl.
11540 * configure: Regenerated.
11541 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11542 with .globl.
11543 * sysdeps/i386/configure: Regenerated.
11544 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11545 with .globl.
11546 * sysdeps/x86_64/configure: Regenerated.
11547 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11548 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11549 * elf/tst-unique2mod2.c: Likewise.
11550 * elf/tst-unique2mod1.c: Likewise.
11551 * elf/tst-unique1mod2.c: Likewise.
11552 * elf/tst-unique1mod1.c: Likewise.
11553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11554 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11557 * sysdeps/mach/sysdep.h: Likewise.
11558 * sysdeps/i386/sysdep.h: Likewise.
11559 * sysdeps/i386/i386-mcount.S: Likewise.
11560 * sysdeps/x86_64/_mcount.S: Likewise.
11561 * sysdeps/x86_64/sysdep.h: Likewise.
11562 * sysdeps/sh/_mcount.S: Likewise.
11563 * sysdeps/sh/sysdep.h: Likewise.
11564 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11565 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11566 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11568 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11570 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11571 * locale/localeinfo.h: Likewise.
11572 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11573 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11574
11575 2012-07-09 Roland McGrath <roland@hack.frob.com>
11576
11577 [BZ #14336]
11578 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11579 system".
11580 * manual/message.texi (The Uniforum approach): Likewise.
11581 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11582 (glibc iconv Implementation): Likewise.
11583
11584 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11585
11586 [BZ #14337]
11587 * math/s_clog.c (__clog): Avoid scaling a value down where that
11588 could result in underflow.
11589 * math/s_clog10.c (__clog10): Likewise.
11590 * math/s_clog10f.c (__clog10f): Likewise.
11591 * math/s_clog10l.c (__clog10l): Likewise.
11592 * math/s_clogf.c (__clogf): Likewise.
11593 * math/s_clogl.c (__clogl): Likewise.
11594 * math/libm-test.inc (clog_test): Add more tests.
11595 (clog10_test): Likewise.
11596 * sysdeps/i386/fpu/libm-test-ulps: Update.
11597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11598
11599 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11600
11601 [BZ #14283]
11602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11603 by 7 not 8 to examine high bit of fractional part.
11604
11605 [BZ #14042]
11606 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11607 for call to __mcount_internal.
11608 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11609 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11610 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11611
11612 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11613
11614 [BZ #14154]
11615 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11616 approximation for values within 0x1p-13f of an odd multiple of
11617 pi/4.
11618 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11619 exception. Add more tests.
11620 * sysdeps/i386/fpu/libm-test-ulps: Update.
11621
11622 [BZ #6778]
11623 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11624 inputs and return -1 for them. Do not check for +Inf in case not
11625 reachable for +Inf.
11626 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11627 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11629 and return -1 for them. Do not check for +Inf in case not
11630 reachable for +Inf.
11631 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11632 define.
11633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11634 and return -1 for them. Do not check for +Inf in case not
11635 reachable for +Inf.
11636 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11637 spurious underflow.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640
11641 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11642
11643 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11644
11645 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11646
11647 [BZ #14157]
11648 [BZ #14331]
11649 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11650 could result in spurious underflow. Scale down values above
11651 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11652 * math/s_csqrtf.c (__csqrtf): Likewise.
11653 * math/s_csqrtl.c (__csqrtl): Likewise.
11654 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11655 spurious underflow.
11656 * sysdeps/i386/fpu/libm-test-ulps: Update.
11657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11658
11659 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11660
11661 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11662 xopen-msg.sed.
11663 * catgets/xopen-msg.awk: New file.
11664 * catgets/xopen-msg.sed: Removed.
11665
11666 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11667 po2text.sed.
11668 * intl/po2test.awk: New file.
11669 * intl/po2test.sed: Removed.
11670
11671 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11672
11673 [BZ #14328]
11674 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11675 or multiply small sinh result by itself.
11676 * math/s_ctanf.c (__ctanf): Likewise.
11677 * math/s_ctanh.c (__ctanh): Likewise.
11678 * math/s_ctanhf.c (__ctanhf): Likewise.
11679 * math/s_ctanhl.c (__ctanhl): Likewise.
11680 * math/s_ctanl.c (__ctanl): Likewise.
11681 * math/libm-test.inc (ctan_test_tonearest): New function.
11682 (ctan_test_towardzero): Likewise.
11683 (ctan_test_downward): Likewise.
11684 (ctan_test_upward): Likewise.
11685 (ctanh_test_tonearest): Likewise.
11686 (ctanh_test_towardzero): Likewise.
11687 (ctanh_test_downward): Likewise.
11688 (ctanh_test_upward): Likewise.
11689 (main): Call these new functions.
11690 * sysdeps/i386/fpu/libm-test-ulps: Update.
11691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692
11693 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11694
11695 * .gitignore: Delete /ports entry.
11696
11697 2012-07-03 Andreas Jaeger <aj@suse.de>
11698
11699 * po/bg.po: Update from translation team.
11700 * po/cs.po: Likewise.
11701 * po/de.po: Likewise.
11702 * po/hr.po: Likewise.
11703 * po/nl.pl: Likewise.
11704 * po/pl.po: Likewise.
11705 * po/vi.po: Likewise.
11706
11707 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11708
11709 * Makeconfig [!+link] (+link-before-libc): New variable.
11710 [!+link] (+link-after-libc): Likewise.
11711 [!+link] (+link-tests): Likewise.
11712 [!+link] (+link): Define in terms of $(+link-before-libc) and
11713 $(+link-after-libc).
11714 [!+link-static] (+link-static-before-libc): New variable.
11715 [!+link-static] (+link-static-after-libc): Likewise.
11716 [!+link-static] (+link-static-tests): Likewise.
11717 [!+link-static] (+link-static): Define in terms of
11718 $(+link-static-before-libc) and $(+link-static-after-libc).
11719 [build-shared] (link-libc-before-gnulib): New variable.
11720 [build-shared] (link-libc-tests): Likewise.
11721 [build-shared] (link-libc): Define in terms of
11722 $(link-libc-before-gnulib).
11723 [!build-shared] (link-libc-tests): New variable.
11724 (link-libc-static-tests): New variable.
11725 [!gnulib] (gnulib-arch): New variable.
11726 [!gnulib] (gnulib-tests): Likewise.
11727 [!gnulib] (static-gnulib-arch): Likewise.
11728 [!gnulib] (static-gnulib-tests): Likewise.
11729 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11730 Define with "=" instead of ":=".
11731 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11732 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11733 * Rules (binaries-all-notests): New variable.
11734 (binaries-all-tests): Likewise.
11735 (binaries-static-notests): Likewise.
11736 (binaries-static-tests): Likewise.
11737 (binaries-all): Define using $(binaries-all-notests) and
11738 $(binaries-all-tests).
11739 (binaries-static): Define using $(binaries-static-notests) and
11740 $(binaries-static-tests).
11741 (binaries-shared-tests): New variable.
11742 (binaries-shared-notests): Likewise.
11743 (binaries-shared): Remove variable.
11744 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11745 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11746 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11747 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11748 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11749 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11750 * elf/Makefile (sln-modules): New variable.
11751 (extra-objs): Add $(sln-modules:=.o).
11752 (ldconfig-modules): Add static-stubs.
11753 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11754 * elf/static-stubs.c: New file.
11755
11756 [BZ #14283]
11757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11758 by 7 not 8 to examine high bit of fractional part. Use volatile
11759 variables when splitting into final array of floats if
11760 __FLT_EVAL_METHOD__ != 0.
11761 * math/libm-test.inc (cos_test): Add another test.
11762 (sin_test): Likewise.
11763 * sysdeps/i386/fpu/libm-test-ulps: Update.
11764
11765 [BZ #14273]
11766 * math/libm-test.inc (cosh_test): Add more tests.
11767
11768 * version.h (RELEASE): Set to "development".
11769 (VERSION): Set to "2.16.90".
11770
11771 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11772
11773 * NEWS: Update copyright. Remove last-updated date.
11774 Mention math library bug fixes and timezone data changes.
11775 * README: Mention GNU/Hurd, x32, and HPPA support status.
11776
11777 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11778
11779 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11780
11781 2012-06-27 Andreas Jaeger <aj@suse.de>
11782
11783 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11784
11785 2012-06-25 Andreas Jaeger <aj@suse.de>
11786
11787 * sysdeps/s390/fpu/libm-test-ulps: Update.
11788
11789 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11790 Thomas Schwinge <thomas@codesourcery.com>
11791
11792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11793 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11795 fanotify_mark.
11796
11797 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11798
11799 * sysdeps/mach/start.c: Remove file.
11800 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11801 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11802 * sysdeps/sh/init-first.c: Likewise.
11803
11804 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11805 registers for frame unwinding purposes, add CFI directives.
11806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11807 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11808 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11809 Likewise.
11810
11811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11812 __fortify_fail returning.
11813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11814
11815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11816 sysdeps/sh/____longjmp_chk.S.
11817 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11818 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11819 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11820 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11821
11822 * sysdeps/sh/abort-instr.h: New file.
11823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11824 process in case exit returns.
11825
11826 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11827 initialize the GOT register before use.
11828
11829 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11830 calculation of ARGC > 4.
11831
11832 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11833 meaningful names to some local labels.
11834
11835 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11836 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11837
11838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11839 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11840 (__arch_compare_and_exchange_val_16_acq): Likewise.
11841 (__arch_compare_and_exchange_val_32_acq): Likewise.
11842 (atomic_exchange_and_add): Fix gUSA sequence.
11843 (atomic_add): Likewise.
11844 (atomic_add_negative): Likewise.
11845 (atomic_add_zero): Likewise.
11846 (atomic_bit_test_set): Likewise.
11847
11848 2012-06-22 Andreas Schwab <schwab@redhat.com>
11849
11850 [BZ #13579]
11851 * include/link.h (struct link_map): Add l_free_initfini.
11852 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11853 l_initfini.
11854 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11855 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11856 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11857 set.
11858
11859 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11860
11861 * configure.in: Use AC_LANG_SOURCE.
11862 * configure: Regenerate.
11863
11864 2012-06-22 Roland McGrath <roland@hack.frob.com>
11865
11866 * configure.in (libc_cv_localstatedir): New substituted variable.
11867 * configure: Regenerated.
11868 * config.make.in (localstatedir): New variable, substituted from
11869 libc_cv_localstatedir.
11870 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11871 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11872 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11873 * sysdeps/gnu/configure: Regenerated.
11874
11875 2012-06-21 Jeff Law <law@redhat.com>
11876
11877 [BZ #14277]
11878 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11879 free. Simplify list management for _LIBC case.
11880
11881 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #14273]
11884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11885 Clear sign bit of 64-bit integer value before comparing against
11886 overflow value.
11887
11888 * sysdeps/mach/configure: Regenerated.
11889
11890 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11891
11892 [BZ #14278]
11893 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11894
11895 2012-06-21 Jeff Law <law@redhat.com>
11896
11897 [BZ #13882]
11898 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11899 uint16_t for elements in the "seen" array to avoid char overflows.
11900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11901 * elf/dl-open.c (dl_open_worker): Likewise.
11902
11903 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11904
11905 * scripts/list-sources.sh: Scan PORTS for translations.
11906 * po/libc.pot: Regenerated.
11907
11908 2012-06-21 Andreas Jaeger <aj@suse.de>
11909
11910 [BZ #12194]
11911 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11912 warning.
11913 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11914 * bits/byteswap-16.h (__bswap_16): Likewise.
11915 * bits/byteswap.h (__bswap_constant_16): Likewise.
11916
11917 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 [BZ #14117]
11920 * sysdeps/i386/fpu_control.h: Removed.
11921 * sysdeps/x86_64/fpu_control.h: Moved to ...
11922 * sysdeps/x86/fpu_control.h: Here.
11923
11924 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11925 (_FPU_SETCW): Likewise.
11926
11927 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 [BZ #14117]
11930 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11931 * sysdeps/x86/fpu/bits/mathinline.h: This.
11932 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11933
11934 [BZ #14050]
11935 [BZ #14117]
11936 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11937 functions if __x86_64__ is defined.
11938
11939 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11940
11941 * string/endian.h: Add !__ASSEMBLER__ condition for including
11942 conversion interfaces.
11943
11944 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #14241]
11947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11948 of ABS(x) in calculating zero to negative powers other than odd
11949 integers.
11950 * math/libm-test.inc (pow_test): Add more tests.
11951
11952 2012-06-15 Andreas Jaeger <aj@suse.de>
11953
11954 * manual/contrib.texi (Contributors): Update entry of Liubov
11955 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11956 Machado Filho.
11957
11958 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11959
11960 * string/string.h: Add __wur to GNU version of strerror_r.
11961
11962 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 [BZ #14229]
11965 * string/Makefile (tests): Add tst-strtok_r.
11966 * string/tst-strtok_r.c: New file.
11967 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11968 RAX_LP/RDX_LP on SAVE_PTR.
11969
11970 2012-06-14 Roland McGrath <roland@hack.frob.com>
11971
11972 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11973
11974 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11975
11976 * libm_test.inc (csqrt_test): Allow more spurious underflow
11977 exceptions.
11978 (j0_test): Likewise.
11979 (j1_test): Likewise.
11980 (y0_test): Likewise.
11981 (y1_test): Likewise.
11982
11983 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11984
11985 * po/Makefile (libc.pot): Use UTF-8 charset.
11986
11987 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11988
11989 [BZ #14210]
11990 Suppress sign-conversion warning from FD_SET.
11991 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11992 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11993 not unsigned long int.
11994 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11995
11996 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11997
11998 [BZ #14050]
11999 [BZ #14117]
12000 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12001 __extern_always_inline instead of __extern_inline.
12002 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12003 (__signbit): Likewise.
12004 (__signbitl): Support C++ namespace.
12005 (lrintf): New inline function.
12006 (lrint): Likewise.
12007 (llrintf): Likewise.
12008 (llrint): Likewise.
12009 (fmaxf): Likewise.
12010 (fmax): Likewise.
12011 (fminf): Likewise.
12012 (fmin): Likewise.
12013 (rint): Likewise.
12014 (rintf): Likewise.
12015 (ceil): Likewise.
12016 (ceilf): Likewise.
12017 (floor): Likewise.
12018 (floorf): Likewise.
12019 (nearbyint): Likewise.
12020 (nearbyintf): Likewise.
12021
12022 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12023
12024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12025 non-default versions.
12026
12027 2012-06-11 Roland McGrath <roland@hack.frob.com>
12028
12029 [BZ #14218]
12030 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12031
12032 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12033
12034 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12035 (FE_UPWARD, FE_DOWNWARD): Don't define.
12036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12037 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12038
12039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12040 reading it.
12041 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12043
12044 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12045
12046 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12048 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12049 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12050
12051 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 [BZ #14117]
12054 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12055 * sysdeps/i386/fpu/Implies: New file.
12056 * sysdeps/x86_64/fpu/Implies: Likewise.
12057 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12058 * sysdeps/x86/fpu/bits/fenv.h: This.
12059
12060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12061 __SSE_MATH__.
12062
12063 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
12065 [BZ #14134]
12066 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12067 character 0xffff that matches the last element of the
12068 conversion table.
12069
12070 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071
12072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12073 fmodl commit.
12074
12075 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12076
12077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12078 values higher than 25.6283.
12079
12080 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12081
12082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12083 subnormal exponent extraction and add some __builtin_expect.
12084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12085 Fix for subnormal mantissa calculation.
12086
12087 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12088
12089 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12090 cpu2 is -1 and errno is not ENOSYS.
12091
12092 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 [BZ #14117]
12095 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12096 * sysdeps/x86/bits/string.h: This.
12097 * sysdeps/x86_64/bits/string.h: Removed.
12098
12099 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12100 if not compiling for x86-64, but compiling for >= i486.
12101
12102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12103 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12104
12105 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12106 New macro from Linux kernel 3.4.0.
12107 (FP_XSTATE_MAGIC2): Likewise.
12108 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12109 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12110 (struct _fpx_sw_bytes): New struct.
12111 (struct _xsave_hdr): Likewise.
12112 (struct _ymmh_state): Likewise.
12113 (struct _xstate): Likewise.
12114
12115 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12116 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12118 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12120 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12121
12122 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12124 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12125 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12126 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12127 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12128
12129 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12130
12131 [BZ #13743]
12132 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12133 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12134 (sysdep_headers): Include sys/platform/ppc.h.
12135 * sysdeps/powerpc/test-gettimebase.c: Test for
12136 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12137 * manual/Makefile (appendices): Include platform.texi.
12138 * manual/contrib.texi (Contributors): Update @node pointers.
12139 * manual/maint.texi (Maintenance): Likewise.
12140 (Platform): New node.
12141 * manual/platform.texi: New file. Document the new features.
12142
12143 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12144 Jakub Jelinek <jakub@redhat.com>
12145
12146 [BZ #14188]
12147 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12148 where __builtin_expect is unavailable.
12149
12150 2012-06-03 David S. Miller <davem@davemloft.net>
12151
12152 * stdlib/longlong.h: Updated from GCC.
12153
12154 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12155
12156 [BZ #14042]
12157 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12158 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12159 __mcount_internal.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12161 (GLIBC_2.16): Likewise.
12162
12163 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12164
12165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12166
12167 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12168
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12170 (default-abi): New variable.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12173 variable.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12177 Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12179 Likewise.
12180
12181 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12182 definition. Document in comment.
12183
12184 2012-06-01 David S. Miller <davem@davemloft.net>
12185
12186 * stdlib/longlong.h: Updated from GCC.
12187
12188 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 [BZ #14117]
12191 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12192 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12193 sys/debugreg.h sys/io.h here.
12194 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12195 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12196 sys/io.h.
12197 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12198 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12200 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12202 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12203
12204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12205 Define only if __x86_64__ is defined.
12206
12207 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12208
12209 [BZ #14048]
12210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12211 Use int64_t for variable i.
12212 * math/libm-test.inc (fmod_test): Add more tests.
12213
12214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12215 z computation is not scheduled after fetestexcept.
12216 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12217 Use math_force_eval instead of asm to ensure calculation scheduled
12218 before exception test.
12219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12220 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12221
12222 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12223
12224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12225 computation is not scheduled after fetestexcept.
12226
12227 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 [BZ #14117]
12230 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12231 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12232
12233 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234
12235 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12236 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12237
12238 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12239
12240 [BZ #14117]
12241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12242 <bits/wordsize.h>.
12243 (__WCHAR_MIN): Support __WORDSIZE == 64.
12244 (__WCHAR_MAX): Likewise.
12245
12246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12248
12249 [BZ #14183]
12250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12251 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12252
12253 [BZ #14117]
12254 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12256
12257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12258 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12259
12260 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12261 Defined to 1 if __x86_64__ isn't defined.
12262 (_STAT_VER_LINUX_OLD): New.
12263 (st_atime): Remove duplicate.
12264 (st_mtime): Likewise.
12265 (st_ctime): Likewise.
12266
12267 2012-05-31 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12270 entries.
12271
12272 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12273
12274 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12275 gen-libm-test.pl.
12276
12277 [BZ #14132]
12278 * elf/dl-reloc.c: Include <_itoa.h>.
12279 (_dl_reloc_bad_type): Remove use of INTUSE.
12280 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12281 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12282 * stdio-common/psiginfo.c (psiginfo): Likewise.
12283 * stdio-common/psignal.c (psignal): Likewise.
12284 * string/strsignal.c (strsignal): Likewise.
12285 * include/signal.h (_sys_siglist): Declare hidden proto.
12286 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12287 INTVARDEF with libc_hidden_data_def.
12288 * stdio-common/itoa-udigits.c: Likewise.
12289 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12290 (_itoa_lower_digits_internal): Remove declaration.
12291 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12292 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12293 (_sys_sigabbrev_internal): Remove aliases.
12294 (_sys_siglist): Define hidden alias.
12295
12296 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12297
12298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12299 bits/sysctl.h.
12300
12301 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 [BZ #14117]
12304 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12305 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12306
12307 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12308 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12310 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12312 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12313
12314 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12315 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12317
12318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12319 with __addr.
12320 (insw): Likewise.
12321 (insl): Likewise.
12322 (outsb): Likewise.
12323 (outsw): Likewise.
12324 (outsl): Likewise.
12325
12326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12329
12330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12333 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12335 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12336
12337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12338 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12339
12340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12342
12343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12346
12347 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12348 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12349 to ...
12350 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12351
12352 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12354 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12355
12356 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12357 for x86-64.
12358 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12359
12360 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12361
12362 * math/math.h (M_El): Use two more decimal places.
12363 (M_LOG2El): Likewise.
12364 (M_LOG10El): Likewise.
12365 (M_LN2l): Likewise.
12366 (M_LN10l): Likewise.
12367 (M_PIl): Likewise.
12368 (M_PI_2l): Likewise.
12369 (M_PI_4l): Likewise.
12370 (M_1_PIl): Likewise.
12371 (M_2_PIl): Likewise.
12372 (M_2_SQRTPIl): Likewise.
12373 (M_SQRT2l): Likewise.
12374 (M_SQRT1_2l): Likewise.
12375
12376 2012-05-31 David S. Miller <davem@davemloft.net>
12377
12378 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12379 values between float registers.
12380 * sysdeps/sparc/sparc64/memset.S: Likewise.
12381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12382
12383 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12384
12385 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12386 -D_FORTIFY_SOURCE=1.
12387 (CPPFLAGS-tst-longjmp_chk.c): Define.
12388 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12389 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12390 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12391 CFLAGS-tst-wchar-h.c.
12392
12393 2012-05-31 Marek Polacek <polacek@redhat.com>
12394
12395 [BZ #14132]
12396 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12397 __endmntent_internal): Remove declaration.
12398 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12399 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12400 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12401
12402 2012-05-30 David S. Miller <davem@davemloft.net>
12403
12404 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12405 (___Q_simulate_exceptions): Use real FP ops rather than writing
12406 into the %fsr.
12407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12408 Likewise.
12409
12410 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12411
12412 [BZ #14117]
12413 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12414 * sysdeps/x86/bits/xtitypes.h: This.
12415
12416 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12417 * sysdeps/x86/bits/wordsize.h: This.
12418
12419 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12420 * sysdeps/x86/bits/huge_vall.h: This.
12421
12422 * sysdeps/i386/bits/select.h: Removed.
12423 * sysdeps/x86_64/bits/select.h: Renamed to ...
12424 * sysdeps/x86/bits/select.h: This.
12425
12426 * sysdeps/i386/bits/setjmp.h: Removed.
12427 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12428 * sysdeps/x86/bits/setjmp.h: This.
12429
12430 * sysdeps/i386/bits/mathdef.h: Removed.
12431 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12432 * sysdeps/x86/bits/mathdef.h: This.
12433
12434 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12435
12436 [BZ #14132]
12437 * include/sys/socket.h (__connect_internal)
12438 (__libc_sa_len_internal): Remove declaration.
12439 (__connect, __libc_sa_len): Declare hidden_proto.
12440 (SA_LEN): Remove use of INTUSE.
12441 * socket/connect.c: Add libc_hidden_def.
12442 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12443 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12444 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12445 alias.
12446 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12448 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12449 of adding _internal alias.
12450
12451 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 [BZ #14117]
12454 * sysdeps/i386/bits/link.h: Removed.
12455 * sysdeps/i386/bits/linkmap.h: Likewise.
12456 * sysdeps/x86_64/bits/link.h: Renamed to ...
12457 * sysdeps/x86/bits/link.h: This.
12458 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12459 * sysdeps/x86/bits/linkmap.h: This.
12460
12461 * sysdeps/i386/bits/endian.h: Removed.
12462 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12463 * sysdeps/x86/bits/endian.h: This.
12464
12465 * sysdeps/i386/bits/byteswap.h: Removed.
12466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12467 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12468 * sysdeps/x86/bits/byteswap.h: This.
12469 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12470 * sysdeps/x86/bits/byteswap-16.h: This.
12471 * sysdeps/i386/Implies: Add x86.
12472 * sysdeps/x86_64/Implies: Likewise.
12473
12474 2012-05-30 David S. Miller <davem@davemloft.net>
12475
12476 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12477 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12479 (FP_TRAPPING_EXCEPTIONS): Define.
12480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12481 (FP_TRAPPING_EXCEPTIONS): Define.
12482 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12483 subnormals only when inexact has been signalled or underflow
12484 exceptions are enabled.
12485 (_FP_PACK_CANONICAL): Likewise.
12486
12487 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 [BZ #14183]
12490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12491 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12492
12493 2012-05-30 Richard Henderson <rth@twiddle.net>
12494
12495 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12496 with #ifndef NOT_IN_libc.
12497
12498 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12499 marked to avoid plt entry.
12500
12501 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 [BZ #14112]
12504 * Makeconfig (default-abi): New macro.
12505 (abi-includes): Likewise.
12506 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12507 $(abi-$(default-abi)-lib-soname) for soname if defined.
12508 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12509 abi-variants.
12510 * Makefile (installed-stubs): Likewise.
12511 * include/stubs-biarch.h: Removed.
12512 * scripts/lib-names.awk: Only handle one library at a time.
12513 * scripts/soversions.awk: Remove WORDSIZE support.
12514 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12515 entries.
12516 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12517 Removed.
12518 (syscall-list-default-condition): Likewise.
12519 (syscall-list-default-condition): Likewise.
12520 (syscall-list-includes): Likewise.
12521 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12522 syscall-list-* with abi-*. Handle undefined abi-variants.
12523 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12524 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12525 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12528 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12529 Removed.
12530 (syscall-list-32-options): Likewise.
12531 (syscall-list-32-condition): Likewise.
12532 (syscall-list-64-options): Likewise.
12533 (syscall-list-64-condition): Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12535 macro.
12536 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12537 Renamed to ...
12538 (abi-*): This.
12539 (abi-64-ld-soname): New macro.
12540 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12542 Renamed to ...
12543 (abi-*): This.
12544 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12545 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12546
12547 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12548
12549 * sysdeps/unix/sysv/linux/kernel-features.h
12550 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12551 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12552 include <kernel-features.h>.
12553 [!__NR_ftruncate64]: Remove conditional code.
12554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12555 [__NR_ftruncate64]: Make code unconditional.
12556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12557 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12558 include <kernel-features.h>.
12559 [!__NR_ftruncate64]: Remove conditional code.
12560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12561 [__NR_ftruncate64]: Make code unconditional.
12562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12564 include <kernel-features.h>.
12565 [!__NR_ftruncate64]: Remove conditional code.
12566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12567 [__NR_ftruncate64]: Make code unconditional.
12568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12570 include <kernel-features.h>.
12571 [!__NR_ftruncate64]: Remove conditional code.
12572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12573 [__NR_ftruncate64]: Make code unconditional.
12574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12575
12576 * configure.in (libc_cv_fpie): Weaken to a compile test using
12577 LIBC_TRY_CC_OPTION.
12578 * configure: Regenerated.
12579
12580 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12581
12582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12586 Refreshed.
12587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12593 Refreshed.
12594
12595 2012-05-27 David S. Miller <davem@davemloft.net>
12596
12597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12598 (___Q_zero): New.
12599 (__Q_simulate_exceptions): Return void. Change to simulate
12600 exceptions by writing into the %fsr.
12601 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12602 (__Qp_handle_exceptions): Likewise.
12603 (numbers): Delete.
12604 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12605 __Qp_handle_exceptions.
12606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12607 __Qp_handle_exceptions.
12608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12609 as unused and give dummy FP_RND_NEAREST initializer.
12610 (FP_INHIBIT_RESULTS): Define.
12611 (___Q_simulate_exceptions): Update declaration.
12612 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12613 formatting.
12614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12615 as unused and give dummy FP_RND_NEAREST initializer.
12616 (__Qp_handle_exceptions): Update declaration.
12617 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12618 formatting.
12619
12620 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12621
12622 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12623 the temporary FPU control word.
12624 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12625 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12629 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12630 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12631 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12632 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12633 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12635
12636 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12637
12638 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12639 fields.
12640
12641 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12642
12643 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12644 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12645 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12646 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12647 Likewise.
12648 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12649 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12650 Likewise.
12651
12652 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12653
12654 * po/h.po: Update from translation team.
12655
12656 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12657
12658 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12659
12660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12661 handling of denormals.
12662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12663 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12669 Likewise.
12670
12671 2012-05-26 Marek Polacek <polacek@redhat.com>
12672
12673 [BZ #14152]
12674 * math/libm-test.inc (fma_test): Don't always expect underflow
12675 exception.
12676
12677 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12678
12679 [BZ #12416]
12680 * elf/tst-execstack.c: Include stackinfo.h.
12681 (do_test): Adjust test case to ensure that pthread_getattr_np
12682 behaviour remains the same after marking stack executable.
12683
12684 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12685
12686 * sysdeps/unix/sysv/linux/kernel-features.h
12687 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12688 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12689 kernel-features.h.
12690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12692 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12693 kernel-features.h.
12694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12696
12697 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12698
12699 * configure.in: Define the default includes to being none.
12700 * configure: Regenerated.
12701
12702 2012-05-25 Roland McGrath <roland@hack.frob.com>
12703
12704 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12705 * sysdeps/x86_64/setjmp.S: Likewise.
12706 * sysdeps/i386/bsd-setjmp.S: Likewise.
12707 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12708 * sysdeps/i386/setjmp.S: Likewise.
12709 * sysdeps/i386/__longjmp.S: Likewise.
12710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12712
12713 * include/stap-probe.h: New file.
12714 * configure.in: Handle --enable-systemtap.
12715 * configure: Regenerated.
12716 * config.h.in (USE_STAP_PROBE): New #undef.
12717 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12718 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12719 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12720
12721 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #13717]
12724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12725 to 2.4.0 where earlier.
12726 * sysdeps/unix/sysv/linux/configure: Regenerated.
12727 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12728 <kernel-features.h>.
12729 [__ASSUME_32BITUIDS]: Make code unconditional.
12730 [!__ASSUME_32BITUIDS]: Remove conditional code.
12731 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12732 <kernel-features.h>.
12733 [__ASSUME_32BITUIDS]: Make code unconditional.
12734 [!__ASSUME_32BITUIDS]: Remove conditional code.
12735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12736 [__ASSUME_32BITUIDS]: Make code unconditional.
12737 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
12743 <kernel-features.h>.
12744 [__ASSUME_32BITUIDS]: Make code unconditional.
12745 [!__ASSUME_32BITUIDS]: Remove conditional code.
12746 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12747 <kernel-features.h>.
12748 [__ASSUME_32BITUIDS]: Make code unconditional.
12749 [!__ASSUME_32BITUIDS]: Remove conditional code.
12750 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12751 <kernel-features.h>.
12752 [__ASSUME_32BITUIDS]: Make code unconditional.
12753 [!__ASSUME_32BITUIDS]: Remove conditional code.
12754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12755 <kernel-features.h>.
12756 [__ASSUME_32BITUIDS]: Make code unconditional.
12757 [!__ASSUME_32BITUIDS]: Remove conditional code.
12758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12759 <kernel-features.h>.
12760 [__ASSUME_32BITUIDS]: Make code unconditional.
12761 [!__ASSUME_32BITUIDS]: Remove conditional code.
12762 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12763 <kernel-features.h>.
12764 [__ASSUME_32BITUIDS]: Make code unconditional.
12765 [!__ASSUME_32BITUIDS]: Remove conditional code.
12766 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12767 <kernel-features.h>.
12768 [__ASSUME_32BITUIDS]: Make code unconditional.
12769 [!__ASSUME_32BITUIDS]: Remove conditional code.
12770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12771 <kernel-features.h>.
12772 [__ASSUME_32BITUIDS]: Make code unconditional.
12773 [!__ASSUME_32BITUIDS]: Remove conditional code.
12774 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12775 <kernel-features.h>.
12776 [__ASSUME_32BITUIDS]: Make code unconditional.
12777 [!__ASSUME_32BITUIDS]: Remove conditional code.
12778 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12779 <kernel-features.h>.
12780 [__NR_setresgid] (__setresgid): Do not declare.
12781 [__ASSUME_32BITUIDS]: Make code unconditional.
12782 [!__ASSUME_32BITUIDS]: Remove conditional code.
12783 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12784 <kernel-features.h>.
12785 [__NR_setresuid] (__setresuid): Do not declare.
12786 [__ASSUME_32BITUIDS]: Make code unconditional.
12787 [!__ASSUME_32BITUIDS]: Remove conditional code.
12788 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12793 <kernel-features.h>.
12794 [__ASSUME_32BITUIDS]: Make code unconditional.
12795 [!__ASSUME_32BITUIDS]: Remove conditional code.
12796 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12797 <kernel-features.h>.
12798 [__ASSUME_32BITUIDS]: Make code unconditional.
12799 [!__ASSUME_32BITUIDS]: Remove conditional code.
12800 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12801 <kernel-features.h>.
12802 [__ASSUME_32BITUIDS]: Make code unconditional.
12803 [!__ASSUME_32BITUIDS]: Remove conditional code.
12804 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12805 <kernel-features.h>.
12806 [__ASSUME_32BITUIDS]: Make code unconditional.
12807 [!__ASSUME_32BITUIDS]: Remove conditional code.
12808 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12809 <kernel-features.h>.
12810 [__ASSUME_32BITUIDS]: Make code unconditional.
12811 [!__ASSUME_32BITUIDS]: Remove conditional code.
12812 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12813 <kernel-features.h>.
12814 [__ASSUME_32BITUIDS]: Make code unconditional.
12815 [!__ASSUME_32BITUIDS]: Remove conditional code.
12816 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12817 <kernel-features.h>.
12818 [__ASSUME_32BITUIDS]: Make code unconditional.
12819 [!__ASSUME_32BITUIDS]: Remove conditional code.
12820 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12821 <kernel-features.h>.
12822 [__ASSUME_32BITUIDS]: Make code unconditional.
12823 [!__ASSUME_32BITUIDS]: Remove conditional code.
12824 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12825 <kernel-features.h>.
12826 [__ASSUME_32BITUIDS]: Make code unconditional.
12827 [!__ASSUME_32BITUIDS]: Remove conditional code.
12828 * sysdeps/unix/sysv/linux/kernel-features.h
12829 (__ASSUME_SETRESUID_SYSCALL): Remove.
12830 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12831 (__ASSUME_32BITUIDS): Likewise.
12832 (__ASSUME_LDT_WORKS): Likewise.
12833 (__ASSUME_O_DIRECTORY): Likewise.
12834 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12835 architecture but not kernel version.
12836 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12837 (__ASSUME_MMAP2_SYSCALL): Likewise.
12838 (__ASSUME_STAT64_SYSCALL): Likewise.
12839 (__ASSUME_IPC64): Likewise.
12840 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12845 <kernel-features.h>.
12846 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12847 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12848 132096]: Remove conditional code.
12849 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12851 <kernel-features.h>.
12852 [__ASSUME_32BITUIDS]: Make code unconditional.
12853 [!__ASSUME_32BITUIDS]: Remove conditional code.
12854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12855 <kernel-features.h>.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12859 <kernel-features.h>.
12860 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12861 unconditional.
12862 (__setresgid): Do not declare.
12863 [__ASSUME_32BITUIDS]: Make code unconditional.
12864 [!__ASSUME_32BITUIDS]: Remove conditional code.
12865 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12866 <kernel-features.h>.
12867 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12868 unconditional.
12869 (__setresuid): Do not declare.
12870 [__ASSUME_32BITUIDS]: Make code unconditional.
12871 [!__ASSUME_32BITUIDS]: Remove conditional code.
12872 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12873 <kernel-features.h>.
12874 [__ASSUME_32BITUIDS]: Make code unconditional.
12875 [!__ASSUME_32BITUIDS]: Remove conditional code.
12876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12877 <kernel-features.h>.
12878 [__ASSUME_32BITUIDS]: Make code unconditional.
12879 [!__ASSUME_32BITUIDS]: Remove conditional code.
12880
12881 2012-05-25 Richard Henderson <rth@twiddle.net>
12882
12883 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12884 dl_hwcap to ifunc resolver.
12885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12886 elf_ifunc_invoke.
12887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12888 dl_hwcap to ifunc resolver.
12889 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12890
12891 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12892
12893 [BZ #14153]
12894 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12895 for |x| <= 2**-26, not 2**-57.
12896 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12897 exception.
12898
12899 2012-05-24 Jeff Law <law@redhat.com>
12900
12901 * stdio-common/Makefile (tests): Add bug25.
12902 * stdio-common/bug25.c: New test.
12903
12904 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 [BZ #13576]
12907 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12908 multiple of MALLOC_ALIGNMENT in size.
12909 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12910
12911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12912
12913 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12914 Require >= 256.
12915 (FILENAME_MAX): Use macro-int-constant.
12916 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12917 (_IOFBF): Use macro-int-constant.
12918 (_IOLBF): Likewise.
12919 (_IONBF): Likewise.
12920 (SEEK_CUR): Likewise.
12921 (SEEK_END): Likewise.
12922 (SEEK_SET): Likewise.
12923 (TMP_MAX): Likewise.
12924 (EOF): Use macro-int-constant. Require < 0.
12925 (NULL): Use macro-constant. Require == 0.
12926 (stdin): Require type to be FILE *.
12927 (stdout): Likewise.
12928 (stderr): Likewise.
12929 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12930 macro-int-constant.
12931 (EXIT_SUCCESS): Likewise.
12932 (NULL): Use macro-constant. Require == 0.
12933 (RAND_MAX): Use macro-int-constant.
12934 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12935 [C99-based standards] (strtof): Require function.
12936 [C99-based standards] (strtold): Likewise.
12937 [C99-based standards] (strtoll): Likewise.
12938 [C99-based standards] (strtoull): Likewise.
12939 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12940 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12941 [ISO || ISO99 || ISO11] (math.h): Likewise.
12942 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12945
12946 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12947
12948 [BZ #14132]
12949 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12950 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12951 * intl/dgettext.c (DCGETTEXT): Likewise.
12952 * intl/gettext.c (DCGETTEXT): Likewise.
12953 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12954 * posix/regex_internal.h (gettext): Likewise.
12955 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12956 Remove declaration.
12957 * include/argz.h (__argz_count_internal)
12958 (__argz_stringify_internal): Remove declaration.
12959 (__argz_count, __argz_stringify): Declare hidden proto.
12960 * intl/dcgettext.c: Remove use of INTDEF.
12961 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12962 * string/argz-stringify.c: Likewise.
12963 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12964 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12965 Declare hidden proto.
12966 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12967 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12968 Declare hidden proto.
12969 * include/stdio.h (__asprintf_internal): Don't declare.
12970 (__asprintf): Don't define as macro. Declare hidden proto.
12971 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12972 (__fsetlocking): Declare hidden proto.
12973 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12974 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12975 hidden proto.
12976 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12977 (_IO_setlinebuf): Remove use of INTUSE.
12978 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12979 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12980 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12981 Remove declaration.
12982 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12983 (_IO_do_flush): Remove use of INTUSE.
12984 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12985 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12986 (_IO_adjust_column, _IO_least_wmarker)
12987 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12988 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12989 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12990 (_IO_default_doallocate, _IO_wdefault_doallocate)
12991 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12992 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12993 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12994 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12995 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12996 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12997 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12998 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12999 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13000 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13001 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13002 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13003 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13004 proto.
13005 (_IO_flush_all_internal, _IO_adjust_column_internal)
13006 (_IO_default_uflow_internal, _IO_default_finish_internal)
13007 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13008 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13009 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13010 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13011 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13012 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13013 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13014 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13015 (_IO_file_close_internal, _IO_file_close_it_internal)
13016 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13017 (_IO_file_init_internal, _IO_file_attach_internal)
13018 (_IO_file_fopen_internal, _IO_file_read_internal)
13019 (_IO_file_sync_internal, _IO_file_seek_internal)
13020 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13021 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13022 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13023 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13024 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13025 (_IO_list_all_internal, _IO_link_in_internal)
13026 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13027 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13028 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13029 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13030 (_IO_do_write_internal, _IO_padn_internal)
13031 (_IO_getline_info_internal, _IO_getline_internal)
13032 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13033 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13034 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13035 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13036 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13037 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13038 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13039 with libc_hidden_ver, remove use of INTUSE.
13040 * libio/genops.c: Likewise.
13041 * libio/freopen.c: Likewise.
13042 * libio/freopen64.c: Likewise.
13043 * libio/iofclose.c: Likewise.
13044 * libio/iofdopen.c: Likewise.
13045 * libio/iofflush.c: Likewise.
13046 * libio/iofflush_u.c: Likewise.
13047 * libio/iofgets.c: Likewise.
13048 * libio/iofgets_u.c: Likewise.
13049 * libio/iofopen.c: Likewise.
13050 * libio/iofopncook.c: Likewise.
13051 * libio/iofread.c: Likewise.
13052 * libio/iofread_u.c: Likewise.
13053 * libio/ioftell.c: Likewise.
13054 * libio/iofwrite.c: Likewise.
13055 * libio/iogetline.c: Likewise.
13056 * libio/iogets.c: Likewise.
13057 * libio/iogetwline.c: Likewise.
13058 * libio/iopadn.c: Likewise.
13059 * libio/iopopen.c: Likewise.
13060 * libio/ioseekoff.c: Likewise.
13061 * libio/ioseekpos.c: Likewise.
13062 * libio/iosetbuffer.c: Likewise.
13063 * libio/iosetvbuf.c: Likewise.
13064 * libio/ioungetc.c: Likewise.
13065 * libio/ioungetwc.c: Likewise.
13066 * libio/iovdprintf.c: Likewise.
13067 * libio/iovsprintf.c: Likewise.
13068 * libio/iovsscanf.c: Likewise.
13069 * libio/memstream.c: Likewise.
13070 * libio/obprintf.c: Likewise.
13071 * libio/oldfileops.c: Likewise.
13072 * libio/oldiofclose.c: Likewise.
13073 * libio/oldiofdopen.c: Likewise.
13074 * libio/oldiofopen.c: Likewise.
13075 * libio/oldiopopen.c: Likewise.
13076 * libio/oldstdfiles.c: Likewise.
13077 * libio/putc.c: Likewise.
13078 * libio/setbuf.c: Likewise.
13079 * libio/setlinebuf.c: Likewise.
13080 * libio/stdfiles.c: Likewise.
13081 * libio/strops.c: Likewise.
13082 * libio/vasprintf.c: Likewise.
13083 * libio/vscanf.c: Likewise.
13084 * libio/vsnprintf.c: Likewise.
13085 * libio/vswprintf.c: Likewise.
13086 * libio/wfiledoalloc.c: Likewise.
13087 * libio/wfileops.c: Likewise.
13088 * libio/wgenops.c: Likewise.
13089 * libio/wmemstream.c: Likewise.
13090 * libio/wstrops.c: Likewise.
13091 * libio/__fpurge.c: Likewise.
13092 * libio/__fsetlocking.c: Likewise.
13093 * assert/assert.c: Likewise.
13094 * debug/fgets_chk.c: Likewise.
13095 * debug/fgets_u_chk.c: Likewise.
13096 * debug/fread_chk.c: Likewise.
13097 * debug/fread_u_chk.c: Likewise.
13098 * debug/gets_chk.c: Likewise.
13099 * debug/obprintf_chk.c: Likewise.
13100 * debug/vasprintf_chk.c: Likewise.
13101 * debug/vdprintf_chk.c: Likewise.
13102 * debug/vsnprintf_chk.c: Likewise.
13103 * debug/vsprintf_chk.c: Likewise.
13104 * malloc/mtrace.c: Likewise.
13105 * misc/error.c: Likewise.
13106 * misc/syslog.c: Likewise.
13107 * stdio-common/asprintf.c: Likewise.
13108 * stdio-common/fxprintf.c: Likewise.
13109 * stdio-common/getw.c: Likewise.
13110 * stdio-common/isoc99_fscanf.c: Likewise.
13111 * stdio-common/isoc99_scanf.c: Likewise.
13112 * stdio-common/isoc99_vfscanf.c: Likewise.
13113 * stdio-common/isoc99_vscanf.c: Likewise.
13114 * stdio-common/isoc99_vsscanf.c: Likewise.
13115 * stdio-common/printf-prs.c: Likewise.
13116 * stdio-common/printf_fp.c: Likewise.
13117 * stdio-common/printf_fphex.c: Likewise.
13118 * stdio-common/printf_size.c: Likewise.
13119 * stdio-common/putw.c: Likewise.
13120 * stdio-common/scanf.c: Likewise.
13121 * stdio-common/sprintf.c: Likewise.
13122 * stdio-common/tmpfile.c: Likewise.
13123 * stdio-common/vfprintf.c: Likewise.
13124 * stdio-common/vfscanf.c: Likewise.
13125 * stdlib/strfmon_l.c: Likewise.
13126 * sunrpc/openchild.c: Likewise.
13127 * sunrpc/xdr_stdio.c: Likewise.
13128 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13129 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13130
13131 2012-05-24 Roland McGrath <roland@hack.frob.com>
13132
13133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13134
13135 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13136 in the third column, to generate for the shared library an IFUNC
13137 that uses _dl_vdso_vsym.
13138 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13139 * Makeconfig (object-suffixes-noshared): New variable.
13140
13141 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13142 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13143 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13144 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13145
13146 [BZ #14132]
13147 * include/sys/time.h (__gettimeofday): Remove macro.
13148 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13149 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13150 Remove INTDEF.
13151 (__gettimeofday): Add libc_hidden_def.
13152 (gettimeofday): Add libc_hidden_weak.
13153 * sysdeps/mach/gettimeofday.c: Likewise.
13154 * sysdeps/posix/gettimeofday.c: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13156 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13158 (__gettimeofday_internal): Remove strong_alias.
13159 (__gettimeofday): Add libc_hidden_def.
13160 (gettimeofday): Add libc_hidden_weak.
13161 * sysdeps/unix/syscalls.list (gettimeofday):
13162 Remove __gettimeofday_internal alias.
13163
13164 2012-05-24 Daniel Jacobowitz <drow@false.org>
13165 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #12495]
13168 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13169 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13170 (largebin_index_32_big): New.
13171 (largebin_index): Use it for 16-byte alignment.
13172 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13173 correction with front_misalign.
13174
13175 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13176
13177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13179 Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13183 Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13185 Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13191 Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13201 Likewise.
13202
13203 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13204 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13205
13206 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13207
13208 [BZ #10846]
13209 [BZ #14036]
13210 * math/libm-test.inc (exp_test): Add test from bug 14036.
13211 (pow_test): Add test from bug 10846.
13212
13213 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13214 and other flags.
13215 (special_function): Do not include flags in test name.
13216 (parse_args): Likewise.
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13220 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222
13223 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13224 exceptions.
13225 * math/libm-test.inc ("Philosophy"): Update comment about
13226 exception testing.
13227 (UNDERFLOW_EXCEPTION): New macro.
13228 (UNDERFLOW_EXCEPTION_OK): Likewise.
13229 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13230 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13231 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13232 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13233 (INVALID_EXCEPTION_OK): Update value.
13234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13235 (OVERFLOW_EXCEPTION_OK): Likewise.
13236 (IGNORE_ZERO_INF_SIGN): Likewise.
13237 (test_exceptions): Handle underflow exceptions.
13238 (acos_test): Update for underflow exception expectations.
13239 (cexp_test): Likewise.
13240 (clog_test): Likewise.
13241 (clog10_test): Likewise.
13242 (csqrt_test): Likewise.
13243 (ctan_test): Likewise.
13244 (ctanh_test): Likewise.
13245 (exp_test): Likewise.
13246 (exp10_test): Likewise.
13247 (exp2_test): Likewise.
13248 (expm1_test): Likewise.
13249 (fma_test): Likewise.
13250 (j0_test): Likewise.
13251 (jn_test): Likewise.
13252 (nexttoward_test): Likewise.
13253 (pow_test): Likewise.
13254 (scalbn_test): Likewise.
13255 (scalbln_test): Likewise.
13256 (tan_test): Likewise.
13257 (y1_test): Likewise.
13258 * sysdeps/i386/fpu/libm-test-ulps: Update.
13259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13260
13261 2012-05-23 David S. Miller <davem@davemloft.net>
13262
13263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13264 (__libc_sigaction): Remove unused local variables.
13265
13266 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13269
13270 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13271
13272 mktime: avoid signed integer overflow
13273 * time/mktime.c (__mktime_internal): Do not mishandle the case
13274 where diff == INT_MIN.
13275
13276 mktime: simplify computation of average
13277 * time/mktime.c (ranged_convert): Use new time_t_avg function
13278 instead of rolling our own (probably-slower) code.
13279
13280 mktime: do not assume signed right shift propagates sign bit
13281 * time/mktime.c (isdst_differ): New static function.
13282 (__mktime_internal): No need to normalize tm_isdst now.
13283 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13284 tm_isdst values.
13285
13286 mktime: merge another wrapv change from gnulib
13287 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13288 from some compilers.
13289
13290 mktime: remove incorrect attempt at unusual arithmetics
13291 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13292 The code didn't really work on such machines anyway.
13293 (TYPE_MINIMUM): Assume two's complement.
13294 (twos_complement_arithmetic): Verify that long_int and time_t
13295 are two's complement (or unsigned, in the latter case).
13296
13297 mktime: check signed shifts on long_int and time_t, too
13298 * time/mktime.c (SHR): Check that shifts work as desired
13299 on the types long_int and time_t too, as SHR is used on
13300 such types.
13301
13302 mktime: do not assume 'long' is wide enough
13303 * time/mktime.c (verify): Move decl up.
13304 (long_int): New type.
13305 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13306 to remove assumption in the code that 'long' is wide enough to
13307 store year values. This assumption is not true on x32 and on
13308 some non-glibc platforms.
13309
13310 mktime: merge wrapv change from gnulib
13311 * time/mktime.c (WRAPV): New macro.
13312 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13313 (guess_time_tm, __mktime_internal): Do not assume that signed
13314 integer overflow wraps around; modern compilers generate code
13315 where this assumption is no longer valid.
13316
13317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13318
13319 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13320 Replace "jmp L(pseudo_end)" with "ret".
13321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13322 Likewise.
13323
13324 2012-05-23 Andreas Jaeger <aj@suse.de>
13325
13326 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13327 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13328
13329 2012-05-23 Andreas Jaeger <aj@suse.de>
13330 Maximilian Attems <max@stro.at>
13331
13332 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13333 New macros.
13334
13335 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13338 code so that pseudo_end is just ret and the stack pointer is
13339 correct also for static library in error case.
13340
13341 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13342
13343 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13344 move to syscalls.list.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13349
13350 * manual/install.texi (Running make install): Do not mention Linux
13351 kernel version for which pt_chown is not needed.
13352 (Linux): Do not mention problems with nscd with 2.0 kernels.
13353 * INSTALL: Regenerated.
13354
13355 2012-05-23 Andreas Jaeger <aj@suse.de>
13356
13357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13358 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13359 macro.
13360 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13362 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13364 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13370 * sysdeps/unix/sysv/linux/bits/in.h
13371 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13372
13373 2012-05-22 Roland McGrath <roland@hack.frob.com>
13374
13375 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13376 (PREPARE_VERSION): Just use assert instead, it will be elided
13377 under [NDEBUG] anyway.
13378
13379 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * sysdeps/unix/sysv/linux/Makefile: Include
13382 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13383 (sysdep_routines): Remove sysctl.
13384 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13385 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13387 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13388 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13389
13390 2012-05-22 Andreas Jaeger <aj@suse.de>
13391
13392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13393 that pseudo_end is just ret and the stack pointer is correct also
13394 for static library in error case.
13395
13396 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13397
13398 [BZ #14122]
13399 * nss/nsswitch.c (defconfig_entries): New variable.
13400 (__nss_database_lookup): Don't leak defconfig entries.
13401 (nss_parse_service_list): Don't leak on error paths.
13402 (free_database_entries): New function.
13403 (free_defconfig): New function.
13404 (free_mem): Move common code to free_database_entries.
13405
13406 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13407
13408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13409 Add arch_prctl.
13410 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13411
13412 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13413 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13415 New macro.
13416 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13417 (INTERNAL_SYSCALL_TYPES): Likewise.
13418 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13419 (LOAD_REGS_TYPES_[1-6]): Likewise.
13420 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13421 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13422
13423 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13424
13425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13426 copysignl for GLIBC_2_0.
13427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13428 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13430 logbl for GLIBC_2_0.
13431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13432 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13433
13434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13438
13439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13440 Use "neg %eax".
13441
13442 * time/mktime.c: Update copyright years.
13443
13444 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13445
13446 mktime: merge comment-quoting-style change from gnulib
13447 * time/mktime.c: Quote 'like this' in comments.
13448 The GNU coding standards suggest that we no longer quote `like this',
13449 as "`" and "'" are typically rendered asymmetrically nowadays.
13450 The typical gnulib style is to quote 'like this' when quoting
13451 code, and "like this" when quoting English.
13452
13453 * time/mktime.c (compile-command): Add "-I.".
13454
13455 mktime: merge mktime-internal.h change from gnulib
13456 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13457
13458 mktime: merge time_r change from gnulib
13459 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13460
13461 mktime: merge DEBUG change from gnulib
13462 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13463 case system <time.h> has a #define.
13464
13465 mktime: merge <sys/types.h> change from gnulib
13466 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13467 since <time.t> is now guaranteed to define time_t.
13468
13469 mktime: merge HAVE_CONFIG_H change from gnulib
13470 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13471
13472 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13475 Use "neg %eax".
13476
13477 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13478 __rlim_t cast.
13479 (struct rusage): Use anonymous union to pad each field to
13480 __syscall_slong_t.
13481
13482 2012-05-21 David S. Miller <davem@davemloft.net>
13483
13484 * Makefules (o-iterator): Remove .s cases.
13485 (compile-command.s): Delete.
13486 (COMPILE.s): Delete.
13487 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13488
13489 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13490
13491 * configure.in (libc_cv_predef_stack_protector): Only consider
13492 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13493 * configure: Regenerated.
13494
13495 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13498 New macro. Use R*LP on int and pointer.
13499 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13503
13504 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13505 [__WORDSIZE_TIME64_COMPAT32] instead of
13506 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13507 (struct utmp): Likewise.
13508 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13509 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13510 Renamed to ...
13511 (__WORDSIZE_TIME64_COMPAT32): This.
13512 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13513 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13514 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13515 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13516 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13517 (__WORDSIZE_TIME64_COMPAT32): New macro.
13518
13519 2012-05-21 Andreas Jaeger <aj@suse.de>
13520
13521 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13522 only if [SHARED]. Add prototype for __wcschr_ia32.
13523
13524 2012-05-21 Roland McGrath <roland@hack.frob.com>
13525
13526 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13527 of %rbp unmolested in the jmp_buf while mangling the low bits.
13528 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13529 unmolested high bits of %rbp while demangling the low bits.
13530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13531
13532 2012-05-21 Andreas Jaeger <aj@suse.de>
13533
13534 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13535 * sunrpc/svc_simple.c: Use it for registerrpc.
13536 * sunrpc/xcrypt.c: Use it for passwd2des.
13537
13538 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13539
13540 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13543 Don't define if [__SYSCALL_WORDSIZE != 32].
13544 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13545 New macro.
13546
13547 2012-05-21 Bruno Haible <bruno@clisp.org>
13548 Andreas Jaeger <aj@suse.de>
13549
13550 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13551 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13552 inptr and inend for must_buffer_ch.
13553 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13554 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13555 * stdio-common/Makefile (tests): Remove bug15.
13556 (bug15-ENV): Remove macro.
13557 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13558 anymore.
13559
13560 2012-05-19 Andreas Jaeger <aj@suse.de>
13561 Roland McGrath <roland@hack.frob.com>
13562
13563 * manual/contrib.texi: Completely rewritten. It contains now an
13564 alphabetical list of contributors and their contributions.
13565
13566 2012-05-21 Richard Henderson <rth@twiddle.net>
13567
13568 * misc/getauxval.c (__getauxval): Use unsigned long int.
13569 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13570 (getauxval): Use unsigned long int.
13571
13572 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13575
13576 2012-05-21 Roland McGrath <roland@hack.frob.com>
13577
13578 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13579 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13580 __alignof__ (long double).
13581
13582 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13583
13584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13585
13586 2012-05-20 Richard Henderson <rth@twiddle.net>
13587
13588 * misc/getauxval.c: New file.
13589 * misc/sys/auxv.h: New file.
13590 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13591 (routines): Add getauxval.
13592 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13594 * elf/dl-sysdep.c (_dl_auxv): Remove.
13595 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13596 * elf/dl-support.c (_dl_auxv): New variable.
13597 (_dl_aux_init): Initialize it.
13598 * manual/startup.texi (Auxiliary Vector): New node.
13599 * sysdeps/generic/bits/hwcap.h: New file.
13600 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13601 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13602 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13603 * sysdeps/sparc/sysdep.h: ... here. Include it.
13604 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13607 Update.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13616
13617 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618
13619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13620
13621 2012-05-19 David S. Miller <davem@davemloft.net>
13622
13623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624
13625 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13626
13627 [BZ #14123]
13628 * math/s_ccosh.c: Include <float.h>
13629 (__ccosh): Avoid internal overflow calculating sinh and cosh
13630 values before multiplying by sin and cos values.
13631 * math/s_ccoshf.c: Likewise.
13632 * math/s_ccoshl.c: Likewise.
13633 * math/s_csin.c: Likewise.
13634 * math/s_csinf.c: Likewise.
13635 * math/s_csinl.c: Likewise.
13636 * math/s_csinh.c: Likewise.
13637 * math/s_csinhf.c: Likewise.
13638 * math/s_csinhl.c: Likewise.
13639 * math/libm-test.inc (ccos_test): Add more tests.
13640 (ccosh_test): Likewise.
13641 (csin_test): Likewise.
13642 (csinh_test): Likewise.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645
13646 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13649 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13650
13651 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13652
13653 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13654
13655 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13656 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13657 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13658 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13659 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13660 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13661 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13662 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13663 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13664 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13665 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13666 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13667 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13668 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13669 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13670 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13671 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13672 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13673 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13674 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13675 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13676 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13677 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13678 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13679 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13680 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13681 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13682 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13683 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13684 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13685 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13686
13687 2012-05-18 Andreas Jaeger <aj@suse.de>
13688
13689 * csu/.gitignore: Delete.
13690
13691 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13692
13693 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13694 (timex): Use __syscall_slong_t.
13695
13696 2012-05-18 Andreas Jaeger <aj@suse.de>
13697 Carlos O'Donell <carlos_odonell@mentor.com>
13698
13699 * manual/install.texi (Configuring and compiling): Update
13700 description about files modified in the source directory.
13701 * INSTALL: Regenerated.
13702
13703 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13706 value. Use "or" to set return value to -1.
13707 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13708 negate return value.
13709
13710 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13711
13712 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13713 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13714 failure if the compiler has Graphite support disabled.
13715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13716 Likewise.
13717 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13718 CFLAGS-memmove.c): Likewise.
13719 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13720 Likewise.
13721
13722 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13723
13724 * sysdeps/x86_64/x32/_itoa.h: New file.
13725
13726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13727 getdents system call only if kernel and user dirents have the
13728 same d_ino and d_off.
13729
13730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13731 LLONG_MAX != LONG_MAX.
13732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13733 (_fitoa_word): Likewise.
13734
13735 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13736 years.
13737 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13739 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13740
13741 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13742 include <bits/wordsize.h>. Check __x86_64__ instead of
13743 __WORDSIZE.
13744 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13745 if __x86_64__ is defined. Use anonymous union on fpstate.
13746
13747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13748 anonymous union.
13749
13750 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13751
13752 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13753 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13755 Refer to _rtld_local_ro instead of _rtld_global_ro.
13756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13757 Likewise.
13758 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13759 Likewise.
13760 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13761 Likewise.
13762 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13763 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13764 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13765
13766 * sysdeps/powerpc/powerpc32/dl-machine.c
13767 (__elf_machine_runtime_setup) [PROF]: Don't reference
13768 _dl_prof_resolve.
13769
13770 2012-05-18 Andreas Jaeger <aj@suse.de>
13771
13772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13773 function only available for GCCs before 3.4 since GCC 3.4
13774 introduced a builtin.
13775 (lrint): Likewise.
13776 (llrintf): Likewise.
13777 (llrint): Likewise.
13778 (fmaxf): Likewise.
13779 (fmax): Likewise.
13780 (fminf): Likewise.
13781 (fmin): Likewise.
13782 (rint): Likewise.
13783 (rintf): Likewise.
13784 (nearbyint): Likewise.
13785 (nearbyintf): Likewise.
13786 (ceil): Likewise.
13787 (ceilf): Likewise.
13788 (floor): Likewise.
13789 (floorf): Likewise.
13790
13791 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13792
13793 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13794 on both fields and cast pointer to __syscall_ulong_t.
13795
13796 * bits/types.h (__fsword_t): New type.
13797 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13798 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13800 (__FSWORD_T_TYPE): Likewise.
13801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13802 (__FSWORD_T_TYPE): Likewise.
13803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13804 (__FSWORD_T_TYPE): Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13806 (__FSWORD_T_TYPE): Likewise.
13807 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13808 __SWORD_TYPE with __fsword_t.
13809 (statfs64): Likewise.
13810
13811 2012-05-17 David S. Miller <davem@davemloft.net>
13812
13813 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13814
13815 2012-05-17 Andreas Jaeger <aj@suse.de>
13816
13817 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13818 warning.
13819
13820 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13823
13824 2012-05-17 Andreas Jaeger <aj@suse.de>
13825
13826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13827 when it is used.
13828
13829 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13830
13831 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13832
13833 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13836 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13837
13838 2012-05-17 Andreas Jaeger <aj@suse.de>
13839 Carlos O'Donell <carlos_odonell@mentor.com>
13840
13841 [BZ #14059]
13842 * sysdeps/x86_64/multiarch/init-arch.h
13843 (bit_YMM_Usable): Rename to...
13844 (bit_AVX_Usable): ... this.
13845 (bit_FMA4_Usable): New macro.
13846 (bit_XMM_state): New macro.
13847 (bit_YMM_state): New macro.
13848 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13849 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13850 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13851 (CPUID_OSXSAVE): New macro.
13852 (CPUID_AVX): New macro.
13853 (CPUID_FMA4): New macro.
13854 (index_YMM_Usable): Rename to...
13855 (index_AVX_Usable): ... this.
13856 (HAS_AVX): Use HAS_ARCH_FEATURE.
13857 (HAS_FMA4): Likewise.
13858 (HAS_YMM_USABLE): Remove.
13859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13860 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13861 are present.
13862 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13863 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13864 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13865 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13866 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13867
13868 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13869
13870 * math/libm-test.c: Support platforms without multiple rounding modes.
13871 * math/bug-nextafter.c: Support platforms without FP exceptions.
13872 * math/bug-nexttoward.c: Likewise.
13873 * math/test-fenv.c: Likewise.
13874 * math/test-misc.c: Likewise.
13875 * stdlib/bug-getcontext.c: Likewise.
13876
13877 2012-05-17 Andreas Jaeger <aj@suse.de>
13878
13879 * manual/examples/search.c (critter_cmp): Change signature to
13880 avoid warnings.
13881 * manual/string.texi (Collation Functions): Likewise.
13882
13883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13884
13885 * bits/types.h: Fold copyright years.
13886 * bits/typesizes.h: Likewise.
13887 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13891 * time/time.h: Likewise.
13892
13893 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13894
13895 [BZ #208]
13896 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13897 in instead of returning them. Return void.
13898 (__libc_mallinfo): Accumulate over all arenas.
13899 (__malloc_stats): Adjust for change in int_mallinfo interface.
13900
13901 2012-05-16 Roland McGrath <roland@hack.frob.com>
13902
13903 [BZ #10375]
13904 * configure.in (NM): Add AC_CHECK_TOOL for it.
13905 (libc_extra_cflags): New substituted variable.
13906 Check for -fstack-protector being used implicitly.
13907 * configure: Regenerated.
13908 * config.make.in (config-extra-cflags): New variable,
13909 gets @libc_extra_cflags@.
13910 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13911
13912 [BZ #10375]
13913 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13914 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13915 * configure: Regenerated.
13916 * config.make.in (CPPUNDEFS): New substituted variable.
13917 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13918 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13919 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13920
13921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13922
13923 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13924 (mq_attr): Use __syscall_slong_t.
13925
13926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13927
13928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13929 Check __x86_64__ instead of __WORDSIZE.
13930 (_STAT_VER_LINUX): Likewise.
13931 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13932 __syscall_ulong_t and __syscall_slong_t.
13933 (stat64): Likewise.
13934
13935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13938
13939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13942
13943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13946 __syscall_ulong_t.
13947
13948 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13949 include <bits/wordsize.h>. Check __x86_64__ instead of
13950 __WORDSIZE.
13951 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13952 defined.
13953 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13954
13955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13956 include <bits/wordsize.h>. Check __x86_64__ instead of
13957 __WORDSIZE.
13958 (user_regs_struct): Use "__extension__ unsigned long long"
13959 instead of "unsigned long" if __x86_64__ is defined.
13960 (user): Likewise. Pad after pointer field if __ILP32__ is
13961 defined.
13962
13963 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13964
13965 * configure.in (makeinfo): Require version 4.5 or later. Allow
13966 versions 5 to 9.
13967 * configure: Regenerated.
13968 * manual/install.texi (texinfo): Increase version requirement to
13969 4.5 or later.
13970 * INSTALL: Regenerated.
13971
13972 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13973
13974 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13975
13976 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13977
13978 * sysdeps/x86_64/x32/ffs.c: New file.
13979
13980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13981 __syscall_ulong_t.
13982 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13983 defined. Use __syscall_ulong_t.
13984 (shminfo): Use __syscall_ulong_t.
13985 (shm_info): Likewise.
13986
13987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13988 __syscall_ulong_t.
13989
13990 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13991 <bits/wordsize.h>.
13992 (msgqnum_t): Use __syscall_ulong_t.
13993 (msglen_t): Likewise.
13994 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13995 __syscall_ulong_t.
13996
13997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13998 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13999
14000 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14001
14002 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14003 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14004
14005 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14006 __syscall_slong_t.
14007
14008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14009 include <bits/wordsize.h>. Check __x86_64__ instead of
14010 __WORDSIZE.
14011
14012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14013 "unsigned long long int" if __x86_64__ is defined.
14014 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14015
14016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14018 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14019
14020 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14021 <stdint.h>.
14022 (GET_PC): Cast to uintptr_t first.
14023 (GET_FRAME): Likewise.
14024 (GET_STACK): Likewise.
14025
14026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14055
14056 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14057
14058 * Makerules (+depfiles): Also collect depfiles from .oS in
14059 $(extra-objs).
14060 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14061 .oS, $(libnldbl-routines)).
14062
14063 * Makerules (native-compile-mkdep-flags): Define.
14064 * sunrpc/Makefile (extra-objs): Add $(addprefix
14065 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14066 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14067 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14068 calling $(make-target-directory).
14069
14070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14071
14072 * bits/types.h (__snseconds_t): Removed.
14073 * time/time.h (struct timespec): Replace __snseconds_t with
14074 __syscall_slong_t.
14075 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14076 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14077 Likewise.
14078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14079 (__SNSECONDS_T_TYPE): Likewise.
14080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14081 (__SNSECONDS_T_TYPE): Likewise.
14082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14083 (__SNSECONDS_T_TYPE): Likewise.
14084
14085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 * sysdeps/mach/hurd/bits/typesizes.h
14088 (__SYSCALL_SLONG_TYPE): New macro.
14089 (__SYSCALL_ULONG_TYPE): Likewise.
14090
14091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 * bits/types.h (__syscall_slong_t): New type.
14094 (__syscall_ulong_t): Likewise.
14095
14096 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14097 (__SYSCALL_ULONG_TYPE): Likewise.
14098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14099 (__SYSCALL_SLONG_TYPE): Likewise.
14100 (__SYSCALL_ULONG_TYPE): Likewise.
14101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14102 (__SYSCALL_SLONG_TYPE): Likewise.
14103 (__SYSCALL_ULONG_TYPE): Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14105 (__SYSCALL_SLONG_TYPE): Likewise.
14106 (__SYSCALL_ULONG_TYPE): Likewise.
14107
14108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14109
14110 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14111 Add sigaltstack-offsets.sym.
14112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14113 <sigaltstack-offsets.h>.
14114 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14115 longjmp_msg pointer.
14116 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14117 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14118 signal stack.
14119 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14120
14121 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14122
14123 * elf/stackguard-macros.h: Remove file.
14124 * sysdeps/generic/stackguard-macros.h: New file.
14125 * sysdeps/i386/stackguard-macros.h: Likewise.
14126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14132 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14133 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14134 <elf/stackguard-macros.h>.
14135
14136 [BZ #14109]
14137 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14138 __aligned__ in attribute.
14139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14140 (gregset_t): Likewise.
14141
14142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14145 * sysdeps/x86_64/64/Implies-after: Here. New file.
14146 * sysdeps/x86_64/x32/Implies-after: New file.
14147
14148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14149
14150 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14151 and access return value for _dl_profile_fixup. Use R10_LP to
14152 load frame size.
14153
14154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14157
14158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14159
14160 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14161 * sysdeps/x86_64/x32/sysdep.h: New file.
14162
14163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14166 * sysdeps/x86_64/setjmp.S: Likewise.
14167
14168 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14169
14170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14172 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14174 remove unused global constant.
14175
14176 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14177
14178 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14179 include of <not-cancel.h>.
14180
14181 2012-05-15 Roland McGrath <roland@hack.frob.com>
14182
14183 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14184
14185 2012-05-15 Jeff Law <law@redhat.com>
14186 Andreas Jaeger <aj@suse.de>
14187
14188 [BZ #13594]
14189 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14190 out from...
14191 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14192 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14194 code changing __hst_map_handle.map.
14195
14196 2012-05-15 Roland McGrath <roland@hack.frob.com>
14197
14198 * configure.in (sysnames): Look for Implies-before and Implies-after
14199 files.
14200 * configure: Regenerated.
14201
14202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14205 8-byte data alignment with LP_SIZE alignment.
14206
14207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14208
14209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14210 into R10_LP.
14211
14212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14215
14216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14219 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14221 Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14223
14224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14227 (stackinfo_sub_sp): Likewise.
14228
14229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14232 RAX_LP.
14233
14234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14237 into R*_LP.
14238
14239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14240
14241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14242 sizes into R*_LP.
14243
14244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14245
14246 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14247
14248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14251 into R11_LP and load __x86_64_shared_cache_size_half into
14252 R8_LP.
14253
14254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14257 R8_LP.
14258
14259 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14260
14261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14262 logb for POWER7.
14263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14264 logbf for POWER7.
14265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14266 logbl for POWER7.
14267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14268 powerpc32/power7/fpu/s_logb.c via #include.
14269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14270 powerpc32/power7/fpu/s_logbf.c via #include.
14271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14272 powerpc32/power7/fpu/s_logbl.c via #include.
14273
14274 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14275
14276 * README.libm: Remove file.
14277
14278 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14279
14280 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14281 count for x32. Use R*_LP and omit operand-size suffix.
14282
14283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14286 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14287 * sysdeps/x86_64/x32/shlib-versions: New file.
14288
14289 2012-05-14 Roland McGrath <roland@hack.frob.com>
14290
14291 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14292 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14293 Use _dl_fatal_printf instead.
14294
14295 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14296
14297 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14298 set if not set by the user. Do not allow for being unset.
14299 * sysdeps/unix/sysv/linux/configure: Regenerated.
14300
14301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14304 the `q' suffix from lea and replace .quad with ASM_ADDR.
14305
14306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14307
14308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14309 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14310 instead of $17.
14311 (PTR_DEMANGLE): Likewise.
14312
14313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14314
14315 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14316 (LP_OP): Likewise.
14317 (ASM_ADDR): Likewise.
14318 (RAX_LP): Likewise.
14319 (RBP_LP): Likewise.
14320 (RBX_LP): Likewise.
14321 (RCX_LP): Likewise.
14322 (RDI_LP): Likewise.
14323 (RSI_LP): Likewise.
14324 (RSP_LP): Likewise.
14325 (R8_LP): Likewise.
14326 (R9_LP): Likewise.
14327 (R10_LP): Likewise.
14328 (R10_LP): Likewise.
14329 (R11_LP): Likewise.
14330 (R12_LP): Likewise.
14331 (R13_LP): Likewise.
14332 (R14_LP): Likewise.
14333 (R15_LP): Likewise.
14334
14335 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * sysdeps/x86_64/x32/dl-machine.h: New file.
14338
14339 2012-05-14 Andreas Jaeger <aj@suse.de>
14340
14341 * manual/Makefile (subdir): Remove export of subdir.
14342 (all): Remove target.
14343 (.PHONY): Remove all from list.
14344 (mkinstalldirs): Remove.
14345 (.PHONY): Remove installdirs from list.
14346 ($(inst_infodir)/libc.info): Use make-target-directory.
14347 (installdirs): Remove.
14348 (subdir_%): Remove.
14349 (glibc-targets): Remove.
14350 (lib): Remove.
14351 (stubs): Remove.
14352 ($(objpfx)stubs ../po/manual.pot): Remove.
14353 ($(objpfx)stamp%): Remove.
14354 (make-target-directory): Remove.
14355 (subdir_install): Remove.
14356 (routines): Remove.
14357 (aux): Remove.
14358 (sources): Remove.
14359 (objects): Remove.
14360 (headers): Remove.
14361
14362 [BZ #13750]
14363 * manual/.gitignore: Remove, it's not needed anymore.
14364 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14365 all files in it.
14366 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14367 directory.
14368 (texis): Renamed to $(objpfx)texis.
14369 (texis-path): New, contains path to generated files.
14370 (chapters.%): Use texis-path for complete path, add extra argument
14371 libc-texinfo.sh.
14372 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14373 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14374 (summary,texi, stamp-summary): Use complete path of
14375 files. Generate files in build dir.
14376 (dir-add.texi): Build in build dir.
14377 (libm-err.texi,stamp-libm-err): Likewise.
14378 (version.texi, stamp-version): Likewise.
14379 (.%c.texi): Likewise.
14380 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14381 (mostlyclean): Remove target.
14382 (realclean): Remove target.
14383 (generated): Add new variable with contents from mostlyclean and
14384 realclean, remove entries duplicated in common-mostlyclean, add
14385 stamp-libm-err and stamp-version.
14386 (generated-dirs): Add libc directory.
14387 ($(inst_infodir)/libc.info): Install files from build dir.
14388
14389 * manual/install.texi (Configuring and compiling): Adjust since
14390 the info files are not part of the tar ball anymore.
14391
14392 2012-05-14 Andreas Jaeger <aj@suse.de>
14393
14394 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14395 variable.
14396
14397 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14398
14399 [BZ #13717]
14400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14401 to 2.2.0 where earlier.
14402 * sysdeps/unix/sysv/linux/configure: Regenerated.
14403 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14404 Remove conditional code.
14405 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14406 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14407 Remove conditional code.
14408 [!__NR_lchown]: Likewise.
14409 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14410 [__NR_lchown]: Likewise.
14411 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14412 comment referencing __ASSUME_LCHOWN_SYSCALL.
14413 * sysdeps/unix/sysv/linux/i386/sigaction.c
14414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14416 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14417 Remove conditional code.
14418 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14419 (__protocol_available): Remove #if 0 code.
14420 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14421 conditional code.
14422 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14423 * sysdeps/unix/sysv/linux/kernel-features.h
14424 (__ASSUME_GETCWD_SYSCALL): Don't define.
14425 (__ASSUME_REALTIME_SIGNALS): Likewise.
14426 (__ASSUME_PREAD_SYSCALL): Likewise.
14427 (__ASSUME_PWRITE_SYSCALL): Likewise.
14428 (__ASSUME_POLL_SYSCALL): Likewise.
14429 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14430 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14431 non-SPARC.
14432 (__ASSUME_SIOCGIFNAME): Don't define.
14433 (__ASSUME_MSG_NOSIGNAL): Likewise.
14434 (__ASSUME_SENDFILE): Define unconditionally.
14435 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14436 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14437 conditional code.
14438 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14440 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14441 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14443 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14444 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14470 Remove conditional code.
14471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14476 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14477 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14478 Remove conditional code.
14479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14480 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14481 Remove conditional code.
14482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14483 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14484 Remove conditional code.
14485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14486 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14487 Remove conditional code.
14488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14489 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14490 Remove conditional code.
14491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14492 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14495 * sysdeps/unix/sysv/linux/sigaction.c
14496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14498 * sysdeps/unix/sysv/linux/sigpending.c
14499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14501 * sysdeps/unix/sysv/linux/sigprocmask.c
14502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14504 * sysdeps/unix/sysv/linux/sigsuspend.c
14505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14508 (__libc_missing_rt_sigs): Remove.
14509 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14510 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14511 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14512 Remove conditional code.
14513 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14514 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14515 return 1.
14516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14517 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14519 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14520
14521 2012-05-14 Andreas Jaeger <aj@suse.de>
14522
14523 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14524 it's not used in glibc.
14525 (__coshm1): Likewise.
14526 (__acosh1p): Likewise.
14527 (__sgn): Likewise.
14528
14529 * manual/string.texi (Copying and Concatenation): Add missing
14530 variable in concat example.
14531 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14532
14533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14534
14535 [BZ #14103]
14536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14537 __builtin_clzl with __builtin_clzll.
14538
14539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14540
14541 [BZ #14104]
14542 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14543 libc_freeres_ptr.
14544
14545 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14546
14547 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14548 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14549 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14551
14552 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14553
14554 * NEWS: Update ia64 info.
14555
14556 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14557
14558 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14559 used as bcopy.
14560
14561 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14562
14563 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14564 * sysdeps/unix/syscalls.list (dup3): Likewise.
14565 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14566 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14567
14568 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14569
14570 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14571 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14572
14573 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14576 thread pointer.
14577 (TLS_IE): Use mov/add instead of movq/addq to load thread
14578 pointer.
14579 (TLS_GD_PREFIX): New.
14580 (TLS_GD): Use it.
14581
14582 2012-05-11 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14585 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14586 (_FPU_SETCW): Likewise.
14587
14588 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14589
14590 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14591 is 32-byte aligned.
14592
14593 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14594
14595 [BZ #11837]
14596 * iconvdata/gb18030.c: Update tables.
14597 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14598 characters specially.
14599 (BODY for TO_LOOP): Add encoding of missing ranges.
14600
14601 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14602
14603 [BZ #13673]
14604 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14605 * sysdeps/mach/hurd/dup3.c: Likewise.
14606 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14607 * sysdeps/powerpc/memmove.c:: Likewise.
14608
14609 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14612 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14613
14614 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * elf/elf.h (R_X86_64_RELATIVE64): New.
14617 (R_X86_64_NUM): Updated.
14618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14619 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14620 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14621 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14622 tst-quad1pie tst-quad2pie
14623 (modules-names): Add tst-quadmod1 tst-quadmod2.
14624 ($(objpfx)tst-quad1): New dependency.
14625 ($(objpfx)tst-quad2): Likewise.
14626 ($(objpfx)tst-quad1pie): Likewise.
14627 ($(objpfx)tst-quad2pie): Likewise.
14628 * sysdeps/x86_64/tst-quad1.c: New file.
14629 * sysdeps/x86_64/tst-quad1pie.c: New file.
14630 * sysdeps/x86_64/tst-quad2.c: Likewise.
14631 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14632 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14633 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14634 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14635 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14636
14637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14638
14639 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14640 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14641 * streams/stropts.h (t_scalar_t): Define type.
14642
14643 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14644 (_PATH_PRESERVE): Set to "/var/lib".
14645 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14646
14647 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14648 instead of int.
14649
14650 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14651 if __dir_mkfile succeeded.
14652
14653 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14654 checking for _hurd_dtablesize. Unlock it right after having
14655 finished _hurd_dtable allocation.
14656
14657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14658
14659 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14660 * sysdeps/mach/hurd/configure: Regenerated.
14661 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14662 special-casing to...
14663 * sysdeps/gnu/configure.in: ... this new file.
14664 * sysdeps/unix/sysv/linux/configure: Regenerated.
14665 * sysdeps/gnu/configure: New generated file.
14666
14667 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14668 for Linux: use nsec instead of usec, as well as:
14669 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14670 members of type struct timespec.
14671 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14672 New macros.
14673 (struct stat64): Likewise.
14674 (_STATBUF_ST_NSEC): New macro.
14675 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14676
14677 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14678 __strtoul_internal rather than strtoul.
14679
14680 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14681
14682 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14683 and reject them.
14684
14685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14686
14687 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14688 which preserves existing values.
14689 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14690
14691 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14692
14693 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14694 TIMEOUT values. Return EINVAL for NFDS values either negative or
14695 greater than FD_SETSIZE.
14696
14697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14698
14699 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14700 allocated, call __vm_protect to finish enabling the existing space, and
14701 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14702 allocate the remainder.
14703
14704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14705
14706 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14707 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14708
14709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14710
14711 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14712 sysdeps/mach/hurd/readlink.c.
14713
14714 * posix/tst-sysconf.c (posix_options): Only use
14715 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14716 _POSIX_SYNCHRONIZED_IO when they are defined
14717 * sysdeps/mach/hurd/bits/posix_opt.h:
14718 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14719 (_XOPEN_REALTIME): Undefine macro.
14720 (_XOPEN_REALTIME_THREADS): Undefine macro.
14721 (_XOPEN_SHM): Undefine macro.
14722 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14723 macro to -1.
14724 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14725 macro to -1.
14726 (_POSIX_ASYNC_IO): Undefine macro.
14727 (_POSIX_PRIORITIZED_IO): Undefine macro.
14728 (_POSIX_SPIN_LOCKS): Define macro to -1.
14729
14730 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14731 SA_NODEFER, SA_RESETHAND.
14732 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14733 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14734 F_DUPFD_CLOEXEC.
14735
14736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14737
14738 * elf/Makefile (pldd-modules): Define unconditionally.
14739
14740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14741
14742 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14743
14744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14745
14746 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14747 Return ENOENT when name is empty.
14748 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14749
14750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14751
14752 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14753
14754 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14755
14756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757
14758 Fix mlock in all cases except non-readable pages.
14759 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14760 instead of VM_PROT_ALL as parameter to __vm_wire function.
14761
14762 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14763 (__mkdir): When path is `/', just fail with EEXIST.
14764 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14765
14766 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14767
14768 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14769 <sys/uio.h> (for writev).
14770 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14771 and <sys/param.h> (for MIN).
14772
14773 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14774
14775 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14776 REQUESTED_TIME. Properly set the remaining time and return EINTR
14777 if interrupted.
14778
14779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14780
14781 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14782 Depend on against $(link-rpcuserlibs).
14783
14784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14785
14786 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14787 (__libc_stack_end): Do not use attribute_relro.
14788 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14789 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14790 to libthread-provided value.
14791 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14792 attribute_relro.
14793
14794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14795
14796 [BZ #3748]
14797 * bits/libc-lock.h (__libc_once_get): New macro.
14798 * sysdeps/mach/bits/libc-lock.h: Likewise.
14799 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14801 instead of using implementation details.
14802
14803 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14804 * libio/freopen.c: Likewise.
14805 * libio/freopen64.c: Likewise.
14806 * misc/syslog.c: Likewise.
14807 * nscd/connections.c: Likewise.
14808 * nscd/netgroupcache.c: Likewise.
14809 * sysdeps/posix/getcwd.c: Likewise.
14810
14811 2012-05-10 Roland McGrath <roland@hack.frob.com>
14812
14813 * math/w_ilogbf.c: Add #include <limits.h>.
14814
14815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14816
14817 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14818 path instead of returning without unlocking.
14819
14820 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14821 immediate-write ioctls.
14822 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14823
14824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14825
14826 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14827 __builtin_frame_address instead of making assumptions about the
14828 location of the return address relative to DATA. Force early load of
14829 the return address.
14830 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14831 __builtin_frame_address.
14832
14833 dup3 for GNU Hurd.
14834 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14835 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14836 implement dup3 and do some further code clean-ups.
14837 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14839
14840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14841
14842 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14843
14844 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14845 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14846 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14847 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14848 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14849 d->port.lock.
14850
14851 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14852 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14853 when handler == SIG_ERR, not when handler != SIG_ERR.
14854
14855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14856
14857 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14858 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14859 definitions.
14860
14861 accept4 for GNU Hurd.
14862 * include/sys/socket.h (__libc_accept4): New prototype.
14863 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14864 to implement __libc_accept4.
14865 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14866 __libc_accept4.
14867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14868
14869 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14870 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14871 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14872 signal-defines.sym.
14873
14874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14875
14876 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14877
14878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14879
14880 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14881 assertion on O_CLOEXEC flag.
14882 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14883 * hurd/intern-fd.c: Likewise.
14884 * hurd/port2fd.c: Likewise.
14885
14886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14887
14888 [BZ #3906]
14889 * bits/in.h (IPV6_PKTINFO): Define new macro.
14890 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14891
14892 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893
14894 [BZ #13954]
14895 [BZ #13955]
14896 [BZ #13956]
14897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14899 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14903 * math/libm-test.inc (logb_test) : Additional logb tests.
14904
14905 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14906 Andreas Jaeger <aj@suse.de>
14907
14908 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14909 * configure: Regenerated.
14910 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14911 * config.make.in (link-obsolete-rpc): New substituted variable.
14912 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14913 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14914 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14915 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14916 so that libc.a contains the symbols.
14917 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14918 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14919 * sunrpc/auth_none.c: Likewise.
14920 * sunrpc/auth_unix.c: Likewise.
14921 * sunrpc/authdes_prot.c: Likewise.
14922 * sunrpc/authuxprot.c: Likewise.
14923 * sunrpc/clnt_gen.c: Likewise.
14924 * sunrpc/clnt_perr.c: Likewise.
14925 * sunrpc/clnt_raw.c: Likewise.
14926 * sunrpc/clnt_simp.c: Likewise.
14927 * sunrpc/clnt_tcp.c: Likewise.
14928 * sunrpc/clnt_udp.c: Likewise.
14929 * sunrpc/clnt_unix.c: Likewise.
14930 * sunrpc/des_crypt.c: Likewise.
14931 * sunrpc/des_soft.c: Likewise.
14932 * sunrpc/get_myaddr.c: Likewise.
14933 * sunrpc/key_call.c: Likewise.
14934 * sunrpc/key_prot.c: Likewise.
14935 * sunrpc/netname.c: Likewise.
14936 * sunrpc/pm_getmaps.c: Likewise.
14937 * sunrpc/pm_getport.c: Likewise.
14938 * sunrpc/pmap_clnt.c: Likewise.
14939 * sunrpc/pmap_prot.c: Likewise.
14940 * sunrpc/pmap_prot2.c: Likewise.
14941 * sunrpc/pmap_rmt.c: Likewise.
14942 * sunrpc/publickey.c: Likewise.
14943 * sunrpc/rpc_cmsg.c: Likewise.
14944 * sunrpc/rpc_common.c: Likewise.
14945 * sunrpc/rpc_dtable.c: Likewise.
14946 * sunrpc/rpc_prot.c: Likewise.
14947 * sunrpc/rpc_thread.c: Likewise.
14948 * sunrpc/rtime.c: Likewise.
14949 * sunrpc/svc.c: Likewise.
14950 * sunrpc/svc_auth.c: Likewise.
14951 * sunrpc/svc_raw.c: Likewise.
14952 * sunrpc/svc_run.c: Likewise.
14953 * sunrpc/svc_tcp.c: Likewise.
14954 * sunrpc/svc_udp.c: Likewise.
14955 * sunrpc/svc_unix.c: Likewise.
14956 * sunrpc/svcauth_des.c: Likewise.
14957 * sunrpc/xcrypt.c: Likewise.
14958 * sunrpc/xdr.c: Likewise.
14959 * sunrpc/xdr_array.c: Likewise.
14960 * sunrpc/xdr_float.c: Likewise.
14961 * sunrpc/xdr_intXX_t.c: Likewise.
14962 * sunrpc/xdr_mem.c: Likewise.
14963 * sunrpc/xdr_rec.c: Likewise.
14964 * sunrpc/xdr_ref.c: Likewise.
14965 * sunrpc/xdr_sizeof.c: Likewise.
14966 * sunrpc/xdr_stdio.c: Likewise.
14967
14968 2012-05-10 Roland McGrath <roland@hack.frob.com>
14969
14970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14971 change. Update copyright years.
14972
14973 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14974
14975 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14976
14977 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14978 Joseph Myers <joseph@codesourcery.com>
14979 Paul Pluzhnikov <ppluzhnikov@google.com>
14980
14981 [BZ #14012]
14982 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14983 requiring rpcgen.
14984 [cross-compiling] (extra-libs): Likewise.
14985 [cross-compiling] (extra-libs-others): Likewise.
14986 [cross-compiling] (librpcsvc-routines): Likewise.
14987 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14988 [cross-compiling] (omit-deps): Likewise.
14989 (sunrpc-CPPFLAGS): New variable.
14990 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14991 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14992 (cross-rpcgen-objs): New variable.
14993 (extra-objs): Append $(cross-rpcgen-objs).
14994 ($(cross-rpcgen-objs)): New rule.
14995 ($(objpfx)cross-rpcgen): Likewise.
14996 (rpcgen-cmd): Define to use $(built-program-file). Expand
14997 comment.
14998 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14999 ($(objpfx)x%.stmp): Likewise.
15000 * sunrpc/proto.h [IS_IN_build] (_): Define.
15001 [IS_IN_build] (_libc_intl_domainname): Likewise.
15002
15003 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15004
15005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15006 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15007 and R_X86_64_TPOFF64.
15008
15009 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15010
15011 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15012 sysdeps/unix/sysv/syscalls.list.
15013 (stime): Likewise.
15014 (utime): Likewise.
15015 * sysdeps/unix/sysv/syscalls.list: Remove file.
15016
15017 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15018
15019 [BZ #3440]
15020 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15021 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15022 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15023 (__LC_IDENTIFICATION): Make these macros useful in #if
15024 expressions, as required by C99.
15025
15026 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15029 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15030 after this.
15031
15032 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15033
15034 * stdlib/longlong.h: Updated from GCC.
15035
15036 2012-05-09 Andreas Jaeger <aj@suse.de>
15037
15038 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15039 default is first entry.
15040 (run_mode): Set type.
15041 (main): Remove informal message about syslog.
15042 (options): Fix typo.
15043
15044 [BZ #14053]
15045 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15046 to asm.
15047 (lrint): Likewise.
15048 (llrintf): Likewise.
15049 (llrint): Likewise.
15050 (rint): Likewise.
15051 (rintf): Likewise.
15052 (nearbyint): Likewise.
15053 (nearbyintf): Likewise.
15054
15055 2012-05-09 Andreas Jaeger <aj@suse.de>
15056 Pedro Alves <palves@redhat.com>
15057
15058 * nscd/nscd.c (run_mode): Use enum.
15059 (main): Cleanup coding style issue.
15060
15061 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15062 Andreas Jaeger <aj@suse.de>
15063
15064 * nscd/nscd.c (go_background): Replaced with...
15065 (run_mode): ... this.
15066 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15067 (options): Add -F --foreground.
15068 (main): Implement it.
15069 (parse_opt): Parse it.
15070
15071 2012-05-09 Andreas Jaeger <aj@suse.de>
15072
15073 [BZ #14083]
15074 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15075 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15076 -Wconversion warning.
15077 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15078 Likewise.
15079
15080 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15081
15082 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15083 == 0.
15084 (LC_ALL): Use macro-int-constant.
15085 (LC_COLLATE): Likewise.
15086 (LC_CTYPE): Likewise.
15087 (LC_MESSAGES): Likewise.
15088 (LC_MONETARY): Likewise.
15089 (LC_NUMERIC): Likewise.
15090 (LC_TIME): Likewise.
15091 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15092 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15094 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15095 Specify type.
15096 [C99-based standards] (float_t): Expect type.
15097 [C99-based standards] (double_t): Expect type.
15098 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15099 type.
15100 [C99-based standards] (HUGE_VALL): Likewise.
15101 [C99-based standards] (INFINITY): Likewise.
15102 [C99-based standards] (NAN): Likewise.
15103 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15104 [C99-based standards] (FP_NAN): Likewise.
15105 [C99-based standards] (FP_NORMAL): Likewise.
15106 [C99-based standards] (FP_SUBNORMAL): Likewise.
15107 [C99-based standards] (FP_ZERO): Likewise.
15108 [C99-based standards] (FP_FAST_FMA): Use
15109 optional-macro-int-constant. Specify type. Require == 1.
15110 [C99-based standards] (FP_FAST_FMAF): Likewise.
15111 [C99-based standards] (FP_FAST_FMAL): Likewise.
15112 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15113 [C99-based standards] (FP_ILOGBNAN): Likewise.
15114 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15115 Specify type.
15116 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15117 [C99-based standards] (math_errhandling): Specify type.
15118 [ISO99 || ISO11] (signgam): Do not allow.
15119 [non-C99-based standards] (copysignf): Do not allow.
15120 [non-C99-based standards] (exp2f): Likewise.
15121 [non-C99-based standards] (log2f): Likewise.
15122 [non-C99-based standards] (modff): Allow.
15123 [non-C99-based standards] (erff): Do not allow.
15124 [non-C99-based standards] (erfcf): Likewise.
15125 [non-C99-based standards] (gammaf): Likewise.
15126 [non-C99-based standards] (hypotf): Likewise.
15127 [non-C99-based standards] (j0f): Likewise.
15128 [non-C99-based standards] (j1f): Likewise.
15129 [non-C99-based standards] (jnf): Likewise.
15130 [non-C99-based standards] (lgammaf): Likewise.
15131 [non-C99-based standards] (tgammaf): Likewise.
15132 [non-C99-based standards] (y0f): Likewise.
15133 [non-C99-based standards] (y1f): Likewise.
15134 [non-C99-based standards] (ynf): Likewise.
15135 [non-C99-based standards] (isnanf): Likewise.
15136 [non-C99-based standards] (acoshf): Likewise.
15137 [non-C99-based standards] (asinhf): Likewise.
15138 [non-C99-based standards] (atanhf): Likewise.
15139 [non-C99-based standards] (cbrtf): Likewise.
15140 [non-C99-based standards] (expm1f): Likewise.
15141 [non-C99-based standards] (ilogbf): Likewise.
15142 [non-C99-based standards] (log1pf): Likewise.
15143 [non-C99-based standards] (logbf): Likewise.
15144 [non-C99-based standards] (nextafterf): Likewise.
15145 [non-C99-based standards] (remainderf): Likewise.
15146 [non-C99-based standards] (rintf): Likewise.
15147 [non-C99-based standards] (scalbf): Likewise.
15148 [non-C99-based standards] (copysignl): Likewise.
15149 [non-C99-based standards] (exp2l): Likewise.
15150 [non-C99-based standards] (log2l): Likewise.
15151 [non-C99-based standards] (modfl): Allow.
15152 [non-C99-based standards] (erfl): Do not allow.
15153 [non-C99-based standards] (erfcl): Likewise.
15154 [non-C99-based standards] (gammal): Likewise.
15155 [non-C99-based standards] (hypotl): Likewise.
15156 [non-C99-based standards] (j0l): Likewise.
15157 [non-C99-based standards] (j1l): Likewise.
15158 [non-C99-based standards] (jnl): Likewise.
15159 [non-C99-based standards] (lgammal): Likewise.
15160 [non-C99-based standards] (tgammal): Likewise.
15161 [non-C99-based standards] (y0l): Likewise.
15162 [non-C99-based standards] (y1l): Likewise.
15163 [non-C99-based standards] (ynl): Likewise.
15164 [non-C99-based standards] (isnanl): Likewise.
15165 [non-C99-based standards] (acoshl): Likewise.
15166 [non-C99-based standards] (asinhl): Likewise.
15167 [non-C99-based standards] (atanhl): Likewise.
15168 [non-C99-based standards] (cbrtl): Likewise.
15169 [non-C99-based standards] (expm1l): Likewise.
15170 [non-C99-based standards] (ilogbl): Likewise.
15171 [non-C99-based standards] (log1pl): Likewise.
15172 [non-C99-based standards] (logbl): Likewise.
15173 [non-C99-based standards] (nextafterl): Likewise.
15174 [non-C99-based standards] (remainderl): Likewise.
15175 [non-C99-based standards] (rintl): Likewise.
15176 [non-C99-based standards] (scalbl): Likewise.
15177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15178 [non-C99-based standards] (FP_*): Do not allow.
15179 [C99-based standards] (FP_*): Change to
15180 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15181 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15182 allow.
15183 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15184 (SIG_ERR): Likewise.
15185 [X/Open-based standards] (SIG_HOLD): Likewise.
15186 (SIG_IGN): Likewise.
15187 (SIGABRT): Use macro-int-constant. Specify type. Require
15188 positive value.
15189 (SIGFPE): Likewise.
15190 (SIGILL): Likewise.
15191 (SIGINT): Likewise.
15192 (SIGSEGV): Likewise.
15193 (SIGTER): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15204 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15205 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15206 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15207 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15209 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15210 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15211 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15212 [X/Open-based standards] (SIGTRAP): Likewise.
15213 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15216 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15217 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15218 allow.
15219
15220 2012-05-08 Ian Wienand <ianw@vmware.com>
15221
15222 [BZ #14080]
15223 * time/tzset.c (__tzset_parse_tz): Update default rules for
15224 daylight time changes in the Energy Policy Act of 2005.
15225
15226 2012-05-09 Andreas Jaeger <aj@suse.de>
15227
15228 [BZ #13983]
15229 * elf/ldconfig.c (parse_conf): Change string to make clear that
15230 ldconfig only issued a warning if ld.so.conf does not exist.
15231
15232 2012-05-08 David S. Miller <davem@davemloft.net>
15233
15234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15235 movxtod instead of popping the value on the stack.
15236
15237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15238
15239 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15240
15241 * config.h.in: Add HAVE_ARM_PCS_VFP.
15242
15243 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15244
15245 [BZ #13979]
15246 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15247 checking but the checks are disabled for any reason.
15248
15249 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15250
15251 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15252 and ELF64_R_TYPE with ELFW(R_TYPE).
15253
15254 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15255
15256 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15257 (ulimit): Likewise.
15258
15259 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15260 (settimeofday): Likewise.
15261
15262 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15263
15264 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15265 a struct th_u2 inside the union, and move tu_block/tu_code into
15266 a new th_u3 union of tu_block/tu_code inside of that. Move
15267 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15268 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15269 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15270 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15271 (th_stuff): Change to th_u1.tu_stuff.
15272 (th_data): Define.
15273 (th_msg): Change to th_u1.th_u2.tu_data.
15274
15275 2012-05-07 David S. Miller <davem@davemloft.net>
15276
15277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15278
15279 [BZ #14074]
15280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15281 (SETUP_PIC_REG): Use it.
15282 (SETUP_PIC_REG_LEAF): Use it.
15283
15284 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #13885]
15287 [BZ #13923]
15288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15289 USE_AS_EXPM1L.
15290 (EXPL_FINITE): Likewise.
15291 (FLDLOG): Likewise.
15292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15293 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15294 e_expl.S.
15295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15296 USE_AS_EXPM1L.
15297 (EXPL_FINITE): Likewise.
15298 (FLDLOG): Likewise.
15299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15300 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15301 e_expl.S.
15302 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15303 test of -max_value argument for long double.
15304 * sysdeps/i386/fpu/libm-test-ulps: Update.
15305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306
15307 2012-05-06 David S. Miller <davem@davemloft.net>
15308
15309 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15310 quad soft-float symbols whose references which are compiler
15311 generated.
15312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15313
15314 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15315
15316 [BZ #13884]
15317 [BZ #13914]
15318 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15319 USE_AS_EXP10L.
15320 (EXPL_FINITE): Likewise.
15321 (FLDLOG): Likewise.
15322 (c0): Likewise.
15323 (c1): Likewise.
15324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15325 Adjust comments for base varying.
15326 (__expl_finite): Change alias to EXPL_FINITE.
15327 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15328 e_expl.S.
15329 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15330 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15332 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15334 USE_AS_EXP10L.
15335 (EXPL_FINITE): Likewise.
15336 (FLDLOG): Likewise.
15337 (c0): Likewise.
15338 (c1): Likewise.
15339 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15340 Adjust comments for base varying.
15341 (__expl_finite): Change alias to EXPL_FINITE.
15342 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15343 tests for bugs.
15344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15345
15346 [BZ #14064]
15347 * math/libm-test.inc (check_float_internal): Correct ulp
15348 calculation for subnormal expected results.
15349
15350 2012-05-06 Andreas Jaeger <aj@suse.de>
15351
15352 * Makeconfig (+math-flags): New, set to -frounding-math.
15353 (+cflags): Add +math-flags so that all of glibc gets compiled with
15354 it.
15355
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15357
15358 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15359
15360 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15361 Disable one test.
15362
15363 [BZ #13787]
15364 [BZ #13922]
15365 [BZ #14036]
15366 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15367 (__ieee754_expl): Allow for and saturate large arguments.
15368 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15369 (u_threshold): Likewise.
15370 (__exp): Call __ieee754_exp before checking for overflow and
15371 underflow.
15372 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15373 (u_threshold): Likewise.
15374 (__expf): Call __ieee754_expf before checking for overflow and
15375 underflow.
15376 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15377 (u_threshold): Likewise.
15378 (__expl): Call __ieee754_expl before checking for overflow and
15379 underflow.
15380 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15381 (__ieee754_expl): Allow for and saturate large arguments.
15382 * math/libm-test.inc (exp_test): Add another test. Do not allow
15383 missing overflow exception on overflow.
15384 (expm1_test): Do not allow missing overflow exception on overflow.
15385
15386 * sysdeps/i386/fpu/e_expl.c: Move to ...
15387 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15388 rather than using inline asm.
15389 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15390 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15391 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15392
15393 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15394 (nice): Likewise.
15395 (poll): Likewise.
15396 (signal): Likewise.
15397 (time): Likewise.
15398 (times): Likewise.
15399
15400 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15401
15402 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15403 sysdeps/unix/common/syscalls.list.
15404 (fchmod): Likewise.
15405 (fchown): Likewise.
15406 (ftruncate): Likewise.
15407 (getrusage): Likewise.
15408 (gettimeofday): Likewise.
15409 (setpgid): Likewise.
15410 (setregid): Likewise.
15411 (setreuid): Likewise.
15412 (sigaction): Likewise.
15413 (truncate): Likewise.
15414 (vhangup): Likewise.
15415 * sysdeps/unix/common/syscalls.list: Remove file.
15416 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15417 * sysdeps/unix/sysv/linux/Implies: Likewise.
15418
15419 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15424 Moved to ...
15425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15426 Here.
15427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15428 to ...
15429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15431 to ...
15432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15434 to ...
15435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15437 to ...
15438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15440 to ...
15441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15443 to ...
15444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15446 to ...
15447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15448 Here.
15449 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15450 to ...
15451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15452 Here.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15454 to ...
15455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15457 Moved to ...
15458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15459 Here.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15461 to ...
15462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15463
15464 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15465
15466 * sysdeps/unix/common/bits/dirent.h: Remove file.
15467 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15468
15469 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15470 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15471 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15472 * sysdeps/unix/bsd/isatty.c: Likewise.
15473 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15474 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15475 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15476
15477 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15478
15479 [BZ #13563]
15480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15481 long double comparison inaccuracies.
15482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15484
15485 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15486
15487 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15489
15490 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15491
15492 [BZ #14049]
15493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15494 nonzero digits before rounding a hex value.
15495 * stdlib/tst-strtod.c (tests): Add another test.
15496
15497 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15498
15499 * sysdeps/s390/fpu/libm-test-ulps: Update.
15500
15501 2012-05-03 Andreas Jaeger <aj@suse.de>
15502
15503 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15504 does not get optimized out.
15505 (malloc_opt_barrier): New.
15506
15507 2012-05-03 Andreas Jaeger <aj@suse.de>
15508 Roland McGrath <roland@hack.frob.com>
15509
15510 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15511 intermediate file deletion.
15512 (generated): Add .symlist files.
15513
15514 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15515
15516 [BZ #13775]
15517 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15518 Redirect under this condition.
15519 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15520 [__USE_GNU] (__dprintf_chk): Not under this condition.
15521 [__USE_GNU] (__vdprintf_chk): Likewise.
15522 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15523 under this condition.
15524 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15525 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15526 [__USE_XOPEN2K8] (vdprintf): Likewise.
15527 [__USE_GNU] (__dprintf_chk): Not under this condition.
15528 [__USE_GNU] (__vdprintf_chk): Likewise.
15529 [__USE_GNU] (dprintf): Likewise.
15530 [__USE_GNU] (vdprintf): Likewise.
15531
15532 2012-05-03 Roland McGrath <roland@hack.frob.com>
15533
15534 * elf/Makefile (common-generated): Set this instead of generated for
15535 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15536 $(all-built-dso)-derived lists.
15537
15538 2012-05-03 Andreas Jaeger <aj@suse.de>
15539
15540 * sysdeps/i386/fpu/libm-test-ulps: Update.
15541
15542 * FAQ: Removed.
15543 * FAQ.in: Likewise.
15544 * scripts/gen-FAQ.pl: Likewise.
15545 * manual/install.texi (Installation): Point to online location of
15546 FAQ.
15547 * Makefile (files-for-dist): Remove FAQ.
15548 (FAQ): Remove.
15549
15550 2012-05-02 Allan McRae <allan@archlinux.org>
15551
15552 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15553 (LDFLAGS-reldepmod5.so): Likewise.
15554 (LDFLAGS-reldep6mod1.so): Likewise.
15555 (LDFLAGS-reldep6mod4.so): Likewise.
15556 (LDFLAGS-reldep8mod3.so): Likewise.
15557 (LDFLAGS-unload4mod1.so): Likewise.
15558 (LDFLAGS-unload4mod2.so): Likewise.
15559 (LDFLAGS-tst-initorder): Likewise.
15560 (LDFLAGS-tst-initordera2.so): Likewise.
15561 (LDFLAGS-tst-initordera3.so): Likewise.
15562 (LDFLAGS-tst-initordera4.so): Likewise.
15563 (LDFLAGS-tst-initorderb2.so): Likewise.
15564 (LDFLAGS-noload): Likewise.
15565 (LDFLAGS-next): Likewise.
15566 (LDFLAGS-order2mod1.so): Likewise.
15567 (LDFLAGS-order2mod2.so): Likewise.
15568 (LDFLAGS-tst-initorder2): Likewise.
15569 (LDFLAGS-tst-initorder2a.so): Likewise.
15570 (LDFLAGS-tst-initorder2b.so): Likewise.
15571 (LDFLAGS-tst-initorder2c.so): Likewise.
15572 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15573
15574 2012-05-02 David S. Miller <davem@davemloft.net>
15575
15576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15577
15578 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15579
15580 [BZ #14055]
15581 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15582
15583 2012-05-02 Andreas Jaeger <aj@suse.de>
15584
15585 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15586 since we manipulate rounding mode.
15587 (CPPFLAGS-test-idouble.c): Likewise.
15588 (CPPFLAGS-test-ifloat.c): Likewise.
15589 (CFLAGS-test-ldouble.c): Likewise.
15590 (CFLAGS-test-double.c): Likewise.
15591 (CFLAGS-test-float.c): Likewise.
15592 (CFLAGS-test-misc.c): Likewise.
15593 (CFLAGS-test-test-fenv.c): Likewise.
15594
15595 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15596
15597 [BZ #2550]
15598 [BZ #2570]
15599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15600 comparisons to determine direction to adjust input.
15601
15602 2012-05-01 Roland McGrath <roland@hack.frob.com>
15603
15604 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15605 output to the target.
15606
15607 * scripts/localplt.awk: New file.
15608 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15609 (check-localplt-CFLAGS): Variable removed.
15610 ($(all-built-dso:=.jmprel)): New static pattern rule.
15611 (generated): Add those targets.
15612 (localplt-built-dso): New variable.
15613 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15614
15615 * elf/check-localplt.c: File removed.
15616
15617 * scripts/check-execstack.awk: New file.
15618 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15619 (check-execstack-CFLAGS): Variable removed.
15620 ($(objpfx)check-execstack.h): Target removed.
15621 ($(objpfx)execstack-default): New target.
15622 (generated): Add that instead of check-execstack.h.
15623 ($(all-built-dso:=.phdr)): New static pattern rule.
15624 (generated): Add those targets.
15625 * elf/check-execstack.c: File removed.
15626
15627 * scripts/check-textrel.awk: New file.
15628 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15629 (check-textrel-CFLAGS): Variable removed.
15630 (all-built-dso): Use := to define.o
15631 ($(all-built-dso:=.dyn)): New static pattern rule.
15632 (generated): Add those targets.
15633 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15634 * config.make.in (READELF): New substituted variable.
15635 * elf/check-textrel.c: File removed.
15636
15637 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15638
15639 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15640 allow.
15641 * conform/data/ctype.h-data [C99-based standards] (isblank):
15642 Expect function.
15643 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15644 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15646 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15647 Specify type. Require positive value.
15648 (EILSEQ): Likewise.
15649 (ERANGE): Likewise.
15650 [ISO || POSIX] (EILSEQ): Do not expect.
15651 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15652 Specify type. Require positive value.
15653 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15720 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15722 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15723 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15724 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15725 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15726 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15727 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15728 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15729 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15730 Require >= 2.
15731 (FLT_ROUNDS): Expect as macro, not constant.
15732 (FLT_MANT_DIG): Use macro-int-constant.
15733 (DBL_MANT_DIG): Likewise.
15734 (LDBL_MANT_DIG): Likewise.
15735 (FLT_DIG): Likewise.
15736 (DBL_DIG): Likewise.
15737 (LDBL_DIG): Likewise.
15738 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15739 (DBL_MIN_EXP): Likewise.
15740 (LDBL_MIN_EXP): Likewise.
15741 (FLT_MAX_EXP): Use macro-int-constant.
15742 (DBL_MAX_EXP): Likewise.
15743 (LDBL_MAX_EXP): Likewise.
15744 (FLT_MAX_10_EXP): Likewise.
15745 (DBL_MAX_10_EXP): Likewise.
15746 (LDBL_MAX_10_EXP): Likewise.
15747 (FLT_MAX): Use macro-constant.
15748 (DBL_MAX): Likewise.
15749 (LDBL_MAX): Likewise.
15750 (FLT_EPSILON): Use macro-constant. Give upper bound.
15751 (DBL_EPSILON): Likewise.
15752 (LDBL_EPSILON): Likewise.
15753 (FLT_MIN): Likewise.
15754 (DBL_MIN): Likewise.
15755 (LDBL_MIN): Likewise.
15756 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15757 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15758 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15759 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15760 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15761 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15762 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15763 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15764 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15765 [ISO11] (FLT_TRUE_MIN): Likewise.
15766 [ISO11] (LDBL_TRUE_MIN): Likewise.
15767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15768 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15769 (SCHAR_MIN): Use macro-int-constant. Specify type.
15770 (SCHAR_MAX): Likewise.
15771 (UCHAR_MAX): Likewise.
15772 (CHAR_MIN): Likewise.
15773 (CHAR_MAX): Likewise.
15774 (MB_LEN_MAX): Use macro-int-constant.
15775 (SHRT_MIN): Use macro-int-constant. Specify type.
15776 (SHRT_MAX): Likewise.
15777 (USHRT_MAX): Likewise.
15778 (INT_MAX): Likewise.
15779 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15780 bound negative.
15781 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15782 bound with "U".
15783 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15784 bound with "L".
15785 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15786 bound negative. Suffix upper bound with "L".
15787 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15788 bound with "UL".
15789 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15790 Specify type.
15791 [C99-based standards] (LLONG_MAX): Likewise.
15792 [C99-based standards] (ULLONG_MAX): Likewise.
15793 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15794 == 0.
15795 [ISO11] (max_align_t): Require type.
15796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15797
15798 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15799 from $CFLAGS, without defining away __attribute__ calls.
15800 (checknamespace): Use $CFLAGS_namespace.
15801
15802 * conform/conformtest.pl (@keywords): Only include C99 keywords
15803 for standards based on C99 or C11.
15804
15805 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15806 Disable tests.
15807 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15808 UNIX98]: Likewise.
15809
15810 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15811 usability of symbols in #if.
15812
15813 * conform/conformtest.pl: If macro or constant types start
15814 "promoted:", expect the symbol to be of the following type
15815 promoted by the integer promotions.
15816
15817 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15818 in one place. Also handle "macro-constant".
15819
15820 * conform/conformtest.pl: Only accept expected macro values with
15821 "==". Parse all "macro" lines in one place.
15822 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15823
15824 * conform/conformtest.pl: Handle braced types on "constant" lines
15825 instead of handling "typed-constant".
15826 * conform/data/signal.h-data: Use "constant" instead of
15827 "typed-constant".
15828
15829 * conform/conformtest.pl: Handle "optional-" at start of lines in
15830 one place rather than duplicating several cases. Handle each
15831 format of "macro" line with initial "optional-".
15832
15833 * conform/conformtest.pl: Only accept expected constant or
15834 optional-constant values with "==". Parse all "constant" lines in
15835 one place. Parse all "optional-constant" lines in one place.
15836 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15837 * conform/data/fmtmsg.h-data: Likewise.
15838 * conform/data/netinet/in.h-data: Likewise.
15839 * conform/data/tar.h-data: Likewise.
15840 * conform/data/limits.h-data: Use "==" form on "constant" and
15841 "optional-constant" lines.
15842
15843 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15844 Use -std=c99 for XOPEN2K.
15845 (@knownproblems): Remove.
15846 (newtoken): Don't check %isknown.
15847
15848 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15849 Do not expect macro.
15850 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15862 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15863 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15880 [XPG3] (acosh): Likewise.
15881 [XPG3] (asinh): Likewise.
15882 [XPG3] (atanh): Likewise.
15883 [XPG3] (cbrt): Likewise.
15884 [XPG3] (expm1): Likewise.
15885 [XPG3] (ilogb): Likewise.
15886 [XPG3] (log1p): Likewise.
15887 [XPG3] (logb): Likewise.
15888 [XPG3] (nextafter): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15891 [XPG3] (remainder): Likewise.
15892 [XPG3] (rint): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15900 [UNIX98 || XOPEN2K] (scalb): Expect.
15901 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15902 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16038
16039 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16040 _XOPEN_SOURCE_EXTENDED for XPG4.
16041
16042 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16043
16044 * Makeconfig (localtime): Remove variable.
16045 (inst_localtime-file): Likewise.
16046
16047 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16050 Update.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16052 Update.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16054 Update.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16056 Update.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16058 Update.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16060 Update.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16062 Update.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16064 Update.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16066 Update.
16067
16068 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16069
16070 [BZ #2550]
16071 [BZ #2570]
16072 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16073 comparisons to determine direction to adjust input.
16074 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16075 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16077 Likewise.
16078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16079 Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16081 Likewise.
16082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16084 Likewise.
16085 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16086 Likewise.
16087 * math/libm-test.inc (nexttoward_test): Add more tests.
16088
16089 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16090
16091 [BZ #14040]
16092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16093 in version GLIBC_2.1, not GLIBC_2.0.
16094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16095 Likewise.
16096
16097 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16098
16099 [BZ #13942]
16100 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16101 (1 - x) * (1 + x).
16102 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16103 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16104 * math/libm-test.inc (acos_test): Add more tests.
16105 (asin_test): Likewise.
16106 * sysdeps/i386/fpu/libm-test-ulps: Update.
16107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16108
16109 [BZ #14034]
16110 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16111 of square root.
16112 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16113 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16114 * math/libm-test.inc (acos_test_tonearest): New function.
16115 (acos_test_towardzero): Likewise.
16116 (acos_test_downward): Likewise.
16117 (acos_test_upward): Likewise.
16118 (asin_test_tonearest): Likewise.
16119 (asin_test_towardzero): Likewise.
16120 (asin_test_downward): Likewise.
16121 (asin_test_upward): Likewise.
16122 (main): Call the new functions.
16123 * sysdeps/i386/fpu/libm-test-ulps: Update.
16124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16125
16126 [BZ #13884]
16127 [BZ #13924]
16128 * math/e_exp10.c: Include <float.h>.
16129 (__ieee754_exp10): Handle underflow here rather than multiplying
16130 large negative argument by M_LN10.
16131 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16132 of __ieee754_expf.
16133 * math/e_exp10l.c: Include <float.h>.
16134 (__ieee754_exp10l): Handle underflow here rather than multiplying
16135 large negative argument by M_LN10l.
16136 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16137 spurious overflow exception on underflow.
16138
16139 2012-04-29 Marek Polacek <polacek@redhat.com>
16140
16141 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16142 (__fortify_function): New macro.
16143 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16144 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16145 __extern_always_inline.
16146 * libio/bits/stdio2.h: Likewise.
16147 * libio/bits/stdio.h: Likewise.
16148 * string/string.h: Likewise.
16149 * string/bits/string3.h: Likewise.
16150 * include/stdio.h: Likewise.
16151 * stdlib/bits/stdlib.h: Likewise.
16152 * stdlib/stdlib.h: Likewise.
16153 * rt/bits/mqueue2.h: Likewise.
16154 * rt/mqueue.h: Likewise.
16155 * posix/bits/unistd.h: Likewise.
16156 * posix/unistd.h: Likewise.
16157 * io/bits/poll2.h: Likewise.
16158 * io/bits/fcntl2.h: Likewise.
16159 * io/fcntl.h: Likewise.
16160 * io/sys/poll.h: Likewise.
16161 * misc/bits/syslog.h: Likewise.
16162 * misc/bits/syslog-ldbl.h: Likewise.
16163 * misc/sys/syslog.h: Likewise.
16164 * socket/bits/socket2.h: Likewise.
16165 * socket/sys/socket.h: Likewise.
16166 * debug/tst-chk1.c: Likewise.
16167 * wcsmbs/bits/wchar2.h: Likewise.
16168 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16169 * wcsmbs/wchar.h: Likewise.
16170
16171 2012-04-29 Andreas Jaeger <aj@suse.de>
16172
16173 * Makerules (tests): Remove enable-check-abi protection.
16174 (check-abi-warn): Remove.
16175 (check-abi-%): Remove check-abi-warn usage.
16176
16177 * configure.in: Remove check-abi configure option.
16178 * configure: Regenerated.
16179 * config.make.in (enable-check-abi): Remove.
16180
16181 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16182
16183 [BZ #14033]
16184 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16185 double functions to double *_finite functions.
16186
16187 [BZ #13941]
16188 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16189 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16190 LDBL_MIN_EXP.
16191 * stdio-common/Makefile (tests): Add tst-sprintf3.
16192 * stdio-common/tst-sprintf3.c: New file.
16193
16194 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16195 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16196
16197 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16198
16199 * conform/conformtest.pl: Remove duplicate typed-constant
16200 handling.
16201
16202 2012-04-28 David S. Miller <davem@davemloft.net>
16203
16204 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16205 (check-abi-%): Remove AWK script prerequisite and explicit
16206 abilist directory.
16207 (check-abi): Rewrite to just diff the symlist with the abilist.
16208 (config-tls, config-abi-config): Delete, no longer used.
16209 (update-abi-%): Remove AWK script and explicit abilist directory.
16210 (update-abi): Rewrite to simply compare and conditionally copy the
16211 symlist and the sysdep abilist file. Remove update-abi-config
16212 checks.
16213 * abilist/ld.abilist: Remove.
16214 * abilist/libBrokenLocale.abilist: Remove.
16215 * abilist/libanl.abilist: Remove.
16216 * abilist/libcrypt.abilist: Remove.
16217 * abilist/libdl.abilist: Remove.
16218 * abilist/librt.abilist: Remove.
16219 * abilist/libthread_db.abilist: Remove.
16220 * abilist/libutil.abilist: Remove.
16221 * scripts/extract-abilist.awk: Remove.
16222 * scripts/merge-abilist.awk: Remove.
16223 * sysdeps/generic/libcidn.abilist: New file.
16224 * sysdeps/generic/libnss_compat.abilist: New file.
16225 * sysdeps/generic/libnss_db.abilist: New file.
16226 * sysdeps/generic/libnss_dns.abilist: New file.
16227 * sysdeps/generic/libnss_files.abilist: New file.
16228 * sysdeps/generic/libnss_hesiod.abilist: New file.
16229 * sysdeps/generic/libnss_nis.abilist: New file.
16230 * sysdeps/generic/libnss_nisplus.abilist: New file.
16231 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16232 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16233 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16234 file.
16235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16236 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16237 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16238 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16239 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16240 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16241 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16242 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16243 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16244 file.
16245 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16249 file.
16250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16251 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16252 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16253 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16256 file.
16257 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16259 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16260 file.
16261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16263 New file.
16264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16265 New file.
16266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16267 New file.
16268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16269 New file.
16270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16271 New file.
16272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16273 New file.
16274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16275 New file.
16276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16277 New file.
16278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16279 New file.
16280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16281 New file.
16282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16283 New file.
16284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16285 New file.
16286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16287 New file.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16289 file.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16291 New file.
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16293 New file.
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16295 file.
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16297 New file.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16299 New file.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16301 file.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16303 New file.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16305 New file.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16307 New file.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16309 New file.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16311 New file.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16313 New file.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16316 file.
16317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16318 New file.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16320 file.
16321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16322 file.
16323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16324 file.
16325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16326 file.
16327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16328 file.
16329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16330 New file.
16331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16332 file.
16333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16334 file.
16335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16336 New file.
16337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16338 file.
16339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16341 file.
16342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16343 New file.
16344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16345 file.
16346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16347 file.
16348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16349 file.
16350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16351 file.
16352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16353 file.
16354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16355 New file.
16356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16357 file.
16358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16359 file.
16360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16361 New file.
16362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16363 file.
16364 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16365 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16366 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16369 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16370 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16372 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16373 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16374 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16377 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16380 file.
16381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16382 New file.
16383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16384 file.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16386 file.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16388 file.
16389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16390 file.
16391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16392 file.
16393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16394 New file.
16395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16396 New file.
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16398 file.
16399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16405 file.
16406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16407 New file.
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16409 file.
16410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16411 file.
16412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16413 file.
16414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16415 file.
16416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16417 file.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16419 New file.
16420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16421 New file.
16422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16423 file.
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16425 New file.
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16427 file.
16428
16429 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16430
16431 * conform/conformtest.pl: Fix typo in handling typed-constant from
16432 allow-header.
16433
16434 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16435
16436 * README: Cut down references to pre-2.6 Linux kernels and
16437 Linuxthreads. Update lists of configurations in libc and ports
16438 and sort alphabetically. Say "or newer" with Linux kernel version
16439 requirements.
16440
16441 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16442
16443 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16444
16445 [BZ #887]
16446 * math/libm-test.inc (logb_test_downward): New test to expose
16447 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16448 rounding mode.
16449
16450 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16451
16452 [BZ #14027]
16453 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16454 to be done.
16455 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16456 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16457
16458 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16459
16460 * sysdeps/unix/i386/brk.S: Remove file.
16461 * sysdeps/unix/i386/dl-brk.S: Likewise.
16462 * sysdeps/unix/i386/pipe.S: Likewise.
16463 * sysdeps/unix/i386/sigreturn.S: Likewise.
16464 * sysdeps/unix/i386/syscall.S: Likewise.
16465 * sysdeps/unix/i386/vfork.S: Likewise.
16466 * sysdeps/unix/i386/wait.S: Likewise.
16467
16468 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16469 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16470
16471 * configure.in (arm*-none*): Do not allow without
16472 --enable-hacker-mode.
16473 (netbsd*): Remove case setting base_os.
16474 (386bsd*): Likewise.
16475 (freebsd*): Likewise.
16476 (bsdi*): Likewise.
16477 (osf*): Likewise.
16478 (sunos*): Likewise.
16479 (ultrix*): Likewise.
16480 (newsos*): Likewise.
16481 (dynix*): Likewise.
16482 (*bsd*): Likewise.
16483 (sysv*): Likewise.
16484 (isc*): Likewise.
16485 (esix*): Likewise.
16486 (sco*): Likewise.
16487 (minix*): Likewise.
16488 (irix4*): Likewise.
16489 (irix6*): Likewise.
16490 (solaris[2-9]*): Likewise.
16491 (none): Likewise.
16492 * configure: Regenerated.
16493
16494 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16495
16496 [BZ #11521]
16497 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16498 overflow or cancellation in calculating denominator.
16499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16501 down expression to avoid unexpected rounding in newer GCCs.
16502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16503
16504 2012-04-26 David S. Miller <davem@davemloft.net>
16505
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16507 long-double compat symbols.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16521
16522 2012-04-25 David S. Miller <davem@davemloft.net>
16523
16524 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16525 HWCAP_* values only after the memory barriers have been defined.
16526 (atomic_full_barrier): Define.
16527 (atomic_read_barrier): Define.
16528 (atomic_write_barrier): Define.
16529
16530 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
16532 * shlib-versions: Add libgcc_s version information.
16533 * sysdeps/generic/libgcc_s.h: Remove.
16534 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16535 libgcc_s.h.
16536 * sysdeps/gnu/unwind-resume.c: Likewise.
16537 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16538
16539 2012-04-25 David S. Miller <davem@davemloft.net>
16540
16541 * sysdeps/unix/sparc/brk.S: Delete.
16542 * sysdeps/unix/sparc/dl-brk.S: Delete.
16543 * sysdeps/unix/sparc/pipe.S: Delete.
16544 * sysdeps/unix/sparc/sysdep.S: Delete.
16545 * sysdeps/unix/sparc/sysdep.h: Delete.
16546 * sysdeps/unix/sparc/vfork.S: Delete.
16547 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16548 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16550 ret_ERRVAL, r0, r1, MOVE): Define.
16551 (JUMPTARGET): Remove.
16552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16553 sysdeps/unix/sparc/sysdep.h
16554 (ENTRY, END): Remove.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16556
16557 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16558
16559 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16560 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16561 -DIS_IN_build.
16562
16563 * timezone/README: Update upstream location and email address for
16564 tzcode and tzdata.
16565 * timezone/zdump.c: Update from tzcode 2012b.
16566 * timezone/zic.c: Likewise.
16567
16568 * configure.in (libc_cv_as_needed): Remove test.
16569 * configure: Regenerated.
16570 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16571 conditional definition.
16572 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16573 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16574 * config.make.in (have-as-needed): Remove variable.
16575
16576 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16577 Paul Pluzhnikov <ppluzhnikov@google.com>
16578
16579 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16580 strings correctly.
16581
16582 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16583
16584 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16585 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16586 * sysdeps/sh/strlen.S: Likewise.
16587
16588 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16589
16590 * sysdeps/unix/fork.S: Remove file.
16591 * sysdeps/unix/i386/fork.S: Likewise.
16592 * sysdeps/unix/sparc/fork.S: Likewise.
16593
16594 * sysdeps/unix/system.c: Remove file.
16595 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16596
16597 * sysdeps/unix/getegid.S: Remove file.
16598 * sysdeps/unix/geteuid.S: Likewise.
16599
16600 2012-04-24 Roland McGrath <roland@hack.frob.com>
16601
16602 * scripts/check-localplt.awk: New file.
16603 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16604 of diff.
16605 * scripts/data/localplt-generic.data: Add a comment.
16606
16607 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16608 NODE when __dir_mkfile failed.
16609 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16610 Reported by Ludovic Courtès <ludo@gnu.org>.
16611
16612 2012-04-24 Andreas Jaeger <aj@suse.de>
16613
16614 * Makerules (common-clean): Also remove gen-as-const-headers
16615 files.
16616
16617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16618
16619 * Makerules (native-compile): Do not change working directory for
16620 build. Use $(OUTPUT_OPTION) in command.
16621 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16622
16623 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624
16625 [BZ #13886]
16626 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16627 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16628 * math/libm-test.inc (floor_test): Add more tests.
16629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16630
16631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16632
16633 * sysdeps/unix/getdents.c: Remove file.
16634 * sysdeps/unix/sysv/getdents.c: Likewise.
16635 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16636
16637 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16638 sysdeps/unix/mman/syscalls.list.
16639 (mmap): Likewise.
16640 (mprotect): Likewise.
16641 (msync): Likewise.
16642 (munmap): Likewise.
16643 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16644 * sysdeps/unix/mman/syscalls.list: Remove.
16645 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16646
16647 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16648 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16649 * configure: Regenerated.
16650 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16651 $(libgcc_s_suffix).
16652 * config.make.in (libgcc_s_suffix): Remove variable.
16653
16654 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16655
16656 * sysdeps/unix/sysv/gethostname.c: Move to ...
16657 * sysdeps/posix/gethostname.c: ... here.
16658
16659 * sysdeps/unix/execve.S: Remove file.
16660
16661 * sysdeps/unix/_exit.S: Remove file.
16662
16663 2012-04-23 Andreas Jaeger <aj@suse.de>
16664
16665 [BZ #13739]
16666 * manual/Makefile: Remove make dist support, there's no
16667 need for a stand-alone documentation tar ball.
16668 (TEXI2DVI): Define always, it's not in Makeconfig.
16669 (dist): Removed.
16670 (tar-it): Removed.
16671 (edition): Removed.
16672 (glibc-doc-$(edition).tar): Removed
16673 (%.Z): Removed.
16674 (%.gz): Removed.
16675 (%.uu): Removed.
16676 (ETAGS): Remove, it's in Makeconfig.
16677 (move-if-change): Remove, it's in Makeconfig.
16678
16679 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16680
16681 [BZ #13970]
16682 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16683 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16684 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16685 (strtod_l, strtof_l, strtold_l): Remove __wur.
16686 It is not necessarily an error to ignore strtol's return value.
16687 One can reliably look at the stored endptr to decide whether
16688 the number had valid syntax.
16689
16690 2012-04-21 Andreas Jaeger <aj@suse.de>
16691
16692 [BZ #13739]
16693 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16694
16695 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16696
16697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16698 * sysdeps/unix/sysv/Versions: Remove file.
16699
16700 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16701
16702 [BZ #13927]
16703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16704
16705 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16706
16707 [BZ #7064]
16708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16709 version from __vm86.
16710
16711 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16712
16713 * sysdeps/unix/common/lxstat.c: Remove file.
16714 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16715
16716 * sysdeps/unix/sysv/Makefile: Remove file.
16717
16718 * sysdeps/unix/sysv/direct.h: Remove file.
16719
16720 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16721 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16722 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16723 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16724 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16725 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16726 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16727
16728 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16729
16730 * sysdeps/unix/xmknod.c: Remove file.
16731 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16732
16733 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16734
16735 * sysdeps/unix/sysv/i386/time.S: Remove file.
16736
16737 * sysdeps/unix/fxstat.c: Remove file.
16738 * sysdeps/unix/xstat.c: Likewise.
16739 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16740
16741 * sysdeps/unix/sysv/sigaction.c: Remove file.
16742
16743 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16744 (sysdep_headers): Remove variable.
16745 [termio.h not in sysdep_headers] (generated): Likewise.
16746 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16747 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16748 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16749 * sysdeps/unix/sysv/tcflow.c: Likewise.
16750 * sysdeps/unix/sysv/tcflush.c: Likewise.
16751 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16752 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16753 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16754 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16755 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16756
16757 * sysdeps/unix/siglist.c: Remove file.
16758
16759 * sysdeps/unix/getppid.S: Remove file.
16760
16761 * sysdeps/unix/mkdir.c: Remove file.
16762 * sysdeps/unix/rmdir.c: Likewise.
16763
16764 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16767 ERR_MAX value.
16768 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16769 errlist-compat value.
16770
16771 2012-04-18 David S. Miller <davem@davemloft.net>
16772
16773 * sysdeps/generic/memcopy.h (reg_char): Delete.
16774 * debug/strcat_chk.c: Use char, not reg_char.
16775 * debug/strcpy_chk.c: Likewise.
16776 * debug/strncat_chk.c: Likewise.
16777 * debug/strncpy_chk.c: Likewise.
16778 * string/memchr.c: Likewise.
16779 * string/memrchr.c: Likewise.
16780 * string/rawmemchr.c: Likewise.
16781 * string/strcat.c: Likewise.
16782 * string/strchr.c: Likewise.
16783 * string/strchrnul.c: Likewise.
16784 * string/strcmp.c: Likewise.
16785 * string/strcpy.c: Likewise.
16786 * string/strncat.c: Likewise.
16787 * string/strncmp.c: Likewise.
16788 * string/strncpy.c: Likewise.
16789
16790 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16791
16792 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16793 __builtin_memcopy is called when src and dest ranges are known to not
16794 overlap.
16795
16796 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16797
16798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16799 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16800 fwd_align_merge macro call.
16801 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16802 bwd_align_merge macro call.
16803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16804
16805 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16806
16807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16808 bwd_align_merge macros.
16809 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16810 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16812
16813 2012-04-18 David S. Miller <davem@davemloft.net>
16814
16815 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16816
16817 2012-04-18 Andreas Jaeger <aj@suse.de>
16818
16819 [BZ# 6794]
16820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16823
16824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16825 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16827
16828 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16829 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16830 Adjust for changed ldbl-128 files.
16831
16832 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16833 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16835
16836 2012-04-17 David S. Miller <davem@davemloft.net>
16837
16838 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16839
16840 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16841
16842 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16843 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16844 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16845 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16846 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16847 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16848
16849 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16850
16851 [BZ #6794]
16852 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16853 * math/libm-test.inc: Add ilogb errno and exception tests.
16854 * math/w_ilogb.c: New file: ilogb wrapper.
16855 * math/w_ilogbf.c: New file: ilogbf wrapper.
16856 * math/w_ilogbl.c: New file: ilogbl wrapper.
16857 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16858 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16859 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16860 exception being thrown with 0.0 as argument.
16861 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16862 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16863 exception being thrown with 0.0 as argument.
16864 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16865 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16866 exception being thrown with 0.0 as argument.
16867 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16868 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16869 exception being thrown with 0.0 as argument.
16870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16871 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16873 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16875 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16876 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16877 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16878 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16879
16880 2012-04-17 Petr Baudis <pasky@ucw.cz>
16881
16882 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16883 with altivec.
16884
16885 2012-04-16 Marek Polacek <polacek@redhat.com>
16886
16887 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16888
16889 2012-04-16 Marek Polacek <polacek@redhat.com>
16890
16891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16892 operands of fdivp instruction.
16893
16894 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16897 * elf/tst-auditmod3b.c: Likewise.
16898 * elf/tst-auditmod4b.c: Likewise.
16899 * elf/tst-auditmod5b.c: Likewise.
16900 * elf/tst-auditmod6b.c: Likewise.
16901 * elf/tst-auditmod6c.c: Likewise.
16902 * elf/tst-auditmod7b.c: Likewise.
16903 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16904 * sysdeps/x86_64/preconfigure.in: Likewise.
16905 * sysdeps/x86_64/preconfigure: Regenerated.
16906
16907 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16910 __ILP32__.
16911
16912 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16913
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16915 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16916
16917 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16918
16919 [BZ #13973]
16920 * locale/iso-639.def: Fix gl language name. Spotted by
16921 Yaron Shahrabani.
16922
16923 2012-04-12 Roland McGrath <roland@hack.frob.com>
16924
16925 [BZ #2074]
16926 * libio/libio.h (__io_write_fn): Update comment.
16927
16928 2012-04-12 Petr Baudis <pasky@ucw.cz>
16929
16930 [BZ #2074]
16931 * stdio.texi (Hook Functions): The user provided writer function
16932 is not allowed to return -1.
16933
16934 2012-04-11 David S. Miller <davem@davemloft.net>
16935
16936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16937
16938 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16939
16940 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16941 Add a leading slash to rtkaio.
16942
16943 2012-04-11 Jim Meyering <meyering@redhat.com>
16944
16945 [BZ #11959]
16946 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16947 It is not necessarily an error to ignore fwrite's return
16948 value. One can reliably use ferror to test for errors after
16949 the fact.
16950
16951 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16952
16953 * bits/types.h (__snseconds_t): New type.
16954 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16955
16956 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16958 (__SNSECONDS_T_TYPE): Likewise.
16959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16960 (__SNSECONDS_T_TYPE): Likewise.
16961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16962 (__SNSECONDS_T_TYPE): Likewise.
16963
16964 2012-04-10 Andreas Jaeger <aj@suse.de>
16965
16966 [BZ #2636]
16967 * manual/time.texi (Processor Time): Return type of times is
16968 elapsed real time since an arbitrary point in the past.
16969 (CPU Time): Move CLK_TCK from here...
16970 (Processor Time): ...to here. Correct description.
16971 * manual/conf.texi (Constants for Sysconf): Correct description of
16972 _SC_CLK_TCK.
16973
16974 2012-04-10 David S. Miller <davem@davemloft.net>
16975
16976 [BZ #13967]
16977 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16978 where the is a gap between DT_REL(A) and DT_JMPREL.
16979
16980 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16981
16982 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16983 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16984 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16985
16986 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16987
16988 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16989 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16990 (dl_main): Handle --inhibit-cache.
16991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16992 _dl_inhibit_cache.
16993 * elf/dl-load.c (_dl_map_object): Use it.
16994 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16995
16996 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16997
16998 [BZ #13872]
16999 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17000 (__ieee754_powl): Saturate large exponents rather than testing for
17001 overflow of y*log2(x).
17002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17003 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17004 exceptions.
17005
17006 [BZ #11521]
17007 * math/s_ctan.c: Include <float.h>.
17008 (__ctan): Avoid internal overflow or cancellation in calculating
17009 denominator.
17010 * math/s_ctanf.c: Likewise.
17011 * math/s_ctanl.c: Likewise.
17012 * math/s_ctanh.c: Likewise.
17013 * math/s_ctanhf.c: Likewise.
17014 * math/s_ctanhl.c: Likewise.
17015 * math/libm-test.inc (ctan_test): Add more tests.
17016 (ctanh_test): Likewise.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17019
17020 2012-04-09 Andreas Jaeger <aj@suse.de>
17021
17022 [BZ #6894]
17023 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17024 is an optional BSD extension.
17025
17026 [BZ #10254]
17027 * manual/stdio.texi (Opening Streams): Document additional fopen
17028 parameters.
17029
17030 2012-04-09 Roland McGrath <roland@hack.frob.com>
17031
17032 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17033 %eax without telling the compiler.
17034
17035 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17036
17037 [BZ # 13963]
17038 * manual/install.texi: Use sourceware.org.
17039
17040 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17041
17042 [BZ #13873]
17043 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17044 (__ieee754_pow): Generate overflow and underflow using huge*huge
17045 and tiny*tiny rather than just returning constant infinity or zero
17046 for large exponents.
17047 * math/libm-test.inc (pow_test): Require overflow exceptions for
17048 applicable cases of large exponents.
17049
17050 [BZ #706]
17051 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17052 (__ieee754_pow): Use iterative multiplication algorithm only for
17053 integer exponents with absolute value below 1024. Check for odd
17054 integer exponents when using algorithm for real exponents.
17055 * math/libm-test.inc (pow_test): Add more tests.
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17057
17058 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #13705]
17061 * math/libm-test.inc (exp_test): Do not allow overflow exception
17062 on underflow test.
17063
17064 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17065
17066 [BZ #13705]
17067 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17068 instead of __kernel_standard_f.
17069
17070 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17071
17072 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17073 * sysdeps/x86_64/memset_chk.S: Likewise.
17074
17075 2012-04-08 Andreas Jaeger <aj@suse.de>
17076
17077 [BZ #10153]
17078 * manual/startup.texi (Environment Access): Describe return value
17079 for putenv and setenv.
17080
17081 [BZ #6895]
17082 * manual/filesys.texi (Directory Entries): Add description for
17083 DT_LNK.
17084
17085 [BZ #6890]
17086 * manual/filesys.texi (Directory Entries): Clarify that it's file
17087 system not operating system in the description of DT_UNKNOWN.
17088
17089 [BZ #6578]
17090 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17091
17092 2012-04-08 Stephen Compall <s11@member.fsf.org>
17093
17094 [BZ #6649]
17095 * manual/llio.texi (Opening and Closing Files): Add cross
17096 reference to explain mode argument.
17097
17098 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17099
17100 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17101 * sysdeps/x86_64/memset_chk.S: Likewise.
17102
17103 2012-04-07 David S. Miller <davem@davemloft.net>
17104
17105 * elf/elf.h (R_SPARC_WDISP10): Define.
17106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17107 R_SPARC_SIZE32.
17108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17109 R_SPARC_SIZE64 and R_SPARC_H34.
17110
17111 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17112
17113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17114 conditions and remove no longer applicable assertion.
17115
17116 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17117
17118 * bits/byteswap.h: Include <features.h>.
17119 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17120 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17121
17122 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17123
17124 * bits/byteswap.h (__bswap_16): Removed.
17125 Include <bits/byteswap-16.h> to get __bswap_16.
17126 * sysdeps/i386/bits/byteswap.h: Likewise.
17127 * sysdeps/s390/bits/byteswap.h: Likewise.
17128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17129 * bits/byteswap-16.h: New file.
17130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17131 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17132 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17133 * string/Makefile (headers): Add bits/byteswap-16.h.
17134
17135 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17136
17137 [BZ #13895]
17138 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17139 extra indirection.
17140 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17141 * nss/tst-nss-static.c: New.
17142
17143 2012-04-06 Robert Millan <rmh@gnu.org>
17144
17145 [BZ #6486]
17146 * manual/llio.texi (File Position Primitive): lseek
17147 refers to WHENCE when it really means OFFSET.
17148
17149 2012-04-06 Andreas Jaeger <aj@suse.de>
17150
17151 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17152 strncmp declarations.
17153
17154 * abilist/libc.abilist: Add __poll and __ppoll.
17155
17156 2012-04-05 David S. Miller <davem@davemloft.net>
17157
17158 * scripts/check-local-headers.sh: Accept a host triplet in the
17159 path matched by the exclude regexp.
17160
17161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17162 definition.
17163 * sysdeps/powerpc/powerpc32/dl-machine.h
17164 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17165 * sysdeps/s390/s390-32/dl-machine.h
17166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17167 * sysdeps/sparc/sparc32/dl-machine.h
17168 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17169 * sysdeps/sparc/sparc64/dl-machine.h
17170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17171
17172 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17173 lazy binding.
17174 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17175 undefined symbol errors.
17176
17177 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17178 DT_NEEDED entries.
17179
17180 2012-04-05 Michael Matz <matz@suse.de>
17181
17182 [BZ #13592]
17183 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17184
17185 2012-04-05 Andreas Jaeger <aj@suse.de>
17186
17187 [BZ #13908]
17188 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17189 comment.
17190
17191 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17192
17193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17194 which ROUND is no valid rounding mode.
17195
17196 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17197
17198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17199 read again.
17200 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17201
17202 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17203
17204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17205 an exception using FPU order intentionally.
17206
17207 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17208
17209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17210 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17211 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17212 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17213
17214 2012-04-05 Simon Josefsson <simon@josefsson.org>
17215
17216 [BZ #12340]
17217 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17218 EINVAL when BUFLEN is too smal.
17219
17220 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17221
17222 [BZ #13553]
17223 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17224 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17225
17226 2012-04-03 Andreas Jaeger <aj@suse.de>
17227
17228 [BZ #13938]
17229 * manual/setjmp.texi (System V contexts): Fix sentence.
17230
17231 [BZ #13926]
17232 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17233 New macro for this case.
17234 [!__GNUC__] (__bswap_64): New inline function for this case.
17235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17236 * bits/byteswap.h: Likewise.
17237 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17238 ull, guard with __GLIBC_HAVE_LONG_LONG.
17239
17240 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17241 __GLIBC_HAVE_LONG_LONG.
17242
17243 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17244 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17245
17246 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17247
17248 [BZ #13691]
17249 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17250 inptr and inend, rather than using last_ch.
17251
17252 2012-04-02 David S. Miller <davem@davemloft.net>
17253
17254 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17255 * stdio-common/printf-parse.h (read_int): Change return type to
17256 'int', return -1 on INT_MAX overflow.
17257 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17258 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17259 overflows INT_MAX. Check for overflow of in-format-string precision
17260 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17261 SIZE_MAX not INT_MAX for integer overflow test.
17262 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17263 skip the construct in the format string but do not record anything.
17264 * stdio-common/bug22.c: Adjust to test both width/prevision
17265 INT_MAX overflow as well as total length INT_MAX overflow. Check
17266 explicitly for proper errno values.
17267
17268 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17269
17270 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17271 CHAR_MAX.
17272 * string/test-strcmp.c [! WIDE]: Likewise.
17273 * time/tst-mktime2.c: Likewise for INT_MAX.
17274 * string/test-string.h: #include <sys/param.h> for MIN.
17275
17276 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17277 * sysdeps/i386/init-first.c (init): Likewise.
17278 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17279 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17280 * sysdeps/sh/init-first.c (init): Likewise.
17281
17282 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17283
17284 * po/ru.po: Update from translation team.
17285 * po/vi.po: Likewise.
17286
17287 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17288
17289 * resolv/nss_dns/dns-host.c: Merge copyright years.
17290
17291 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17292
17293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17294 Optimize memcpy with prefetch if
17295 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17296 src, dst pointers have unequal 16 byte alignments.
17297
17298 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17299
17300 [BZ #13928]
17301 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17302 from a CNAME entry and return the minimum ttl for the query.
17303 (gaih_getanswer_slice): Likewise.
17304
17305 2012-03-30 Jeff Law <law@redhat.com>
17306
17307 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17308 due to long keys.
17309 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17310 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17311
17312 * resolv/nss_dns/dns-host.c: Update copyright year.
17313
17314 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17315
17316 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17317 requests to save a system call. Fix check that all bytes are sent.
17318
17319 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17320 comments for sendmmsg.
17321
17322 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17323
17324 [BZ #13691]
17325 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17326 with only 1 character between 0x0041 and 0x01b0.
17327 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17328 * wcsmbs/tst-mbsnrtowcs.c: New file.
17329
17330 2012-03-29 David S. Miller <davem@davemloft.net>
17331
17332 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17333 small copies by hand.
17334
17335 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17336
17337 [BZ #13761]
17338 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17339 _nss_compat_initgroups_dyn): Fall back to malloc/free
17340 for large group memberships.
17341
17342 2012-03-28 David S. Miller <davem@davemloft.net>
17343
17344 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17345 that branches into memcpy.
17346 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17349 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17351 bits.
17352 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17353 implementation too.
17354 * sysdeps/sparc/mempcpy.S: New file.
17355
17356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17357 the IFUNC routine in the libc case.
17358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17359
17360 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17362 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17363 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17364 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17365 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17366 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17367 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17368
17369 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17370 loop to 256 bytes instead of 64 bytes and fix test signedness.
17371
17372 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17373 * sysdeps/sparc/sparc32/Makefile: rather than here...
17374 * sysdeps/sparc/sparc64/Makefile: and here.
17375
17376 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17377
17378 * malloc/mallocbug.c: Avoid warnings about unused variables.
17379
17380 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17381
17382 [BZ #13760]
17383 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17384 in the right place. Discard and retry query if response is
17385 larger than input buffer size.
17386
17387 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17388
17389 [BZ #369]
17390 [BZ #2678]
17391 [BZ #3866]
17392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17393 x for large integer exponent.
17394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17396 sign of result as needed afterwards.
17397 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17399 result for underflowing pow the same as for overflow.
17400 (__kernel_standard_l): Handle powl overflow and underflow here
17401 rather than calling __kernel_standard.
17402 * math/libm-test.inc (pow_test): Add more tests.
17403
17404 [BZ #3868]
17405 [BZ #13879]
17406 [BZ #13910]
17407 [BZ #13911]
17408 [BZ #13912]
17409 [BZ #13913]
17410 [BZ #13915]
17411 [BZ #13916]
17412 [BZ #13917]
17413 [BZ #13918]
17414 [BZ #13919]
17415 [BZ #13920]
17416 [BZ #13921]
17417 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17418 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17419 (__kernel_standard_l): New function.
17420 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17421 __kernel_standard.
17422 * math/w_acosl.c (__acosl): Likewise.
17423 * math/w_asinl.c (__asinl): Likewise.
17424 * math/w_atan2l.c (__atan2l): Likewise.
17425 * math/w_atanhl.c (__atanhl): Likewise.
17426 * math/w_coshl.c (__coshl): Likewise.
17427 * math/w_exp10l.c (__exp10l): Likewise.
17428 * math/w_exp2l.c (__exp2l): Likewise.
17429 * math/w_fmodl.c (__fmodl): Likewise.
17430 * math/w_hypotl.c (__hypotl): Likewise.
17431 * math/w_j0l.c (__j0l, __y0l): Likewise.
17432 * math/w_j1l.c (__j1l, __y1l): Likewise.
17433 * math/w_jnl.c (__jnl, __ynl): Likewise.
17434 * math/w_lgammal.c (__lgammal): Likewise.
17435 * math/w_log10l.c (__log10l): Likewise.
17436 * math/w_log2l.c (__log2l): Likewise.
17437 * math/w_logl.c (__logl): Likewise.
17438 * math/w_powl.c (__powl): Likewise.
17439 * math/w_remainderl.c (__remainderl): Likewise.
17440 * math/w_scalbl.c (sysv_scalbl): Likewise.
17441 * math/w_sinhl.c (__sinhl): Likewise.
17442 * math/w_sqrtl.c (__sqrtl): Likewise.
17443 * math/w_tgammal.c (__tgammal): Likewise.
17444 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17445 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17446 * math/libm-test.inc (acos_test): Add more tests.
17447 (acosh_test): Likewise.
17448 (asin_test): Likewise.
17449 (atanh_test): Likewise.
17450 (exp_test): Likewise.
17451 (exp10_test): Likewise.
17452 (exp2_test): Likewise.
17453 (expm1_test): Likewise.
17454 (lgamma_test): Likewise.
17455 (log_test): Likewise.
17456 (log10_test): Likewise.
17457 (log1p_test): Likewise.
17458 (log2_test): Likewise.
17459 (pow_test): Do not allow some spurious overflow exceptions.
17460 (sqrt_test): Add more tests.
17461 (tgamma_test): Likewise.
17462 (y0_test): Likewise.
17463 (y1_test): Likewise.
17464 (yn_test): Likewise.
17465
17466 2012-03-27 Anton Blanchard <anton@samba.org>
17467
17468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17469 MAP_HUGETLB.
17470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17473
17474 2012-03-27 David S. Miller <davem@davemloft.net>
17475
17476 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17477
17478 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17479 have-as-vis3 check.
17480
17481 2012-03-27 Andreas Jaeger <aj@suse.de>
17482
17483 * sysdeps/x86_64/elf/configure.in: Moved to ...
17484 * sysdeps/x86_64/configure.in: ... here.
17485 * sysdeps/x86_64/elf/start.S: Moved to ...
17486 * sysdeps/x86_64/start.S: ... here.
17487 * sysdeps/x86_64/elf/configure: Delete.
17488
17489 * sysdeps/x86_64/configure.in: Merge contents from
17490 sysdeps/i386/configure.in (without i686 check).
17491
17492 * sysdeps/i386/elf/Versions: Merge into ...
17493 * sysdeps/i386/Versions: ... this.
17494 * sysdeps/i386/elf/Versions: Delete file.
17495 * sysdeps/i386/elf/start.S: Moved to ...
17496 * sysdeps/i386/start.S: ...here.
17497 * sysdeps/i386/elf/configure.in: Merge into...
17498 * sysdeps/i386/configure.in: ...here.
17499 * sysdeps/i386/elf/configure.in: Delete file.
17500 * sysdeps/i386/elf/configure: Delete file.
17501
17502 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17503 * debug/backtracesyms.c: ... here.
17504 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17505 * debug/backtracesymsfd.c: ... here.
17506 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17507 * sysdeps/generic/ifunc-sel.h: ... here.
17508
17509 * sysdeps/unix/i386/start.c: Delete file.
17510 * sysdeps/unix/sparc/start.c: Delete file.
17511 * sysdeps/unix/start.c: Delete file.
17512
17513 * sysdeps/sh/elf/configure.in: Moved to ...
17514 * sysdeps/sh/configure.in: ... here.
17515 * sysdeps/sh/elf/start.S: Moved to ...
17516 * sysdeps/sh/start.S: ... here.
17517 * sysdeps/sh/elf/configure: Delete file.
17518
17519 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17520 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17521 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17522 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17523 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17524 * sysdeps/powerpc/powerpc64/start.S: here.
17525 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17526 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17527 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17528 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17529 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17530
17531 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17532 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17533 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17534 * sysdeps/powerpc/powerpc32/start.S: ... here.
17535 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17536 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17537 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17538
17539 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17540 * sysdeps/powerpc/ifunc-sel.h: ... here.
17541 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17542 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17543
17544 * sysdeps/sparc/elf/configure.in: Moved to ...
17545 * sysdeps/sparc/configure.in: ... here.
17546 * sysdeps/sparc/elf/configure: Delete file.
17547 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17548 * sysdeps/sparc/sparc32/start.S: ... here.
17549 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17550 * sysdeps/sparc/sparc64/start.S: ... here.
17551 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17552 * sysdeps/sparc/sparc32/Makefile: ... this.
17553 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17554 * sysdeps/sparc/sparc64/Makefile: ... this.
17555
17556 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17557 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17558 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17559 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17560 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17561 * sysdeps/s390/s390-32/setjmp.S: ... here.
17562 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17563 * sysdeps/s390/s390-32/configure.in: ... here.
17564 * sysdeps/s390/s390-32/elf/configure: Delete file.
17565 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17566 * sysdeps/s390/s390-32/start.S: ... here.
17567
17568 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17569 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17570 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17571 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17572 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17573 * sysdeps/s390/s390-64/setjmp.S: ... here.
17574 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17575 * sysdeps/s390/s390-64/configure.in: ... here
17576 * sysdeps/s390/s390-64/elf/configure: Delete file.
17577 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17578 * sysdeps/s390/s390-64/start.S: ... here.
17579 * sysdeps/s390/s390-64/elf/configure: Delete.
17580
17581 * configure.in: Remove support for elf directories in sysdeps.
17582
17583 * configure: Regenerated.
17584 * sysdeps/i386/configure: Regenerated.
17585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17587 * sysdeps/s390/s390-32/configure: Regenerated.
17588 * sysdeps/s390/s390-64/configure: Regenerated.
17589 * sysdeps/sh/configure: Regenerated.
17590 * sysdeps/sparc/configure: Regenerated.
17591 * sysdeps/x86_64/configure: Regenerated.
17592
17593 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17594
17595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17596
17597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17598 denormal result into account.
17599
17600 2012-03-25 Roland McGrath <roland@hack.frob.com>
17601
17602 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17603 Reported by Allan McRae <allan@archlinux.org>.
17604
17605 2012-03-23 Jeff Law <law@redhat.com>
17606
17607 * nss/getnssent.c (__nss_getent): Fix typo.
17608
17609 2012-03-23 David S. Miller <davem@davemloft.net>
17610
17611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17612
17613 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17616 to pad to uint64_t for each field.
17617 (dl_tls_index): Replace unsigned long with uint64_t.
17618
17619 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17620 Paul Pluzhnikov <ppluzhnikov@google.com>
17621
17622 [BZ #6528]
17623 * grp/Makefile (otherlibs): Don't set it.
17624 * inet/Makefile (otherlibs): Likewise.
17625 * login/Makefile (otherlibs): Likewise.
17626 * nscd/Makefile (otherlibs): Likewise.
17627 * posix/Makefile (otherlibs): Likewise.
17628 * pwd/Makefile (otherlibs): Likewise.
17629 * rt/Makefile (otherlibs): Likewise.
17630 * sunrpc/Makefile (otherlibs): Likewise.
17631 * nss/Makefile (otherlibs): Likewise.
17632 Add libnss_files to routines and static-only-routines.
17633 ($(objpfx)getent): Remove rule.
17634 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17635 static-only-routines.
17636
17637 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17638
17639 [BZ #13892]
17640 * math/s_cexp.c: Include <float.h>.
17641 (__cexp): Handle exp result overflowing not necessarily
17642 overflowing both real and imaginary parts of result.
17643 * math/s_cexpf.c: Likewise.
17644 * math/s_cexpl.c: Likewise.
17645 * math/libm-test.inc (cexp_test): Add more tests.
17646 * sysdeps/i386/fpu/libm-test-ulps: Update.
17647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648
17649 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17650
17651 * include/link.h (ELFW): New macro.
17652 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17653 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17654
17655 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17658 with uint64_t.
17659
17660 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17661
17662 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17663 declaration.
17664 (struct La_x32_retval): Likewise.
17665
17666 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 * sysdeps/x86_64/preconfigure.in: New file.
17669 * sysdeps/x86_64/preconfigure: New generated file.
17670
17671 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17672
17673 [BZ #13824]
17674 * math/e_exp2l.c: Include <float.h>.
17675 (__ieee754_exp2l): Handle overflow and underflow cases
17676 separately. Only pass fractional part of argument to
17677 __ieee754_expl.
17678 * math/libm-test.inc (exp2_test): Add more tests.
17679
17680 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17681 negating x to take absolute value.
17682 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17683 Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17686 Likewise.
17687 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17688 computing low part if x was negated.
17689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17690
17691 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17694 la_x32_gnu_pltexit.
17695 (pltexit): Cast int_retval to ptrdiff_t.
17696 * elf/tst-auditmod3b.c: Likewise.
17697 * elf/tst-auditmod4b.c: Likewise.
17698 * elf/tst-auditmod5b.c: Likewise.
17699 * elf/tst-auditmod6b.c: Likewise.
17700 * elf/tst-auditmod6c.c: Likewise.
17701 * elf/tst-auditmod7b.c: Likewise.
17702
17703 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17704 and x32_gnu_pltexit.
17705
17706 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17707 __ELF_NATIVE_CLASS.
17708 (La_x32_regs): New macro.
17709 (La_x32_retval): Likewise.
17710 (la_x32_gnu_pltenter): New function prototype.
17711 (la_x32_gnu_pltexit): Likewise.
17712
17713 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17714
17715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17716 exponent.
17717
17718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17719
17720 * configure.in (libc_cv_cc_nofma): Check for option to disable
17721 generation of FMA instructions.
17722 * configure: Regenerate.
17723 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17724 * sysdeps/ieee754/dbl-64/Makefile: New file.
17725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17726 Remove brandred-fma4.
17727 (CFLAGS-brandred-fma4.c): Remove.
17728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17730 define.
17731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17732 define.
17733
17734 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17735
17736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17737 LLONG_MAX != LONG_MAX.
17738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17739 (_fitoa_word): Likewise.
17740 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17741 LLONG_MAX != LONG_MAX.
17742 * stdio-common/_itowa.h: Include <_itoa.h>.
17743 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17744 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17745 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17746 only if not defined.
17747 (_ITOA_WORD_TYPE): Likewise.
17748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17749 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17750
17751 2012-03-21 David S. Miller <davem@davemloft.net>
17752
17753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17754
17755 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17758 of x86_64 when setting libc_cv_slibdir, libdir and
17759 libc_cv_localedir.
17760 * sysdeps/unix/sysv/linux/configure: Regenerated.
17761
17762 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17763
17764 * manual/lang.texi (Old Varargs): Remove section.
17765 (How Variadic): Update menu.
17766 (va_start): Do not mention varargs.h.
17767
17768 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17769 Joseph Myers <joseph@codesourcery.com>
17770
17771 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17772 link test.
17773 * configure: Regenerated.
17774
17775 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17776
17777 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17778 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17779 conformtest.pl
17780
17781 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17782
17783 * NOTES: Remove.
17784 * Makefile (files-for-dist): Remove NOTES.
17785 (NOTES): Remove rule.
17786 * README: Don't refer to NOTES.
17787 * manual/creature.texi: Don't include macros.texi.
17788 * manual/intro.texi (creature.texi): Remove comment referring to
17789 NOTES.
17790
17791 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17792 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17793 * configure: Regenerated.
17794 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17795 LIBC_TRY_CC_OPTION.
17796 (libc_cv_as_i686): Likewise.
17797 (libc_cv_cc_avx): Likewise.
17798 (libc_cv_cc_sse2avx): Likewise.
17799 (libc_cv_cc_fma4): Likewise.
17800 (libc_cv_cc_novzeroupper): Likewise.
17801 * sysdeps/i386/configure: Regenerated.
17802
17803 [BZ #13883]
17804 * sysdeps/i386/fpu/s_cexp.S: Remove.
17805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17806 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17807 * math/libm-test.inc (cexp_test): Add more tests.
17808 * sysdeps/i386/fpu/libm-test-ulps: Update.
17809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17810
17811 2012-03-21 Allan McRae <allan@archlinux.org>
17812
17813 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17814
17815 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17816
17817 [BZ #13871]
17818 * math/w_exp2.c: Do not include <float.h>.
17819 (o_threshold, u_threshold): Remove.
17820 (__exp2): Calculate result before checking finiteness and calling
17821 __kernel_standard.
17822 * math/w_exp2f.c: Likewise.
17823 * math/w_exp2l.c: Likewise.
17824 * math/libm-test.inc (exp2_test): Require overflow exception for
17825 1e6 input.
17826
17827 [BZ #3866]
17828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17829 range of signed 64-bit integers before using fistpll. Remove
17830 checks for whether integers fit in mantissa bits.
17831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17832 the range of signed 32-bit integers before using fistpl. Remove
17833 checks for whether integers fit in mantissa bits.
17834 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17835 (__ieee754_powl): Test for y outside the range of signed 64-bit
17836 integers before using fistpll. Reduce 64-bit values to 63-bit
17837 ones as needed.
17838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17839 divide-by-zero is raised for zero to large negative powers.
17840 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17841 (__ieee754_powl): Test for y outside the range of signed 64-bit
17842 integers before using fistpll. Reduce 64-bit values to 63-bit
17843 ones as needed.
17844 * math/libm-test.inc (pow_test): Add more tests.
17845
17846 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17849 <stdio-common/_itoa.h>.
17850 * debug/segfault.c: Likewise.
17851 * elf/dl-cache.c: Likewise.
17852 * elf/dl-minimal.c: Likewise.
17853 * elf/dl-misc.c: Likewise.
17854 * elf/dl-sysdep.c: Likewise.
17855 * elf/dl-version.c: Likewise.
17856 * elf/rtld.c: Likewise.
17857 * hurd/hurdsock.c: Likewise.
17858 * hurd/lookup-retry.c: Likewise.
17859 * malloc/malloc.c: Likewise.
17860 * malloc/mtrace.c: Likewise.
17861 * nscd/nscd_getgr_r.c: Likewise.
17862 * nscd/nscd_getpw_r.c: Likewise.
17863 * nscd/nscd_getserv_r.c: Likewise.
17864 * posix/getopt_init.c: Likewise.
17865 * posix/wordexp.c: Likewise.
17866 * stdio-common/_itoa.c: Likewise.
17867 * stdio-common/printf_fphex.c: Likewise.
17868 * stdio-common/vfprintf.c: Likewise.
17869 * string/_strerror.c: Likewise.
17870 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17871 * sysdeps/i386/i686/hp-timing.h: Likewise.
17872 * sysdeps/mach/_strerror.c: Likewise.
17873 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17874 * sysdeps/mach/hurd/sethostid.c: Likewise.
17875 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17876 * sysdeps/mach/xpg-strerror.c: Likewise.
17877 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17879 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17880 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17881 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17882 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17884 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17885 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17886 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17887 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17888 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17894 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17898
17899 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17900
17901 * stdio-common/_itoa.h: Moved to ...
17902 * sysdeps/generic/_itoa.h: Here.
17903
17904 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17905
17906 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17907 instead of "_itoa.h" and "_itowa.h".
17908 * stdio-common/vfprintf.: Likewise.
17909
17910 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17913 <bits/wordsize.h>.
17914 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17915 (__signbit): Likwise.
17916 (llrintf): Likwise.
17917 (llrint): Likwise.
17918
17919 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17920
17921 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17922 __WORDSIZE != 64.
17923
17924 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17925
17926 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17927 OVERFLOW_EXCEPTION_OK.
17928 * math/libm-test.inc ("Philosophy"): Update comment about
17929 exception testing.
17930 (OVERFLOW_EXCEPTION): Define.
17931 (OVERFLOW_EXCEPTION_OK): Likewise.
17932 (INVALID_EXCEPTION_OK): Renumber.
17933 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17934 (IGNORE_ZERO_INF_SIGN): Likewise.
17935 (test_exceptions): Handle FE_OVERFLOW.
17936 (exp10_test): Expect overflow exceptions.
17937 (exp2_test): Likewise.
17938 (expm1_test): Likewise.
17939 (nextafter_test): Likewise.
17940 (pow_test): Likewise.
17941 (scalbn_test): Likewise.
17942 (scalbln_test): Likewise.
17943
17944 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * sysdeps/x86_64/bits/atomic.h
17947 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17948 64bit integer.
17949 (atomic_exchange_acq): Likewise.
17950 (__arch_exchange_and_add_body): Likewise.
17951 (__arch_add_body): Likewise.
17952 (atomic_add_negative): Likewise.
17953 (atomic_add_zero): Likewise.
17954
17955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17958 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17959
17960 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17963 Check __x86_64__ instead of __WORDSIZE.
17964
17965 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17968
17969 2012-03-19 David S. Miller <davem@davemloft.net>
17970
17971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17972
17973 * sysdeps/sparc/fpu/fenv_private.h: New file.
17974 * sysdeps/sparc/fpu/math_private.h: Use it.
17975 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17976 Remove.
17977 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17978 (libc_feholdexcept_setroundl): Remove.
17979 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17980 Remove.
17981 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17982 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17983
17984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17987 int64_t instead of long int.
17988 (INSERT_WORDS64): Likwise.
17989
17990 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17993 _Unwind_GetCFA return to _Unwind_Ptr first.
17994
17995 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #13629]
17998 * math/s_clog.c: Include <float.h>.
17999 (__clog): Scale large or subnormal inputs.
18000 * math/s_clogf.c: Likewise.
18001 * math/s_clogl.c: Likewise.
18002 * math/s_clog10.c: Include <float.h>.
18003 (M_LOG10_2): Define.
18004 (__clog10): Scale large or subnormal inputs.
18005 * math/s_clog10f.c: Likewise.
18006 * math/s_clog10l.c: Likewise.
18007 * math/libm-test.inc (clog_test): Add more tests.
18008 (clog10_test): Likewise.
18009 * sysdeps/i386/fpu/libm-test-ulps: Update.
18010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18011
18012 [BZ #11451]
18013 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18014 x and y.
18015 * math/libm-test.inc (atan2_test): Add another test.
18016
18017 * Makerules (common-objdir-compile): Remove.
18018 * sysdeps/unix/Makefile (config-generated): Do not add
18019 $(unix-generated) to variable.
18020 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18021 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18022 Remove rule.
18023 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18024 Likewise.
18025 [generic bits/local_lim.h] (before-compile): Do not append to
18026 variable.
18027 [generic bits/local_lim.h] (common-generated): Likewise.
18028 [generic sys/param.h] (before-compile): Do not append to variable.
18029 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18030 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18031 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18033 include.
18034 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18035 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18036 [generic sys/param.h] ($(addprefix
18037 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18038 [generic sys/param.h] (common-generated): Do not append to
18039 variable.
18040 [generic sys/param.h] (sysdep_headers): Likewise.
18041 [generic bits/errno.h] (before-compile): Do not append to
18042 variable.
18043 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18044 rule.
18045 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18046 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18047 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18048 [generic bits/errno.h] (common-generated): Do not append to
18049 variable.
18050 [generic bits/ioctls.h] (before-compile): Do not append to
18051 variable.
18052 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18053 rule.
18054 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18055 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18056 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18057 rule.
18058 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18059 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18060 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18061 [generic bits/ioctls.h] (common-generated): Do not append to
18062 variable.
18063 [generic sys/syscall.h] (syscall.h): Remove variable.
18064 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18065 rule.
18066 [generic sys/syscall.h] (before-compile): Do not append to
18067 variable.
18068 [generic sys/syscall.h] (common-generated): Likewise.
18069 * sysdeps/unix/errnos-tmpl.c: Remove file.
18070 * sysdeps/unix/errnos.awk: Likewise.
18071 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18072 * sysdeps/unix/ioctls.awk: Likewise.
18073 * sysdeps/unix/mk-local_lim.c: Likewise.
18074 * sysdeps/unix/snarf-ioctls: Likewise.
18075
18076 2012-03-19 Richard Henderson <rth@twiddle.net>
18077
18078 * sysdeps/i386/fpu/fenv_private.h: New file.
18079 * sysdeps/i386/fpu/math_private.h: Use it.
18080 (math_opt_barrier, math_force_eval): Remove.
18081 (libc_feholdexcept_setround_53bit): Remove.
18082 (libc_feupdateenv_53bit): Remove.
18083 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18084 (math_opt_barrier, math_force_eval): Remove.
18085 (libc_feholdexcept): Remove.
18086 (libc_feholdexcept_setround): Remove.
18087 (libc_fetestexcept, libc_fesetenv): Remove.
18088 (libc_feupdateenv_test): Remove.
18089 (libc_feupdateenv, libc_feholdsetround): Remove.
18090 (libc_feresetround): Remove.
18091
18092 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18093 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18094
18095 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18096 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18097 (libc_feupdateenv_testl): New.
18098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18099 (libc_feupdateenv_testf): New.
18100 (libc_feupdateenv): Use libc_feupdateenv_test.
18101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18103
18104 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18105 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18106 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18107 (libc_feresetround_noex): New.
18108 (libc_feresetround_noexf): New.
18109 (libc_feresetround_noexl): New.
18110 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18111 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18112 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18114 SET_RESTORE_ROUND.
18115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18117 (__cos): Likewise.
18118 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18119 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18120 SET_RESTORE_ROUND_NOEX.
18121 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18122 SET_RESTORE_ROUND_NOEXF.
18123 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18124 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18125 (libc_feholdsetroundf): New.
18126 (libc_feresetround, libc_feresetroundf): New.
18127
18128 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18129 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18130 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18131
18132 * sysdeps/generic/math_private.h: Include <fenv.h>.
18133 (default_libc_feholdexcept): New.
18134 (default_libc_feholdexcept_setround): New.
18135 (default_libc_fesetenv, default_libc_feupdateenv): New.
18136 (libc_feholdexcept): Only define if undefined.
18137 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18138 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18139 (libc_feholdexcept_setroundl): Likewise.
18140 (libc_feholdexcept_setround_53bit): Likewise.
18141 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18142 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18143 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18144 (libc_feupdateenv_53bit): Likewise.
18145 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18146 (libc_feholdexcept): Convert from macro to inline function.
18147 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18148 (libc_fesetenv, libc_feupdateenv): Likewise.
18149
18150 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18151 not previously defined.
18152 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18153 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18154 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18155 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18156 * sysdeps/ieee754/flt-32/math_private.h: New file.
18157 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18158 math_private.h below SET_FLOAT_WORD.
18159 (__isnan, __isinf_ns, __finite): Remove.
18160 (__isnanf, __isinf_nsf, __finitef): Remove.
18161
18162 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18163
18164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18165
18166 2012-03-17 David S. Miller <davem@davemloft.net>
18167
18168 [BZ #6471]
18169 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18170 for 2.16.
18171
18172 2012-03-16 David S. Miller <davem@davemloft.net>
18173
18174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18175 warnings.
18176
18177 [BZ #6471]
18178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18179 properly.
18180 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18181 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18182 sysdep_routines when subdir is sysvipc.
18183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18184 __getshmlba helper.
18185
18186 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18187
18188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18189
18190 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18191 [__LP64__].
18192
18193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18194
18195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18196 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18197 (__lround): Renamed to ...
18198 (__llround): This. Replace long int with long long int.
18199 Define lround functions as aliases of llround functions.
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18201
18202 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18205 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18206 adresses to uintptr_t. Replace "long int" and "unsigned long
18207 int" with "greg_t" on va_arg.
18208
18209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18212 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18213
18214 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18215 Move e_machine check before EI_CLASS check. Handle x32
18216 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18217 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18218 SKIP_EM_IA_64 and include
18219 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18220
18221 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18222 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18223 (add_system_dir): New macro.
18224
18225 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18227
18228 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18229
18230 [BZ #2551]
18231 [BZ #2552]
18232 [BZ #2553]
18233 [BZ #2554]
18234 [BZ #2562]
18235 [BZ #2563]
18236 [BZ #2565]
18237 [BZ #2566]
18238 [BZ #2576]
18239 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18240 (y0): Likewise.
18241 * math/w_j0f.c (j0f): Likewise.
18242 (y0f): Likewise.
18243 * math/w_j0l.c (__j0l): Likewise.
18244 (__y0l): Likewise.
18245 * math/w_j1.c (j1): Likewise.
18246 (y1): Likewise.
18247 * math/w_j1f.c (j1f): Likewise.
18248 (y1f): Likewise.
18249 * math/w_j1l.c (__j1l): Likewise.
18250 (__y1l): Likewise.
18251 * math/w_jn.c (jn): Likewise.
18252 (yn): Likewise.
18253 * math/w_jnf.c (jnf): Likewise.
18254 (ynf): Likewise.
18255 * math/w_jnl.c (__jnl): Likewise.
18256 (__ynl): Likewise.
18257 * math/libm-test.inc (j0_test): Add more tests.
18258 (j1_test): Likewise.
18259 (jn_test): Likewise. Add trailing semicolon to existing test.
18260 (y0_test): Likewise.
18261 (y1_test): Likewise.
18262 * sysdeps/i386/fpu/libm-test-ulps: Update.
18263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18264
18265 [BZ #13851]
18266 [BZ #13854]
18267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18268 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18269 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18271 (__tanl): Set errno for infinite argument.
18272 * sysdeps/i386/fpu/mptan.c: Remove.
18273 * sysdeps/i386/fpu/s_tan.S: Likewise.
18274 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18275 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18276 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18277 * math/libm-test.inc (tan_test): Add more tests and enable more
18278 tests for double and long double.
18279 * sysdeps/i386/fpu/libm-test-ulps: Update.
18280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18281
18282 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18283
18284 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18285 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18286
18287 2012-03-16 Roland McGrath <roland@hack.frob.com>
18288
18289 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18290 * configure.in: Use it for both main tree and add-ons.
18291 * configure: Regenerated.
18292
18293 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18296
18297 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18298
18299 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18300 in comment.
18301
18302 [BZ #13851]
18303 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18304 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18308 infinite argument.
18309 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18311 != 0 for prec == 2.
18312 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18313 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18314 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18315 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18316 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18317 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18318 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18319 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18320 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18321 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18322 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18323 * math/libm-test.inc (cos_test): Add more tests and enable more
18324 tests for long double.
18325 (sin_test): Likewise.
18326 (sincos_test): Likewise.
18327 * sysdeps/i386/fpu/libm-test-ulps: Update.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329
18330 2012-03-16 David S. Miller <davem@davemloft.net>
18331
18332 * sysdeps/sparc/fpu/math_private.h: New file.
18333
18334 2012-03-15 David S. Miller <davem@davemloft.net>
18335
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18337 file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18340 file.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18347 sysdep routines.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18349
18350 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18351 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18352
18353 * sysdeps/sparc/sparc-ifunc.h: New file.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18355 sparc-ifunc.h
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18358 Likewise.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18360 Likewise.
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18365 Likewise.
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18371 Likewise.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18373 Likewise.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18398
18399 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18400
18401 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18402 scaling.
18403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18404
18405 2012-03-15 Andreas Jaeger <aj@suse.de>
18406
18407 [BZ #13852]
18408 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18409 ieee754/flt-32 implementation for sin, cos and sincos.
18410 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18411 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18412 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18413 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18414 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18415 ieee754/flt-32 implementation for tan.
18416
18417 * math/libm-test.inc (cos_test): Enable some large input tests for
18418 float as well
18419 (sin_test): Likewise.
18420 (sincos_test): Likewise.
18421 (tan_test): Add tests for large input.
18422
18423 * sysdeps/i386/fpu/libm-test-ulps: Update.
18424
18425 2012-03-15 Andreas Jaeger <aj@suse.de>
18426
18427 [BZ #13658]
18428 * math/libm-test.inc (cos_test): Add more test cases.
18429 (sin_test): Likewise.
18430 (sincos_test): Likewise.
18431
18432 2012-03-15 Andreas Jaeger <aj@suse.de>
18433
18434 [BZ #13837]
18435 * math/libm-test.inc (cos_test): Add a test case for large input
18436 value.
18437 (sin_test): Likewise.
18438 (sincos_test): Likewise.
18439
18440 2012-03-15 Andreas Jaeger <aj@suse.de>,
18441 Joseph Myers <joseph@codesourcery.com>
18442
18443 [BZ #13658]
18444 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18445 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18446 * sysdeps/i386/fpu/branred.c: Likewise.
18447 * sysdeps/i386/fpu/dosincos.c: Likewise.
18448 * sysdeps/i386/fpu/mpa.c: Likewise.
18449 * sysdeps/i386/fpu/s_cos.S: Likewise.
18450 * sysdeps/i386/fpu/s_sin.S: Likewise.
18451 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18452 * sysdeps/i386/fpu/sincos32.c: Likewise.
18453
18454 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18455 Define.
18456 (libc_feupdateenv_53bit): Define.
18457 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18458 Define.
18459 (libc_feupdateenv_53bit): Define.
18460
18461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18462 53 bit (without extend i386 double precision).
18463
18464 * math/libm-test.inc (sincos_test): Add tests for large input.
18465 (sin): Likewise.
18466 (cos): Likewise.
18467
18468 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18469
18470 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18471
18472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18473
18474 2012-03-15 David S. Miller <davem@davemloft.net>
18475
18476 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18477 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18479 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18492 file.
18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18495 file.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18498 file.
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18501 file.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18504 fmin/fmax sysdep routines.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18506
18507 2012-03-14 David S. Miller <davem@davemloft.net>
18508
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18538 routines.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18540 file.
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18543 file.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18546 file.
18547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18549 file.
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18552 file.
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18555 file.
18556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18557 file.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18559 file.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18561 file.
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18563 New file.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18565 file.
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18567 file.
18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18570 file.
18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18573 file.
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18576 file.
18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18579 VIS3 routines.
18580
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18582 New file.
18583
18584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18585
18586 * sysdeps/sparc/configure.in: New file.
18587 * sysdeps/sparc/configure: Generate.
18588 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18589 * configure: Regenerate.
18590 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18591 * config.make.in (have-as-vis3): New.
18592 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18593 available use -Av9d instead of -Av9a.
18594 * sysdeps/sparc/sparc64/Makefile: Likewise.
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18597 New file.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18599 file.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18601 New file.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18603 file.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18609
18610 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18611 fzeros/fnegs to load 0x80000000 into a float register instead of
18612 using the stack.
18613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18614
18615 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18616
18617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18618 bits/syscall.h.
18619 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18620 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18621 ($(inst_includedir)/bits/syscall.h): Remove rule.
18622 ($(objpfx)bits/syscall.d): Include instead of
18623 $(objpfx)syscall-list.d.
18624 (generated): Change syscall-list.h and syscall-list.d to
18625 bits/syscall.h and bits/syscall.d.
18626
18627 2012-03-14 Roland McGrath <roland@hack.frob.com>
18628
18629 [BZ #13846]
18630 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18631
18632 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18633
18634 [BZ #13841]
18635 * math/s_csqrt.c: Include <float.h>.
18636 (__csqrt): Scale large or subnormal inputs.
18637 * math/s_csqrtf.c: Likewise.
18638 * math/s_csqrtl.c: Likewise.
18639 * math/libm-test.inc (csqrt_test): Add more tests.
18640 * sysdeps/i386/fpu/libm-test-ulps: Update.
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642
18643 [BZ #13840]
18644 * math/libm-test.inc (hypot_test): Add more tests.
18645
18646 2012-03-13 David S. Miller <davem@davemloft.net>
18647
18648 [BZ #13840]
18649 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18650 double-precision for the calculation instead of scaling.
18651
18652 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18653
18654 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18655 manipulate bits before adding and subtracting TWO52[sx].
18656 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18658 Likewise.
18659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18660
18661 2012-03-13 David S. Miller <davem@davemloft.net>
18662
18663 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18664 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18666 rtld-global-offsets.h
18667 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18668
18669 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18670 large parameters.
18671
18672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18673
18674 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18675 'err' in the ifdef scope in which it is actually used.
18676
18677 * nss/nss_db/db-init.c: Include string.h
18678
18679 2012-03-12 David S. Miller <davem@davemloft.net>
18680
18681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18682 masking out of the most significant byte of random value used.
18683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18684 Fix coding style in previous change.
18685
18686 * sysdeps/unix/sysv/linux/kernel-features.h
18687 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18688 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18689 expression.
18690 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18691 later.
18692
18693 2012-03-11 David S. Miller <davem@davemloft.net>
18694
18695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18696 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18698 for 'resultvar' otherwise things get truncated on 64-bit.
18699
18700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18701 Fix masking out of the most significant byte of random value used.
18702
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
18705 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18706
18707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18708
18709 2012-03-09 David S. Miller <davem@davemloft.net>
18710
18711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18712 variables with appropriate CPP guards.
18713 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18714 frame pointer, not the stack pointer. Correct layout comments. Fix test
18715 on resulting framesize and the management of the outregs buffer for pltexit.
18716 Preserve floating point return values across _dl_call_pltexit call.
18717 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18718 framesize and the management of the outregs buffer for pltexit.
18719 Preserve floating point return values across _dl_call_pltexit
18720 call.
18721 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18722 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18723 (print_exit): Fix format string for return register value.
18724
18725 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18726
18727 * sunrpc/Makefile (others): Add rpcgen.
18728 ($(objpfx)rpcgen): Remove special build rule and dependency on
18729 libc.
18730 * sunrpc/rpcgen.c: New file.
18731
18732 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18733
18734 [BZ #13673]
18735 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18736 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18737 * sysdeps/i386/crti.S: Likewise.
18738 * sysdeps/i386/crtn.S: Likewise.
18739 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18740 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18741 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18743 * sysdeps/sh/crti.S: Likewise.
18744 * sysdeps/sh/crtn.S: Likewise.
18745 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18746
18747 [BZ #13673]
18748 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18749 with URL.
18750 * locale/programs/locfile-kw.gperf: Likewise.
18751 * locale/programs/charmap-kw.h: Regenerated.
18752 * locale/programs/locfile-kw.h: Likewise.
18753
18754 [BZ #13673]
18755 * intl/plural.y: Replace FSF snail mail address with URL.
18756 * intl/plural.c: Regenerated.
18757
18758 2012-03-09 Richard Henderson <rth@twiddle.net>
18759
18760 * include/math_private.h: Remove file.
18761 * math/math_private.h: Move file ...
18762 * sysdeps/generic/math_private.h: ... here.
18763
18764 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18765 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18766 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18767
18768 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18769 and <math_private.h>.
18770 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18771 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18772 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18773 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18774 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18867 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18871 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18872 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18875 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18876 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18880 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18884 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18889 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18913 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18914 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18919 * sysdeps/ieee754/k_standard.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19080 * sysdeps/ieee754/s_lib_version.c: Likewise.
19081 * sysdeps/ieee754/s_matherr.c: Likewise.
19082 * sysdeps/ieee754/s_signgam.c: Likewise.
19083 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19085 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19086 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19087 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19088 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19089 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19090 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19091 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19092 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19093 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19094 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19095 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19096 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19097 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19098 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19104
19105 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19106
19107 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19108 * sunrpc/rpc_main.c: Likewise.
19109 * sunrpc/rpc_svcout.c: Likewise.
19110
19111 2012-03-09 David S. Miller <davem@davemloft.net>
19112
19113 * include/math_private.h: New file.
19114
19115 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19116
19117 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19118 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19119 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19120 from <bits/socket_type.h>.
19121 (enum __socket_type): Don't define here.
19122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19124 bits/socket_type.h.
19125
19126 [BZ #13566]
19127 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19128 checking __USE_GNU.
19129
19130 * Makerules ($(inst_includedir)/%.h): New rule.
19131 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19132 (install-others): Remove variable setting.
19133 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19134
19135 2012-03-08 Richard Henderson <rth@twiddle.net>
19136
19137 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19138 from macro to inline function; merge with the
19139 !__LIBC_INTERNAL_MATH_INLINES version.
19140 (__ieee754_sqrtf): Likewise.
19141
19142 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19143 to inline function.
19144 (__rintf, __floor, __floorf): Likewise.
19145
19146 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19147 macro to inline function.
19148 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19149
19150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19151 not <math/math_private.h>.
19152
19153 2012-03-08 David S. Miller <davem@davemloft.net>
19154
19155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19156 copyright year.
19157 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19158
19159 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19160
19161 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19162 normalization.
19163 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19164 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19165
19166 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19167
19168 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19169 be defined individually, they must be defined as a block. Define
19170 S for printing a string instead of hidint the different by using a
19171 macro for adding the 'l'.
19172 * stdio-common/tst-fphex-wide.c: Adjust.
19173
19174 2012-03-07 Marek Polacek <polacek@redhat.com>
19175
19176 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19177
19178 2012-03-08 Marek Polacek <polacek@redhat.com>
19179
19180 [BZ #13806]
19181 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19182 * stdio-common/tst-fphex.c: Define a few macros to make the
19183 test reusable. Use them.
19184 * stdio-common/tst-fphex-wide.c: New file.
19185
19186 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19187
19188 [BZ #6911]
19189 * manual/macros.texi (gnusystems): New macro.
19190 (nongnusystems): Likewise.
19191 (gnulinuxhurdsystems): Likewise.
19192 (gnuhurdsystems): Likewise..
19193 (gnulinuxsystems): Likewise.
19194 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19195 variants of the GNU system, not "GNU system".
19196 * manual/conf.texi: Likewise.
19197 * manual/errno.texi: Likewise. Update example of errno macro
19198 expansion.
19199 * manual/filesys.texi: Likewise.
19200 (getumask): Document as specific to GNU/Hurd.
19201 * manual/install.texi: Likewise. Reword some references to
19202 GNU/Linux.
19203 * manual/intro.texi: Likewise.
19204 * manual/io.texi: Likewise.
19205 (File Name Portability): Detail which constraints are inapplicable
19206 to all GNU systems and which are only inapplicable to GNU/Hurd.
19207 * manual/job.texi: Likewise.
19208 * manual/llio.texi: Likewise.
19209 (O_NOCTTY): Document as present on GNU/Linux.
19210 * manual/maint.texi: Likewise.
19211 * manual/memory.texi: Likewise.
19212 * manual/pattern.texi: Likewise.
19213 * manual/pipe.texi: Likewise.
19214 * manual/process.texi: Likewise.
19215 * manual/resource.texi: Likewise.
19216 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19217 child on GNU/Hurd.
19218 * manual/setjmp.texi: Likewise.
19219 * manual/signal.texi: Likewise.
19220 * manual/startup.texi: Likewise.
19221 * manual/stdio.texi: Likewise.
19222 * manual/terminal.texi: Likewise.
19223 (ONLCR): Document as POSIX.
19224 (OXTABS): Document availability on GNU/Linux as XTABS.
19225 (ONOEOT): Document availability separately from other bits.
19226 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19227 * manual/time.texi: Likewise.
19228 * manual/users.texi: Likewise.
19229 * INSTALL: Regenerated.
19230 * sysdeps/gnu/errlist.c: Regenerated.
19231
19232 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19233 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19234 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19235 puts.
19236 * configure: Regenerated.
19237
19238 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19239
19240 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19241 default includes instead of AC_HEADER_CHECK.
19242 * sysdeps/i386/configure: Regenerated.
19243
19244 [BZ #10716]
19245 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19246 * math/s_cacoshf.c (__cacoshf): Likewise.
19247 * math/s_cacoshl.c (__cacoshl): Likewise.
19248 * math/s_casinh.c (__casinh): Set signs of result from argument.
19249 * math/s_casinhf.c (__casinhf): Likewise.
19250 * math/s_casinhl.c (__casinhl): Likewise.
19251 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19252 (casinh_test): Add more tests.
19253 * sysdeps/i386/fpu/libm-test-ulps: Update.
19254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19255
19256 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19257
19258 * po/zh_TW.po: Update from translation team.
19259
19260 * login/Makefile (distribute): Remove variable.
19261 * catgets/Makefile: Likewise.
19262 * mach/Makefile: Likewise.
19263 * malloc/Makefile: Likewise.
19264 * misc/Makefile: Likewise.
19265 * iconv/Makefile: Likewise.
19266 * nscd/Makefile: Likewise.
19267 * hurd/Makefile: Likewise.
19268 * manual/Makefile: Likewise.
19269 * locale/Makefile: Likewise.
19270 * intl/Makefile: Likewise.
19271 * conform/Makefile: Likewise.
19272 * nss/Makefile: Likewise.
19273 * time/Makefile: Likewise.
19274 * soft-fp/Makefile: Likewise.
19275 * dirent/Makefile: Likewise.
19276 * gmon/Makefile: Likewise.
19277 * po/Makefile: Likewise.
19278 * rt/Makefile: Likewise.
19279 * socket/Makefile: Likewise.
19280 * math/Makefile: Likewise.
19281 * signal/Makefile: Likewise.
19282 * debug/Makefile: Likewise.
19283 * elf/Makefile: Likewise.
19284 * timezone/Makefile: Likewise.
19285 * stdlib/Makefile: Likewise.
19286 * iconvdata/Makefile: Likewise.
19287 * sunrpc/Makefile: Likewise.
19288 * io/Makefile: Likewise.
19289 * argp/Makefile: Likewise.
19290 * inet/Makefile: Likewise.
19291 * hesiod/Makefile: Likewise.
19292 * grp/Makefile: Likewise.
19293 * csu/Makefile: Likewise.
19294 * wctype/Makefile: Likewise.
19295 * crypt/Makefile: Likewise.
19296 * libio/Makefile: Likewise.
19297 * string/Makefile: Likewise.
19298 * nis/Makefile: Likewise.
19299 * resolv/Makefile: Likewise.
19300 * stdio-common/Makefile: Likewise.
19301 * wcsmbs/Makefile: Likewise.
19302 * dlfcn/Makefile: Likewise.
19303 * posix/Makefile: Likewise.
19304
19305 [BZ #6959]
19306 * timezone/Makefile: Don't install timezone files, just the programs
19307 and scripts.
19308
19309 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19310
19311 * nss/databases.def: Add missing gshadow entry.
19312
19313 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19314
19315 2012-03-06 Marek Polacek <polacek@redhat.com>
19316
19317 [BZ #13726]
19318 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19319 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19320 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19321 * stdio-common/tst-long-dbl-fphex.c: New file.
19322
19323 2012-03-06 David S. Miller <davem@davemloft.net>
19324
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19326 (set_obp_int): New function.
19327 (get_obp_int): New function.
19328 (__get_clockfreq_via_dev_openprom): Likewise.
19329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19330 Avoid unused variable warnings on 'val' and use builtin_expect.
19331 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19332 __builtin_expect.
19333 (INLINE_CLONE_SYSCALL): Likewise.
19334
19335 2012-03-05 David S. Miller <davem@davemloft.net>
19336
19337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19338
19339 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19340
19341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19342
19343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19344 only for |x| >= 40.
19345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19346
19347 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19348
19349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19350 Replace gettimeofday with __vdso_gettimeofday.
19351
19352 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19353 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19354 __vdso_clock_gettime and __vdso_getcpu.
19355
19356 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19357 time with __vdso_time.
19358
19359 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19360
19361 * manual/lang.texi (size_t): Note types to which size_t may be
19362 equivalent with the GNU C Library, but do not describe when
19363 differences between them are significant.
19364
19365 2012-03-05 Andreas Jaeger <aj@suse.de>
19366
19367 * sysdeps/i386/fpu/libm-test-ulps: Update.
19368
19369 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19370
19371 [BZ #3976]
19372 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19373 (__ieee754_pow): Save and restore rounding mode and use
19374 round-to-nearest for main computations.
19375 * math/libm-test.inc (pow_test_tonearest): New function.
19376 (pow_test_towardzero): Likewise.
19377 (pow_test_downward): Likewise.
19378 (pow_test_upward): Likewise.
19379 (main): Call the new functions.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19382
19383 [BZ #3976]
19384 * math/libm-test.inc (cosh_test_tonearest): New function.
19385 (cosh_test_towardzero): Likewise.
19386 (cosh_test_downward): Likewise.
19387 (cosh_test_upward): Likewise.
19388 (sinh_test_tonearest): Likewise.
19389 (sinh_test_towardzero): Likewise.
19390 (sinh_test_downward): Likewise.
19391 (sinh_test_upward): Likewise.
19392 (main): Call the new functions.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395
19396 2012-03-05 Tom de Vries <tom@codesourcery.com>
19397
19398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19399 default stack guard is set in last bytes.
19400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19401
19402 2012-03-05 Kees Cook <keescook@chromium.org>
19403
19404 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19405
19406 [BZ #13656]
19407 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19408 possibly allocate from heap instead of stack.
19409 * stdio-common/bug-vfprintf-nargs.c: New file.
19410 * stdio-common/Makefile (tests): Add nargs overflow test.
19411
19412 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19413
19414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19415
19416 2012-03-03 Marek Polacek <polacek@redhat.com>
19417
19418 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19419 * math/math_private.h: Likewise.
19420 * stdlib/tst-strtod.c: Likewise.
19421 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19422 * sysdeps/x86_64/bits/atomic.h: Likewise.
19423
19424 2012-03-02 David S. Miller <davem@davemloft.net>
19425
19426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19430 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19431 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19432 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19433 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19434
19435 2012-03-02 Roland McGrath <roland@hack.frob.com>
19436
19437 [BZ #13792]
19438 * manual/examples/README: New file, says the example source files
19439 can be used under GPL>=2.
19440 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19441 line containing just "*/".
19442 * manual/examples/add.c: Add copyright header (GPL>=2).
19443 * manual/examples/argp-ex1.c: Likewise.
19444 * manual/examples/argp-ex2.c: Likewise.
19445 * manual/examples/argp-ex3.c: Likewise.
19446 * manual/examples/argp-ex4.c: Likewise.
19447 * manual/examples/atexit.c: Likewise.
19448 * manual/examples/db.c: Likewise.
19449 * manual/examples/dir.c: Likewise.
19450 * manual/examples/dir2.c: Likewise.
19451 * manual/examples/execinfo.c: Likewise.
19452 * manual/examples/filecli.c: Likewise.
19453 * manual/examples/filesrv.c: Likewise.
19454 * manual/examples/fmtmsgexpl.c: Likewise.
19455 * manual/examples/genpass.c: Likewise.
19456 * manual/examples/inetcli.c: Likewise.
19457 * manual/examples/inetsrv.c: Likewise.
19458 * manual/examples/isockad.c: Likewise.
19459 * manual/examples/longopt.c: Likewise.
19460 * manual/examples/memopen.c: Likewise.
19461 * manual/examples/memstrm.c: Likewise.
19462 * manual/examples/mkfsock.c: Likewise.
19463 * manual/examples/mkisock.c: Likewise.
19464 * manual/examples/mygetpass.c: Likewise.
19465 * manual/examples/pipe.c: Likewise.
19466 * manual/examples/popen.c: Likewise.
19467 * manual/examples/rprintf.c: Likewise.
19468 * manual/examples/search.c: Likewise.
19469 * manual/examples/select.c: Likewise.
19470 * manual/examples/setjmp.c: Likewise.
19471 * manual/examples/sigh1.c: Likewise.
19472 * manual/examples/sigusr.c: Likewise.
19473 * manual/examples/stpcpy.c: Likewise.
19474 * manual/examples/strdupa.c: Likewise.
19475 * manual/examples/strftim.c: Likewise.
19476 * manual/examples/strncat.c: Likewise.
19477 * manual/examples/subopt.c: Likewise.
19478 * manual/examples/swapcontext.c: Likewise.
19479 * manual/examples/termios.c: Likewise.
19480 * manual/examples/testopt.c: Likewise.
19481 * manual/examples/testpass.c: Likewise.
19482 * manual/examples/timeval_subtract.c: Likewise.
19483
19484 [BZ #13792]
19485 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19486 function to ...
19487 * manual/timeval_subtract.c.texi: ... here, new file.
19488
19489 2012-03-02 David S. Miller <davem@davemloft.net>
19490
19491 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19492
19493 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19494
19495 [BZ #3976]
19496 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19497 (__sin): Save and restore rounding mode and use round-to-nearest
19498 for all computations.
19499 (__cos): Save and restore rounding mode and use round-to-nearest
19500 for all computations.
19501 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19502 <fenv.h>.
19503 (tan): Save and restore rounding mode and use round-to-nearest for
19504 all computations.
19505 * math/libm-test.inc (cos_test_tonearest): New function.
19506 (cos_test_towardzero): Likewise.
19507 (cos_test_downward): Likewise.
19508 (cos_test_upward): Likewise.
19509 (sin_test_tonearest): Likewise.
19510 (sin_test_towardzero): Likewise.
19511 (sin_test_downward): Likewise.
19512 (sin_test_upward): Likewise.
19513 (tan_test_tonearest): Likewise.
19514 (tan_test_towardzero): Likewise.
19515 (tan_test_downward): Likewise.
19516 (tan_test_upward): Likewise.
19517 (main): Call the new functions.
19518 * sysdeps/i386/fpu/libm-test-ulps: Update.
19519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520
19521 [BZ #10135]
19522 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19523 small n, then large n, before computing and testing k+n.
19524 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19526 Likewise.
19527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19528 Likewise.
19529 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19530 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19537 * math/libm-test.inc (scalbn_test): Add more tests.
19538 (scalbln_test): Likewise.
19539
19540 * manual/filesys.texi (mode_t): Describe constraints on size and
19541 signedness, not exact equivalence to a particular type.
19542 (ino_t): Likewise.
19543 (ino64_t): Likewise.
19544 (dev_t): Likewise.
19545 (nlink_t): Likewise.
19546 (blkcnt_t): Likewise.
19547 (blkcnt64_t): Likewise.
19548 * manual/llio.texi (off_t): Likewise.
19549
19550 [BZ #3976]
19551 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19552 (__ieee754_exp): Save and restore rounding mode and use
19553 round-to-nearest for all computations.
19554 * math/libm-test.inc (exp_test_tonearest): New function.
19555 (exp_test_towardzero): Likewise.
19556 (exp_test_downward): Likewise.
19557 (exp_test_upward): Likewise.
19558 (main): Call the new functions.
19559 * sysdeps/i386/fpu/libm-test-ulps: Update.
19560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561
19562 2012-03-01 Chris Demetriou <cgd@google.com>
19563
19564 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19565 have predictable order.
19566
19567 2012-03-01 David S. Miller <davem@davemloft.net>
19568
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19570
19571 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19572 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19573 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19574 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19575
19576 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19577 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19578 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19580 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19581 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19582 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19583 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19584 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19585
19586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19587
19588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19589 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19591
19592 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19595 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19596 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19599 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19600 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19601 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19602 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19608 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19609 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19610 * sysdeps/sparc/elf/configure: Regenerated.
19611
19612 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19613
19614 * configure.in (AS, LD): Require binutils 2.20 or later.
19615 * configure: Regenerated.
19616 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19617 as required minimum version.
19618 * INSTALL: Regenerated.
19619
19620 [BZ #2541]
19621 [BZ #4108]
19622 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19623 before squaring exponent.
19624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19625 bottom long double and 27 bits of top long double before squaring
19626 exponent.
19627 * math/libm-test.inc (erfc_test): Add more tests.
19628 * sysdeps/i386/fpu/libm-test-ulps: Update.
19629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
19632 2012-03-01 Kai Tietz <ktietz@redhat.com>
19633
19634 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19635 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19636 containing bit-fields.
19637 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19638 * soft-fp/single.h (_FP_UNION_S): Likewise.
19639 * soft-fp/double.h (_FP_UNION_D): Likewise.
19640
19641 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19642
19643 [BZ #13786]
19644 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19645 not include ../strcmp.S.
19646 [USE_AS_STRNCASECMP_L]: Likewise.
19647 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19648 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19649 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19650 (__strncasecmp_l_ia32): Define as alias to
19651 __strncasecmp_l_nonascii.
19652
19653 [BZ #5794]
19654 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19655 * sysdeps/i386/fpu/libm-test-ulps: Update.
19656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657
19658 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660
19661 2012-02-29 Jeff Law <law@redhat.com>
19662
19663 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19664 out of bounds read.
19665
19666 2012-02-29 Marek Polacek <polacek@redhat.com>
19667
19668 [BZ #13706]
19669 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19670 * elf/Makefile: Add rules to run tst-unused-dep.out.
19671
19672 2012-02-28 David S. Miller <davem@davemloft.net>
19673
19674 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19675 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19680
19681 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19682
19683 * math/libm-test.inc (llround_test): Move one test from
19684 lround_test. Use TEST_f_L in moved test.
19685 (lround_test): Move misplaced test to llround_test. Add testcase
19686 from bug 2561.
19687
19688 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19689
19690 * sysdeps/x86_64/fpu/e_expf.S: New file.
19691 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19692
19693 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19694
19695 [BZ #13637]
19696 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19697 of remain_len that may cause incomplete multi-byte character and
19698 false match.
19699 * posix/bug-regex33.c: New file.
19700 * posix/Makefile (tests): Add bug-regex33.
19701
19702 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19703
19704 * manual/macros.texi: New file.
19705 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19706 * manual/libc.texinfo: Include macros.texi.
19707 * manual/creatute.texi: Likewise.
19708 * manual/install.texi: Likewise.
19709 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19710 @glibcadj{} in references to the GNU C Library.
19711 * manual/charset.texi: Likewise.
19712 * manual/conf.texi: Likewise.
19713 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19714 when not using those macros.
19715 * manual/creature.texi: Likewise.
19716 * manual/crypt.texi: Likewise.
19717 * manual/errno.texi: Likewise.
19718 * manual/filesys.texi: Likewise.
19719 * manual/header.texi: Likewise.
19720 * manual/install.texi: Likewise.
19721 * manual/intro.texi: Likewise.
19722 * manual/io.texi: Likewise.
19723 * manual/job.texi: Likewise.
19724 * manual/lang.texi: Likewise.
19725 * manual/libc.texiinfo: Likewise.
19726 * manual/llio.texi: Likewise.
19727 * manual/locale.texi: Likewise.
19728 * manual/maint.texi: Likewise.
19729 * manual/math.texi: Likewise.
19730 * manual/memory.texi: Likewise.
19731 * manual/message.texi: Likewise.
19732 * manual/nss.texi: Likewise.
19733 * manual/pattern.texi: Likewise.
19734 * manual/process.texi: Likewise.
19735 * manual/resource.texi: Likewise.
19736 * manual/search.texi: Likewise.
19737 * manual/setjmp.texi: Likewise.
19738 * manual/signal.texi: Likewise.
19739 * manual/socket.texi: Likewise.
19740 * manual/startup.texi: Likewise.
19741 * manual/stdio.texi: Likewise.
19742 * manual/string.texi: Likewise.
19743 * manual/sysinfo.texi: Likewise.
19744 * manual/syslog.texi: Likewise.
19745 * manual/terminal.texi: Likewise.
19746 * manual/time.texi: Likewise.
19747 * manual/users.texi: Likewise.
19748 * INSTALL: Regenerated.
19749 * NOTES: Regenerated.
19750 * sysdeps/gnu/errlist.c: Regenerated.
19751
19752 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19753
19754 * include/dirent.h: Include <dirstream.h> before
19755 <dirent/dirent.h>.
19756
19757 2012-02-28 David S. Miller <davem@davemloft.net>
19758
19759 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19760 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19761 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19763
19764 2012-02-27 David S. Miller <davem@davemloft.net>
19765
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19768 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19769 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19770
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19772 frame pointer instead of stack pointer relative arg slot.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19776
19777 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19778
19779 [BZ #3992]
19780 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19781
19782 2012-02-27 David S. Miller <davem@davemloft.net>
19783
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19790 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19791 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19792
19793 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19794
19795 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19796 later. Allow versions 5-9.
19797 * configure: Regenerated.
19798 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19799 required minimum version and 4.6 as recommended version. Do not
19800 mention bugs in GCC 2.7 and 2.8.
19801 * INSTALL: Regenerated.
19802
19803 2012-02-27 David S. Miller <davem@davemloft.net>
19804
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19811 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19812 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19813
19814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19815 manipulate bits before adding and subtracting TWO112[sx].
19816 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19817
19818 2012-02-27 Roland McGrath <roland@hack.frob.com>
19819
19820 [BZ #13775]
19821 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19822 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19823 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19824 being in POSIX, because they are in 1003.1-2008.
19825
19826 * rt/tst-aio.c: Include <fcntl.h>.
19827 * rt/tst-aio7.c: Likewise.
19828 * rt/tst-aio64.c: Likewise.
19829
19830 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19831
19832 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19833
19834 * manual/install.texi (--with-headers): Describe headers as
19835 interface headers, not private headers.
19836 (Specific advice for GNU/Linux systems): Describe use of headers
19837 from "make headers_install", not private headers from older
19838 kernels.
19839 * INSTALL: Regenerated.
19840 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19841 Change to 2.6.19.
19842 * sysdeps/unix/sysv/linux/configure: Regenerated.
19843
19844 * manual/llio.texi (fclean): Remove documentation.
19845
19846 * manual/Makefile (libc-texi-generated): New variable. Include
19847 version.texi.
19848 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19849 $(libc-texi-generated), not duplicated list of files.
19850 (version.texi, stamp-version): New rules.
19851 (realclean): Remove $(libc-texi-generated), not individual files
19852 from that list. Do not remove dir-add.texinfo.
19853 * manual/libc.texinfo: Comment out uses of edition numbers and
19854 references to printed manual. Remove last-updated dates.
19855 (EDITION): Comment out.
19856 (ISBN): Likewise.
19857 (VERSION, UPDATED): Remove.
19858 (version.texi): Include.
19859
19860 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19861
19862 * sysdeps/posix/spawni.c: Include <signal.h>.
19863 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19864 * sysdeps/pthread/aio_fsync.c: Likewise.
19865
19866 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19867
19868 * conform/Makefile (tests): Run only when not cross-compiling and
19869 when fast-check is not defined.
19870
19871 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19872 * conform/data/limits.h-data: Fixes for POSIX2008.
19873 * conform/run-conformtest.sh: Run all tests.
19874 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19875 headers.
19876 * include/bits/dlfcn.h: Likewise.
19877 * include/langinfo.h: Likewise.
19878 * include/monetary.h: Likewise.
19879 * include/sys/poll.h: Likewise.
19880
19881 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19882 for __USE_GNU.
19883 * posix/spawn.h: Define __need_sigset_t.
19884 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19885 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19886 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19887 to get sigevent_t only.
19888 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19889 only for __USE_GNU.
19890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19891 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19892 process_vm_writev only for __USE_GNU.
19893 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19894
19895 * conform/Makefile: For now ignore errors from run-conformtest.
19896 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19897 POSIX to avoid namespace pollution. Don't prepend headers.
19898 * conform/data/aio.h-data: Fixes for POSIX testing.
19899 * conform/data/fcntl.h-data: Likewise.
19900 * conform/data/glob.h-data: Likewise.
19901 * conform/data/grp.h-data: Likewise.
19902 * conform/data/pthread.h-data: Likewise.
19903 * conform/data/pwd.h-data: Likewise.
19904 * conform/data/signal.h-data: Likewise.
19905 * conform/data/spawn.h-data: Likewise.
19906 * conform/data/stdio.h-data: Likewise.
19907 * conform/data/stdlib.h-data: Likewise.
19908 * conform/data/stropts.h-data: Likewise.
19909 * conform/data/sys/mman.h-data: Likewise.
19910 * conform/data/sys/stat.h-data: Likewise.
19911 * conform/data/sys/types.h-data: Likewise.
19912 * conform/data/sys/wait.h-data: Likewise.
19913 * conform/data/time.h-data: Likewise.
19914 * conform/data/unistd.h-data: Likewise.
19915 * conform/data/utime.h-data: Likewise.
19916
19917 * io/sys/stat.h: fchmod was always in POSIX.
19918 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19919 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19920 * rt/aio.h: Define __need_timespec before including <time.h>.
19921 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19922 struct. Add forward declaration of pthread_attr_t and use it in
19923 sigevent.
19924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19926 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19927 always remove CLK_TCK definition.
19928
19929 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19930
19931 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19932
19933 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19934
19935 * conform/run-conformtest.sh: New file.
19936 * conform/Makefile: Run run-conformtest for tests.
19937 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19938 support.
19939
19940 * conform/data/uchar.h-data: New file.
19941 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19942 * conform/data/arpa/inet.h-data: Likewise.
19943 * conform/data/assert.h-data: Likewise.
19944 * conform/data/complex.h-data: Likewise.
19945 * conform/data/cpio.h-data: Likewise.
19946 * conform/data/ctype.h-data: Likewise.
19947 * conform/data/dirent.h-data: Likewise.
19948 * conform/data/dlfcn.h-data: Likewise.
19949 * conform/data/errno.h-data: Likewise.
19950 * conform/data/fcntl.h-data: Likewise.
19951 * conform/data/float.h-data: Likewise.
19952 * conform/data/fmtmsg.h-data: Likewise.
19953 * conform/data/fnmatch.h-data: Likewise.
19954 * conform/data/ftw.h-data: Likewise.
19955 * conform/data/glob.h-data: Likewise.
19956 * conform/data/grp.h-data: Likewise.
19957 * conform/data/iconv.h-data: Likewise.
19958 * conform/data/inttypes.h-data: Likewise.
19959 * conform/data/langinfo.h-data: Likewise.
19960 * conform/data/libgen.h-data: Likewise.
19961 * conform/data/limits.h-data: Likewise.
19962 * conform/data/locale.h-data: Likewise.
19963 * conform/data/math.h-data: Likewise.
19964 * conform/data/monetary.h-data: Likewise.
19965 * conform/data/mqueue.h-data: Likewise.
19966 * conform/data/ndbm.h-data: Likewise.
19967 * conform/data/net/if.h-data: Likewise.
19968 * conform/data/netdb.h-data: Likewise.
19969 * conform/data/netinet/in.h-data: Likewise.
19970 * conform/data/nl_types.h-data: Likewise.
19971 * conform/data/poll.h-data: Likewise.
19972 * conform/data/pthread.h-data: Likewise.
19973 * conform/data/pwd.h-data: Likewise.
19974 * conform/data/regex.h-data: Likewise.
19975 * conform/data/sched.h-data: Likewise.
19976 * conform/data/search.h-data: Likewise.
19977 * conform/data/semaphore.h-data: Likewise.
19978 * conform/data/setjmp.h-data: Likewise.
19979 * conform/data/signal.h-data: Likewise.
19980 * conform/data/spawn.h-data: Likewise.
19981 * conform/data/stdarg.h-data: Likewise.
19982 * conform/data/stdio.h-data: Likewise.
19983 * conform/data/stdlib.h-data: Likewise.
19984 * conform/data/string.h-data: Likewise.
19985 * conform/data/strings.h-data: Likewise.
19986 * conform/data/stropts.h-data: Likewise.
19987 * conform/data/sys/ipc.h-data: Likewise.
19988 * conform/data/sys/mman.h-data: Likewise.
19989 * conform/data/sys/msg.h-data: Likewise.
19990 * conform/data/sys/resource.h-data: Likewise.
19991 * conform/data/sys/select.h-data: Likewise.
19992 * conform/data/sys/sem.h-data: Likewise.
19993 * conform/data/sys/shm.h-data: Likewise.
19994 * conform/data/sys/socket.h-data: Likewise.
19995 * conform/data/sys/stat.h-data: Likewise.
19996 * conform/data/sys/statvfs.h-data: Likewise.
19997 * conform/data/sys/time.h-data: Likewise.
19998 * conform/data/sys/timeb.h-data: Likewise.
19999 * conform/data/sys/times.h-data: Likewise.
20000 * conform/data/sys/types.h-data: Likewise.
20001 * conform/data/sys/uio.h-data: Likewise.
20002 * conform/data/sys/un.h-data: Likewise.
20003 * conform/data/sys/utsname.h-data: Likewise.
20004 * conform/data/sys/wait.h-data: Likewise.
20005 * conform/data/syslog.h-data: Likewise.
20006 * conform/data/tar.h-data: Likewise.
20007 * conform/data/termios.h-data: Likewise.
20008 * conform/data/utime.h-data: Likewise.
20009 * conform/data/utmpx.h-data: Likewise.
20010 * conform/data/varargs.h-data: Likewise.
20011 * conform/data/wchar.h-data: Likewise.
20012 * conform/data/wctype.h-data: Likewise.
20013 * conform/data/wordexp.h-data: Likewise.
20014
20015 * include/stropts.h: New file.
20016 * include/uchar.h: New file.
20017 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20018 * include/assert.h: Likewise.
20019 * include/ctype.h: Likewise.
20020 * include/dirent.h: Likewise.
20021 * include/dlfcn.h: Likewise.
20022 * include/fcntl.h: Likewise.
20023 * include/fnmatch.h: Likewise.
20024 * include/glob.h: Likewise.
20025 * include/grp.h: Likewise.
20026 * include/libio.h: Likewise.
20027 * include/locale.h: Likewise.
20028 * include/math.h: Likewise.
20029 * include/net/if.h: Likewise.
20030 * include/netdb.h: Likewise.
20031 * include/netinet/in.h: Likewise.
20032 * include/pthread.h: Likewise.
20033 * include/pwd.h: Likewise.
20034 * include/regex.h: Likewise.
20035 * include/sched.h: Likewise.
20036 * include/search.h: Likewise.
20037 * include/setjmp.h: Likewise.
20038 * include/signal.h: Likewise.
20039 * include/stdio.h: Likewise.
20040 * include/stdlib.h: Likewise.
20041 * include/string.h: Likewise.
20042 * include/sys/cdefs.h: Likewise.
20043 * include/sys/mman.h: Likewise.
20044 * include/sys/msg.h: Likewise.
20045 * include/sys/resource.h: Likewise.
20046 * include/sys/select.h: Likewise.
20047 * include/sys/socket.h: Likewise.
20048 * include/sys/stat.h: Likewise.
20049 * include/sys/statvfs.h: Likewise.
20050 * include/sys/time.h: Likewise.
20051 * include/sys/times.h: Likewise.
20052 * include/sys/uio.h: Likewise.
20053 * include/sys/utsname.h: Likewise.
20054 * include/sys/wait.h: Likewise.
20055 * include/termios.h: Likewise.
20056 * include/time.h: Likewise.
20057 * include/ulimit.h: Likewise.
20058 * include/unistd.h: Likewise.
20059 * include/utime.h: Likewise.
20060 * include/wchar.h: Likewise.
20061 * include/wctype.h: Likewise.
20062 * include/wordexp.h: Likewise.
20063
20064 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20065
20066 * time/time.h: TIME_UTC must be a macro.
20067 Make timespec_get available for ISO C11 only as well.
20068
20069 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20070
20071 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20072 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20073
20074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20075
20076 * configure.in: Use -o not -a in test for unsupported multi-arch.
20077
20078 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20079
20080 * manual/texinfo.tex: Update to version 2012-01-19.16.
20081
20082 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20083
20084 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20085
20086 2012-02-24 Roland McGrath <roland@hack.frob.com>
20087
20088 [BZ #13738]
20089 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20090 * manual/fdl-1.3.texi: New file.
20091 * manual/fdl-1.1.texi: File removed.
20092
20093 [BZ #13738]
20094 * manual/libc.texinfo (FDL_VERSION): New @set.
20095 Use it for mention of FDL in cover text.
20096 (Documentation License): Use it in @include file name.
20097
20098 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20099 Roland McGrath <roland@hack.frob.com>
20100
20101 [BZ #5461]
20102 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20103 not LONG_LONG_MAX and LONG_LONG_MIN.
20104 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20105 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20106 name.
20107 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20108
20109 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20110
20111 [BZ #2547]
20112 [BZ #11365]
20113 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20114 manipulate bits before adding and subtracting TWO23[sx].
20115 * math/libm-test.inc (nearbyint_test): Add more tests.
20116
20117 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20118
20119 [BZ #2548]
20120 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20121 bits before adding and subtracting TWO23[sx].
20122 * math/libm-test.inc (rint_test): Add more tests.
20123 (rint_test_tonearest): Likewise.
20124 (rint_test_towardzero): Likewise.
20125 (rint_test_downward): Likewise.
20126 (rint_test_upward: Likewise.
20127
20128 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20129
20130 [BZ #10110]
20131 * include/stdc-predef.h: New file. Extracted from features.h.
20132 * include/features.h: Include stdc-predef.h.
20133 * Makefile (headers): Add stdc-predef.h.
20134 * CONFORMANCE (Compiler limitations): Update.
20135
20136 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20137
20138 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20139
20140 2012-02-21 David S. Miller <davem@davemloft.net>
20141
20142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20144
20145 2012-02-20 David S. Miller <davem@davemloft.net>
20146
20147 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20148 using a normal save/restore sequence, rather than allocating a
20149 dummy stack frame just to store a frame pointer and restore.
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20151
20152 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20153
20154 * manual/install.texi: Fix stray word in line-wrapped comment.
20155
20156 2012-02-20 David S. Miller <davem@davemloft.net>
20157
20158 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20159 both binutils and gcc support GOTDATA.
20160
20161 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20162 "rd %pc" in the PIC register setup sequences.
20163
20164 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20165 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20166 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20167 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20168 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20170 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20173 (SYSCALL_ERROR_HANDLER): Likewise.
20174 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20177 (SYSCALL_ERROR_HANDLER): Likewise.
20178
20179 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20180 (HAVE_GCC_GOTDATA): New.
20181 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20182 relocation support in both binutils and gcc.
20183 * sysdeps/sparc/elf/configure: Regenerate.
20184
20185 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20186 * sysdeps/sparc/sparc32/elf/configure: Delete.
20187 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20188 * sysdeps/sparc/sparc64/elf/configure: Delete.
20189 * sysdeps/sparc/elf/configure.in: New file.
20190 * sysdeps/sparc/elf/configure: Generate.
20191
20192 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20193 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20194 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20195 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20196 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20197
20198 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20199
20200 * manual/install.texi: Do not mention specific glibc version
20201 numbers.
20202 * manual/libc.texinfo (VERSION, UPDATED): Update.
20203 (@copying): Use @copyright{} and range of years.
20204
20205 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20206
20207 [BZ #13695]
20208 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20209 [crti.S not in sysdirs] (generated): Do not append.
20210 [crti.S not in sysdirs] (omit-deps): Likewise.
20211 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20212 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20213 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20214 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20215 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20216 Likewise.
20217 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20218 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20219 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20220 * csu/defs.awk: Remove file.
20221 * sysdeps/generic/initfini.c: Likewise.
20222 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20223 variable.
20224 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20225 Likewise.
20226
20227 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20228
20229 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20230 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20231 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20234 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20235 <bits/epoll.h>.
20236 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20237 (__EPOLL_PACKED): Define to empty if not defined by
20238 <bits/epoll.h>.
20239 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20241 bits/epoll.h.
20242
20243 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20244
20245 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20246 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20248 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20249 <bits/timerfd.h>.
20250 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20252 bits/timerfd.h.
20253
20254 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20255
20256 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20257 in C locale.
20258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20259 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20260 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262
20263 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20264
20265 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20266 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20267
20268 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20269
20270 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20271 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20272 defined.
20273 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20274 Likewise.
20275 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20276 entry for 2.16.
20277
20278 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20279
20280 * math/w_acos.c: Use non-signaling floating-point comparisons.
20281 * math/w_acosf.c: Likewise.
20282 * math/w_acosh.c: Likewise.
20283 * math/w_acoshf.c: Likewise.
20284 * math/w_acoshl.c: Likewise.
20285 * math/w_acosl.c: Likewise.
20286 * math/w_asin.c: Likewise.
20287 * math/w_asinf.c: Likewise.
20288 * math/w_asinl.c: Likewise.
20289 * math/w_atanh.c: Likewise.
20290 * math/w_atanhf.c: Likewise.
20291 * math/w_atanhl.c: Likewise.
20292 * math/w_exp2.c: Likewise.
20293 * math/w_exp2f.c: Likewise.
20294 * math/w_exp2l.c: Likewise.
20295 * math/w_j0.c: Likewise.
20296 * math/w_j0f.c: Likewise.
20297 * math/w_j0l.c: Likewise.
20298 * math/w_j1.c: Likewise.
20299 * math/w_j1f.c: Likewise.
20300 * math/w_j1l.c: Likewise.
20301 * math/w_jn.c: Likewise.
20302 * math/w_jnf.c: Likewise.
20303 * math/w_log.c: Likewise.
20304 * math/w_log10.c: Likewise.
20305 * math/w_log10f.c: Likewise.
20306 * math/w_log10l.c: Likewise.
20307 * math/w_log2.c: Likewise.
20308 * math/w_log2f.c: Likewise.
20309 * math/w_log2l.c: Likewise.
20310 * math/w_logf.c: Likewise.
20311 * math/w_logl.c: Likewise.
20312 * math/w_sqrt.c: Likewise.
20313 * math/w_sqrtf.c: Likewise.
20314 * math/w_sqrtl.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20320
20321 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20322
20323 [BZ #9739]
20324 * manual/string.texi (strnlen): Use correct parameter name in
20325 equivalent expression.
20326
20327 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20328
20329 [BZ #11174]
20330 * manual/users.texi (seteuid): Consistently use neweuid for
20331 argument name.
20332
20333 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20334
20335 [BZ #13704]
20336 * manual/nss.texi (Services in the NSS configuration): Correct
20337 list of services in example configuration file.
20338
20339 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20340
20341 [BZ #11322]
20342 * manual/arith.texi: Remove statements about negative zero
20343 behaving identically to zero.
20344
20345 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20346
20347 [BZ #5993]
20348 * manual/install.texi: Do not document upgrading from libc5.
20349
20350 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20351
20352 [BZ #4596]
20353 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20354
20355 2012-02-18 David S. Miller <davem@davemloft.net>
20356
20357 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20358 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20359 %o7 across the call.
20360 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20361 instead.
20362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20363 SETUP_PIC_REG_LEAF.
20364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20365 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20366 * sysdeps/sparc/crtn.S: Likewise.
20367
20368 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20369
20370 * aout/Makefile: Remove.
20371
20372 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20373
20374 [BZ #13058]
20375 * manual/examples/argp-ex1.c (main): Format definition in GNU
20376 style.
20377 * manual/examples/argp-ex2.c (main): Likewise.
20378 * manual/examples/argp-ex3.c (main): Likewise.
20379 * manual/examples/argp-ex4.c (main): Likewise.
20380 * manual/examples/longopt.c (main): Use new-style prototype
20381 definition.
20382 * manual/examples/strncat.c (main): Specify return type and use
20383 (void) for arguments.
20384 * manual/examples/subopt.c (main): Use char **argv argument.
20385
20386 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20387
20388 [BZ #5077]
20389 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20390 rounding modes.
20391
20392 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20393
20394 [BZ #6907]
20395 * manual/string.texi (strchr): Change when strchrnul is
20396 recommended.
20397
20398 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20399
20400 [BZ #174]
20401 * manual/locale.texi (setlocale): Document LOCPATH.
20402
20403 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20404
20405 [BZ #10210]
20406 * manual/process.texi (execle): Move @dots{} before last argument.
20407
20408 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20409
20410 [BZ #12047]
20411 * manual/charset.texi (Generic Charset Conversion): Fix typo
20412 (LC_TYPE -> LC_CTYPE).
20413
20414 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20415
20416 [BZ #5805]
20417 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20418 (scalbnf): Likewise.
20419 (scalbnl): Likewise.
20420 (scalbln): Likewise.
20421 (scalblnf): Likewise.
20422 (scalblnl): Likewise.
20423 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20424 (vwarnx): Likewise.
20425 (verr): Likewise.
20426 (verrx): Likewise.
20427 * manual/filesys.texi (telldir): Use braces around return type.
20428 * manual/llio.texi (mmap): Add space after comma.
20429 (mmap64): Likewise.
20430 * manual/math.texi (jn): Use @var{} on parameter names.
20431 (jnf): Likewise.
20432 (jnl): Likewise.
20433 (yn): Likewise.
20434 (ynf): Likewise.
20435 (ynl): Likewise.
20436 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20437 line.
20438 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20439 "...".
20440 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20441 (sched_get_priority_max): Likewise.
20442 * manual/signal.texi (sigvec): Add space after comma.
20443 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20444 names.
20445 (if_indextoname): Likewise.
20446 (if_freenameindex): Likewise.
20447 (sendto): Use ',' instead of '.' in prototype.
20448 * manual/startup.texi (syscall): Use @dots{} instead of literal
20449 "...".
20450 * manual/stdio.texi (__fpending): Separate initial words of
20451 paragraph from @deftypefun line.
20452 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20453 "...".
20454 (vsyslog): Use @var{} on parameter names.
20455 * manual/terminal.texi (stty): Use @var{} on parameter names.
20456 * manual/users.texi (getutmp): Use @var{} on parameter names.
20457 (getutmpx): Likewise.
20458
20459 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20460
20461 [BZ #6884]
20462 * manual/stdio.texi (fopen): Fix typos in description of
20463 ",ccs=STRING".
20464
20465 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20466
20467 [BZ #4026]
20468 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20469 get clock_id definition.
20470
20471 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20472
20473 [BZ #4822]
20474 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20475 (madvise): Cast every argument to void on its own.
20476
20477 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #9902]
20480 * manual/startup.texi (Exit Status): Fix typo.
20481
20482 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20483
20484 [BZ #10140]
20485 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20486 * manual/examples/argp-ex2.c: Likewise.
20487 * manual/examples/argp-ex3.c: Likewise.
20488
20489 2012-02-16 Richard Henderson <rth@redhat.com>
20490
20491 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20492 * sysdeps/s390/s390-32/initfini.c: Remove.
20493 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20494 * sysdeps/s390/s390-64/initfini.c: Remove.
20495
20496 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20497
20498 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20499 compiler output for sysdeps/generic/initfini.c.
20500 * sysdeps/sh/elf/initfini.c: Remove file.
20501
20502 2012-02-16 David S. Miller <davem@davemloft.net>
20503
20504 [BZ #11494]
20505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20506
20507 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20508 * sysdeps/sparc/crti.S: New file.
20509 * sysdeps/sparc/crtn.S: New file.
20510 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20511 * sysdeps/sparc/sparc64/Makefile: Likewise.
20512
20513 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20514
20515 [BZ #3335]
20516 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20517
20518 2012-02-15 Roland McGrath <roland@hack.frob.com>
20519
20520 [BZ #4822]
20521 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20522
20523 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20524 (write, read, close): Likewise.
20525 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20526
20527 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20528
20529 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20530 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20531 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20532 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20533 <bits/signalfd.h>.
20534 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20536 bits/signalfd.h.
20537
20538 2012-02-14 Marek Polacek <polacek@redhat.com>
20539
20540 * sysdeps/x86_64/crti.S: New file.
20541 * sysdeps/x86_64/crtn.S: New file.
20542 * sysdeps/x86_64/elf/initfini.c: Remove file.
20543
20544 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20545
20546 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20547 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20548 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20549 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20550 <bits/inotify.h>.
20551 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20553 bits/inotify.h.
20554
20555 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20556
20557 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20558 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20559 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20560 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20561 <bits/eventfd.h>.
20562 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20564 bits/eventfd.h.
20565
20566 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20567
20568 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20569 __feraiseexcept instead of feraiseexcept.
20570
20571 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20572 nanosleep invocations.
20573 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20574 strings, and add error checking for a nanosleep invocations.
20575
20576 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20577
20578 Replace FSF snail mail address with URLs, as per GNU coding standards.
20579 Most of the snail mail addresses were wrong anyway, and omitting
20580 them makes the source code easier to maintain. Almost all of the
20581 changes are to license notices and to locale LC_IDENTIFICATION
20582 addresses, except for this one:
20583 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20584 not its snail mail address.
20585
20586 2012-02-09 Richard Henderson <rth@twiddle.net>
20587
20588 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20589 of kernel-features.h.
20590
20591 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20592
20593 2012-02-08 Marek Polacek <polacek@redhat.com>
20594
20595 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20596 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20597 * sysdeps/gnu/_G_config.h: Likewise.
20598 * sysdeps/generic/_G_config.h: Likewise.
20599
20600 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20601
20602 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20603 tests.
20604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605
20606 * sysdeps/powerpc/powerpc32/crti.S: New file.
20607 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20608 * sysdeps/powerpc/powerpc64/crti.S: New file.
20609 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20610
20611 * Makeconfig (have-initfini): Don't set.
20612 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20613 * configure.in (nopic_initfini): Don't substitute.
20614 * config.h.in (HAVE_INITFINI): Don't #undef.
20615 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20616 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20617
20618 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20619
20620 Support crti.S and crtn.S provided directly by architectures.
20621 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20622 [crti.S in sysdirs] (omit-deps): Likewise.
20623 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20624 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20625 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20626 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20627 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20628 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20629 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20630 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20631 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20632 compiler output for sysdeps/generic/initfini.c.
20633 * sysdeps/i386/elf/Makefile: Remove file.
20634 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20635
20636 2012-02-07 Marek Polacek <polacek@redhat.com>
20637
20638 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20639 * sysdeps/gnu/_G_config.h: Likewise.
20640 * sysdeps/mach/hurd/_G_config.h: Likewise.
20641
20642 2012-02-07 Marek Polacek <polacek@redhat.com>
20643
20644 * math/Makefile (tests): Add tst-CMPLX2.
20645 * math/tst-CMPLX2.c: New file.
20646
20647 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20648
20649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20650
20651 * math/libm-test.inc (jn_test): Add missing L suffix.
20652
20653 2012-02-06 Marek Polacek <polacek@redhat.com>
20654
20655 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20656 * sysdeps/i386/fpu/e_powf.S: Likewise.
20657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20658 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20660 * sysdeps/i386/fpu/e_pow.S: Likewise.
20661 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20663 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20664 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20665 * sysdeps/i386/fpu/e_log2.S: Likewise.
20666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20667 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20668 * sysdeps/i386/fpu/e_powl.S: Likewise.
20669 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20671 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20672 * sysdeps/i386/fpu/e_logl.S: Likewise.
20673 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20674 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20675 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20676 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20678 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20679 * sysdeps/i386/fpu/e_log.S: Likewise.
20680 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20682 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20683 * sysdeps/i386/fpu/e_logf.S: Likewise.
20684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20686 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20687 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20688 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20689 * sysdeps/i386/fpu/e_log10.S: Likewise.
20690 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20692 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20693 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20695 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20696 * sysdeps/i386/asm-syntax.h: Likewise.
20697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20700 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20701 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20706 * sysdeps/powerpc/sysdep.h: Likewise.
20707 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20709
20710 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20711
20712 [BZ #411]
20713 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20714
20715 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20716
20717 * sysdeps/i386/sysdep.h: Include <features.h>.
20718 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20719 version.
20720
20721 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20722
20723 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20724 Define.
20725 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20726 LOAD_PIC_REG_STR.
20727
20728 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20729
20730 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20731 (SETUP_PIC_REG): Use GET_PC_THUNK.
20732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20733 macro.
20734
20735 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20736
20737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20738 for non-PIC compilation.
20739 (SETUP_PIC_REG): Add .p2align directive.
20740 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20741 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20745 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20746 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20747 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20748 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20754 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20755 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20770 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20774 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20775 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20776 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20777 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20778 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20779 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20780 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20781
20782 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20783
20784 * math/tst-CMPLX.c: Include <stdio.h>.
20785
20786 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20787
20788 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20789 float.
20790 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20791 * sysdeps/sparc/bits/mathdef.h: Likewise.
20792
20793 2012-01-31 Marek Polacek <polacek@redhat.com>
20794
20795 * libio/libio.h: Don't define _PARAMS.
20796 * locale/programs/config.h: Don't define PARAMS.
20797 * stdlib/strtol_l.c: Likewise.
20798 (__strtol_l): Remove PARAMS from the prototype.
20799
20800 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20801
20802 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20803 names. Just use the correct names. Remove unnecessary wrapper
20804 functions.
20805 * malloc/arena.c: Likewise.
20806 * malloc/hooks.c: Likewise.
20807
20808 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20809 ARENA_TEST says not to. Simplify test for creation of a new arena.
20810 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20811
20812 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20813
20814 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20815 into tail calls.
20816 (update_get_addr): New function.
20817 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20818 GET_ADDR_MODULE parameter.
20819
20820 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20821
20822 * crypt/cert.c: Remove __STDC__ conditionals.
20823 * crypt/crypt-entry.c: Likewise.
20824 * crypt/crypt_util.c: Likewise.
20825 * libio/filedoalloc.c: Likewise.
20826 * libio/fileops.c: Likewise.
20827 * libio/genops.c: Likewise.
20828 * libio/iofclose.c: Likewise.
20829 * libio/iofdopen.c: Likewise.
20830 * libio/iofopen.c: Likewise.
20831 * libio/iofopen64.c: Likewise.
20832 * libio/iogetdelim.c: Likewise.
20833 * libio/iopopen.c: Likewise.
20834 * libio/obprintf.c: Likewise.
20835 * libio/oldfileops.c: Likewise.
20836 * libio/oldiofclose.c: Likewise.
20837 * libio/oldiofdopen.c: Likewise.
20838 * libio/oldiofopen.c: Likewise.
20839 * libio/oldiopopen.c: Likewise.
20840 * libio/wfiledoalloc.c: Likewise.
20841 * libio/wgenops.c: Likewise.
20842 * locale/programs/xmalloc.c: Likewise.
20843 * misc/syslog.c: Likewise.
20844 * stdio-common/xbug.c: Likewise.
20845 * string/memchr.c: Likewise.
20846 * string/memcmp.c: Likewise.
20847 * string/memrchr.c: Likewise.
20848 * string/rawmemchr.c: Likewise.
20849 * sysdeps/posix/getcwd.c: Likewise.
20850 * time/strftime_l.c: Likewise.
20851
20852 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20853
20854 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20855 * config.make.in (config-cflags-sse2avx): Define.
20856 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20857 Fix typo.
20858
20859 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20860
20861 * scripts/config.guess: Update from upstream config git repository.
20862 * scripts/config.sub: Likewise.
20863
20864 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20865
20866 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20867 (EM_NUM): Update.
20868 (R_TILEPRO_*, R_TILEGX_*): New macros.
20869
20870 * scripts/firstversions.awk: Fix bug in version range handling.
20871
20872 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20873
20874 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20875
20876 * include/sys/epoll.h: New file.
20877 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20878 libc_hidden_def.
20879
20880 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20881
20882 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20883 Avoid unnecessary __WORDSIZE == 64 test.
20884 (fmaxf): Use VEX format if possible.
20885 (fmax): Likewise.
20886 (fminf): Likewise.
20887 (fmin): Likewise.
20888
20889 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20890 * math/math_private.h: Remove libc_fegetround* and
20891 libc_fesetround*.
20892 * sysdeps/i386/configure.in: Check for -msse2avx.
20893 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20894 also if SSE2AVX is defined.
20895 Remove libc_fegetround* and libc_fesetround*.
20896 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20897 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20899 of HAS_YMM_USABLE.
20900 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20901 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20905
20906 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20907
20908 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20909
20910 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20911 size is not set.
20912 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20913
20914 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20915
20916 [BZ #13618]
20917 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20918 relocation.
20919 * Makeconfig (libm): Define.
20920 * elf/Makefile: Add rules to build and run tst-relsort1.
20921 * elf/tst-relsort1.c: New file.
20922 * elf/tst-relsort1mod1.c: New file.
20923 * elf/tst-relsort1mod2.c: New file.
20924
20925 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20926
20927 * math/s_ldexp.c: Remove __STDC__ conditionals.
20928 * math/s_ldexpf.c: Likewise.
20929 * math/s_ldexpl.c: Likewise.
20930 * math/s_nextafter.c: Likewise.
20931 * math/s_nexttowardf.c: Likewise.
20932 * math/s_significand.c: Likewise.
20933 * math/s_significandf.c: Likewise.
20934 * math/s_significandl.c: Likewise.
20935 * math/w_jnl.c: Likewise.
20936 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20937 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20938 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20939 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20940 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20958 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20960 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20961 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20962 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20963 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20964 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20965 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20966 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20967 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20970 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20972 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20976 * sysdeps/ieee754/k_standard.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21056 * sysdeps/ieee754/s_matherr.c: Likewise.
21057 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21058 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21061
21062 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21063
21064 * crypt/md5.h: Remove __STDC__ conditionals.
21065 * libio/libioP.h: Likewise.
21066 * locale/programs/config.h: Likewise.
21067 * sysdeps/generic/sysdep.h: Likewise.
21068 * sysdeps/i386/asm-syntax.h: Likewise.
21069 * sysdeps/s390/asm-syntax.h: Likewise.
21070 * sysdeps/unix/sysdep.h: Likewise.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21073
21074 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21075
21076 * libio/libio.h: Remove __STDC__ conditionals.
21077 * malloc/obstack.h: Likewise.
21078 * math/complex.h: Likewise.
21079 * math/math.h: Likewise.
21080 * sysdeps/generic/_G_config.h: Likewise.
21081 * sysdeps/gnu/_G_config.h: Likewise.
21082 * sysdeps/mach/hurd/_G_config.h: Likewise.
21083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21084 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21085 * sysdeps/sparc/bits/mathdef.h: Likewise.
21086
21087 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21088
21089 [BZ #13583]
21090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21091 Clean up HAS_* macros.
21092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21093 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21094 possible.
21095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21096 HAS_AVX.
21097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21102
21103 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21104
21105 * elf/tst-unique3.cc (gets): Remove declaration.
21106 * elf/tst-unique3lib.cc (gets): Likewise.
21107 * elf/tst-unique3lib2.cc (gets): Likewise.
21108 * elf/tst-unique4.cc (gets): Likewise.
21109
21110 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21111
21112 * include/stdio.h: Add C++ protection. Add gets declarations and
21113 definitions.
21114 * debug/tst-chk1.c: Don't declare gets here.
21115 * stdio-common/tst-gets.c: Likewise.
21116
21117 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21118
21119 * posix/glob: Remove directory.
21120
21121 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21122
21123 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21124
21125 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21126
21127 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21128 of the non-standard EPFNOSUPPORT.
21129
21130 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21131
21132 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21133 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21134 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21135
21136 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21137
21138 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21139
21140 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21141
21142 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21143 transient errors.
21144 * nscd/grpcache.c (cache_addgr): Likewise.
21145 * nscd/hstcache.c (cache_addhst): Likewise.
21146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21147 * nscd/pwdcache.c (cache_addpw): Likewise.
21148 * nscd/servicescache.c (cache_addserv): Likewise.
21149
21150 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21151
21152 * malloc/malloc.c: Various cleanups.
21153 * malloc/hooks.c: Likewise.
21154
21155 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21156 * stdlib/bug-fmtmsg1.c: New file.
21157
21158 * stdlib/fmtmsg.c (init): Add missing unlock.
21159 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21160
21161 2012-01-12 Marek Polacek <polacek@redhat.com>
21162
21163 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21164 and _GNU_SOURCE.
21165
21166 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21167
21168 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21169 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21170 macro to ensure uniqueness of label name.
21171 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21172 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21173
21174 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21175
21176 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21177
21178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21179 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21182
21183 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21184
21185 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21186
21187 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21188 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21189 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21190
21191 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21192
21193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21194 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21197
21198 * math/bits/math-finite.h: Add ldexp support.
21199
21200 2012-01-10 Marek Polacek <polacek@redhat.com>
21201
21202 * locale/programs/localedef.h (show_archive_content): Add noreturn
21203 attribute.
21204
21205 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21206
21207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21208
21209 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21210
21211 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21212
21213 * io/Makefile (headers): Add bits/poll2.h.
21214
21215 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21216
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21218 typo #include statement.
21219
21220 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21221
21222 * include/sys/cdefs.h: Define __attribute_alloc_size.
21223 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21224 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21225 * elf/pldd.c: Likewise.
21226 * iconv/iconv_charmap.c: Likewise.
21227 * iconv/iconvconfig.c: Likewise.
21228 * iconv/strtab.c: Likewise.
21229 * locale/programs/locale.c: Likewise.
21230 * locale/programs/localedef.h: Likewise.
21231 * locale/programs/simple-hash.c: Likewise.
21232 * nscd/nscd.h: Likewise.
21233 * nss/makedb.c: Likewise.
21234 * sysdeps/generic/ldconfig.h: Likewise.
21235 * locale/programs/localedef.c: Remove xmalloc prototype.
21236 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21237
21238 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21239
21240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21241 appropriate.
21242
21243 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21244
21245 * math/Makefile (tests): Add tst-CMPLX.
21246 * math/tst-CMPLX.c: New file.
21247
21248 * math/complex.h (CMPLXL): Fix typo.
21249
21250 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21251 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21252 GLIBC_2.16.
21253 * debug/tst-chk1.c: Add poll and ppoll tests.
21254 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21255 * include/sys/poll.h: Add hidden proto for ppoll.
21256 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21257 * sysdeps/mach/hurd/ppoll.c: Likewise.
21258 * io/ppoll.c: Likewise.
21259 * debug/poll_chk.c: New file.
21260 * debug/ppoll_chk.c: New file.
21261 * include/bits/poll2.h: New file.
21262 * io/bits/poll2.h: New file.
21263
21264 [BZ #1350]
21265 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21266
21267 * configure.in: static is always set to yes. Remove.
21268 * config.make.in: Don't set build-static.
21269 * Makeconfig: Remove use of build-static.
21270 * dlfcn/Makefile: Likewise.
21271 * elf/Makefile: Likewise.
21272 * math/Makefile: Likewise.
21273 * misc/Makefile: Likewise.
21274 * nptl/Makefile: Likewise.
21275 * sysdeps/mach/hurd/Makefile: Likewise.
21276
21277 * configure.in: PWD_P is not used anymore.
21278 * config.make.in: Remove PWD_P entry.
21279
21280 * configure.in: Remove last remnants of RANLIB.
21281 No need to check for signed size_t anymore.
21282 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21283 and IA-64.
21284 Remove __builtin_expect test because we require at least gcc 3.4.
21285 * aclocal.m4: Likewise.
21286
21287 * wcsmbs/mbrtoc16.c: Implement using towc function.
21288 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21289 * wcsmbs/wcsmbsload.c: Likewise.
21290 * iconv/gconv_simple.c: Likewise.
21291 * iconv/gconv_int.h: Likewise.
21292 * iconv/gconv_builtin.h: Likewise.
21293 * iconv/iconv_prog.c: Remove CHAR16 handling.
21294
21295 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21296
21297 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21298
21299 * configure.in: Remove --with-elf and --enable-bounded options.
21300 Dont set base_machine for ia64. More non-ELF conditions removed.
21301 Remove testing and setting of leading underscore information.
21302 * config.make.in (build-bounded): Set to no.
21303 * config.h.in: Remove NO_UNDERSCORES entry.
21304 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21305 them.
21306 * csu/start.c: Remove !NO_UNDERSCORE code.
21307 * locale/localeinfo.h: Likewise.
21308 * sysdeps/generic/machine-gmon.h: Likewise.
21309 * sysdeps/generic/sysdep.h: Likewise.
21310 * sysdeps/i386/sysdep.h: Likewise.
21311 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21312 * sysdeps/mach/sysdep.h: Likewise.
21313 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21315 * sysdeps/sh/sysdep.h: Likewise.
21316 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21317 * sysdeps/unix/i386/sysdep.S: Likewise.
21318 * sysdeps/unix/sparc/start.c: Likewise.
21319 * sysdeps/unix/sparc/sysdep.S: Likewise.
21320 * sysdeps/unix/sparc/sysdep.h: Likewise.
21321 * sysdeps/unix/start.c: Likewise.
21322 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21323 * sysdeps/x86_64/sysdep.h: Likewise.
21324
21325 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21326
21327 [BZ #13553]
21328 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21329 for non-gcc.
21330 * argp/argp-fmtstream.h: Use const instead __const.
21331 * argp/argp.h: Likewise.
21332 * assert/assert.h: Likewise.
21333 * bits/fenv.h: Likewise.
21334 * bits/sched.h: Likewise.
21335 * bits/sigset.h: Likewise.
21336 * bits/sigthread.h: Likewise.
21337 * catgets/nl_types.h: Likewise.
21338 * conform/data/pthread.h-data: Likewise.
21339 * crypt/crypt-private.h: Likewise.
21340 * crypt/crypt.h: Likewise.
21341 * crypt/crypt_util.c: Likewise.
21342 * ctype/ctype.h: Likewise.
21343 * debug/execinfo.h: Likewise.
21344 * debug/mbsnrtowcs_chk.c: Likewise.
21345 * debug/mbsrtowcs_chk.c: Likewise.
21346 * debug/wcsnrtombs_chk.c: Likewise.
21347 * debug/wcsrtombs_chk.c: Likewise.
21348 * debug/wcstombs_chk.c: Likewise.
21349 * dirent/dirent.h: Likewise.
21350 * dlfcn/dlfcn.h: Likewise.
21351 * elf/neededtest4.c: Likewise.
21352 * grp/grp.h: Likewise.
21353 * gshadow/gshadow.h: Likewise.
21354 * iconv/gconv.h: Likewise.
21355 * iconv/gconv_int.h: Likewise.
21356 * iconv/gconv_simple.c: Likewise.
21357 * iconv/iconv.h: Likewise.
21358 * iconv/loop.c: Likewise.
21359 * iconv/skeleton.c: Likewise.
21360 * include/aio.h: Likewise.
21361 * include/aliases.h: Likewise.
21362 * include/argz.h: Likewise.
21363 * include/arpa/inet.h: Likewise.
21364 * include/assert.h: Likewise.
21365 * include/dirent.h: Likewise.
21366 * include/dlfcn.h: Likewise.
21367 * include/execinfo.h: Likewise.
21368 * include/fcntl.h: Likewise.
21369 * include/fenv.h: Likewise.
21370 * include/glob.h: Likewise.
21371 * include/grp.h: Likewise.
21372 * include/libintl.h: Likewise.
21373 * include/mntent.h: Likewise.
21374 * include/netdb.h: Likewise.
21375 * include/pwd.h: Likewise.
21376 * include/rpc/netdb.h: Likewise.
21377 * include/sched.h: Likewise.
21378 * include/search.h: Likewise.
21379 * include/shadow.h: Likewise.
21380 * include/signal.h: Likewise.
21381 * include/stdio.h: Likewise.
21382 * include/stdlib.h: Likewise.
21383 * include/string.h: Likewise.
21384 * include/sys/socket.h: Likewise.
21385 * include/sys/stat.h: Likewise.
21386 * include/sys/statfs.h: Likewise.
21387 * include/sys/statvfs.h: Likewise.
21388 * include/sys/syslog.h: Likewise.
21389 * include/sys/time.h: Likewise.
21390 * include/sys/uio.h: Likewise.
21391 * include/time.h: Likewise.
21392 * include/unistd.h: Likewise.
21393 * include/utmp.h: Likewise.
21394 * include/wchar.h: Likewise.
21395 * include/wctype.h: Likewise.
21396 * inet/aliases.h: Likewise.
21397 * inet/arpa/inet.h: Likewise.
21398 * inet/netinet/ether.h: Likewise.
21399 * inet/netinet/in.h: Likewise.
21400 * intl/libintl.h: Likewise.
21401 * io/bits/fcntl2.h: Likewise.
21402 * io/fcntl.h: Likewise.
21403 * io/ftw.h: Likewise.
21404 * io/sys/poll.h: Likewise.
21405 * io/sys/stat.h: Likewise.
21406 * io/sys/statfs.h: Likewise.
21407 * io/sys/statvfs.h: Likewise.
21408 * io/utime.h: Likewise.
21409 * libio/bits/stdio.h: Likewise.
21410 * libio/bits/stdio2.h: Likewise.
21411 * libio/libio.h: Likewise.
21412 * libio/libioP.h: Likewise.
21413 * libio/stdio.h: Likewise.
21414 * locale/lc-ctype.c: Likewise.
21415 * locale/locale.h: Likewise.
21416 * login/utmp.h: Likewise.
21417 * malloc/arena.c: Likewise.
21418 * malloc/malloc.c: Likewise.
21419 * malloc/malloc.h: Likewise.
21420 * malloc/mcheck.c: Likewise.
21421 * malloc/mtrace.c: Likewise.
21422 * math/bits/mathcalls.h: Likewise.
21423 * math/fenv.h: Likewise.
21424 * math/math_private.h: Likewise.
21425 * misc/bits/error.h: Likewise.
21426 * misc/bits/syslog.h: Likewise.
21427 * misc/err.h: Likewise.
21428 * misc/error.h: Likewise.
21429 * misc/fstab.h: Likewise.
21430 * misc/mntent.h: Likewise.
21431 * misc/regexp.h: Likewise.
21432 * misc/search.h: Likewise.
21433 * misc/sgtty.h: Likewise.
21434 * misc/sys/mman.h: Likewise.
21435 * misc/sys/syslog.h: Likewise.
21436 * misc/sys/uio.h: Likewise.
21437 * misc/sys/xattr.h: Likewise.
21438 * misc/ttyent.h: Likewise.
21439 * nis/rpcsvc/ypclnt.h: Likewise.
21440 * nss/nss.h: Likewise.
21441 * posix/bits/unistd.h: Likewise.
21442 * posix/fnmatch.h: Likewise.
21443 * posix/glob.h: Likewise.
21444 * posix/sched.h: Likewise.
21445 * posix/spawn.h: Likewise.
21446 * posix/sys/wait.h: Likewise.
21447 * posix/unistd.h: Likewise.
21448 * posix/wordexp.h: Likewise.
21449 * pwd/pwd.h: Likewise.
21450 * resolv/netdb.h: Likewise.
21451 * resource/sys/resource.h: Likewise.
21452 * rt/aio.h: Likewise.
21453 * rt/bits/mqueue2.h: Likewise.
21454 * rt/mqueue.h: Likewise.
21455 * shadow/shadow.h: Likewise.
21456 * signal/signal.h: Likewise.
21457 * socket/send.c: Likewise.
21458 * socket/sendto.c: Likewise.
21459 * socket/sys/socket.h: Likewise.
21460 * stdio-common/printf.h: Likewise.
21461 * stdlib/bits/stdlib.h: Likewise.
21462 * stdlib/fmtmsg.h: Likewise.
21463 * stdlib/monetary.h: Likewise.
21464 * stdlib/stdlib.h: Likewise.
21465 * stdlib/ucontext.h: Likewise.
21466 * streams/stropts.h: Likewise.
21467 * string/argz.h: Likewise.
21468 * string/bits/string2.h: Likewise.
21469 * string/string.h: Likewise.
21470 * string/strings.h: Likewise.
21471 * sunrpc/rpc/auth.h: Likewise.
21472 * sunrpc/rpc/auth_des.h: Likewise.
21473 * sunrpc/rpc/clnt.h: Likewise.
21474 * sunrpc/rpc/netdb.h: Likewise.
21475 * sunrpc/rpc/pmap_clnt.h: Likewise.
21476 * sunrpc/rpc/xdr.h: Likewise.
21477 * sysdeps/generic/inttypes.h: Likewise.
21478 * sysdeps/generic/net/if.h: Likewise.
21479 * sysdeps/generic/sys/swap.h: Likewise.
21480 * sysdeps/gnu/net/if.h: Likewise.
21481 * sysdeps/gnu/utmpx.h: Likewise.
21482 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21483 * sysdeps/i386/i486/bits/string.h: Likewise.
21484 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21485 * sysdeps/s390/bits/string.h: Likewise.
21486 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21487 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21488 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21489 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21490 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21491 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21492 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21493 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21494 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21495 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21496 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21497 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21498 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21499 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21500 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21501 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21507 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21508 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21509 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21510 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21511 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21512 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21514 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21516 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21517 * sysvipc/sys/ipc.h: Likewise.
21518 * sysvipc/sys/msg.h: Likewise.
21519 * sysvipc/sys/sem.h: Likewise.
21520 * sysvipc/sys/shm.h: Likewise.
21521 * termios/termios.h: Likewise.
21522 * time/sys/time.h: Likewise.
21523 * time/time.h: Likewise.
21524 * wcsmbs/bits/wchar2.h: Likewise.
21525 * wcsmbs/uchar.h: Likewise.
21526 * wcsmbs/wchar.h: Likewise.
21527 * wctype/wctype.h: Likewise.
21528
21529 [BZ #13551]
21530 * Makeconfig: Remove all but ELF support including AIX support.
21531 * Makerules: Likewise.
21532 * config.h.in: Likewise.
21533 * config.make.in: Likewise.
21534 * configure: Likewise.
21535 * configure.in: Likewise.
21536 * csu/Makefile: Likewise.
21537 * csu/version.c: Likewise.
21538 * debug/Makefile: Likewise.
21539 * dlfcn/Makefile: Likewise.
21540 * elf/Makefile: Likewise.
21541 * extra-lib.mk: Likewise.
21542 * iconv/Makefile: Likewise.
21543 * include/libc-symbols.h: Likewise.
21544 * include/shlib-compat.h: Likewise.
21545 * resolv/Makefile: Likewise.
21546 * resolv/res_libc.c: Likewise.
21547 * rt/Makefile: Likewise.
21548 * sysdeps/i386/asm-syntax.h: Likewise.
21549 * sysdeps/i386/sysdep.h: Likewise.
21550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21551 * sysdeps/mach/sysdep.h: Likewise.
21552 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21553 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21554 * sysdeps/s390/asm-syntax.h: Likewise.
21555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21557 * sysdeps/sh/sysdep.h: Likewise.
21558 * sysdeps/unix/sparc/sysdep.h: Likewise.
21559 * sysdeps/wordsize-32/divdi3.c: Likewise.
21560 * sysdeps/x86_64/sysdep.h: Likewise.
21561
21562 * argp/Versions: Remove _argp_unlock_xxx.
21563
21564 [BZ #13559]
21565 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21566 * abilist/libBrokenLocale.abilist: Likewise.
21567 * abilist/libanl.abilist: Likewise.
21568 * abilist/libc.abilist: Likewise.
21569 * abilist/libcrypt.abilist: Likewise.
21570 * abilist/libdl.abilist: Likewise.
21571 * abilist/libm.abilist: Likewise.
21572 * abilist/libnsl.abilist: Likewise.
21573 * abilist/libpthread.abilist: Likewise.
21574 * abilist/libresolv.abilist: Likewise.
21575 * abilist/librt.abilist: Likewise.
21576 * abilist/libthread_db.abilist: Likewise.
21577 * abilist/libutil.abilist: Likewise.
21578 * abilist/libnss_db.abilist: New file.
21579
21580 * scripts/abilist.awk: Add support for indirect functions.
21581
21582 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21583
21584 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21585
21586 * shlib-versions: Remove entries for ports architectures.
21587
21588 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21589 files in ports.
21590 * elf/stackguard-macros.h: Remove support for IA-64.
21591 * elf/tst-auditmod1.c: Likewise.
21592 * sysdeps/generic/ldsodefs.h: Likewise.
21593
21594 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21595 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21596 configure files.
21597
21598 [BZ #13552]
21599 * configure.in: Remove --enable-omitfp support.
21600 * FAQ.in: Adjust.
21601 * config.make.in: Likewise.
21602 * Makeconfig: Likewise.
21603 * manual/install.texi: Likewise.
21604
21605 In case anyone cares, the IA-64 architecture could move to ports.
21606 * sysdeps/ia64/*: Removed.
21607 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21608 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21609
21610 [BZ #13555]
21611 * configure.in: Remove entries for unsupported architectures.
21612
21613 [BZ #13533]
21614 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21615 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21616 routines.
21617 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21618 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21619 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21620 fall back to using wcrtomb.
21621 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21622 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21623 renaming.
21624 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21625 * wcsmbs/tst-c16c32-1.c: New file.
21626
21627 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21628 local variable.
21629
21630 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21631
21632 * elf/tst-unique3.cc: Add explicit declaration of gets.
21633 * elf/tst-unique3lib.cc: Likewise.
21634 * elf/tst-unique3lib2.cc: Likewise.
21635 * elf/tst-unique4.cc: Likewise.
21636
21637 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21638
21639 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21640
21641 [BZ #13566]
21642 * assert/assert.h (static_assert): Don't define for C++.
21643 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21644 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21645
21646 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21647
21648 * iconv/loop.c (single loop): Fix assertion in storing of
21649 remaining bytes.
21650
21651 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21652
21653 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21654
21655 * posix/getconf.c: Update copyright year.
21656 * nss/getent.c: Likewise.
21657 * nss/makedb.c: Likewise.
21658 * iconv/iconvconfig.c: Likewise.
21659 * iconv/iconv_prog.c: Likewise.
21660 * elf/ldconfig.c: Likewise.
21661 * elf/pldd.c: Likewise.
21662 * elf/sotruss.ksh: Likewise.
21663 * catgets/gencat.c: Likewise.
21664 * csu/version.c: Likewise.
21665 * elf/ldd.bash.in: Likewise.
21666 * elf/sprof.c (print_version): Likewise.
21667 * locale/programs/locale.c: Likewise.
21668 * locale/programs/localedef.c: Likewise.
21669 * login/programs/pt_chown.c: Likewise.
21670 * nscd/nscd.c (print_version): Likewise.
21671 * debug/xtrace.sh: Likewise.
21672 * malloc/memusage.sh: Likewise.
21673 * malloc/mtrace.pl: Likewise.
21674 * debug/catchsegv.sh: Likewise.
21675
21676 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21677
21678 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21679 pure attribute.
21680
21681 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21682
21683 [BZ #13533]
21684 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21685 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21686 transformations.
21687 * iconv/gconv_int.h: Likewise.
21688 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21689 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21690 from libc for GLIBC_2.16.
21691 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21692 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21693 * wcsmbs/uchar.h: Really define mbstate_t.
21694 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21695 * wcsmbs/c16rtomb.c: New file.
21696 * wcsmbs/mbrtoc16.c: New file.
21697 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21698 for C/POSIX locale.
21699 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21700 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21701
21702 * wcsmbs/wchar.h: Add missing __restrict.
21703
21704 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21705
21706 [BZ #13532]
21707 * time/Makefile (routines): Add timespec_get.
21708 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21709 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21710 timespec for ISO C11.
21711 * time/timespec_get.c: New file.
21712 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21713 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21714
21715 [BZ #13531]
21716 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21717 * stdlib/stdlib.h: Declare aligned_alloc.
21718 * Versions.def: Add GLIBC_2.16 for libc.
21719 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21720
21721 [BZ 13527]
21722 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21723 ISO C11.
21724
21725 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21726 code.
21727
21728 [BZ #13528]
21729 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21730
21731 [BZ #13529]
21732 * assert/assert.h (static_assert): Define.
21733
21734 * version.h: Update for 2.16 development version.
21735
21736 [BZ #13526]
21737 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21738 _ISOC11_SOURCE.
21739
21740 * version.h (RELEASE): Bump for 2.15 release.
21741 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21742
21743 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21744 Patch by Marek Polacek <mpolacek@redhat.com>.
21745
21746 * bits/byteswap.h: Protect long long constants with __extension__.
21747 * sysdeps/i386/bits/byteswap.h: Likewise.
21748 * sysdeps/ia64/bits/byteswap.h: Likewise.
21749 * sysdeps/s390/bits/byteswap.h: Likewise.
21750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21751
21752 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21753
21754 [BZ #13540]
21755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21756 destination buffer.
21757 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21758
21759 2011-12-23 Marek Polacek <polacek@redhat.com>
21760
21761 * elf/dl-addr.c (determine_info): Add inline keyword.
21762 * elf/tst-auditmod4b.c (check_avx): Likewise.
21763 * elf/tst-auditmod6b.c (check_avx): Likewise.
21764 * elf/tst-auditmod6c.c (check_avx): Likewise.
21765 * elf/tst-auditmod7b.c (check_avx): Likewise.
21766
21767 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21768
21769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21770 !__SSE_MATH__.
21771
21772 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21773
21774 [BZ #13540]
21775 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21776 processing for last bytes.
21777
21778 2011-08-06 Bruno Haible <bruno@clisp.org>
21779
21780 [BZ #13061]
21781 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21782 U+0385, not to U+1FEE.
21783
21784 [BZ #13062]
21785 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21786 entry for U+00A5 U+0301.
21787
21788 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21789
21790 [BZ #13166]
21791 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21792 buffer for the output is too small.
21793
21794 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21795 optimization.
21796
21797 [BZ #13185]
21798 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21799 SSE flags if possible.
21800
21801 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21802
21803 [BZ #13540]
21804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21805 processing for last bytes.
21806
21807 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21808
21809 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21810 (syscall-list-default-options, syscall-list-default-condition)
21811 (syscall-list-includes): Define.
21812 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21813 list of ABIs and options and #if conditions for each ABI. Do not
21814 handle common syscalls between ABIs specially.
21815 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21816 Remove.
21817 (syscall-list-variants, syscall-list-32bit-options)
21818 (syscall-list-32bit-condition, syscall-list-64bit-options)
21819 (syscall-list-64bit-condition): Define.
21820 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21821 (syscall-list-variants, syscall-list-32bit-options)
21822 (syscall-list-32bit-condition, syscall-list-64bit-options)
21823 (syscall-list-64bit-condition): Define.
21824 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21825 Remove.
21826 (syscall-list-variants, syscall-list-32bit-options)
21827 (syscall-list-32bit-condition, syscall-list-64bit-options)
21828 (syscall-list-64bit-condition): Define.
21829 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21830 Remove.
21831 (syscall-list-variants, syscall-list-32bit-options)
21832 (syscall-list-32bit-condition, syscall-list-64bit-options)
21833 (syscall-list-64bit-condition): Define.
21834
21835 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21836
21837 * locale/iso-639.def: Add brx entry.
21838
21839 [BZ #13328]
21840 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21841 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21842
21843 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21844 __feraiseexcept_renamed.
21845
21846 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21847
21848 [BZ #13538]
21849 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21850 EPOLLET with unsigned values.
21851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21853
21854 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21855 to large cancellation.
21856 * math/s_cacoshf.c: Likewise.
21857 * math/s_cacoshl.c: Likewise.
21858
21859 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21860
21861 [BZ #13305]
21862 [BZ #12786]
21863 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21864 * math/s_cacoshf.c: Likewise.
21865 * math/s_cacoshl.c: Likewise.
21866
21867 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21868
21869 [BZ #13439]
21870 * iconv/gconv.h: Define __GCONV_SWAP.
21871 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21872 * iconvdata/utf-16.c: Likewise.
21873 * iconvdata/utf-32.c: Likewise.
21874
21875 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21876
21877 [BZ #13524]
21878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21879 numerator after shifting it by one limb.
21880
21881 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21882
21883 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21884 under [__USE_EXTERN_INLINES].
21885
21886 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21887
21888 [BZ #13446]
21889 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21890
21891 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21892
21893 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21894 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21895 optimized code.
21896 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21898 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21899 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21900 for strncasecmp/strncasecmp_l compilation.
21901 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21902 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21903
21904 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21905
21906 [BZ #13484]
21907 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21908 of __asm__.
21909
21910 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21911
21912 [BZ #13506]
21913 * time/tzfile.c (__tzfile_read): Check values from file header.
21914
21915 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21916
21917 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21918 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21919 * powerpc/powerpc32/dl-start.S: Likewise.
21920 * powerpc/powerpc32/elf/start.S: Likewise.
21921 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21922 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21923 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21924 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21925 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21926 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21927 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21928 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21929 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21930 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21931 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21932 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21933 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21934 * powerpc/powerpc32/memset.S: Likewise.
21935 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21936 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21937 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21938 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21939 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21940 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21941 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21942 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21943 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21944 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21946 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21947 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21948
21949 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21950
21951 * math/libm-test.inc: Added more nearbyint tests.
21952 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21956
21957 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21958
21959 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21960 FD_CLOEXEC.
21961
21962 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21963
21964 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21965 Add wcscpy-ssse3 wcscpy-c.
21966 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21967 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21968 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21969 * sysdeps/x86_64/wcschr.S: New file.
21970 * sysdeps/x86_64/wcsrchr.S: New file.
21971 * string/test-strcmp.c: Remove checking of wcscmp function for
21972 wrong alignments.
21973 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21974 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21975 wcsrchr-sse2 wcsrchr-c.
21976 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21977 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21978 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21979 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21980 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21981 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21982 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21983 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21984 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21985 * wcsmbc/wcschr.c (WCSCHR): New macro.
21986
21987 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21988
21989 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21990 * wcsmbs/test-wcsrchr.c: New file.
21991 * string/test-strrchr.c: Add wcsrchr support.
21992 (WIDE): New macro.
21993 * wcsmbs/test-wcscpy.c: New file.
21994 * string/test-strcpy.c: Add wcscpy support.
21995 (WIDE): New macro.
21996
21997 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21998
21999 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22000 the inner loop.
22001
22002 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22003
22004 [BZ #13472]
22005 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22006
22007 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22008
22009 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22010 Minor optimizations.
22011
22012 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22013 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22014 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22015
22016 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22017
22018 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22019 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22020 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22021 for gcc to avoid warnings.
22022 * inet/Makefile (tests): Add tst-checks.
22023 * inet/tst-checks.c: New file.
22024
22025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22026 warning.
22027
22028 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22029 __wmemcmp_sse2.
22030
22031 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22032 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22033
22034 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22035
22036 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22037
22038 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22039 problem.
22040
22041 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22042
22043 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22044
22045 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22046 conditional on GCC version.
22047 (__arch_compare_and_exchange_val_8_acq)
22048 (__arch_compare_and_exchange_val_16_acq)
22049 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22050 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22051 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22052
22053 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22054
22055 * sysdeps/sh/backtrace.c: New file.
22056
22057 2011-12-02 Andreas Schwab <schwab@redhat.com>
22058
22059 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22060 parenthesis.
22061
22062 2011-12-01 Andreas Schwab <schwab@redhat.com>
22063
22064 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22065 falling back to utime.
22066
22067 2011-11-30 Andreas Schwab <schwab@redhat.com>
22068
22069 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22070 expectations for float.
22071
22072 2011-11-29 Andreas Schwab <schwab@redhat.com>
22073
22074 * locale/weight.h (findidx): Add parameter len.
22075 * locale/weightwc.h (findidx): Likewise.
22076 * posix/fnmatch_loop.c (FCT): Adjust caller.
22077 * posix/regcomp.c (build_equiv_class): Likewise.
22078 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22079 * posix/regexec.c (check_node_accept_bytes): Likewise.
22080 * string/strcoll_l.c (STRCOLL): Likewise.
22081 * string/strxfrm_l.c (STRXFRM): Likewise.
22082
22083 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22084
22085 * Makefile.in: Remove CVSOPT handling.
22086 * configure.in: Remove use of AC_REVISION.
22087 * iconvdata/Makefile (distribute): No need to filter out CVS.
22088 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22089 handling.
22090
22091 2011-11-16 Andreas Schwab <schwab@redhat.com>
22092
22093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22094 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22095 [USE_AS_STRNCASECMP_L]: Likewise.
22096 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22097 NO_TLS_DIRECT_SEG_REFS.
22098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22099 Fix argument offsets for non-PIC.
22100 [USE_AS_STRNCASECMP_L]: Likewise.
22101 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22102 NO_TLS_DIRECT_SEG_REFS.
22103
22104 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22105
22106 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22107 O_CLOEXEC.
22108 * locale/loadlocale.c (_nl_load_locale): Likewise.
22109
22110 2011-11-15 Andreas Schwab <schwab@redhat.com>
22111
22112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22113 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22115 (SYSCALL_GETTIME): Set errno on error.
22116
22117 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22118 count references to noai6ai_cached.
22119
22120 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22121
22122 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22123
22124 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22125 FD_CLOEXEC for /proc/self/maps.
22126
22127 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22128 FD_CLOEXEC for /proc/meminfo.
22129
22130 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22131 gai.conf.
22132
22133 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22134 FD_CLOEXEC for given file.
22135
22136 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22137
22138 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22139 FD_CLOEXEC for /etc/hosts.
22140 (_gethtent): Likewise.
22141
22142 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22143
22144 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22145 cancellation and set FD_CLOEXEC for /etc/netgroup.
22146
22147 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22148 reading /etc/publickey.
22149
22150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22151 allow cancellation when reading /etc/group.
22152
22153 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22154 cancellation.
22155 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22156
22157 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22158 when using data file.
22159
22160 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22161
22162 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22163 (write_nis_obj): Use "c" and "e" in fopen.
22164
22165 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22166
22167 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22168
22169 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22170
22171 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22172
22173 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22174 locale.alias.
22175
22176 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22177
22178 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22179
22180 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22181
22182 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22183 file parsing and set FD_CLOEXEC.
22184
22185 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22186
22187 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22188
22189 2011-11-14 Andreas Schwab <schwab@redhat.com>
22190
22191 * malloc/arena.c (arena_get2): Don't call reused_arena when
22192 _int_new_arena failed.
22193
22194 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22195
22196 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22197 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22198 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22202 to compile strcasecmp and strncasecmp.
22203 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22204 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22205
22206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22207
22208 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22209
22210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22211 locale-defines.sym to gen-as-const-headers.
22212 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22213 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22215 to compile strcasecmp and strncasecmp.
22216 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22217 strcasecmp_l and strncasecmp_l.
22218 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22219 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22220 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22221 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22222 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22223 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22224 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22225 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22226 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22227 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22228 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22229
22230 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22231
22232 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22233 result of SYSDEP_GETTIME_CPU to retval.
22234 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22235 parameter list to macro. Remove trailing semicolon. Adjust users.
22236
22237 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22238 variable.
22239
22240 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22241 mantissa words.
22242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22243
22244 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22245 from unused variable.
22246
22247 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22248 DWARF definitions.
22249 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22250 for assembling.
22251
22252 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22253 over namespaces.
22254
22255 * sunrpc/rpc_prot.c (rejected): Fix case value.
22256
22257 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22258 unsigned long long int to avoid warnings in shift.
22259
22260 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22261 of use of trans.
22262 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22263 variable tmp.
22264
22265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22266 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22267 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22268
22269 * nis/nis_table.c (nis_list): Use variable of correct type for
22270 result of __follow_path call.
22271
22272 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22273
22274 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22275 of math functions ceil, trunc, floor, round, and sqrt, when
22276 avaliable on the platform.
22277 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22278 name clash.
22279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22282
22283 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22284
22285 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22287
22288 2011-11-11 Roland McGrath <roland@hack.frob.com>
22289
22290 * include/unistd.h: Fix __readlink return type.
22291 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22292
22293 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22294
22295 * stdlib/ucontext.h: Undo last change for makecontext.
22296
22297 2011-11-11 Andreas Schwab <schwab@redhat.com>
22298
22299 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22300
22301 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22302 * setjmp/setjmp.h: Mark functions as non-leaf.
22303 * setjmp/bits/setjmp2.h: Likewise.
22304 * stdlib/ucontext.h: Likewise.
22305
22306 2011-11-10 Andreas Schwab <schwab@redhat.com>
22307
22308 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22309 (reused_arena): Don't check arena limit.
22310 (arena_get2): Atomically check arena limit.
22311
22312 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22313
22314 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22315 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22316
22317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22318 instructions.
22319
22320 2011-11-07 Andreas Schwab <schwab@redhat.com>
22321
22322 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22323 handler when locking.
22324
22325 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22326 Fix size of allocated buffer.
22327
22328 2011-11-04 Andreas Schwab <schwab@redhat.com>
22329
22330 [BZ #10103]
22331 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22332 declarations for long double functions.
22333 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22334
22335 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22336
22337 2011-11-03 Andreas Schwab <schwab@redhat.com>
22338
22339 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22340 installed.
22341
22342 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22343 is disabled.
22344
22345 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22346
22347 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22348
22349 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22350
22351 * include/alloca.h (stackinfo_alloca_round): Define.
22352 (extend_alloca): Use it.
22353 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22354 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22355 here.
22356
22357 * scripts/check-local-headers.sh: Ignore libaudit.h.
22358
22359 * nscd/Makefile (extra-objs): Make recursively expanded.
22360
22361 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22362
22363 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22365
22366 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22367 * posix/tst-rfc3484-2.c: Likewise.
22368 * posix/tst-rfc3484-3.c: Likewise.
22369
22370 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22371 process_vm_writev.
22372 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22373 process_vm_writev.
22374 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22375 process_vm_writev from libc using GLIBC_2.15 version.
22376
22377 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22378
22379 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22380
22381 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22382 stack usage.
22383
22384 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22385
22386 [BZ #13367]
22387 * nss/getent.c (initgroups_keys): Show error message in case no group
22388 names are given.
22389
22390 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22391 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22392 __bump_nl_timestamp.
22393 * nscd/connections (nscd_init): When host database is served open
22394 netlink socket and request notification about configuration changes.
22395 (main_loop_poll): Track netlink file descriptor and bump timestamp
22396 in case data becomes available.
22397 (main_loop_epoll): Likewise.
22398 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22399 (database_pers_head): Add extra_data fileds.
22400 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22401 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22402 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22403 Adjust caller.
22404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22405 in6ai data, call __free_in6ai.
22406 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22407 Add -DHAVE_NETLINK.
22408 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22409 interface information. Reuse previous data if netlink timestamp
22410 is not changed.
22411 (__bump_nl_timestamp): New function.
22412 (__free_in6ai): New function.
22413
22414 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22415
22416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22417 close_not_cancel_no_status here.
22418 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22419
22420 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22421
22422 [BZ #13276]
22423 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22424 return value.
22425
22426 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22427 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22428 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22429
22430 2011-07-03 Andreas Jaeger <aj@suse.de>
22431
22432 [BZ #10709]
22433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22434 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22435 * math/libm-test.inc (sin_test): Add test case.
22436
22437 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22438
22439 [BZ #13337]
22440 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22442
22443 * elf/chroot_canon.c (chroot_canon): Cleanups.
22444
22445 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22446
22447 [BZ #13335]
22448 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22449 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22450
22451 * string/test-strchr.c: Make usable for strchrnul testing.
22452 * string/test-strchrnul.c: New file.
22453 * string/Makefile (strop-tests): Add strchrnul.
22454
22455 * po/it.po: Update from translation team.
22456 * po/es.po: Likewise.
22457
22458 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22459
22460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22461 the three constants needed as parameters. Drop the others.
22462 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22463 __m128i_strloadu_tolower.
22464 Create and initialize variable zero and use it in all the places
22465 where _mm_setzero_si128 was used.
22466
22467 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22468 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22469 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22471 anymore.
22472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22473 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22474 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22475 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22476 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22477 __mpranred, __mptan.
22478 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22479 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22480 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22481 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22482 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22483 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22485 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22486 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22487
22488 2011-10-28 Andreas Schwab <schwab@redhat.com>
22489
22490 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22491 redefine if SHARED.
22492 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22493
22494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22495 wide char related routines to wcsmbs subdir.
22496
22497 2011-10-27 Andreas Schwab <schwab@redhat.com>
22498
22499 [BZ #13344]
22500 * misc/sys/cdefs.h (__THROWNL): Define.
22501 * posix/unistd.h: Use __THREADNL instead of __THREAD
22502 for memory synchronization functions.
22503
22504 2011-10-26 Roland McGrath <roland@hack.frob.com>
22505
22506 [BZ #13349]
22507 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22508 doesn't exist.
22509 * manual/stdio.texi (Obstack Streams): Node removed.
22510
22511 2011-10-26 Andreas Schwab <schwab@redhat.com>
22512
22513 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22514 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22515 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22516
22517 * math/math_private.h (math_force_eval): Allow non-addressable
22518 arguments.
22519 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22520
22521 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22522
22523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22524 file is not needed.
22525
22526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22533 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22534 Add AVX variants.
22535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22540 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22541 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22542 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22545 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22547 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22548 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22549 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22550 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22551 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22552 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22553 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22554
22555 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22556 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22557
22558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22559 place. Use VEX encoding when compiling for AVX.
22560
22561 2011-10-25 Andreas Schwab <schwab@redhat.com>
22562
22563 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22564 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22565
22566 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22567
22568 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22569
22570 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22571 useless if() expression.
22572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22590 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22591
22592 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22593
22594 2011-10-25 Andreas Schwab <schwab@redhat.com>
22595
22596 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22597 condition.
22598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22599
22600 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22601
22602 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22603 .text section. Avoid duplicate constants.
22604 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22616 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22619 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22621 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22630 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22631 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22632 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22633 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22635 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22636 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22637 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22638 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22640 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22642 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22643 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22649
22650 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22651
22652 * sysdeps/x86_64/dla.h: Move to ...
22653 * sysdeps/x86_64/fpu/dla.h: ...here.
22654 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22655 situations. Use __builtin_fma only for gcc 4.6 and up.
22656
22657 * config.make.in: Add have-mfma4 entry.
22658 * configure.in: Substitute libc_cv_cc_fma4.
22659 * math/Makefile (dbl-only-routines): Add sincostab.
22660 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22661 Use __sincostab not sincos.
22662 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22663 name is a macro.
22664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22668 using __copysign.
22669 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22670 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22671 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22672 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22673 and __inv.
22674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22675 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22676 __copysign.
22677 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22678 define aliases when function name is a macro.
22679 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22680 sysdeps/ieee754/dbl-64/sincos.tbl.
22681 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22682 fma4-enabled routines.
22683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22706 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22707 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22708 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22710 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22711 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22712 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22713
22714 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22715 rename.
22716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22724
22725 2011-10-24 Andreas Schwab <schwab@redhat.com>
22726
22727 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22728
22729 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22730
22731 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22732
22733 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22734 prediction.
22735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22736
22737 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22738 Remove unused variable magic_bits.
22739 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22740
22741 * string/strnlen.c: Define and use STRNLEN macro.
22742 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22743 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22745 * wcsmbs/wcslen.c: Define and use WCSLEN.
22746 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22747 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22748 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22749 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22750 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22751 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22753
22754 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22755
22756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22757 strnlen-sse2-no-bsf.
22758 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22760 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22761 Add strnlen support.
22762 (USE_AS_STRNLEN): New macro.
22763 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22764 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22765 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22766 * sysdeps/x86_64/wcslen.S: New file.
22767
22768 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22769
22770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22771 XMM-moves are used for copying on small sizes.
22772
22773 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22774
22775 * wcsmbs/Makefile (strop-tests): Add wcschr.
22776 * wcsmbs/test-wcschr.c: New file.
22777 * string/test-strchr.c: Update.
22778 Add wcschr support.
22779 (WIDE): New macro.
22780
22781 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22782
22783 * wcsmbs/Makefile (strop-tests): Add wcslen.
22784 * wcsmbs/test-wcslen.c: New file.
22785 * string/test-strlen.c: Update.
22786 Add wcslen support.
22787 (WIDE): New macro.
22788
22789 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22790
22791 * po/it.po: Update from translation team.
22792
22793 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22794
22795 * sysdeps/x86_64/wcscmp.S: Update.
22796 Fix wrong comparison semantics.
22797 wcscmp shall use signed comparison not unsigned.
22798 Don't use substraction to avoid overflow bug.
22799 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22800 * wcsmbc/wcscmp.c: Likewise.
22801 * string/test-strcmp.c: Likewise.
22802 Add new tests to check cases with negative values.
22803
22804 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22805
22806 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22807 * sysdeps/x86_64/dla.h: ...here. New file.
22808 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22817
22818 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22819
22820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22821 __ynl_finite aliases.
22822
22823 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22824
22825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22826
22827 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22828 define DLA_FMA.
22829 [DLA_FMA] (EMULV): Use DLA_FMA.
22830 [DLA_FMA] (MUL12): Use EMULV.
22831 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22832 that are not needed.
22833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22840
22841 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22842
22843 * math/s_nan.c: Undef __nan.
22844 * math/s_nanf.c: Undef __nanf.
22845 * math/s_nanl.c: Undef __nanl.
22846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22847 "math_private.h".
22848
22849 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22850
22851 * math/s_catan.c: Add branch predictions.
22852 * math/s_catanf.c: Likewise.
22853 * math/s_catanh.c: Likewise.
22854 * math/s_catanhf.c: Likewise.
22855 * math/s_catanhl.c: Likewise.
22856 * math/s_catanl.c: Likewise.
22857 * math/s_cexp.c: Likewise.
22858 * math/s_cexpf.c: Likewise.
22859 * math/s_cexpl.c: Likewise.
22860 * math/s_clog.c: Likewise.
22861 * math/s_clog10.c: Likewise.
22862 * math/s_clog10f.c: Likewise.
22863 * math/s_clog10l.c: Likewise.
22864 * math/s_clogf.c: Likewise.
22865 * math/s_clogl.c: Likewise.
22866 * math/s_csqrt.c: Likewise.
22867 * math/s_csqrtf.c: Likewise.
22868 * math/s_csqrtl.c: Likewise.
22869 * math/s_ctanf.c: Likewise.
22870 * math/s_ctanh.c: Likewise.
22871 * math/s_ctanhf.c: Likewise.
22872 * math/s_ctanhl.c: Likewise.
22873 * math/s_ctanl.c: Likewise.
22874
22875 * math/math_private.h: Define __nan, __nanf, __nanl.
22876 * math/s_cacosh.c: Include <math_private.h>.
22877 * math/s_cacoshl.c: Likewise.
22878 * math/s_casinh.c: Likewise.
22879 * math/s_casinhf.c: Likewise.
22880 * math/s_casinhl.c: Likewise.
22881 * math/s_ccos.c: Rely entire on ccosh.
22882 * math/s_ccosf.c: Rely entire on ccoshf.
22883 * math/s_ccosl.c: Rely entirely on ccoshl.
22884 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22885 Remove tests for FE_INVALID.
22886 * math/s_ccoshf.c: Likewise.
22887 * math/s_ccoshl.c: Likewise.
22888 * math/s_csin.c: Likewise.
22889 * math/s_csinf.c: Likewise.
22890 * math/s_csinh.c Likewise.
22891 * math/s_csinhf.c: Likewise.
22892 * math/s_csinhl.c: Likewise.
22893 * math/s_csinl.c: Likewise.
22894 * math/s_ctan.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22896 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22897 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22898
22899 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22900
22901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22902 compilation problems.
22903
22904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22905 __builtin_expect.
22906
22907 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22908
22909 * sysdeps/i386/configure.in: Test for -mfma4 option.
22910 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22911 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22912 COMMON_CPUID_INDEX_80000001.
22913 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22914 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22915 use it if FMA3 is not supported.
22916 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22917
22918 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22919 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22920
22921 2011-10-20 Andreas Schwab <schwab@redhat.com>
22922
22923 [BZ #12892]
22924 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22925 it would create a cycle with a link time dependency.
22926
22927 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22928
22929 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22930 instruction.
22931 * string/Makefile (strop-tests): Add rawmemchr.
22932 * string/test-rawmemchr.c: New file.
22933
22934 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22936 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22937 when compiling str{,n}casecmp and when AVX is available. Hook up
22938 new optimized code in initializers.
22939
22940 2011-10-19 Andreas Schwab <schwab@redhat.com>
22941
22942 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22943 __feraiseexcept instead of feraiseexcept.
22944
22945 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22946
22947 * math/math_private.h: Define defaults for libc_fetestexcept and
22948 libc_feupdateenv.
22949 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22950 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22951 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22952 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22955 libc_fetestexcept and libc_feupdateenv.
22956
22957 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22958 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22959 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22960 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22961 libc_feholdexcept_setround.
22962
22963 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22964 Add s_nearbyint-c and s_nearbyintf-c.
22965 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22966 nearbyintf inlines.
22967 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22969 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22970 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22971
22972 * math/math_private.h: Define defaults for libc_fegetround,
22973 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22974 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22975 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22976 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22977 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22978 standard functions.
22979 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22980 Remove comments and hacks for old compiler versions.
22981 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22982 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22983 libc_feholdexceptl.
22984
22985 2011-10-18 Andreas Schwab <schwab@redhat.com>
22986
22987 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22988 (__feraiseexcept_renamed): Add __NTH.
22989 (feraiseexcept): Add __NTH. Rename local variables to fix
22990 namespace violations.
22991
22992 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22993
22994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22995
22996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22997
22998 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22999 recently added interfaces.
23000 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23001
23002 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23003 about macro parameter expansion.
23004
23005 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23006 __NO_MATH_INLINES is defined. Cleanups.
23007
23008 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23009 and __floorf is target has SSE4.1.
23010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23011 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23012 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23013 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23014
23015 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23016 name.
23017 (floorf): Likewise.
23018
23019 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23020
23021 2011-10-17 Andreas Schwab <schwab@redhat.com>
23022
23023 * misc/sys/cdefs.h: Fix last change.
23024
23025 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23026 database lookup.
23027
23028 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23029
23030 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23031
23032 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23038 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23041 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23042 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23043 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23044 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23045 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23047 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23048 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23049 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23050 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23051 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23053 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23054
23055 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23056 ceil, ceilf, floor, floorf.
23057
23058 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23059 Perform IRELATIVE relocations last.
23060
23061 * elf/do-rel.h: Add another parameter nrelative, replacing the
23062 local variable with the same name. Change name of the function
23063 to end in Rel or Rela (uppercase).
23064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23065 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23066 elf_dynamic_do_##reloc function.
23067
23068 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23069
23070 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23071 is sufficient, at least on modern CPUs.
23072
23073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23074
23075 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23077
23078 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23079 __expl_finite.
23080 * math/bits/math-finite.h: Add entries for exp.
23081 * math/e_expl.c: Add __*_finite alias.
23082 * sysdeps/i386/fpu/e_exp.S: Likewise.
23083 * sysdeps/i386/fpu/e_expf.S: Likewise.
23084 * sysdeps/i386/fpu/e_expl.c: Likewise.
23085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23086 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23089 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23090 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23091 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23092
23093 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23094 is sufficient, at least on modern CPUs.
23095
23096 * ctype/ctype-info.c (__ctype_init): Define.
23097 * include/ctype.h (__ctype_init): Declare.
23098 (__ctype_b_loc): The variable is always initialized.
23099 (__ctype_toupper_loc): Likewise.
23100 (__ctype_tolower_loc): Likewise.
23101 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23102 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23103
23104 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23105
23106 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23107
23108 * configure.in: Also look in $cxxmachine/include for C++ system
23109 headers.
23110
23111 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23112
23113 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23114 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23115 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23116 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23118 (USE_AS_WMEMCMP): New macro.
23119 Fixing indents.
23120 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23121 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23122 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23123 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23125 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23126 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23127 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23128 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23129 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23131 (USE_AS_WMEMCMP): New macro.
23132 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23133 * sysdeps/string/test-memcmp.c: Update.
23134 Fix simple_wmemcmp.
23135 Add new tests.
23136 * wcsmbs/wmemcmp.c: Update.
23137 (WMEMCMP): New macro.
23138 Fix overflow bug.
23139
23140 2011-10-12 Andreas Jaeger <aj@suse.de>
23141
23142 [BZ #13268]
23143 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23144
23145 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23146
23147 * libio/iofwide.c (do_length): Avoid warning.
23148
23149 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23150
23151 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23152
23153 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23154
23155 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23156 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23157 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23158 * sysdeps/i386/i686/fpu/e_log.S: New file.
23159 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23160 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23161
23162 * ctype/ctype.h: Add support for inlined isXXX functions when
23163 compiling C++ code.
23164
23165 2011-10-14 Andreas Schwab <schwab@redhat.com>
23166
23167 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23168
23169 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23170
23171 2011-10-13 Roland McGrath <roland@hack.frob.com>
23172
23173 [BZ #13291]
23174 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23175
23176 2011-10-13 Andreas Schwab <schwab@redhat.com>
23177
23178 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23179 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23180 feraiseexcept.
23181
23182 * sysdeps/x86_64/memrchr.S: Check for zero size.
23183
23184 * string/stratcliff.c: Add memrchr tests.
23185
23186 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23187
23188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23189 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23190 rawmemchr-sse2 rawmemchr-sse2-bsf.
23191 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23192 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23193 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23194 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23195 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23196 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23197 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23198 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23199 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23200 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23201 * string/memrchr.c (MEMRCHR): New macro.
23202
23203 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23204
23205 Add integration with gcc's -ffinite-math-only and optimize wrapper
23206 functions in libm.
23207 * Versions.def: Define GLIBC_2.15 version for libm.
23208 * math/Makefile (headers): Add bits/math-finite.h.
23209 * math/bits/math-finite.h: New file.
23210 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23211 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23212 * math/e_acoshl.c: Add __*_finite alias.
23213 * math/e_acosl.c: Likewise.
23214 * math/e_asinl.c: Likewise.
23215 * math/e_atan2l.c: Likewise.
23216 * math/e_atanhl.c: Likewise.
23217 * math/e_coshl.c: Likewise.
23218 * math/e_exp10.c: Likewise.
23219 * math/e_exp10f.c: Likewise.
23220 * math/e_exp10l.c: Likewise.
23221 * math/e_exp2l.c: Likewise.
23222 * math/e_fmodl.c: Likewise.
23223 * math/e_gammal_r.c: Likewise.
23224 * math/e_hypotl.c: Likewise.
23225 * math/e_j0l.c: Likewise.
23226 * math/e_j1l.c: Likewise.
23227 * math/e_jnl.c: Likewise.
23228 * math/e_lgammal_r.c: Likewise.
23229 * math/e_log10l.c: Likewise.
23230 * math/e_log2l.c: Likewise.
23231 * math/e_logl.c: Likewise.
23232 * math/e_powl.c: Likewise.
23233 * math/e_sinhl.c: Likewise.
23234 * math/e_sqrtl.c: Likewise.
23235 * math/e_scalb.c: Completely rewritten and optimized.
23236 * math/e_scalbf.c: Likewise.
23237 * math/e_scalbl.c: Likewise.
23238 * math/w_acos.c: Likewise.
23239 * math/w_acosf.c: Likewise.
23240 * math/w_acosl.c: Likewise.
23241 * math/w_acosh.c: Likewise.
23242 * math/w_acoshf.c: Likewise.
23243 * math/w_acoshl.c: Likewise.
23244 * math/w_asin.c: Likewise.
23245 * math/w_asinf.c: Likewise.
23246 * math/w_asinl.c: Likewise.
23247 * math/w_atan2.c: Likewise.
23248 * math/w_atan2f.c: Likewise.
23249 * math/w_atan2l.c: Likewise.
23250 * math/w_atanh.c: Likewise.
23251 * math/w_atanhf.c: Likewise.
23252 * math/w_atanhl.c: Likewise.
23253 * math/w_exp10.c: Likewise.
23254 * math/w_exp10f.c: Likewise.
23255 * math/w_exp10l.c: Likewise.
23256 * math/w_fmod.c: Likewise.
23257 * math/w_fmodf.c: Likewise.
23258 * math/w_fmodl.c: Likewise.
23259 * math/w_j0.c: Likewise.
23260 * math/w_j0f.c: Likewise.
23261 * math/w_j0l.c: Likewise.
23262 * math/w_j1.c: Likewise.
23263 * math/w_j1f.c: Likewise.
23264 * math/w_j1l.c: Likewise.
23265 * math/w_jn.c: Likewise.
23266 * math/w_jnf.c: Likewise.
23267 * math/w_log.c: Likewise.
23268 * math/w_logf.c: Likewise.
23269 * math/w_logl.c: Likewise.
23270 * math/w_log10.c: Likewise.
23271 * math/w_log10f.c: Likewise.
23272 * math/w_log10l.c: Likewise.
23273 * math/w_log2.c: Likewise.
23274 * math/w_log2f.c: Likewise.
23275 * math/w_log2l.c: Likewise.
23276 * math/w_pow.c: Likewise.
23277 * math/w_powf.c: Likewise.
23278 * math/w_powl.c: Likewise.
23279 * math/w_remainder.c: Likewise.
23280 * math/w_remainderf.c: Likewise.
23281 * math/w_remainderl.c: Likewise.
23282 * math/w_scalb.c: Likewise.
23283 * math/w_scalbf.c: Likewise.
23284 * math/w_scalbl.c: Likewise.
23285 * math/w_sqrt.c: Likewise.
23286 * math/w_sqrtf.c: Likewise.
23287 * math/w_sqrtl.c: Likewise.
23288 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23289 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23290 used.
23291 * math/math_private.h: Declare __kernel_standard_f.
23292 * math/w_cosh.c: Remove cruft and optimize a bit.
23293 * math/w_coshf.c: Likewise.
23294 * math/w_coshl.c: Likewise.
23295 * math/w_exp2.c: Likewise.
23296 * math/w_exp2f.c: Likewise.
23297 * math/w_exp2l.c: Likewise.
23298 * math/w_hypot.c: Likewise.
23299 * math/w_hypotf.c: Likewise.
23300 * math/w_hypotl.c: Likewise.
23301 * math/w_lgamma.c: Likewise.
23302 * math/w_lgamma_r.c: Likewise.
23303 * math/w_lgammaf.c: Likewise.
23304 * math/w_lgammaf_r.c: Likewise.
23305 * math/w_lgammal.c: Likewise.
23306 * math/w_lgammal_r.c: Likewise.
23307 * math/w_sinh.c: Likewise.
23308 * math/w_sinhf.c: Likewise.
23309 * math/w_sinhl.c: Likewise.
23310 * math/w_tgamma.c: Likewise.
23311 * math/w_tgammaf.c: Likewise.
23312 * math/w_tgammal.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23315 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23316 Minor optimizations. Pretty printing. Remove cruft.
23317 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23318 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23319 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23321 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23322 * sysdeps/i386/fpu/e_asin.S: Likewise.
23323 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23324 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23325 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23326 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23330 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23331 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23332 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23333 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23334 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23335 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23336 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23337 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23338 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23339 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23340 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23341 * sysdeps/i386/fpu/e_log.S: Likewise.
23342 * sysdeps/i386/fpu/e_log10.S: Likewise.
23343 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23344 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23345 * sysdeps/i386/fpu/e_log2.S: Likewise.
23346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23348 * sysdeps/i386/fpu/e_logf.S: Likewise.
23349 * sysdeps/i386/fpu/e_logl.S: Likewise.
23350 * sysdeps/i386/fpu/e_pow.S: Likewise.
23351 * sysdeps/i386/fpu/e_powf.S: Likewise.
23352 * sysdeps/i386/fpu/e_powl.S: Likewise.
23353 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23354 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23355 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23357 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23359 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23360 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23361 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23396 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23400 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23453 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23454 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23455 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23459 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23460 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23461 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23462 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23463 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23464 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23465 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23470 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23472 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23473 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23474 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23475 (__isnanf): Likewise.
23476 (__isinf_ns): Likewise.
23477 (__isinf_nsf): Likewise.
23478 (__finite): Likewise.
23479 (__finitef): Likewise.
23480 (__ieee754_sqrt): Define as macro.
23481 (__ieee754_sqrtf): Define as macro.
23482 (__ieee754_sqrtl): Define as macro.
23483 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23484 inlined copy.
23485 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23486 __FINITE_MATH_ONLY__ consistent.
23487 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23488
23489 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23490
23491 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23492 of rawmemchr.
23493
23494 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23495
23496 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23497
23498 * po/ja.po: Update from translation team.
23499
23500 2011-10-08 Roland McGrath <roland@hack.frob.com>
23501
23502 * locale/programs/locarchive.c (prepare_address_space): New function.
23503 (create_archive, enlarge_archive, open_archive): Use it.
23504
23505 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23506 inside [SHARED], where it is used.
23507
23508 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23509
23510 * nss/getent.c (netgroup_keys): Remove unused variable.
23511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23512
23513 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23514
23515 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23516 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23519 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23520 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23521 * math/Makefile (libm-calls): Add s_isinf_ns.
23522 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23523 * math/multc3.c: Likewise.
23524 * math/s_casin.c: Likewise.
23525 * math/s_casinf.c: Likewise.
23526 * math/s_casinl.c: Likewise.
23527 * math/s_ccos.c: Likewise.
23528 * math/s_ccosf.c: Likewise.
23529 * math/s_ccosl.c: Likewise.
23530 * math/s_ctan.c: Likewise.
23531 * math/s_ctanf.c: Likewise.
23532 * math/s_ctanh.c: Likewise.
23533 * math/s_ctanhf.c: Likewise.
23534 * math/s_ctanhl.c: Likewise.
23535 * math/s_ctanl.c: Likewise.
23536 * math/w_fmod.c: Likewise.
23537 * math/w_fmodf.c: Likewise.
23538 * math/w_fmodl.c: Likewise.
23539 * math/w_remainder.c: Likewise.
23540 * math/w_remainderf.c: Likewise.
23541 * math/w_remainderl.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23543 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23546 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23547 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23548 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23549 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23550
23551 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23552 of the number.
23553 * stdio-common/printf_fphex.c: Likewise.
23554 * stdio-common/printf_size.c: Likewise.
23555
23556 * math/e_exp10.c: Include math_private.h using <...> not "...".
23557 * math/e_exp10f.c: Likewise.
23558 * math/e_exp10l.c: Likewise.
23559 * math/e_exp2l.c: Likewise.
23560 * math/e_j0l.c: Likewise.
23561 * math/e_j1l.c: Likewise.
23562 * math/e_jnl.c: Likewise.
23563 * math/e_lgammal_r.c: Likewise.
23564 * math/e_rem_pio2l.c: Likewise.
23565 * math/e_scalb.c: Likewise.
23566 * math/e_scalbf.c: Likewise.
23567 * math/e_scalbl.c: Likewise.
23568 * math/k_cosl.c: Likewise.
23569 * math/k_sinl.c: Likewise.
23570 * math/k_tanl.c: Likewise.
23571 * math/s_cacoshf.c: Likewise.
23572 * math/s_catan.c: Likewise.
23573 * math/s_catanf.c: Likewise.
23574 * math/s_catanh.c: Likewise.
23575 * math/s_catanhf.c: Likewise.
23576 * math/s_catanhl.c: Likewise.
23577 * math/s_catanl.c: Likewise.
23578 * math/s_ccosh.c: Likewise.
23579 * math/s_ccoshf.c: Likewise.
23580 * math/s_ccoshl.c: Likewise.
23581 * math/s_cexp.c: Likewise.
23582 * math/s_cexpf.c: Likewise.
23583 * math/s_cexpl.c: Likewise.
23584 * math/s_clog.c: Likewise.
23585 * math/s_clog10.c: Likewise.
23586 * math/s_clog10f.c: Likewise.
23587 * math/s_clog10l.c: Likewise.
23588 * math/s_clogf.c: Likewise.
23589 * math/s_clogl.c: Likewise.
23590 * math/s_csin.c: Likewise.
23591 * math/s_csinf.c: Likewise.
23592 * math/s_csinh.c: Likewise.
23593 * math/s_csinhf.c: Likewise.
23594 * math/s_csinhl.c: Likewise.
23595 * math/s_csinl.c: Likewise.
23596 * math/s_csqrt.c: Likewise.
23597 * math/s_csqrtf.c: Likewise.
23598 * math/s_csqrtl.c: Likewise.
23599 * math/s_ctan.c: Likewise.
23600 * math/s_ctanf.c: Likewise.
23601 * math/s_ctanh.c: Likewise.
23602 * math/s_ctanhf.c: Likewise.
23603 * math/s_ctanhl.c: Likewise.
23604 * math/s_ctanl.c: Likewise.
23605 * math/s_ldexp.c: Likewise.
23606 * math/s_ldexpf.c: Likewise.
23607 * math/s_ldexpl.c: Likewise.
23608 * math/s_significand.c: Likewise.
23609 * math/s_significandf.c: Likewise.
23610 * math/s_significandl.c: Likewise.
23611 * math/w_acos.c: Likewise.
23612 * math/w_acosf.c: Likewise.
23613 * math/w_acosh.c: Likewise.
23614 * math/w_acoshf.c: Likewise.
23615 * math/w_acoshl.c: Likewise.
23616 * math/w_acosl.c: Likewise.
23617 * math/w_asin.c: Likewise.
23618 * math/w_asinf.c: Likewise.
23619 * math/w_asinl.c: Likewise.
23620 * math/w_atan2.c: Likewise.
23621 * math/w_atan2f.c: Likewise.
23622 * math/w_atan2l.c: Likewise.
23623 * math/w_atanh.c: Likewise.
23624 * math/w_atanhf.c: Likewise.
23625 * math/w_atanhl.c: Likewise.
23626 * math/w_cosh.c: Likewise.
23627 * math/w_coshf.c: Likewise.
23628 * math/w_coshl.c: Likewise.
23629 * math/w_dremf.c: Likewise.
23630 * math/w_exp10.c: Likewise.
23631 * math/w_exp10f.c: Likewise.
23632 * math/w_exp10l.c: Likewise.
23633 * math/w_exp2.c: Likewise.
23634 * math/w_exp2f.c: Likewise.
23635 * math/w_fmod.c: Likewise.
23636 * math/w_fmodf.c: Likewise.
23637 * math/w_fmodl.c: Likewise.
23638 * math/w_hypot.c: Likewise.
23639 * math/w_hypotf.c: Likewise.
23640 * math/w_hypotl.c: Likewise.
23641 * math/w_j0.c: Likewise.
23642 * math/w_j0f.c: Likewise.
23643 * math/w_j0l.c: Likewise.
23644 * math/w_j1.c: Likewise.
23645 * math/w_j1f.c: Likewise.
23646 * math/w_j1l.c: Likewise.
23647 * math/w_jn.c: Likewise.
23648 * math/w_jnf.c: Likewise.
23649 * math/w_jnl.c: Likewise.
23650 * math/w_lgamma.c: Likewise.
23651 * math/w_lgamma_r.c: Likewise.
23652 * math/w_lgammaf.c: Likewise.
23653 * math/w_lgammaf_r.c: Likewise.
23654 * math/w_lgammal.c: Likewise.
23655 * math/w_lgammal_r.c: Likewise.
23656 * math/w_log.c: Likewise.
23657 * math/w_log10.c: Likewise.
23658 * math/w_log10f.c: Likewise.
23659 * math/w_log10l.c: Likewise.
23660 * math/w_log2.c: Likewise.
23661 * math/w_log2f.c: Likewise.
23662 * math/w_log2l.c: Likewise.
23663 * math/w_logf.c: Likewise.
23664 * math/w_logl.c: Likewise.
23665 * math/w_pow.c: Likewise.
23666 * math/w_powf.c: Likewise.
23667 * math/w_powl.c: Likewise.
23668 * math/w_remainder.c: Likewise.
23669 * math/w_remainderf.c: Likewise.
23670 * math/w_remainderl.c: Likewise.
23671 * math/w_scalb.c: Likewise.
23672 * math/w_scalbf.c: Likewise.
23673 * math/w_scalbl.c: Likewise.
23674 * math/w_sinh.c: Likewise.
23675 * math/w_sinhf.c: Likewise.
23676 * math/w_sinhl.c: Likewise.
23677 * math/w_sqrt.c: Likewise.
23678 * math/w_sqrtf.c: Likewise.
23679 * math/w_sqrtl.c: Likewise.
23680 * math/w_tgamma.c: Likewise.
23681 * math/w_tgammaf.c: Likewise.
23682 * math/w_tgammal.c: Likewise.
23683
23684 * po/ja.po: Update from translation team.
23685
23686 2011-09-29 Andreas Jaeger <aj@suse.de>
23687
23688 [BZ #13179]
23689 * sunrpc/netname.c (netname2host): Fix logic.
23690
23691 [BZ #6779]
23692 [BZ #6783]
23693 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23694 correctly.
23695 * math/w_remainder.c (__remainder): Likewise.
23696 * math/w_remainderf.c (__remainderf): Likewise.
23697 * math/libm-test.inc (remainder_test): Add test cases.
23698
23699 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23700
23701 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23702 sdiv_qrnnd.
23703
23704 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23705
23706 * string/test-memcmp.c: Avoid unncessary #defines.
23707 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23708
23709 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23710
23711 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23712 Use new sse2 version for core i3 - i7 as it's faster
23713 than sse42 version.
23714 (bit_Prefer_PMINUB_for_stringop): New.
23715 * sysdeps/x86_64/rawmemchr.S: Update.
23716 Replace with faster SSE2 version.
23717 * sysdeps/x86_64/memrchr.S: New file.
23718 * sysdeps/x86_64/memchr.S: Update.
23719 Replace with faster SSE2 version.
23720
23721 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23722
23723 * elf/dl-load.c (lose): Add cast to avoid warning.
23724
23725 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23726
23727 * po/ca.po: Update from translation team.
23728
23729 * inet/getnetgrent_r.c: Hook up nscd.
23730 * nscd/Makefile (routines): Add nscd_netgroup.
23731 (nscd-modules): Add netgroupcache.
23732 (CFLAGS-netgroupcache.c): Define.
23733 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23734 (cache_search): Add const to second parameter.
23735 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23736 INNETGR.
23737 (dbs): Add netgrdb entry.
23738 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23739 (verify_persistent_db): Handle netgrdb.
23740 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23741 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23742 GETFDNETGR.
23743 (netgroup_response_header): Define.
23744 (innetgroup_response_header): Define.
23745 (datahead): Add netgroup_response_header and innetgroup_response_header
23746 elements.
23747 * nscd/nscd.conf: Add entries for netgroup cache.
23748 * nscd/nscd.h (dbtype): Add netgrdb.
23749 (_PATH_NSCD_NETGROUP_DB): Define.
23750 (netgroup_iov_disabled): Declare.
23751 (xmalloc, xcalloc, xrealloc): Move declarations here.
23752 (cache_search): Adjust prototype.
23753 Add netgroup-related prototypes.
23754 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23755 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23756 (__nscd_innetgr): Declare.
23757 * nscd/selinux.c (perms): Use access_vector_t as element type and
23758 add netgroup-related initializers.
23759 * nscd/netgroupcache.c: New file.
23760 * nscd/nscd_netgroup.c: New file.
23761 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23762 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23763 For four parameters use innetgr.
23764 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23765 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23766 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23767 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23768
23769 * nscd/connections.c (register_traced_file): Don't register file
23770 for disabled databases.
23771
23772 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23773
23774 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23775
23776 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23777 from tree and freeing node.
23778
23779 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23780
23781 * nss/nsswitch.c (__nss_database_lookup): Handle
23782 nss_parse_service_list out of memory case.
23783
23784 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23785
23786 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23787 out of memory case.
23788
23789 2011-10-04 Andreas Schwab <schwab@redhat.com>
23790
23791 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23792 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23793 pass it down.
23794 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23795 elf_machine_rela, elf_machine_lazy_rel.
23796 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23797 (ELF_DYNAMIC_DO_REL): Likewise.
23798 (ELF_DYNAMIC_DO_RELA): Likewise.
23799 (ELF_DYNAMIC_RELOCATE): Likewise.
23800 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23801 to ELF_DYNAMIC_DO_REL.
23802 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23803 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23804 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23805 elf_machine_rela.
23806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23807 skip_ifunc, don't call ifunc function if non-zero.
23808 (elf_machine_rela): Likewise.
23809 (elf_machine_lazy_rel): Likewise.
23810 (elf_machine_lazy_rela): Likewise.
23811 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23812 (elf_machine_lazy_rel): Likewise.
23813 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23814 Likewise.
23815 (elf_machine_lazy_rel): Likewise.
23816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23817 Likewise.
23818 (elf_machine_lazy_rel): Likewise.
23819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23820 (elf_machine_lazy_rel): Likewise.
23821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23822 (elf_machine_lazy_rel): Likewise.
23823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23824 (elf_machine_lazy_rel): Likewise.
23825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23826 (elf_machine_lazy_rel): Likewise.
23827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23828 (elf_machine_lazy_rel): Likewise.
23829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23830 (elf_machine_lazy_rel): Likewise.
23831
23832 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23833
23834 * nss/nss_files/files-init.c (_nss_files_init): Use static
23835 initialization for all the *_traced_file variables.
23836
23837 2011-09-28 Andreas Schwab <schwab@redhat.com>
23838
23839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23840
23841 2011-09-27 Roland McGrath <roland@hack.frob.com>
23842
23843 [BZ #13226]
23844 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23845
23846 2011-09-27 Andreas Schwab <schwab@redhat.com>
23847
23848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23849 Reread the line before reparsing it.
23850
23851 2011-09-26 Andreas Schwab <schwab@redhat.com>
23852
23853 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23854
23855 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23856 Maxim Kuvyrkov <maxim@codesourcery.com>
23857 Joseph Myers <joseph@codesourcery.com>
23858
23859 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23860 if needed for __stack_chk_guard.
23861
23862 2011-09-19 Roland McGrath <roland@hack.frob.com>
23863
23864 * sysdeps/posix/spawni.c (script_execute): Always define it.
23865 It will be optimized away if unused.
23866 (maybe_script_execute): New function.
23867 (__spawni): Call it.
23868
23869 * Makerules: Don't include tls.make.
23870 (config-tls): Always set to thread.
23871 * tls.make.c: File removed.
23872
23873 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23874
23875 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23876 * config.make.in (CPPFLAGS-config): New substituted variable.
23877
23878 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23879
23880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23881
23882 [BZ #13192]
23883 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23884 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23885
23886 2011-09-15 Roland McGrath <roland@hack.frob.com>
23887
23888 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23889 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23891 (CALL_FAIL): Likewise.
23892 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23893 (CALL_FAIL): Macro removed.
23894 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23895
23896 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23897
23898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23899 for __FINITE_MATH_ONLY__ == 1.
23900
23901 2011-09-15 Andreas Schwab <schwab@redhat.com>
23902
23903 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23904 __ieee754_sqrt instead of sqrt.
23905 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23906 __ieee754_sqrtf instead of sqrtf.
23907 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23908 __floorf instead of floorf.
23909 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23910 __floorf, __truncf instead of floorf, truncf.
23911
23912 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23913
23914 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23915
23916 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23917 __extern_always_inline.
23918 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23919 32-bit.
23920
23921 2011-09-14 Andreas Schwab <schwab@redhat.com>
23922
23923 * elf/rtld.c (dl_main): Also relocate in dependency order when
23924 doing symbol dependency testing.
23925
23926 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23927
23928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23929 Always define `refsym'.
23930
23931 2011-09-13 Andreas Schwab <schwab@redhat.com>
23932
23933 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23934 (__FD_ELT): Renamed from __FDELT.
23935 * misc/bits/select2.h (__FD_ELT): Likewise.
23936 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23937 __FD_MASK instead of __FDELT, __FDMASK.
23938 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23939 Likewise.
23940 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23941 Likewise.
23942
23943 * elf/Makefile (gen-ldd): Fix pattern.
23944
23945 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23946 (init_tls): Likewise.
23947
23948 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23949
23950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23951
23952 2011-09-12 Andreas Schwab <schwab@redhat.com>
23953
23954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23955 `struct cmsghdr *' instead of `void *'.
23956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23957 Likewise.
23958
23959 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23960
23961 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23962 if non-absolute.
23963 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23964 ldd_rewrite_script.
23965
23966 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23967
23968 * configure.in: Remove --with-tls option.
23969 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23970 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23971 out in case it is missing.
23972 * sysdeps/ia64/elf/configure.in: Likewise.
23973 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23974 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23975 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23976 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23977 * sysdeps/sh/elf/configure.in: Likewise.
23978 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23979 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23980 * sysdeps/x86_64/elf/configure.in: Likewise.
23981 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23982 * sysdeps/mach/hurd/tls.h: Likewise.
23983
23984 [BZ #13067]
23985 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23986
23987 [BZ #13090]
23988 * configure.in: Fix use of AC_INIT.
23989
23990 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23991
23992 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23993
23994 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23995 __set_errno.
23996 * malloc/hooks.c: Likewise.
23997
23998 [BZ #11929]
23999 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24000 variables statically.
24001 (narenas): Initialize.
24002 (list_lock): Initialize.
24003 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24004 initializtion of main_arena and list_lock. Small cleanups.
24005 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24006 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24007 Add initializers to main_arena and mp_.
24008 (malloc_state): Remove pagesize member. Change all users to use
24009 GLRO(dl_pagesize).
24010
24011 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24012 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24013 is always initialized.
24014
24015 * malloc/malloc.c: Removed unused configurations and dead code.
24016 * malloc/arena.c: Likewise.
24017 * malloc/hooks.c: Likewise.
24018 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24019
24020 * include/tls.h: Removed. USE___THREAD must always be defined.
24021 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24022 * elf/dl-libc.c: Likewise.
24023 * elf/dl-tsd.c: Likewise.
24024 * include/errno.h: Likewise.
24025 * include/netdb.h: Likewise.
24026 * include/resolv.h: Likewise.
24027 * inet/herrno-loc.c: Likewise.
24028 * inet/herrno.c: Likewise.
24029 * malloc/arena.c: Likewise.
24030 * malloc/hooks.c: Likewise.
24031 * malloc/malloc.c: Likewise.
24032 * resolv/res-state.c: Likewise.
24033 * resolv/res_libc.c: Likewise.
24034 * sysdeps/i386/dl-machine.h: Likewise.
24035 * sysdeps/ia64/dl-machine.h: Likewise.
24036 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24037 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24038 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24039 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24040 * sysdeps/sh/dl-machine.h: Likewise.
24041 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24042 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24043 * sysdeps/unix/i386/sysdep.S: Likewise.
24044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24045 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24050 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24054 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24055 * sysdeps/x86_64/dl-machine.h: Likewise.
24056 * tls.make.c: Likewise.
24057
24058 * configure.in: Remove --with-__thread option. Make tests for
24059 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24060 tls_model attribute fail if no support is available. Remove
24061 USE_IN_LIBIO.
24062 * Makeconfig: Adjust for dropped configure option. All features are
24063 now mandatory.
24064 * Makerules: Likewise.
24065 * Versions.def: Likewise.
24066 * argp/argp-fmtstream.c: Likewise.
24067 * argp/argp-fmtstream.h: Likewise.
24068 * argp/argp-help.c: Likewise.
24069 * assert/assert.c: Likewise.
24070 * config.h.in: Likewise.
24071 * config.make.in: Likewise.
24072 * configure: Likewise.
24073 * configure.in: Likewise.
24074 * csu/Versions: Likewise.
24075 * csu/init.c: Likewise.
24076 * elf/tst-audit2.c: Likewise.
24077 * elf/tst-tls10.c: Likewise.
24078 * elf/tst-tls10.h: Likewise.
24079 * elf/tst-tls11.c: Likewise.
24080 * elf/tst-tls12.c: Likewise.
24081 * elf/tst-tls14.c: Likewise.
24082 * elf/tst-tlsmod11.c: Likewise.
24083 * elf/tst-tlsmod12.c: Likewise.
24084 * elf/tst-tlsmod13.c: Likewise.
24085 * elf/tst-tlsmod13a.c: Likewise.
24086 * elf/tst-tlsmod14a.c: Likewise.
24087 * elf/tst-tlsmod15b.c: Likewise.
24088 * elf/tst-tlsmod16a.c: Likewise.
24089 * elf/tst-tlsmod16b.c: Likewise.
24090 * elf/tst-tlsmod7.c: Likewise.
24091 * elf/tst-tlsmod8.c: Likewise.
24092 * elf/tst-tlsmod9.c: Likewise.
24093 * gmon/gmon.c: Likewise.
24094 * grp/fgetgrent_r.c: Likewise.
24095 * grp/putgrent.c: Likewise.
24096 * hurd/fopenport.c: Likewise.
24097 * include/libc-symbols.h: Likewise.
24098 * include/tls.h: Likewise.
24099 * intl/gettextP.h: Likewise.
24100 * intl/loadinfo.h: Likewise.
24101 * locale/global-locale.c: Likewise.
24102 * locale/localeinfo.h: Likewise.
24103 * mach/devstream.c: Likewise.
24104 * malloc/arena.c: Likewise.
24105 * malloc/set-freeres.c: Likewise.
24106 * misc/err.c: Likewise.
24107 * misc/getttyent.c: Likewise.
24108 * misc/mntent_r.c: Likewise.
24109 * posix/getopt.c: Likewise.
24110 * posix/wordexp.c: Likewise.
24111 * pwd/fgetpwent_r.c: Likewise.
24112 * resolv/Versions: Likewise.
24113 * resolv/res_hconf.c: Likewise.
24114 * shadow/fgetspent_r.c: Likewise.
24115 * shadow/putspent.c: Likewise.
24116 * stdio-common/printf_fphex.c: Likewise.
24117 * stdio-common/tmpfile.c: Likewise.
24118 * stdlib/abort.c: Likewise.
24119 * stdlib/fmtmsg.c: Likewise.
24120 * sunrpc/auth_unix.c: Likewise.
24121 * sunrpc/clnt_perr.c: Likewise.
24122 * sunrpc/clnt_tcp.c: Likewise.
24123 * sunrpc/clnt_udp.c: Likewise.
24124 * sunrpc/clnt_unix.c: Likewise.
24125 * sunrpc/openchild.c: Likewise.
24126 * sunrpc/svc_simple.c: Likewise.
24127 * sunrpc/svc_tcp.c: Likewise.
24128 * sunrpc/svc_udp.c: Likewise.
24129 * sunrpc/svc_unix.c: Likewise.
24130 * sunrpc/xdr.c: Likewise.
24131 * sunrpc/xdr_array.c: Likewise.
24132 * sunrpc/xdr_rec.c: Likewise.
24133 * sunrpc/xdr_ref.c: Likewise.
24134 * sunrpc/xdr_stdio.c: Likewise.
24135
24136 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24137
24138 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24139
24140 2011-07-03 Andreas Jaeger <aj@suse.de>
24141
24142 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24143 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24144 regenerate with gen-libm-tests.pl.
24145
24146 2010-05-12 Petr Baudis <pasky@suse.cz>
24147
24148 [BZ #11589]
24149 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24150 around j0() zero points by switching to j1().
24151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24155
24156 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24157
24158 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24159 instead of 0.
24160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24161 instead of 0.
24162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24163 Patch in part by Pavel Roskin <proski@gnu.org>.
24164
24165 [BZ #13138]
24166 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24167 realloc.
24168 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24169 Free memory block if necessary.
24170
24171 [BZ #12847]
24172 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24173 be NULL. Don't lock in this case.
24174
24175 2011-09-09 Roland McGrath <roland@hack.frob.com>
24176
24177 * elf/elf.h (ELFOSABI_GNU): New macro.
24178 (ELFOSABI_LINUX): Define to that.
24179
24180 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24181
24182 * string/strncat.c (strncat): Undef the symbol in case it has been
24183 defined in bits/string.h.
24184
24185 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24186
24187 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24188
24189 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24190 link map.
24191
24192 2011-08-17 Andreas Jaeger <aj@suse.de>
24193
24194 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24195
24196 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24197 Ian Lance Taylor <iant@google.com>
24198
24199 * math/libm-test.inc (lround_test): New testcase.
24200 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24201
24202 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24203
24204 * Makefile: Remove support for automatic cvs check-ins.
24205 * Makerules: Likewise.
24206 * config.make.in: Likewise.
24207 * configure.in: Likewise.
24208 * intl/Makefile: Likewise.
24209 * locale/Makefile: Likewise.
24210 * po/Makefile: Likewise.
24211 * posix/Makefile: Likewise.
24212 * sysdeps/gnu/Makefile: Likewise.
24213 * sysdeps/mach/hurd/Makefile: Likewise.
24214 * sysdeps/sparc/sparc32/Makefile: Likewise.
24215
24216 [BZ #13118]
24217 * posix/Makefile (bug-regex32-ENV): Define.
24218 Patch by John Stanley <jpsinthemix@verizon.net>.
24219
24220 * misc/Makefile (headers): Add bits/select2.h.
24221 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24222 * misc/bits/select2.h: New file.
24223 * include/bits/select2.h: New file.
24224 * debug/Makefile (routines): Add fdelt_chk.
24225 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24226 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24227 FD_ISSET.
24228 * debug/fdelt_chk.c: New file.
24229
24230 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24231 * wcsmbs/test-wmemcmp.c: Likewise.
24232 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24233 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24234
24235 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24236
24237 * string/Makefile (strop-tests): Add memcmp.
24238 * string/test-wmemcmp.c: New file.
24239 * string/test-memcmp.c: Add wmemcmp support.
24240
24241 2011-09-08 Roland McGrath <roland@hack.frob.com>
24242
24243 [BZ #13153]
24244 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24245 2011-07-19 change.
24246
24247 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24248 garbage value in a __mach_port_mod_refs call in the cases of the
24249 task-self and thread-self ports.
24250
24251 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24252
24253 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24254
24255 2011-09-08 Andreas Schwab <schwab@redhat.com>
24256
24257 * elf/dl-load.c (lose): Check for non-null L.
24258
24259 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24260
24261 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24262
24263 * elf/dl-libc.c (dlerror_run): Pass back error code from
24264 dl_catch_error.
24265
24266 [BZ #13123]
24267 * elf/dl-load.c (lose): Free l_origin if it is valid.
24268
24269 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24270 names.
24271 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24274 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24275 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24276 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24277
24278 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24279
24280 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24281 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24284 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24285 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24286 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24287 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24288 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24289 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24290
24291 2011-08-15 Alan Modra <amodra@gmail.com>
24292
24293 [BZ #13092]
24294 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24295 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24296 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24297 ppc_mcount to static-only-routines.
24298 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24299 __mcount_internal.
24300 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24301 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24302
24303 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24304
24305 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24306 for finite and infinity parameters.
24307
24308 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24309
24310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24311 and add nop instructions for throughput optimization.
24312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24313
24314 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24315
24316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24317 aligned copy for power7 with vector-scalar instructions.
24318 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24319
24320 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24323 AVX check.
24324
24325 2011-09-07 Andreas Schwab <schwab@redhat.com>
24326
24327 [BZ #13144]
24328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24329 last change.
24330
24331 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24332
24333 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24334 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24335 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24337 clock_gettime.
24338
24339 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24340
24341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24342 Forgot to demangle the pointer.
24343
24344 * sysdeps/i386/sysdep.h: Define atom_text_section.
24345 * sysdeps/x86_64/sysdep.h: Likewise.
24346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24347 section with atom_text_section.
24348 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24350 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24353
24354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24355 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24356 already be defined. Change to take two parameters and don't assign
24357 result to variable. Adjust all users.
24358 Define INTERNAL_GETTIME if not already defined.
24359 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24360 call.
24361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24362 HAVE_CLOCK_GETTIME_VSYSCALL.
24363 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24364
24365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24366 gettimeofday vsyscall, just use time.
24367
24368 2011-09-06 Andreas Schwab <schwab@redhat.com>
24369
24370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24371 <errno.h>.
24372
24373 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24374
24375 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24376 syscall on x86-64.
24377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24378 syscall.
24379 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24380 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24381 syscall if possible.
24382
24383 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24384
24385 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24386 e_ident. Don't pass to find_mapsXX.
24387 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24388
24389 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24390
24391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24392 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24393 * sysdeps/x86_64/multiarch/strchr.S: Update.
24394 Check bit_slow_BSF bit.
24395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24396 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24398
24399 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24400
24401 [BZ #13134]
24402 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24403 before glibc 2.15.
24404 (tryshell): Define.
24405 (__spawni): Change last parameter to be flag. Test
24406 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24407 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24408 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24409 * posix/spawni.c: Likewise.
24410 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24411 * posix/spawnp.c: Likewise. Change normal version to use
24412 SPAWN_XFLAGS_USE_PATH.
24413 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24414 SPAWN_XFLAGS_TRY_SHELL.
24415
24416 [BZ #13150]
24417 * posix/glob.h: Remove gcc 1.x support.
24418
24419 [BZ #13068]
24420 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24421
24422 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24423
24424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24425 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24426 strrchr-sse2-bsf
24427 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24428 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24429 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24433
24434 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24435
24436 * sysdeps/x86_64/wcscmp.S: New file.
24437
24438 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24439 wcscmp-c wcscmp-sse2
24440 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24441 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24442 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24443 * wcsmbs/wcscmp.c: Allow renaming.
24444
24445 2011-09-05 David S. Miller <davem@davemloft.net>
24446
24447 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24448 stack slot, rather than the struct return pointer slot.
24449 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24450 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24453
24454 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24455
24456 * po/ja.po: Update from translation team.
24457
24458 [BZ #13144]
24459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24460 kernel in 64-bit binaries.
24461
24462 2011-09-01 David S. Miller <davem@davemloft.net>
24463
24464 * elf/elf.h (HWCAP_SPARC_*): Move to..
24465 * sysdeps/sparc/sysdep.h: this new file and add new values.
24466 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24467 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24468 _DL_HWCAP_COUNT to 24.
24469 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24470 entries.
24471 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24472 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24473 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24475 instead of magic constants.
24476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24477
24478 2011-08-31 David S. Miller <davem@davemloft.net>
24479
24480 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24482 Reimplement to do errno handling inline.
24483 (SYSCALL_ERROR_HANDLER): New macro.
24484 (__SYSCALL_STRING): Do not do errno handling in asm.
24485 (__CLONE_SYSCALL_STRING): Delete.
24486 (__INTERNAL_SYSCALL_STRING): Delete.
24487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24488 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24489 (PSEUDO): Reimplement to do errno handling inline.
24490 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24491 (SYSCALL_ERROR_HANDLER): New macro.
24492 (__SYSCALL_STRING): Do not do errno handling in asm.
24493 (__CLONE_SYSCALL_STRING): Delete.
24494 (__INTERNAL_SYSCALL_STRING): Delete.
24495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24496 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24497 i386.
24498 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24499 (inline_syscall*): Add 'err' argument.
24500 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24501 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24502 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24503 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24504
24505 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24506 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24507
24508 2011-08-30 Andreas Schwab <schwab@redhat.com>
24509
24510 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24511
24512 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24513
24514 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24515 directive.
24516
24517 2011-08-24 David S. Miller <davem@davemloft.net>
24518
24519 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24520
24521 2011-08-24 Andreas Schwab <schwab@redhat.com>
24522
24523 * elf/Makefile: Add rules to build and run unload8 test.
24524 * elf/unload8.c: New file.
24525 * elf/unload8mod1.c: New file.
24526 * elf/unload8mod1x.c: New file.
24527 * elf/unload8mod2.c: New file.
24528 * elf/unload8mod3.c: New file.
24529
24530 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24531 it wasn't used.
24532
24533 2011-08-23 David S. Miller <davem@davemloft.net>
24534
24535 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24536 subtract stack bias.
24537 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24538 %sp not %fp in calculations.
24539 (_JMPBUF_UNWINDS_ADJ): Likewise.
24540
24541 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24542 (aio_suspend): Call it to force an exception region around the
24543 AIO_MISC_WAIT() invocation.
24544
24545 2011-08-23 Andreas Schwab <schwab@redhat.com>
24546
24547 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24548 backslash.
24549
24550 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24551
24552 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24553 protection macro.
24554 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24555 and <dl-machine.h>.
24556 (Elf64_FuncDesc): Remove.
24557
24558 2011-08-22 David S. Miller <davem@davemloft.net>
24559
24560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24561 sigaltstack check, add missing cfi directives.
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24563 missing cfi directives, and sigaltstack handling.
24564
24565 2011-08-16 Andreas Schwab <schwab@redhat.com>
24566
24567 [BZ #11724]
24568 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24569 object is seen twice.
24570 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24571
24572 * elf/Makefile (distribute): Add tst-initorder2.c.
24573 (tests): Add tst-initorder2.
24574 (modules-names): Add tst-initorder2a tst-initorder2b
24575 tst-initorder2c tst-initorder2d. Add rules to build them.
24576 ($(objpfx)tst-initorder2.out): New rule.
24577 * elf/tst-initorder2.c: New file.
24578 * elf/tst-initorder2.exp: New file.
24579
24580 2011-08-22 Andreas Schwab <schwab@redhat.com>
24581
24582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24583
24584 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24585 dependencies back to end of function.
24586
24587 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24588 $(elfobjdir)/ld.so.
24589
24590 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24591
24592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24593 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24595 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24596 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24597 of __vdso_gettimeofday.
24598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24599 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24600 attribute_hidden.
24601 (_libc_vdso_platform_setup): Remove initialization of
24602 __vdso_gettimeofday and __vdso_time.
24603
24604 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24605
24606 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24607 and fgetc_unlocked.
24608 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24609 getc_unlocked.
24610
24611 * elf/dl-open.c (add_to_global): Report additions to the global scope
24612 for LD_DEBUG=scopes.
24613 (dl_open_worker): Also print scope of newly loaded dependencies.
24614 (_dl_show_scope): Indicate if there is no scope.
24615
24616 [BZ #13114]
24617 * stdio-common/Makefile (tests): Add bug24.
24618 * stdio-common/bug24.c: New file.
24619
24620 2011-08-19 Andreas Jaeger <aj@suse.de>
24621
24622 [BZ #13114]
24623 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24624 non-existant file when using close-on-exec mode.
24625
24626 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24627
24628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24629 the very first instruction.
24630
24631 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24632 the CFI state in the end.
24633 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24634 inclusion of dl-trampoline.h.
24635 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24636
24637 2011-08-19 Andreas Schwab <schwab@redhat.com>
24638
24639 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24640 expectations for long double.
24641
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24643 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24644
24645 2011-08-14 David S. Miller <davem@davemloft.net>
24646
24647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24648 artificual limit depends upon the system page size.
24649
24650 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24651
24652 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24653 * resolv/Makefile: Define CFLAGS-libresolv.
24654
24655 2011-08-17 Andreas Schwab <schwab@redhat.com>
24656
24657 * nss/makedb.c (compute_tables): Make variables used in nested
24658 function static.
24659
24660 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24661
24662 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24663 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24664 if buffer was too small.
24665
24666 * elf/pldd.c (main): Attach to all threads in the process.
24667 Rewrite /proc handling to use *at functions.
24668
24669 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24670
24671 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24672 specifies first scope to show.
24673 (dl_open_worker): Update callers. Move printing scope of new
24674 object to before the relocation.
24675 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24676 * sysdeps/generic/ldsodefs.h: Update declaration.
24677
24678 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24679 string for the scope number.
24680
24681 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24682
24683 * nscd/servicescache.c (cache_addserv): Make sure written is always
24684 initialized.
24685
24686 2011-08-14 Roland McGrath <roland@hack.frob.com>
24687
24688 * sysdeps/i386/i486/bits/atomic.h
24689 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24690 statement expression, so as to suppress "set but not used" warning.
24691 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24692
24693 * string/strncat.c (STRNCAT): Use prototype definition.
24694
24695 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24696 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24697 -Iprograms here.
24698 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24699 (localedef-modules): Add localedef.
24700 (locale-modules): Add locale.
24701
24702 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24703 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24704 to avoid a warning.
24705
24706 2011-08-14 David S. Miller <davem@davemloft.net>
24707
24708 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24709 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24710
24711 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24712
24713 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24714 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24715 * elf/rtld.c (dl_main): Set l_name of vDSO.
24716 Call _dl_show_scope when DL_DEBUG_SCOPES.
24717 (process_dl_debug): Recognize scopes flag and also set it for all.
24718 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24719 Declare _dl_show_scope.
24720
24721 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24722 (do_dlopen): Pass caller_dlopen to dl_open.
24723 (__libc_dlopen_mode): Initialize caller_dlopen.
24724
24725 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24726 of libc. Make tolower call locale-independent. Optimize a bit by
24727 using isdigit instead of isalnum.
24728 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24729
24730 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24731
24732 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24733 was a dependency or dynamically loaded.
24734
24735 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24736
24737 * intl/l10nflist.c: Allow architecture-specific pop function.
24738 * sysdeps/x86_64/l10nflist.c: New file.
24739
24740 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24741 classification.
24742
24743 2011-08-10 Andreas Schwab <schwab@redhat.com>
24744
24745 * include/dirent.h: Add libc_hidden_proto for scandirat and
24746 scandirat64. Don't declare __scandirat64.
24747 * dirent/scandirat.c: Add libc_hidden_def.
24748 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24749 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24750
24751 2011-08-10 David S. Miller <davem@davemloft.net>
24752
24753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24754 enum.
24755 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24758
24759 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24760
24761 * Versions.def [libc]: Add GLIBC_2.15.
24762 * dirent/Makefile (routines): Add scandirat and scandirat64.
24763 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24764 GLIBC_2.15.
24765 * dirent/dirent.h: Declare scandirat and scandirat64.
24766 * dirent/scandirat.c: New file.
24767 * dirent/scandirat64.c: New file.
24768 * sysdeps/wordsize-64/scandirat.c: New file.
24769 * sysdeps/wordsize-64/scandirat64.c: New file.
24770 * dirent/opendir.c: Define opendirat.
24771 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24772 using scandirat.
24773 * dirent/scandir64.c: Adjust for scandir.c change.
24774 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24775 __scandirat64, and __scandir_cancel_handler.
24776 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24777 additional parameter and use openat instead of open (outside of ld.so).
24778 Add new __opendir as wrapper around __opendirat.
24779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24780 here without requiring old scandirat implementation.
24781
24782 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24783
24784 * dirent/scandir.c (cancel_handler): Renamed to
24785 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24786 defined. Adjust users.
24787 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24789
24790 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24791
24792 * string/test-string.h (IMPL): Use __STRING to expand name and then
24793 stringify it.
24794
24795 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24796 of cleanups.
24797
24798 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24799
24800 * string/Makefile: Update.
24801 (strop-tests): Append strncat.
24802 * string/test-wcscmp.c: New file.
24803 New comprehensive test for wcscmp.
24804 * string/test-strcmp.c: Update.
24805 (WIDE): New define.
24806
24807 2011-07-22 Andreas Schwab <schwab@redhat.com>
24808
24809 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24810 line.
24811
24812 2011-07-26 Andreas Schwab <schwab@redhat.com>
24813
24814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24815 encoding to ACE if AI_IDN.
24816
24817 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24818
24819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24820 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24821
24822 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24823
24824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24825 Fix overflow bug in strncat.
24826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24827
24828 * string/test-strncat.c: Update.
24829 Add new tests for checking overflow bugs.
24830
24831 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24832
24833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24834 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24835 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24836 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24838 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24839 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24840 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24841 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24842
24843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24844 (USE_AS_STRCAT): Define.
24845 Add strcat and strncat support.
24846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24847
24848 2011-07-25 Andreas Schwab <schwab@redhat.com>
24849
24850 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24851 __n bigger than INT_MAX+1.
24852 (__strncmp_g): Likewise.
24853
24854 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24855
24856 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24857 * libio/stido.h: Likewise.
24858
24859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24860 (AF_NFC): Define.
24861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24862 (AF_NFC): Define.
24863
24864 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24867 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24869
24870 [BZ #13021]
24871 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24872 installed.
24873
24874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24875 typo.
24876 (_dl_x86_64_save_sse): Likewise.
24877
24878 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24879
24880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24881 OSXSAVE.
24882 (_dl_x86_64_save_sse): Likewise.
24883
24884 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24885
24886 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24887
24888 2011-07-21 Andreas Schwab <schwab@redhat.com>
24889
24890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24891 change.
24892 (_dl_x86_64_save_sse): Use correct AVX check.
24893
24894 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24895
24896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24897 bug in strncpy/strncat.
24898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24899
24900 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24901
24902 * string/tester.c (test_strcat): Add tests for different alignments
24903 of source and destination.
24904 (test_strncat): Likewise.
24905
24906 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24907
24908 [BZ #12852]
24909 * posix/glob.c (glob): Check passed in values before using them in
24910 expressions to avoid some overflows.
24911 (glob_in_dir): Likewise.
24912
24913 [BZ #13007]
24914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24915 check for AVX enablement so that we don't crash with old kernels and
24916 new hardware.
24917 * elf/tst-audit4.c: Add same checks here.
24918 * elf/tst-audit6.c: Likewise.
24919
24920 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24921
24922 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24923
24924 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24925
24926 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24927
24928 * po/cs.po: Update from translation team.
24929 * po/bg.po: Likewise.
24930
24931 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24932
24933 * misc/sys/cdefs.h: Add support for const attribute.
24934 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24935 to gnu_dev_{major,minor,makedev} functions.
24936
24937 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24938
24939 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24940
24941 2011-07-20 Andreas Schwab <schwab@redhat.com>
24942
24943 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24944 strlen results.
24945
24946 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24947
24948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24949 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24950 register in order to avoid conflicts with the soft frame pointer
24951 being held in r11 when necessary.
24952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24953 (INTERNAL_VSYSCALL_NCS): Likewise.
24954
24955 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24956
24957 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24958 * elf/dl-fini.c (_dl_fini): Adjust caller.
24959 * elf/dl-close.c (_dl_close_worker): Likewise.
24960 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24961
24962 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24963
24964 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24965 "aux_cache->nlibs < 0".
24966
24967 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24968 in the reload-count case.
24969
24970 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24971
24972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24973 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24974 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24975 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24976 * sysdeps/x86_64/multiarch/strcat.S: New file.
24977 * sysdeps/x86_64/multiarch/strncat.S: New file.
24978 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24979 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24980 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24981 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24983 (USE_AS_STRCAT): Define.
24984 Add strcat and strncat support.
24985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24987 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24988 * string/strncat.c: Update.
24989 (USE_AS_STRNCAT): Define.
24990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24991 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24992 and i7.
24993 * sysdeps/x86_64/multiarch/init-arch.h
24994 (bit_Prefer_PMINUB_for_stringop): New.
24995 (index_Prefer_PMINUB_for_stringop): Likewise.
24996 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24997 bit_Prefer_PMINUB_for_stringop.
24998
24999 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25000
25001 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25002 buffer64.
25003 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25004 of casting of buffer.
25005 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25006 buffer32 and buffer64.
25007 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25008 writes instead of casting of buffer.
25009 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25010 buffer32.
25011 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25012 casting of buffer.
25013
25014 2011-07-19 Andreas Schwab <schwab@redhat.com>
25015
25016 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25017
25018 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25019
25020 * nscd/nscd.c (termination_handler): Don't do anything for a database
25021 if it has not yet been initialized.
25022
25023 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25024
25025 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25026
25027 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25028
25029 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25030
25031 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25032
25033 * po/nl.po: Update from translation team.
25034 * po/sv.po: Likewise.
25035
25036 2011-07-16 Roland McGrath <roland@hack.frob.com>
25037
25038 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25039 now disallowed by GCC.
25040
25041 * configure.in (use-default-link): Default to yes if a test -shared
25042 link meets our qualifications.
25043 * configure: Regenerated.
25044
25045 * config.make.in (output-format): New variable.
25046 * configure.in: Check for ld --print-output-format support.
25047 * configure: Regenerated.
25048 * Makerules ($(common-objpfx)format.lds)
25049 [$(output-format) != unknown]: Just use $(output-format),
25050 instead of the linker-script munging.
25051
25052 2011-07-14 Roland McGrath <roland@hack.frob.com>
25053
25054 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25055 of $(common-objpfx)shlib.lds.
25056 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25057
25058 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25059 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25060
25061 * configure.in (-z relro check): Adjust test code to add a large
25062 writable data section after it.
25063 * configure: Regenerated.
25064
25065 2011-07-11 Roland McGrath <roland@hack.frob.com>
25066
25067 * configure.in (-z relro check): Fix test code to make the variable
25068 truly const.
25069 * configure: Regenerated.
25070
25071 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25072
25073 * nscd/nscd.h (struct traced_file): Define.
25074 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25075 elements. Add traced_files.
25076 (inotify_fd): Declare.
25077 (register_traced_file): Declare.
25078 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25079 (inotify_fd): Export.
25080 (resolv_conf_descr): Remove.
25081 (nscd_init): Move inotify descriptor creation to main.
25082 Don't register files for notification here.
25083 (register_traced_file): New function.
25084 (invalidate_cache): Don't use reset_res to determine whether to call
25085 res_init, go through the list of registered files.
25086 (main_loop_poll): The inotify descriptors are now stored in the
25087 structures for the traced files.
25088 (main_loop_epoll): Likewise
25089 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25090 to __nss_disable_nscd.
25091 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25092 for a database anymore. Check the records for all the registered
25093 files instead.
25094 * nss/Makefile (libnss_files-routines): Add files-init.
25095 (libnss_db-routines): Add db-init.
25096 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25097 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25098 * nss/nss_db/db-init.c: New file.
25099 * nss/nss_files/files-init.c: New file.
25100 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25101 __nss_lookup_function.
25102 (__nss_lookup_function): Call nss_load_library.
25103 (nss_load_all_libraries): New function.
25104 (__nss_disable_nscd): Take parameter with callback function for files
25105 to register. Set is_nscd. Load all the DSOs for the NSS modules
25106 used for the cached services.
25107 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25108 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25109 options for features to all the files in nscd.
25110
25111 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25112
25113 2011-07-10 Roland McGrath <roland@hack.frob.com>
25114
25115 * csu/elf-init.c (__libc_csu_init): Comment typo.
25116
25117 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25118
25119 * po/pl.po: Update from translation team.
25120 * po/ja.po: Likewise.
25121 * po/ru.po: Likewise.
25122 * po/ko.po: Likewise.
25123 * po/fr.po: Likewise.
25124
25125 2011-07-09 Roland McGrath <roland@hack.frob.com>
25126
25127 * configure.in (.ctors/.dtors header and trailer check):
25128 Use an empirical test on a built program.
25129 * configure: Regenerated.
25130
25131 * configure.in (-z relro check): Use an empirical test on a built DSO.
25132 Detect, but do not require, on ia64.
25133 * configure: Regenerated.
25134
25135 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25136 Update tests that use readelf to use $READELF instead.
25137 * configure: Regenerated.
25138
25139 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25140
25141 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25142 if the result is not used.
25143
25144 2011-07-05 Andreas Jaeger <aj@suse.de>
25145
25146 [BZ#9696]
25147 * stdlib/tst-strtod.c: Add testcase.
25148
25149 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25150
25151 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25152 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25153 The latter has a higher limit. Take additional parameter to pass to
25154 the new function.
25155 (__pathconf): Pass file to __statfs_link_max.
25156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25157 __statfs_link_max.
25158 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25159 __statfs_link_max.
25160
25161 [BZ #12868]
25162 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25164 Handle Lustre.
25165 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25166 (__statfs_filesize_max): Likewise.
25167 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25168
25169 2011-07-05 Andreas Jaeger <aj@suse.de>
25170
25171 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25172
25173 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25174
25175 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25176 `status' variable.
25177 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25178 Likewise.
25179
25180 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25181
25182 * Makefile (strop-tests): Add strncat.
25183 * string/test-strncat.c: New file.
25184
25185 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25186
25187 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25188
25189 2011-06-21 Andreas Jaeger <aj@suse.de>
25190
25191 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25192 Copy rule from iconvdata/Makefile.
25193
25194 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25195
25196 [BZ #12922]
25197 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25198 but no long options are defined, just return 'W'.
25199
25200 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25201
25202 [BZ #9696]
25203 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25204
25205 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25206
25207 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25208 netgroups to read.
25209 (innetgr): Likewise.
25210
25211 2011-07-05 Roland McGrath <roland@hack.frob.com>
25212
25213 * config.make.in (install_root): Default to $(DESTDIR).
25214
25215 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25216
25217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25218
25219 2011-07-02 Roland McGrath <roland@hack.frob.com>
25220
25221 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25222
25223 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25224 containing directory rather than embedding absolute directory names.
25225
25226 * scripts/check-local-headers.sh: Rewritten using awk.
25227 Match by word, not by line. Print error messages for matches.
25228 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25229
25230 * Makerules [shlib-lds-flags empty]:
25231 ($(common-objpfx)libc_pic.opts): New target.
25232 ($(common-objpfx)libc_pic.os.clean): New target.
25233 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25234
25235 * config.make.in (OBJCOPY): New variable.
25236 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25237 * configure: Regenerated.
25238
25239 * config.make.in (use-default-link): New variable.
25240 * configure.in (use_default_link): Grok --with-default-link to set it.
25241 * configure: Regenerated.
25242 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25243 (shlib-lds, shlib-lds-flags): Define to empty.
25244
25245 * Makerules (shlib-lds): New variable.
25246 (shlib-lds-flags): New variable.
25247 (build-shlib, build-moduile, build-module-asneeded): Use it.
25248 ($(common-objpfx)libc.so): Use $(shlib-lds).
25249 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25250 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25251
25252 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25253 DT_FLAGS/DT_FLAGS_1 with zero flags.
25254
25255 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25256 linker script munging.
25257
25258 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25259
25260 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25261 as 128-bit value.
25262 * crypt/sha512.c (sha512_process_block): Perform total addition using
25263 128-bit if possible.
25264 (__sha512_finish_ctx): Likewise.
25265 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25266 as 64-bit value.
25267 * crypt/sha256.c (SWAP64): Define.
25268 (sha256_process_block): Perform total addition using 64-bit if
25269 possible.
25270 (__sha256_finish_ctx): Likewise.
25271
25272 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25273
25274 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25276 * nscd/hstcache.c (cache_addhst): Likewise.
25277 * nscd/grpcache.c (cache_addgr): Likewise.
25278 * nscd/aicache.c (addhstaiX): Likewise
25279 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25280
25281 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25282
25283 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25285 * nscd/hstcache.c (cache_addhst): Likewise.
25286 * nscd/grpcache.c (cache_addgr): Likewise.
25287 * nscd/aicache.c (addhstaiX): Likewise
25288
25289 2011-07-01 Andreas Schwab <schwab@redhat.com>
25290
25291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25292 domain only when needed.
25293
25294 2011-06-30 Andreas Schwab <schwab@redhat.com>
25295
25296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25297 is always restored.
25298
25299 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25300
25301 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25302 are re-adding the entry.
25303 * nscd/servicescache.c (cache_addserv): Likewise.
25304
25305 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25306
25307 * sysdeps/generic/dl-irel.h: fix protection against multiple
25308 inclusions.
25309 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25310
25311 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25312
25313 [BZ #12935]
25314 * malloc/memusage.sh: Fix quoting in message.
25315 * debug/xtrace.sh: Likewise.
25316
25317 * configure.in: Remove support for --experimental-malloc option, make
25318 it the default.
25319 * config.make.in: Likewise.
25320 * malloc/Makefile: Likewise.
25321
25322 2011-06-27 Andreas Schwab <schwab@redhat.com>
25323
25324 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25325 two-byte characters.
25326
25327 2011-06-27 Roland McGrath <roland@hack.frob.com>
25328
25329 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25330 AC_CACHE_CHECK invocation.
25331 * configure: Regenerated.
25332
25333 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25334
25335 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25336
25337 [BZ #12350]
25338 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25339 bit from old_res_options.
25340
25341 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25342
25343 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25344 value type for setfct.
25345
25346 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25349 __gettimeofday instead of gettimeofday.
25350
25351 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25352
25353 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25354
25355 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25356
25357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25358
25359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25360 info.
25361
25362 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25365 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25366 strcpy-sse2-unaligned strncpy-sse2-unaligned
25367 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25368 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25369 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25370 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25371 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25374 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25375 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25376 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25377 (STRCPY): Support SSE2 and SSSE3 versions.
25378
25379 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25380
25381 [BZ #12874]
25382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25383 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25384 kernels which artificially limit size of requests.
25385
25386 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25387
25388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25389 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25390 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25391 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25392 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25393 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25394 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25395 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25398 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25399 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25400 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25401 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25402 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25404 Enable unaligned load optimization for Intel Core i3, i5 and i7
25405 processors.
25406 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25407 Define.
25408 (index_Fast_Unaligned_Load): Define.
25409 (HAS_FAST_UNALIGNED_LOAD): Define.
25410
25411 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25412
25413 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25414
25415 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25416
25417 [BZ #12907]
25418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25419 until it is clear that the information is realy needed.
25420 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25421
25422 2011-06-22 Andreas Schwab <schwab@redhat.com>
25423
25424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25425
25426 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25427
25428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25429 /sys/devices/system/cpu/online if it is usable.
25430
25431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25432 reading the information from the /proc filesystem to once a second.
25433
25434 2011-06-21 Andreas Jaeger <aj@suse.de>
25435
25436 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25437 NULL after inclusion of kernel headers.
25438
25439 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25440
25441 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25442 calls to internal_setent.
25443
25444 [BZ #12885]
25445 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25446 addresses using gethostbyname4_r ignore IPv4 addresses.
25447
25448 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25449 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25450
25451 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25452
25453 2011-06-20 David S. Miller <davem@davemloft.net>
25454
25455 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25456 inclusions.
25457 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25458
25459 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25460 (elf_irel): Use it.
25461 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25462 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25463 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25464 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25465 * sysdeps/x86_64/dl-irel.h: Likewise.
25466
25467 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25468 * elf/dl-sym.c: Likewise.
25469
25470 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25471
25472 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25473 need to dereference resplen2.
25474
25475 2011-06-14 Andreas Schwab <schwab@redhat.com>
25476
25477 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25478
25479 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25480
25481 * Makeconfig: Define vardbdir and inst_vardbdir.
25482 * nss/Makefile: Add rules to install db-Makefile.
25483
25484 * nss/nss_db/db-XXX.c: Cleanup.
25485
25486 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25487 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25488 GLIBC_PRIVATE.
25489 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25490 * nss/makedb.c: Implement -g option to specify that value strings
25491 are generated and should not be added to table iterated over for
25492 get*ent calls.
25493 * nss/nss_db/db-initgroups.c: New file.
25494
25495 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25496 interface.
25497
25498 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25499 (internal_getgrouplist): Adjust to name change.
25500 Update use_initgroups_entry if this is not the first call.
25501 * nss/databases.def: Add initgroups entry.
25502
25503 * nss/makedb.c (compute_tables): Check result of multiple hash table
25504 sizes to minimize maximum chain length.
25505
25506 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25507
25508 * Versions.def: Add entry for libnss_db.
25509 * shlib-versions: Likewise.
25510 * nss/Makefile: Add rules to build libnss_db.
25511 * nss/Versions: Add libnss_db information. Organize libnss_files
25512 entries better.
25513 * nss/db-Makefile: Add gshadow support. Change rules for the new
25514 makedb progra. Some minor improvements to generate smaller files.
25515 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25516 here from...
25517 * nss/makedb.c: ...here.
25518 Improve database format to be smaller and require less memory at
25519 runtime.
25520 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25521 db anymore.
25522 * nss/nss_db/db-netgrp.c: Likewise.
25523 * nss/nss_db/db-open.c: Likewise.
25524 * nss/nss_files/flies-XXX.x: Adjust comments.
25525 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25526 * nss/nss_files/files-grp.c: Likewise.
25527 * nss/nss_files/files-hosts.c: Likewise.
25528 * nss/nss_files/files-network.c: Likewise.
25529 * nss/nss_files/files-proto.c: Likewise.
25530 * nss/nss_files/files-pwd.c: Likewise.
25531 * nss/nss_files/files-rpc.c: Likewise.
25532 * nss/nss_files/files-service.c: Likewise.
25533 * nss/nss_files/files-sgrp.c: Likewise.
25534 * nss/nss_files/files-spwd.c: Likewise.
25535 * nss/nss_db/db-alias.c: Removed.
25536 * nss/nss_db/dummy-db.h: Removed.
25537
25538 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25539
25540 * nss/makedb.c: Rewritten to not use database library.
25541 * nss/Makefile: Update to build new makedb program.
25542
25543 2011-06-14 Andreas Jaeger <aj@suse.de>
25544
25545 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25546 memset declaration.
25547
25548 2011-06-10 Andreas Schwab <schwab@redhat.com>
25549
25550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25551 tmpbuf.
25552
25553 2011-06-10 Roland McGrath <roland@hack.frob.com>
25554
25555 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25556 * elf/Makefile ($(objpfx)ld.so): Likewise.
25557
25558 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25559 Don't list ld.so twice in dependencies.
25560
25561 * posix/bug-regex31.c: Include <stdlib.h>.
25562
25563 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25564
25565 * nis/nss_compat/compat-spwd.c
25566 (getspent_next_nss_netgr): Remove unused variable.
25567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25568
25569 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25570 nonmembers" output to use the right array.
25571
25572 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25573
25574 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25575
25576 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25577 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25578 * catgets/gencat.c (read_input_file): Likewise.
25579 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25580
25581 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25582 variable definition inside #if's controlling its use.
25583
25584 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25585
25586 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25587
25588 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25589
25590 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25591 unreachable code.
25592
25593 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25594
25595 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25596 * configure: Regenerated.
25597
25598 * Makerules: Revert last change.
25599 * elf/Makefile: Likewise.
25600
25601 2011-06-09 Roland McGrath <roland@hack.frob.com>
25602
25603 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25604 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25605 (reloc-link): Likewise.
25606
25607 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25608
25609 * elf/Makefile: Add rules to build pldd.
25610 * elf/pldd.c: New file.
25611 * elf/pldd-xx.c: New file.
25612
25613 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25614
25615 * version.h: Update for 2.15 development version.
25616
25617 2011-06-07 David S. Miller <davem@davemloft.net>
25618
25619 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25620 ifuncs.
25621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25622 elf_machine_lazy_rel): Likewise.
25623 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25625 elf_machine_lazy_rel): Likewise.
25626 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25627 dl_hwcap via passed in argument.
25628 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25629 Likewise.
25630
25631 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25632
25633 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25634
25635 2011-06-06 Roland McGrath <roland@hack.frob.com>
25636
25637 [BZ #12849]
25638 * manual/fdl-1.1.texi: New file, verbatim from:
25639 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25640 * manual/lgpl-2.1.texi: New file, verbatim from:
25641 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25642 * manual/Makefile (licenses): New variable, list those new file names.
25643 (texis): Use it.
25644 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25645
25646 * manual/fdl.texi: File removed.
25647 * manual/lesser.texi: File removed.
25648 * manual/libc.texinfo (Copying, Documentation License):
25649 Use new @include file names, put @appendix directive before @include.
25650
25651 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25652
25653 [BZ #12841]
25654 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25655 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25656 (mq_open): Add __NTH.
25657
25658 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25661 Assume Intel Core i3/i5/i7 processor if AVX is available.
25662
25663 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25664
25665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25666 typo.
25667
25668 2011-05-31 Andreas Schwab <schwab@redhat.com>
25669
25670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25671 memory. Use alloca_account. Fix memory leak when retrying.
25672
25673 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25674
25675 * version.h (RELEASE): Bump for 2.14 release.
25676 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25677
25678 * config.make.in (RANLIB): Remove entry.
25679
25680 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25681
25682 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25683 (libc.pot): Work around missing support for .ksh extension in xgettext.
25684
25685 [BZ #12684]
25686 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25687 if both request failed.
25688 (send_dg): In case of server errors clear resplen or *resplen2.
25689
25690 [BZ #12454]
25691 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25692 when there are multiple maps.
25693 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25694 (_dl_fini): Remove test here.
25695
25696 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25697
25698 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25699
25700 [BZ #12350]
25701 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25702 bit from old_res_options.
25703 (gaih_inet): Likewise.
25704
25705 [BZ #11099]
25706 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25707 as signed.
25708
25709 * resolv/res_init.c (res_setoptions): Make the code more compact.
25710
25711 [BZ #11558]
25712 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25713 set RES_USEVC.
25714
25715 [BZ #11634]
25716 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25717
25718 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25719
25720 [BZ #11781]
25721 * malloc/malloc.h: Declare malloc hook variables as volatile.
25722
25723 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25724 in last patch.
25725
25726 [BZ #11799]
25727 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25728 raise in the comment.
25729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25731 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25732
25733 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25734
25735 [BZ #12811]
25736 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25737 grow the buffers more if it already has to be sufficient.
25738 (build_wcs_upper_buffer): Likewise.
25739 * posix/regexec.c (check_matching): Likewise.
25740 (clean_state_log_if_needed): Likewise.
25741 (extend_buffers): Don't enlarge buffers beyond size of the input
25742 buffer.
25743 Patches mostly by Emil Wojak <emil@wojak.eu>.
25744 * posix/bug-regex32.c: New file.
25745 * posix/Makefile (tests): Add bug-regex32.
25746
25747 * locale/findlocale.c (_nl_find_locale): Return right away if
25748 _nl_explode_name failed.
25749 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25750
25751 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25752
25753 * debug/xtrace.sh: Unify messages.
25754 * malloc/memusage.sh: Likewise.
25755
25756 [BZ #12813]
25757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25758 time symbol from vDSO. Substitute with vsyscall if not available.
25759 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25760 __vdso_time.
25761
25762 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25763 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25764 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25765 Add sendmmsg and internal_sendmmsg.
25766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25767 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25768 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25769
25770 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25771 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25773
25774 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25775
25776 [BZ #12813]
25777 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25778 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25779 available.
25780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25781 __vdso_getcpu.
25782
25783 [BZ #12814]
25784 * iconvdata/Makefile (tests): Add bug-iconv9.
25785 * iconvdata/bug-iconv9.c: New file.
25786
25787 2011-05-27 Andreas Schwab <schwab@redhat.com>
25788
25789 [BZ #12814]
25790 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25791
25792 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25793
25794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25795 (struct user_regs_struct): Change intcs field back to cs.
25796
25797 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25798
25799 * po/ja.po: Update from translation team.
25800
25801 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25802
25803 [BZ #12795]
25804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25805 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25806
25807 2011-05-20 Andreas Schwab <schwab@redhat.com>
25808
25809 * stdlib/longlong.h: Update from GCC.
25810
25811 2011-05-23 Andreas Schwab <schwab@redhat.com>
25812
25813 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25814 parameter name.
25815 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25816 Add parameter name.
25817 (__sysconf): Pass it down.
25818
25819 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25820
25821 [BZ #12671]
25822 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25823 some situations.
25824 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25825 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25826 add in in __libc_use_alloca calls. Adjust callers.
25827 (glob): Use malloc in some situations.
25828
25829 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25830 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25831 pltexit.
25832
25833 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25834
25835 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25836 and CLOCK_BOOTTIME_ALARM.
25837
25838 [BZ #12782]
25839 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25840 is returned.
25841
25842 * string/_strerror.c (__strerror_r): Print negative errors as signed
25843 numbers.
25844
25845 [BZ #12777]
25846 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25847 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25848 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25849
25850 * configure.in: Fix typo in redirection and correct removal of test
25851 files in two cases.
25852
25853 [BZ #12788]
25854 * locale/setlocale.c (new_composite_name): Fix test to check for
25855 identical name of all categories.
25856
25857 [BZ #12792]
25858 * libio/filedoalloc.c (local_isatty): New function.
25859 (_IO_file_doallocate): Use local_isatty.
25860 * stdio-common/perror.c (perror): In case a new stream is used
25861 forward the stream error.
25862 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25863 error flag.
25864
25865 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25866
25867 [BZ #11869]
25868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25869 alloca.
25870 * include/alloca.h (extend_alloca_account): Define.
25871
25872 [BZ #11857]
25873 * posix/regex.h: Fix comments with documentation of user-accessible
25874 fields after compilation and describe correct free'ing of pattern
25875 after re_compile_pattern.
25876 Patch by Reuben Thomas <rrt@sc3d.org>.
25877
25878 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25879
25880 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25881 and -mno-altivec to prevent the compiler from using Altivec and/or
25882 VSX instructions when the corresponding registers are not available.
25883
25884 2011-05-19 Andreas Schwab <schwab@redhat.com>
25885
25886 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25887
25888 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25889
25890 * libio/freopen.c (freopen): Use __dup2, not dup2.
25891 * libio/freopen64.c (freopen64): Likewise.
25892
25893 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25894
25895 [BZ #12775]
25896 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25897 * math/Makefile (tests): Add test-powl.
25898 (CFLAGS-test-powl.c): Define.
25899 * math/test-powl.c: New file.
25900
25901 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25904
25905 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25906
25907 [BZ #11837]
25908 * iconvdata/gb18030.c: Update to GB18020-2005.
25909
25910 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25911
25912 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25913 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25914 Patch by Aharon Robbins <arnold@skeeve.com>.
25915
25916 [BZ #11892]
25917 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25918 on the stack.
25919
25920 [BZ #11895]
25921 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25922 through underflows.
25923
25924 [BZ #12766]
25925 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25926 point to strings before performing equality test for error_one_per_line
25927 mode.
25928
25929 [BZ #11697]
25930 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25931
25932 [BZ #11820]
25933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25934 (struct user_fpregs_struct): Avoid __uint*_t types.
25935
25936 [BZ #6420]
25937 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25938 symbol info. Use it instead of calling _dl_addr locally.
25939 (lock_and_info): New function.
25940 (tr_freehook): Call lock_and_info and pass symbol info as additional
25941 parameter to tr_where.
25942 (tr_mallochook): Likewise.
25943 (tr_reallochook): Likewise.
25944 (tr_memalignhook): Likewise.
25945
25946 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25947 used and couldn't be at all thread-safe.
25948
25949 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25950
25951 * libio/freopen.c (freopen): Don't close old file descriptor
25952 before the new one is opened. Instead dup the new file descriptor
25953 to the old one after the new stream is created.
25954 * libio/freopen64.c (freopen64): Likewise.
25955 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25956 * libio/fileops.c (_IO_new_file_close_it): Handle new
25957 _IO_FLAGS2_NOCLOSE flag.
25958 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25959 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25960 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25961 _IO_FLAGS2_NOCLOSE flag.
25962 * include/unistd.h: Add hidden_proto for dup3.
25963 Define __have_dup3.
25964 * io/dup3.c: Define hidden symbol.
25965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25966
25967 [BZ #7101]
25968 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25969 when an incomplete long option is used.
25970 * posix/tst-getopt_long1.c: New file.
25971 * posix/Makefile (tests): Add tst-getopt_long1.
25972
25973 [BZ #10138]
25974 * scripts/config.guess: Update from autoconf-2.68.
25975 * scripts/config.sub: Likewise.
25976
25977 [BZ #10157]
25978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25979 tests into ...
25980 (has_cpuclock): ...this. New function.
25981 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25982 macro here based on has_cpuclock code.
25983
25984 [BZ #10149]
25985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25986 First byte (not low byte) is now always NUL.
25987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25988
25989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25990 Use non-cancelable interfaces.
25991
25992 [BZ #9809]
25993 * locale/iso-639.def: Add entry for Sorani.
25994
25995 [BZ #11901]
25996 * include/stdlib.h: Move include protection to the right place.
25997 Define abort_msg_s. Declare __abort_msg with it.
25998 * stdlib/abort.c (__abort_msg): Adjust type.
25999 * assert/assert.c (__assert_fail_base): New function. Majority
26000 of code from __assert_fail. Allocate memory for __abort_msg with
26001 mmap.
26002 (__assert_fail): Now call __assert_fail_base.
26003 * assert/assert-perr.c: Remove bulk of implementation. Use
26004 __assert_fail_base.
26005 * include/assert.hL Declare __assert_fail_base.
26006 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26007 mmap.
26008 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26009
26010 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26011
26012 [BZ #11952]
26013 [BZ #12453]
26014 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26015 until all modules are registered in the DTV.
26016 * elf/Makefile: Add rules to build and run tst-tls19.
26017 * elf/tst-tls19.c: New file.
26018 * elf/tst-tls19mod1.c: New file.
26019 * elf/tst-tls19mod2.c: New file.
26020 * elf/tst-tls19mod3.c: New file.
26021 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26022
26023 [BZ #12083]
26024 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26025 correctly.
26026
26027 [BZ #12601]
26028 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26029 two-byte sequence errors.
26030 * iconvdata/Makefile (tests): Add bug-iconv8.
26031 * iconvdata/bug-iconv8.c: New file.
26032
26033 [BZ #12626]
26034 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26035 buf2 definition.
26036
26037 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26038
26039 [BZ #12432]
26040 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26041 (dummy_getcfa): New function.
26042 (init): Get _Unwind_GetCFA address, use dummy if not found.
26043 (backtrace_helper): In recursion check, also check whether CFA changes.
26044 (__backtrace): Completely initialize arg.
26045
26046 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26047 storing incomplete byte sequence in state object. Avoid testing for
26048 guaranteed too small input if we know there is enough data available.
26049
26050 2011-05-11 Andreas Schwab <schwab@redhat.com>
26051
26052 * Makeconfig (+link-pie): Indent.
26053 * Rules (binaries-pie): Define if $(have-fpie) and
26054 $(build-shared).
26055 (binaries-shared): Also filter out $(binaries-pie).
26056 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26057 * nscd/Makefile (others-pie): Add nscd.
26058 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26059 ($(objpfx)nscd): Remove command override.
26060 * login/Makefile (others-pie): Add pt_chown.
26061 ($(objpfx)pt_chown): Remove command override.
26062 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26063 remove command overrides.
26064
26065 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26066
26067 * libio/tst_putwc.c: Fix error messages.
26068
26069 [BZ #12724]
26070 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26071 currently writing and seek to current position when not.
26072 * libio/Makefile (tests): Add bug-fclose1.
26073 * libio/bug-fclose1.c: New file.
26074
26075 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26076
26077 [BZ #12511]
26078 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26079 don't set DF_1_NODELETE here.
26080 (do_lookup_x): When entering new entry test for copy relocation
26081 and if necessary set DF_1_NODELETE flag.
26082 * elf/tst-unique4.cc: New file.
26083 * elf/tst-unique4.h: New file.
26084 * elf/tst-unique4lib.cc: New file.
26085 * elf/Makefile: Add rules to build and run tst-unique4.
26086 Patch by Piotr Bury <pbury@goahead.com>.
26087
26088 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26089
26090 [BZ #12052]
26091 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26092
26093 [BZ #12625]
26094 * misc/mntent_r.c (addmntent): Flush the stream after the output
26095
26096 [BZ #12393]
26097 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26098 (is_trusted_path_normalize): Skip initial colon. Append slash
26099 to empty buffer. Duplicate is_trusted_path code but allow
26100 constructed patch to be prefix.
26101 (is_dst): Allow $ORIGIN followed by /.
26102 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26103 Correct testing of result of is_trusted_path_normalize
26104 (decompose_rpath): Fix warning.
26105
26106 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26107
26108 [BZ #11257]
26109 * grp/initgroups.c (internal_getgrouplist): When we found the service
26110 list through the initgroups entry in nsswitch.conf do not always
26111 continue on a successful lookup. Don't always use the
26112 __nss_group_database value if it is set.
26113 * nss/nsswitch.conf (initgroups): Change action for successful db
26114 lookup to continue for compatibility.
26115
26116 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26117
26118 [BZ #11532]
26119 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26120 and CP774 modules.
26121 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26122 and CP774 modules.
26123 * iconvdata/tst-tables.sh: Likewise.
26124 * iconvdata/cp770.c: New file.
26125 * iconvdata/cp771.c: New file.
26126 * iconvdata/cp772.c: New file.
26127 * iconvdata/cp773.c: New file.
26128 * iconvdata/cp774.c: New file.
26129 * iconvdata/testdata/CP770: New file.
26130 * iconvdata/testdata/CP770..UTF8: New file.
26131 * iconvdata/testdata/CP771: New file.
26132 * iconvdata/testdata/CP771..UTF8: New file.
26133 * iconvdata/testdata/CP772: New file.
26134 * iconvdata/testdata/CP772..UTF8: New file.
26135 * iconvdata/testdata/CP773: New file.
26136 * iconvdata/testdata/CP773..UTF8: New file.
26137 * iconvdata/testdata/CP774: New file.
26138 * iconvdata/testdata/CP774..UTF8: New file.
26139
26140 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26141 END CHARMAP line.
26142 * iconvdata/gen-8bit-gap.sh: Likewise.
26143 * iconvdata/gen-8bit.sh: Likewise.
26144
26145 * locale/iso-639.def: Add ary entry.
26146
26147 [BZ #11258]
26148 * locale/C-translit.h.in: Add U20A1 transliteration.
26149
26150 [BZ #12178]
26151 * locale/iso-639.def: Add wae entry.
26152 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26153
26154 [BZ #12545]
26155 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26156 for n.
26157
26158 [BZ #12711]
26159 * locale/C-translit.h.in: Add entry for U20B9.
26160 Patch by pravin.d.s@gmail.com.
26161
26162 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26163
26164 [BZ #12713]
26165 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26166 ENAMETOOLONG use generic getcwd.
26167 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26168 in rtld. Use *stat64.
26169 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26170 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26171 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26172 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26173 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26174 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26175 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26176 __fstatat64 macros.
26177 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26178 * dirent/rewinddir.c: Add libc_hidden_def.
26179 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26180 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26181
26182 * include/dirent.h (__alloc_dir): Add flags parameter.
26183 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26184 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26185 __alloc_dir.
26186 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26187 from fdopendir if O_CLOEXEC is already set.
26188
26189 2011-03-15 Alan Modra <amodra@gmail.com>
26190
26191 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26192 l_tls_firstbyte_offset non-zero. Save padding offset in
26193 l_tls_firstbyte_offset for later use.
26194 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26195 freeing static tls block.
26196
26197 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26198
26199 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26200 where #ifdef was intended. The intent is to prevent ARG_MAX from
26201 being defined by the kernel headers.
26202
26203 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26204
26205 [BZ #12734]
26206 * resolv/resolv.h: Define RES_NOTLDQUERY.
26207 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26208 no-tld-query and set RES_NOTLDQUERY.
26209 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26210 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26211 modern BIND to search name as TLD unless forbidden.
26212
26213 2011-05-07 Petr Baudis <pasky@suse.cz>
26214 Ulrich Drepper <drepper@gmail.com>
26215
26216 [BZ #12393]
26217 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26218 (is_trusted_path): ...to here.
26219 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26220 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26221 using is_trusted_path_normalize() in setuid scripts.
26222
26223 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26224
26225 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26226 __BEGIN/__END_DECLS.
26227
26228 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26229
26230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26231 NSS_STATUS_NOTFOUND if no record was found.
26232
26233 2011-05-05 Andreas Schwab <schwab@redhat.com>
26234
26235 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26236 (headers-not-in-tirpc): Remove rpc/netdb.h
26237 * resolv/netdb.h: Revert last change.
26238
26239 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26240
26241 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26242 circular dependency between libgcc.a and libc.a.
26243
26244 2011-05-05 Andreas Schwab <schwab@redhat.com>
26245
26246 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26247 * nis/Makefile: Don't install rpcsvc/*.
26248 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26249 instead of <rpc/types.h>.
26250 (MAXHOSTNAMELEN): Define.
26251
26252 2011-05-03 Andreas Schwab <schwab@redhat.com>
26253
26254 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26255
26256 2011-04-28 Maciej Babinski <mbabinski@google.com>
26257
26258 [BZ #12714]
26259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26260 gethostbyname4_r when IPv6 results are possible.
26261
26262 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26263
26264 [BZ #12723]
26265 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26266 _PC_PIPE_BUF handling.
26267
26268 2011-04-30 Bruno Haible <bruno@clisp.org>
26269
26270 [BZ #12717]
26271 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26272 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26273 to 'int'.
26274 * inet/getnameinfo.c (getnameinfo): Likewise.
26275
26276 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26277
26278 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26279 to groups setting in database lookup.
26280 * nss/nsswitch.conf: Add initgroups entry.
26281
26282 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26283
26284 [BZ #12685]
26285 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26286 mode string.
26287 Patch by Eric Blake <eblake@redhat.com>.
26288
26289 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26290
26291 * sunrpc/Makefile (need-export-routines): Add svc_run.
26292 (routines): Remove svc_run.
26293 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26294 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26295 * sunrpc/svc_run.c (svc_run): Likewise.
26296 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26297
26298 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26299
26300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26301 problem in reallocation in last patch.
26302
26303 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26304
26305 * sunrpc/Makefile: Move inclusion of Rules.
26306
26307 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26308
26309 * nss/nss_files/files-initgroups.c: New file.
26310 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26311 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26312 _nss_files_initgroups_dyn.
26313
26314 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26315
26316 * elf/elf.h (R_ARM_IRELATIVE): Define.
26317
26318 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26319
26320 * po/ru.po: Update from translation team.
26321
26322 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26323
26324 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26325 dependencies.
26326
26327 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26328
26329 [BZ #12653]
26330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26331 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26334 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26335
26336 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26337
26338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26339 differing bytes.
26340 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26341 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26342 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26343
26344 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26345
26346 [BZ #12420]
26347 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26348 storing it.
26349 * stdlib/bug-getcontext.c: New file.
26350 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26351
26352 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26353
26354 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26355 instructions into .machine "z9-109".
26356 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26357 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26358
26359 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26360
26361 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26362 between environment variables and auxiliary vector.
26363
26364 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26365
26366 * Makefile: Add rules to build linkobj/libc.so.
26367 * include/libc-symbols.h: Define libc_hidden_nolink.
26368 * include/rpc/auth.h: Mark functions which are to be hidden.
26369 * include/rpc/auth_des.h: Likewise.
26370 * include/rpc/auth_unix.h: Likewise.
26371 * include/rpc/clnt.h: Likewise.
26372 * include/rpc/des_crypt.h: Likewise.
26373 * include/rpc/key_prot.h: Likewise.
26374 * include/rpc/pmap_clnt.h: Likewise.
26375 * include/rpc/pmap_prot.h: Likewise.
26376 * include/rpc/pmap_rmt.h: Likewise.
26377 * include/rpc/rpc_msg.h: Likewise.
26378 * include/rpc/svc.h: Likewise.
26379 * include/rpc/svc_auth.h: Likewise.
26380 * include/rpc/xdr.h: Likewise.
26381 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26382 * nss/Makefile: Likewise.
26383 * sunrpc/Makefile: Don't install headers. Build library with normal
26384 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26385 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26386 for the compat linking library. Remove use of INTDEF/INTUSE.
26387 * sunrpc/auth_none.c: Likewise.
26388 * sunrpc/auth_unix.c: Likewise.
26389 * sunrpc/authdes_prot.c: Likewise.
26390 * sunrpc/authuxprot.c: Likewise.
26391 * sunrpc/clnt_gen.c: Likewise.
26392 * sunrpc/clnt_perr.c: Likewise.
26393 * sunrpc/clnt_raw.c: Likewise.
26394 * sunrpc/clnt_simp.c: Likewise.
26395 * sunrpc/clnt_tcp.c: Likewise.
26396 * sunrpc/clnt_udp.c: Likewise.
26397 * sunrpc/clnt_unix.c: Likewise.
26398 * sunrpc/des_crypt.c: Likewise.
26399 * sunrpc/des_soft.c: Likewise.
26400 * sunrpc/get_myaddr.c: Likewise.
26401 * sunrpc/key_call.c: Likewise.
26402 * sunrpc/key_prot.c: Likewise.
26403 * sunrpc/netname.c: Likewise.
26404 * sunrpc/pm_getmaps.c: Likewise.
26405 * sunrpc/pm_getport.c: Likewise.
26406 * sunrpc/pmap_clnt.c: Likewise.
26407 * sunrpc/pmap_prot.c: Likewise.
26408 * sunrpc/pmap_prot2.c: Likewise.
26409 * sunrpc/pmap_rmt.c: Likewise.
26410 * sunrpc/publickey.c: Likewise.
26411 * sunrpc/rpc_cmsg.c: Likewise.
26412 * sunrpc/rpc_common.c: Likewise.
26413 * sunrpc/rpc_dtable.c: Likewise.
26414 * sunrpc/rpc_prot.c: Likewise.
26415 * sunrpc/rpc_thread.c: Likewise.
26416 * sunrpc/rtime.c: Likewise.
26417 * sunrpc/svc.c: Likewise.
26418 * sunrpc/svc_auth.c: Likewise.
26419 * sunrpc/svc_authux.c: Likewise.
26420 * sunrpc/svc_raw.c: Likewise.
26421 * sunrpc/svc_run.c: Likewise.
26422 * sunrpc/svc_simple.c: Likewise.
26423 * sunrpc/svc_tcp.c: Likewise.
26424 * sunrpc/svc_udp.c: Likewise.
26425 * sunrpc/svc_unix.c: Likewise.
26426 * sunrpc/svcauth_des.c: Likewise.
26427 * sunrpc/xcrypt.c: Likewise.
26428 * sunrpc/xdr.c: Likewise.
26429 * sunrpc/xdr_array.c: Likewise.
26430 * sunrpc/xdr_float.c: Likewise.
26431 * sunrpc/xdr_intXX_t.c: Likewise.
26432 * sunrpc/xdr_mem.c: Likewise.
26433 * sunrpc/xdr_rec.c: Likewise.
26434 * sunrpc/xdr_ref.c: Likewise.
26435 * sunrpc/xdr_sizeof.c: Likewise.
26436 * sunrpc/xdr_stdio.c: Likewise.
26437
26438 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26439
26440 [BZ #12650]
26441 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26442 * sysdeps/ia64/dl-tls.h: Likewise.
26443 * sysdeps/powerpc/dl-tls.h: Likewise.
26444 * sysdeps/s390/dl-tls.h: Likewise.
26445 * sysdeps/sh/dl-tls.h: Likewise.
26446 * sysdeps/sparc/dl-tls.h: Likewise.
26447 * sysdeps/x86_64/dl-tls.h: Likewise.
26448 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26449
26450 2011-03-14 Andreas Schwab <schwab@redhat.com>
26451
26452 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26453 rpath element also skip the following colon.
26454 (expand_dynamic_string_token): Add is_path parameter and pass
26455 down to DL_DST_REQUIRED and _dl_dst_substitute.
26456 (decompose_rpath): Call expand_dynamic_string_token with
26457 non-zero is_path. Ignore empty rpaths.
26458 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26459 with zero is_path.
26460
26461 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26462
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26464 Make cancelable.
26465
26466 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26467
26468 [BZ #12655]
26469 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26470 Patch by Filipe David Manana <fdmanana@apache.org>.
26471
26472 2011-04-07 Andreas Schwab <schwab@redhat.com>
26473
26474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26475 Maintain aligned stack.
26476 (CHECK_RSP): Remove unused macro.
26477
26478 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26479
26480 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26481 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26482
26483 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26484
26485 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26486
26487 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26488
26489 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26490
26491 [BZ #12518]
26492 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26493 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26494 * sysdeps/x86_64/memmove.c: New file.
26495 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26496 (memcpy): Renamed to ...
26497 (__new_memcpy): This.
26498 (memcpy): Provide GLIBC_2_14 memcpy.
26499 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26500 (memcpy): Provide GLIBC_2_2_5 memcpy.
26501
26502 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26503
26504 [BZ #12631]
26505 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26506
26507 2011-03-30 Andreas Schwab <schwab@redhat.com>
26508
26509 * misc/syncfs.c: New file.
26510 * misc/Makefile (routines): Add syncfs.
26511 * posix/unistd.h: Declare syncfs.
26512 * sysdeps/unix/syscalls.list: Add syncfs.
26513
26514 2011-04-01 Andreas Schwab <schwab@redhat.com>
26515
26516 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26517 open_by_handle_at.
26518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26523 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26525
26526 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26527
26528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26535
26536 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26537 sync_file_range.c with -fexceptions.
26538 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26539 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26540 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26541 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26542 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26543 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26545 sync_file_range as cancellation point
26546 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26547 now a wrapper around __call_sync_file_range with cancellation handling.
26548 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26549 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26550 function name to __call_sync_file_range.
26551 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26552 Add call_sync_file_range.
26553
26554 2011-04-01 Andreas Schwab <schwab@redhat.com>
26555
26556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26557 bits/timex.h.
26558
26559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26560
26561 * iconv/iconv.h: Fix typo in comment.
26562 * io/fcntl.h: Likewise.
26563 * libio/stdio.h: Likewise.
26564 * posix/spawn.h: Likewise.
26565 * posix/unistd.h: Likewise.
26566 * stdlib/stdlib.h: Likewise.
26567 * time/time.h: Likewise.
26568 * wcsmbs/wchar.h: Likewise.
26569
26570 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26571 open_by_handle): Add.
26572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26573 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26574 Augment a few comments.
26575 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26580 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26581 open_by_handle.
26582
26583 * io/fcntl.h (AT_EMPTY_PATH): Define.
26584
26585 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26586
26587 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26588 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26589 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26590 to...
26591 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26592 * Versions.def: Add GLIBC_2.14.
26593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26594 Export.
26595
26596 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26597
26598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26599 round counter.
26600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26601
26602 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26603
26604 [BZ #12597]
26605 * string/test-strncmp.c (do_page_test): New function.
26606 (check2): Likewise.
26607 (test_main): Call check2.
26608 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26609
26610 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26611
26612 [BZ #12587]
26613 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26614 Handle cache information in CPU leaf 4.
26615 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26616
26617 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26618
26619 [BZ #12583]
26620 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26621 character representation.
26622 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26623
26624 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26625
26626 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26627 END(__isnan) to END(__isnanf) to match function entry point/label
26628 EALIGN(__isnanf,...).
26629
26630 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26631
26632 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26633
26634 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26635
26636 [BZ #12510]
26637 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26638 copy from the symbol referenced in the relocation to initialize the
26639 used variable.
26640 Patch by Piotr Bury <pbury@goahead.com>.
26641 * elf/Makefile: Add rules to build and tst-unique3.
26642 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26643 * elf/tst-unique3.cc: New file.
26644 * elf/tst-unique3.h: New file.
26645 * elf/tst-unique3lib.cc: New file.
26646 * elf/tst-unique3lib2.cc: New file.
26647
26648 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26649
26650 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26651
26652 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26653 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26654 to _start.
26655
26656 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26657
26658 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26659 to-be-loaded object along a path to loader is ld.so.
26660
26661 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26662 Ulrich Drepper <drepper@gmail.com>
26663
26664 * sysdeps/x86_64/memset.S: After aligning destination, code
26665 branches to different locations depending on the value of
26666 misalignment, when multiarch is enabled. Fix this.
26667
26668 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26669
26670 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26671 Set _x86_64_preferred_memory_instruction for AMD processsors.
26672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26673 Set bit_Prefer_SSE_for_memop for AMD processors.
26674
26675 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26676
26677 * libio/fmemopen.c (fmemopen): Optimize a bit.
26678
26679 2011-03-03 Andreas Schwab <schwab@redhat.com>
26680
26681 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26682
26683 2011-03-03 Roland McGrath <roland@redhat.com>
26684
26685 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26686
26687 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26688
26689 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26690 __bzero_ultra1 instead of __memset_ultra1.
26691
26692 2011-02-23 Andreas Schwab <schwab@redhat.com>
26693 Ulrich Drepper <drepper@gmail.com>
26694
26695 [BZ #12509]
26696 * include/link.h (struct link_map): Add l_orig_initfini.
26697 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26698 returning unsuccessfully.
26699 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26700 close of a file loaded at startup, restore the original l_initfini
26701 list.
26702 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26703 list, store the pointer.
26704 * elf/Makefile ($(objpfx)noload-mem): New rule.
26705 (noload-ENV): Define.
26706 (tests): Add $(objpfx)noload-mem.
26707 * elf/noload.c: Include <memcheck.h>.
26708 (main): Call mtrace. Close all opened handles.
26709
26710 2011-02-17 Andreas Schwab <schwab@redhat.com>
26711
26712 [BZ #12454]
26713 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26714 dependencies are missing.
26715
26716 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26717
26718 Fix __if_freereq crash: Unlike the generic version which uses free,
26719 Hurd needs munmap.
26720 * sysdeps/mach/hurd/ifreq.h: New file.
26721
26722 2011-01-27 Petr Baudis <pasky@suse.cz>
26723 Ulrich Drepper <drepper@gmail.com>
26724
26725 [BZ 12445]#
26726 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26727 to extend_alloca().
26728 * stdio-common/bug23.c: New file.
26729 * stdio-common/Makefile (tests): Add bug23.
26730
26731 2010-09-28 Andreas Schwab <schwab@redhat.com>
26732 Ulrich Drepper <drepper@gmail.com>
26733
26734 [BZ #12489]
26735 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26736 before performing relro protection. At old place add assertion
26737 to make sure nothing changed.
26738
26739 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26740 Glauber de Oliveira Costa <glommer@gmail.com>
26741
26742 * elf/elf.h: Add new ARM TLS relocs.
26743
26744 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26745
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26747 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26748 cast from r3.
26749 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26750 'tests' variable.
26751 * sysdeps/wordsize-64/tst-writev.c: New file.
26752
26753 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26754
26755 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26756 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26757 insns in _dl_start to prevent a TOC reference before relocs are
26758 resolved.
26759
26760 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26761
26762 [BZ #12469]
26763 * Makeconfig: Remove RANLIB definition.
26764 * Makerules: Don't use RANLIB.
26765 * aclocal.m4: Remove ranlib test.
26766 * configure.in: No need to check for ranlib.
26767 * elf/rtld-Rules: Don't use RANLIB.
26768
26769 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26770
26771 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26772 protection macro.
26773 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26774 inclusion protection macro.
26775
26776 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26777 SIGRTMIN and SIGRTMAX and print information in that case only when
26778 SIGRTMIN is defined.
26779
26780 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26781
26782 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26783 arginfo fn returning -1.
26784
26785 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26786 and thousands string is zero terminated.
26787
26788 2011-02-03 Andreas Schwab <schwab@redhat.com>
26789
26790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26791 sysdeps/unix/sysv/linux/bits/socket.h.
26792
26793 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26794
26795 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26796 (__CPU_COUNT): Remove old macros.
26797 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26798 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26799 (__CPU_ALLOC, __CPU_FREE): Add macros.
26800 (__sched_cpualloc, __sched_cpufree): Add declarations.
26801
26802 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26803
26804 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26805 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26806 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26807 (readdhstai): Return value of addhstaiX call.
26808 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26809 (addgrbyX): Return value returned by cache_addgr.
26810 (readdgrbyname): Return value returned by addgrbyX.
26811 (readdgrbygid): Likewise.
26812 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26813 (addpwbyX): Return value returned by cache_addpw.
26814 (readdpwbyname): Return value returned by addhstbyX.
26815 (readdpwbyuid): Likewise.
26816 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26817 (addservbyX): Return value returned by cache_addserv.
26818 (readdservbyname): Return value returned by addservbyX:
26819 (readdservbyport): Likewise.
26820 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26821 (addhstbyX): Return value returned by cache_addhst.
26822 (readdhstbyname): Return value returned by addhstbyX.
26823 (readdhstbyaddr): Likewise.
26824 (readdhstbynamev6): Likewise.
26825 (readdhstbyaddrv6): Likewise.
26826 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26827 (readdinitgroups): Return value returned by addinitgroupsX.
26828 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26829 (prune_cache): Keep track of timeout value of re-added entries.
26830 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26831 * nscd/nscd.h: Adjust prototypes of readd* functions.
26832
26833 2011-02-04 Roland McGrath <roland@redhat.com>
26834
26835 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26836 (nis_stats): Likewise.
26837 * nis/nis_modify.c (nis_modify): Likewise.
26838 * nis/nis_remove.c (nis_remove): Likewise.
26839 * nis/nis_add.c (nis_add): Likewise.
26840
26841 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26842
26843 * posix/fnmatch_loop.c: Add some consts.
26844
26845 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26846
26847 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26848
26849 [BZ #12460]
26850 * config.make.in (config-cflags-novzeroupper): Define.
26851 * configure.in: Substitute libc_cv_cc_novzeroupper.
26852 * elf/Makefile (AVX-CFLAGS): Define.
26853 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26854 (CFLAGS-tst-auditmod4a.c): Likewise.
26855 (CFLAGS-tst-auditmod4b.c): Likewise.
26856 (CFLAGS-tst-auditmod6b.c): Likewise.
26857 (CFLAGS-tst-auditmod6c.c): Likewise.
26858 (CFLAGS-tst-auditmod7b.c): Likewise.
26859 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26860
26861 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26862
26863 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26864 function to the callback.
26865 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26866
26867 2011-02-02 Andreas Schwab <schwab@redhat.com>
26868
26869 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26870 of errno.
26871
26872 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26873
26874 [BZ #11724]
26875 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26876 of constructors.
26877 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26878 of destructors.
26879 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26880
26881 [BZ #11724]
26882 * elf/Makefile: Add rules to build and run new test.
26883 * elf/tst-initorder.c: New file.
26884 * elf/tst-initorder.exp: New file.
26885 * elf/tst-initordera1.c: New file.
26886 * elf/tst-initordera2.c: New file.
26887 * elf/tst-initordera3.c: New file.
26888 * elf/tst-initordera4.c: New file.
26889 * elf/tst-initorderb1.c: New file.
26890 * elf/tst-initorderb2.c: New file.
26891 * elf/tst-order-a1.c: New file.
26892 * elf/tst-order-a2.c: New file.
26893 * elf/tst-order-a3.c: New file.
26894 * elf/tst-order-a4.c: New file.
26895 * elf/tst-order-b1.c: New file.
26896 * elf/tst-order-b2.c: New file.
26897 * elf/tst-order-main.c: New file.
26898 New test case by George Gensure <werkt0@gmail.com>.
26899
26900 2010-10-01 Andreas Schwab <schwab@redhat.com>
26901
26902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26903 decoding ACE if AI_CANONIDN.
26904
26905 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26906
26907 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26908
26909 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26910
26911 * version.h (RELEASE): Bump for 2.13 release.
26912 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26913
26914 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26915
26916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26917 MADV_NOHUGEPAGE.
26918 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26921 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26924
26925 * posix/getconf.c: Update copyright year.
26926 * catgets/gencat.c: Likewise.
26927 * csu/version.c: Likewise.
26928 * debug/catchsegv.sh: Likewise.
26929 * debug/xtrace.sh: Likewise.
26930 * elf/ldconfig.c: Likewise.
26931 * elf/ldd.bash.in: Likewise.
26932 * elf/sprof.c (print_version): Likewise.
26933 * iconv/iconv_prog.c: Likewise.
26934 * iconv/iconvconfig.c: Likewise.
26935 * locale/programs/locale.c: Likewise.
26936 * locale/programs/localedef.c: Likewise.
26937 * malloc/memusage.sh: Likewise.
26938 * malloc/mtrace.pl: Likewise.
26939 * nscd/nscd.c (print_version): Likewise.
26940 * nss/getent.c: Likewise.
26941
26942 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26943 PF_CAIF, and PF_ALG.
26944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26945
26946 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26947
26948 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26949 (modules-names): Use them.
26950 (ifunc-test-modules, ifunc-pie-tests): Define.
26951 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26952 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26953 (test-extras): Likewise.
26954 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26955 $(compile-command.c).
26956 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26957 (all-built-dso): Define.
26958 (check-textrel.out, check-execstack.out): Depend on it.
26959
26960 * configure.in: Don't override --enable-multi-arch.
26961
26962 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26963
26964 [BZ #6812]
26965 * nscd/hstcache.c (tryagain): Define.
26966 (cache_addhst): Return tryagain not notfound for temporary errors.
26967 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26968 failed.
26969
26970 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26971
26972 [BZ #10563]
26973 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26974 to make the syscall.
26975 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26976
26977 [BZ #12378]
26978 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26979 and fall back to matching as normal character if the string ends before
26980 the matching ']' is found. This is what POSIX requires.
26981 * posix/testfnm.c: Adjust test result.
26982 * posix/globtest.sh: Adjust test result. Add new test.
26983 * posix/tst-fnmatch.input: Likewise.
26984 * posix/tst-fnmatch2.c: Add new test.
26985
26986 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26987
26988 * elf/Makefile (check-execstack): Revert last change. Depend on
26989 check-execstack.h.
26990 (check-execstack.h): New target.
26991 (generated): Add check-execstack.h.
26992 * elf/check-execstack.c: Include "check-execstack.h".
26993 (main): Revert last change.
26994 (handle_file): Return zero if GNU_STACK is absent and
26995 DEFAULT_STACK_PERMS doesn't include PF_X.
26996
26997 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26998
26999 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27000 in child fails because the descriptor is already closed.
27001 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27002 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27004
27005 [BZ #12397]
27006 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27007 syscall.
27008
27009 [BZ #10484]
27010 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27011 temporary buffer used to handle multi lookups locally.
27012 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27013
27014 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27015
27016 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27017 loader is ld.so.
27018
27019 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27020
27021 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27022 alignment for SSE2.
27023
27024 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27025
27026 [BZ #12394]
27027 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27028 characters. When rounding increased number of integer digits recompute
27029 number of groups.
27030 * stdio-common/tst-grouping.c: New file.
27031 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27032
27033 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27034
27035 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27036 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27037
27038 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27039 void.
27040 * bits/select.h: Likewise.
27041
27042 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27043
27044 * po/ja.po: Update from translation team.
27045
27046 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27047
27048 [BZ #11155]
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27050 implementation just like for lxstat, fxstatat, et al.
27051
27052 2010-12-27 Jim Meyering <meyering@redhat.com>
27053
27054 [BZ #12348]
27055 * posix/regexec.c (build_trtable): Return failure indication upon
27056 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27057
27058 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27059
27060 [BZ #12201]
27061 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27062 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27063 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27064 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27065
27066 [BZ #12207]
27067 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27068
27069 [BZ #12204]
27070 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27071 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27072
27073 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27076 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27077 script has SORT_BY_INIT_PRIORITY.
27078 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27079 NO_CTORS_DTORS_SECTIONS is defined.
27080 * elf/soinit.c: Likewise.
27081 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27082 NO_CTORS_DTORS_SECTIONS is defined.
27083 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27084 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27085 * sysdeps/sh/init-first.c: Likewise.
27086 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27087
27088 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27089
27090 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27091 always use the slow path.
27092
27093 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27094
27095 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27096 similar rule which adds the sysdep directories to the header search in
27097 order to pick up the correct platform stackinfo.h.
27098 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27099 perform test if it is, otherwise return successfully without testing.
27100 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27101 DEFAULT_STACK_PERMS define in stackinfo.h.
27102 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27103 defined in stackinfo.h.
27104 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27105 DEFAULT_STACK_PERMS defined in stackinfo.h.
27106 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27107 * sysdeps/ia64/stackinfo.h: Likewise.
27108 * sysdeps/s390/stackinfo.h: Likewise.
27109 * sysdeps/sh/stackinfo.h: Likewise.
27110 * sysdeps/sparc/stackinfo.h: Likewise.
27111 * sysdeps/x86_64/stackinfo.h: Likewise.
27112 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27113 PF_X for powerpc64. Retain PF_X for powerpc32.
27114
27115 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27116
27117 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27118 accurately.
27119 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27120 GETDENTS_64BIT_ALIGNED.
27121
27122 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27123
27124 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27125
27126 2010-12-10 Andreas Schwab <schwab@redhat.com>
27127
27128 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27129 _GNU_SOURCE.
27130
27131 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27132 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27133 Remove __restrict.
27134 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27135 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27136
27137 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27138
27139 [BZ #11655]
27140 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27141 are initialized.
27142
27143 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27144
27145 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27146
27147 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27148
27149 * po/it.po: Update from translation team.
27150
27151 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27152
27153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27154 unused codes.
27155
27156 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27157
27158 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27159
27160 2010-11-24 Andreas Schwab <schwab@redhat.com>
27161
27162 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27163 specially.
27164 (gaih_getanswer_slice): Likewise.
27165
27166 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27167
27168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27169
27170 2010-05-31 Petr Baudis <pasky@suse.cz>
27171
27172 [BZ #11149]
27173 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27174 silently even in the chroot mode.
27175
27176 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27177
27178 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27179 last patch a bit. Pretty printing
27180
27181 2010-05-31 Petr Baudis <pasky@suse.cz>
27182
27183 [BZ #10085]
27184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27185 initialization of skip_initgroups_dyn.
27186
27187 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27188
27189 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27191
27192 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27193
27194 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27195
27196 2010-11-11 Andreas Schwab <schwab@redhat.com>
27197
27198 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27199 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27200 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27201 ($(objpfx)tst-fnmatch-mem): New rule.
27202 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27203 * posix/tst-fnmatch.c (main): Call mtrace.
27204
27205 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27206
27207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27208 Support Intel processor model 6 and model 0x2c.
27209
27210 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27211
27212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27213 signed comparison.
27214
27215 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27216
27217 [BZ #12205]
27218 * string/test-strncasecmp.c (check_result): New function.
27219 (do_one_test): Use it.
27220 (check1): New function.
27221 (test_main): Use it.
27222 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27223 Support strcasecmp and strncasecmp.
27224
27225 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27226
27227 [BZ #12194]
27228 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27230
27231 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27232
27233 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27234 IFUNC support.
27235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27236 memset-x86-64.
27237 * sysdeps/x86_64/multiarch/bzero.S: New file.
27238 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27239 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27240 * sysdeps/x86_64/multiarch/memset.S: New file.
27241 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27243 Set bit_Prefer_SSE_for_memop for Intel processors.
27244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27245 Define.
27246 (index_Prefer_SSE_for_memop): Define.
27247 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27248
27249 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27250
27251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27252 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27253
27254 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27255
27256 [BZ #12191]
27257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27258 (__x86_64_raw_data_cache_size_half): Likewise.
27259 (__x86_64_raw_shared_cache_size): Likewise.
27260 (__x86_64_raw_shared_cache_size_half): Likewise.
27261
27262 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27263 (__x86_64_raw_data_cache_size_half): Likewise.
27264 (__x86_64_raw_shared_cache_size): Likewise.
27265 (__x86_64_raw_shared_cache_size_half): Likewise.
27266 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27267 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27268 and __x86_64_raw_shared_cache_size_half. Round
27269 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27270 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27271 to multiple of 256 bytes.
27272
27273 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27274
27275 [BZ #12167]
27276 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27277 of inacessible symlinks. Verify result of symlink before returning it.
27278 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27279 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27280
27281 2010-10-28 Erich Ritz <erichritz@gmail.com>
27282
27283 * math/math.h (isinf): Fix typo in comment.
27284
27285 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27286
27287 * po/da.po: Update from translation team.
27288
27289 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27290
27291 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27292 is added to the list.
27293
27294 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27295 Ulrich Drepper <drepper@gmail.com>
27296
27297 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27298 the global list here. Move code to...
27299 (_dl_add_to_namespace_list): ...here. New function.
27300 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27301 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27302 * elf/dl-load.c (lose): Don't remove the element from the list.
27303 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27304 (_dl_map_object): Likewise.
27305
27306 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27307
27308 [BZ #12159]
27309 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27310 into all bytes of SSE register.
27311 Patch by Richard Li <richardpku@gmail.com>.
27312
27313 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27314
27315 [BZ #12140]
27316 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27317 perturbing.
27318
27319 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27320
27321 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27322 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27323 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27324 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27326 submachine.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27328
27329 2010-10-22 Andreas Schwab <schwab@redhat.com>
27330
27331 * include/dlfcn.h (__RTLD_SECURE): Define.
27332 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27333 mode & __RTLD_SECURE instead.
27334 (open_path): Rename preloaded parameter to secure.
27335 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27336 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27337 * elf/dl-deps.c (openaux): Likewise.
27338 * elf/rtld.c (struct map_args): Remove is_preloaded.
27339 (map_doit): Don't use it.
27340 (dl_main): Likewise.
27341 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27342 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27343
27344 2010-09-09 Andreas Schwab <schwab@redhat.com>
27345
27346 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27347 (sysd-rules-targets): Remove duplicates.
27348 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27349 rtld-%.$o dependency.
27350
27351 2010-10-18 Andreas Schwab <schwab@redhat.com>
27352
27353 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27354 _dl_map_object do it.
27355
27356 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27357
27358 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27359 fast fma builtins, define the macros in the C99 standard.
27360 (FP_FAST_FMAF): Likewise.
27361 (FP_FAST_FMAL): Likewise.
27362 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27363
27364 * bits/mathdef.h: Update copyright year.
27365 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27366
27367 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27368
27369 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27370 builtins, define the macros in the C99 standard.
27371 (FP_FAST_FMAF): Likewise.
27372 (FP_FAST_FMAL): Likewise.
27373 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27374 multiply/add.
27375 (FP_FAST_FMAF): Likewise.
27376
27377 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27378
27379 [BZ #3268]
27380 * math/libm-test.inc (fma_test): Some new testcases.
27381 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27382 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27383 y and infinite z. Do multiplication by C already in long double.
27384 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27386 y and infinite z. Do bitwise or of inexact bit into u.d.
27387 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27388 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27389 * sysdeps/i386/fpu/s_fma.S: Removed.
27390 * sysdeps/i386/fpu/s_fmal.S: Removed.
27391
27392 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27393
27394 [BZ #3268]
27395 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27397 computation is not scheduled after fetestexcept. Fix value
27398 of minimum denormal long double.
27399
27400 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27401
27402 [BZ #3268]
27403 * math/libm-test.inc (fma_test): Add some more tests.
27404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27405 correctly.
27406
27407 2010-10-15 Andreas Schwab <schwab@redhat.com>
27408
27409 * scripts/data/localplt-s390-linux-gnu.data: New file.
27410 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27411
27412 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27413
27414 [BZ #3268]
27415 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27416 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27417 instead of dbl-64.
27418 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27419 inlines.
27420 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27422 if one of x and y is very large and the other is subnormal.
27423 * sysdeps/s390/fpu/s_fmaf.c: New file.
27424 * sysdeps/s390/fpu/s_fma.c: New file.
27425 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27426 * sysdeps/powerpc/fpu/s_fma.S: New file.
27427 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27428 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27429 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27430
27431 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27432
27433 [BZ #3268]
27434 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27435 fma tests.
27436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27437 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27438 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27439 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27440 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27441 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27443
27444 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27445
27446 [BZ #12078]
27447 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27448 * posix/bug-regex31.input: Add test case.
27449
27450 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27451
27452 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27453 * posix/bug-regex31.input: New file.
27454
27455 [BZ #12078]
27456 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27457 (parse_sub_exp): Fix last change, use postorder.
27458
27459 * posix/bug-regex31.c: New file.
27460 * posix/Makefile: Add rules to build and run bug-regex31.
27461
27462 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27463
27464 [BZ #12078]
27465 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27466
27467 [BZ #12108]
27468 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27469 to have entries in sys_siglist.
27470
27471 [BZ #12093]
27472 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27473 be NULL.
27474
27475 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27476
27477 [BZ #3268]
27478 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27479 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27480 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27481 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27482 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27483 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27484 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27485 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27486 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27487 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27488 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27489 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27490 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27491 * math/ftestexcept.c (fetestexcept): Likewise.
27492 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27493 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27494 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27495 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27496 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27497 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27498 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27499
27500 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27501
27502 [BZ #12107]
27503 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27504 newline.
27505
27506 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27507
27508 * string/bug-strstr1.c: New file.
27509 * string/Makefile: Add rules to build and run bug-strstr1.
27510
27511 2010-10-05 Eric Blake <eblake@redhat.com>
27512
27513 [BZ #12092]
27514 * string/str-two-way.h (two_way_long_needle): Always clear memory
27515 when skipping input due to the shift table.
27516
27517 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27518
27519 [BZ #12005]
27520 * malloc/mcheck.c: Handle large requests.
27521
27522 [BZ #12077]
27523 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27524 for strncmp and strncasecmp.
27525 * string/stratcliff.c: Add tests for strcmp and strncmp.
27526 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27527
27528 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27529
27530 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27531 __set_fpscr.
27532
27533 2010-09-30 Andreas Jaeger <aj@suse.de>
27534
27535 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27536 (CGROUP_SUPER_MAGIC): Define.
27537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27538 Handle btrfs and cgroup file systems.
27539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27540 Likewise.
27541
27542 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27543
27544 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27545 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27546
27547 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27548
27549 [BZ #12067]
27550 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27551 trying to locate the ELF header.
27552
27553 2010-09-27 Andreas Schwab <schwab@redhat.com>
27554
27555 [BZ #11611]
27556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27557 Mask out sign-bit copies when constructing f_fsid.
27558
27559 2010-09-24 Petr Baudis <pasky@suse.cz>
27560
27561 * debug/stack_chk_fail_local.c: Add missing licence exception.
27562 * debug/warning-nop.c: Likewise.
27563
27564 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27565
27566 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27567 implementing getdents64 using getdents syscall, set d_type if
27568 __ASSUME_GETDENTS32_D_TYPE.
27569
27570 2010-09-16 Andreas Schwab <schwab@redhat.com>
27571
27572 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27573 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27574
27575 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27576
27577 [BZ #12037]
27578 * posix/unistd.h: Undo change of feature selection for ftruncate from
27579 2010-01-11.
27580
27581 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27582
27583 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27584 detection.
27585
27586 2010-09-20 Andreas Schwab <schwab@redhat.com>
27587
27588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27589 fanotify_mark.
27590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27591
27592 2010-09-14 Andreas Schwab <schwab@redhat.com>
27593
27594 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27595 variables after CHECK_SP call.
27596 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27597
27598 2010-09-13 Andreas Schwab <schwab@redhat.com>
27599 Ulrich Drepper <drepper@redhat.com>
27600
27601 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27602 re-relocationg ld.so.
27603 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27604 _dl_init_paths call.
27605 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27606 here anymore.
27607
27608 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27609
27610 * resolv/res_init.c (__res_vinit): Count the default server we added.
27611
27612 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27613 Ulrich Drepper <drepper@redhat.com>
27614
27615 [BZ #11968]
27616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27617 (____longjmp_chk): Use %ebx for saving value across system call.
27618 Add unwind info.
27619
27620 2010-09-06 Andreas Schwab <schwab@redhat.com>
27621
27622 * manual/Makefile: Don't mix pattern rules with normal rules.
27623
27624 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27625
27626 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27627 operation.
27628 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27629 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27630 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27631 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27632 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27633 Likewise.
27634
27635 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27636
27637 [BZ #11979]
27638 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27639 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27640
27641 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27642
27643 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27644 * sysdeps/x86_64/addmul_1.S: Likewise.
27645 * sysdeps/x86_64/lshift.S: Likewise.
27646 * sysdeps/x86_64/mul_1.S: Likewise.
27647 * sysdeps/x86_64/rshift.S: Likewise.
27648 * sysdeps/x86_64/sub_n.S: Likewise.
27649 * sysdeps/x86_64/submul_1.S: Likewise.
27650
27651 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27652
27653 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27654 Define __sched_param instead of SCHED_* and sched_param when
27655 <bits/sched.h> is included with __need_schedparam defined.
27656 * bits/sched.h [__need_schedparam]
27657 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27658 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27659 (__defined_schedparam): Define to 1.
27660 (__sched_param): New structure, identical to sched_param.
27661 (__need_schedparam): Undefine.
27662
27663 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27664
27665 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27666 (epoll_create1): Declare.
27667
27668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27669
27670 2010-08-31 Andreas Schwab <schwab@redhat.com>
27671
27672 [BZ #7066]
27673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27674 shifting retval into place.
27675
27676 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27677
27678 * nis/rpcsvc/nis.h: Update copyright notice.
27679 * nis/rpcsvc/nis.x: Likewise.
27680 * nis/rpcsvc/nis_callback.h: Likewise.
27681 * nis/rpcsvc/nis_callback.x: Likewise.
27682 * nis/rpcsvc/nis_object.x: Likewise.
27683 * nis/rpcsvc/nis_tags.h: Likewise.
27684 * nis/rpcsvc/yp.h: Likewise.
27685 * nis/rpcsvc/yp.x: Likewise.
27686 * nis/rpcsvc/ypupd.h: Likewise.
27687 * nis/yp_xdr.c: Likewise.
27688 * nis/ypupdate_xdr.c: Likewise.
27689
27690 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27691 mainly the body of pmap_getport. Add parameters to specify timeouts.
27692 (pmap_getport): Use __libc_rpc_getport.
27693 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27694 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27695 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27696
27697 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27698
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27700 fanotify_mark.
27701
27702 2010-08-27 Roland McGrath <roland@redhat.com>
27703
27704 * sysdeps/i386/i686/multiarch/Makefile
27705 (CFLAGS-varshift.c): New variable.
27706
27707 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27708
27709 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27710 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27711
27712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27713
27714 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27715
27716 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27717
27718 * sysdeps/x86_64/strlen.S: Unroll the loop.
27719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27720 strlen-sse2 strlen-sse2-bsf.
27721 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27722 __strlen_no_bsf if bit_Slow_BSF is set.
27723 (__strlen_sse42): Removed.
27724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27725 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27726
27727 2010-08-25 Roland McGrath <roland@redhat.com>
27728
27729 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27730 * sysdeps/x86_64/multiarch/varshift.c: New file.
27731 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27732 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27733 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27734 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27735
27736 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27739 strlen-sse2 strlen-sse2-bsf.
27740 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27741 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27742 (__strlen_sse2): Removed.
27743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27746 bit_Slow_BSF for Atom.
27747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27748 (index_Slow_BSF): Define.
27749 (HAS_SLOW_BSF): Define.
27750
27751 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27752
27753 [BZ #10851]
27754 * resolv/res_init.c (__res_vinit): When no server address at all
27755 is given default to loopback.
27756
27757 2010-08-24 Roland McGrath <roland@redhat.com>
27758
27759 * configure.in: Remove config-name.h generation.
27760 * configure: Regenerated.
27761 * config-name.in: File removed.
27762 * scripts/config-uname.sh: New file.
27763 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27764 ($(objdir)config-name.h): New target.
27765
27766 * sunrpc/rpc_parse.h: Avoid nested comment.
27767
27768 2010-08-24 Richard Henderson <rth@redhat.com>
27769 Ulrich Drepper <drepper@redhat.com>
27770 H.J. Lu <hongjiu.lu@intel.com>
27771
27772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27774 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27775 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27776 _mm_alignr_epi8 with _mm_loadu_si128.
27777 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27778 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27779 (__m128i_shift_right): Removed.
27780 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27781 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27782 * sysdeps/x86_64/multiarch/varshift.h: New file.
27783 * sysdeps/x86_64/multiarch/varshift.S: New file.
27784
27785 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27786
27787 * configure.in: Move assembler checks to before sysdep dir checking.
27788
27789 2010-08-20 Petr Baudis <pasky@suse.cz>
27790
27791 * LICENSES: Sync the sunrpc license.
27792
27793 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27794
27795 * sunrpc/auth_des.c: Update copyright notice once again.
27796 * sunrpc/auth_none.c: Likewise.
27797 * sunrpc/auth_unix.c: Likewise.
27798 * sunrpc/authdes_prot.c: Likewise.
27799 * sunrpc/authuxprot.c: Likewise.
27800 * sunrpc/bindrsvprt.c: Likewise.
27801 * sunrpc/clnt_gen.c: Likewise.
27802 * sunrpc/clnt_perr.c: Likewise.
27803 * sunrpc/clnt_raw.c: Likewise.
27804 * sunrpc/clnt_simp.c: Likewise.
27805 * sunrpc/clnt_tcp.c: Likewise.
27806 * sunrpc/clnt_udp.c: Likewise.
27807 * sunrpc/clnt_unix.c: Likewise.
27808 * sunrpc/des_crypt.c: Likewise.
27809 * sunrpc/des_soft.c: Likewise.
27810 * sunrpc/get_myaddr.c: Likewise.
27811 * sunrpc/getrpcport.c: Likewise.
27812 * sunrpc/key_call.c: Likewise.
27813 * sunrpc/key_prot.c: Likewise.
27814 * sunrpc/openchild.c: Likewise.
27815 * sunrpc/pm_getmaps.c: Likewise.
27816 * sunrpc/pm_getport.c: Likewise.
27817 * sunrpc/pmap_clnt.c: Likewise.
27818 * sunrpc/pmap_prot.c: Likewise.
27819 * sunrpc/pmap_prot2.c: Likewise.
27820 * sunrpc/pmap_rmt.c: Likewise.
27821 * sunrpc/rpc/auth.h: Likewise.
27822 * sunrpc/rpc/auth_unix.h: Likewise.
27823 * sunrpc/rpc/clnt.h: Likewise.
27824 * sunrpc/rpc/des_crypt.h: Likewise.
27825 * sunrpc/rpc/key_prot.h: Likewise.
27826 * sunrpc/rpc/netdb.h: Likewise.
27827 * sunrpc/rpc/pmap_clnt.h: Likewise.
27828 * sunrpc/rpc/pmap_prot.h: Likewise.
27829 * sunrpc/rpc/pmap_rmt.h: Likewise.
27830 * sunrpc/rpc/rpc.h: Likewise.
27831 * sunrpc/rpc/rpc_des.h: Likewise.
27832 * sunrpc/rpc/rpc_msg.h: Likewise.
27833 * sunrpc/rpc/svc.h: Likewise.
27834 * sunrpc/rpc/svc_auth.h: Likewise.
27835 * sunrpc/rpc/types.h: Likewise.
27836 * sunrpc/rpc/xdr.h: Likewise.
27837 * sunrpc/rpc_clntout.c: Likewise.
27838 * sunrpc/rpc_cmsg.c: Likewise.
27839 * sunrpc/rpc_common.c: Likewise.
27840 * sunrpc/rpc_cout.c: Likewise.
27841 * sunrpc/rpc_dtable.c: Likewise.
27842 * sunrpc/rpc_hout.c: Likewise.
27843 * sunrpc/rpc_main.c: Likewise.
27844 * sunrpc/rpc_parse.c: Likewise.
27845 * sunrpc/rpc_parse.h: Likewise.
27846 * sunrpc/rpc_prot.c: Likewise.
27847 * sunrpc/rpc_sample.c: Likewise.
27848 * sunrpc/rpc_scan.c: Likewise.
27849 * sunrpc/rpc_scan.h: Likewise.
27850 * sunrpc/rpc_svcout.c: Likewise.
27851 * sunrpc/rpc_tblout.c: Likewise.
27852 * sunrpc/rpc_util.c: Likewise.
27853 * sunrpc/rpc_util.h: Likewise.
27854 * sunrpc/rpcinfo.c: Likewise.
27855 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27856 * sunrpc/rpcsvc/key_prot.x: Likewise.
27857 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27858 * sunrpc/rpcsvc/mount.x: Likewise.
27859 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27860 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27861 * sunrpc/rpcsvc/rex.x: Likewise.
27862 * sunrpc/rpcsvc/rstat.x: Likewise.
27863 * sunrpc/rpcsvc/rusers.x: Likewise.
27864 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27865 * sunrpc/rpcsvc/spray.x: Likewise.
27866 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27867 * sunrpc/rtime.c: Likewise.
27868 * sunrpc/svc.c: Likewise.
27869 * sunrpc/svc_auth.c: Likewise.
27870 * sunrpc/svc_authux.c: Likewise.
27871 * sunrpc/svc_raw.c: Likewise.
27872 * sunrpc/svc_run.c: Likewise.
27873 * sunrpc/svc_simple.c: Likewise.
27874 * sunrpc/svc_tcp.c: Likewise.
27875 * sunrpc/svc_udp.c: Likewise.
27876 * sunrpc/svc_unix.c: Likewise.
27877 * sunrpc/svcauth_des.c: Likewise.
27878 * sunrpc/xcrypt.c: Likewise.
27879 * sunrpc/xdr.c: Likewise.
27880 * sunrpc/xdr_array.c: Likewise.
27881 * sunrpc/xdr_float.c: Likewise.
27882 * sunrpc/xdr_mem.c: Likewise.
27883 * sunrpc/xdr_rec.c: Likewise.
27884 * sunrpc/xdr_ref.c: Likewise.
27885 * sunrpc/xdr_sizeof.c: Likewise.
27886 * sunrpc/xdr_stdio.c: Likewise.
27887
27888 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27889 handling.
27890
27891 2010-08-19 Andreas Schwab <schwab@redhat.com>
27892
27893 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27894
27895 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27896
27897 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27898 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27899 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27900 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27901 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27902 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27903 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27904 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27905 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27906 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27907 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27908 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27909 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27910 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27911
27912 2010-07-26 Anton Blanchard <anton@samba.org>
27913
27914 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27915 * malloc/arena.c (heap_trim): Likewise.
27916
27917 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27918
27919 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27920 here. Not...
27921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27922 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27923
27924 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27925
27926 * sysdeps/i386/elf/Makefile: New file.
27927
27928 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27929
27930 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27931 from fanotify_init.
27932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27933 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27934
27935 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27936
27937 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27938 of strncasecmp_l.
27939 * sysdeps/multiarch/strcmp.S: Likewise.
27940
27941 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27942
27943 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27944 strncase_l-nonascii.
27945 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27946 Add strncase_l-ssse3.
27947 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27948 * sysdeps/x86_64/strcmp.S: Likewise.
27949 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27950 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27951 * sysdeps/x86_64/strncase.S: New file.
27952 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27953 * sysdeps/x86_64/strncase_l.S: New file.
27954 * string/Makefile (strop-tests): Add strncasecmp.
27955 * string/test-strncasecmp.c: New file.
27956
27957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27958 warning.
27959
27960 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27962
27963 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27964
27965 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27966
27967 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27968
27969 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27972
27973 2010-05-01 Alan Modra <amodra@gmail.com>
27974
27975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27976 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27977 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27978 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27979 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27980 tidying. Don't tail-call __sigjmp_save for static lib.
27981 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27982 save location.
27983 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27984 (CALL_MCOUNT): Add eh info, and nop after bl.
27985 (TAIL_CALL_SYSCALL_ERROR): New macro.
27986 (PSEUDO_RET): Use it.
27987 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27988 Correct save location of integer regs and cr.
27989 (_dl_profile_resolve): Correct cr save location. Delete nops
27990 after bl when SHARED. Reduce cfi size a little by better
27991 placement of cfi directives.
27992 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27993 make a stack frame. Instead use parm save area as a temp.
27994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27995 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27997 Don't make a stack frame for parent, use parm save area.
27998 Increase child stack frame to 112 bytes. Don't save unused reg,
27999 and adjust reg usage. Set up cfi on error recovery and
28000 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28002 (__makecontext): Add dummy nop after jump to exit.
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28004 Use correct parm save area and cr save, reduce stack frame.
28005 Correct cfi for possible PSEUDO_RET frame setup.
28006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28007 Branch to local label emitted by PSEUDO_RET rather than
28008 __syscall_error.
28009
28010 2010-08-12 Andreas Schwab <schwab@redhat.com>
28011
28012 [BZ #11904]
28013 * locale/programs/locale.c (print_assignment): New function.
28014 (show_locale_vars): Use it.
28015
28016 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28017
28018 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28019 field.
28020 (struct statfs64): Likewise.
28021 (_STATFS_F_FLAGS): Define.
28022 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28024 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28025 (ST_VALID): Define locally.
28026 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28027 __statvfs_getflags, use the provided value.
28028 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28029 __ASSUME_STATFS_F_FLAGS.
28030
28031 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28032
28033 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28034 Add sys/fanotify.h.
28035 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28036 fanotify_mask for GLIBC_2.13.
28037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28038 fanotify_init and fanotify_mark.
28039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28040 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28041
28042 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28043 Add prlimit.
28044 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28045 prlimit64 for GLIBC_2.13.
28046 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28047 prlimit64.
28048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28049 syscall.
28050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28052 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28055 add prlimit alias.
28056 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28057
28058 [BZ #11903]
28059 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28060 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28061
28062 * nss/Makefile: Add rules to build and run tst-nss-test1.
28063 * shlib-versions: Add entry for libnss_test1.
28064 * nss/nss_test1.c: New file.
28065 * nss/tst-nss-test1.c: New file.
28066
28067 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28068 (__nss_configure_lookup): Set appropriate entry in
28069 __nss_configure_lookup to true.
28070 * nss/nsswitch.h: Define enum with indeces of databases in
28071 databases and __nss_database_custom arrays. Declare
28072 __nss_database_custom.
28073 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28074 to avoid using nscd when custom rules are installed.
28075 * nss/getXXbyYY_r.c: Likewise.
28076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28077
28078 * nss/nss_files/files-parse.c: Whitespace fixes.
28079
28080 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28081
28082 [BZ #11883]
28083 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28084 * posix/fnmatch_loop.c: Likewise.
28085
28086 2010-07-17 Andi Kleen <ak@linux.intel.com>
28087
28088 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28089 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28090 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28091 * Versions.def [GLIBC_2.13]: Add.
28092
28093 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28094
28095 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28096 Also fail if tpwd after pwuid call is NULL.
28097
28098 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28099
28100 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28101 when converting to ms.
28102
28103 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28104
28105 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28106 EOPNOTSUPP errors with ENOTTY.
28107 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28108 EOPNOTSUPP errors with ENOTTY.
28109
28110 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28111
28112 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28113 Add strcasecmp_l-ssse3.
28114 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28115 strcasecmp.
28116 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28117 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28118 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28119
28120 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28121
28122 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28123
28124 * string/Makefile (strop-tests): Add strcasecmp.
28125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28126 strcasecmp_l-nonascii.
28127 (gen-as-const-headers): Add locale-defines.sym.
28128 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28129 * sysdeps/x86_64/strcasecmp.S: New file.
28130 * sysdeps/x86_64/strcasecmp_l.S: New file.
28131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28132 * sysdeps/x86_64/locale-defines.sym: New file.
28133 * string/test-strcasecmp.c: New file.
28134
28135 * string/test-strcasestr.c: Test both ends of the range of characters.
28136 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28137
28138 2010-07-29 Roland McGrath <roland@redhat.com>
28139
28140 [BZ #11856]
28141 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28142
28143 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28144
28145 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28146 for ld.so.
28147
28148 2010-07-27 Andreas Schwab <schwab@redhat.com>
28149
28150 * manual/memory.texi (Malloc Tunable Parameters): Document
28151 M_PERTURB.
28152
28153 2010-07-26 Roland McGrath <roland@redhat.com>
28154
28155 [BZ #11840]
28156 * configure.in (-fgnu89-inline check): Set and substitute
28157 gnu89_inline, not libc_cv_gnu89_inline.
28158 * configure: Regenerated.
28159 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28160
28161 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28162
28163 * string/test-strnlen.c: New file.
28164 * string/Makefile (strop-tests): Add strnlen.
28165 * string/tester.c (test_strnlen): Add a few more test cases.
28166 * string/tst-strlen.c: Better error reporting.
28167
28168 * sysdeps/x86_64/strnlen.S: New file.
28169
28170 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28171
28172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28173 lower-latency instructions.
28174
28175 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28176
28177 * string/test-strcasestr.c: New file.
28178 * string/test-strstr.c: New file.
28179 * string/Makefile (strop-tests): Add strstr and strcasestr.
28180 * string/str-two-way.h: Don't undefine MAX.
28181 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28182
28183 2010-07-21 Andreas Schwab <schwab@redhat.com>
28184
28185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28186 strcasestr-nonascii.
28187 (CFLAGS-strcasestr-nonascii.c): Define.
28188 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28190 Remove unused attribute.
28191
28192 2010-07-20 Roland McGrath <roland@redhat.com>
28193
28194 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28195 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28196 ld.so.cache was broken. With it, there is no way to disable dsocaps
28197 like LD_HWCAP_MASK can disable hwcaps.
28198
28199 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28200
28201 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28202
28203 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28204
28205 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28206 call in strcasestr.
28207 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28208 __strcasestr_sse42_nonascii.
28209 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28210 strcasestr-nonascii.c.
28211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28212
28213 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28214
28215 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28219
28220 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28221
28222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28223 fcntl.
28224
28225 2010-07-06 Andreas Schwab <schwab@redhat.com>
28226
28227 [BZ #11577]
28228 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28229 dl_signal_cerror.
28230
28231 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28232
28233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28234 _PC_PIPE_BUF using F_GETPIPE_SZ.
28235
28236 2010-07-05 Roland McGrath <roland@redhat.com>
28237
28238 * manual/arith.texi (Rounding Functions): Fix rint description
28239 implicit in round description.
28240
28241 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28242
28243 * elf/Makefile: Fix linking for a few tests to make recent linker
28244 happy.
28245
28246 2010-06-30 Andreas Schwab <schwab@redhat.com>
28247
28248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28249 $(common-objpfx)libc_nonshared.a.
28250
28251 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28252
28253 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28254 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28255 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28256 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28257 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28258 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28259 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28260 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28275 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28276 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28277 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28278 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28279 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28280 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28281 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28282 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28283 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28284 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28285 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28286 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28301
28302 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28305 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28306 * string/memmove.c (memmove): Renamed to ...
28307 (MEMMOVE): ...this. Default to memmove.
28308 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28309 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28310 (END_CHK): Define.
28311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28312 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28313 mempcpy-ssse3-back memmove-ssse3-back.
28314 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28317 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28318 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28319 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28320 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28321 * sysdeps/x86_64/multiarch/memmove.c: New file.
28322 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28323 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28324 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28325 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28326 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28328 Define.
28329 (index_Fast_Copy_Backward): Define.
28330 (HAS_ARCH_FEATURE): Define.
28331 (HAS_FAST_REP_STRING): Define.
28332 (HAS_FAST_COPY_BACKWARD): Define.
28333
28334 2010-06-21 Andreas Schwab <schwab@redhat.com>
28335
28336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28337 Restore proper fallback handling.
28338
28339 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28340
28341 [BZ #11701]
28342 * posix/group_member.c (__group_member): Correct checking loop.
28343
28344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28345 OOM in getpwuid_r correctly. Return error number when the caller
28346 should return, otherwise -1.
28347 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28348 call returning > 0 value.
28349 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28350
28351 2010-06-07 Andreas Schwab <schwab@redhat.com>
28352
28353 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28354 libc_nonshared.a from targets in modules-names.
28355
28356 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28357
28358 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28359 requires it.
28360
28361 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28362
28363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28364 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28367
28368 2010-06-02 Andreas Schwab <schwab@redhat.com>
28369
28370 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28371
28372 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28373
28374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28375 and F_GETPIPE_SZ.
28376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28382
28383 2010-06-14 Roland McGrath <roland@redhat.com>
28384
28385 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28386
28387 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28388
28389 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28390 __REDIRECT followed by __THROW.
28391 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28392 * posix/getopt.h (getopt): Likewise.
28393
28394 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28395
28396 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28397 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28398 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28399 in AT_FLAGS.
28400 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28401 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28402
28403 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28404
28405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28406
28407 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28408
28409 [BZ #11640]
28410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28411 Properly check family and model.
28412
28413 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28414
28415 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28416
28417 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28418
28419 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28420
28421 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28422
28423 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28424 symbol reference.
28425
28426 2010-05-19 Andreas Schwab <schwab@redhat.com>
28427
28428 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28429 symbol reference.
28430
28431 2010-05-21 Andreas Schwab <schwab@redhat.com>
28432
28433 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28434 and internal_recvmmsg.
28435 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28436 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28437 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28438 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28439
28440 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28441 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28442 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28443
28444 2010-05-20 Andreas Schwab <schwab@redhat.com>
28445
28446 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28447
28448 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28449
28450 POWER7 optimizations.
28451 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28452 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28453
28454 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28455
28456 * version.h: Update for 2.13 development version.
28457
28458 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28459
28460 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28461 exceptions. Return 0.
28462
28463 2010-05-07 Roland McGrath <roland@redhat.com>
28464
28465 * elf/ldconfig.c (main): Add a const.
28466
28467 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28468
28469 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28470 (args_options): Add no-idn option.
28471 (ahosts_keys_int): Add idn_flags to ai_flags.
28472 (parse_option): Handle 'i' option to clear idn_flags.
28473
28474 * malloc/malloc.c (_int_free): Possible race in the most recently
28475 added check. Only act on the data if no current modification
28476 happened.
28477
28478 See ChangeLog.17 for earlier changes.