1 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17 * math/libm-test.inc (hypot_test): Do not use
20 2013-05-03 Andreas Jaeger <aj@suse.de>
22 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25 (PF_MAX): Adjust for VSOCK change.
27 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38 2013-05-02 David S. Miller <davem@davemloft.net>
40 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
44 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46 2013-05-01 Roland McGrath <roland@hack.frob.com>
48 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50 2013-05-01 Richard Smith <richard@metafoo.co.uk>
53 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55 Use __attribute__ ((__gnu_inline__)).
56 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57 Don't use __attribute__ ((__gnu_inline__)).
59 2013-05-01 Joseph Myers <joseph@codesourcery.com>
62 * math/s_catan.c (__catan): Handle small real or imaginary part of
63 input specially to avoid spurious underflow.
64 * math/s_catanf.c (__catanf): Likewise.
65 * math/s_catanh.c (__catanh): Likewise.
66 * math/s_catanhf.c (__catanhf): Likewise.
67 * math/s_catanhl.c (__catanhl): Likewise.
68 * math/s_catanl.c (__catanl): Likewise.
69 * math/libm-test.inc (catan_test): Add more tests.
70 (catanh_test): Likewise.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78 2013-04-30 Joseph Myers <joseph@codesourcery.com>
81 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
82 accurately for denominator in atan2.
83 * math/s_catanf.c (__catanf): Likewise.
84 * math/s_catanh.c (__catanh): Likewise.
85 * math/s_catanhf.c (__catanhf): Likewise.
86 * math/s_catanhl.c (__catanhl): Likewise.
87 * math/s_catanl.c (__catanl): Likewise.
88 * math/libm-test.inc (catan_test): Add more tests.
89 (catanh_test): Likewise.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
97 * benchtests/Makefile (bench): Remove slow benchmarks.
98 * benchtests/atan-inputs: Add slow benchmark inputs.
99 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
100 (BENCH_FUNC): Accept variant offset.
102 * benchtests/bench-skeleton.c (main): Run benchmark for each
104 * benchtests/cos-inputs: Add slow benchmark inputs.
105 * benchtests/exp-inputs: Likewise.
106 * benchtests/pow-inputs: Likewise.
107 * benchtests/sin-inputs: Likewise.
108 * benchtests/slowatan-inputs: Remove.
109 * benchtests/slowatan.c: Remove.
110 * benchtests/slowcos-inputs: Remove.
111 * benchtests/slowcos.c: Remove.
112 * benchtests/slowexp-inputs: Remove.
113 * benchtests/slowexp.c: Remove.
114 * benchtests/slowpow-inputs: Remove.
115 * benchtests/slowpow.c: Remove.
116 * benchtests/slowsin-inputs: Remove.
117 * benchtests/slowsin.c: Remove.
118 * benchtests/slowtan-inputs: Remove.
119 * benchtests/slowtan.c: Remove.
120 * benchtests/tan-inputs: Add slow benchmark inputs.
121 * scripts/bench.pl: Parse comments and directives.
123 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
125 ($(objpfx)bench-%.c): Remove *-ITER.
126 * benchtests/bench-modf.c: Remove definition of ITER.
127 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
128 (main): Loop for DURATION seconds instead of fixed number of
130 * scripts/bench.pl: Don't expect iterations in parameters.
132 2013-04-29 Roland McGrath <roland@hack.frob.com>
134 * io/fchdir.c (__fchdir): Renamed from fchdir.
135 (fchdir): Define as weak alias.
137 2013-04-29 Joseph Myers <joseph@codesourcery.com>
139 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
140 (ERRNO_EDOM): Likewise.
141 (ERRNO_ERANGE): Likewise.
142 (noErrnoTests): New variable.
143 (init_max_error): Set errno to 0.
144 (test_single_errno): New function.
145 (test_errno): Likewise.
146 (check_float_internal): Call test_errno. Set errno to 0.
147 (check_complex): Refer to errno tests in comment.
148 (check_int): Call test_errno. Set errno to 0.
149 (check_long): Likewise.
150 (check_bool): Likewise.
151 (check_longlong): Likewise.
152 (cos_test): Use ERRNO_* flags for errno tests instead of
154 (expm1_test): Likewise.
155 (fmod_test): Likewise.
156 (ilogb_test): Likewise.
157 (lgamma_test): Likewise.
158 (pow_test): Likewise.
159 (remainder_test): Likewise.
160 (sin_test): Likewise.
161 (tan_test): Likewise.
163 (initialize): Set errno to 0.
164 (main): Print number of errno tests.
165 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
167 2013-04-29 Andreas Jaeger <aj@suse.de>
170 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
174 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
175 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
179 * stdlib/random.c (__initstate): Return NULL if
183 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
184 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
187 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
191 2013-04-29 Joseph Myers <joseph@codesourcery.com>
193 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
195 (casin_test): Likewise.
196 (casinh_test): Likewise.
198 2013-04-27 Joseph Myers <joseph@codesourcery.com>
201 * math/s_catan.c (__catan): Handle arguments with large real or
202 imaginary part separately without squaring.
203 * math/s_catanf.c (__catanf): Likewise.
204 * math/s_catanh.c (__catanh): Likewise.
205 * math/s_catanhf.c (__catanhf): Likewise.
206 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
208 (__catanhl): Handle arguments with large real or imaginary part
209 separately without squaring.
210 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
212 (__catanl): Handle arguments with large real or imaginary part
213 separately without squaring.
214 * math/libm-test.inc (catan_test): Add more tests.
215 (catanh_test): Likewise.
216 * sysdeps/i386/fpu/libm-test-ulps: Update.
217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219 2013-04-27 Andreas Jaeger <aj@suse.de>
222 * stdlib/stdlib.h: Update guards for qecvt.
223 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
226 2013-04-27 Allan McRae <allan@archlinux.org>
228 * sysdeps/i386/fpu/libm-test-ulps: Update.
230 2013-04-26 Joseph Myers <joseph@codesourcery.com>
233 * math/s_catan.c: Include <float.h>.
234 (__catan): Ensure underflow exception occurs for underflowed
236 * math/s_catanf.c: Include <float.h>.
237 (__catanf): Ensure underflow exception occurs for underflowed
239 * math/s_catanh.c: Include <float.h>.
240 (__catanh): Ensure underflow exception occurs for underflowed
242 * math/s_catanhf.c: Include <float.h>.
243 (__catanhf): Ensure underflow exception occurs for underflowed
245 * math/s_catanhl.c: Include <float.h>.
246 (__catanhl): Ensure underflow exception occurs for underflowed
248 * math/s_catanl.c: Include <float.h>.
249 (__catanl): Ensure underflow exception occurs for underflowed
251 * math/libm-test.inc (catan_test): Add more tests.
252 (catanh_test): Likewise.
255 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
257 * math/s_ccoshf.c (__ccoshf): Likewise.
258 * math/s_ccoshl.c (__ccoshl): Likewise.
259 * math/s_csin.c (__csin): Likewise.
260 * math/s_csinf.c (__csinf): Likewise.
261 * math/s_csinh.c (__csinh): Likewise.
262 * math/s_csinhf.c (__csinhf): Likewise.
263 * math/s_csinhl.c (__csinhl): Likewise.
264 * math/s_csinl.c (__csinl): Likewise.
265 * math/libm-test.inc (ccos_test): Add more tests.
266 (ccosh_test): Likewise.
267 (csin_test): Likewise.
268 (csinh_test): Likewise.
270 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
273 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
274 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
275 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
276 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
277 powerpc/power5+/fpu folders.
278 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
281 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
285 2013-04-25 Joseph Myers <joseph@codesourcery.com>
287 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
288 additions to variable.
289 [$(config-machine) = x86_64] (modules-names): Likewise.
290 ($(objpfx)tst-audit3): Remove dependency.
291 ($(objpfx)tst-audit3.out): Likewise.
292 ($(objpfx)tst-audit4): Likewise.
293 ($(objpfx)tst-audit4.out): Likewise.
294 ($(objpfx)tst-audit5): Likewise.
295 ($(objpfx)tst-audit5.out): Likewise.
296 ($(objpfx)tst-audit6): Likewise.
297 ($(objpfx)tst-audit6.out): Likewise.
298 ($(objpfx)tst-audit7): Likewise.
299 ($(objpfx)tst-audit7.out): Likewise.
300 (tst-audit3-ENV): Remove variable.
301 (tst-audit4-ENV): Likewise.
302 (tst-audit5-ENV): Likewise.
303 (tst-audit6-ENV): Likewise.
304 (tst-audit7-ENV): Likewise.
305 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
306 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
307 addition to variable.
308 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
309 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
310 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
311 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
312 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
313 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
314 tst-audit3, tst-audit4 and tst-audit5.
315 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
316 tst-audit6 and tst-audit7.
317 [$(subdir) = elf] (modules-names): Add audit modules for those
319 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
320 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
321 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
322 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
323 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
324 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
325 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
326 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
327 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
328 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
329 [$(subdir) = elf] (tst-audit3-ENV): New variable.
330 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
331 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
332 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
333 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
334 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
336 [$(subdir) = elf && $(config-cflags-avx) = yes]
337 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
338 [$(subdir) = elf && $(config-cflags-avx) = yes]
339 (CFLAGS-tst-auditmod4a.c): Likewise.
340 [$(subdir) = elf && $(config-cflags-avx) = yes]
341 (CFLAGS-tst-auditmod4b.c): Likewise.
342 [$(subdir) = elf && $(config-cflags-avx) = yes]
343 (CFLAGS-tst-auditmod6b.c): Likewise.
344 [$(subdir) = elf && $(config-cflags-avx) = yes]
345 (CFLAGS-tst-auditmod6c.c): Likewise.
346 [$(subdir) = elf && $(config-cflags-avx) = yes]
347 (CFLAGS-tst-auditmod7b.c): Likewise.
348 * elf/tst-audit3.c: Move to ...
349 * sysdeps/x86_64/tst-audit3.c: ... here.
350 * elf/tst-audit4.c: Move to ...
351 * sysdeps/x86_64/tst-audit4.c: ... here.
352 * elf/tst-audit5.c: Move to ...
353 * sysdeps/x86_64/tst-audit5.c: ... here.
354 * elf/tst-audit6.c: Move to ...
355 * sysdeps/x86_64/tst-audit6.c: ... here.
356 * elf/tst-audit7.c: Move to ...
357 * sysdeps/x86_64/tst-audit7.c: ... here.
358 * elf/tst-auditmod3a.c: Move to ...
359 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
360 * elf/tst-auditmod3b.c: Move to ...
361 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
362 * elf/tst-auditmod4a.c: Move to ...
363 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
364 * elf/tst-auditmod4b.c: Move to ...
365 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
366 * elf/tst-auditmod5a.c: Move to ...
367 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
368 * elf/tst-auditmod5b.c: Move to ...
369 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
370 * elf/tst-auditmod6a.c: Move to ...
371 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
372 * elf/tst-auditmod6b.c: Move to ...
373 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
374 * elf/tst-auditmod6c.c: Move to ...
375 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
376 * elf/tst-auditmod7a.c: Move to ...
377 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
378 * elf/tst-auditmod7b.c: Move to ...
379 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
381 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
384 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
385 define unconditionally.
386 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
387 define unconditionally.
388 (INT8_C, INT16_C, etc.): Likewise.
390 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
392 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
393 __ehdr_start with hidden visibility.
395 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
397 2013-04-24 Carlos O'Donell <carlos@redhat.com>
399 * math/libm-test.inc (cos_test): Use accurate hex constants.
400 (sincost_test): Likewise.
402 2013-04-24 Joseph Myers <joseph@codesourcery.com>
404 * math/libm-test.inc (catan_test): Add more tests.
405 (catanh_test): Likewise.
407 * math/s_catanf.c (__catanf): Use suffixed floating-point
409 * math/s_catanhf.c (__catanhf): Likewise.
410 * math/s_catanhl.c (__catanhl): Likewise.
411 * math/s_catanl.c (__catanl): Likewise.
414 * math/s_catan.c (__catan): Calculate imaginary part of result
415 with log1p not log unless computing log of number close to 0.
416 * math/s_catanf.c (__catanf): Likewise.
417 * math/s_catanl.c (__catanl): Likewise.
418 * math/s_catanh.c (__catanh): Calculate real part of result with
419 log1p not log unless computing log of number close to 0.
420 * math/s_catanhf.c (__catanhf): Likewise.
421 * math/s_catanhl.c (__catanhl): Likewise.
422 * math/libm-test.inc (catan_test): Add more tests.
423 (catanh_test): Likewise.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
427 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
429 * benchtests/Makefile: Mention files in which fast and slow
430 paths of math functions are implemented.
432 2013-04-23 Roland McGrath <roland@hack.frob.com>
434 * sysdeps/posix/timespec_get.c: New file.
436 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
440 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
442 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
443 powerpc/power5/fpu folders.
444 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
445 * benchtests/Makefile: Add modf testcase.
446 * benchtests/bench-modf.c: New file: Benchmark test for mo
448 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
451 * time/Makefile (tests): Add tst-strptime-whitespace.
452 * time/strptime_l.c (get_number): Use ISSPACE.
453 (__strptime_internal): Likewise.
454 * time/tst-strptime-whitespace.c: New test case.
456 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
458 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
460 (_nss_files_init): Set it here.
462 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
464 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
465 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
468 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
470 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
472 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
477 2013-04-21 David S. Miller <davem@davemloft.net>
479 * po/ru.po: Update Russion translation from translation project.
481 2013-04-17 Adam Conrad <adconrad@0c3.net>
483 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
486 2013-04-17 Carlos O'Donell <carlos@redhat.com>
488 * configure.in: Remove i386 configure warning. Remove i386 case.
489 * configure: Regenerate.
490 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
491 Add example to error message.
492 * sysdeps/i386/configure: Regenerate.
494 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
496 * benchtests/Makefile (bench): Add cos, tan, slowcos and
498 * benchtests/cos-inputs: New file.
499 * benchtests/slowcos-inputs: New file.
500 * benchtests/slowcos.c: New file.
501 * benchtests/slowtan-inputs: New file.
502 * benchtests/slowtan.c: New file.
503 * benchtests/tan-inputs: New file.
505 2013-04-16 Roland McGrath <roland@hack.frob.com>
507 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
510 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
512 * benchtests/Makefile: Include cppflags-iterator.mk to add
513 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
515 * Makefile.in (bench-clean): New target.
516 * benchtests/Makefile (bench-clean): Likewise.
518 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
520 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
522 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
524 * stdio-common/tstdiomisc.c: Fix coding-style violation.
526 2013-04-15 Andreas Schwab <schwab@suse.de>
528 * nscd/grpcache.c (cache_addgr): Properly check for short write.
529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
530 * nscd/pwdcache.c (cache_addpw): Likewise.
531 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
534 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
536 * benchtests/Makefile (bench): Write all output to
537 bench-out.tmp together.
539 2013-04-15 Andreas Schwab <schwab@suse.de>
541 * nscd/nscd.c (main): Don't fork again after closing files.
543 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
545 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
547 * benchtests/Rules (bench-deps): Collect dependencies into a
548 single variable. Add Makefile to dependencies.
549 ($(objpfx)bench-%.c): Depend on bench-deps.
551 2013-04-12 Roland McGrath <roland@hack.frob.com>
552 Xavier Roche <roche+kml2@exalead.com>
555 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
556 just that it's a file descriptor.
557 * manual/llio.texi (Synchronizing AIO Operations): Update description
558 for EBADF error from aio_fsync.
560 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
562 * Rules (bench): Move target definition...
563 * benchtests/Makefile: ... here.
565 2013-04-11 Carlos O'Donell <carlos@redhat.com>
567 * math/libm-test.inc (cos_test): Fix PI/2 test.
568 (sincos_test): Likewise.
569 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
570 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
572 2013-04-11 Andreas Schwab <schwab@suse.de>
575 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
576 accept exponent character only when digits were seen.
577 * stdio-common/Makefile (tests): Add bug26.
578 * stdio-common/bug26.c: New file.
581 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
584 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
586 * Makeconfig (rtld-prefix): Define built linker prefix.
587 * Rules (run-bench): Use it.
588 * math/Makefile (run-regen-ulps): Likewise.
590 * Rules (bench): Remove eval.
592 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
593 Roland McGrath <roland@hack.frob.com>
594 Ondrej Bilka <neleai@seznam.cz>
597 * time/getdate.c: Include ctype.h and alloca.h.
598 (__getdate_r): Trim leading and trailing spaces of input.
599 * time/tst-getdate.c (tests): Add tests with leading and
602 2013-04-08 Roland McGrath <roland@hack.frob.com>
605 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
606 when computing value.
608 2013-04-06 Carlos O'Donell <carlos@redhat.com>
610 * math/README.libm-test (How can I generate "libm-test-ulps"?):
611 Use testrun.sh to run libm tests.
614 * elf/dl-open.c (dl_open_worker): memset all of seen array.
616 2013-04-06 Marko Myllynen <myllynen@redhat.com>
619 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
621 2013-04-06 Carlos O'Donell <carlos@redhat.com>
623 * Makefile.in (regen-ulps): New target.
624 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
625 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
626 [ifneq (no,$(PERL)] (regen-ulps): New target.
627 [ifeq (no,$(PERL)] (regen-ulps): New target.
628 * math/libm-test.inc (ulps_file_name): Define.
629 (output_dir): New variable.
630 (options): Add "output-dir" option.
631 (parse_opt): Handle 'o' case.
632 (main): If output_dir is non-NULL use it as a prefix
634 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
636 2013-04-06 Carlos O'Donell <carlos@redhat.com>
639 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
640 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
641 fail configure if __sync_val_compare_and_swap is not inlined.
642 * sysdeps/i386/configure: Regenerate.
643 * configure.in: Build for i686 when configured for i386.
644 * configure: Regenerate.
645 * README: Remove i386 reference.
647 2013-04-06 Carlos O'Donell <carlos@redhat.com>
649 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
652 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
654 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
655 (lmsnanval): New variables.
656 (F): Add conversion tests.
657 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
658 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
660 * stdio-common/tstdiomisc.c (F): Properly collect individual
664 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
665 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
666 Instead, use input NaN values or generate a qNaN by arithmetic
667 operation. Also fix bugs to comply with the standard.
668 * math/libm-test.inc (remainder_test): Add more tests.
671 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
673 input NaN values or generate a qNaN by arithmetic operation.
675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
678 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
681 2013-04-03 Joseph Myers <joseph@codesourcery.com>
684 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
686 * math/s_cexpf.c (__cexpf): Likewise.
687 * math/s_cexpl.c (__cexpl): Likewise.
688 * math/libm-test.inc (cexp_test): Add more tests.
690 2013-04-03 Andreas Schwab <schwab@suse.de>
693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
694 order arrays from heap if bigger than alloca cutoff.
696 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
698 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
699 (SNAN_TESTS_double): Refer to GCC PR56831.
700 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
703 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
705 * Rules (bench): Move bench.out after the run is complete.
707 * Rules (bench): Echo currently running benchmark.
709 * benchtests/Makefile (bench): Add atan and slowatan.
710 * benchtests/atan-inputs: New file.
711 * benchtests/slowatan-inputs: New file.
712 * benchtests/slowatan.c: New file.
714 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
719 * sysdeps/unix/sysv/linux/kernel-features.h
720 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
721 __ASSUME_XFS_RESTRICTED_CHOWN.
722 * sysdeps/unix/sysv/linux/pathconf.c
723 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
724 Save and restore errno.
726 2013-04-02 Joseph Myers <joseph@codesourcery.com>
729 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
730 arguments using __kernel_casinh.
731 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
732 arguments using __kernel_casinhf.
733 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
734 arguments using __kernel_casinhl.
735 * math/libm-test.inc (cacosh_test): Add more tests.
736 * sysdeps/i386/fpu/libm-test-ulps: Update.
737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
739 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
741 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
744 * bench/Makefile (bench): Add sin and slowsin.
745 * benchtests/sin-inputs: New file.
746 * benchtests/slowsin-inputs: New file.
747 * benchtests/slowsin.c: New file.
749 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
750 (bench): Add slowexp and slowpow.
751 (exp-ITER): Increase iterations.
752 (pow-ITER): Likewise.
753 * benchtests/exp-inputs: Change input.
754 * benchtests/pow-inputs: Likewise.
755 * benchtests/slowexp-inputs: New file.
756 * benchtests/slowexp.c: New file.
757 * benchtests/slowpow-inputs: New file.
758 * benchtests/slowpow.c: New file.
760 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
764 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
765 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
766 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
767 * benchtests/Makefile: Add rint benchtest.
768 * benchtests/rint-inputs: Input for rint benchtest.
770 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
772 * Versions.def (libm): Add GLIBC_2.18.
773 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
774 hidden libm prototypes.
775 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
776 * math/Makefile (libm-calls): Add s_issignaling.
777 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
778 __issignalingf, __issignalingl. Adjust all libm.abilist files.
779 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
781 * math/math.h [__USE_GNU] (issignaling): New macro.
782 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
783 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
784 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
785 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
786 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
788 * manual/arith.texi (issignaling): New section.
789 * manual/libm-err-tab.pl (@all_functions): Update comment.
790 * math/gen-libm-test.pl (parse_args): Apply special handling for
792 * math/libm-test.inc (print_float, issignaling_test): New
794 (check_float_internal): Add issignaling checks.
795 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
797 * sysdeps/powerpc/math-tests.h: New file.
798 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
800 * math/test-snan.c (TEST_FUNC): Likewise.
802 2013-03-30 David S. Miller <davem@davemloft.net>
804 * po/de.po: Update from translation team.
806 2013-03-30 Joseph Myers <joseph@codesourcery.com>
809 * math/k_casinh.c (__kernel_casinh): Handle arguments with
810 imaginary part less than 1.0 and real part less than 0.5
812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
814 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
815 (cacos_test): Add more tests.
816 (casin_test): Likewise.
817 (casinh_test): Likewise.
818 * sysdeps/i386/fpu/libm-test-ulps: Update.
819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
821 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
823 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
826 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
827 (__pow_mp): Replace ONE and MONE with their values.
828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
829 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
830 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
831 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
832 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
835 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
837 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
838 (__pow_mp): Replace ZERO and MZERO with their values.
839 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
841 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
843 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
844 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
847 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
849 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
851 2013-03-28 Roland McGrath <roland@hack.frob.com>
853 * include/stdlib.h [!SHARED] (__call_tls_dtors):
854 Declare with __attribute__ ((weak)).
855 * stdlib/exit.c (__libc_atexit) [!SHARED]:
856 Call __call_tls_dtors only if it's not NULL.
858 2013-03-28 Roland McGrath <roland@hack.frob.com>
860 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
861 didn't do it already, then set _dl_phdr and _dl_phnum based on the
862 magic __ehdr_start linker symbol if it's defined.
863 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
864 them up here if it was already done.
866 * elf/dl-support.c (_dl_phdr): Make pointer to const.
867 (_dl_aux_init): Use const in cast when setting it.
868 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
869 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
870 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
872 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
874 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
875 * csu/libc-tls.c: Nor here.
876 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
878 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
879 (__libc_message): Never call vsyslog.
881 2013-03-28 Alan Modra <amodra@gmail.com>
883 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
885 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
888 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
895 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
898 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
899 Don't add gid passed as argument.
901 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
903 2013-03-27 Joseph Myers <joseph@codesourcery.com>
906 * math/k_casinh.c (__kernel_casinh): Handle arguments with
907 imaginary part between 1.0 and 1.5 and real part less than 0.5
909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
911 * math/libm-test.inc (cacos_test): Add more tests.
912 (casin_test): Likewise.
913 (casinh_test): Likewise.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
917 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
919 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
923 (__dbl_mp): Likewise.
924 (add_magnitudes): Likewise.
925 (sub_magnitudes): Likewise.
933 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
935 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
936 (__dubcos): Likewise.
937 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
938 (__ieee754_acos): Likewise.
939 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
940 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
946 (checkint): Likewise.
947 * sysdeps/ieee754/dbl-64/e_remainder.c
948 (__ieee754_remainder): Likewise.
949 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
952 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
954 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
955 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
956 MANTISSA_STORE_T to store computations on mantissa. Use
957 macros for rounding and division.
959 (__dbl_mp): Likewise.
960 (add_magnitudes): Likewise.
961 (sub_magnitudes): Likewise.
964 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
965 powers of two in terms of TWOPOW macro.
966 (mp_no): Make type of mantissa as MANTISSA_T.
967 [!RADIXI]: Define RADIXI.
968 [!TWO52]: Define TWO52.
969 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
971 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
974 llroundl symbol when building for PPC32.
976 2013-03-24 Mark H Weaver <mhw@netris.org>
978 * manual/arith.texi (Normalization Functions): Fix prototypes for
979 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
981 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
985 high value to check if expl overflow.
986 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
987 to check for underflow and overflow.
988 * math/libm-test.inc: Add exp test.
990 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
993 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
996 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
998 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1001 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1003 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1004 wrap blocks consisting of several statements.
1006 * sysdeps/generic/math-tests.h: New file.
1007 * sysdeps/i386/fpu/math-tests.h: Likewise.
1008 * math/test-snan.c: Include it.
1009 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1011 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1014 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1015 (__ieee754_j0l): Do not improve calculations using cos of twice
1016 input for inputs above LDBL_MAX / 2.0L.
1017 (__ieee754_y0l): Likewise.
1018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1019 (__ieee754_j1l): Do not improve calculations using cos of twice
1020 input for inputs above LDBL_MAX / 2.0L.
1021 (__ieee754_y1l): Likewise.
1022 * math/libm-test.inc (j0_test): Add another test.
1023 (j1_test): Likewise.
1024 (y0_test): Likewise.
1025 (y1_test): Likewise.
1026 * sysdeps/i386/fpu/libm-test-ulps: Update.
1028 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1030 * Rules ($(objpfx)bench-%.c): Include code from a C source
1033 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1036 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1037 imaginary part 1.0 and real part less than 0.5 specially.
1038 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1039 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1040 * math/libm-test.inc (cacos_test): Add more tests.
1041 (casin_test): Likewise.
1042 (casinh_test): Likewise.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1046 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1048 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1049 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1051 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1053 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1054 * config.make.in (config-cflags-sse4): Remove variable.
1055 (config-cflags-avx): Likewise.
1056 (config-cflags-sse2avx): Likewise.
1057 (config-cflags-novzeroupper): Likewise.
1058 (config-asflags-i686): Likewise.
1059 (have-mfma4): Likewise.
1060 (have-as-vis3): Likewise.
1062 * configure.in (MIG): Do not AC_SUBST.
1063 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1064 (libc_cv_cc_sse4): Do not AC_SUBST.
1065 (libc_cv_cc_avx): Likewise.
1066 (libc_cv_cc_sse2avx): Likewise.
1067 (libc_cv_cc_novzeroupper): Likewise.
1068 (libc_cv_cc_fma4): Likewise.
1069 (libc_cv_as_i686): Likewise.
1070 (libc_cv_sparc_as_vis3): Likewise.
1071 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1073 (config-asflags-i686): Likewise.
1074 (config-cflags-avx): Likewise.
1075 (config-cflags-sse2avx): Likewise.
1076 (have-mfma4): Likewise.
1077 (config-cflags-novzeroupper): Likewise.
1078 * sysdeps/mach/configure.in (MIG): Likewise.
1079 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1080 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1082 (config-cflags-avx): Likewise.
1083 (config-cflags-sse2avx): Likewise.
1084 (have-mfma4): Likewise.
1085 (config-cflags-novzeroupper): Likewise.
1086 * configure: Regenerated.
1087 * sysdeps/i386/configure: Likewise.
1088 * sysdeps/mach/configure: Likewise.
1089 * sysdeps/sparc/configure: Likewise.
1090 * sysdeps/x86_64/configure: Likewise.
1092 2013-03-20 Roland McGrath <roland@hack.frob.com>
1095 * locale/programs/localedef.c (options): Put N_ translation marker
1096 on argument names, not just descriptions.
1098 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1100 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1102 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1105 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1107 2013-03-19 Roland McGrath <roland@hack.frob.com>
1109 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1110 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1111 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1112 [!BEFORE_ABORT] (before_abort): New function.
1113 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1114 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1115 (writev_for_fatal): New function.
1116 (WRITEV_FOR_FATAL): New macro; call that.
1117 (backtrace_and_maps): New function.
1118 (BEFORE_ABORT): New macro; call that.
1119 (struct str_list): Type removed.
1120 (__libc_message, __libc_fatal): Functions removed.
1121 Include <sysdeps/posix/libc_fatal.c> instead.
1123 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1125 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1127 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1130 2013-03-19 Andreas Schwab <schwab@suse.de>
1132 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1133 * sysdeps/gnu/configure: Regenerate.
1135 * configure.in: Substitute libc_cv_rtlddir.
1136 * configure: Regenerate.
1137 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1138 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1139 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1140 * elf/Makefile (install-others, CFLAGS-interp.c)
1141 (ldso_install, common-ldd-rewrite): Likewise.
1142 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1143 $(inst_slibdir)/$(rtld-installed-name).
1144 * scripts/rellns-sh: Add -p option.
1145 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1148 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1150 * manual/nptl.texi: Renamed to ...
1151 * manual/threads.texi: ... this.
1152 * manual/Makefile (chapters): Update.
1154 2013-03-18 Roland McGrath <roland@hack.frob.com>
1157 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1158 on argument names, not just descriptions.
1159 * malloc/memusagestat.c (options): Likewise.
1160 * nss/getent.c (options): Likewise.
1162 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1165 * iconv/iconv_prog.c (options): Put N_ translation marker
1166 on argument names, not just descriptions.
1167 * iconv/iconvconfig.c (options): Likewise.
1169 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1171 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1172 implementation which is faster on all x86_64 architectures.
1173 Tested on AMD, Intel Nehalem, SNB, IVB.
1174 * sysdeps/x86_64/strnlen.S: Likewise.
1176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1177 Remove all multiarch strlen and strnlen versions.
1178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1179 Remove strlen and strnlen related parts.
1181 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1183 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1185 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1186 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1188 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1189 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1190 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1192 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1194 * manual/memory.texi (Malloc Tunable Parameters):
1195 Sort parameters alphabetically. Add comments for missing entries.
1197 2013-03-17 David S. Miller <davem@davemloft.net>
1199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1201 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1204 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1205 for arguments at most half maximum finite value.
1206 * math/libm-test.inc (j0_test): Add more tests.
1207 (j1_test): Likewise.
1208 (y0_test): Likewise.
1209 (y1_test): Likewise.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1215 1 / x and functions P and Q for arguments above 0x1p256L.
1216 (__ieee754_y0l): Likewise.
1217 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1218 (__ieee754_y1l): Likewise.
1219 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1220 (j1_test): Likewise.
1221 (y0_test): Likewise.
1222 (y1_test): Likewise.
1224 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1226 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1229 2013-03-15 Roland McGrath <roland@hack.frob.com>
1231 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1232 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1233 zero since it's initialized to EXEC_PAGESIZE.
1235 * sysdeps/unix/sysv/linux/ldsodefs.h
1236 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1237 * sysdeps/generic/ldsodefs.h: ... here.
1239 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1241 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1243 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1245 * math/test-snan.c: Renamed from
1246 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1247 * math/Makefile (tests): Add test-snan.
1248 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1251 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1252 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1254 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1255 __builtin_nan family of functions.
1256 * math/libm-test.inc (initialize): Initialize qnan_value with
1257 __builtin_nan family of functions.
1258 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1260 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1262 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1263 storage class. Initialize qNaN_var and sNaN_var with
1264 __builtin_nan and __builtin_nans families of functions,
1267 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1268 (sqrt_test): Remove duplicate test with qNaN input.
1269 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1270 (round_test, signbit_test, significand_test): Note missing +/-Inf
1271 as well as qNaN tests.
1273 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1274 qNaN_var. Fix a few strings, too.
1275 * math/libm-test.inc (nan_value): Rename to qnan_value.
1276 * math/gen-libm-test.pl (%beautify): Adjust to that.
1277 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1278 * math/test-misc.c (main): Likewise.
1279 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1280 to __qnan_bytes, and __qnan_union, respectively.
1281 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1283 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1284 and lqnanval, respectively.
1285 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1286 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1287 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1288 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1290 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1291 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1294 * math/test-misc.c (main): Fix copy'n'pastos.
1295 * misc/tst-efgcvt.c (special): Likewise.
1297 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1298 Remove declarations.
1300 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1303 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1304 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1305 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1307 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1310 macro to return vdso values correctly in IFUNC implementations.
1311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1312 Optimization by using IFUNC.
1314 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1315 Richard Henderson <rth@redhat.com>
1316 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1318 * Makefile.in (bench): New target.
1319 * NEWS: Mention the benchmark framework.
1320 * Rules (bench): Likewise.
1321 (binaries-bench): Generate binaries for functions to
1323 * benchtests/Makefile: New makefile for benchmark tests.
1324 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1326 * benchtests/exp-inputs: New input file for EXP function.
1327 * benchtests/pow-inputs: New input file for POW function.
1328 * scripts/bench.pl: New script to generate source files for
1331 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1333 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1334 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1335 computations on mantissa. Use macros for rounding and
1338 (__dbl_mp): Likewise.
1339 (add_magnitudes): Likewise.
1340 (sub_magnitudes): Likewise.
1343 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1344 powers of two in terms of TWOPOW macro.
1345 (mp_no): Make type of mantissa as MANTISSA_T.
1346 [!RADIXI]: Define RADIXI.
1347 [!TWO52]: Define TWO52.
1348 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1350 * manual/nptl.texi (cindex): Modify threads to pthreads.
1352 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1354 * sysdeps/x86_64/preconfigure: Regenerated.
1356 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1359 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1361 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1362 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1364 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1365 * math/libm-test.inc (j0_test): Do not allow one spurious
1366 underflow exception.
1367 (y1_test): Likewise.
1369 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 * manual/Makefile (chapters): Add nptl.
1372 * manual/debug.texi (Debugging Support): Add link to Threads
1374 * manual/nptl.texi: New file.
1376 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1378 2013-03-14 Petr Baudis <pasky@ucw.cz>
1380 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1381 for non-NULL pointer before the memory validity test. Pointed
1382 out by Holger Brunck <holger.brunck@keymile.com>.
1384 2013-03-13 Andreas Schwab <schwab@suse.de>
1386 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1389 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1391 * timezone/zic.c: Update from tzcode 2013b.
1393 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1395 * manual/install.texi (Configuring and compiling):
1396 Mention i686 and i586.
1397 * INSTALL: Regenerate.
1399 2013-03-12 Roland McGrath <roland@hack.frob.com>
1401 * sysdeps/init_array/elf-init.c: New file.
1403 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1404 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1406 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1407 __gmon_start__ as global, but as static with a .preinit_array pointer.
1408 * sysdeps/init_array/gmon-start.c: New file. Use that.
1409 * sysdeps/init_array/crti.S: New file, empty except for comments.
1410 * sysdeps/init_array/crtn.S: Likewise.
1412 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1414 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1417 Remove Prefer_SSE_for_memop.
1418 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1419 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1420 HAS_PREFER_SSE_FOR_MEMOP.
1421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1424 Remove bzero, memset ifunc support.
1425 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1426 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1427 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1428 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1430 2013-03-11 Andreas Schwab <schwab@suse.de>
1433 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1436 (GLIBC_2.16): Remove pthread_atfork.
1438 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1440 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1441 (ptestcases.h): Likewise.
1443 2013-03-08 Roland McGrath <roland@hack.frob.com>
1445 * Makeconfig ($(common-objpfx)config.status): Depend on
1446 sysdeps/*/preconfigure{,.in} too.
1448 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1450 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1451 (__free_hook): Use void * instead of __malloc_ptr_t.
1452 (__malloc_hook): Likewise.
1453 (__realloc_hook): Likewise.
1454 (__memalign_hook): Likewise.
1455 (__after_morecore_hook): Likewise.
1456 * malloc/arena.c (save_malloc_hook): Likewise.
1457 (save_free_hook): Likewise.
1458 * malloc/hooks.c (malloc_hook_ini): Likewise.
1459 (realloc_hook_ini): Likewise.
1460 (memalign_hook_ini): Likewise.
1461 * malloc/malloc.c (malloc_hook_ini): Likewise.
1462 (realloc_hook_ini): Likewise.
1463 (memalign_hook_ini): Likewise.
1464 (__free_hook): Likewise.
1465 (__malloc_hook): Likewise.
1466 (__realloc_hook): Likewise.
1467 (__memalign_hook): Likewise.
1468 (__libc_malloc): Likewise.
1469 (__libc_free): Likewise.
1470 (__libc_realloc): Likewise.
1471 (__libc_memalign): Likewise.
1472 (__libc_valloc): Likewise.
1473 (__libc_pvalloc): Likewise.
1474 (__libc_calloc): Likewise.
1475 (__posix_memalign): Likewise.
1476 * malloc/morecore.c (__sbrk): Likewise.
1477 (__default_morecore): Likewise.
1479 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1481 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1482 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1485 * malloc/malloc.h (__malloc_size_t): Remove macro.
1486 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1488 (old_memalign_hook): Likewise.
1489 (old_realloc_hook): Likewise.
1490 (struct hdr): Likewise.
1492 (mallochook): Likewise.
1493 (memalignhook): Likewise.
1494 (reallochook): Likewise.
1495 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1496 (tr_old_realloc_hook): Likewise.
1497 (tr_old_memalign_hook): Likewise.
1498 (tr_mallochook): Likewise.
1499 (tr_reallochook): Likewise.
1500 (tr_memalignhook): Likewise.
1502 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1505 default_ldbl_pack and using as default implementation.
1506 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1508 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1509 redundant definition.
1510 (ldbl_insert_mantissa): Likewise.
1511 (ldbl_canonicalize): Likewise.
1512 (ldbl_nearbyint): Likewise.
1513 (ldbl_pack): Rename to ldbl_pack_ppc.
1514 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1515 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1516 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1518 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1521 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1523 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1525 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1526 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1527 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1529 2013-03-07 Andreas Jaeger <aj@suse.de>
1531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1534 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1536 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1537 Include mpa.h and declare __MPEXP.
1538 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1540 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1541 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1542 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1543 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1544 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1546 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1547 (__slowpow): Use long double EXPL and LOGL functions to
1549 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1550 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1552 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1553 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1554 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1557 intermediate variable to calculate exponent.
1559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1563 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1564 [!NO__SQR]: Define __sqr.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1566 and NO__SQR. Remove all code except __mul and __sqr. Include
1567 sysdeps/ieee754/dbl-64/mpa.c.
1568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1571 * posix/Makefile (tests): Add tst-pathconf.
1572 * posix/tst-pathconf.c: New test case.
1573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1575 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1577 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1579 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1581 2013-03-06 Andreas Jaeger <aj@suse.de>
1583 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1584 definition via __MAP_ANONYMOUS.
1586 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1587 it's not part of Linux headers.
1589 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1590 (MAP_HUGE_MASK): Define.
1592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1594 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1597 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1598 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1600 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1601 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1603 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1605 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1606 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1607 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1608 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1609 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1610 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1612 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1616 Handle f2fs and efivarfs.
1618 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1621 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1622 (EFIVARFS_MAGIC): Add.
1623 (F2FS_LINK_MAX): Add.
1625 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1627 * stdio-common/vfprintf.c: Replace __builtin_expect with
1630 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1633 * sysdeps/generic/bp-sym.h: Remove file.
1634 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1635 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1636 <bp-sym.h> and <bp-asm.h>.
1637 (__longjmp): Don't use BP_SYM.
1638 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1640 (memcpy): Don't use BP_SYM.
1641 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1642 <bp-sym.h> and <bp-asm.h>.
1643 (memcpy): Don't use BP_SYM.
1644 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1646 (memcpy): Don't use BP_SYM.
1647 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1649 (memset): Don't use BP_SYM.
1650 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1651 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1652 (__bzero): Don't use BP_SYM.
1653 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1654 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1655 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1656 <bp-sym.h> and <bp-asm.h>.
1657 (memcmp): Don't use BP_SYM. Remove comment about bounded
1659 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1660 <bp-sym.h> and <bp-asm.h>.
1661 (memcpy): Don't use BP_SYM.
1662 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1663 <bp-sym.h> and <bp-asm.h>.
1664 (memset): Don't use BP_SYM.
1665 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1666 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1667 (__bzero): Don't use BP_SYM.
1668 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1669 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1670 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1671 <bp-sym.h> and <bp-asm.h>.
1672 (strncmp): Don't use BP_SYM. Remove comment about bounded
1674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1675 <bp-sym.h> and <bp-asm.h>.
1676 (memcpy): Don't use BP_SYM.
1677 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1678 <bp-sym.h> and <bp-asm.h>.
1679 (memset): Don't use BP_SYM.
1680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1682 (__bzero): Don't use BP_SYM.
1683 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1684 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1685 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1686 <bp-sym.h> and <bp-asm.h>.
1687 (__memchr): Don't use BP_SYM.
1688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1689 <bp-sym.h> and <bp-asm.h>.
1690 (memcmp): Don't use BP_SYM. Remove comment about bounded
1692 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1693 <bp-sym.h> and <bp-asm.h>.
1694 (memcpy): Don't use BP_SYM.
1695 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1696 <bp-sym.h> and <bp-asm.h>.
1697 (__mempcpy): Don't use BP_SYM.
1698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1699 <bp-sym.h> and <bp-asm.h>.
1700 (__memrchr): Don't use BP_SYM.
1701 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1702 <bp-sym.h> and <bp-asm.h>.
1703 (memset): Don't use BP_SYM.
1704 (__bzero): Likewise.
1705 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1706 <bp-sym.h> and <bp-asm.h>.
1707 (__rawmemchr): Don't use BP_SYM.
1708 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1709 <bp-sym.h> and <bp-asm.h>.
1710 (__STRCMP): Don't use BP_SYM.
1711 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1712 <bp-sym.h> and <bp-asm.h>.
1713 (strchr): Don't use BP_SYM.
1714 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1715 <bp-sym.h> and <bp-asm.h>.
1716 (__strchrnul): Don't use BP_SYM.
1717 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1718 <bp-sym.h> and <bp-asm.h>.
1719 (strlen): Don't use BP_SYM.
1720 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1721 <bp-sym.h> and <bp-asm.h>.
1722 (strncmp): Don't use BP_SYM. Remove comment about bounded
1724 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1725 <bp-sym.h> and <bp-asm.h>.
1726 (__strnlen): Don't use BP_SYM.
1727 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1728 <bp-sym.h> and <bp-asm.h>.
1729 (__GI__setjmp): Don't use BP_SYM.
1730 (_setjmp): Likewise.
1731 (__sigsetjmp): Likewise.
1732 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1733 (L(start_addresses)): Don't use BP_SYM.
1735 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1737 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1738 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1739 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1740 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1741 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1743 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1744 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1745 about bounded pointers.
1746 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1747 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1748 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1750 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1751 about bounded pointers. Remove GKM FIXME comments.
1752 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1753 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1755 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1756 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1757 Remove GKM FIXME comments.
1758 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1759 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1760 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1762 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1763 about bounded pointers. Remove GKM FIXME comment.
1764 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1766 (strncmp): Don't use BP_SYM. Remove comment about bounded
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1769 <bp-sym.h> and <bp-asm.h>.
1770 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1772 <bp-sym.h> and <bp-asm.h>.
1773 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1776 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1778 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1781 2013-03-05 David S. Miller <davem@davemloft.net>
1783 * po/es.po: Update from translation team.
1785 2013-03-05 Andreas Jaeger <aj@suse.de>
1787 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1788 <bits/mman-linux.h>.
1789 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1792 <bits/mman-linux.h> to end of file.
1793 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1795 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1796 <bits/mman-linux.h> to end of file.
1797 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1800 <bits/mman-linux.h> to end of file.
1802 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1803 (MCL_CURRENT, MCL_FUTURE): Define here.
1805 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1810 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1812 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1814 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1815 fourth parameter needed for rt_sigprocmask syscall.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1817 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1818 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1820 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1821 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1823 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1826 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1827 comment about bounded pointers.
1828 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1829 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1831 2013-03-04 Andreas Jaeger <aj@suse.de>
1833 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1837 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1838 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1839 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1840 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1843 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1847 __ieee754_sqrl instead of __sqrl.
1849 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1851 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1852 * sysdeps/powerpc/fpu_control.h: ... here.
1853 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1854 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1855 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1856 * sysdeps/powerpc/bits/mathinline.h: ... here.
1858 2013-03-01 Roland McGrath <roland@hack.frob.com>
1860 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1861 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1862 to just [NEED_DL_SYSINFO_DSO].
1863 * elf/dl-support.c: Likewise.
1864 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1865 * elf/rtld.c (dl_main): Likewise.
1866 * elf/setup-vdso.h (setup_vdso): Likewise.
1867 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1868 * sysdeps/unix/sysv/linux/dl-sysdep.c
1869 (_dl_discover_osversion): Likewise.
1871 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1873 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1874 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1876 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1878 * NEWS: Mention libm performance improvements and non-x86 PI
1881 * csu/libc-start.c (__pthread_initialize_minimal): Change
1883 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1885 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1889 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1890 <bp-sym.h> and <bp-asm.h>.
1891 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1892 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1894 (memcpy): Don't use BP_SYM.
1895 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1897 (__mpn_add_n): Don't use BP_SYM.
1898 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1899 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1901 (__mpn_addmul_1): Don't use BP_SYM.
1902 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1903 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1905 (_setjmp): Don't use BP_SYM.
1906 (__novmx_setjmp): Likewise.
1907 (__GI__setjmp): Likewise.
1908 (__vmx_setjmp): Likewise.
1909 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1911 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1912 (__bzero): Don't use BP_SYM.
1913 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1914 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1915 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1916 <bp-sym.h> and <bp-asm.h>.
1917 (memcpy): Don't use BP_SYM.
1918 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1919 <bp-sym.h> and <bp-asm.h>.
1920 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1921 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1922 <bp-sym.h> and <bp-asm.h>.
1923 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1924 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1926 (__mpn_lshift): Don't use BP_SYM.
1927 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1928 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1930 (memset): Don't use BP_SYM.
1931 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1932 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1933 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1935 (__mpn_mul_1): Don't use BP_SYM.
1936 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1938 <bp-sym.h> and <bp-asm.h>.
1939 (memcmp): Don't use BP_SYM.
1940 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1941 <bp-sym.h> and <bp-asm.h>.
1942 (memcpy): Don't use BP_SYM.
1943 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1944 <bp-sym.h> and <bp-asm.h>.
1945 (memset): Don't use BP_SYM.
1946 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1947 <bp-sym.h> and <bp-asm.h>.
1948 (strncmp): Don't use BP_SYM.
1949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1950 <bp-sym.h> and <bp-asm.h>.
1951 (memcpy): Don't use BP_SYM.
1952 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1953 <bp-sym.h> and <bp-asm.h>.
1954 (memset): Don't use BP_SYM.
1955 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1956 <bp-sym.h> and <bp-asm.h>.
1957 (__memchr): Don't use BP_SYM.
1958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1959 <bp-sym.h> and <bp-asm.h>.
1960 (memcmp): Don't use BP_SYM.
1961 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1962 <bp-sym.h> and <bp-asm.h>.
1963 (memcpy): Don't use BP_SYM.
1964 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1965 <bp-sym.h> and <bp-asm.h>.
1966 (__mempcpy): Don't use BP_SYM.
1967 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1968 <bp-sym.h> and <bp-asm.h>.
1969 (__memrchr): Don't use BP_SYM.
1970 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1971 <bp-sym.h> and <bp-asm.h>.
1972 (memset): Don't use BP_SYM.
1973 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1974 <bp-sym.h> and <bp-asm.h>.
1975 (__rawmemchr): Don't use BP_SYM.
1976 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1977 <bp-sym.h> and <bp-asm.h>.
1978 (__STRCMP): Don't use BP_SYM.
1979 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1980 <bp-sym.h> and <bp-asm.h>.
1981 (strchr): Don't use BP_SYM.
1982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1983 <bp-sym.h> and <bp-asm.h>.
1984 (__strchrnul): Don't use BP_SYM.
1985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1986 <bp-sym.h> and <bp-asm.h>.
1987 (strlen): Don't use BP_SYM.
1988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1989 <bp-sym.h> and <bp-asm.h>.
1990 (strncmp): Don't use BP_SYM.
1991 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1992 <bp-sym.h> and <bp-asm.h>.
1993 (__strnlen): Don't use BP_SYM.
1994 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1996 (__mpn_rshift): Don't use BP_SYM.
1997 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1999 <bp-sym.h> and <bp-asm.h>.
2000 (__sigsetjmp): Don't use BP_SYM.
2001 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2002 (L(start_addresses)): Don't use BP_SYM.
2004 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2006 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2007 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2008 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2009 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2011 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2012 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2014 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2016 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2018 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2019 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2021 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2023 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2024 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2025 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2027 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2029 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2031 (strncmp): Don't use BP_SYM,
2032 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2034 (__mpn_sub_n): Don't use BP_SYM.
2035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2036 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2038 (__mpn_submul_1): Don't use BP_SYM.
2039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2041 <bp-sym.h> and <bp-asm.h>.
2042 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2044 <bp-sym.h> and <bp-asm.h>.
2045 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2048 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2051 Use ZK to minimize writes to Z.
2052 (sub_magnitudes): Simplify code a bit.
2053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2054 Use ZK to minimize writes to Z.
2055 (sub_magnitudes): Simplify code a bit.
2057 2013-02-27 Roland McGrath <roland@hack.frob.com>
2059 * csu/gmon-start.c: Add special exception to license text.
2061 2013-02-27 Richard Henderson <rth@redhat.com>
2063 * scripts/config.guess: Update from config.git.
2064 * scripts/config.sub: Likewise.
2066 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2068 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2070 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2072 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2074 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2076 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2078 2013-02-26 Roland McGrath <roland@hack.frob.com>
2080 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2081 [$(build-shared = yes].
2083 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2085 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2086 (__mul): Reduce iterations for calculating mantissa.
2088 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2090 (__mpranred): Likewise.
2093 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2094 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2096 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2098 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2099 Define __attribute__.
2101 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2103 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2105 * posix/regex_internal.h (__attribute): Remove.
2106 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2107 (re_string_context_at): Likewise.
2108 (bitset_not): Use __attribute__ and mark function as possibly
2110 (bitset_merge): Likewise.
2111 (bitset_mask): Likewise.
2112 (re_string_char_size_at): Likewise.
2113 (re_string_wchar_at): Likewise.
2114 (re_string_elem_size_at): Likewise.
2116 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2118 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2122 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2127 (__dbl_mp): Likewise.
2128 (add_magnitudes): Likewise.
2129 (sub_magnitudes): Likewise.
2133 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2136 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2139 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2143 up changes with default code.
2144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2147 2013-02-24 Allan McRae <allan@archlinux.org>
2149 * manual/socket.texi (The Internet Namespace): Order menu items
2150 to match that in the file.
2152 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2153 node listing of the info page menu.
2155 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2158 * sysdeps/i386/bp-asm.h: Remove file.
2159 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2160 (PARMS): Do not use macros from bp-asm.h.
2164 (__mpn_add_n): Do not use BP_SYM
2165 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2167 (PARMS): Do not use macros from bp-asm.h.
2170 (__mpn_addmul_1): Do not use BP_SYM
2171 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2173 (PARMS): Do not use macros from bp-asm.h.
2175 (_setjmp): Likewise. Do not use BP_SYM.
2176 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2178 (PARMS): Do not use macros from bp-asm.h.
2180 (setjmp): Likewise. Do not use BP_SYM.
2181 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2183 (PARMS): Do not use macros from bp-asm.h.
2184 (__frexp): Do not use BP_SYM.
2186 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2188 (PARMS): Do not use macros from bp-asm.h.
2189 (__frexpf): Do not use BP_SYM.
2191 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2193 (PARMS): Do not use macros from bp-asm.h.
2194 (__frexpl): Do not use BP_SYM.
2196 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2198 (PARMS): Do not use macros from bp-asm.h.
2199 (__remquo): Do not use BP_SYM.
2201 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2203 (PARMS): Do not use macros from bp-asm.h.
2204 (__remquof): Do not use BP_SYM.
2205 (remquof): Likewise.
2206 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2208 (PARMS): Do not use macros from bp-asm.h.
2209 (__remquol): Do not use BP_SYM.
2210 (remquol): Likewise.
2211 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2213 (PARMS): Do not use macros from bp-asm.h.
2216 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2217 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2219 (PARMS): Do not use macros from bp-asm.h.
2220 (strlen): Do not use BP_SYM.
2221 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2223 (PARMS): Do not use macros from bp-asm.h.
2227 (__mpn_add_n): Do not use BP_SYM.
2228 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2230 (PARMS): Do not use macros from bp-asm.h.
2233 (__mpn_addmul_1): Do not use BP_SYM.
2234 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2237 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2239 (PARMS): Do not use macros from bp-asm.h.
2242 (__mpn_lshift): Do not use BP_SYM.
2243 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2245 (PARMS): Do not use macros from bp-asm.h.
2249 (memcpy): Likewise. Do not use BP_SYM.
2250 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2251 libc_hidden_def and weak_alias.
2252 (mempcpy): Do not use BP_SYM in weak_alias.
2253 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2255 (PARMS): Do not use macros from bp-asm.h.
2258 [!BZERO_P] (CHR): Likewise.
2259 (memset): Likewise. Do not use BP_SYM.
2260 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2262 (PARMS): Do not use macros from bp-asm.h.
2265 (__mpn_mul_1): Do not use BP_SYM.
2266 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2268 (PARMS): Do not use macros from bp-asm.h.
2271 (__mpn_rshift): Do not use BP_SYM.
2272 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2274 (PARMS): Do not use macros from bp-asm.h.
2277 (strchr): Likewise. Do not use BP_SYM.
2278 (index): Do not use BP_SYM in weak_alias.
2279 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2281 (PARMS): Do not use macros from bp-asm.h.
2284 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2285 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2287 (PARMS): Do not use macros from bp-asm.h.
2288 (strlen): Do not use BP_SYM.
2289 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2291 (PARMS): Do not use macros from bp-asm.h.
2295 (__mpn_sub_n): Do not use BP_SYM.
2296 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2298 (PARMS): Do not use macros from bp-asm.h.
2301 (__mpn_submul_1): Do not use BP_SYM.
2302 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2304 (PARMS): Do not use macros from bp-asm.h.
2308 (__mpn_add_n): Do not use BP_SYM.
2309 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2312 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2314 (PARMS): Do not use macros from bp-asm.h.
2317 (memcmp): Do not use BP_SYM.
2318 (bcmp): Do not use BP_SYM in weak_alias.
2319 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2321 (PARMS): Do not use macros from bp-asm.h.
2325 (memcpy): Likewise. Do not use BP_SYM.
2326 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2328 (PARMS): Do not use macros from bp-asm.h.
2332 (memmove): Likewise. Do not use BP_SYM.
2333 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2335 (PARMS): Do not use macros from bp-asm.h.
2339 (__mempcpy): Likewise. Do not use BP_SYM.
2340 (mempcpy): Do not use BP_SYM in weak_alias.
2341 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2343 (PARMS): Do not use macros from bp-asm.h.
2346 [!BZERO_P] (CHR): Likewise.
2347 (memset): Likewise. Do not use BP_SYM.
2348 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2350 (PARMS): Do not use macros from bp-asm.h.
2352 (strcmp): Do not use BP_SYM.
2353 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2355 (PARMS): Do not use macros from bp-asm.h.
2358 [USE_AS_STRTOK_R] (SAVE): Likewise.
2359 (FUNCTION): Likewise. Do not use BP_SYM.
2360 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2362 (strtok_r): Likewise.
2363 (__GI___strtok_r): Likewise.
2364 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2365 (PARMS): Do not use macros from bp-asm.h.
2368 (__mpn_lshift): Do not use BP_SYM.
2369 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2370 (PARMS): Do not use macros from bp-asm.h.
2373 (__memchr): Do not use BP_SYM.
2374 (memchr): Do not use BP_SYM in weak_alias.
2375 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2376 (PARMS): Do not use macros from bp-asm.h.
2379 (memcmp): Do not use BP_SYM.
2380 (bcmp): Do not use BP_SYM in weak_alias.
2381 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2382 (PARMS): Do not use macros from bp-asm.h.
2385 (__mpn_mul_1): Do not use BP_SYM.
2386 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2388 (PARMS): Do not use macros from bp-asm.h.
2391 (__rawmemchr): Do not use BP_SYM.
2392 (rawmemchr): Do not use BP_SYM in weak_alias.
2393 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2394 (PARMS): Do not use macros from bp-asm.h.
2397 (__mpn_rshift): Do not use BP_SYM.
2398 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2399 (PARMS): Do not use macros from bp-asm.h.
2401 (__sigsetjmp): Likewise. Do not use BP_SYM.
2402 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2403 (_start): Do not use BP_SYM.
2404 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2405 (PARMS): Do not use macros from bp-asm.h.
2408 (__stpcpy): Likewise. Do not use BP_SYM.
2409 (stpcpy): Do not use BP_SYM in weak_alias.
2410 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2412 (PARMS): Do not use macros from bp-asm.h.
2416 (__stpncpy): Likewise. Do not use BP_SYM.
2417 (stpncpy): Do not use BP_SYM in weak_alias.
2418 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2419 (PARMS): Do not use macros from bp-asm.h.
2422 (strchr): Likewise. Do not use BP_SYM.
2423 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2425 (PARMS): Do not use macros from bp-asm.h.
2428 (__strchrnul): Likewise. Do not use BP_SYM.
2429 (strchrnul): Do not use BP_SYM in weak_alias.
2430 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2432 (PARMS): Do not use macros from bp-asm.h.
2434 (strcspn): Do not use BP_SYM.
2435 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2437 (PARMS): Do not use macros from bp-asm.h.
2440 (strpbrk): Likewise. Do not use BP_SYM.
2441 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2443 (PARMS): Do not use macros from bp-asm.h.
2446 (strrchr): Likewise. Do not use BP_SYM.
2447 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2448 (PARMS): Do not use macros from bp-asm.h.
2450 (strspn): Do not use BP_SYM.
2451 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2456 (FUNCTION): Likewise. Do not use BP_SYM.
2457 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2459 (strtok_r): Likewise.
2460 (__GI___strtok_r): Likewise.
2461 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2462 (PARMS): Do not use macros from bp-asm.h.
2466 (__mpn_sub_n): Do not use BP_SYM.
2467 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2469 (PARMS): Do not use macros from bp-asm.h.
2472 (__mpn_submul_1): Do not use BP_SYM.
2473 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2475 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2477 (PARMS): Do not use macros from bp-asm.h.
2482 (__clone): Do not use BP_SYM.
2483 (clone): Do not use BP_SYM in weak_alias.
2484 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2486 (PARMS): Do not use macros from bp-asm.h.
2488 (__mmap64): Do not use BP_SYM.
2489 (mmap64): Do not use BP_SYM in weak_alias.
2490 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2491 <bp-sym.h> and <bp-asm.h>.
2492 (PARMS): Do not use macros from bp-asm.h.
2493 (__posix_fadvise64_l64): Do not use BP_SYM.
2494 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2495 (PARMS): Do not use macros from bp-asm.h.
2497 (semtimedop): Do not use BP_SYM.
2498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2501 2013-02-21 Allan McRae <allan@archlinux.org>
2503 * manual/message.texi (Charset conversion in gettext):
2504 Move @end statement to beginning of line.
2506 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2518 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2520 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2521 tail-call to the resolved function if pltexit isn't needed.
2523 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2526 or Y being zero as being unlikely.
2527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2530 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2532 * manual/nss.texi (System Databases and Name Service Switch):
2533 Remove frobnicate @pxref.
2535 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2537 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2538 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2540 2013-02-20 Petr Machata <pmachata@redhat.com>
2542 * elf/elf.h (R_ARM_TARGET1): New macro.
2543 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2544 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2545 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2546 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2547 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2548 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2549 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2550 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2551 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2552 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2553 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2554 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2555 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2556 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2557 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2558 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2559 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2560 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2561 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2562 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2563 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2564 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2565 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2566 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2567 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2568 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2569 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2570 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2571 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2572 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2573 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2574 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2575 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2576 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2577 (R_ARM_THM_GOT_BREL12): Likewise.
2578 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2579 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2580 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2581 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2582 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2583 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2584 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2585 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2586 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2588 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2590 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2591 __attribute_used__ to __attribute__ ((unused)).
2593 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2601 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2604 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2606 (ENTER): Remove both macro definitions.
2608 (CHECK_BOUNDS_LOW): Likewise.
2609 (CHECK_BOUNDS_HIGH): Likewise.
2610 (CHECK_BOUNDS_BOTH): Likewise.
2611 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2612 (RETURN_BOUNDED_POINTER): Likewise.
2613 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2614 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2615 (POP_ERRNO_LOCATION_RETURN): Likewise.
2616 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2617 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2618 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2620 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2621 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2622 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2623 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2624 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2625 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2626 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2627 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2628 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2629 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2630 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2631 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2632 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2633 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2635 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2636 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2638 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2639 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2640 * sysdeps/i386/i586/memset.S (memset): Likewise.
2641 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2642 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2643 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2645 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2646 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2647 Change uses of L(2) to L(out).
2648 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2649 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2650 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2651 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2652 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2654 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2655 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2657 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2658 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2659 (RETURN): Do not use macro LEAVE.
2660 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2661 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2662 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2663 * sysdeps/i386/i686/memset.S (memset): Likewise.
2664 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2665 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2666 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2669 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2670 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2671 L(1_2) and L(1_3) into L(1).
2672 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2673 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2674 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2675 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2676 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2677 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2678 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2679 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2680 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2682 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2683 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2684 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2685 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2686 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2687 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2688 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2689 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2690 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2691 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2692 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2693 * sysdeps/i386/strspn.S (strspn): Likewise.
2694 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2696 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2697 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2698 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2699 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2701 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2702 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2703 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2705 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2707 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2709 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2712 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2714 * math/atest-exp.c (exp_mpn): Remove ROUND.
2715 * math/atest-exp2.c (exp_mpn): Likewise.
2716 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2718 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2719 * stdlib/tst-tls-atexit-lib.c: Likewise.
2720 * stdlib/tst-tls-atexit.c: Likewise.
2722 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2724 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2725 and __attribute_alloc_size__.
2727 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2729 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2730 __attribute_alloc_size__.
2731 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2732 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2734 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2736 * include/programs/xmalloc.h: New file.
2737 * catgets/gencat.c: Include it.
2738 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2739 * elf/pldd.c: Likewise.
2740 * iconv/iconv_charmap.c: Likewise.
2741 * iconv/iconvconfig.c: Likewise.
2742 * iconv/strtab.c: Likewise.
2743 * locale/programs/locale.c: Likewise.
2744 * locale/programs/localedef.h: Likewise.
2745 * locale/programs/simple-hash.c: Likewise.
2746 * nscd/nscd.h: Likewise.
2747 * nss/makedb.c: Likewise.
2748 * sysdeps/generic/ldconfig.h: Likewise.
2750 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2752 * Versions.def: Add GLIBC_2.18.
2753 * include/link.h (struct link_map): New member l_tls_dtor_count.
2754 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2755 (__call_tls_dtors): Likewise.
2756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2757 __cxa_thread_atexit_impl.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2774 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2775 (tests): Add test case tst-tls-atexit.
2776 (modules-names): Add shared library for tst-tls-atexit.
2777 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2778 (GLIBC_PRIVATE): Add __call_tls_dtors.
2779 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2781 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2782 * stdlib/tst-tls-atexit.c: New test case.
2783 * stdlib/tst-tls-atexit-lib.c: New test case.
2785 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2787 * elf/Versions (ld): Add _dl_find_dso_for_object.
2788 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2789 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2790 (dl_open_worker): Use _dl_find_dso_for_object.
2791 * elf/dl-sym.c (do_sym): Likewise.
2792 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2794 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2796 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2797 Syntactic changes only.
2798 (_dl_runtime_profile): Do a tail-call to the resolved function.
2800 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2803 * sysdeps/x86_64/bp-asm.h: Remove file.
2804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2805 <bp-sym.h> and <bp-asm.h>.
2806 (__clone): Do not use BP_SYM.
2807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2808 <bp-sym.h> and <bp-asm.h>.
2809 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2810 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2812 (_setjmp): Do not use BP_SYM.
2813 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2815 (setjmp): Do not use BP_SYM.
2816 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2818 (mempcpy): Do not use BP_SYM in weak_alias.
2819 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2821 (strchr): Do not use BP_SYM.
2822 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2824 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2825 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2826 (_start): Do not use BP_SYM.
2827 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2829 (strcat): Do not use BP_SYM.
2830 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2832 (STRCMP): Do not use BP_SYM.
2833 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2835 (STRCPY): Do not use BP_SYM.
2836 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2838 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2840 (FUNCTION): Do not use BP_SYM.
2841 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2843 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2845 2013-02-17 Andreas Jaeger <aj@suse.de>
2847 * time/Versions: Sort entries.
2848 * string/Versions: Likewise.
2849 * resolv/Versions: Likewise.
2850 * posix/Versions: Likewise.
2851 * iconv/Versions: Likewise.
2852 * elf/Versions: Likewise.
2853 * wcsmbs/Versions: Likewise.
2855 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2857 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2858 loop termination condition.
2860 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2861 variable to calculate EZ.
2864 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2865 the lower precision input.
2867 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2870 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2871 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2872 (run-via-rtld-prefix): Do not handle %-bp tests.
2873 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2874 (all-object-suffixes): Remove .ob.
2875 (bppfx): Remove variable.
2876 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2877 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2878 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2879 [$(build-bounded) = yes] (libtype.ob): Likewise.
2880 * Makerules (elide-routines.ob): Remove variable.
2881 (do-tests-clean): Do not handle *-bp.out.
2882 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2883 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2884 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2885 (tests): Do not include $(tests-bp.out).
2886 (xtests): Do not include $(xtests-bp.out).
2887 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2888 [$(build-bounded) = yes] ($(addprefix
2889 $(objpfx),$(binaries-bounded))): Remove rule.
2890 ($(objpfx)%-bp.out): Remove rule.
2891 * config.make.in (build-bounded): Remove variable.
2892 * crypt/Makefile [$(build-bounded) = yes]
2893 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2894 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2896 [$(build-bounded) = yes] (install-lib): Likewise.
2897 [$(build-bounded) = yes] (generated): Likewise.
2898 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2900 * intl/Makefile [$(build-bounded) = yes]
2901 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2902 * math/Makefile [$(build-bounded) = yes]
2903 ($(tests:%=$(objpfx)%-bp): Likewise.
2904 * misc/Makefile [$(build-bounded) = yes]
2905 ($(objpfx)tst-tsearch-bp): Likewise.
2906 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2907 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2909 * string/Makefile (o-objects.ob): Remove variable.
2910 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2911 (CFLAGS-.ob): Remove variable.
2912 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2913 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2914 both definitions of variable.
2915 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2916 (ASFLAGS-.ob): Remove variable.
2918 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2921 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2922 Remove __BOUNDED_POINTERS__ from condition.
2923 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2924 * string/bits/string2.h [!__NO_STRING_INLINES &&
2925 !__BOUNDED_POINTERS__]: Likewise.
2926 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2928 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2929 Remove conditional code.
2930 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2931 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2932 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2936 * csu/libc-start.c: Do not include <bp-sym.h>.
2937 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2938 * elf/dl-open.c: Do not include <bp-sym.h>.
2939 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2940 * math/fegetenv.c: Do not include <bp-sym.h>.
2941 (fegetenv): Do not use BP_SYM in versioned symbols.
2942 * nptl/sysdeps/pthread/bits/libc-lockP.h
2943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2946 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2948 (__pthread_mutex_destroy): Likewise.
2949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2950 (__pthread_mutex_lock): Likewise.
2951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2952 (__pthread_mutex_trylock): Likewise.
2953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2954 (__pthread_mutex_unlock): Likewise.
2955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2956 (__pthread_mutexattr_init): Likewise.
2957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2958 (__pthread_mutexattr_destroy): Likewise.
2959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2960 (__pthread_mutexattr_settype): Likewise.
2961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2962 (__pthread_rwlock_init): Likewise.
2963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2964 (__pthread_rwlock_destroy): Likewise.
2965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2966 (__pthread_rwlock_rdlock): Likewise.
2967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2968 (__pthread_rwlock_tryrdlock): Likewise.
2969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2970 (__pthread_rwlock_wrlock): Likewise.
2971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2972 (__pthread_rwlock_trywrlock): Likewise.
2973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2974 (__pthread_rwlock_unlock): Likewise.
2975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2976 (__pthread_key_create): Likewise.
2977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2978 (__pthread_setspecific): Likewise.
2979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2980 (__pthread_getspecific): Likewise.
2981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2984 (_pthread_cleanup_push_defer): Likewise.
2985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2986 (_pthread_cleanup_pop_restore): Likewise.
2987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2988 (pthread_setcancelstate): Likewise.
2989 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2991 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2992 (memchr): Do not use BP_SYM in weak_alias.
2993 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2994 (fegetenv): Do not use BP_SYM in versioned symbols.
2995 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2996 (fesetenv): Do not use BP_SYM in versioned symbols.
2997 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2998 (feupdateenv): Do not use BP_SYM in versioned symbols.
2999 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3000 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3001 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3002 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3003 (open64): Do not use BP_SYM in weak_alias.
3004 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3005 (fegetenv): Do not use BP_SYM in versioned symbols.
3006 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3007 (fesetenv): Do not use BP_SYM in versioned symbols.
3008 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3009 (feupdateenv): Do not use BP_SYM in versioned symbols.
3010 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3011 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3012 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3013 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3014 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3015 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3018 (__libc_start_main): Do not use BP_SYM.
3020 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3023 redundant return line.
3027 (sub_magnitudes): Likewise.
3033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3037 (sub_magnitudes): Likewise.
3044 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3046 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3047 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3050 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3051 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3053 of __mul for squares.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3058 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3061 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3064 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3066 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3067 prototype or function definition. Rename ubp_* variables and
3068 parameters. Remove argv definitions conditional on
3069 [__BOUNDED_POINTERS__].
3070 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3071 * elf/dl-runtime.c (_dl_fixup): Likewise.
3072 * include/set-hooks.h (RUN_HOOK): Likewise.
3073 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3075 * string/strcpy.c (strcpy): Do not use __unbounded.
3076 * sysdeps/generic/frame.h (struct layout): Likewise.
3077 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3078 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3079 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3080 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3081 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3082 (__backtrace): Likewise.
3083 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3085 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3086 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3087 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3089 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3090 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3091 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3092 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3093 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3094 Do not use __unbounded.
3095 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3096 Rename __unboundedrlimits parameter to rlimits in prototype.
3097 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3098 Do not use __unbounded.
3099 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3101 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3102 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3103 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3104 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3105 __ptrvalue or __unbounded.
3106 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3107 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3109 (__new_msgctl): Do not use __ptrvalue.
3110 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3112 (__libc_msgrcv): Do not use __ptrvalue.
3113 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3114 startup_info): Do not use __unbounded.
3115 (__libc_start_main): Likewise. Rename ubp_* variables and
3116 parameters. Remove argv definitions conditional on
3117 [__BOUNDED_POINTERS__].
3118 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3120 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3124 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3126 (__new_shmctl): Do not use __ptrvalue.
3127 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3128 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3130 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3132 (__libc_sigaction): Likewise.
3133 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3134 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3136 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3138 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3140 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3142 * string/mempcpy.c: Implement by calling memcpy.
3144 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3152 values in the mantissa.
3154 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3155 minimize writes to Z.
3156 (sub_magnitudes): Simplify code a bit.
3158 2013-02-12 Roland McGrath <roland@hack.frob.com>
3160 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3161 from the message. The linker prefixes all warnings with that already.
3163 2013-02-12 Andreas Schwab <schwab@suse.de>
3166 * posix/regexec.c (extend_buffers): Add parameter min_len.
3167 (check_matching): Pass minimum needed length.
3168 (clean_state_log_if_needed): Likewise.
3169 (get_subexp): Likewise.
3170 * posix/Makefile (tests): Add bug-regex34.
3171 (bug-regex34-ENV): Define.
3172 * posix/bug-regex34.c: New file.
3175 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3176 elements compare against the byte sequence of it, not its name.
3177 * posix/Makefile (tests): Add bug-regex35.
3178 (bug-regex35-ENV): Define.
3179 * posix/bug-regex35.c: New file.
3181 2013-02-11 Tom de Vries <tom@codesourcery.com>
3183 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3185 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3186 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3187 (CHECK_EOL): Add undef.
3189 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3191 * bits/stdlib-bsearch.h: New file.
3192 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3193 * stdlib/stdlib.h: Likewise.
3195 2013-02-11 Roland McGrath <roland@hack.frob.com>
3197 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3198 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3200 * manual/search.texi (Array Search Function): Add missing const in
3202 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3203 declaration to use rlim_t.
3204 (Basic Scheduling Functions): Remove erroneous const from
3205 sched_getparam prototype. Remove erroneous * from
3206 sched_get_priority_max and sched_get_priority_min prototypes.
3207 (Resource Usage): Fix summary @comment on vtimes to refer to
3208 sys/vtimes.h rather than vtimes.h.
3209 Add missing *s in vtimes prototype.
3210 (Limits on Resources): Fix ulimit prototype to return long int.
3211 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3212 prototypes to use long int rather than double.
3213 (BSD Random): Fix initstate and setstate to use char *, not void *.
3214 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3215 prototype to make second argument 'struct aiocb64 *const[]'.
3216 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3217 (Status of AIO Operations): Remove erroneous const in aio_return and
3218 aio_return64 prototypes.
3219 (Synchronizing I/O): Fix sync prototype to return void.
3220 * manual/startup.texi (Suboptions): Remove an erroneous const in
3221 getsubopt prototype.
3222 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3223 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3224 use size_t rather than int.
3225 (Scanning All Users): Likewise for getpwent_r.
3226 (Setting Groups): Add missing const to setgroups prototype.
3227 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3228 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3229 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3230 'const void *' rather than 'const char *'.
3231 (Host Address Functions): Likewise for inet_ntop.
3232 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3233 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3234 ssize_t for return value.
3235 (Sending Data): Likewise for send, sendto, sendmsg.
3236 (Socket Option Functions): Add a missing const in setsockopt prototype.
3237 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3238 use wchar_t for the argument.
3239 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3240 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3242 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3243 double/float/long double for second argument.
3244 Fix return types of significand, significandf, significandl.
3245 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3246 argument in fchmod prototype.
3247 (File Owner): Use uid_t and gid_t in fchown prototype.
3248 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3249 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3250 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3251 use 'const struct dirent **' as argument types to CMP function pointer
3253 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3254 (File Times): Fix summary magic @comment for struct utimbuf and utime
3255 to refer to utime.h, not time.h.
3256 * manual/string.texi (Argz Functions): Add missing const in
3257 argz_extract and argz_next prototypes.
3258 (Finding Tokens in a String): Likewise for basename.
3259 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3260 (Copying and Concatenation): Fix typo in wmemmove prototype.
3261 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3262 (Signal Stack): Remove erroneous const in sigstack prototype.
3263 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3265 (Simple Calendar Time): Likewise for stime.
3266 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3268 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3269 say sys/sysctl.h instead.
3270 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3271 and vsyslog prototypes.
3273 2013-02-11 Tom de Vries <tom@codesourcery.com>
3275 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3278 2013-02-11 Roland McGrath <roland@hack.frob.com>
3280 * misc/sys/mman.h: Fix typo in mremap comment.
3282 2013-02-08 Roland McGrath <roland@hack.frob.com>
3284 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3285 the '\0' terminator.
3287 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3290 * debug/segfault.c: Don't include <bp-checks.h>.
3291 * sysdeps/generic/bp-checks.h: Remove file.
3292 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3293 (__GETDENTS): Don't use CHECK_N.
3294 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3295 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3296 (__getgroups): Don't use CHECK_N.
3297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3298 (setgroups): Don't use CHECK_N.
3299 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3300 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3301 (__libc_msgrcv): Don't use CHECK_N.
3302 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3303 (__libc_msgsnd): Don't use CHECK_N.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3306 (__libc_pread): Don't use CHECK_N.
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3308 include <bp-checks.h>.
3309 (__libc_pread64): Don't use CHECK_N.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3311 include <bp-checks.h>.
3312 (__libc_pwrite): Don't use CHECK_N.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3314 include <bp-checks.h>.
3315 (__libc_pwrite64): Don't use CHECK_N.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3318 (__libc_pread): Don't use CHECK_N.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3320 include <bp-checks.h>.
3321 (__libc_pread64): Don't use CHECK_N.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3323 include <bp-checks.h>.
3324 (__libc_pwrite): Don't use CHECK_N.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3326 include <bp-checks.h>.
3327 (__libc_pwrite64): Don't use CHECK_N.
3328 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3329 (do_pread): Don't use CHECK_N.
3330 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3331 (do_pread64): Don't use CHECK_N.
3332 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3333 (do_pwrite): Don't use CHECK_N.
3334 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3335 (do_pwrite64): Don't use CHECK_N.
3336 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3337 (__libc_readv): Don't use CHECK_N.
3338 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3339 (semop): Don't use CHECK_N.
3340 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3342 (semtimedop): Don't use CHECK_N.
3343 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3344 (__libc_pread): Don't use CHECK_N.
3345 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3347 (__libc_pread64): Don't use CHECK_N.
3348 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3350 (__libc_pwrite): Don't use CHECK_N.
3351 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3353 (__libc_pwrite64): Don't use CHECK_N.
3354 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3356 (__libc_msgrcv): Don't use CHECK_N.
3357 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3358 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3359 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3360 (__libc_writev): Don't use CHECK_N.
3362 2013-02-08 Roland McGrath <roland@hack.frob.com>
3364 * string/strcpy.c: Removed unused variable.
3366 * Makeconfig (+sysdep-includes): Define with := rather than =.
3367 Use an existing include/ subdir of each sysdeps dir before it.
3369 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3371 * nscd/connection.c (register_traced_file): Comment function.
3372 [HAVE_INOTIFY] (union __inev): Define.
3373 [HAVE_INOTIFY] (inotify_check_files): New function.
3374 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3375 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3377 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3379 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3381 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3382 loaded if not already and that a failure is permanent.
3384 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3387 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3388 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3390 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3393 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3394 (CHECK_1_NULL_OK): Likewise.
3395 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3396 (__fxstat): Do not use CHECK_1.
3397 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3399 (___fxstat64): Do not use CHECK_1.
3400 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3402 (__fxstatat): Do not use CHECK_1.
3403 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3405 (__fxstatat64): Do not use CHECK_1.
3406 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3408 (__fxstat): Do not use CHECK_1.
3409 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3411 (__fxstatat): Do not use CHECK_1.
3412 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3414 (__getresgid): Do not use CHECK_1.
3415 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3417 (__getresuid): Do not use CHECK_1.
3418 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3420 (__lxstat): Do not use CHECK_1.
3421 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3423 (__old_msgctl): Do not use CHECK_1.
3424 (__new_msgctl): Likewise.
3425 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3427 (__new_setrlimit): Do not use CHECK_1.
3428 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3430 (__old_shmctl): Do not use CHECK_1.
3431 (__new_shmctl): Likewise.
3432 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3434 (__xstat): Do not use CHECK_1.
3435 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3436 (__lxstat): Do not use CHECK_1.
3437 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3439 (___lxstat64): Do not use CHECK_1.
3440 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3441 (__old_msgctl): Do not use CHECK_1.
3442 (__new_msgctl): Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3445 (__gettimeofday): Do not use CHECK_1.
3446 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3447 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3448 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3450 (__gettimeofday): Do not use CHECK_1.
3451 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3452 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3453 (__new_shmctl): Do not use CHECK_1.
3454 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3456 (do_sigtimedwait): Do not use CHECK_1.
3457 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3459 (do_sigwaitinfo): Do not use CHECK_1.
3460 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3462 (msgctl): Do not use CHECK_1.
3463 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3465 (shmctl): Do not use CHECK_1.
3466 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3467 (ustat): Do not use CHECK_1.
3468 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3470 (__fxstat): Do not use CHECK_1.
3471 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3473 (__fxstatat): Do not use CHECK_1.
3474 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3476 (__lxstat): Do not use CHECK_1.
3477 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3479 (__xstat): Do not use CHECK_1.
3480 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3481 (__xstat): Do not use CHECK_1.
3482 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3483 (___xstat64): Do not use CHECK_1.
3486 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3488 (CHECK_BOUNDS_HIGH): Likewise.
3489 * string/strcpy.c: Do not include <bp-checks.h>.
3490 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3492 2013-02-07 Roland McGrath <roland@hack.frob.com>
3494 * nscd/nscd-client.h (__nscd_drop_map_ref):
3495 Add __attribute__ ((unused)).
3496 * nis/nss-nisplus.h (niserr2nss): Likewise.
3498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3499 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3501 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3502 Remove inline keyword.
3503 * include/rounding-mode.h (round_away): Likewise.
3504 * libio/wfileops.c (adjust_wide_data): Likewise.
3505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3506 (__m128i_strloadu_tolower): Likewise.
3507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3508 (__m128i_strloadu_tolower): Likewise.
3509 * time/mktime.c (ydhms_diff): Likewise.
3510 * locale/elem-hash.h (elem_hash): Likewise.
3511 * locale/setlocale.c (setdata): Likewise.
3512 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3513 (re_string_wchar_at): Likewise.
3514 (bitset_not, bitset_merge, bitset_mask): Likewise.
3515 [!(__GNUC__ > 3)] (inline): Remove macro.
3516 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3517 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3518 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3519 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3520 * string/memcmp.c (memcmp_bytes): Likewise.
3521 * locale/programs/locarchive.c (compute_hashval): Likewise.
3522 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3523 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3524 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3525 * nss/getent.c (print_rpc, print_protocols): Likewise.
3526 (print_passwd, print_group, print_aliases): Likewise.
3527 * nis/nss-nisplus.h (niserr2nss): Likewise.
3528 * nscd/connections.c (restart_p): Likewise.
3529 Change return type to bool.
3531 2013-02-05 Roland McGrath <roland@hack.frob.com>
3533 * Makeconfig (all-Depend-files): Add existing
3534 $(sorted-subdirs:=/Depend) files.
3535 (all-subdirs): Remove nss.
3536 * sysdeps/unix/inet/Subdirs: Add it here instead.
3537 * hesiod/Depend: New file.
3539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3540 instead of calling alloca.
3542 * io/lseek.c (__lseek): Rename to __libc_lseek.
3543 Define __lseek as an alias.
3545 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3547 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3549 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3550 else clause and remove check for non-standard endianness.
3552 2013-02-04 David S. Miller <davem@davemloft.net>
3554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3556 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3559 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3560 (__ubp_memchr): Remove prototype.
3561 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3562 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3563 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3564 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3565 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3567 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3568 (__ubp_memchr): Likewise.
3569 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3570 (__ubp_memchr): Likewise.
3571 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3572 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3573 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3574 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3576 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3577 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3578 (__getcwd): Do not use CHECK_STRING.
3579 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3581 (__real_chown): Do not use CHECK_STRING.
3582 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3584 (fchownat): Do not use CHECK_STRING.
3585 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3587 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3589 (__lchown): Do not use CHECK_STRING.
3590 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3591 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3592 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3593 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3595 include <bp-checks.h>.
3596 (truncate64): Do not use CHECK_STRING.
3597 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3599 (__real_chown): Do not use CHECK_STRING.
3600 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3602 (__lchown): Do not use CHECK_STRING.
3603 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3605 (__chown): Do not use CHECK_STRING.
3606 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3608 (truncate64): Do not use CHECK_STRING.
3609 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3611 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3612 (__xmknod): Do not use CHECK_STRING.
3613 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3615 (__xmknodat): Do not use CHECK_STRING.
3616 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3617 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3619 2013-02-04 Andreas Schwab <schwab@suse.de>
3622 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3623 * include/netdb.h: Likewise for h_errno.
3624 * elf/tst-stackguard1.c: Include <tls.h>.
3626 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3628 * elf/link.h (struct link_map): Extend the l_addr comment.
3629 * include/link.h (struct link_map): Likewise.
3631 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3634 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3635 (BOUNDED_1): Remove macro.
3636 * debug/backtrace.c: Don't include <bp-checks.h>.
3637 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3638 (__backtrace): Likewise.
3639 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3641 (__backtrace): Don't use BOUNDED_1.
3642 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3644 (__backtrace): Don't use BOUNDED_1.
3645 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3646 (__backtrace): Don't use BOUNDED_1.
3647 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3648 (shmat): Don't use BOUNDED_N.
3650 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3653 * sysdeps/generic/bp-start.h: Remove file.
3654 * csu/libc-start.c: Don't include <bp-start.h>.
3655 (LIBC_START_MAIN): Set up __environ directly instead of using
3656 INIT_ARGV_and_ENVIRON.
3657 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3661 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3663 (CHECK_FCNTL): Likewise.
3664 (CHECK_N_PAGES): Likewise.
3667 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3669 (CHECK_SIGSET_NULL_OK): Likewise.
3670 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3672 (sigpending): Don't use CHECK_SIGSET.
3673 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3675 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3676 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3678 (do_sigsuspend): Don't use CHECK_SIGSET.
3679 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3681 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3682 (do_sigwait): Don't use CHECK_SIGSET.
3683 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3685 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3686 include <bp-checks.h>.
3687 (sigpending): Don't use CHECK_SIGSET.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3689 include <bp-checks.h>.
3690 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3691 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3693 (sigpending): Don't use CHECK_SIGSET.
3694 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3696 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3699 * sysdeps/generic/bp-semctl.h: Remove file.
3700 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3701 <bp-checks.h> and <bp-semctl.h>.
3702 (__old_semctl): Don't use CHECK_SEMCTL.
3703 (__new_semctl): Likewise.
3704 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3706 (__old_semctl): Don't use CHECK_SEMCTL.
3707 (__new_semctl): Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3709 <bp-checks.h> and <bp-semctl.h>.
3710 (__old_semctl): Don't use CHECK_SEMCTL.
3711 (__new_semctl): Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3713 <bp-checks.h> and <bp-semctl.h>.
3714 (semctl): Don't use CHECK_SEMCTL.
3717 * Makerules (elide-bp-thunks): Remove variable.
3718 (elide-routines.oS): Don't use $(elide-bp-thunks).
3719 (elide-routines.os): Likewise.
3720 (elide-routines.o): Likewise.
3721 (elide-routines.op): Likewise.
3722 (elide-routines.og): Likewise.
3723 (objects): Don't use $(bp-thunks).
3724 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3726 (common-generated): Do not add s-proto-bp.d.
3727 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3730 Do not generate makefile rules for bounded-pointer thunks.
3731 * sysdeps/generic/bp-thunks.h: Remove file.
3732 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3733 * sysdeps/unix/s-proto-bp.S: Likewise.
3736 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3737 parts of result separately when argument is not close to line from
3738 -i to i and one part of argument is small.
3739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3741 * math/libm-test.inc (cacos_test): Add more tests.
3742 (casin_test): Likewise.
3743 (casinh_test): Likewise.
3744 * sysdeps/i386/fpu/libm-test-ulps: Update.
3745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3747 2013-01-31 David S. Miller <davem@davemloft.net>
3749 * po/de.po: Update from translation team.
3751 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3753 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3755 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3757 * configure.in (_AC_PROG_CC_C89): New definition.
3758 * configure: Regenerate.
3760 * configure.in (AC_PROG_CPP): New definition.
3761 * configure: Regenerate.
3763 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3765 * debug/tst-backtrace.h: New file.
3766 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3767 (ret): Remove variable.
3769 (FAIL): Remove macro.
3770 (NO_INLINE): Likewise.
3771 (fn1): Use match function instead of strstr.
3772 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3773 (ret): Remove variable.
3775 (FAIL): Remove macro.
3776 (NO_INLINE): Likewise.
3777 (fn): Use match function instead of strstr.
3778 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3779 (ret): Remove variable.
3781 (FAIL): Remove macro.
3782 (NO_INLINE): Likewise.
3783 (handle_signal): Use match function instead of strstr.
3784 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3785 (ret): Remove variable.
3787 (FAIL): Remove macro.
3788 (NO_INLINE): Likewise.
3789 (handle_signal): Use match function instead of strstr.
3791 2013-01-23 Roland McGrath <roland@hack.frob.com>
3793 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3795 2013-01-23 David S. Miller <davem@davemloft.net>
3797 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3798 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3799 argument of CAS if possible.
3800 * sysdeps/sparc/sparc64/bits/atomic.h
3801 (__arch_compare_and_exchange_val_32_acq): Likewise.
3802 (__arch_compare_and_exchange_val_64_acq): Likewise.
3804 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3806 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3807 * sysdeps/posix/ulimit.c: ... this.
3809 * sysdeps/unix/bsd/ulimit.c: Remove file.
3811 2013-01-23 Adam Conrad <adconrad@0c3.net>
3813 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3814 (LDFLAGS-tst-array5): Likewise.
3816 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3819 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3820 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3821 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3822 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3824 2013-01-21 David S. Miller <davem@davemloft.net>
3826 * sysdeps/sparc/backtrace.c: New file.
3827 * sysdeps/sparc/sparc32/backtrace.h: New file.
3828 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3829 * sysdeps/sparc/sparc64/backtrace.h: New file.
3830 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3831 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3834 2013-01-21 Andreas Schwab <schwab@suse.de>
3837 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3840 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3846 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3847 Mark Mitchell <mark@codesourcery.com>
3848 Tom de Vries <tom@codesourcery.com>
3849 Paul Pluzhnikov <ppluzhnikov@google.com>
3851 * debug/tst-backtrace2.c: New file.
3852 * debug/tst-backtrace3.c: Likewise.
3853 * debug/tst-backtrace4.c: Likewise.
3854 * debug/tst-backtrace5.c: Likewise.
3855 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3856 (CFLAGS-tst-backtrace3.c): Likewise.
3857 (CFLAGS-tst-backtrace4.c): Likewise.
3858 (CFLAGS-tst-backtrace5.c): Likewise.
3859 (LDFLAGS-tst-backtrace2): Likewise.
3860 (LDFLAGS-tst-backtrace3): Likewise.
3861 (LDFLAGS-tst-backtrace4): Likewise.
3862 (LDFLAGS-tst-backtrace5): Likewise.
3863 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3864 tst-backtrace4 and tst-backtrace5.
3866 2013-01-18 Anton Blanchard <anton@samba.org>
3867 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3869 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3870 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3871 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3872 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3874 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3875 "+r" and remove output regs list as redundant. Add explicit inline
3876 asm to specify register of return val to work around compiler codegen
3877 bug. Remove (int) cast on return value. Add return type parameter to
3878 use in macro so that this macro does not truncate return value for
3880 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3881 pass to INTERNAL_VSYSCALL_NCS.
3882 (INLINE_VSYSCALL): Add 'long int' as return type to
3883 INTERNAL_VSYSCALL_NCS macro invocation.
3884 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3885 INTERNAL_VSYSCALL_NCS macro invocation.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3888 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3891 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3892 Fix application of SIMD FP exception mask.
3894 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3895 mp_no from a power of two.
3896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3897 __mpexp_twomm1. Use __pow_mp.
3899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3902 2013-01-17 David S. Miller <davem@davemloft.net>
3904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3906 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3909 * include/complex.h: Condition contents on [!_COMPLEX_H].
3910 (__kernel_casinhf): New prototype.
3911 (__kernel_casinh): Likewise.
3912 (__kernel_casinhl): Likewise.
3913 * math/Makefile (libm_calls): Add k_casinh.
3914 * math/k_casinh.c: New file.
3915 * math/k_casinhf.c: Likewise.
3916 * math/k_casinhl.c: Likewise.
3917 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3918 finite nonzero arguments.
3919 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3920 finite nonzero arguments.
3921 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3922 finite nonzero arguments.
3923 * math/s_casinh.c: Do not include <float.h>.
3924 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3925 * math/s_casinhf.c: Do not include <float.h>.
3926 (__casinhf): Move code for finite nonzero arguments to
3928 * math/s_casinhl.c: Do not include <float.h>.
3929 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3931 (__casinhl): Move code for finite nonzero arguments to
3933 * math/libm-test.inc (cacos_test): Add more tests.
3934 * sysdeps/i386/fpu/libm-test-ulps: Update.
3935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3937 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3939 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3940 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3941 [!HAVE_MREMAP]: Remove [defined linux] case.
3942 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3944 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3946 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3948 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3950 * elf/elf.h (R_386_SIZE32): New relocation.
3951 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3953 (elf_machine_rela): Likewise.
3954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3955 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3957 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3959 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3960 (FP_FAST_FMA): Do not define.
3961 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3962 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3963 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3964 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3965 !_SOFT_FLOAT]: Likewise.
3966 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3967 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3969 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3970 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3971 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3973 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3974 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3977 2013-01-16 Andreas Schwab <schwab@suse.de>
3980 * include/stdlib.h (__mktemp): Add declaration.
3981 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3982 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3984 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3986 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3988 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3989 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3990 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3992 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3993 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3995 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3997 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3998 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3999 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4001 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4002 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4004 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4006 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4008 2013-01-15 David S. Miller <davem@davemloft.net>
4010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4011 trunc{,f} to libm-sysdep_routes.
4012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4022 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4023 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4024 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4025 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4026 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4027 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4030 nearbyint{,f} to libm-sysdep_routes.
4031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4042 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4044 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4048 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4049 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4051 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4052 libc_feholdexcept and libc_fesetenv.
4054 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4056 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4058 2013-01-14 David S. Miller <davem@davemloft.net>
4060 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4061 (SPARC_ASM_VIS2_IFUNC): Likewise.
4062 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4064 use of 'siam' instruction.
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4098 routines to libm-sysdep_routines.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4102 fdim/fdimf to libm-sysdep_routines.
4103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4111 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4112 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4113 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4114 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4116 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4118 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4121 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4126 local variable MPTWO.
4127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4130 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4132 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4135 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4137 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4139 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4141 * manual/pattern.texi (glob_t): Document gl_flags.
4142 (glob64_t): Likewise.
4144 2013-01-11 David S. Miller <davem@davemloft.net>
4146 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4147 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4148 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4149 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4150 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4151 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4152 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4153 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4154 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4155 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4156 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4157 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4158 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4160 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4161 sparc V9 rather than using V8 code.
4162 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4163 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4167 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4170 2013-01-11 Roland McGrath <roland@hack.frob.com>
4172 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4173 not in the main loop.
4174 * configure: Regenerated.
4176 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4178 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4179 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4181 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4182 [!__GLIBC_HAVE_LONG_LONG] case.
4183 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4184 condition to just #else.
4185 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4186 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4187 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4188 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4190 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4191 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4192 #elif condition to just #else.
4193 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4194 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4195 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4196 #elif condition to just #else.
4198 2013-01-11 Steve Ellcey <sellcey@mips.com>
4200 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4201 (EF_MIPS_ARCH_64): Fix value.
4202 (EF_MIPS_ARCH_32R2): New.
4203 (EF_MIPS_ARCH_64R2): New.
4205 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4207 * Makeconfig (+link-pie-before-libc): New.
4208 (+link-pie-after-libc): Likewise.
4209 (+link-pie-tests): Likewise.
4210 (+link-pie): Rewritten.
4211 (link-before-libc): Remove $(config-LDFLAGS).
4212 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4213 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4214 (config-LDFLAGS): Renamed to ...
4215 (rtld-LDFLAGS): This.
4216 (rtld-tests-LDFLAGS): New macro.
4217 (link-libc-rpath-link): Likewise.
4218 (link-libc-tests-rpath-link): Likewise.
4219 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4220 (link-libc): Prepand $(link-libc-rpath-link).
4221 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4222 (test-program-prefix): New macro.
4223 (test-via-rtld-prefix): Likewise.
4224 (test-program-cmd): Likewise.
4225 (host-test-program-cmd): Likewise.
4226 * Makefile ($(common-objpfx)testrun.sh): Replace
4227 $(run-program-prefix) with $(test-program-prefix).
4228 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4230 ($(common-objpfx)shlib.lds): Likewise.
4231 (build-module-helper): Likewise.
4232 ($(common-objpfx)format.lds): Likewise.
4233 * Rules (binaries-pie-tests): New.
4234 (binaries-pie-notests): Likewise.
4235 (binaries-pie): Rewritten.
4236 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4237 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4238 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4239 (make-test-out): Replace $(host-built-program-cmd) with
4240 $(host-test-program-cmd).
4241 * config.make.in (build-hardcoded-path-in-tests): New variable.
4242 * configure.in (--enable-hardcoded-path-in-tests): New configure
4244 (hardcoded_path_in_tests): New AC_SUBST.
4245 * configure: Regenerated.
4246 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4247 $(built-program-cmd) with $(test-program-cmd).
4248 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4249 (test_program_cmd): This.
4250 * elf/Makefile ($(objpfx)order.out): Run test with
4251 $(test-program-prefix).
4252 ($(objpfx)order2.out): Likewise.
4253 ($(objpfx)tst-initorder.out): Likewise.
4254 ($(objpfx)tst-initorder2.out): Likewise.
4255 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4256 $(test-program-cmd).
4257 ($(objpfx)tst-array1-static.out): Likewise.
4258 ($(objpfx)tst-array2.out): Likewise.
4259 ($(objpfx)tst-array3.out): Likewise.
4260 ($(objpfx)tst-array4.out): Likewise.
4261 ($(objpfx)tst-array5.out): Likewise.
4262 ($(objpfx)tst-array5-static.out): Likewise.
4263 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4264 $(test-program-cmd).
4265 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4266 $(run-program-prefix) with $(test-program-prefix).
4267 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4268 (test_program_prefix): This.
4269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4270 $(run-program-prefix) with $(test-program-prefix).
4271 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4272 (test_program_prefix): This.
4273 * iconvdata/tst-tables.sh: Likewise.
4274 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4275 $(run-program-prefix) with $(test-program-prefix).
4276 ($(objpfx)tst-translit.out): Likewise.
4277 ($(objpfx)tst-gettext2.out): Likewise.
4278 ($(objpfx)tst-gettext4.out): Likewise.
4279 ($(objpfx)tst-gettext6.out): Likewise.
4280 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4281 (test_program_prefix): This.
4282 * intl/tst-gettext2.sh: Likewise.
4283 * intl/tst-gettext4.sh Likewise.
4284 * intl/tst-gettext6.sh: Likewise.
4285 * intl/tst-translit.sh: Likewise.
4286 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4287 with $(test-program-cmd).
4288 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4289 $(run-program-prefix) with $(test-program-prefix).
4290 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4291 (test_program_prefix): This.
4292 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4293 $(run-program-prefix) with $(test-program-prefix).
4294 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4295 (test_program_prefix): This.
4296 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4297 * posix/Makefile ($(objpfx)globtest.out): Replace
4298 $(run-via-rtld-prefix) and $(test-wrapper) with
4299 $(test-program-prefix) and $(test-via-rtld-prefix).
4300 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4301 $(test-program-prefix).
4302 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4303 $(host-test-program-cmd).
4304 (tst-spawn-ARGS): Likewise.
4305 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4306 $(test-program-prefix).
4307 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4308 (test_via_rtld_prefix): This.
4309 (test_wrapper): Renamed to ...
4310 (test_program_prefix): This.
4311 (run_program_prefix): Replaced by test_program_prefix.
4312 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4313 (test_program_prefix): This.
4314 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4315 with $(host-test-program-cmd).
4316 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4317 $(run-program-prefix) with $(test-program-prefix).
4318 ($(objpfx)tst-printf.out): Likewise.
4319 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4320 $(test-program-cmd).
4321 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4322 (test_program_prefix): This.
4323 * stdio-common/tst-unbputc.sh: Likewise.
4324 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4325 $(run-program-prefix) with $(test-program-prefix).
4326 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4327 (test_program_prefix): This.
4328 * string/Makefile ($(objpfx)tst-svc.out): Replace
4329 $(built-program-cmd) with $(test-program-cmd).
4331 2013-01-11 Andreas Jaeger <aj@suse.de>
4334 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4335 value. Sync with Linux 3.7.
4337 2013-01-10 David S. Miller <davem@davemloft.net>
4339 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4340 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4341 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4343 2013-01-10 Roland McGrath <roland@hack.frob.com>
4345 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4347 * configure: Regenerated.
4349 2013-01-10 David S. Miller <davem@davemloft.net>
4351 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4352 sparc V9 rather than using V8 code.
4353 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4354 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4356 2013-01-10 Roland McGrath <roland@hack.frob.com>
4358 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4359 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4360 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4361 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4362 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4363 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4364 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4365 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4366 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4367 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4368 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4369 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4370 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4371 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4372 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4373 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4374 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4375 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4376 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4377 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4378 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4379 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4380 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4381 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4382 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4383 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4384 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4386 2013-01-10 David S. Miller <davem@davemloft.net>
4388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4390 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4392 * posix/Makefile (tests-static): New variable.
4393 (tests): Add $(tests-static).
4394 (tst-exec-static-ARGS): New variable.
4395 (tst-spawn-static-ARGS): Likewise.
4396 * posix/tst-exec-static.c: New file.
4397 * posix/tst-spawn-static.c: Likewise.
4398 * posix/tst-exec.c: Support run directly.
4399 * posix/tst-spawn.c: Likewise.
4401 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4403 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4405 * math/bits/mathcalls.h (llrint): Likewise.
4406 (llround): Likewise.
4407 * stdlib/stdlib.h (struct drand48_data): Likewise.
4408 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4409 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4410 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4412 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4414 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4415 (elf_greg_t): Likewise.
4416 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4417 (__jmp_buf): Likewise.
4418 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4420 (llrint): Likewise, for all definitions.
4421 (llrintl): Likewise.
4423 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4424 Remove [__GNUC__] condition.
4425 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4426 condition to just [__USE_ISOC99].
4427 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4429 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4432 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4433 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4435 (_POSIX_V6_ILP32_OFF32): Likewise.
4436 (_XBS5_ILP32_OFF32): Likewise.
4437 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4438 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4440 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4442 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4445 doubles __mpexp_twomm1. Adjust usage.
4446 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4449 2013-01-10 Andreas Schwab <schwab@suse.de>
4452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4453 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4455 2013-01-09 David S. Miller <davem@davemloft.net>
4458 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4459 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4460 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4461 TCP_FASTOPEN): Define.
4462 (tcp_repair_opt): New structure.
4463 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4465 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4466 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4467 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4468 (tcp_cookie_transactions): New structure.
4470 2013-01-09 Anton Blanchard <anton@samba.org>
4472 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4473 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4477 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4479 * include/features.h (__USE_ANSI): Remove.
4481 2013-01-09 Roland McGrath <roland@hack.frob.com>
4483 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4485 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4487 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4489 * sysdeps/s390/fpu/libm-test-ulps: Update.
4491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4493 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4498 (__mp_dbl): Likewise.
4499 (__dbl_mp): Likewise.
4500 (add_magnitudes): Likewise.
4501 (sub_magnitudes): Likewise.
4507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4512 (__mp_dbl): Likewise.
4513 (__dbl_mp): Likewise.
4514 (add_magnitudes): Likewise.
4515 (sub_magnitudes): Likewise.
4521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4526 (__mp_dbl): Likewise.
4527 (__dbl_mp): Likewise.
4528 (add_magnitudes): Likewise.
4529 (sub_magnitudes): Likewise.
4536 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4538 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4539 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4540 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4541 2 && __USE_EXTERN_INLINES]: Likewise.
4543 2013-01-08 Andreas Jaeger <aj@suse.de>
4546 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4548 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4549 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4551 2013-01-07 Anton Blanchard <anton@samba.org>
4553 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4554 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4555 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4556 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4557 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4559 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4560 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4562 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4563 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4566 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4568 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4570 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4571 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4573 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4574 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4576 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4578 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4579 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4580 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4583 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4587 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4588 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4590 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4591 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4593 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4594 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4595 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4597 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4599 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4600 (__MALLOC_PMT): Likewise.
4601 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4602 [__GNUC__], only on [_LIBC].
4603 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4604 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4605 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4606 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4607 forward declaration.
4608 (realloc_hook_ini): Likewise.
4609 (memalign_hook_ini): Likewise.
4610 (__libc_memalign): Do not use __MALLOC_PMT in variable
4612 (__libc_valloc): Likewise.
4613 (__libc_pvalloc): Likewise.
4614 (__libc_calloc): Likewise.
4615 (__posix_memalign): Likewise.
4618 * math/s_casinh.c: Include <float.h>.
4619 (__casinh): Do not do computation with squaring and square root
4620 for large arguments.
4621 * math/s_casinhf.c: Include <float.h>.
4622 (__casinhf): Do not do computation with squaring and square root
4623 for large arguments.
4624 * math/s_casinhl.c: Include <float.h>.
4625 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4626 (__casinhl): Do not do computation with squaring and square root
4627 for large arguments.
4628 * math/libm-test.inc (casin_test): Add more tests.
4629 (casinh_test): Likewise.
4630 * sysdeps/i386/fpu/libm-test-ulps: Update.
4631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4633 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4635 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4636 (__x86_64_raw_data_cache_size): Likewise.
4637 (__x86_64_data_cache_size_half): Likewise.
4638 (__x86_64_raw_data_cache_size_half): Likewise.
4639 (__x86_64_shared_cache_size): Likewise.
4640 (__x86_64_raw_shared_cache_size): Likewise.
4641 (__x86_64_shared_cache_size_half): Likewise.
4642 (__x86_64_raw_shared_cache_size_half): Likewise.
4643 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4645 (__x86_data_cache_size): This.
4646 (__x86_64_raw_data_cache_size): Renamed to ...
4647 (__x86_raw_data_cache_size): This.
4648 (__x86_64_data_cache_size_half): Renamed to ...
4649 (__x86_data_cache_size_half): This.
4650 (__x86_64_raw_data_cache_size_half): Renamed to ...
4651 (__x86_raw_data_cache_size_half): This.
4652 (__x86_64_shared_cache_size): Renamed to ...
4653 (__x86_shared_cache_size): This.
4654 (__x86_64_raw_shared_cache_size): Renamed to ...
4655 (__x86_raw_shared_cache_size): This.
4656 (__x86_64_shared_cache_size_half): Renamed to ...
4657 (__x86_shared_cache_size_half): This.
4658 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4659 (__x86_raw_shared_cache_size_half): This.
4660 * sysdeps/x86_64/memcpy.S: Updated.
4661 * sysdeps/x86_64/memset.S: Likewise.
4662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4666 2013-01-04 David S. Miller <davem@davemloft.net>
4668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4670 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4672 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4673 1 to avoid redefinition warning.
4674 (__USE_GNU): Don't define.
4675 (init_signaling_nan): Protoize.
4677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4679 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4681 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4683 (__cpymn): Likewise.
4684 (norm): Remove commented code.
4686 (__mp_dbl): Likewise.
4688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4689 (__cpymn): Likewise.
4690 (norm): Remove commented code.
4692 (__mp_dbl): Likewise.
4695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4696 mp_no value for 1.0 and 2.0.
4697 (norm): Use RADIXI instead of radixi.d.
4699 (__mul): Use 0.0 instead of zero.d.
4700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4701 mp_no value for 1.0 and 2.0.
4702 (norm): Use RADIXI instead of radixi.d.
4704 (__mul): Use 0.0 instead of zero.d.
4706 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4709 * math/s_casinh.c (__casinh): Reduce finite argument to first
4710 quadrant then set signs of results at the end.
4711 * math/s_casinhf.c (__casinhf): Likewise.
4712 * math/s_casinhl.c (__casinhl): Likewise.
4713 * math/libm-test.inc (casin_test): Add more tests.
4714 (casinh_test): Likewise.
4715 * sysdeps/i386/fpu/libm-test-ulps: Update.
4716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4718 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4722 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4724 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4727 (__mp_dbl): Likewise.
4730 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4731 and adjust the header comment.
4733 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4734 variable name from declaration.
4736 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4739 Initialize COMMON_CPUID_INDEX_7 element.
4740 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4741 (CPUID_RTM): Likewise.
4742 (HAS_RTM): Likewise.
4743 (COMMON_CPUID_INDEX_7): New enum.
4745 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4748 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4749 size is zero, record memory as freed.
4751 2013-01-03 Andreas Jaeger <aj@suse.de>
4753 * po/ia.po: Add new Interlingua translation.
4755 2012-01-03 Allan McRae <allan@archlinux.org>
4757 * locale/programs/localedef.c: Fix description of '--posix' flag.
4759 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4761 * NEWS: Update dates in second copyright notice.
4762 * README: Update copyright dates in example.
4763 * manual/libc.texinfo: Update copyright dates.
4764 * scripts/test-installation.pl: Update copyright date in --version
4767 * hurd/ctty-input.c: Fix copyright notice formatting.
4768 * hurd/ctty-output.c: Likewise.
4769 * hurd/dtable.c: Likewise.
4770 * hurd/hurd-raise.c: Likewise.
4771 * hurd/hurdprio.c: Likewise.
4772 * hurd/msgportdemux.c: Likewise.
4773 * misc/sys/file.h: Likewise.
4774 * misc/sys/ioctl.h: Likewise.
4775 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4776 * sysdeps/mach/hurd/chdir.c: Likewise.
4777 * sysdeps/mach/hurd/fchdir.c: Likewise.
4778 * sysdeps/mach/hurd/rename.c: Likewise.
4779 * sysdeps/mach/hurd/rmdir.c: Likewise.
4780 * sysdeps/mach/hurd/seekdir.c: Likewise.
4781 * sysdeps/mach/hurd/setsid.c: Likewise.
4782 * sysdeps/posix/wait3.c: Likewise.
4784 * All files with FSF copyright notices: Update copyright dates
4785 using scripts/update-copyrights.
4786 * intl/plural.c: Regenerated.
4787 * locale/programs/charmap-kw.h: Likewise.
4788 * locale/programs/locfile-kw.h: Likewise.
4790 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4792 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4796 calculation loop and add branch prediction.
4798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4799 check access beyond bounds of m1np.
4801 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4803 (__inv): Remove local variable MPTWO to use the global
4805 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4809 MP3HALFS static const.
4811 2013-01-01 David S. Miller <davem@davemloft.net>
4813 * po/ca.po: Update from translation team.
4815 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4817 * scripts/update-copyrights: New file.
4818 * Makeconfig: Reformat copyright notice.
4819 * ctype/ctype.h: Likewise.
4820 * debug/swprintf_chk.c: Likewise.
4821 * elf/dl-cache.c: Likewise.
4822 * elf/dl-debug.c: Likewise.
4823 * elf/dl-object.c: Likewise.
4824 * grp/initgroups.c: Likewise.
4825 * hurd/Makefile: Likewise.
4826 * hurd/hurd/signal.h: Likewise.
4827 * hurd/hurdfault.c: Likewise.
4828 * hurd/hurdioctl.c: Likewise.
4829 * hurd/hurdlookup.c: Likewise.
4830 * hurd/intr-msg.c: Likewise.
4831 * iconv/gconv_open.c: Likewise.
4832 * libio/swprintf.c: Likewise.
4833 * locale/lc-ctype.c: Likewise.
4834 * locale/nl_langinfo.c: Likewise.
4835 * mach/Machrules: Likewise.
4836 * mach/Makefile: Likewise.
4837 * malloc/obstack.h: Likewise.
4838 * manual/Makefile: Likewise.
4839 * manual/tsort.awk: Likewise.
4840 * misc/bits/stab.def: Likewise.
4841 * nis/nis_print_group_entry.c: Likewise.
4842 * nis/nis_table.c: Likewise.
4843 * nis/nss_compat/compat-pwd.c: Likewise.
4844 * nis/nss_compat/compat-spwd.c: Likewise.
4845 * po/Makefile: Likewise.
4846 * posix/fnmatch.c: Likewise.
4847 * posix/regex.h: Likewise.
4848 * resolv/Makefile: Likewise.
4849 * resolv/nss_dns/dns-network.c: Likewise.
4850 * resolv/res_hconf.c: Likewise.
4851 * scripts/gen-sorted.awk: Likewise.
4852 * soft-fp/soft-fp.h: Likewise.
4853 * stdio-common/printf.h: Likewise.
4854 * stdlib/monetary.h: Likewise.
4855 * stdlib/random.c: Likewise.
4856 * stdlib/random_r.c: Likewise.
4857 * sysdeps/generic/Makefile: Likewise.
4858 * sysdeps/gnu/Makefile: Likewise.
4859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4870 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4887 * sysdeps/mach/hurd/errnos.awk: Likewise.
4888 * sysdeps/mach/hurd/fork.c: Likewise.
4889 * sysdeps/mach/hurd/getcwd.c: Likewise.
4890 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4891 * sysdeps/mach/hurd/mmap.c: Likewise.
4892 * sysdeps/mach/hurd/utimes.c: Likewise.
4893 * sysdeps/mach/hurd/xmknod.c: Likewise.
4894 * sysdeps/posix/profil.c: Likewise.
4895 * sysdeps/posix/readdir_r.c: Likewise.
4896 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4897 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4898 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4901 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4902 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4905 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4907 * sysdeps/pthread/lio_listio.c: Likewise.
4908 * sysdeps/sparc/dl-procinfo.h: Likewise.
4909 * sysdeps/unix/i386/sysdep.S: Likewise.
4910 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4911 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4912 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4913 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4915 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4916 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4917 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4918 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4919 * sysdeps/wordsize-32/divdi3.c: Likewise.
4920 * time/sys/time.h: Likewise.
4921 * wcsmbs/Makefile: Likewise.
4923 2013-01-01 David S. Miller <davem@davemloft.net>
4925 * po/fr.po: Update from translation team.
4927 * catgets/gencat.c: Update copyright year.
4928 * csu/version.c: Likewise.
4929 * debug/catchsegv.sh: Likewise.
4930 * debug/pcprofiledump.c: Likewise.
4931 * debug/xtrace.sh: Likewise.
4932 * elf/ldconfig.c: Likewise.
4933 * elf/ldd.bash.in: Likewise.
4934 * elf/pldd.c: Likewise.
4935 * elf/sotruss.ksh: Likewise.
4936 * elf/sprof.c: Likewise.
4937 * iconv/iconv_prog.c: Likewise.
4938 * iconv/iconvconfig.c: Likewise.
4939 * locale/programs/locale.c: Likewise.
4940 * locale/programs/localedef.c: Likewise.
4941 * login/programs/pt_chown.c: Likewise.
4942 * malloc/memusage.sh: Likewise.
4943 * malloc/memusagestat.c: Likewise.
4944 * malloc/mtrace.pl: Likewise.
4945 * nscd/nscd.c: Likewise.
4946 * nss/getent.c: Likewise.
4947 * nss/makedb.c: Likewise.
4948 * posix/getconf.c: Likewise.
4950 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4952 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4955 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4957 * math/bits/mathcalls.h (modf): Use __nonnull.
4959 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4961 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4962 (split): Use macro CN instead of the bare value.
4963 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4966 instead of the bare value.
4969 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4973 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4975 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4977 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4978 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4979 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4980 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4982 2012-12-28 Andreas Jaeger <aj@suse.de>
4984 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4985 values are from Linux 3.7.
4987 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4988 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4990 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4992 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4995 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4997 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4998 variables with preprocessor constants.
4999 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5000 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5003 2012-12-27 Bruno Haible <bruno@clisp.org>
5006 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5009 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5012 and use variable directly.
5013 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5015 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5017 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5022 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5023 include directive. Remove local variable MPONE.
5024 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5025 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5028 2012-12-25 David S. Miller <davem@davemloft.net>
5030 * version.h (RELEASE): Set to "development".
5031 (VERSION): Set to "2.17.90".
5032 * NEWS: Add 2.18 section.
5034 2012-12-21 David S. Miller <davem@davemloft.net>
5036 * po/hr.po: Update from translation team.
5038 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5040 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5042 2012-12-19 Steve Ellcey <sellcey@mips.com>
5044 * NEWS: Mention new memcpy for MIPS.
5046 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5048 * manual/contrib.texi (Contributors): Spelling correction.
5050 2012-12-15 David S. Miller <davem@davemloft.net>
5052 * po/ru.po: Update from translation team.
5054 2012-12-13 David S. Miller <davem@davemloft.net>
5056 * NEWS: Mention IFUNC testsuite enhancements.
5058 * po/pl.po: Update from translation team.
5059 * po/bg.po: Likewise.
5061 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5062 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5064 2012-12-11 David S. Miller <davem@davemloft.net>
5066 * po/sv.po: Update from translation team.
5068 * po/vi.po: Update from translation team.
5070 * po/cs.po: Update from translation team.
5072 * po/de.po: Update from translation team.
5073 * po/eo.po: Likewise.
5074 * po/nl.po: Likewise.
5076 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 * manual/argp.texi (Argp Helper Functions): Move node to follow
5083 * manual/conf.texi (Limits on File System Capacity): Mention if
5084 terminating null is included in the max size.
5086 2012-12-10 Andreas Jaeger <aj@suse.de>
5088 * po/cs.po: Update from translation team.
5090 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5092 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5093 void pointer and cast to uintptr_t.
5094 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5096 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5097 * sysdeps/s390/s390-64/memset.S: Likewise.
5099 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5102 * menual/message.texi (Message Translation): Fix typos.
5103 (Helper programs for gettext): Likewise.
5105 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5108 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5111 2012-12-07 David S. Miller <davem@davemloft.net>
5113 * po/libc.pot: Update.
5115 2012-12-07 Richard Henderson <rth@redhat.com>
5118 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5119 normal/normal case to before the switch.
5120 (_FP_DIV): Likewise.
5122 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5123 Mike Frysinger <vapier@gentoo.org>
5125 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5126 check for __NR_fadvise64_64.
5128 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5130 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5131 0, not just to plain "0" as a statement.
5132 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5135 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5137 * NEWS: Use sourceware.org in Bugzilla URL.
5139 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5142 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5144 * stdio-common/tst-put-error.c (do_test): Add newline to the
5145 padded test to ensure flush.
5147 2012-12-05 Jeff Law <law@redhat.com>
5149 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5151 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5153 * README: Don't refer to ports add-on as distributed separately.
5154 Mention AArch64 in list of systems supported in the ports add-on.
5156 * LICENSES: Add more non-FSF copyright and license notices.
5158 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5161 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5163 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5164 10000 as width of padded output.
5166 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5168 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5171 variable LX with __attribute__ ((unused)).
5172 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5177 with __attribute__ ((unused)).
5179 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5181 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5183 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5185 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5186 (CFLAGS-nldbl-acos.c): New variable.
5187 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5211 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5212 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5213 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5214 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5215 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5216 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5217 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5218 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5219 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5220 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5221 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5222 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5223 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5224 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5225 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5234 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5235 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5236 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5237 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5238 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5239 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5240 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5241 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5242 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5243 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5244 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5245 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5246 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5247 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5248 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5249 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5250 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5251 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5252 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5253 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5254 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5255 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5256 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5257 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5258 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5259 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5260 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5261 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5262 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5263 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5264 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5265 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5266 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5267 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5268 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5269 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5270 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5271 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5272 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5273 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5274 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5275 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5276 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5277 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5278 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5279 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5280 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5281 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5282 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5283 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5286 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5290 whole low double instead of just low 47 bits when splitting values
5293 2012-12-03 Allan McRae <allan@archlinux.org>
5295 * manual/stdio.texi (Predefined Printf Handlers): Remove
5296 @hsep and @vsep usage.
5298 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5300 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5301 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5303 2012-12-03 Jeff Law <law@redhat.com>
5305 * time/sys/time.h (settimeofday): Do not mark TV argument
5308 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5310 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5311 when currently writing and seek to current position when not.
5312 * libio/Makefile (tests): Remove bug-fclose1.
5313 * libio/bug-fclose1.c: Delete.
5315 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5317 * manual/arith.texi (feenableexcept): Fix typo.
5318 (fedisableexcept): Likewise.
5320 2012-11-30 Roland McGrath <roland@hack.frob.com>
5322 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5323 second, differently-typed declaration, rather than a cast.
5325 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5327 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5328 * include/rpc/svc.h: ... here.
5330 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5333 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5334 depending n and resplen2 to catch cases where answer
5337 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5339 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5340 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5342 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5346 2012-11-29 Roland McGrath <roland@hack.frob.com>
5348 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5350 2012-11-28 Jeff Law <law@redhat.com>
5353 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5354 dataset_temporary. Track alloca usage into alloca_used.
5355 If dataset is large allocate and release it via malloc/free.
5357 2012-06-04 Florian Weimer <fweimer@redhat.com>
5360 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5362 2012-11-28 David S. Miller <davem@davemloft.net>
5364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5366 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5369 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5370 of pi/2 rounded to nearest to 64 bits.
5371 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5373 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5376 2012-11-28 Jeff Law <law@redhat.com>
5377 Martin Osvald <mosvald@redhat.com>
5380 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5381 * sunrpc/svc.c: Include time.h.
5382 (__svc_accept_failed): New function.
5383 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5384 any reason other than EINTR, call __svc_accept_failed.
5385 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5386 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5388 2012-11-28 Andreas Schwab <schwab@suse.de>
5390 * scripts/abilist.awk: Also handle indirect functions in .opd
5393 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/x86/fpu/powl_helper.c: New file.
5397 * sysdeps/x86/fpu/Makefile: Likewise.
5398 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5400 (__ieee754_powl): Use __powl_helper for finite arguments except
5401 integer exponents below 8.
5402 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5404 (__ieee754_powl): Use __powl_helper for finite arguments except
5405 integer exponents below 8.
5406 * math/libm-test.inc (pow_test): Add more tests and enable some
5407 previously disabled tests.
5408 * sysdeps/i386/fpu/libm-test-ulps: Update.
5409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5411 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5412 Carlos O'Donell <carlos_odonell@mentor.com>
5414 * nss/makedb.c (is_prime): Assert that input is odd and greater
5415 than 4. Note that fact in a comment too.
5416 (next_prime): Add 4 to input.
5418 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5421 * libio/Makefile (tests): Add test case tst-fwrite-error.
5422 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5423 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5424 * libio/tst-fwrite-error.c: New test case.
5426 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5428 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5429 before casting to void *.
5430 * include/libc-internal.h (__pointer_type): New macro.
5431 (__integer_if_pointer_type_sub): Likewise.
5432 (__integer_if_pointer_type): Likewise.
5433 (cast_to_integer): Likewise.
5434 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5435 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5436 before casting to atomic64_t.
5437 (atomic_exchange_acq): Likewise.
5438 (__arch_exchange_and_add_body): Likewise.
5439 (__arch_add_body): Likewise.
5440 (atomic_add_negative): Likewise.
5441 (atomic_add_zero): Likewise.
5443 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5445 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5446 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5447 (add_fdes): Likewise.
5448 (linear_search_fdes): Likewise.
5449 (binary_search_unencoded_fdes): Likewise.
5451 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5453 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5455 2012-11-24 Adam Conrad <adconrad@0c3.net>
5457 * configure.in: Autodetect C++ header directories.
5458 * configure: Regenerated.
5460 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5462 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5464 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5468 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5470 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5471 LDBL_MANT_DIG == 106]: Disable some tests.
5472 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5474 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5478 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5479 input for small inputs. Return +/- pi/2 for large inputs.
5480 * math/libm-test.inc (atan_test): Add more tests.
5482 * sysdeps/generic/unwind-dw2-fde-glibc.c
5483 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5484 __attribute__ ((unused)).
5487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5488 x * y if x and y are nonzero and z is zero.
5491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5492 nonzero exponents with absolute value below 0x1p-117 to +/-
5496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5497 up arguments below 2**-450, not just those below 2**-500.
5498 * math/libm-test.inc (hypot_test): Add another test.
5501 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5502 Return a+b for ratio over 2**120, not 2**60.
5503 * math/libm-test.inc (hypot_test): Add another test.
5505 * math/libm-test.inc (clog_test): Use
5506 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5507 (clog10_test): Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5512 2012-11-22 Andreas Schwab <schwab@suse.de>
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5516 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5518 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5519 printf output with newline.
5521 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5524 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5525 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5526 -z nodlopen, -z initfirst and -z execstack support.
5527 * configure: Regenerated.
5529 * elf/elf.h (DF_1_NODIRECT): New macro.
5530 (DF_1_IGNMULDEF): Likewise.
5531 (DF_1_NOKSYMS): Likewise.
5532 (DF_1_NOHDR): Likewise.
5533 (DF_1_EDITED): Likewise.
5534 (DF_1_NORELOC): Likewise.
5535 (DF_1_SYMINTPOSE): Likewise.
5536 (DF_1_GLOBAUDIT): Likewise.
5537 (DF_1_SINGLETON): Likewise.
5538 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5539 DT_1_SUPPORTED_MASK bits.
5540 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5542 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5544 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5546 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5548 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5551 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5552 (sendmmsg): Move declarations...
5553 * socket/sys/socket.h: ... here.
5554 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5555 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5557 * socket/recvmmsg.c: ... this new file.
5558 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5559 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5560 definition of __sendmmsg hidden.
5561 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5562 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5563 Move ENOSYS stub into and include it from...
5564 * socket/sendmmsg.c: ... this new file.
5565 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5566 (sysdep_routines): Move recvmmsg and sendmmsg...
5567 * socket/Makefile (routines): ... here.
5568 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5569 (GLIBC_PRIVATE): Add __sendmmsg.
5570 * include/sys/socket.h (__sendmmsg): Add declarations.
5571 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5574 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5577 variable I1 with __attribute__ ((unused)).
5578 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5580 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5582 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5583 DUMMY variables with __attribute__ ((unused)).
5585 * bits/byteswap.h: Include <bits/types.h>.
5586 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5588 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5590 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5591 string_t. Do not manually set errno.
5592 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5593 length with __strnlen. Make sure to both set errno and return it on
5596 2012-11-19 David S. Miller <davem@davemloft.net>
5598 With help from Joseph Myers.
5599 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5600 very large arguments properly.
5601 * math/libm-test.inc (atan_test): New tests.
5602 (atan2_test): New tests.
5603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5606 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5609 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5612 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5613 [POSIX] (EADDRNOTAVAIL): Likewise.
5614 [POSIX] (EAFNOSUPPORT): Likewise.
5615 [POSIX] (EALREADY): Likewise.
5616 [POSIX] (ECONNABORTED): Likewise.
5617 [POSIX] (ECONNREFUSED): Likewise.
5618 [POSIX] (ECONNRESET): Likewise.
5619 [POSIX] (EDESTADDRREQ): Likewise.
5620 [POSIX] (EDQUOT): Likewise.
5621 [POSIX] (EHOSTUNREACH): Likewise.
5622 [POSIX] (EIDRM): Likewise.
5623 [POSIX] (EISCONN): Likewise.
5624 [POSIX] (ELOOP): Likewise.
5625 [POSIX] (EMULTIHOP): Likewise.
5626 [POSIX] (ENETDOWN): Likewise.
5627 [POSIX] (ENETUNREACH): Likewise.
5628 [POSIX] (ENOBUFS): Likewise.
5629 [POSIX] (ENODATA): Likewise.
5630 [POSIX] (ENOLINK): Likewise.
5631 [POSIX] (ENOMSG): Likewise.
5632 [POSIX] (ENOPROTOOPT): Likewise.
5633 [POSIX] (ENOSR): Likewise.
5634 [POSIX] (ENOSTR): Likewise.
5635 [POSIX] (ENOTCONN): Likewise.
5636 [POSIX] (ENOTSOCK): Likewise.
5637 [POSIX] (EOPNOTSUPP): Likewise.
5638 [POSIX] (EOVERFLOW): Likewise.
5639 [POSIX] (EPROTO): Likewise.
5640 [POSIX] (EPROTONOSUPPORT): Likewise.
5641 [POSIX] (EPROTOTYPE): Likewise.
5642 [POSIX] (ESTALE): Likewise.
5643 [POSIX] (ETIME): Likewise.
5644 [POSIX] (ETXTBSY): Likewise.
5645 [POSIX] (EWOULDBLOCK): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5647 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5648 [POSIX] (SEEK_CUR): Likewise.
5649 [POSIX] (SEEK_END): Likewise.
5650 [POSIX || UNIX98] (mode_t): Do not require.
5651 [POSIX] (off_t): Likewise.
5652 [POSIX] (pid_t): Likewise.
5653 [POSIX] (sys/stat.h): Do not allow header.
5654 [POSIX] (unistd.h): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5656 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5657 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5658 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5660 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5661 sigevent): Specify elements.
5662 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5664 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5665 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5667 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5668 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5669 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5670 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5671 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5672 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5673 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5674 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5676 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5677 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5678 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5679 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5680 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5682 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5684 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5686 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5688 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5689 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5690 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5691 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5693 Specify lower bound on value.
5694 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5700 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5701 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5703 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5705 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5722 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5724 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5731 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5736 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5737 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5739 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5743 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5744 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5745 specify as optional.
5746 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5749 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5750 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5751 [XPG3] (NL_LANGMAX): Likewise.
5752 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5753 [POSIX || XPG3] (NL_NMAX): Likewise.
5754 [POSIX || XPG3] (NL_SETMAX): Likewise.
5755 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5756 [XPG3] (NZERO): Likewise.
5757 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5758 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5759 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5760 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5761 (REG_ERANGE): Expect.
5762 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5764 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5765 Use (void) in prototype.
5766 [POSIX] (*_t): Allow.
5767 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5768 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5769 (WRDE_BADVAL): Expect.
5771 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5773 [XPG3 || XPG4] (O_RSYNC): Likewise.
5774 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5776 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5777 [XPG3 || XPG4] (sigqueue): Likewise.
5778 [XPG3 || XPG4] (sigtimedwait): Likewise.
5779 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5780 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5781 [XPG3 || XPG4] (vsnprintf): Likewise.
5782 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5784 [XPG3 || XPG4] (blksize_t): Likewise.
5785 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5787 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5788 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5789 [XPG3 || XPG4] (struct itimerspec): Likewise.
5790 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5791 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5792 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5793 [XPG3 || XPG4] (clockid_t): Likewise.
5794 [XPG3 || XPG4] (timer_t): Likewise.
5795 [XPG3 || XPG4] (clock_getres): Likewise.
5796 [XPG3 || XPG4] (clock_gettime): Likewise.
5797 [XPG3 || XPG4] (clock_settime): Likewise.
5798 [XPG3 || XPG4] (nanosleep): Likewise.
5799 [XPG3 || XPG4] (timer_create): Likewise.
5800 [XPG3 || XPG4] (timer_delete): Likewise.
5801 [XPG3 || XPG4] (timer_gettime): Likewise.
5802 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5803 [XPG3 || XPG4] (timer_settime): Likewise.
5804 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5805 [XPG3 || XPG4] (getlogin_r): Likewise.
5806 [XPG3 || XPG4] (pread): Likewise.
5807 [XPG3 || XPG4] (pthread_atfork): Likewise.
5808 [XPG3 || XPG4] (pwrite): Likewise.
5811 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5814 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5816 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5817 finalizing MALLSTREAM.
5819 * sysdeps/mach/hurd/syncfs.c: New file.
5821 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5824 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5825 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5826 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5827 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5828 (_nss_dns_gethostbyname4_r): Likewise.
5829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5830 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5832 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5835 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5837 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5839 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5840 * elf/cache.c (print_entry): Print ",AArch64" for
5843 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5844 * elf/cache.c (print_entry): Print ",hard-float" for
5847 2012-11-18 David S. Miller <davem@davemloft.net>
5849 With help from Joseph Myers.
5850 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5852 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5854 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5855 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5857 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5858 * math/libm-test.inc (y0_test): New tests.
5859 (y1_test): New tests.
5860 * sysdeps/i386/fpu/libm-test-ulps: Update.
5861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5864 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5866 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5868 * configure: Regenerated.
5870 2012-11-17 David S. Miller <davem@davemloft.net>
5873 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5874 nonzero exponents with absolute value below 0x1p-128 to +/-
5877 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5881 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5883 * posix/getconf-speclist.c: New file.
5884 * posix/posix-envs.def: Likewise.
5885 * posix/confstr.c (START_ENV_GROUP): New macro.
5886 (END_ENV_GROUP): Likewise.
5887 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5888 (KNOWN_PRESENT_ENV_STRING): Likewise.
5889 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5890 (UNKNOWN_ENVIRONMENT): Likewise.
5891 (confstr): Include posix-envs.def instead of handling
5892 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5893 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5894 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5895 (END_ENV_GROUP): Likewise.
5896 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5897 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5898 (UNKNOWN_ENVIRONMENT): Likewise.
5899 (__sysconf): Include posix-envs.def instead of handling associated
5900 cases directly here.
5901 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5902 preprocessing getconf-speclist.c rather than running getconf or
5903 generating empty file.
5905 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5907 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5909 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5912 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5914 2012-11-16 David S. Miller <davem@davemloft.net>
5916 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5917 smaller than LDBL_EPSILON/2.0L, just return xm1.
5919 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5921 * elf/tst-array1.c (init): Set constructor priority to 1000.
5922 (fini): Set destructor priority to 1000.
5923 * elf/tst-array2dep.c: Likewise.
5925 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5928 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5929 (_IO_new_file_xsputn): Also return EOF if none of the input
5930 data was written when overflow failed.
5931 * libio/iopadn.c (_IO_padn): Likewise.
5932 * libio/iowpadn.c (_IO_wpadn): Likewise.
5933 * stdio-common/tst-put-error.c: Add copyright notice.
5934 (do_test): Add case for printing padded string.
5935 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5936 _IO_padn returned error.
5937 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5938 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5941 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5943 * libio/libioP.h: Add comment note that the references to C++
5944 bits are now obsolete.
5946 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5948 * math/libm-test.inc (check_complex): Use asprintf.
5950 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5952 * debug/pcprofiledump.c (print_version): Update copyright year.
5953 * malloc/memusagestat.c (print_version): Likewise.
5955 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5958 * elf/Makefile (tests): Add tst-audit8.
5959 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5960 ($(objpfx)tst-audit8.out): New target.
5961 (tst-audit8-ENV): New variable.
5962 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5963 audit if l_reloc_result is NULL.
5964 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5965 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5966 * elf/tst-audit8.c: New file.
5968 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5970 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5971 * misc/Makefile (CFLAGS-select.c): Define.
5972 * posix/Makefile (CFLAGS-pause.c): Define.
5974 2012-11-13 David S. Miller <davem@davemloft.net>
5976 * crypt/Makefile: Move test targets after toplevel Rules
5977 inclusion. Grab any necessary sysdep routines when linking.
5978 * crypt/md5.c (md5_process_block): Remove define, we will always
5979 name it __md5_process_block.
5980 (md5_finish_ctx): Update md5_process_block call.
5981 (md5_stream): Likewise.
5982 (md5_process_bytes): Likewise.
5983 (md5_process_block): Rename to __md5_process_block and move to ...
5984 * crypt/md5-block.c: ... here.
5985 * crypt/sha256.c (sha256_process_block): Move to ...
5986 * crypt/sha256-block.c: ... here.
5987 * crypt/sha512.c (sha512_process_block): Move to ...
5988 * crypt/sha512-block.c: ... here.
5989 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5991 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5992 * sysdeps/sparc/sparc64/multiarch/Makefile
5993 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5995 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5998 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5999 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6000 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6001 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6002 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6003 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6004 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6005 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6006 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6008 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6009 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6013 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6015 * timezone/tzselect.ksh: Update from tzcode git revision
6016 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6017 * timezone/zdump.c: Likewise.
6018 * timezone/zic.c: Likewise.
6019 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6020 in TZVERSION setting, not $(PKGVERSION).
6021 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6022 REPORT_BUGS_TO settings.
6025 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6028 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6030 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6031 detection to immediately after _FP_ROUND().
6032 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6035 2012-11-11 David S. Miller <davem@davemloft.net>
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6039 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6040 __close rather than their public counterparts.
6042 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6044 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6046 [UNIX98] (sem_timedwait): Do not expect.
6047 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6048 [XPG4 || UNIX98] (sockatmark): Do not expect.
6049 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6050 (clock_getcpuclockid): Do not expect.
6051 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6052 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6054 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6055 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6056 [UNIX98] (vwscanf): Likewise.
6057 [UNIX98] (vswscanf): Likewise.
6059 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6061 * timezone/version.h: Remove file.
6062 * timezone/README: Do not refer to version.h.
6063 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6065 ($(objpfx)zdump.o): Likewise.
6066 ($(objpfx)version.h): New target.
6068 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6070 * timezone/README: Don't mention modification to tzselect.ksh.
6071 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6072 work on unmodified tzselect.ksh. Substitute version numbers in
6075 * Makefile (format-me): Remove.
6076 (INSTALL): Adjust indentation. Use commands directly instead of
6079 * aclocal.m4 (ACX_PKGVERSION): New macro.
6080 (ACX_BUGURL): Likewise.
6081 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6082 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6083 (REPORT_BUGS_TO): Likewise.
6084 * configure: Regenerated.
6085 * config.h.in (PKGVERSION): New macro.
6086 (REPORT_BUGS_TO): Likewise.
6087 * config.make.in (PKGVERSION): New variable.
6088 (PKGVERSION_TEXI): Likewise.
6089 (REPORT_BUGS_TO): Likewise.
6090 (REPORT_BUGS_TEXI): Likewise.
6091 * Makefile (format-me): Use -I$(common-objpfx)manual.
6092 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6093 ($(common-objpfx)manual/%): New target.
6094 (manual/%): Remove target.
6095 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6096 (print_version): Use PKGVERSION.
6097 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6098 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6100 ($(objpfx)xtrace): Likewise.
6101 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6102 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6103 (print_version): Use PKGVERSION.
6104 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6105 (do_version): Use PKGVERSION.
6106 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6108 (common-ldd-rewrite): Likewise.
6109 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6110 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6111 (print_version): Use PKGVERSION.
6112 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6113 * elf/pldd.c (argp_program_bug_address): Remove variable.
6114 (more_help): New function.
6115 (argp): Use more_help.
6116 (print_version): Use PKGVERSION.
6117 * elf/sln.c (main): Use PKGVERSION.
6118 (usage): Use REPORT_BUGS_TO.
6119 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6120 (top level): Use PKGVERSION.
6121 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6122 (print_version): Use PKGVERSION.
6123 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6124 (print_version): Use PKGVERSION.
6125 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6126 (print_version): Use PKGVERSION.
6127 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6128 (print_version): Use PKGVERSION.
6129 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6130 (print_version): Use PKGVERSION.
6131 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6132 (print_version): Use PKGVERSION.
6133 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6135 ($(objpfx)memusage): Likewise.
6136 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6137 (do_version): Use PKGVERSION.
6138 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6139 (print_version): Use PKGVERSION.
6140 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6141 ($PKGVERSION): New variable.
6142 ($REPORT_BUGS_TO): Likewise.
6143 (usage): Use $REPORT_BUGS_TO.
6144 (top level): Use $PKGVERSION.
6145 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6146 ($(objpfx)pkgvers.texi): New rule.
6147 ($(objpfx)stamp-pkgvers): Likewise.
6148 * manual/install.texi: Include pkgvers.texi.
6149 (--with-pkgversion): Document new configure option.
6150 (--with-bugurl): Likewise.
6151 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6152 than necessarily for this particular distribution. Use
6153 REPORT_BUGS_TO for where to report bugs.
6154 * INSTALL: Regenerated.
6155 * manual/libc.texinfo: Include pkgvers.texi.
6156 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6157 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6158 (print_version): Use PKGVERSION.
6159 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6160 (print_version): Use PKGVERSION.
6161 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6162 (print_version): Use PKGVERSION.
6163 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6164 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6166 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6167 (print_version): Use PKGVERSION.
6168 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6169 (print_version): Use PKGVERSION.
6170 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6173 * timezone/checktab.awk: Update from tzcode 2012i.
6174 * timezone/ialloc.c: Likewise.
6175 * timezone/private.h: Likewise.
6176 * timezone/scheck.c: Likewise.
6177 * timezone/tzfile.h: Likewise.
6178 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6179 (TZVERSION): Hardcode tzcode version number.
6180 * timezone/zdump.c: Update from tzcode 2012i.
6181 * timezone/zic.c: Likewise.
6182 * timezone/version.h: New file.
6183 * timezone/README: Describe version.h. Update upstream location.
6186 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6187 (mktemp): Enable declaration.
6188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6205 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6206 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6207 for copies of such integer values.
6208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6211 2012-11-09 Andreas Jaeger <aj@suse.de>
6213 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6214 definitions and declarations that are provided by
6215 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6217 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6219 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6220 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6221 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6224 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6226 * elf/elf.h: Update comment before AArch64 relocations.
6228 2012-11-07 David S. Miller <davem@davemloft.net>
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6232 (__start_context): Declare.
6233 (__makecontext_ret): Delete.
6234 (__makecontext): Hook up __start_context instead of
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6237 (sysdep_routines): Add __start_context when in stdlib.
6239 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6242 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6243 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6245 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6246 (READELF): New variable. Use it instead of hardcoded "readelf".
6248 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6251 * sysdeps/x86/Makefile: Here.
6252 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6253 * sysdeps/x86/tst-xmmymm.sh: This.
6255 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6257 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6259 [UNIX98] (pthread_barrier_t): Do not expect.
6260 [UNIX98] (pthread_barrierattr_t): Likewise.
6261 [UNIX98] (pthread_spinlock_t): Likewise.
6262 [UNIX98] (pthread_barrier_destroy): Likewise.
6263 [UNIX98] (pthread_barrier_init): Likewise.
6264 [UNIX98] (pthread_barrier_wait): Likewise.
6265 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6266 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6267 [UNIX98] (pthread_barrierattr_init): Likewise.
6268 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6269 [UNIX98] (pthread_getcpuclockid): Likewise.
6270 [UNIX98] (pthread_mutex_timedlock): Likewise.
6271 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6272 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6273 [UNIX98] (pthread_sigmask): Likewise.
6274 [UNIX98] (pthread_spin_destroy): Likewise.
6275 [UNIX98] (pthread_spin_init): Likewise.
6276 [UNIX98] (pthread_spin_lock): Likewise.
6277 [UNIX98] (pthread_spin_trylock): Likewise.
6278 [UNIX98] (pthread_spin_unlock): Likewise.
6279 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6281 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6283 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6284 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6285 [XPG3 || XPG4] (pthread_key_t): Likewise.
6286 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6287 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6288 [XPG3 || XPG4] (pthread_once_t): Likewise.
6289 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6290 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6292 [XPG3 || XPG4] (pthread_t): Likewise.
6294 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6296 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6298 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6299 Change function return type to int.
6301 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6302 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6303 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6304 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6305 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6306 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6307 [!POSIX] (posix_madvise): Likewise.
6308 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6310 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6311 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6313 (posix_mem_offset): Likewise.
6314 (posix_typed_mem_get_info): Likewise.
6315 (posix_typed_mem_open): Likewise.
6317 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6318 Change condition to [XOPEN2K8].
6320 * conform/conformtest.pl: Preprocess allow-header data with -x c
6321 instead of from stdin.
6322 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6323 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6324 [C99-based standards] (cerfc): Likewise.
6325 [C99-based standards] (cexp2): Likewise.
6326 [C99-based standards] (cexpm1): Likewise.
6327 [C99-based standards] (clog10): Likewise.
6328 [C99-based standards] (clog1p): Likewise.
6329 [C99-based standards] (clog2): Likewise.
6330 [C99-based standards] (clgamma): Likewise.
6331 [C99-based standards] (ctgamma): Likewise.
6332 [C99-based standards] (cerff): Likewise.
6333 [C99-based standards] (cerfcf): Likewise.
6334 [C99-based standards] (cexp2f): Likewise.
6335 [C99-based standards] (cexpm1f): Likewise.
6336 [C99-based standards] (clog10f): Likewise.
6337 [C99-based standards] (clog1pf): Likewise.
6338 [C99-based standards] (clog2f): Likewise.
6339 [C99-based standards] (clgammaf): Likewise.
6340 [C99-based standards] (ctgammaf): Likewise.
6341 [C99-based standards] (cerfl): Likewise.
6342 [C99-based standards] (cerfcl): Likewise.
6343 [C99-based standards] (cexp2l): Likewise.
6344 [C99-based standards] (cexpm1l): Likewise.
6345 [C99-based standards] (clog10l): Likewise.
6346 [C99-based standards] (clog1pl): Likewise.
6347 [C99-based standards] (clog2l): Likewise.
6348 [C99-based standards] (clgammal): Likewise.
6349 [C99-based standards] (ctgammal): Likewise.
6350 * conform/data/inttypes.h-data [C99-based standards]: Include
6351 stdint.h-data. Remove all expectations for stdint.h contents.
6352 [C99-based standards] (PRI*): Do not allow.
6353 [C99-based standards] (SCN*): Likewise.
6354 [C99-based standards] (*_t): Likewise.
6355 [C99-based-standards] (PRId8): Expect macro.
6356 [C99-based-standards] (PRIi8): Likewise.
6357 [C99-based-standards] (PRIo8): Likewise.
6358 [C99-based-standards] (PRIu8): Likewise.
6359 [C99-based-standards] (PRIx8): Likewise.
6360 [C99-based-standards] (PRIX8): Likewise.
6361 [C99-based-standards] (SCNd8): Likewise.
6362 [C99-based-standards] (SCNi8): Likewise.
6363 [C99-based-standards] (SCNo8): Likewise.
6364 [C99-based-standards] (SCNu8): Likewise.
6365 [C99-based-standards] (SCNx8): Likewise.
6366 [C99-based-standards] (PRIdLEAST8): Likewise.
6367 [C99-based-standards] (PRIiLEAST8): Likewise.
6368 [C99-based-standards] (PRIoLEAST8): Likewise.
6369 [C99-based-standards] (PRIuLEAST8): Likewise.
6370 [C99-based-standards] (PRIxLEAST8): Likewise.
6371 [C99-based-standards] (PRIXLEAST8): Likewise.
6372 [C99-based-standards] (SCNdLEAST8): Likewise.
6373 [C99-based-standards] (SCNiLEAST8): Likewise.
6374 [C99-based-standards] (SCNoLEAST8): Likewise.
6375 [C99-based-standards] (SCNuLEAST8): Likewise.
6376 [C99-based-standards] (SCNxLEAST8): Likewise.
6377 [C99-based-standards] (PRIdFAST8): Likewise.
6378 [C99-based-standards] (PRIiFAST8): Likewise.
6379 [C99-based-standards] (PRIoFAST8): Likewise.
6380 [C99-based-standards] (PRIuFAST8): Likewise.
6381 [C99-based-standards] (PRIxFAST8): Likewise.
6382 [C99-based-standards] (PRIXFAST8): Likewise.
6383 [C99-based-standards] (SCNdFAST8): Likewise.
6384 [C99-based-standards] (SCNiFAST8): Likewise.
6385 [C99-based-standards] (SCNoFAST8): Likewise.
6386 [C99-based-standards] (SCNuFAST8): Likewise.
6387 [C99-based-standards] (SCNxFAST8): Likewise.
6388 [C99-based-standards] (PRId16): Likewise.
6389 [C99-based-standards] (PRIi16): Likewise.
6390 [C99-based-standards] (PRIo16): Likewise.
6391 [C99-based-standards] (PRIu16): Likewise.
6392 [C99-based-standards] (PRIx16): Likewise.
6393 [C99-based-standards] (PRIX16): Likewise.
6394 [C99-based-standards] (SCNd16): Likewise.
6395 [C99-based-standards] (SCNi16): Likewise.
6396 [C99-based-standards] (SCNo16): Likewise.
6397 [C99-based-standards] (SCNu16): Likewise.
6398 [C99-based-standards] (SCNx16): Likewise.
6399 [C99-based-standards] (PRIdLEAST16): Likewise.
6400 [C99-based-standards] (PRIiLEAST16): Likewise.
6401 [C99-based-standards] (PRIoLEAST16): Likewise.
6402 [C99-based-standards] (PRIuLEAST16): Likewise.
6403 [C99-based-standards] (PRIxLEAST16): Likewise.
6404 [C99-based-standards] (PRIXLEAST16): Likewise.
6405 [C99-based-standards] (SCNdLEAST16): Likewise.
6406 [C99-based-standards] (SCNiLEAST16): Likewise.
6407 [C99-based-standards] (SCNoLEAST16): Likewise.
6408 [C99-based-standards] (SCNuLEAST16): Likewise.
6409 [C99-based-standards] (SCNxLEAST16): Likewise.
6410 [C99-based-standards] (PRIdFAST16): Likewise.
6411 [C99-based-standards] (PRIiFAST16): Likewise.
6412 [C99-based-standards] (PRIoFAST16): Likewise.
6413 [C99-based-standards] (PRIuFAST16): Likewise.
6414 [C99-based-standards] (PRIxFAST16): Likewise.
6415 [C99-based-standards] (PRIXFAST16): Likewise.
6416 [C99-based-standards] (SCNdFAST16): Likewise.
6417 [C99-based-standards] (SCNiFAST16): Likewise.
6418 [C99-based-standards] (SCNoFAST16): Likewise.
6419 [C99-based-standards] (SCNuFAST16): Likewise.
6420 [C99-based-standards] (SCNxFAST16): Likewise.
6421 [C99-based-standards] (PRId32): Likewise.
6422 [C99-based-standards] (PRIi32): Likewise.
6423 [C99-based-standards] (PRIo32): Likewise.
6424 [C99-based-standards] (PRIu32): Likewise.
6425 [C99-based-standards] (PRIx32): Likewise.
6426 [C99-based-standards] (PRIX32): Likewise.
6427 [C99-based-standards] (SCNd32): Likewise.
6428 [C99-based-standards] (SCNi32): Likewise.
6429 [C99-based-standards] (SCNo32): Likewise.
6430 [C99-based-standards] (SCNu32): Likewise.
6431 [C99-based-standards] (SCNx32): Likewise.
6432 [C99-based-standards] (PRIdLEAST32): Likewise.
6433 [C99-based-standards] (PRIiLEAST32): Likewise.
6434 [C99-based-standards] (PRIoLEAST32): Likewise.
6435 [C99-based-standards] (PRIuLEAST32): Likewise.
6436 [C99-based-standards] (PRIxLEAST32): Likewise.
6437 [C99-based-standards] (PRIXLEAST32): Likewise.
6438 [C99-based-standards] (SCNdLEAST32): Likewise.
6439 [C99-based-standards] (SCNiLEAST32): Likewise.
6440 [C99-based-standards] (SCNoLEAST32): Likewise.
6441 [C99-based-standards] (SCNuLEAST32): Likewise.
6442 [C99-based-standards] (SCNxLEAST32): Likewise.
6443 [C99-based-standards] (PRIdFAST32): Likewise.
6444 [C99-based-standards] (PRIiFAST32): Likewise.
6445 [C99-based-standards] (PRIoFAST32): Likewise.
6446 [C99-based-standards] (PRIuFAST32): Likewise.
6447 [C99-based-standards] (PRIxFAST32): Likewise.
6448 [C99-based-standards] (PRIXFAST32): Likewise.
6449 [C99-based-standards] (SCNdFAST32): Likewise.
6450 [C99-based-standards] (SCNiFAST32): Likewise.
6451 [C99-based-standards] (SCNoFAST32): Likewise.
6452 [C99-based-standards] (SCNuFAST32): Likewise.
6453 [C99-based-standards] (SCNxFAST32): Likewise.
6454 [C99-based-standards] (PRId64): Likewise.
6455 [C99-based-standards] (PRIi64): Likewise.
6456 [C99-based-standards] (PRIo64): Likewise.
6457 [C99-based-standards] (PRIu64): Likewise.
6458 [C99-based-standards] (PRIx64): Likewise.
6459 [C99-based-standards] (PRIX64): Likewise.
6460 [C99-based-standards] (SCNd64): Likewise.
6461 [C99-based-standards] (SCNi64): Likewise.
6462 [C99-based-standards] (SCNo64): Likewise.
6463 [C99-based-standards] (SCNu64): Likewise.
6464 [C99-based-standards] (SCNx64): Likewise.
6465 [C99-based-standards] (PRIdLEAST64): Likewise.
6466 [C99-based-standards] (PRIiLEAST64): Likewise.
6467 [C99-based-standards] (PRIoLEAST64): Likewise.
6468 [C99-based-standards] (PRIuLEAST64): Likewise.
6469 [C99-based-standards] (PRIxLEAST64): Likewise.
6470 [C99-based-standards] (PRIXLEAST64): Likewise.
6471 [C99-based-standards] (SCNdLEAST64): Likewise.
6472 [C99-based-standards] (SCNiLEAST64): Likewise.
6473 [C99-based-standards] (SCNoLEAST64): Likewise.
6474 [C99-based-standards] (SCNuLEAST64): Likewise.
6475 [C99-based-standards] (SCNxLEAST64): Likewise.
6476 [C99-based-standards] (PRIdFAST64): Likewise.
6477 [C99-based-standards] (PRIiFAST64): Likewise.
6478 [C99-based-standards] (PRIoFAST64): Likewise.
6479 [C99-based-standards] (PRIuFAST64): Likewise.
6480 [C99-based-standards] (PRIxFAST64): Likewise.
6481 [C99-based-standards] (PRIXFAST64): Likewise.
6482 [C99-based-standards] (SCNdFAST64): Likewise.
6483 [C99-based-standards] (SCNiFAST64): Likewise.
6484 [C99-based-standards] (SCNoFAST64): Likewise.
6485 [C99-based-standards] (SCNuFAST64): Likewise.
6486 [C99-based-standards] (SCNxFAST64): Likewise.
6487 [C99-based-standards] (PRIdMAX): Likewise.
6488 [C99-based-standards] (PRIiMAX): Likewise.
6489 [C99-based-standards] (PRIoMAX): Likewise.
6490 [C99-based-standards] (PRIuMAX): Likewise.
6491 [C99-based-standards] (PRIxMAX): Likewise.
6492 [C99-based-standards] (PRIXMAX): Likewise.
6493 [C99-based-standards] (SCNdMAX): Likewise.
6494 [C99-based-standards] (SCNiMAX): Likewise.
6495 [C99-based-standards] (SCNoMAX): Likewise.
6496 [C99-based-standards] (SCNuMAX): Likewise.
6497 [C99-based-standards] (SCNxMAX): Likewise.
6498 [C99-based-standards] (PRIdPTR): Likewise.
6499 [C99-based-standards] (PRIiPTR): Likewise.
6500 [C99-based-standards] (PRIoPTR): Likewise.
6501 [C99-based-standards] (PRIuPTR): Likewise.
6502 [C99-based-standards] (PRIxPTR): Likewise.
6503 [C99-based-standards] (PRIXPTR): Likewise.
6504 [C99-based-standards] (SCNdPTR): Likewise.
6505 [C99-based-standards] (SCNiPTR): Likewise.
6506 [C99-based-standards] (SCNoPTR): Likewise.
6507 [C99-based-standards] (SCNuPTR): Likewise.
6508 [C99-based-standards] (SCNxPTR): Likewise.
6509 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6511 * conform/data/stdint.h-data: Update comments to clarify
6513 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6515 [C99-based standards] (INT8_MAX): Likewise.
6516 [C99-based standards] (INT16_MIN): Likewise.
6517 [C99-based standards] (INT16_MAX): Likewise.
6518 [C99-based standards] (INT32_MIN): Likewise.
6519 [C99-based standards] (INT32_MAX): Likewise.
6520 [C99-based standards] (INT64_MIN): Likewise.
6521 [C99-based standards] (INT64_MAX): Likewise.
6522 [C99-based standards] (UINT8_MAX): Likewise.
6523 [C99-based standards] (UINT16_MAX): Likewise.
6524 [C99-based standards] (UINT32_MAX): Likewise.
6525 [C99-based standards] (UINT64_MAX): Likewise.
6526 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6527 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6528 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6529 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6530 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6531 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6532 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6533 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6534 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6535 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6536 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6537 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6538 [C99-based standards] (INT_FAST8_MIN): Likewise.
6539 [C99-based standards] (INT_FAST8_MAX): Likewise.
6540 [C99-based standards] (INT_FAST16_MIN): Likewise.
6541 [C99-based standards] (INT_FAST16_MAX): Likewise.
6542 [C99-based standards] (INT_FAST32_MIN): Likewise.
6543 [C99-based standards] (INT_FAST32_MAX): Likewise.
6544 [C99-based standards] (INT_FAST64_MIN): Likewise.
6545 [C99-based standards] (INT_FAST64_MAX): Likewise.
6546 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6547 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6548 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6549 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6550 [C99-based standards] (INTPTR_MIN): Likewise.
6551 [C99-based standards] (INTPTR_MAX): Likewise.
6552 [C99-based standards] (UINTPTR_MAX): Likewise.
6553 [C99-based standards] (INTMAX_MIN): Likewise.
6554 [C99-based standards] (INTMAX_MAX): Likewise.
6555 [C99-based standards] (UINTMAX_MAX): Likewise.
6556 [C99-based standards] (PTRDIFF_MIN): Likewise.
6557 [C99-based standards] (PTRDIFF_MAX): Likewise.
6558 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6559 [C99-based standards] (SIZE_MAX): Likewise.
6560 [C99-based standards] (WCHAR_MAX): Likewise.
6561 [C99-based standards] (WINT_MAX): Likewise.
6562 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6563 constraint on value.
6564 [C99-based standards] (WCHAR_MIN): Likewise.
6565 [C99-based standards] (WINT_MIN): Likewise.
6566 [C99-based standards] (*_t): Allow.
6567 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6568 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6569 Include math.h-data and complex.h-data. Remove all expectations
6570 of math.h and complex.h contents.
6571 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6573 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6574 (struct tm): Expect tag.
6575 [C99-based-standards] (wcstof): Expect function.
6576 [C99-based-standards] (wcstold): Likewise.
6577 [C99-based-standards] (wcstoll): Likewise.
6578 [C99-based-standards] (wcstoull): Likewise.
6579 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6580 macro-int-constant. Specify type.
6581 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6582 constraint on value.
6583 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6585 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6587 [ISO C standards]: Do not allow headers.
6588 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6589 wcs[abcdefghijklmnopqrstuvwxyz]*.
6590 [ISO C standards] (*_t): Do not allow.
6591 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6593 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6594 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6596 [ISO C standards]: Do not allow headers.
6597 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6598 is[abcdefghijklmnopqrstuvwxyz]*.
6599 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6600 to[abcdefghijklmnopqrstuvwxyz]*.
6601 [ISO C standards] (*_t): Do not allow.
6602 * conform/data/stdalign.h-data: New file.
6603 * conform/data/stdbool.h-data: Likewise.
6604 * conform/data/stdnoreturn.h-data: Likewise.
6606 2012-11-07 Roland McGrath <roland@hack.frob.com>
6609 * manual/filesys.texi (Directory Entries): Typo fix.
6610 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6612 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6614 * elf/elf.h (EM_AARCH64): New macro.
6615 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6616 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6617 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6618 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6619 (R_AARCH64_TLSDESC): Likewise.
6620 (NT_ARM_TLS): Likewise.
6621 (NT_ARM_HW_BREAK): Likewise.
6622 (NT_ARM_HW_WATCH): Likewise.
6624 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6627 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6628 (__ieee754_powl): Saturate nonzero exponents with absolute value
6629 below 0x1p-79 to +/- 0x1p-79.
6630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6631 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6632 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6633 nonzero exponents with absolute value below 0x1p-32 to +/-
6635 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6636 (__ieee754_powl): Saturate nonzero exponents with absolute value
6637 below 0x1p-79 to +/- 0x1p-79.
6638 * math/libm-test.inc (pow_test): Add more tests.
6640 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6642 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6643 _dl_s390_cap_flags with kernel. Increase string length.
6644 (_dl_s390_platforms): Add z196 and zEC12.
6646 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6648 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6649 Change XOPEN21K to XOPEN2K.
6651 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6653 * string/memmove.c: Use memcpy when possible.
6655 2012-11-06 Andreas Jaeger <aj@suse.de>
6657 * po/eo.po: Update from translation team.
6659 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6663 exponent and small x and y exponents, scale x or y up. Increase
6664 by 2 the exponent used in scaling up.
6665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6667 * math/libm-test.inc (fma_test): Add more tests.
6668 (fma_test_towardzero): Likewise.
6669 (fma_test_downward): Likewise.
6670 (fma_test_upward): Likewise.
6672 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6675 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6679 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6680 namespace for names of struct fields.
6681 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6683 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6684 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6686 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6689 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6691 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6693 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6697 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6700 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6704 definitely overflow as x * y not x * y + z.
6705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6707 * math/libm-test.inc (fma_test): Add more tests.
6708 (fma_test_towardzero): Likewise.
6709 (fma_test_downward): Likewise.
6710 (fma_test_upward): Likewise.
6712 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6716 * include/stub-tag.h: Remove file.
6717 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6719 * manual/maint.texi (Porting): Don't reference it.
6720 * Makerules ($(objpfx)stubs): Likewise.
6721 * dirent/closedir.c: Don't include <stub-tag.h>.
6722 * dirent/dirfd.c: Likewise.
6723 * dirent/fdopendir.c: Likewise.
6724 * dirent/getdents.c: Likewise.
6725 * dirent/getdents64.c: Likewise.
6726 * dirent/opendir.c: Likewise.
6727 * dirent/readdir.c: Likewise.
6728 * dirent/readdir64.c: Likewise.
6729 * dirent/readdir64_r.c: Likewise.
6730 * dirent/readdir_r.c: Likewise.
6731 * dirent/rewinddir.c: Likewise.
6732 * dirent/seekdir.c: Likewise.
6733 * dirent/telldir.c: Likewise.
6734 * gmon/profil.c: Likewise.
6735 * grp/setgroups.c: Likewise.
6736 * inet/if_index.c: Likewise.
6737 * io/access.c: Likewise.
6738 * io/chdir.c: Likewise.
6739 * io/chmod.c: Likewise.
6740 * io/chown.c: Likewise.
6741 * io/close.c: Likewise.
6742 * io/dup.c: Likewise.
6743 * io/dup2.c: Likewise.
6744 * io/dup3.c: Likewise.
6745 * io/euidaccess.c: Likewise.
6746 * io/faccessat.c: Likewise.
6747 * io/fchdir.c: Likewise.
6748 * io/fchmod.c: Likewise.
6749 * io/fchmodat.c: Likewise.
6750 * io/fchown.c: Likewise.
6751 * io/fchownat.c: Likewise.
6752 * io/fcntl.c: Likewise.
6753 * io/flock.c: Likewise.
6754 * io/fstatfs.c: Likewise.
6755 * io/fstatfs64.c: Likewise.
6756 * io/fstatvfs.c: Likewise.
6757 * io/fstatvfs64.c: Likewise.
6758 * io/futimens.c: Likewise.
6759 * io/fxstat.c: Likewise.
6760 * io/fxstat64.c: Likewise.
6761 * io/fxstatat.c: Likewise.
6762 * io/fxstatat64.c: Likewise.
6763 * io/getcwd.c: Likewise.
6764 * io/isatty.c: Likewise.
6765 * io/lchmod.c: Likewise.
6766 * io/lchown.c: Likewise.
6767 * io/link.c: Likewise.
6768 * io/linkat.c: Likewise.
6769 * io/lseek.c: Likewise.
6770 * io/lseek64.c: Likewise.
6771 * io/lxstat64.c: Likewise.
6772 * io/mkdir.c: Likewise.
6773 * io/mkdirat.c: Likewise.
6774 * io/mkfifo.c: Likewise.
6775 * io/mkfifoat.c: Likewise.
6776 * io/open.c: Likewise.
6777 * io/open64.c: Likewise.
6778 * io/openat.c: Likewise.
6779 * io/openat64.c: Likewise.
6780 * io/pipe.c: Likewise.
6781 * io/pipe2.c: Likewise.
6782 * io/poll.c: Likewise.
6783 * io/posix_fadvise.c: Likewise.
6784 * io/posix_fadvise64.c: Likewise.
6785 * io/posix_fallocate.c: Likewise.
6786 * io/posix_fallocate64.c: Likewise.
6787 * io/read.c: Likewise.
6788 * io/readlink.c: Likewise.
6789 * io/readlinkat.c: Likewise.
6790 * io/rmdir.c: Likewise.
6791 * io/sendfile.c: Likewise.
6792 * io/sendfile64.c: Likewise.
6793 * io/statfs.c: Likewise.
6794 * io/statfs64.c: Likewise.
6795 * io/statvfs.c: Likewise.
6796 * io/statvfs64.c: Likewise.
6797 * io/symlink.c: Likewise.
6798 * io/symlinkat.c: Likewise.
6799 * io/ttyname.c: Likewise.
6800 * io/ttyname_r.c: Likewise.
6801 * io/umask.c: Likewise.
6802 * io/unlink.c: Likewise.
6803 * io/unlinkat.c: Likewise.
6804 * io/utime.c: Likewise.
6805 * io/utimensat.c: Likewise.
6806 * io/write.c: Likewise.
6807 * io/xmknod.c: Likewise.
6808 * io/xmknodat.c: Likewise.
6809 * io/xstat.c: Likewise.
6810 * io/xstat64.c: Likewise.
6811 * login/getpt.c: Likewise.
6812 * login/grantpt.c: Likewise.
6813 * login/unlockpt.c: Likewise.
6814 * math/e_acoshl.c: Likewise.
6815 * math/e_acosl.c: Likewise.
6816 * math/e_asinl.c: Likewise.
6817 * math/e_atan2l.c: Likewise.
6818 * math/e_atanhl.c: Likewise.
6819 * math/e_coshl.c: Likewise.
6820 * math/e_expl.c: Likewise.
6821 * math/e_fmodl.c: Likewise.
6822 * math/e_gammal_r.c: Likewise.
6823 * math/e_hypotl.c: Likewise.
6824 * math/e_j0l.c: Likewise.
6825 * math/e_j1l.c: Likewise.
6826 * math/e_jnl.c: Likewise.
6827 * math/e_lgammal_r.c: Likewise.
6828 * math/e_log10l.c: Likewise.
6829 * math/e_log2l.c: Likewise.
6830 * math/e_logl.c: Likewise.
6831 * math/e_powl.c: Likewise.
6832 * math/e_rem_pio2l.c: Likewise.
6833 * math/e_sinhl.c: Likewise.
6834 * math/e_sqrtl.c: Likewise.
6835 * math/fclrexcpt.c: Likewise.
6836 * math/fedisblxcpt.c: Likewise.
6837 * math/feenablxcpt.c: Likewise.
6838 * math/fegetenv.c: Likewise.
6839 * math/fegetexcept.c: Likewise.
6840 * math/fegetround.c: Likewise.
6841 * math/feholdexcpt.c: Likewise.
6842 * math/fesetenv.c: Likewise.
6843 * math/fesetround.c: Likewise.
6844 * math/feupdateenv.c: Likewise.
6845 * math/fgetexcptflg.c: Likewise.
6846 * math/fraiseexcpt.c: Likewise.
6847 * math/fsetexcptflg.c: Likewise.
6848 * math/ftestexcept.c: Likewise.
6849 * math/k_cosl.c: Likewise.
6850 * math/k_rem_pio2l.c: Likewise.
6851 * math/k_sinl.c: Likewise.
6852 * math/k_tanl.c: Likewise.
6853 * math/s_asinhl.c: Likewise.
6854 * math/s_atanl.c: Likewise.
6855 * math/s_cbrtl.c: Likewise.
6856 * math/s_erfl.c: Likewise.
6857 * math/s_expm1l.c: Likewise.
6858 * math/s_log1pl.c: Likewise.
6859 * math/s_tanhl.c: Likewise.
6860 * misc/acct.c: Likewise.
6861 * misc/brk.c: Likewise.
6862 * misc/chflags.c: Likewise.
6863 * misc/chroot.c: Likewise.
6864 * misc/fchflags.c: Likewise.
6865 * misc/fgetxattr.c: Likewise.
6866 * misc/flistxattr.c: Likewise.
6867 * misc/fremovexattr.c: Likewise.
6868 * misc/fsetxattr.c: Likewise.
6869 * misc/fsync.c: Likewise.
6870 * misc/ftruncate.c: Likewise.
6871 * misc/futimes.c: Likewise.
6872 * misc/futimesat.c: Likewise.
6873 * misc/getdomain.c: Likewise.
6874 * misc/getdtsz.c: Likewise.
6875 * misc/gethostid.c: Likewise.
6876 * misc/gethostname.c: Likewise.
6877 * misc/getloadavg.c: Likewise.
6878 * misc/getpagesize.c: Likewise.
6879 * misc/getsysstats.c: Likewise.
6880 * misc/getxattr.c: Likewise.
6881 * misc/gtty.c: Likewise.
6882 * misc/ioctl.c: Likewise.
6883 * misc/lgetxattr.c: Likewise.
6884 * misc/listxattr.c: Likewise.
6885 * misc/llistxattr.c: Likewise.
6886 * misc/lremovexattr.c: Likewise.
6887 * misc/lsetxattr.c: Likewise.
6888 * misc/lutimes.c: Likewise.
6889 * misc/madvise.c: Likewise.
6890 * misc/mincore.c: Likewise.
6891 * misc/mlock.c: Likewise.
6892 * misc/mlockall.c: Likewise.
6893 * misc/mmap.c: Likewise.
6894 * misc/mprotect.c: Likewise.
6895 * misc/msync.c: Likewise.
6896 * misc/munlock.c: Likewise.
6897 * misc/munlockall.c: Likewise.
6898 * misc/munmap.c: Likewise.
6899 * misc/preadv.c: Likewise.
6900 * misc/preadv64.c: Likewise.
6901 * misc/ptrace.c: Likewise.
6902 * misc/pwritev.c: Likewise.
6903 * misc/pwritev64.c: Likewise.
6904 * misc/readv.c: Likewise.
6905 * misc/reboot.c: Likewise.
6906 * misc/remap_file_pages.c: Likewise.
6907 * misc/removexattr.c: Likewise.
6908 * misc/revoke.c: Likewise.
6909 * misc/select.c: Likewise.
6910 * misc/setdomain.c: Likewise.
6911 * misc/setegid.c: Likewise.
6912 * misc/seteuid.c: Likewise.
6913 * misc/sethostid.c: Likewise.
6914 * misc/sethostname.c: Likewise.
6915 * misc/setregid.c: Likewise.
6916 * misc/setreuid.c: Likewise.
6917 * misc/setxattr.c: Likewise.
6918 * misc/sstk.c: Likewise.
6919 * misc/stty.c: Likewise.
6920 * misc/swapoff.c: Likewise.
6921 * misc/swapon.c: Likewise.
6922 * misc/sync.c: Likewise.
6923 * misc/syncfs.c: Likewise.
6924 * misc/syscall.c: Likewise.
6925 * misc/truncate.c: Likewise.
6926 * misc/ualarm.c: Likewise.
6927 * misc/usleep.c: Likewise.
6928 * misc/ustat.c: Likewise.
6929 * misc/utimes.c: Likewise.
6930 * misc/vhangup.c: Likewise.
6931 * misc/writev.c: Likewise.
6932 * posix/_exit.c: Likewise.
6933 * posix/alarm.c: Likewise.
6934 * posix/execve.c: Likewise.
6935 * posix/fexecve.c: Likewise.
6936 * posix/fork.c: Likewise.
6937 * posix/fpathconf.c: Likewise.
6938 * posix/getaddrinfo.c: Likewise.
6939 * posix/getegid.c: Likewise.
6940 * posix/geteuid.c: Likewise.
6941 * posix/getgid.c: Likewise.
6942 * posix/getgroups.c: Likewise.
6943 * posix/getlogin.c: Likewise.
6944 * posix/getlogin_r.c: Likewise.
6945 * posix/getpgid.c: Likewise.
6946 * posix/getpid.c: Likewise.
6947 * posix/getppid.c: Likewise.
6948 * posix/getresgid.c: Likewise.
6949 * posix/getresuid.c: Likewise.
6950 * posix/getsid.c: Likewise.
6951 * posix/getuid.c: Likewise.
6952 * posix/glob64.c: Likewise.
6953 * posix/nanosleep.c: Likewise.
6954 * posix/pathconf.c: Likewise.
6955 * posix/pause.c: Likewise.
6956 * posix/posix_madvise.c: Likewise.
6957 * posix/pread.c: Likewise.
6958 * posix/pread64.c: Likewise.
6959 * posix/pwrite.c: Likewise.
6960 * posix/pwrite64.c: Likewise.
6961 * posix/sched_getaffinity.c: Likewise.
6962 * posix/sched_getp.c: Likewise.
6963 * posix/sched_gets.c: Likewise.
6964 * posix/sched_primax.c: Likewise.
6965 * posix/sched_primin.c: Likewise.
6966 * posix/sched_rr_gi.c: Likewise.
6967 * posix/sched_setaffinity.c: Likewise.
6968 * posix/sched_setp.c: Likewise.
6969 * posix/sched_sets.c: Likewise.
6970 * posix/sched_yield.c: Likewise.
6971 * posix/setgid.c: Likewise.
6972 * posix/setlogin.c: Likewise.
6973 * posix/setpgid.c: Likewise.
6974 * posix/setresgid.c: Likewise.
6975 * posix/setresuid.c: Likewise.
6976 * posix/setsid.c: Likewise.
6977 * posix/setuid.c: Likewise.
6978 * posix/sleep.c: Likewise.
6979 * posix/spawni.c: Likewise.
6980 * posix/sysconf.c: Likewise.
6981 * posix/times.c: Likewise.
6982 * posix/wait.c: Likewise.
6983 * posix/wait3.c: Likewise.
6984 * posix/wait4.c: Likewise.
6985 * posix/waitpid.c: Likewise.
6986 * resolv/gai_sigqueue.c: Likewise.
6987 * resource/getpriority.c: Likewise.
6988 * resource/getrlimit.c: Likewise.
6989 * resource/getrusage.c: Likewise.
6990 * resource/nice.c: Likewise.
6991 * resource/setpriority.c: Likewise.
6992 * resource/setrlimit.c: Likewise.
6993 * resource/ulimit.c: Likewise.
6994 * rt/aio_cancel.c: Likewise.
6995 * rt/aio_fsync.c: Likewise.
6996 * rt/aio_read.c: Likewise.
6997 * rt/aio_sigqueue.c: Likewise.
6998 * rt/aio_suspend.c: Likewise.
6999 * rt/aio_write.c: Likewise.
7000 * rt/clock_getres.c: Likewise.
7001 * rt/clock_gettime.c: Likewise.
7002 * rt/clock_nanosleep.c: Likewise.
7003 * rt/clock_settime.c: Likewise.
7004 * rt/lio_listio.c: Likewise.
7005 * rt/mq_close.c: Likewise.
7006 * rt/mq_getattr.c: Likewise.
7007 * rt/mq_notify.c: Likewise.
7008 * rt/mq_open.c: Likewise.
7009 * rt/mq_receive.c: Likewise.
7010 * rt/mq_send.c: Likewise.
7011 * rt/mq_setattr.c: Likewise.
7012 * rt/mq_timedreceive.c: Likewise.
7013 * rt/mq_timedsend.c: Likewise.
7014 * rt/mq_unlink.c: Likewise.
7015 * rt/shm_open.c: Likewise.
7016 * rt/shm_unlink.c: Likewise.
7017 * rt/timer_create.c: Likewise.
7018 * rt/timer_delete.c: Likewise.
7019 * rt/timer_getoverr.c: Likewise.
7020 * rt/timer_gettime.c: Likewise.
7021 * rt/timer_settime.c: Likewise.
7022 * setjmp/__longjmp.c: Likewise.
7023 * setjmp/setjmp.c: Likewise.
7024 * signal/kill.c: Likewise.
7025 * signal/killpg.c: Likewise.
7026 * signal/raise.c: Likewise.
7027 * signal/sigaction.c: Likewise.
7028 * signal/sigaltstack.c: Likewise.
7029 * signal/sigblock.c: Likewise.
7030 * signal/sigignore.c: Likewise.
7031 * signal/sigintr.c: Likewise.
7032 * signal/signal.c: Likewise.
7033 * signal/sigpause.c: Likewise.
7034 * signal/sigpending.c: Likewise.
7035 * signal/sigqueue.c: Likewise.
7036 * signal/sigreturn.c: Likewise.
7037 * signal/sigset.c: Likewise.
7038 * signal/sigsetmask.c: Likewise.
7039 * signal/sigstack.c: Likewise.
7040 * signal/sigsuspend.c: Likewise.
7041 * signal/sigtimedwait.c: Likewise.
7042 * signal/sigvec.c: Likewise.
7043 * signal/sigwait.c: Likewise.
7044 * signal/sigwaitinfo.c: Likewise.
7045 * signal/sysv_signal.c: Likewise.
7046 * socket/accept.c: Likewise.
7047 * socket/accept4.c: Likewise.
7048 * socket/bind.c: Likewise.
7049 * socket/connect.c: Likewise.
7050 * socket/getpeername.c: Likewise.
7051 * socket/getsockname.c: Likewise.
7052 * socket/getsockopt.c: Likewise.
7053 * socket/isfdtype.c: Likewise.
7054 * socket/listen.c: Likewise.
7055 * socket/recv.c: Likewise.
7056 * socket/recvfrom.c: Likewise.
7057 * socket/recvmsg.c: Likewise.
7058 * socket/send.c: Likewise.
7059 * socket/sendmsg.c: Likewise.
7060 * socket/sendto.c: Likewise.
7061 * socket/setsockopt.c: Likewise.
7062 * socket/shutdown.c: Likewise.
7063 * socket/sockatmark.c: Likewise.
7064 * socket/socket.c: Likewise.
7065 * socket/socketpair.c: Likewise.
7066 * stdio-common/ctermid.c: Likewise.
7067 * stdio-common/cuserid.c: Likewise.
7068 * stdio-common/remove.c: Likewise.
7069 * stdio-common/rename.c: Likewise.
7070 * stdio-common/renameat.c: Likewise.
7071 * stdio-common/tempname.c: Likewise.
7072 * stdlib/getcontext.c: Likewise.
7073 * stdlib/makecontext.c: Likewise.
7074 * stdlib/setcontext.c: Likewise.
7075 * stdlib/swapcontext.c: Likewise.
7076 * stdlib/system.c: Likewise.
7077 * streams/fattach.c: Likewise.
7078 * streams/fdetach.c: Likewise.
7079 * streams/getmsg.c: Likewise.
7080 * streams/getpmsg.c: Likewise.
7081 * streams/putmsg.c: Likewise.
7082 * streams/putpmsg.c: Likewise.
7083 * sysdeps/unix/bsd/getpt.c: Likewise.
7084 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7085 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7086 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7089 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7090 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7091 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7092 * sysvipc/msgctl.c: Likewise.
7093 * sysvipc/msgget.c: Likewise.
7094 * sysvipc/msgrcv.c: Likewise.
7095 * sysvipc/msgsnd.c: Likewise.
7096 * sysvipc/semctl.c: Likewise.
7097 * sysvipc/semget.c: Likewise.
7098 * sysvipc/semop.c: Likewise.
7099 * sysvipc/semtimedop.c: Likewise.
7100 * sysvipc/shmat.c: Likewise.
7101 * sysvipc/shmctl.c: Likewise.
7102 * sysvipc/shmdt.c: Likewise.
7103 * sysvipc/shmget.c: Likewise.
7104 * termios/tcdrain.c: Likewise.
7105 * termios/tcflow.c: Likewise.
7106 * termios/tcflush.c: Likewise.
7107 * termios/tcgetattr.c: Likewise.
7108 * termios/tcgetpgrp.c: Likewise.
7109 * termios/tcsendbrk.c: Likewise.
7110 * termios/tcsetattr.c: Likewise.
7111 * termios/tcsetpgrp.c: Likewise.
7112 * time/adjtime.c: Likewise.
7113 * time/clock.c: Likewise.
7114 * time/getitimer.c: Likewise.
7115 * time/gettimeofday.c: Likewise.
7116 * time/setitimer.c: Likewise.
7117 * time/settimeofday.c: Likewise.
7118 * time/stime.c: Likewise.
7119 * time/time.c: Likewise.
7121 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7123 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7126 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7128 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7130 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7134 FE_TONEAREST before applying Dekker multiplication and Knuth
7135 addition. Clear inexact exceptions and check for exact zero
7137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7140 * math/libm-test.inc (fma_test): Add more tests.
7141 (fma_test_towardzero): Likewise.
7142 (fma_test_downward): Likewise.
7143 (fma_test_upward): Likewise.
7144 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7146 (libc_fesetround): New macro.
7147 (libc_fesetroundf): Likewise.
7148 (libc_fesetroundl): Likewise.
7149 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7151 (libc_fesetround_387): Likewise.
7152 (libc_fesetroundf): New macro.
7153 (libc_fesetround): Likewise.
7154 (libc_fesetroundl): Likewise.
7155 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7157 (libc_fesetroundf): New macro.
7158 (libc_fesetround): Likewise.
7159 (libc_fesetroundl): Likewise.
7160 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7161 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7162 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7164 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7165 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7167 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7168 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7170 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7174 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7175 integer constant usable in #if and use that to give value to enum
7177 (FE_DIVBYZERO): Likewise.
7178 (FE_UNDERFLOW): Likewise.
7179 (FE_OVERFLOW): Likewise.
7180 (FE_INVALID): Likewise.
7181 (FE_INVALID_SNAN): Likewise.
7182 (FE_INVALID_ISI): Likewise.
7183 (FE_INVALID_IDI): Likewise.
7184 (FE_INVALID_ZDZ): Likewise.
7185 (FE_INVALID_IMZ): Likewise.
7186 (FE_INVALID_COMPARE): Likewise.
7187 (FE_INVALID_SOFTWARE): Likewise.
7188 (FE_INVALID_SQRT): Likewise.
7189 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7190 (FE_TONEAREST): Likewise.
7191 (FE_TOWARDZERO): Likewise.
7192 (FE_UPWARD): Likewise.
7193 (FE_DOWNWARD): Likewise.
7194 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7195 (FE_DIVBYZERO): Likewise.
7196 (FE_OVERFLOW): Likewise.
7197 (FE_UNDERFLOW): Likewise.
7198 (FE_INEXACT): Likewise.
7199 (FE_TONEAREST): Likewise.
7200 (FE_DOWNWARD): Likewise.
7201 (FE_UPWARD): Likewise.
7202 (FE_TOWARDZERO): Likewise.
7203 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7204 (FE_UNDERFLOW): Likewise.
7205 (FE_OVERFLOW): Likewise.
7206 (FE_DIVBYZERO): Likewise.
7207 (FE_INVALID): Likewise.
7208 (FE_TONEAREST): Likewise.
7209 (FE_TOWARDZERO): Likewise.
7210 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7211 (FE_OVERFLOW): Likewise.
7212 (FE_UNDERFLOW): Likewise.
7213 (FE_DIVBYZERO): Likewise.
7214 (FE_INEXACT): Likewise.
7215 (FE_TONEAREST): Likewise.
7216 (FE_TOWARDZERO): Likewise.
7217 (FE_UPWARD): Likewise.
7218 (FE_DOWNWARD): Likewise.
7219 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7220 (FE_DIVBYZERO): Likewise.
7221 (FE_OVERFLOW): Likewise.
7222 (FE_UNDERFLOW): Likewise.
7223 (FE_INEXACT): Likewise.
7224 (FE_TONEAREST): Likewise.
7225 (FE_DOWNWARD): Likewise.
7226 (FE_UPWARD): Likewise.
7227 (FE_TOWARDZERO): Likewise.
7229 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7231 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7233 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7235 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7236 commands. Quote $PWD.
7237 (blacklist_exports): Don't use remove_newlines. Replace "declare
7239 (remove_newlines): Remove.
7241 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7243 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7244 * stdlib/stdlib.h (atof): Moved to ...
7245 * include/bits/stdlib-float.h: Here. New file.
7246 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7247 * stdlib/bits/stdlib-float.h: New file.
7248 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7253 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7255 * conform/conformtest.pl (@headers): Add fenv.h.
7256 * conform/data/fenv.h-data: New file.
7257 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7258 include of <math/fenv.h>.
7260 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7261 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7262 && !UNIX98]. Enables tests for XOPEN2K8.
7263 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7264 POSIX2008]: Likewise.
7266 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7267 (struct rusage): Do not expect type or its members.
7270 * math/math.h (FP_NAN): Define macro to integer constant usable in
7271 #if and use that to give value to enum constant.
7272 (FP_INFINITE): Likewise.
7273 (FP_ZERO): Likewise.
7274 (FP_SUBNORMAL): Likewise.
7275 (FP_NORMAL): Likewise.
7277 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7279 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7280 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7283 2012-11-02 Roland McGrath <roland@hack.frob.com>
7285 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7286 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7287 autoconf-time if not.
7288 * configure.in: Remove AC_PREREQ.
7290 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7292 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7293 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7294 of the internal implementation.
7296 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7298 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7299 except include of <misc/sys/syslog.h>.
7301 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7304 function returns with a NULL context exit with zero.
7306 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7308 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7310 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7312 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7313 (run_program_cmd): This.
7314 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7315 (tst_langinfo): New variable. Use it.
7317 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7319 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7320 floating point opcodes.
7322 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7324 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7327 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7329 * sysdeps/mach/hurd/powerpc: Remove directory.
7330 * sysdeps/mach/powerpc: Likewise.
7332 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7334 * scripts/check-local-headers.sh: Ignore c++ headers.
7336 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7338 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7339 __libc_cleanup_region_start argument.
7341 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7346 x * y using scaling, not as x * y + z.
7347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7349 * math/libm-test.inc (fma_test): Add more tests.
7350 (fma_test_towardzero): Likewise.
7351 (fma_test_downward): Likewise.
7352 (fma_test_upward): Likewise.
7354 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7356 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7358 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7360 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7363 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7365 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7367 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7374 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7377 Fix the order of the list for glibc 2.17.
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7381 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7385 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7388 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7389 for low part of x being zero before using __atanl (y).
7390 * math/libm-test.inc (atan2_test): Add another test.
7392 * manual/install.texi (Configuring and compiling): Document
7393 general use of test-wrapper and test-wrapper-env.
7394 * INSTALL: Regenerated.
7396 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7397 (__fma): Do not extract and scale down low bits on after-rounding
7398 systems when result rounded to normal precision would have normal
7400 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7401 (__fmal): Do not extract and scale down low bits on after-rounding
7402 systems when result rounded to normal precision would have normal
7404 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7405 (__fmal): Do not extract and scale down low bits on after-rounding
7406 systems when result rounded to normal precision would have normal
7408 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7410 (fma_test): Add more tests.
7411 (fma_test_towardzero): Likewise.
7412 (fma_test_downward): Likewise.
7413 (fma_test_upward): Likewise.
7415 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7417 * sysdeps/i386/tininess.h: Renamed to ...
7418 * sysdeps/x86/tininess.h: This.
7419 * sysdeps/x86_64/tininess.h: Removed.
7421 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7423 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7424 input. Use $(build-program-cmd).
7425 ($(objpfx)tst-array1-static.out): Likewise.
7426 ($(objpfx)tst-array2.out): Likewise.
7427 ($(objpfx)tst-array3.out): Likewise.
7428 ($(objpfx)tst-array4.out): Likewise.
7429 ($(objpfx)tst-array5.out): Likewise.
7430 ($(objpfx)tst-array5-static.out): Likewise.
7432 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7434 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7437 * nss/nsswitch.h (nss_interface_function): Provide new
7438 macro for use with NSS functions.
7439 * grp/initgroups.c: Use new macro.
7440 * nss/getXXbyYY.c: Likewise.
7441 * nss/getXXbyYY_r.c: Likewise.
7442 * nss/getXXent.c: Likewise.
7443 * nss/getXXent_r.c: Likewise.
7444 * sysdeps/posix/getaddrinfo.c: Likewise.
7446 2012-10-30 Andreas Jaeger <aj@suse.de>
7448 * po/ru.po: Update Russion translation from translation project.
7450 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7455 result and shift together with sticky bit instead of replicating
7456 round-to-nearest rounding.
7457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7459 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7460 missing underflow exceptions.
7461 (fma_test_towardzero): Add more tests.
7462 (fma_test_downward): Likewise.
7463 (fma_test_upward): Likewise.
7466 * sysdeps/generic/tininess.h: New file.
7467 * sysdeps/i386/tininess.h: Likewise.
7468 * sysdeps/sh/tininess.h: Likewise.
7469 * sysdeps/x86_64/tininess.h: Likewise.
7470 * stdlib/tst-strtod-underflow.c: Likewise.
7471 * stdlib/tst-tininess.c: Likewise.
7472 * stdlib/strtod_l.c: Include <tininess.h>.
7473 (round_and_return): Do not set errno for exact underflow cases.
7474 Force an underflow exception when setting errno for underflow.
7475 Determine underflow based on rounding to normal precision if
7476 TININESS_AFTER_ROUNDING.
7477 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7478 ERANGE for exact underflow cases.
7479 * stdlib/Makefile (tests): Add tst-tininess and
7480 tst-strtod-underflow.
7481 ($(objpfx)tst-tininess): Use $(link-libm).
7482 ($(objpfx)tst-strtod-underflow): Likewise.
7484 2012-10-30 Andreas Jaeger <aj@suse.de>
7487 * elf/Makefile (tests): Remove conditional for have-initfini-array
7488 since this is now always required and the variable does not exist
7490 (tests-static): Likewise.
7491 (modules-names): Likewise.
7493 * po/eo.po: Add Esperanto translation from translation project.
7495 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7496 merged with constructor/destructor.
7497 (init_array): Likewise.
7498 * elf/tst-array2dep.c (fini_array): Likewise.
7499 (init_array): Likewise.
7501 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7503 * manual/message.texi: Delete @cartouche tags.
7505 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7507 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7509 * sysdeps/mach/hurd/fsync.c: Likewise.
7511 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7512 [_POSIX_REALTIME_SIGNALS]: Change condition to
7513 [_POSIX_REALTIME_SIGNALS > 0].
7515 2012-10-27 Andreas Jaeger <aj@suse.de>
7517 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7518 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7520 [__WORDSIZE != 64]: Likewise.
7522 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7524 * iconvdata/tst-table.sh: Remove ${SHELL}.
7525 * iconvdata/tst-tables.sh: Likewise.
7527 2012-10-25 David S. Miller <davem@davemloft.net>
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7530 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7535 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7536 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7537 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7540 2012-10-25 Roland McGrath <roland@hack.frob.com>
7542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7543 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7546 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7547 Jim Blandy <jimb@codesourcery.com>
7549 * scripts/cross-test-ssh.sh: New file.
7550 * manual/install.texi (Configuring and compiling): Document use of
7552 * INSTALL: Regenerated.
7554 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7556 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7559 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7561 * Makeconfig (run-program-prefix): Fix comment.
7563 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7564 Jim Blandy <jimb@codesourcery.com>
7566 * Makeconfig (test-wrapper): New variable,
7567 (test-wrapper-env): Likewise.
7568 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7569 (run-built-tests): Define to yes.
7570 (run-program-prefix): Use $(test-wrapper).
7571 (built-program-cmd): Likewise.
7572 * Rules (make-test-out): Use $(test-wrapper-env) and
7573 $(host-built-program-cmd).
7574 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7575 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7577 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7578 $(test-wrapper-env) to tst-rtld-load-self.sh.
7579 ($(objpfx)order2.out): Use $(test-wrapper).
7580 ($(objpfx)tst-initorder.out): Likewise.
7581 ($(objpfx)tst-initorder2.out): Likewise.
7582 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7583 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7584 (test_wrapper_env): New variable. Use it to run ld.so.
7585 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7586 Use it to run ld.so.
7587 (test_wrapper_env): Likewise.
7588 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7589 $(test-wrapper) to run-iconv-test.sh.
7590 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7591 (ICONV): Use $test_wrapper.
7592 * posix/Makefile ($(objpfx)globtest.out): Pass
7593 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7594 globtest.sh, not $(run-program-prefix).
7595 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7596 (test_wrapper): Likewise.
7597 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7598 set together with run_via_rtld_prefix.
7599 (run_program_prefix): Define in terms of test_wrapper and
7600 run_via_rtld_prefix.
7602 2012-10-24 Roland McGrath <roland@hack.frob.com>
7604 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7605 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7609 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7610 Declare __clock_getres, __clock_gettime, __clock_settime,
7611 __clock_nanosleep, and __clock_getcpuclockid.
7612 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7613 Remove librt_hidden_def (clock_gettime).
7614 * sysdeps/unix/clock_gettime.c: Likewise.
7615 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7616 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7617 * rt/clock_getres.c: Define __clock_getres as an alias.
7618 * sysdeps/posix/clock_getres.c: Likewise.
7619 * rt/clock_settime.c: Define __clock_settime as an alias.
7620 * sysdeps/unix/clock_settime.c: Likewise.
7621 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7622 * sysdeps/unix/clock_nanosleep.c: Likewise.
7623 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7624 * rt/clock-compat.c: New file.
7625 * rt/Makefile (librt-routines): Add clock-compat and move
7626 $(clock-routines) to ...
7627 (routines): ... here, new variable.
7628 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7629 Don't add get_clockfreq here.
7630 * rt/Versions (libc: GLIBC_2.17): New version set.
7631 Add clock_* symbols here.
7632 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7633 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7634 (GLIBC_2.17): Add clock_* symbols.
7635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7646 * NEWS: Mention the move.
7648 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7649 Use __open, __read, __close rather than their public counterparts.
7650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7651 (__get_clockfreq_via_cpuinfo): Likewise.
7652 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7653 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7655 * config.h.in (HAVE_IFUNC): New #undef.
7656 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7658 * configure: Regenerated.
7660 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7662 * configure.in: Move READELF check to start of file.
7663 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7664 libc_cv_asm_gnu_indirect_function in the process.
7665 * configure: Regenerated.
7667 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7669 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7670 send the output to /dev/null.
7671 (libc_cv_cc_with_libunwind): Likewise.
7672 (libc_cv_as_noexecstack): Likewise.
7673 * configure: Regenerate.
7675 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7677 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7679 * posix/globtest.sh (TMPDIR): Do not set.
7680 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7681 (testout): Likewise.
7683 2012-10-24 Andreas Jaeger <aj@suse.de>
7685 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7686 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7687 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7688 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7689 posix_fadvise64, posix_fallocate64.
7691 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7692 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7693 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7695 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7697 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7700 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7701 <bits/fcntl-linux.h>.
7702 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7705 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7706 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7707 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7708 [__WORDSIZE != 64]: Likewise.
7710 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7712 * Makeconfig (run-built-tests): New variable.
7713 * Rules [$(cross-compiling) = yes]: Change condition to
7714 [$(run-built-tests) = no].
7715 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7716 to [$(run-built-tests) = yes].
7717 * elf/Makefile [$(cross-compiling) = no]: Likewise
7718 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7719 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7720 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7721 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7722 * io/Makefile [$(cross-compiling) = no]: Likewise.
7723 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7724 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7725 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7726 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7727 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7728 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7729 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7730 * string/Makefile [$(cross-compiling) = no]: Likewise.
7732 * posix/Makefile ($(objpfx)globtest.out): Pass
7733 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7734 $(rtld-installed-name).
7735 * posix/globtest.sh (elf_objpfx): Remove variable.
7736 (rtld_installed_name): Likewise.
7737 (library_path): Likewise.
7738 (run_program_prefix): New variable. Use for running globtest
7741 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7742 Joseph Myers <joseph@codesourcery.com>
7744 * Makeconfig (host-built-program-cmd): New variable.
7745 * elf/Makefile (tst-stackguard1-ARGS): Use
7746 $(host-built-program-cmd).
7747 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7748 (tst-spawn-ARGS): Likewise.
7749 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7751 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7752 Jim Blandy <jimb@codesourcery.com>
7754 * Makeconfig (run-via-rtld-prefix): New variable.
7755 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7756 (built-program-cmd): Likewise.
7758 2012-10-22 Andreas Jaeger <aj@suse.de>
7760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7761 __O_RSYNC if it exists, otherwise to O_SYNC.
7763 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7764 Joseph Myers <joseph@codesourcery.com>
7766 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7768 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7770 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7773 2012-10-22 Andreas Jaeger <aj@suse.de>
7775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7783 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7790 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7791 Joseph Myers <joseph@codesourcery.com>
7793 * config.make.in (NM): New variable.
7795 2012-10-21 Andreas Jaeger <aj@suse.de>
7797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7798 definitions and declarations that are provided by
7799 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7801 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7804 * elf/Makefile (tests-static): Add tst-leaks1-static.
7805 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7806 ($(objpfx)tst-leaks1-static): New rule.
7807 ($(objpfx)tst-leaks1-static-mem): Likewise.
7808 (tst-leaks1-static-ENV): New macro.
7809 * elf/dl-open.c (dl_open_worker): Check the main application
7810 only if SHARED is defined.
7811 * elf/tst-leaks1-static.c: New file.
7813 2012-10-20 Andreas Jaeger <aj@suse.de>
7815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7816 generic values for Linux.
7817 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7818 and declarations that are provided by <bits/fcntl-linux.h> and
7819 include <bits/fcntl-linux.h>.
7820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7823 2012-10-20 Roland McGrath <roland@hack.frob.com>
7825 * io/fcntl.h: Move include of <bits/types.h> to the top and
7826 include it unconditionally.
7828 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7830 * wcsmbs/Makefile (tests-ifunc): New variable.
7831 (tests): Add $(tests-ifunc).
7832 * wcsmbs/test-wcschr-ifunc.c: New file.
7833 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7834 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7835 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7836 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7837 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7839 * string/Makefile (tests-ifunc): New variable.
7840 (tests): Add $(tests-ifunc).
7841 * string/test-memccpy.c (TEST_NAME): New macro.
7842 * string/test-memchr.c (TEST_NAME): Likewise.
7843 * string/test-memcmp.c (TEST_NAME): Likewise.
7844 * string/test-memcpy.c (TEST_NAME): Likewise.
7845 * string/test-memmem.c (TEST_NAME): Likewise.
7846 * string/test-memmove.c (TEST_NAME): Likewise.
7847 * string/test-memset.c (TEST_NAME): Likewise.
7848 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7849 * string/test-stpcpy.c (TEST_NAME): Likewise.
7850 * string/test-stpncpy.c (TEST_NAME): Likewise.
7851 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7852 * string/test-strcasestr.c (TEST_NAME): Likewise.
7853 * string/test-strcat.c (TEST_NAME): Likewise.
7854 * string/test-strchr.c (TEST_NAME): Likewise.
7855 * string/test-strcmp.c(TEST_NAME): Likewise.
7856 * string/test-strcpy.c (TEST_NAME): Likewise.
7857 * string/test-strcspn.c (TEST_NAME): Likewise.
7858 * string/test-strlen.c (TEST_NAME): Likewise.
7859 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7860 * string/test-strncmp.c (TEST_NAME): Likewise.
7861 * string/test-strncpy.c (TEST_NAME): Likewise.
7862 * string/test-strnlen.c (TEST_NAME): Likewise.
7863 * string/test-strpbrk.c (TEST_NAME): Likewise.
7864 * string/test-strrchr.c (TEST_NAME): Likewise.
7865 * string/test-strspn.c (TEST_NAME): Likewise.
7866 * string/test-strstr.c (TEST_NAME): Likewise.
7867 * string/test-bcopy-ifunc.c: New file.
7868 * string/test-bzero-ifunc.c: Likewise.
7869 * string/test-memccpy-ifunc.c: Likewise.
7870 * string/test-memchr-ifunc.c: Likewise.
7871 * string/test-memcmp-ifunc.c: Likewise.
7872 * string/test-memcpy-ifunc.c: Likewise.
7873 * string/test-memmem-ifunc.c: Likewise.
7874 * string/test-memmove-ifunc.c: Likewise.
7875 * string/test-mempcpy-ifunc.c: Likewise.
7876 * string/test-memset-ifunc.c: Likewise.
7877 * string/test-rawmemchr-ifunc.c: Likewise.
7878 * string/test-stpcpy-ifunc.c: Likewise.
7879 * string/test-stpncpy-ifunc.c: Likewise.
7880 * string/test-strcasecmp-ifunc.c: Likewise.
7881 * string/test-strcasestr-ifunc.c: Likewise.
7882 * string/test-strcat-ifunc.c: Likewise.
7883 * string/test-strchr-ifunc.c: Likewise.
7884 * string/test-strchrnul-ifunc.c: Likewise.
7885 * string/test-strcmp-ifunc.c: Likewise.
7886 * string/test-strcpy-ifunc.c: Likewise.
7887 * string/test-strcspn-ifunc.c: Likewise.
7888 * string/test-strlen-ifunc.c: Likewise.
7889 * string/test-strncasecmp-ifunc.c: Likewise.
7890 * string/test-strncat-ifunc.c: Likewise.
7891 * string/test-strncmp-ifunc.c: Likewise.
7892 * string/test-strncpy-ifunc.c: Likewise.
7893 * string/test-strnlen-ifunc.c: Likewise.
7894 * string/test-strpbrk-ifunc.c: Likewise.
7895 * string/test-strrchr-ifunc.c: Likewise.
7896 * string/test-strspn-ifunc.c: Likewise.
7897 * string/test-strstr-ifunc.c: Likewise.
7899 * debug/Makefile (tests-ifunc): New variable.
7900 (tests): Add $(tests-ifunc).
7901 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7902 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7903 * debug/test-stpcpy_chk-ifunc.c: New file.
7904 * debug/test-strcpy_chk-ifunc.c: Likewise.
7906 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7909 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7910 header is not read in.
7912 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7914 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7915 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7916 directly. Pass built executable to script as
7917 $(built-program-cmd).
7918 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7919 $testprogram without using LD_LIBRARY_PATH and $ldso.
7921 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7922 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7923 $(rtld-installed-name).
7924 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7925 (rtld_installed_name): Likewise.
7926 (library_path): Likewise.
7927 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7928 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7929 $(run-program-prefix) to tst-tables.sh.
7930 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7931 it to run tst-table-from and tst-table-to.
7932 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7933 Pass it to tst-table.sh.
7934 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7935 $(run-program-prefix) to tst-gettext.sh.
7936 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7938 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7940 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7942 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7943 to run tst-gettext2.
7944 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7945 to run tst-translit.
7946 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7947 $(run-program-prefix) to tst-mtrace.sh.
7948 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7950 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7951 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7952 $(rtld-installed-name).
7953 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7954 (rtld_installed_name): Likewise.
7955 (run_program_prefix): New variable. Use it to run wordexp-test.
7957 * Makeconfig (ARCH): Remove all definitions.
7958 (machine): Likewise.
7959 [ARCH]: Remove conditional code.
7960 [!objdir]: Give error.
7961 [!objdir] (objpfx): Remove.
7962 [!objdir] (common-objpfx): Likewise.
7963 [!objdir] (common-objdir): Likewise.
7964 * configure.in (config_makefile): Remove. Hardcode Makefile in
7965 AC_CONFIG_FILES call.
7966 * configure: Regenerated.
7969 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7971 (testout): Likewise.
7973 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7974 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7975 $(rtld-installed-name).
7976 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7977 (rtld_installed_name): Likwise.
7978 (runit): Remove function.
7979 (run_getconf): New variable, Use it for running getconf binary.
7981 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7984 * string/test-memmem.c (check_result): New function.
7985 (do_one_test): Use it.
7986 (check1): New function.
7987 (test_main): Use it.
7989 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7991 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7993 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7995 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7996 (_G_LSEEK64): Likewise.
7997 (_G_MMAP64): Likewise.
7998 (_G_FSTAT64): Likewise.
7999 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8000 (_G_LSEEK64): Likewise.
8001 (_G_MMAP64): Likewise.
8002 (_G_FSTAT64): Likewise.
8003 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8004 unconditional. Call __mmap64 directly.
8005 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8006 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8008 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8009 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8011 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8012 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8014 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8015 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8017 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8018 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8020 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8021 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8022 __fxstat64 directly.
8023 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8024 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8026 (freopen64) [!_G_OPEN64]: Remove conditional code.
8027 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8029 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8030 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8032 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8033 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8035 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8036 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8038 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8039 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8041 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8042 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8044 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8045 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8047 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8049 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8052 * manual/memory.texi (Malloc Tunable Parameters): Add note
8053 about free list pointers overwriting some perturb bytes.
8054 Wording suggested by Roland McGrath.
8056 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8058 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8059 (lgamma_test): Likewise.
8060 (tgamma_test): Likewise.
8062 2012-10-16 Florian Weimer <fweimer@redhat.com>
8065 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8066 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8068 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8070 * NEWS: Mention BZ #14716.
8071 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8072 when removing AVAILABLE1_USES_J macro.
8074 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8076 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8077 (__bswap_64): __uint64_t for unsigned 64-bit int.
8079 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8081 * include/string.h (memmem): Declare libc hidden alias.
8082 * string/memmem.c (memmem): Define libc hidden alias.
8083 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8084 __read, __close instead of open, read, close.
8086 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8089 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8091 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8092 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8093 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8095 (__rawmemchr_sse2): Likewise.
8096 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8097 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8098 (__strchr_sse2): Likewise.
8099 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8100 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8101 (__strcasecmp_sse2): Likewise.
8102 (__strncasecmp_sse2): Likewise.
8103 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8104 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8105 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8106 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8107 (__strrchr_sse2): Likewise.
8108 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8110 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8111 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8112 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8113 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8114 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8115 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8116 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8117 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8118 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8119 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8120 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8121 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8122 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8123 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8124 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8125 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8126 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8127 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8128 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8129 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8130 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8131 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8132 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8133 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8134 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8135 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8136 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8137 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8138 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8139 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8143 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8144 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8145 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8146 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8148 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8150 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8151 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8152 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8153 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8155 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8162 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8163 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8166 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8170 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8172 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8173 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8180 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8181 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8185 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8188 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8189 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8190 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8191 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8192 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8193 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8197 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8198 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8199 * include/ifunc-impl-list.h: New file.
8200 * misc/ifunc-impl-list.c: Likewise.
8201 * misc/Makefile (routines): Add ifunc-impl-list.
8202 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8203 * string/test-string.h: Include <ifunc-impl-list.h>.
8204 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8205 impl_array): New variables.
8206 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8208 (test_init): Call __libc_ifunc_impl_list to initialize
8209 func_list if TEST_IFUNC and TEST_NAME are defined.
8211 * string/Makefile (strop-tests): Add bcopy and bzero.
8212 * string/test-bcopy.c: New file.
8213 * string/test-bzero.c: Likewise.
8214 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8216 * string/test-memset.c: Support bzero test if TEST_BZERO is
8218 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8220 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8222 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8225 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8227 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8228 * configure: Regenerated.
8230 * Makeconfig (+link-static-before-libc): Don't include
8231 $(link-static-libc).
8233 * libio/libio.h (_IO_pos_t): Remove.
8235 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8237 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8240 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8242 * crypt/crypt-entry.c: Include fips-private.h.
8243 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8244 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8245 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8246 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8248 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8250 * crypt/crypt-private.h: Include stdbool.h.
8251 (_ufc_setup_salt_r): Return bool.
8252 * crypt/crypt-entry.c: Include errno.h.
8253 (__crypt_r): Return NULL with EINVAL for bad salt.
8254 * crypt/crypt_util.c (bad_for_salt): New.
8255 (_ufc_setup_salt_r): Check that salt is long enough and within
8256 the specified alphabet.
8257 * crypt/badsalttest.c: New file.
8258 * crypt/Makefile (tests): Add it.
8259 ($(objpfx)badsalttest): New.
8261 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8263 * NEWS: Add entry for BZ #14602.
8265 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8267 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8269 * math/libm-test.inc: Update comment listing what functions and
8271 (isgreater_test): New function.
8272 (isgreaterequal_test): Likewise.
8273 (isless_test): Likewise.
8274 (islessequal_test): Likewise.
8275 (islessgreater_test): Likewise.
8276 (isunordered_test): Likewise.
8277 (main): Call the new functions.
8279 2012-10-09 Roland McGrath <roland@hack.frob.com>
8281 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8282 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8283 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8284 * sysdeps/i386/configure: Regenerated.
8285 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8286 * sysdeps/mach/configure: Regenerated.
8287 * sysdeps/mach/hurd/configure: Regenerated.
8288 * sysdeps/powerpc/configure: Regenerated.
8289 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8290 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8291 * sysdeps/s390/s390-32/configure: Regenerated.
8292 * sysdeps/s390/s390-64/configure: Regenerated.
8293 * sysdeps/sh/configure: Regenerated.
8294 * sysdeps/sparc/configure: Regenerated.
8295 * sysdeps/unix/sysv/linux/configure: Regenerated.
8296 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8297 * sysdeps/x86_64/configure: Regenerated.
8299 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8300 defined. Don't check if MAP is NULL.
8302 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8304 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8305 (_G_stat64): Likewise.
8306 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8307 (_G_stat64): Likewise.
8308 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8309 instead of struct _G_stat64.
8310 * libio/fileops.c (mmap_remap_check): Likewise.
8311 (decide_maybe_mmap): Likewise.
8312 (_IO_new_file_seekoff): Likewise.
8313 (_IO_file_stat): Likewise.
8314 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8316 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8317 instead of struct _G_stat64.
8318 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8320 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8323 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8325 (CHECK_EOL): New macro.
8326 (two_way_short_needle): Check beginning of haystack for EOL. Use
8328 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8329 Replace with CHECK_EOL.
8330 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8331 Replace with CHECK_EOL.
8333 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8335 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8337 * math/libm-test.inc: Update comment listing what functions and
8339 (finite_test): New function.
8340 (isinf_test): Likewise.
8341 (isnan_test): Likewise.
8342 (fpclassify_test): Test subnormal input.
8343 (isfinite_test): Likewise.
8344 (isnormal_test): Likewise.
8345 (main): Call the new functions.
8347 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8350 * Makerules (%.dynsym): Force C locale when running
8351 $(OBJDUMP) --dynamic-syms.
8353 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8355 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8358 2012-10-06 David S. Miller <davem@davemloft.net>
8360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8361 upper 32-bits of the length value in %o2 since we use branch-on-register
8362 tests which consider the entire 64-bit register.
8364 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8366 * string/test-strstr.c (check2): Add a test for page boundary.
8368 2012-10-05 David S. Miller <davem@davemloft.net>
8370 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8373 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8375 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8376 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8377 and bzero when HWCAP_SPARC_CRYPTO is present.
8379 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8382 * string/test-strstr.c (check2): New function.
8383 (test_main): Call check2.
8385 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8387 * string/bug-strcasestr1.c (do_test): Moved to ...
8388 * string/test-strcasestr.c (check1): Here. New function.
8389 (do_one_test): Break out result checking code into ...
8390 (check_result): This. New function.
8391 (do_one_test): Call check_result.
8392 (test_main): Call check1.
8393 * string/bug-strchr1.c (do_test): Moved to ...
8394 * string/test-strchr.c (check1): Here. New function.
8395 (do_one_test): Break out result checking code into ...
8396 (check_result): This. New function.
8397 (do_one_test): Call check_result.
8398 (test_main): Call check1.
8399 * string/bug-strstr1.c (main): Moved to ...
8400 * string/test-strstr.c (check1): Here. New function.
8401 (do_one_test): Break out result checking code into ...
8402 (check_result): This. New function.
8403 (do_one_test): Call check_result.
8404 (test_main): Call check1.
8405 * string/bug-strcasestr1.c: Removed.
8406 * string/bug-strchr1.c: Likewise.
8407 * string/bug-strstr1.c: Likewise.
8409 * elf/Makefile (dl-routines): Add hwcaps.
8410 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8411 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8412 (_dl_important_hwcaps): Moved to ...
8413 * elf/dl-hwcaps.c: Here. New file.
8414 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8417 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8418 if IS_IN_rtld isn't defined.
8420 * elf/dl-support.c (_dl_sysinfo_map): New.
8421 Include "get-dynamic-info.h" and "setup-vdso.h".
8422 (_dl_non_dynamic_init): Call setup_vdso.
8423 * elf/dynamic-link.h: Don't include <assert.h>.
8424 (elf_get_dynamic_info): Moved to ...
8425 * elf/get-dynamic-info.h: Here. New file.
8426 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8427 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8428 * elf/setup-vdso.h: Here. New file.
8429 * elf/rtld.c: Include "setup-vdso.h".
8430 (dl_main): Call setup_vdso.
8432 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8434 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8435 creal in comment listing functions tested. List finite, isinf,
8436 isnan, isless, islessequal, isgreater, isgreaterequal,
8437 islessgreater, isunordered, lgamma_r and pow10 as functions and
8438 macros not tested. Mention which functions not tested are aliases
8439 for other functions. Fix typo. Note that signs of NaNs are not
8442 * scripts/config.guess: Update from config.git.
8443 * scripts/config.sub: Likewise.
8445 2012-10-04 Roland McGrath <roland@hack.frob.com>
8447 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8448 * misc/madvise.c (madvise): Renamed to __madvise.
8449 Make madvise a weak alias.
8450 * include/sys/mman.h: Declare __madvise.
8451 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8452 * sysdeps/unix/syscalls.list
8453 (madvise): Make __madvise the strong name, and madvise a weak alias.
8454 * sysdeps/unix/sysv/linux/syscalls.list
8455 (madvise, mmap): Remove redundant entries.
8456 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8457 * malloc/malloc.c (mtrim): Likewise.
8458 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8460 2012-10-03 Roland McGrath <roland@hack.frob.com>
8462 * sysdeps/mach/hurd/dl-cache.c: File removed.
8463 * config.h.in (USE_LDCONFIG): New #undef.
8464 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8465 * configure: Regenerated.
8466 * elf/Makefile (dl-routines): Add dl-cache only under
8467 [$(use-ldconfig) = yes].
8468 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8469 cache on [USE_LDCONFIG].
8470 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8472 * elf/rtld.c (dl_main): Likewise.
8474 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8476 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8477 _SC_LEVEL4_CACHE_LINESIZE.
8479 2012-10-03 Roland McGrath <roland@hack.frob.com>
8481 * sysdeps/unix/bsd/confstr.h: File removed.
8483 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8485 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8488 2012-10-02 Roland McGrath <roland@hack.frob.com>
8490 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8491 Make 'mapoff' field ElfW(Off) rather than off_t.
8493 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8495 * nscd/Makefile: Remove nscd-cflags and all its users.
8496 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8497 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8500 * malloc.c (malloc_printerr): Clarify error message.
8502 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8506 Set bit_FMA_Usable if FMA is supported.
8507 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8509 (bit_FMA4_Usable): Updated.
8510 (index_FMA_Usable): New macro.
8511 (CPUID_FMA): Likewise
8512 (HAS_FMA): Defined with bit_FMA_Usable.
8514 2012-10-01 Roland McGrath <roland@hack.frob.com>
8516 * bits/types.h (__swblk_t): Type removed.
8517 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8518 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8520 (__SWBLK_T_TYPE): Likewise.
8521 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8522 (__SWBLK_T_TYPE): Likewise.
8523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8524 (__SWBLK_T_TYPE): Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8526 (__SWBLK_T_TYPE): Likewise.
8528 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8529 Honza Horak <hhorak@redhat.com>
8531 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8532 (xdr_mapname): Use YPMAXMAP as maxsize.
8533 (xdr_peername): Use YPMAXPEER as maxsize.
8534 (xdr_keydat): Use YPAXRECORD as maxsize.
8535 (xdr_valdat): Use YPMAXRECORD as maxsize.
8537 2012-10-01 Roland McGrath <roland@hack.frob.com>
8539 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8541 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8542 * csu/init-first.c: ... here.
8543 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8544 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8545 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8547 * sysdeps/i386/init-first.c: File removed.
8548 * sysdeps/sh/init-first.c: File removed.
8550 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8554 if x * y might underflow to zero and z is zero.
8555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8557 * math/libm-test.inc (min_subnorm_value): New variable.
8558 (fma_test): Add more tests.
8559 (fma_test_towardzero): Likewise.
8560 (fma_test_downward): Likewise
8561 (fma_test_upward): Likewise.
8562 (initialize): Set min_subnorm_value.
8564 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8570 mode for addition resulting in exact zero.
8571 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8576 * math/libm-test.inc (fma_test): Add more tests.
8577 (fma_test_towardzero): New function.
8578 (fma_test_downward): Likewise.
8579 (fma_test_upward): Likewise.
8580 (main): Call the new functions.
8582 2012-09-28 David S. Miller <davem@davemloft.net>
8584 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8586 2012-09-28 Roland McGrath <roland@hack.frob.com>
8588 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8591 * sysdeps/gnu/_G_config.h: Moved to ...
8592 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8593 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8594 * sysdeps/generic/_G_config.h: ... here.
8596 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8598 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8600 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8601 Conditionalize target on [libnss_test1.so-version].
8603 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8605 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8606 (elfobjdir): Move out of conditionals.
8608 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8609 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8610 (__nss_lookup_function): Conditionalize label remove_from_tree on
8611 [!DO_STATIC_NSS || SHARED], matching its only use.
8613 2012-09-28 David S. Miller <davem@davemloft.net>
8615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8616 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8618 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8620 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8622 when HWCAP_SPARC_CRYPTO is present.
8624 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8626 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8628 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8631 * stdio-common/vfprintf.c (process_string_arg): Revert
8634 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8636 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8638 * stdio-common/tst-sprintf.c: Include <locale.h>
8639 (main): Test sprintf's handling of incomplete multibyte
8642 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8644 * elf/dl-runtime.c (VERSYMIDX): Removed.
8645 * elf/dl-version.c (VERSYMIDX): Likewise.
8646 * elf/do-rel.h (VERSYMIDX): Likewise.
8648 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8649 * elf/rtld.c (VALIDX): Likewise.
8650 (ADDRIDX): Likewise.
8651 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8652 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8653 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8654 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8656 (ADDRIDX): Likewise.
8658 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8660 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8662 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8665 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8667 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8668 addresses are in the same scope as 192.0.2/24.
8669 * posix/gai.conf: Document new scope table defaults.
8671 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8674 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8675 for ftell. Compute offsets from write pointers instead.
8676 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8678 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8681 * libio/Makefile (tests): New test case tst-fseek.
8682 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8683 combination works in wide mode.
8684 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8685 state when the external buffer state changes.
8687 2012-09-27 David S. Miller <davem@davemloft.net>
8690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8691 pass reloc->r_addend in as the 'high' argument to
8692 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8696 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8698 * rt/tst-aio2.c: Include <pthread.h>.
8699 * rt/tst-aio3.c: Likewise.
8701 2012-09-27 Steve Ellcey <sellcey@mips.com>
8703 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8705 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8707 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8708 contents on [SHARED].
8710 2012-09-26 Marek Polacek <polacek@redhat.com>
8714 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8715 for C++ and GCC <4.3 as well as for non GCC compilers.
8717 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8721 2012-09-25 Roland McGrath <roland@hack.frob.com>
8723 * Makefile.in (all, install): Declare with .PHONY.
8724 Reported by Michael Hope <michael.hope@linaro.org>.
8726 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8728 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8729 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8731 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8733 (sydep_routines): Add the new and the internal functions.
8734 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8735 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8737 (GLIBC_2.17): Add the new function.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8739 (GLIBC_2.17): Likewise.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8741 (GLIBC_2.17): Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8743 (GLIBC_2.17): Likewise.
8744 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8746 2012-09-25 Alan Modra <amodra@gmail.com>
8748 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8749 Add release barrier before setting once_control to say
8750 initialisation is done. Add hints on lwarx. Use macro in
8752 (clear_once_control): Add release barrier.
8754 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8757 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8759 * math/s_clog10.c (__clog10): Likewise.
8760 * math/s_clog10f.c (__clog10f): Likewise.
8761 * math/s_clog10l.c (__clog10l): Likewise.
8762 * math/s_clogf.c (__clogf): Likewise.
8763 * math/s_clogl.c (__clogl): Likewise.
8764 * math/Makefile (libm-calls): Add x2y2m1.
8765 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8766 (__x2y2m1): Likewise.
8767 (__x2y2m1l): Likewise.
8768 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8769 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8774 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8775 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8779 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8780 int as type of variable DEPTH.
8781 (glob): Use size_t instead of int as type of variables NEWCOUNT
8784 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8786 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8788 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8789 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8790 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8791 macros for using routine as __sincosf_ia32.
8792 Use macro for function declaration and weak_alias.
8793 * sysdeps/i386/fpu/libm-test-ulps: Update.
8795 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8798 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8800 * math/s_cexpf.c (__cexpf): Likewise.
8801 * math/s_csinf.c (__csinf): Likewise.
8802 * math/s_csinhf.c (__csinhf): Likewise.
8803 * math/s_ctanf.c (__ctanf): Likewise.
8804 * math/s_ctanhf.c (__ctanhf): Likewise.
8805 * math/s_ccosh.c (__ccoshf): Likewise.
8806 * math/s_cexp.c (__cexpl): Likewise.
8807 * math/s_csin.c (__csin): Likewise.
8808 * math/s_csinh.c (__csinh): Likewise.
8809 * math/s_ctan.c (__ctan): Likewise.
8810 * math/s_ctanh.c (ctanh): Likewise.
8811 * math/s_ccoshl.c (__ccoshl): Likewise.
8812 * math/s_cexpl.c (__cexpl): Likewise.
8813 * math/s_csinl.c (__csinl): Likewise.
8814 * math/s_csinhl.c (__csinhl): Likewise.
8815 * math/s_ctanl.c (__ctanl): Likewise.
8816 * math/s_ctanhl.c (__ctanhl): Likewise.
8818 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8820 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8821 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8822 (_IO_off_t): Define to __off_t, not _G_off_t.
8823 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8824 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8825 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8826 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8827 type of __dummy and __dummy2 fields.
8828 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8829 (_G_ssize_t): Likewise.
8830 (_G_off_t): Likewise.
8831 (_G_pid_t): Likewise.
8832 (_G_uid_t): Likewise.
8833 (_G_wchar_t): Likewise.
8834 (_G_wint_t): Likewise.
8835 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8836 (_G_ssize_t): Likewise.
8837 (_G_off_t): Likewise.
8838 (_G_pid_t): Likewise.
8839 (_G_uid_t): Likewise.
8840 (_G_wchar_t): Likewise.
8841 (_G_wint_t): Likewise.
8842 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8843 (_G_ssize_t): Likewise.
8844 (_G_off_t): Likewise.
8845 (_G_pid_t): Likewise.
8846 (_G_uid_t): Likewise.
8847 (_G_wchar_t): Likewise.
8848 (_G_wint_t): Likewise.
8850 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8852 * malloc/arena.c: Include malloc-sysdep.h.
8853 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8854 is sufficient to shrink the heap or an unmap is needed.
8855 * sysdeps/generic/malloc-sysdep.h: New file. Define
8856 new function check_may_shrink_heap.
8857 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8858 new function check_may_shrink_heap.
8860 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8862 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8865 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8867 * catgets/test-gencat.sh: Add "set -e".
8868 * elf/tst-pathopt.sh: Likewise.
8869 * grp/tst_fgetgrent.sh: Likewise.
8870 * iconvdata/run-iconv-test.sh: Likewise.
8871 * intl/tst-gettext.sh: Likewise.
8872 * intl/tst-gettext2.sh: Likewise.
8873 * intl/tst-gettext4.sh: Likewise.
8874 * intl/tst-gettext6.sh: Likewise.
8875 * intl/tst-translit.sh: Likewise.
8876 * io/ftwtest-sh: Likewise.
8877 * libio/test-freopen.sh: Likewise.
8878 * malloc/tst-mtrace.sh: Likewise.
8879 * posix/globtest.sh: Likewise.
8880 * posix/tst-getconf.sh: Likewise.
8881 * posix/wordexp-tst.sh: Likewise.
8882 * stdio-common/tst-printf.sh: Likewise.
8883 * stdio-common/tst-unbputc.sh: Likewise.
8884 * stdlib/tst-fmtmsg.sh: Likewise.
8885 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8886 * catgets/Makefile: Do not specify -e option when running
8887 testsuite shell scripts.
8888 * elf/Makefile: Likewise.
8889 * grp/Makefile: Likewise.
8890 * iconvdata/Makefile: Likewise.
8891 * intl/Makefile: Likewise.
8892 * io/Makefile: Likewise.
8893 * libio/Makefile: Likewise.
8894 * malloc/Makefile: Likewise.
8895 * posix/Makefile: Likewise.
8896 * stdio-common/Makefile: Likewise.
8897 * stdlib/Makefile: Likewise.
8898 * sysdeps/x86_64/Makefile: Likewise.
8900 * io/ftwtest-sh: Add copyright header.
8901 * posix/globtest.sh: Likewise.
8902 * posix/tst-getconf.sh: Likewise.
8903 * posix/wordexp-tst.sh: Likewise.
8904 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8906 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8909 * Makeconfig (+link): Defined as $(+link-static) if
8910 $(build-shared) isn't yes.
8911 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8913 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8915 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8918 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8919 new chunk size with MALLOC_ALIGN_MASK.
8921 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8924 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8926 (__printf_fphex): Determine rounding using get_rounding_mode and
8928 * stdio-common/tst-printf-round.c (struct hex_test): New
8930 (hex_tests): New variable.
8931 (test_hex_in_one_mode): New function.
8932 (do_test): Also run tests for hex float output.
8934 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8936 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8937 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8938 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8939 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8940 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8941 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8942 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8943 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8945 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8947 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8948 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8949 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8950 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8952 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8955 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8957 * elf/tst-rtld-load-self.sh: New test.
8958 * elf/Makefile: Run it.
8960 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8962 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8963 (tst-writev-ENV): Remove.
8964 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8966 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8968 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8970 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8972 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8974 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8976 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8977 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8978 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8981 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8984 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8985 * config.make.in (have-cpp-asm-debuginfo): Removed.
8986 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8987 * configure: Regenerated.
8989 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8992 * stdio-common/printf_fp.c: Include <stdbool.h> and
8994 (___printf_fp): Determine rounding using get_rounding_mode and
8996 * stdio-common/tst-printf-round.c: New file.
8997 * stdio-common/Makefile (tests): Add tst-printf-round.
8998 (link-libm): New variable.
8999 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9001 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9004 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9005 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9007 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9010 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9012 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9013 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9014 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9015 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9017 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9020 * include/rounding-mode.h: New file.
9021 * sysdeps/generic/get-rounding-mode.h: Likewise.
9022 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9023 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9024 (MAX_VALUE): New macro.
9025 (MIN_VALUE): Likewise.
9026 (overflow_value): New function.
9027 (underflow_value): Likewise.
9028 (round_and_return): Use overflow_value and underflow_value to
9029 determine return values in overflow and underflow cases. Use
9030 round_away to determine rounding depending on rounding mode.
9031 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9032 determine return values in overflow and underflow cases.
9033 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9034 (struct test_results): New structure.
9035 (struct test): Use struct test_results to store expected results
9036 for all rounding modes.
9037 (TEST): Include expected results for all rounding modes.
9038 (test_in_one_mode): New function.
9039 (do_test): Use test_in_one_mode to compute and check results.
9040 Check results for all rounding modes.
9041 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9044 2012-12-09 Allan McRae <allan@archlinux.org>
9046 * sysdeps/i386/fpu/libm-test-ulps: Update
9048 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9050 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9051 (_G_int32_t): Likewise.
9052 (_G_uint16_t): Likewise.
9053 (_G_uint32_t): Likewise.
9054 (_G_HAVE_BOOL): Likewise.
9055 (_G_HAVE_ATEXIT): Likewise.
9056 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9057 (_G_HAVE_IO_FILE_OPEN): Likewise.
9058 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9059 (_G_int32_t): Likewise.
9060 (_G_uint16_t): Likewise.
9061 (_G_uint32_t): Likewise.
9062 (_G_HAVE_BOOL): Likewise.
9063 (_G_HAVE_ATEXIT): Likewise.
9064 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9065 (_G_HAVE_IO_FILE_OPEN): Likewise.
9066 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9067 (_G_int32_t): Likewise.
9068 (_G_uint16_t): Likewise.
9069 (_G_uint32_t): Likewise.
9070 (_G_HAVE_BOOL): Likewise.
9071 (_G_HAVE_ATEXIT): Likewise.
9072 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9073 (_G_HAVE_IO_FILE_OPEN): Likewise.
9075 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9077 * csu/libc-tls.c: Update copyright years.
9079 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9081 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9082 [!_G_USING_THUNKS]: Remove conditional code.
9083 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9084 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9086 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9087 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9088 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9089 (_G_VTABLE_LABEL_PREFIX): Likewise.
9090 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9091 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9092 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9093 (_G_VTABLE_LABEL_PREFIX): Likewise.
9094 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9095 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9096 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9097 (_G_VTABLE_LABEL_PREFIX): Likewise.
9098 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9100 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9102 * libio/Makefile: Include ../Makeconfig before tests.
9103 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9104 only if $(build-shared) is yes.
9106 * iconv/gconv_db.c: Update copyright years.
9108 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9110 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9111 unwind info if defined PIC. Fix special cases description.
9112 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9114 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9116 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9118 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9120 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9122 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9125 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9126 (LDLIBS-tst-chk4): This.
9127 (LDFLAGS-tst-chk5): Renamed to ...
9128 (LDLIBS-tst-chk5): This.
9129 (LDFLAGS-tst-chk6): Renamed to ...
9130 (LDLIBS-tst-chk6): This.
9131 (LDFLAGS-tst-lfschk4): Renamed to ...
9132 (LDLIBS-tst-lfschk4): This.
9133 (LDFLAGS-tst-lfschk5): Renamed to ...
9134 (LDLIBS-tst-lfschk5): This.
9135 (LDFLAGS-tst-lfschk6): Renamed to ...
9136 (LDLIBS-tst-lfschk6): This.
9138 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9139 on $(common-objpfx)soversions.mk.
9141 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9144 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9147 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9149 * malloc/arena.c (arena_get_retry): New function that gets
9150 another arena for the caller to try its request on.
9151 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9152 current arena cannot fulfill the request.
9153 (__libc_memalign): Likewise.
9154 (__libc_memalign): Likewise.
9155 (__libc_pvalloc): Likewise.
9156 (__libc_calloc): Likewise.
9158 2012-09-05 John Tobey <john.tobey@gmail.com>
9161 * manual/arith.texi (Operations on Complex): Fix description
9164 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9167 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9171 * manual/memory.texi (Memory): Make order of menu items match
9174 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9176 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9177 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9178 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9180 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9182 * csu/libc-tls.c (static_dtv): Renamed to ...
9183 (_dl_static_dtv): This. Make it global.
9184 (_dl_initial_dtv): Removed.
9185 (__libc_setup_tls): Updated.
9186 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9187 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9190 2012-09-06 Petr Machata <pmachata@redhat.com>
9192 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9193 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9194 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9195 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9197 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9200 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9201 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9207 * Makeconfig (link-static-before-libc): Replace $(+prector)
9209 (link-static-after-libc): Replace $(+postctor) with
9211 (link-bounded): Replace $(+prector)/$(+postctor) with
9212 $(+prectorT)/$(+postctorT).
9213 (+prectorT): New macro.
9214 (+postctorT): Likewise.
9216 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9218 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9219 (round_str): Handle values above the maximum for IBM long double
9221 * stdlib/tst-strtod-round.c (tests): Regenerated.
9223 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9225 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9227 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9228 zarch_nohighgprs around the zarch optimized routines.
9229 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9230 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9231 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9234 2012-09-05 David S. Miller <davem@davemloft.net>
9236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9238 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9239 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9240 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9241 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9246 * malloc/arena.c: Fold copyright years.
9247 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9249 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9251 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9253 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9255 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9257 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9259 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9260 change internal state upon failure.
9262 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9264 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9265 * malloc/memusage.c (mmap): Likewise.
9266 (mmap64, mremap): Likewise. Adjust name in comment.
9268 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9270 * libio/fileops.c: Fix typos in comments.
9271 * libio/oldfileops.c: Likewise.
9272 * libio/wfileops.c: Likewise.
9274 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9278 (tst-malloc-usable-ENV): Set environment for test case.
9279 * malloc/hooks.c (malloc_check_get_size): New function to get
9281 * malloc/malloc.c (musable): Use malloc_check_get_size.
9282 * malloc/tst-malloc-usable.c: New test case.
9284 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9286 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9288 2012-09-05 Allan McRae <allan@archlinux.org>
9291 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9292 determine header location.
9293 * configure: Regenerated.
9295 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9297 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9299 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9300 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9304 2012-09-04 David S. Miller <davem@davemloft.net>
9306 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9307 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9308 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9310 2012-09-04 Florian Weimer <fweimer@redhat.com>
9312 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9315 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9317 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9320 * libio/iogetdelim.c: Include <limits.h>.
9321 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9322 + len + 1 would overflow.
9324 2012-09-03 Andreas Jaeger <aj@suse.de>
9326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9329 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9331 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9332 Add s_sinf-sse2, s_conf-sse2.
9334 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9336 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9337 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9339 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9340 for using routine as __sinf_ia32.
9341 Use macro for function declaration and weak_alias.
9342 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9343 for using routine as __cosf_ia32.
9344 Use macro for function declaration and weak_alias.
9346 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9347 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9349 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9350 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9353 * math/libm-test.inc (cos_test): Add more test cases.
9354 (sin_test): Likewise.
9355 (sincos_test): Likewise.
9357 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9360 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9364 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9367 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9368 first element of the GOT.
9369 (elf_machine_load_address): Return the difference between
9370 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9372 2012-09-01 Allan McRae <allan@archlinux.org>
9375 * configure.in (AWK): Require gawk version 3.0 or later.
9376 * configure: Regenerated.
9378 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9380 * sysdeps/unix/sysv/linux/kernel-features.h
9381 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9383 [__NR_clock_getres]: Make code unconditional.
9384 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9385 (clock_getcpuclockid): Remove code left unreachable by removal of
9387 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9389 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9390 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9391 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9392 Make code unconditional.
9393 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9394 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9395 * sysdeps/unix/sysv/linux/clock_settime.c
9396 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9398 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9401 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9404 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9405 scripts/test-installation.pl.
9407 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9408 and $ld_so_version if it is set.
9410 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9413 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9414 failure if reading from procfs failed.
9415 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9417 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9419 * sysdeps/unix/sysv/linux/kernel-features.h
9420 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9421 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9422 Remove conditional code.
9423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9424 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9425 Remove conditional code.
9426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9427 * sysdeps/unix/sysv/linux/i386/fxstat.c
9428 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9430 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9431 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9433 * sysdeps/unix/sysv/linux/i386/lxstat.c
9434 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9436 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9437 Remove conditional code.
9438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9439 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9440 Remove conditional code.
9441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9443 <kernel-features.h>.
9444 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9446 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9447 Remove conditional code.
9448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9449 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9452 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9455 * NEWS: Add fixed bug number.
9457 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9460 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9461 underflowing exponent in case of negative sign.
9462 * stdlib/tst-strtod-round-data: Add more tests.
9463 * stdlib/tst-strtod-round.c (tests): Regenerated.
9466 * stdlib/strtod_l.c (NDIG): Remove.
9467 (HEXNDIG): Likewise.
9468 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9469 smallest representable value.
9470 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9471 lie within an exact representation of 1/2 ulp of the result.
9472 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9474 (TENS_P9_IDX): Define unconditionally.
9475 (TENS_P9_SIZE): Likewise.
9476 (TENS_P10_IDX): Likewise.
9477 (TENS_P10_SIZE): Likewise.
9478 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9479 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9480 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9481 entries for 10^2^13 and 10^2^14.
9482 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9483 (TENS_P13_IDX): Define.
9484 (TENS_P13_SIZE): Likewise.
9485 (TENS_P14_IDX): Likewise.
9486 (TENS_P14_SIZE): Likewise.
9487 (_fpioconst_pow10): Change array size to
9488 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9490 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9491 1024]: Add entries for 10^2^13 and 10^2^14.
9492 [LAST_POW10 > _LAST_POW10]: Remove #error.
9493 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9494 (_fpioconst_pow10): Change array size to
9495 FPIOCONST_POW10_ARRAY_SIZE.
9496 * stdlib/gen-fpioconst.c: New file.
9497 * stdlib/gen-tst-strtod-round.c: Likewise.
9498 * stdlib/tst-strtod-round-data: Likewise.
9499 * stdlib/tst-strtod-round.c: Likewise.
9500 * stdlib/Makefile (tests): Add tst-strtod-round.
9503 * stdlib/strtod_l.c: Include <stdint.h>.
9504 (NDEBUG): Do not define.
9505 (round_and_return): Change EXPONENT parameter to type intmax_t.
9506 Rearrange calculations to avoid internal overflow possibilities.
9507 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9508 Rearrange calculations to avoid internal overflow possibilities.
9509 Assert that number fits inside MPNSIZE limbs.
9510 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9511 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9512 calculations and add assertions to avoid internal overflow
9513 possibilities. Add casts to avoid signed/unsigned operations.
9514 * stdlib/tst-strtod-overflow.c: New file.
9515 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9517 2012-08-25 Marek Polacek <polacek@redhat.com>
9519 * time/time.h: Fix some typos in comments.
9521 2012-08-23 Roland McGrath <roland@hack.frob.com>
9523 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9524 * posix/tst-rfc3484-2.c: Likewise.
9525 * posix/tst-rfc3484-3.c: Likewise.
9527 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9529 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9530 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9532 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9534 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9535 #include of fxstatat64.c.
9537 2012-08-22 Roland McGrath <roland@hack.frob.com>
9539 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9540 * shadow/getspent_r.c: Likewise.
9541 * shadow/getspnam.c: Likewise.
9542 * shadow/getspnam_r.c: Likewise.
9543 * gshadow/getsgent.c: Likewise.
9544 * gshadow/getsgent_r.c: Likewise.
9545 * gshadow/getsgnam.c: Likewise.
9546 * gshadow/getsgnam_r.c: Likewise.
9547 * inet/getnetbyad.c: Likewise.
9548 * inet/getnetbyad_r.c: Likewise.
9549 * inet/getnetbynm.c: Likewise.
9550 * inet/getnetbynm_r.c: Likewise.
9551 * inet/getnetent.c: Likewise.
9552 * inet/getnetent_r.c: Likewise.
9553 * inet/getproto.c: Likewise.
9554 * inet/getproto_r.c: Likewise.
9555 * inet/getprtent.c: Likewise.
9556 * inet/getprtent_r.c: Likewise.
9557 * inet/getprtname.c: Likewise.
9558 * inet/getprtname_r.c: Likewise.
9559 * inet/getrpcbyname.c: Likewise.
9560 * inet/getrpcbyname_r.c: Likewise.
9561 * inet/getrpcbynumber.c: Likewise.
9562 * inet/getrpcbynumber_r.c: Likewise.
9563 * inet/getrpcent.c: Likewise.
9564 * inet/getrpcent_r.c: Likewise.
9565 * inet/getaliasent.c: Likewise.
9566 * inet/getaliasent_r.c: Likewise.
9567 * inet/getaliasname.c: Likewise.
9568 * inet/getaliasname_r.c: Likewise.
9569 * nscd/getgrgid_r.c: Likewise.
9570 * nscd/getgrnam_r.c: Likewise.
9571 * nscd/gethstbyad_r.c: Likewise.
9572 * nscd/gethstbynm3_r.c: Likewise.
9573 * nscd/getpwnam_r.c: Likewise.
9574 * nscd/getpwuid_r.c: Likewise.
9575 * nscd/getsrvbynm_r.c: Likewise.
9576 * nscd/getsrvbypt_r.c: Likewise.
9577 * nscd/gai.c: Likewise.
9579 * configure.in (build_nscd): New substituted variable, set
9580 by --disable-build-nscd and defaults to $use_nscd.
9581 * configure: Regenerated.
9582 * config.make.in (build-nscd): New substituted variable.
9583 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9584 Change conditional to require [$(build-nscd) = yes] as well.
9585 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9588 * configure.in (use_nscd): New substituted variable, set by
9589 --disable-nscd. If enabled, define USE_NSCD.
9590 * configure: Regenerated.
9591 * config.h.in: Add USE_NSCD.
9592 * config.make.in (use-nscd): New substituted variable.
9593 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9594 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9595 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9596 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9597 (CFLAGS-getgrnam_r.c): Likewise.
9598 (CFLAGS-initgroups.c): Likewise.
9599 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9600 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9602 * inet/getnetgrent_r.c
9603 (nscd_setnetgrent): New function, broken out of ...
9604 (setnetgrent): ... here. Call it.
9605 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9606 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9607 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9608 * nscd/Makefile (routines, aux): Move definitions after include of
9609 Makeconfig. Conditionalize on [$(use-nscd) != no].
9610 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9611 Conditionalize on [USE_NSCD].
9612 (is_nscd, nscd_init_cb): Likewise.
9613 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9614 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9615 * nss/nss_db/db-init.c: Likewise.
9616 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9618 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9619 (make_request): Use it.
9620 (cache_valid_p): New function.
9621 (__check_pf): Use it.
9622 * NEWS: Add item for --disable-nscd.
9624 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9626 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9627 to support sed >= 4.2.1-20-ga9bf076.
9628 * configure: Regenerated.
9630 2012-08-22 Roland McGrath <roland@hack.frob.com>
9632 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9633 Conditionalize whole body on [IREL].
9635 2012-08-22 Jeff Law <law@redhat.com>
9638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9639 if the family is PF_UNSPEC.
9641 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9643 * Makerules (lib-version): Rename from V.
9644 (install-lib-nosubdir): Change V to lib-version.
9646 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9649 * powerpc32/power6/wcschr.c: New file.
9650 * powerpc32/power6/wcscpy.c: New file.
9651 * powerpc32/power6/wcsrchr.c: New file.
9652 * powerpc64/power6/wcschr.c: New file.
9653 * powerpc64/power6/wcscpy.c: New file.
9654 * powerpc64/power6/wcsrchr.c: New file.
9656 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9658 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9659 (two_way_short_needle): Use it.
9660 * string/strstr.c (AVAILABLE1_USES_J): Define.
9661 * string/strcasestr.c: Likewise.
9663 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9665 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9668 * NEWS: Add an entry.
9669 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9670 define their defaults.
9671 (two_way_short_needle): Detect end-of-string on-the-fly.
9672 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9673 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9674 * string/bug-strcasestr1.c: New test.
9675 * string/Makefile: Run it.
9677 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9680 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9681 the first character.
9683 2012-08-21 Roland McGrath <roland@hack.frob.com>
9685 * csu/elf-init.c (__libc_csu_irel): Function removed.
9686 * csu/libc-start.c (apply_irel): New function.
9687 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9689 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9691 * sysdeps/unix/sysv/linux/kernel-features.h
9692 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9693 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9694 <kernel-features.h>.
9695 [__NR_fadvise64_64]: Make code unconditional.
9696 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9697 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9698 !__NR_fadvise64_64)]: Likewise.
9699 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9700 !__NR_fadvise64_64))]: Likewise.
9701 [__NR_fadvise64]: Make code unconditional.
9702 [!__NR_fadvise64]: Remove conditional code.
9703 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9704 <kernel-features.h>.
9705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9710 not include <kernel-features.h>.
9711 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9713 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9715 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9716 include <kernel-features.h>.
9717 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9719 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9722 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9725 slight instruction rearrangements per scrollpipe analysis.
9726 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9728 2012-08-20 Roland McGrath <roland@hack.frob.com>
9730 * manual/syslog.texi (syslog; vsyslog, closelog):
9731 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9732 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9734 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9735 DSOCAPS to match condition on defining it.
9737 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/sysv/linux/kernel-features.h
9740 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9742 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9743 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9745 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9746 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9748 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9749 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9751 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9752 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9754 * sysdeps/unix/sysv/linux/kernel-features.h
9755 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9756 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9758 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9759 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9760 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9761 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9762 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9763 Make code unconditional.
9764 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9765 (__mmap64) [!__NR_mmap2]: Likewise.
9766 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9767 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9768 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9769 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9770 [__NR_mmap2]: Make code unconditional.
9771 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9772 (__mmap64) [!__NR_mmap2]: Likewise.
9774 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9776 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9778 2012-08-18 Andreas Jaeger <aj@suse.de>
9780 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9782 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9784 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9785 * include/unistd.h (__have_sock_cloexec): Likewise.
9786 (__have_pipe2): Likewise.
9787 (__have_dup3): Likewise.
9789 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9792 * include/unistd.h (__have_pipe2): Change define into an extern int.
9793 (__have_dup3): Likewise.
9794 * socket/have_sock_cloexec.c: Include fcntl.h.
9795 (__have_pipe2): New variable.
9796 (__have_dup3): Likewise.
9798 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9800 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9802 2012-08-17 Marek Polacek <polacek@redhat.com>
9804 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9805 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9807 2012-08-17 Roland McGrath <roland@hack.frob.com>
9809 * configure.in: Add AC_SUBST for sysheaders.
9810 * configure: Regenerated.
9811 * config.make.in (sysheaders): New substituted variable.
9813 * sysdeps/unix/mkfifo.c: Moved ...
9814 * sysdeps/posix/mkfifo.c: ... here.
9815 * sysdeps/unix/mkfifoat.c: Moved ...
9816 * sysdeps/posix/mkfifoat.c: ... here.
9818 * sysdeps/unix/utime.c: Moved ...
9819 * sysdeps/posix/utime.c: ... here.
9821 * sysdeps/unix/time.c: Moved ...
9822 * sysdeps/posix/time.c: ... here.
9823 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9826 * sysdeps/unix/nice.c: Moved ...
9827 * sysdeps/posix/nice.c: ... here.
9829 * sysdeps/unix/alarm.c: Moved ...
9830 * sysdeps/posix/alarm.c: ... here.
9832 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9834 2012-08-17 Jeff Law <law@redhat.com>
9836 * intl/Makefile (codeset_mo): New variable.
9837 ($(codeset_mo)): New target.
9838 (tst-codeset.out): Depend on that. Remove explicit rule.
9839 (tst-gettext3.out, tst-gettext5.out): Likewise.
9840 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9841 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9842 * intl/tst-codeset.sh: Remove.
9843 * intl/tst-gettext3.sh: Likewise.
9844 * intl/tst-gettext5.sh: Likewise.
9846 2012-08-17 Roland McGrath <roland@hack.frob.com>
9848 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9849 * sysdeps/unix/syscalls.list: ... here.
9851 * sysdeps/posix/getaddrinfo.c
9852 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9853 (gaiconf_init, gaiconf_reload): Use them.
9855 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9856 Define using time_t rather than struct timespec.
9858 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9859 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9861 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9863 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9864 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9867 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9868 __libc_cleanup_push argument.
9870 * bits/param.h: New file.
9871 * misc/sys/param.h: New file.
9872 * include/sys/param.h: New file.
9873 * misc/Makefile (headers): Add bits/param.h.
9874 * sysdeps/generic/sys/param.h: File removed.
9875 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9876 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9877 * sysdeps/mach/hurd/bits/param.h: New file.
9878 * sysdeps/mach/hurd/sys/param.h: File removed.
9880 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9883 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9885 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9886 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9889 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9890 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9891 rather than -D_IO_MTSAFE_IO conditionally.
9892 * stdio-common/Makefile (CPPFLAGS): Likewise.
9893 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9894 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9895 Use $(libio-mtsafe).
9896 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9898 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9899 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9900 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9901 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9902 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9903 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9904 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9905 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9906 (CFLAGS-fread_u_chk.c): Likewise.
9907 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9908 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9909 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9910 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9911 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9912 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9913 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9914 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9915 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9917 * libio/Makefile: Test [$(libc-reentrant) = yes]
9918 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9921 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9922 * sysdeps/pthread/configure: File removed.
9923 * sysdeps/pthread/Makeconfig: New file.
9924 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9925 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9927 2012-08-16 Gary Benson <gbenson@redhat.com>
9929 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9930 unmapping the first object in a namespace.
9932 2012-08-16 Roland McGrath <roland@hack.frob.com>
9934 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9935 (__internal_setnetgrent): ... this. Add internal_function to
9936 definition. Add libc_hidden_def.
9937 (setnetgrent): Update caller.
9938 (internal_endnetgrent): Renamed to ...
9939 (__internal_endnetgrent): ... this. Add internal_function to
9940 definition. Add libc_hidden_def.
9941 (endnetgrent): Update caller.
9942 (internal_getnetgrent_r): Renamed to ...
9943 (__internal_getnetgrent_r): ... this. Add internal_function to
9944 definition. Add libc_hidden_def.
9945 (__getnetgrent_r): Update caller.
9946 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9948 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9950 * stdlib/longlong.h: Update from GCC.
9952 2012-08-16 Roland McGrath <roland@hack.frob.com>
9954 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9955 on _QL, which is set by umul_ppmm but never used.
9956 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9957 variables, which are set by GMP macros but never used.
9958 * stdio-common/_itowa.c (_itowa): Likewise.
9959 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9960 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9962 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9964 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9965 struct La_sh_regs is not constant.
9966 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9967 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9968 and struct La_sparc64_regs are not constant.
9970 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9972 * sysdeps/unix/sysv/linux/kernel-features.h
9973 (__ASSUME_POSIX_TIMERS): Remove.
9974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9976 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9977 Make code unconditional.
9978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9980 Make code unconditional.
9981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9982 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9983 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9985 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9986 Make code unconditional.
9987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9988 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9989 (__libc_missing_posix_timers): Remove.
9991 2012-08-15 Roland McGrath <roland@hack.frob.com>
9993 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9994 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9996 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9998 * elf/dl-sym.c: Include <stdlib.h>.
10000 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10001 constants, which avoids warnings in 32-bit builds.
10003 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10004 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10006 * misc/lseek.c: File moved to ...
10007 * io/lseek.c: ... here.
10009 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10011 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10012 shifting LEN more than 31 bits at once.
10014 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10017 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10018 segmentation fault for a case of two empty input strings.
10019 * string/test-strncasecmp.c (check1): Renamed to...
10020 (bz12205): ...this.
10021 (bz14195): Add new testcase for two empty input strings and N > 0.
10022 (test_main): Call new testcase, adapt for renamed function.
10024 2012-08-15 Andreas Jaeger <aj@suse.de>
10027 * crypt/md5test2.c: New test, based on test supplied by Serge
10028 Belyshev <belyshev@depni.sinp.msu.ru>.
10029 * crypt/Makefile (xtests): Add md5test-giant..
10030 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10032 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10035 * crypt/md5.c (md5_process_block): Don't assume the buffer
10036 length is less than 2**32.
10037 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10038 length is less than 2**64.
10040 2012-08-15 Roland McGrath <roland@hack.frob.com>
10042 * string/str-two-way.h: Include <sys/param.h>.
10043 (MAX): Macro removed.
10045 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10046 Move #define and #undef of memmove to just before and after
10047 including <string.h>.
10049 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10050 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10051 and after including <string.h>. Move declarations of
10052 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10053 to before #include "string/memmove.c".
10055 * include/dirent.h: Declare __getdirentries.
10057 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10058 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10060 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10062 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10063 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10064 * sysdeps/i386/configure: Regenerated.
10065 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10066 STABS_CURRENT_FILE, and STABS_FUN.
10067 (END): Remove call to STABS_FUN_END.
10068 (STABS_CURRENT_FILE1): Delete.
10069 (STABS_CURRENT_FILE): Likewise.
10070 (STABS_FUN): Likewise.
10071 (STABS_FUN_END): Likewise.
10072 (STABS_FUN2): Likewise.
10073 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10074 * sysdeps/x86_64/configure: Regenerated.
10076 2012-08-14 Roland McGrath <roland@hack.frob.com>
10078 * elf/dl-open.c: Include <atomic.h>.
10079 * elf/dl-lookup.c: Likewise.
10081 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10083 * sysdeps/unix/sysv/linux/kernel-features.h
10084 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10085 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10087 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10089 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10090 condition on __ASSUME_CLONE_THREAD_FLAGS.
10092 2012-08-14 Andreas Jaeger <aj@suse.de>
10094 * sysdeps/i386/fpu/libm-test-ulps: Update.
10096 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10098 * include/atomic.h (atomic_exchange_and_add): Split into ...
10099 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10102 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10106 2012-08-13 Jeff Law <law@redhat.com>
10108 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10109 null byte in the output string.
10111 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/unix/sysv/linux/kernel-features.h
10114 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10115 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10116 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10117 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10118 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10119 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10120 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10122 2012-08-09 Jeff Law <law@redhat.com>
10125 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10126 When avoid_arena is set, don't retry in the that arena. Pick the
10127 next one, whatever it might be.
10128 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10129 (arena_lock): Pass in new parameter to arena_get2.
10130 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10132 (__libc_malloc): Unify retrying after main arena failure with
10133 __libc_memalign version.
10134 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10136 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10139 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10140 to __redirect_strstr.
10141 (__strstr_sse42): Use typeof __redirect_strstr.
10142 (__strstr_ia32): Likewise.
10143 (__libc_strstr): New prototype.
10144 (strstr): Renamed to ...
10145 (__libc_strstr): This.
10146 (strstr): New strong alias of __libc_strstr.
10147 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10148 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10151 (__libc_time): New prototype.
10152 (time_ifunc): Replace time with __libc_time.
10153 (time): New strong alias and hidden definition of __libc_time.
10154 (__GI_time): Remove strong alias.
10155 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10156 Include <stddef.h>.
10157 (memmove): Redefined to __redirect_memmove.
10158 (__memmove_sse2): Use typeof __redirect_memmove.
10159 (__memmove_ssse3): Likewise.
10160 (__memmove_ssse3_back): Likewise.
10161 (__libc_memmove): New prototype.
10162 (memmove): Renamed to ...
10163 (__libc_memmove): This.
10164 (memmove): New strong alias of __libc_memmove.
10166 2012-08-08 Mark Salter <msalter@redhat.com>
10169 (R_MN10300_TLS_GD): Define.
10170 (R_MN10300_TLS_LD): Likewise.
10171 (R_MN10300_TLS_LDO): Likewise.
10172 (R_MN10300_TLS_GOTIE): Likewise.
10173 (R_MN10300_TLS_IE): Likewise.
10174 (R_MN10300_TLS_LE): Likewise.
10175 (R_MN10300_TLS_DTPMOD): Likewise.
10176 (R_MN10300_TLS_DTPOFF): Likewise.
10177 (R_MN10300_TLS_TPOFF): Likewise.
10178 (R_MN10300_SYM_DIFF): Likewise.
10179 (R_MN10300_ALIGN): Likewise.
10180 (R_MN10300_NUM): Update.
10182 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10187 2012-08-08 Roland McGrath <roland@hack.frob.com>
10189 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10191 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10192 sysdeps/unix -> sysdeps/posix move.
10193 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10195 2012-08-07 Allan McRae <allan@archlinux.org>
10198 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10199 (SUNOS_CPP): Likewise.
10200 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10202 (open_input): Call CPP using execvp.
10204 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10206 * sysdeps/unix/sysv/linux/kernel-features.h
10207 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10210 (__ASSUME_WAITID_SYSCALL): Likewise.
10211 * sysdeps/unix/sysv/linux/dl-execstack.c
10212 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10213 code unconditional.
10214 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10216 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10217 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10218 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10220 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10222 [__ASSUME_WAITID_SYSCALL]: Likewise.
10223 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10225 2012-08-07 Roland McGrath <roland@hack.frob.com>
10227 * sysdeps/unix/closedir.c: Renamed to ...
10228 * sysdeps/posix/closedir.c: ... here.
10229 * sysdeps/unix/dirfd.c: Renamed to ...
10230 * sysdeps/posix/dirfd.c: ... here.
10231 * sysdeps/unix/dirstream.h: Renamed to ...
10232 * sysdeps/posix/dirstream.h: ... here.
10233 * sysdeps/unix/fdopendir.c: Renamed to ...
10234 * sysdeps/posix/fdopendir.c: ... here.
10235 * sysdeps/unix/opendir.c: Renamed to ...
10236 * sysdeps/posix/opendir.c: ... here.
10237 * sysdeps/unix/readdir.c: Renamed to ...
10238 * sysdeps/posix/readdir.c: ... here.
10239 * sysdeps/unix/readdir_r.c: Renamed to ...
10240 * sysdeps/posix/readdir_r.c: ... here.
10241 * sysdeps/unix/rewinddir.c: Renamed to ...
10242 * sysdeps/posix/rewinddir.c: ... here.
10243 * sysdeps/unix/seekdir.c: Renamed to ...
10244 * sysdeps/posix/seekdir.c: ... here.
10245 * sysdeps/unix/telldir.c: Renamed to ...
10246 * sysdeps/posix/telldir.c: ... here.
10247 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10248 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10249 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10250 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10252 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10253 * bits/fcntl.h: ... here.
10255 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10257 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10258 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10259 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10260 (struct flock): Move l_start, l_len to the beginning.
10261 Use __pid_t for l_pid.
10262 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10263 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10264 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10265 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10266 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10267 [__USE_LARGEFILE64] (struct flock64): New type.
10268 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10270 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10271 * bits/dirent.h: ... here.
10273 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10274 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10276 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10279 Change from 2.6.0 to 2.6.16.
10280 * sysdeps/unix/sysv/linux/configure: Regenerated.
10281 * sysdeps/unix/sysv/linux/kernel-features.h
10282 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10283 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10285 (__ASSUME_UTIMES): Likewise.
10286 (__ASSUME_CLONE_STOPPED): Remove.
10287 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10288 architectures, not kernel version.
10289 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10290 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10291 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10292 (__ASSUME_WAITID_SYSCALL): Likewise.
10293 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10294 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10295 * README: State 2.6.16 as minimum Linux kernel version. Do not
10296 refer to older versions.
10298 2012-08-06 Roland McGrath <roland@hack.frob.com>
10300 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10301 Define alphasort64 as an alias.
10302 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10303 Define versionsort64 as an alias.
10304 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10305 Define scandir64 as an alias.
10306 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10307 Define scandirat64 as an alias.
10308 * dirent/alphasort64.c (alphasort64):
10309 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10310 * dirent/versionsort64.c: Likewise.
10311 * dirent/scandir64.c: Likewise.
10312 * dirent/scandirat64.c: Likewise.
10313 * sysdeps/wordsize-64/alphasort.c: File removed.
10314 * sysdeps/wordsize-64/alphasort64.c: File removed.
10315 * sysdeps/wordsize-64/scandir.c: File removed.
10316 * sysdeps/wordsize-64/scandir64.c: File removed.
10317 * sysdeps/wordsize-64/scandirat.c: File removed.
10318 * sysdeps/wordsize-64/scandirat64.c: File removed.
10319 * sysdeps/wordsize-64/versionsort.c: File removed.
10320 * sysdeps/wordsize-64/versionsort64.c: File removed.
10321 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10322 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10327 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10330 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10332 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10334 [defined __arch64__ || defined __sparcv9]
10335 (__INO_T_MATCHES_INO64_T): New macro.
10336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10337 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10338 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10339 * sysdeps/unix/sysv/linux/bits/dirent.h
10340 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10341 (_DIRENT_MATCHES_DIRENT64): New macro.
10343 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10344 Define lockf64 as an alias.
10345 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10346 Define fseeko64 as an alias.
10347 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10348 Define ftello64 as an alias.
10349 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10350 Define _IO_fgetpos64 and fgetpos64 as aliases.
10351 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10352 Define _IO_fsetpos64 and fsetpos64 as aliases.
10353 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10354 Conditionalize body on this.
10355 * libio/fseeko64.c: Likewise.
10356 * libio/ftello64.c: Likewise.
10357 * libio/iofgetpos64.c: Likewise.
10358 * libio/iofsetpos64.c: Likewise.
10359 * sysdeps/wordsize-64/lockf.c: File removed.
10360 * sysdeps/wordsize-64/lockf64.c: File removed.
10361 * sysdeps/wordsize-64/fseeko.c: File removed.
10362 * sysdeps/wordsize-64/fseeko64.c: File removed.
10363 * sysdeps/wordsize-64/ftello.c: File removed.
10364 * sysdeps/wordsize-64/ftello64.c: File removed.
10365 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10366 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10367 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10368 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10369 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10375 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10377 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10378 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10380 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10382 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10384 [defined __arch64__ || defined __sparcv9]
10385 (__OFF_T_MATCHES_OFF64_T): New macro.
10386 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10387 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10389 (__OFF_T_MATCHES_OFF64_T): New macro.
10391 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10393 * stdlib/secure-getenv.c (__secure_getenv): Replace
10394 GLIBC_2_16 with GLIBC_2_17.
10396 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10398 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10401 2012-08-03 David S. Miller <davem@davemloft.net>
10403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10405 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10409 (__ASSUME_CORRECT_SI_PID): Likewise.
10410 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10411 (__ASSUME_TMPFS_NAME): Likewise.
10412 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10413 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10414 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10415 (HAVE_AUX_SECURE): Make definition unconditional.
10416 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10417 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10419 2012-08-03 Roland McGrath <roland@hack.frob.com>
10421 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10422 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10423 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10425 __eloop_threshold instead of SYMLOOP_MAX.
10427 * sysdeps/generic/eloop-threshold.h: New file.
10428 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10430 * elf/chroot_canon.c (chroot_canon): Likewise.
10432 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10435 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10436 Change to 2.6.0 everywhere.
10437 * sysdeps/unix/sysv/linux/configure: Regenerated.
10438 * sysdeps/unix/sysv/linux/kernel-features.h
10439 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10440 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10442 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10443 (__ASSUME_FUTEX_REQUEUE): Remove.
10444 (__ASSUME_STATFS64): Define unconditionally.
10445 (__ASSUME_AT_SECURE): Likewise.
10446 (__ASSUME_CORRECT_SI_PID): Likewise.
10447 (__ASSUME_TGKILL): Define without depending on kernel version for
10449 (__ASSUME_UTIMES): Likewise.
10450 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10452 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10453 (__ASSUME_TMPFS_NAME): Likewise.
10454 * README: Update reference to Linux kernel versions.
10456 2012-08-02 Marek Polacek <polacek@redhat.com>
10459 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10460 libc_cv_asm_type_prefix with %.
10461 * configure: Regenerated.
10462 * include/libc-symbols.h: Remove comment about
10463 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10464 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10465 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10466 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10467 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10468 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10469 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10470 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10471 * elf/tst-unique2mod1.c: Likewise.
10472 * elf/tst-unique1mod2.c: Likewise.
10473 * elf/tst-unique1mod1.c: Likewise.
10474 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10475 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10476 Replace ASM_TYPE_DIRECTIVE with .type.
10477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10478 * sysdeps/i386/sysdep.h: Likewise.
10479 * sysdeps/x86_64/sysdep.h: Likewise.
10480 * sysdeps/sh/sysdep.h: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10482 Do not define ASM_TYPE_DIRECTIVE.
10483 * sysdeps/powerpc/sysdep.h: Likewise.
10484 * sysdeps/powerpc/powerpc32/sysdep.h:
10485 Replace ASM_TYPE_DIRECTIVE with .type.
10486 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10487 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10488 * sysdeps/i386/fpu/e_powf.S: Likewise.
10489 * sysdeps/i386/fpu/e_expl.S: Likewise.
10490 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10491 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10492 * sysdeps/i386/fpu/e_pow.S: Likewise.
10493 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10495 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10496 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10497 * sysdeps/i386/fpu/e_log2.S: Likewise.
10498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10499 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10500 * sysdeps/i386/fpu/e_powl.S: Likewise.
10501 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10502 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10503 * sysdeps/i386/fpu/e_logl.S: Likewise.
10504 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10505 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10506 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10507 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10508 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10509 * sysdeps/i386/fpu/e_log.S: Likewise.
10510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10511 * sysdeps/i386/fpu/e_logf.S: Likewise.
10512 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10514 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10515 * sysdeps/i386/fpu/e_log10.S: Likewise.
10516 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10517 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10518 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10519 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10520 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10521 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10522 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10523 * sysdeps/i386/i686/strtok.S: Likewise.
10524 * sysdeps/i386/i386-mcount.S: Likewise.
10525 * sysdeps/i386/strtok.S: Likewise.
10526 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10527 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10528 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10530 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10535 * sysdeps/x86_64/_mcount.S: Likewise.
10536 * sysdeps/x86_64/strtok.S: Likewise.
10537 * sysdeps/sh/_mcount.S: Likewise.
10539 2012-08-01 Roland McGrath <roland@hack.frob.com>
10541 * libio/iofopen.c: Include <fcntl.h>.
10542 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10543 (_IO_fopen64, fopen64): Define as aliases.
10544 * libio/iofopen64.c: Include <fcntl.h>.
10545 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10546 Conditionalize body on this.
10547 * sysdeps/wordsize-64/iofopen.c: File removed.
10548 * sysdeps/wordsize-64/iofopen64.c: File removed.
10550 2012-08-01 Marek Polacek <polacek@redhat.com>
10552 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10553 Use dlfcn directly instead of a variable.
10554 (binfmt-subdir): Do not define.
10557 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10560 Remove all definitions.
10561 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10562 <kernel-features.h>.
10563 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10564 (miss_F_GETOWN_EX): Remove all definitions.
10565 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10567 [!__ASSUME_FCNTL64]: Remove conditional code.
10568 [__ASSUME_FCNTL64]: Make code unconditional.
10569 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10570 <kernel-features.h>.
10571 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10572 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10573 (lockf64) [__NR_fcntl64]: Make code unconditional.
10574 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10576 * sysdeps/unix/sysv/linux/kernel-features.h
10577 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10578 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10579 Make code unconditional.
10580 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10581 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10583 [__NR_vfork]: Make code unconditional.
10584 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10585 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10587 [__NR_vfork]: Make code unconditional.
10588 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10589 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10591 2012-08-01 Roland McGrath <roland@hack.frob.com>
10593 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10594 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10596 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10597 Define mkstemp64 as an alias.
10598 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10599 Define mkstemps64 as an alias.
10600 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10601 Define mkostemp64 as an alias.
10602 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10603 Define mkostemps64 as an alias.
10604 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10605 Conditionalize body on this.
10606 * misc/mkostemp64.c: Likewise.
10607 * misc/mkostemps64.c: Likewise.
10608 * misc/mkstemps64.c: Likewise.
10609 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10610 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10611 * sysdeps/wordsize-64/mkostemp.c: File removed.
10612 * sysdeps/wordsize-64/mkstemp.c: File removed.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10619 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10620 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10621 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10622 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10624 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10625 compat_symbol macros from <shlib-compat.h> rather than the underlying
10626 default_symbol_version and symbol_version macros, so that DEFAULT
10627 lines in shlib-versions are respected.
10628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10630 2012-08-01 Florian Weimer <fweimer@redhat.com>
10632 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10633 Declare with warn_unused_result.
10634 (setgid, setregid, setegid, setresgid): Likewise.
10635 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10637 * WUR-REPORT: Remove set*id functions.
10639 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10641 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10643 2012-07-31 Roland McGrath <roland@hack.frob.com>
10645 * include/sys/socket.h (__libc_accept, __libc_accept4):
10646 Add attribute_hidden.
10647 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10649 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10651 * inet/getnetgrent_r.c (setup): Likewise.
10653 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10655 2012-07-31 David S. Miller <davem@davemloft.net>
10657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10659 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10662 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10663 value between 1.0 and 2.0 and smaller part has absolute value less
10665 * math/s_clog10.c (__clog10): Likewise.
10666 * math/s_clog10f.c (__clog10f): Likewise.
10667 * math/s_clog10l.c (__clog10l): Likewise.
10668 * math/s_clogf.c (__clogf): Likewise.
10669 * math/s_clogl.c (__clogl): Likewise.
10670 * math/libm-test.inc (clog_test): Add more tests.
10671 (clog10_test): Likewise.
10672 * sysdeps/i386/fpu/libm-test-ulps: Update.
10673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10675 2012-07-31 Florian Weimer <fweimer@redhat.com>
10677 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10678 Exit with zero in case no suitable GID is found, and write a
10679 message to standard error.
10681 2012-07-30 Roland McGrath <roland@hack.frob.com>
10683 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10685 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10686 (MAXPATHLEN): Removed.
10687 (NOGROUP, NODEV): New macros.
10688 (setbit, clrbit, isset, isclr): New macros.
10689 (howmany, roundup, powerof2): New macros.
10690 (DEV_BSIZE): New macro.
10692 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10693 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10695 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10696 definition on [!__NO_LONG_DOUBLE_MATH].
10698 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10699 PTR_MANGLE and PTR_DEMANGLE.
10701 * socket/accept4.c (accept4): Rename to __libc_accept4.
10702 Define accept4 as a weak alias.
10704 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10705 on [_DIRENT_HAVE_D_TYPE].
10706 * io/ftw.c (ftw_dir): Likewise.
10708 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10710 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10712 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10713 Use the BSD numbers rather than the arbitrary ones we had.
10714 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10715 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10716 (SIGXCPU, SIGXFSZ): New macros.
10719 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10720 initializer on [_LIBC_REENTRANT].
10722 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10723 definitions inside [_POSIX_MAPPED_FILES].
10725 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10727 * dirent/opendir.c: Include <fcntl.h>.
10729 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10730 (__libc_getspecific): Likewise.
10731 (__libc_key_create): Likewise.
10733 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10734 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10735 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10736 (tmpfile64): Define as alias.
10737 * sysdeps/wordsize-64/tmpfile.c: File removed.
10738 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10742 * stdio-common/vfscanf.c: Include <stdbool.h>.
10743 * nss/makedb.c: Likewise.
10744 * stdio-common/_i18n_number.h: Likewise.
10745 * argp/argp-help.c: Likewise.
10746 * posix/wordexp.c: Likewise.
10747 * sysdeps/posix/spawni.c: Likewise.
10748 * nss/nss_files/files-initgroups.c: Likewise.
10749 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10750 * nss/nss_files/files-initgroups.c: Likewise.
10751 * nss/nss_db/db-netgrp.c: Likewise.
10752 * nss/nss_db/db-initgroups.c: Likewise.
10753 * io/fchmodat.c: Include <sys/stat.h>.
10755 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10756 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10758 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10761 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10762 Add multiple inclusion protection.
10764 2012-07-27 David S. Miller <davem@davemloft.net>
10766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10768 2012-07-27 Gary Benson <gbenson@redhat.com>
10771 * elf/rtld.c: Include <stap-probe.h>.
10772 (dl_main): Added static probes "init_start" and "init_complete".
10773 * elf/dl-load.c: Include <stap-probe.h>.
10774 (lose): Take new parameter "nsid".
10775 Added static probe "map_failed".
10776 (_dl_map_object_from_fd): Pass namespace id to lose.
10777 Added static probe "map_start".
10778 (open_verify): Pass namespace id to lose.
10779 * elf/dl-open.c: Include <stap-probe.h>.
10780 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10781 and "reloc_complete".
10782 * elf/dl-close.c: Include <stap-probe.h>.
10783 (_dl_close_worker): Added static probes "unmap_start" and
10785 * elf/rtld-debugger-interface.txt: New file documenting the above.
10787 2012-07-26 Roland McGrath <roland@hack.frob.com>
10789 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10790 rather than a string variable.
10791 * sunrpc/rpc_main.c (h_output): Likewise.
10792 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10794 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10796 * inet/check_native.c: New file.
10798 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10801 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10802 if larger part has absolute value 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.
10813 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10814 (pltexit): Likewise.
10815 (La_regs): Likewise.
10816 (La_retval): Likewise.
10817 (int_retval): Likewise.
10818 Update #error for removed macros to refer only to definitions in
10820 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10822 (pltexit): Likewise.
10823 (La_regs): Likewise.
10824 (La_retval): Likewise.
10825 (int_retval): Likewise.
10826 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10828 (pltexit): Likewise.
10829 (La_regs): Likewise.
10830 (La_retval): Likewise.
10831 (int_retval): Likewise.
10832 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10834 (pltexit): Likewise.
10835 (La_regs): Likewise.
10836 (La_retval): Likewise.
10837 (int_retval): Likewise.
10838 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10840 (pltexit): Likewise.
10841 (La_regs): Likewise.
10842 (La_retval): Likewise.
10843 (int_retval): Likewise.
10844 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10846 (pltexit): Likewise.
10847 (La_regs): Likewise.
10848 (La_retval): Likewise.
10849 (int_retval): Likewise.
10850 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10852 (pltexit): Likewise.
10853 (La_regs): Likewise.
10854 (La_retval): Likewise.
10855 (int_retval): Likewise.
10856 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10857 macro definitions in tst-audit.h.
10858 * sysdeps/i386/tst-audit.h: New file.
10859 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10860 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10861 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10862 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10863 * sysdeps/sh/tst-audit.h: Likewise.
10864 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10865 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10866 * sysdeps/x86_64/tst-audit.h: Likewise.
10868 2012-07-26 Andreas Jaeger <aj@suse.de>
10870 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10873 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10874 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10875 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10877 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10881 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10884 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10886 (si_call_addr, si_syscall, si_arch): Define new macro.
10887 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10889 (si_call_addr, si_syscall, si_arch): Define new marcro.
10890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10892 (si_call_addr, si_syscall, si_arch): Define new macro.
10893 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10895 (si_call_addr, si_syscall, si_arch): Define new macro.
10897 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10901 Change to 2.4.21 where previously 2.4.1.
10902 * sysdeps/unix/sysv/linux/configure: Regenerated.
10903 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10904 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10905 Linux kernel version.
10906 (__ASSUME_STD_AUXV): Remove.
10907 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10909 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10910 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10911 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10912 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10913 (__ASSUME_NETLINK_SUPPORT): Likewise.
10914 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10915 (__no_netlink_support): Remove conditional definition.
10916 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10918 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10919 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10920 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10921 (if_nameindex_ioctl): Remove.
10922 (if_nameindex_netlink): Do not handle __no_netlink_support.
10923 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10925 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10926 Remove conditional code.
10927 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10929 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10931 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10932 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10933 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10935 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10936 [!__ASSUME_STD_AUXV]: Remove conditional code.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10938 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10939 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10941 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10942 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10944 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10946 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10947 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10949 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10951 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10954 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10957 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10958 code unconditional.
10959 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10961 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10963 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10966 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10968 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10971 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10972 code unconditional.
10973 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10975 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10977 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10980 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10981 code unconditional.
10982 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10984 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10986 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10989 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10991 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10992 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10993 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10994 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10995 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10996 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10997 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10998 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10999 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11000 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11001 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11002 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11003 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11004 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11006 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11007 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11009 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11011 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11015 2012-07-25 Florian Weimer <fweimer@redhat.com>
11017 * Versions.def: Add GLIBC_2.17.
11018 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11019 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11020 Introduce __libc_secure_getenv.
11021 * stdlib/Versions (2.17): Add secure_getenv
11022 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11023 * stdlib/secure-getenv.c: Rename __secure_getenv to
11024 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11025 symbol __secure_getenv for GLIBC_2.0.
11026 * stdlib/tst-secure-getenv.c: New.
11027 * stdlib/Makefile (tests): Add testcase.
11028 * manual/startup.texi (Environment Access): Document
11030 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11031 __libc_secure_getenv.
11032 * inet/ruserpass.c (ruserpass): Likewise.
11033 * malloc/mtrace.c (mtrace): Likewise.
11034 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11035 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11036 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11037 * sysdeps/posix/tempname.c: Likewise. Evaluate
11038 HAVE_SECURE_GETENV.
11039 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11040 __secure_getenv to __libc_secure_getenv.
11041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11054 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11056 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11057 (struct La_i86_retval): Likewise.
11058 (struct La_x86_64_regs): Likewise.
11059 (struct La_x86_64_retval): Likewise.
11060 (struct La_x32_regs): Likewise.
11061 (struct La_x32_retval): Likewise.
11062 (struct La_ppc32_regs): Likewise.
11063 (struct La_ppc32_retval): Likewise.
11064 (struct La_ppc64_regs): Likewise.
11065 (struct La_ppc64_retval): Likewise.
11066 (struct La_sh_regs): Likewise.
11067 (struct La_sh_retval): Likewise.
11068 (struct La_s390_32_regs): Likewise.
11069 (struct La_s390_32_retval): Likewise.
11070 (struct La_s390_64_regs): Likewise.
11071 (struct La_s390_64_retval): Likewise.
11072 (struct La_sparc32_regs): Likewise.
11073 (struct La_sparc32_retval): Likewise.
11074 (struct La_sparc64_regs): Likewise.
11075 (struct La_sparc64_retval): Likewise.
11076 (struct audit_ifaces): Remove architecture-specific pltenter and
11078 * sysdeps/i386/ldsodefs.h: New file.
11079 * sysdeps/powerpc/ldsodefs.h: Likewise.
11080 * sysdeps/s390/ldsodefs.h: Likewise.
11081 * sysdeps/sh/ldsodefs.h: Likewise.
11082 * sysdeps/sparc/ldsodefs.h: Likewise.
11083 * sysdeps/x86_64/ldsodefs.h: Likewise.
11085 2012-07-25 Marek Polacek <polacek@redhat.com>
11088 * math/libm-test.inc (yn_test): Add another test.
11089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11090 to ERANGE when the result is +-Inf.
11091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11092 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11093 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11094 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11096 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11098 * conform/data/time.h-data (NULL): Use macro-constant. Require
11100 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11102 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11104 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11106 * configure.in <sysdeps resolving>: Correct printing
11108 * configure: Regenerate.
11110 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11112 * math/w_ilogb.c: Include <limits.h>.
11113 * math/w_ilogbl.c: Likewise.
11115 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11117 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11118 va_copy. Document allowing for unavailable va_copy only as
11119 pre-C99 compatibility.
11120 * manual/string.texi (Copying and Concatenation): Use va_copy
11121 instead of __va_copy in concat example.
11123 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11125 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11126 (__sendto): Use create_address_port. Initialize APORT and deallocate
11129 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11130 with O_NOLINK passed to __file_name_lookup.
11132 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11133 with O_NOLINK passed to __file_name_lookup.
11135 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11136 negative N or less than NGIDS.
11138 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11139 type to string_t. Set ERANGE as errno and return it if NAME is not big
11140 enough. Use memcpy instead of strncpy.
11142 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11144 * elf/Makefile (check-data): Remove.
11145 (localplt.data): New vpath directive.
11146 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11147 instead of $(check-data).
11148 * scripts/data/localplt-generic.data: Move to ...
11149 * sysdeps/generic/localplt.data: ... here.
11150 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11151 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11152 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11155 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11158 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11161 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11164 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11167 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11171 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11173 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11174 PPC32 and PPC64 files.
11175 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11176 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11178 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11180 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11181 __makecontext_ret to ...
11182 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11183 ... here and call exit if uc_link is NULL. New file.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11185 __makecontext_ret.S.
11186 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11187 __makecontext_ret to ...
11188 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11189 ... here and call exit if uc_link is NULL. New file.
11190 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11191 __makecontext_ret.S.
11193 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11195 * elf/elf.h (R_390_IRELATIVE): New definition.
11196 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11197 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11198 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11200 (elf_machine_lazy_rel): Likewise.
11201 * sysdeps/s390/dl-irel.h: New file.
11202 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11203 * sysdeps/s390/s390-64/memset.S: New asm code.
11204 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11205 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11206 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11207 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11208 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11209 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11211 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11212 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11213 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11214 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11215 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11216 * sysdeps/s390/s390-32/memset.S: New asm code.
11217 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11219 2012-07-17 Marek Polacek <polacek@redhat.com>
11222 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11223 * sysdeps/s390/s390-64/configure.in: Likewise.
11224 * sysdeps/sparc/configure.in: Likewise.
11225 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11226 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11227 * sysdeps/i386/configure.in: Likewise.
11228 * sysdeps/x86_64/configure.in: Likewise.
11229 * sysdeps/sh/configure.in: Likewise.
11230 * sysdeps/s390/s390-32/configure: Regenerated.
11231 * sysdeps/s390/s390-64/configure: Likewise.
11232 * sysdeps/x86_64/configure: Likewise.
11233 * sysdeps/sh/configure: Likewise.
11234 * sysdeps/powerpc/powerpc64/configure: Likewise.
11235 * sysdeps/powerpc/powerpc32/configure: Likewise.
11236 * sysdeps/sparc/configure: Likwise.
11237 * sysdeps/i386/configure: Likewise.
11239 * elf/dl-open.c: Comment fixes.
11241 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11243 * Makefile [CXX] (check-data): Remove.
11244 [CXX] (c++-types.data): New vpath directive.
11245 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11246 vpath. Do not allow for C++ type data being missing.
11247 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11248 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11249 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11250 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11251 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11252 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11253 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11256 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11259 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11262 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11265 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11268 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11271 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11274 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11277 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11278 definitions to architecture-specific files.
11279 (TLS_IE): Likewise.
11280 (TLS_LD): Likewise.
11281 (TLS_GD): Likewise.
11282 * sysdeps/i386/tls-macros.h: New file.
11283 * sysdeps/powerpc/tls-macros.h: Likewise.
11284 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11285 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11286 * sysdeps/sh/tls-macros.h: Likewise.
11287 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11288 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11289 * sysdeps/x86_64/tls-macros.h: Likewise.
11291 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11294 zero value for regular exit case.
11296 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11297 (__start_context): Preserve zero value for regular exit case.
11299 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11300 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11302 * manual/setjmp.texi (setcontext): Clarify normal process
11303 termination when uc_link is the null pointer.
11304 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11307 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11309 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11310 preprocessor. Test for each exception mask separately.
11312 2012-07-16 Andreas Jaeger <aj@suse.de>
11314 * po/ru.po: Update from translation team.
11316 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11318 * conform/data/string.h-data (NULL): Use macro-constant. Require
11320 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11321 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11322 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11323 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11326 2012-07-13 Andreas Jaeger <aj@suse.de>
11328 * po/fr.po: Update from translation team.
11330 2012-07-12 Marek Polacek <polacek@redhat.com>
11333 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11337 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11341 Change to 2.4.1 where previously 2.4.0.
11342 * sysdeps/unix/sysv/linux/configure: Regenerated.
11343 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11344 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11346 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11347 (__ASSUME_AT_CLKTCK): Remove.
11348 (__ASSUME_AT_PAGESIZE): Likewise.
11349 (__ASSUME_AT_XID): Likewise.
11350 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11351 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11352 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11354 (HAVE_AUX_PAGESIZE): Likewise.
11355 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11356 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11357 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11359 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11363 the temporary buffer used to invoke __gethostbyname2_r,
11364 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11365 host_data / struct gaih_addrtuple.
11366 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11367 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11368 header file nss/nsswitch.h.
11369 * nss/nsswitch.h (global scope): Add definition of implementation
11370 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11371 resolv/nss_dns/dns-host.c).
11373 2012-07-11 Andreas Jaeger <aj@suse.de>
11375 * po/fr.po: Update from translation team.
11377 * po/sv.po: Update from translation team
11378 * po/fr.po: Another update from translation team.
11380 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11382 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11383 for subnormals or multiply small sinh result by itself.
11384 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11387 2012-07-11 David S. Miller <davem@davemloft.net>
11389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11391 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11394 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11395 (INTERNAL_MARK): Shift it here.
11397 2012-07-10 Marek Polacek <polacek@redhat.com>
11400 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11401 libc_cv_asm_global_directive with .globl.
11402 * configure: Regenerated.
11403 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11405 * sysdeps/i386/configure: Regenerated.
11406 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11408 * sysdeps/x86_64/configure: Regenerated.
11409 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11410 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11411 * elf/tst-unique2mod2.c: Likewise.
11412 * elf/tst-unique2mod1.c: Likewise.
11413 * elf/tst-unique1mod2.c: Likewise.
11414 * elf/tst-unique1mod1.c: Likewise.
11415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11416 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11418 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11419 * sysdeps/mach/sysdep.h: Likewise.
11420 * sysdeps/i386/sysdep.h: Likewise.
11421 * sysdeps/i386/i386-mcount.S: Likewise.
11422 * sysdeps/x86_64/_mcount.S: Likewise.
11423 * sysdeps/x86_64/sysdep.h: Likewise.
11424 * sysdeps/sh/_mcount.S: Likewise.
11425 * sysdeps/sh/sysdep.h: Likewise.
11426 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11428 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11429 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11430 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11432 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11433 * locale/localeinfo.h: Likewise.
11434 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11435 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11437 2012-07-09 Roland McGrath <roland@hack.frob.com>
11440 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11442 * manual/message.texi (The Uniforum approach): Likewise.
11443 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11444 (glibc iconv Implementation): Likewise.
11446 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11449 * math/s_clog.c (__clog): Avoid scaling a value down where that
11450 could result in underflow.
11451 * math/s_clog10.c (__clog10): Likewise.
11452 * math/s_clog10f.c (__clog10f): Likewise.
11453 * math/s_clog10l.c (__clog10l): Likewise.
11454 * math/s_clogf.c (__clogf): Likewise.
11455 * math/s_clogl.c (__clogl): Likewise.
11456 * math/libm-test.inc (clog_test): Add more tests.
11457 (clog10_test): Likewise.
11458 * sysdeps/i386/fpu/libm-test-ulps: Update.
11459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11461 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11464 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11465 by 7 not 8 to examine high bit of fractional part.
11468 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11469 for call to __mcount_internal.
11470 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11471 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11472 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11474 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11477 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11478 approximation for values within 0x1p-13f of an odd multiple of
11480 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11481 exception. Add more tests.
11482 * sysdeps/i386/fpu/libm-test-ulps: Update.
11485 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11486 inputs and return -1 for them. Do not check for +Inf in case not
11487 reachable for +Inf.
11488 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11489 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11491 and return -1 for them. Do not check for +Inf in case not
11492 reachable for +Inf.
11493 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11496 and return -1 for them. Do not check for +Inf in case not
11497 reachable for +Inf.
11498 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11499 spurious underflow.
11500 * sysdeps/i386/fpu/libm-test-ulps: Update.
11501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11503 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11505 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11507 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11511 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11512 could result in spurious underflow. Scale down values above
11513 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11514 * math/s_csqrtf.c (__csqrtf): Likewise.
11515 * math/s_csqrtl.c (__csqrtl): Likewise.
11516 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11517 spurious underflow.
11518 * sysdeps/i386/fpu/libm-test-ulps: Update.
11519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11521 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11523 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11525 * catgets/xopen-msg.awk: New file.
11526 * catgets/xopen-msg.sed: Removed.
11528 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11530 * intl/po2test.awk: New file.
11531 * intl/po2test.sed: Removed.
11533 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11536 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11537 or multiply small sinh result by itself.
11538 * math/s_ctanf.c (__ctanf): Likewise.
11539 * math/s_ctanh.c (__ctanh): Likewise.
11540 * math/s_ctanhf.c (__ctanhf): Likewise.
11541 * math/s_ctanhl.c (__ctanhl): Likewise.
11542 * math/s_ctanl.c (__ctanl): Likewise.
11543 * math/libm-test.inc (ctan_test_tonearest): New function.
11544 (ctan_test_towardzero): Likewise.
11545 (ctan_test_downward): Likewise.
11546 (ctan_test_upward): Likewise.
11547 (ctanh_test_tonearest): Likewise.
11548 (ctanh_test_towardzero): Likewise.
11549 (ctanh_test_downward): Likewise.
11550 (ctanh_test_upward): Likewise.
11551 (main): Call these new functions.
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11555 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11557 * .gitignore: Delete /ports entry.
11559 2012-07-03 Andreas Jaeger <aj@suse.de>
11561 * po/bg.po: Update from translation team.
11562 * po/cs.po: Likewise.
11563 * po/de.po: Likewise.
11564 * po/hr.po: Likewise.
11565 * po/nl.pl: Likewise.
11566 * po/pl.po: Likewise.
11567 * po/vi.po: Likewise.
11569 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11571 * Makeconfig [!+link] (+link-before-libc): New variable.
11572 [!+link] (+link-after-libc): Likewise.
11573 [!+link] (+link-tests): Likewise.
11574 [!+link] (+link): Define in terms of $(+link-before-libc) and
11575 $(+link-after-libc).
11576 [!+link-static] (+link-static-before-libc): New variable.
11577 [!+link-static] (+link-static-after-libc): Likewise.
11578 [!+link-static] (+link-static-tests): Likewise.
11579 [!+link-static] (+link-static): Define in terms of
11580 $(+link-static-before-libc) and $(+link-static-after-libc).
11581 [build-shared] (link-libc-before-gnulib): New variable.
11582 [build-shared] (link-libc-tests): Likewise.
11583 [build-shared] (link-libc): Define in terms of
11584 $(link-libc-before-gnulib).
11585 [!build-shared] (link-libc-tests): New variable.
11586 (link-libc-static-tests): New variable.
11587 [!gnulib] (gnulib-arch): New variable.
11588 [!gnulib] (gnulib-tests): Likewise.
11589 [!gnulib] (static-gnulib-arch): Likewise.
11590 [!gnulib] (static-gnulib-tests): Likewise.
11591 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11592 Define with "=" instead of ":=".
11593 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11594 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11595 * Rules (binaries-all-notests): New variable.
11596 (binaries-all-tests): Likewise.
11597 (binaries-static-notests): Likewise.
11598 (binaries-static-tests): Likewise.
11599 (binaries-all): Define using $(binaries-all-notests) and
11600 $(binaries-all-tests).
11601 (binaries-static): Define using $(binaries-static-notests) and
11602 $(binaries-static-tests).
11603 (binaries-shared-tests): New variable.
11604 (binaries-shared-notests): Likewise.
11605 (binaries-shared): Remove variable.
11606 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11607 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11608 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11609 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11610 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11611 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11612 * elf/Makefile (sln-modules): New variable.
11613 (extra-objs): Add $(sln-modules:=.o).
11614 (ldconfig-modules): Add static-stubs.
11615 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11616 * elf/static-stubs.c: New file.
11619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11620 by 7 not 8 to examine high bit of fractional part. Use volatile
11621 variables when splitting into final array of floats if
11622 __FLT_EVAL_METHOD__ != 0.
11623 * math/libm-test.inc (cos_test): Add another test.
11624 (sin_test): Likewise.
11625 * sysdeps/i386/fpu/libm-test-ulps: Update.
11628 * math/libm-test.inc (cosh_test): Add more tests.
11630 * version.h (RELEASE): Set to "development".
11631 (VERSION): Set to "2.16.90".
11633 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11635 * NEWS: Update copyright. Remove last-updated date.
11636 Mention math library bug fixes and timezone data changes.
11637 * README: Mention GNU/Hurd, x32, and HPPA support status.
11639 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11641 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11643 2012-06-27 Andreas Jaeger <aj@suse.de>
11645 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11647 2012-06-25 Andreas Jaeger <aj@suse.de>
11649 * sysdeps/s390/fpu/libm-test-ulps: Update.
11651 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11652 Thomas Schwinge <thomas@codesourcery.com>
11654 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11655 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11659 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11661 * sysdeps/mach/start.c: Remove file.
11662 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11663 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11664 * sysdeps/sh/init-first.c: Likewise.
11666 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11667 registers for frame unwinding purposes, add CFI directives.
11668 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11670 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11673 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11674 __fortify_fail returning.
11675 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11677 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11678 sysdeps/sh/____longjmp_chk.S.
11679 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11680 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11681 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11682 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11684 * sysdeps/sh/abort-instr.h: New file.
11685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11686 process in case exit returns.
11688 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11689 initialize the GOT register before use.
11691 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11692 calculation of ARGC > 4.
11694 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11695 meaningful names to some local labels.
11697 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11698 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11700 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11701 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11702 (__arch_compare_and_exchange_val_16_acq): Likewise.
11703 (__arch_compare_and_exchange_val_32_acq): Likewise.
11704 (atomic_exchange_and_add): Fix gUSA sequence.
11705 (atomic_add): Likewise.
11706 (atomic_add_negative): Likewise.
11707 (atomic_add_zero): Likewise.
11708 (atomic_bit_test_set): Likewise.
11710 2012-06-22 Andreas Schwab <schwab@redhat.com>
11713 * include/link.h (struct link_map): Add l_free_initfini.
11714 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11716 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11717 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11718 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11721 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11723 * configure.in: Use AC_LANG_SOURCE.
11724 * configure: Regenerate.
11726 2012-06-22 Roland McGrath <roland@hack.frob.com>
11728 * configure.in (libc_cv_localstatedir): New substituted variable.
11729 * configure: Regenerated.
11730 * config.make.in (localstatedir): New variable, substituted from
11731 libc_cv_localstatedir.
11732 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11733 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11734 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11735 * sysdeps/gnu/configure: Regenerated.
11737 2012-06-21 Jeff Law <law@redhat.com>
11740 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11741 free. Simplify list management for _LIBC case.
11743 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11746 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11747 Clear sign bit of 64-bit integer value before comparing against
11750 * sysdeps/mach/configure: Regenerated.
11752 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11755 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11757 2012-06-21 Jeff Law <law@redhat.com>
11760 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11761 uint16_t for elements in the "seen" array to avoid char overflows.
11762 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11763 * elf/dl-open.c (dl_open_worker): Likewise.
11765 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11767 * scripts/list-sources.sh: Scan PORTS for translations.
11768 * po/libc.pot: Regenerated.
11770 2012-06-21 Andreas Jaeger <aj@suse.de>
11773 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11775 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11776 * bits/byteswap-16.h (__bswap_16): Likewise.
11777 * bits/byteswap.h (__bswap_constant_16): Likewise.
11779 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11782 * sysdeps/i386/fpu_control.h: Removed.
11783 * sysdeps/x86_64/fpu_control.h: Moved to ...
11784 * sysdeps/x86/fpu_control.h: Here.
11786 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11787 (_FPU_SETCW): Likewise.
11789 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11792 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11793 * sysdeps/x86/fpu/bits/mathinline.h: This.
11794 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11798 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11799 functions if __x86_64__ is defined.
11801 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11803 * string/endian.h: Add !__ASSEMBLER__ condition for including
11804 conversion interfaces.
11806 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11810 of ABS(x) in calculating zero to negative powers other than odd
11812 * math/libm-test.inc (pow_test): Add more tests.
11814 2012-06-15 Andreas Jaeger <aj@suse.de>
11816 * manual/contrib.texi (Contributors): Update entry of Liubov
11817 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11820 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11822 * string/string.h: Add __wur to GNU version of strerror_r.
11824 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11827 * string/Makefile (tests): Add tst-strtok_r.
11828 * string/tst-strtok_r.c: New file.
11829 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11830 RAX_LP/RDX_LP on SAVE_PTR.
11832 2012-06-14 Roland McGrath <roland@hack.frob.com>
11834 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11836 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11838 * libm_test.inc (csqrt_test): Allow more spurious underflow
11840 (j0_test): Likewise.
11841 (j1_test): Likewise.
11842 (y0_test): Likewise.
11843 (y1_test): Likewise.
11845 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11847 * po/Makefile (libc.pot): Use UTF-8 charset.
11849 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11852 Suppress sign-conversion warning from FD_SET.
11853 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11854 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11855 not unsigned long int.
11856 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11858 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11862 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11863 __extern_always_inline instead of __extern_inline.
11864 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11865 (__signbit): Likewise.
11866 (__signbitl): Support C++ namespace.
11867 (lrintf): New inline function.
11869 (llrintf): Likewise.
11870 (llrint): Likewise.
11880 (floorf): Likewise.
11881 (nearbyint): Likewise.
11882 (nearbyintf): Likewise.
11884 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11886 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11887 non-default versions.
11889 2012-06-11 Roland McGrath <roland@hack.frob.com>
11892 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11894 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11896 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11897 (FE_UPWARD, FE_DOWNWARD): Don't define.
11898 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11903 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11904 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11906 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11908 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11910 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11911 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11913 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11916 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11917 * sysdeps/i386/fpu/Implies: New file.
11918 * sysdeps/x86_64/fpu/Implies: Likewise.
11919 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11920 * sysdeps/x86/fpu/bits/fenv.h: This.
11922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11925 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11928 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11929 character 0xffff that matches the last element of the
11932 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11937 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11940 values higher than 25.6283.
11942 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11945 subnormal exponent extraction and add some __builtin_expect.
11946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11947 Fix for subnormal mantissa calculation.
11949 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11951 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11952 cpu2 is -1 and errno is not ENOSYS.
11954 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11957 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11958 * sysdeps/x86/bits/string.h: This.
11959 * sysdeps/x86_64/bits/string.h: Removed.
11961 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11962 if not compiling for x86-64, but compiling for >= i486.
11964 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11965 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11967 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11968 New macro from Linux kernel 3.4.0.
11969 (FP_XSTATE_MAGIC2): Likewise.
11970 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11971 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11972 (struct _fpx_sw_bytes): New struct.
11973 (struct _xsave_hdr): Likewise.
11974 (struct _ymmh_state): Likewise.
11975 (struct _xstate): Likewise.
11977 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11978 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11979 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11980 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11981 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11982 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11984 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11985 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11986 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11987 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11988 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11989 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11991 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11994 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11995 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11996 (sysdep_headers): Include sys/platform/ppc.h.
11997 * sysdeps/powerpc/test-gettimebase.c: Test for
11998 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11999 * manual/Makefile (appendices): Include platform.texi.
12000 * manual/contrib.texi (Contributors): Update @node pointers.
12001 * manual/maint.texi (Maintenance): Likewise.
12002 (Platform): New node.
12003 * manual/platform.texi: New file. Document the new features.
12005 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12006 Jakub Jelinek <jakub@redhat.com>
12009 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12010 where __builtin_expect is unavailable.
12012 2012-06-03 David S. Miller <davem@davemloft.net>
12014 * stdlib/longlong.h: Updated from GCC.
12016 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12019 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12020 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12023 (GLIBC_2.16): Likewise.
12025 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12027 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12029 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12032 (default-abi): New variable.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12034 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12036 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12038 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12040 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12043 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12044 definition. Document in comment.
12046 2012-06-01 David S. Miller <davem@davemloft.net>
12048 * stdlib/longlong.h: Updated from GCC.
12050 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12053 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12054 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12055 sys/debugreg.h sys/io.h here.
12056 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12057 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12059 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12060 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12062 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12064 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12067 Define only if __x86_64__ is defined.
12069 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12073 Use int64_t for variable i.
12074 * math/libm-test.inc (fmod_test): Add more tests.
12076 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12077 z computation is not scheduled after fetestexcept.
12078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12079 Use math_force_eval instead of asm to ensure calculation scheduled
12080 before exception test.
12081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12082 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12084 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12087 computation is not scheduled after fetestexcept.
12089 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12092 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12093 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12095 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12097 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12098 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12100 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12103 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12105 (__WCHAR_MIN): Support __WORDSIZE == 64.
12106 (__WCHAR_MAX): Likewise.
12108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12113 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12116 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12119 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12120 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12122 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12123 Defined to 1 if __x86_64__ isn't defined.
12124 (_STAT_VER_LINUX_OLD): New.
12125 (st_atime): Remove duplicate.
12126 (st_mtime): Likewise.
12127 (st_ctime): Likewise.
12129 2012-05-31 David S. Miller <davem@davemloft.net>
12131 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12134 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12136 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12140 * elf/dl-reloc.c: Include <_itoa.h>.
12141 (_dl_reloc_bad_type): Remove use of INTUSE.
12142 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12143 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12144 * stdio-common/psiginfo.c (psiginfo): Likewise.
12145 * stdio-common/psignal.c (psignal): Likewise.
12146 * string/strsignal.c (strsignal): Likewise.
12147 * include/signal.h (_sys_siglist): Declare hidden proto.
12148 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12149 INTVARDEF with libc_hidden_data_def.
12150 * stdio-common/itoa-udigits.c: Likewise.
12151 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12152 (_itoa_lower_digits_internal): Remove declaration.
12153 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12154 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12155 (_sys_sigabbrev_internal): Remove aliases.
12156 (_sys_siglist): Define hidden alias.
12158 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12163 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12166 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12167 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12169 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12170 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12171 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12172 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12174 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12176 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12177 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12178 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12188 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12190 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12192 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12193 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12195 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12196 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12197 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12199 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12200 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12202 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12203 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12207 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12209 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12210 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12212 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12214 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12215 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12216 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12218 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12220 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12222 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12224 * math/math.h (M_El): Use two more decimal places.
12225 (M_LOG2El): Likewise.
12226 (M_LOG10El): Likewise.
12227 (M_LN2l): Likewise.
12228 (M_LN10l): Likewise.
12230 (M_PI_2l): Likewise.
12231 (M_PI_4l): Likewise.
12232 (M_1_PIl): Likewise.
12233 (M_2_PIl): Likewise.
12234 (M_2_SQRTPIl): Likewise.
12235 (M_SQRT2l): Likewise.
12236 (M_SQRT1_2l): Likewise.
12238 2012-05-31 David S. Miller <davem@davemloft.net>
12240 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12241 values between float registers.
12242 * sysdeps/sparc/sparc64/memset.S: Likewise.
12243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12245 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12247 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12248 -D_FORTIFY_SOURCE=1.
12249 (CPPFLAGS-tst-longjmp_chk.c): Define.
12250 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12251 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12252 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12253 CFLAGS-tst-wchar-h.c.
12255 2012-05-31 Marek Polacek <polacek@redhat.com>
12258 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12259 __endmntent_internal): Remove declaration.
12260 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12261 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12262 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12264 2012-05-30 David S. Miller <davem@davemloft.net>
12266 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12267 (___Q_simulate_exceptions): Use real FP ops rather than writing
12269 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12272 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12275 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12276 * sysdeps/x86/bits/xtitypes.h: This.
12278 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12279 * sysdeps/x86/bits/wordsize.h: This.
12281 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12282 * sysdeps/x86/bits/huge_vall.h: This.
12284 * sysdeps/i386/bits/select.h: Removed.
12285 * sysdeps/x86_64/bits/select.h: Renamed to ...
12286 * sysdeps/x86/bits/select.h: This.
12288 * sysdeps/i386/bits/setjmp.h: Removed.
12289 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12290 * sysdeps/x86/bits/setjmp.h: This.
12292 * sysdeps/i386/bits/mathdef.h: Removed.
12293 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12294 * sysdeps/x86/bits/mathdef.h: This.
12296 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12299 * include/sys/socket.h (__connect_internal)
12300 (__libc_sa_len_internal): Remove declaration.
12301 (__connect, __libc_sa_len): Declare hidden_proto.
12302 (SA_LEN): Remove use of INTUSE.
12303 * socket/connect.c: Add libc_hidden_def.
12304 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12305 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12306 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12308 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12310 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12311 of adding _internal alias.
12313 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12316 * sysdeps/i386/bits/link.h: Removed.
12317 * sysdeps/i386/bits/linkmap.h: Likewise.
12318 * sysdeps/x86_64/bits/link.h: Renamed to ...
12319 * sysdeps/x86/bits/link.h: This.
12320 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12321 * sysdeps/x86/bits/linkmap.h: This.
12323 * sysdeps/i386/bits/endian.h: Removed.
12324 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12325 * sysdeps/x86/bits/endian.h: This.
12327 * sysdeps/i386/bits/byteswap.h: Removed.
12328 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12329 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12330 * sysdeps/x86/bits/byteswap.h: This.
12331 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12332 * sysdeps/x86/bits/byteswap-16.h: This.
12333 * sysdeps/i386/Implies: Add x86.
12334 * sysdeps/x86_64/Implies: Likewise.
12336 2012-05-30 David S. Miller <davem@davemloft.net>
12338 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12339 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12340 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12341 (FP_TRAPPING_EXCEPTIONS): Define.
12342 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12343 (FP_TRAPPING_EXCEPTIONS): Define.
12344 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12345 subnormals only when inexact has been signalled or underflow
12346 exceptions are enabled.
12347 (_FP_PACK_CANONICAL): Likewise.
12349 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12353 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12355 2012-05-30 Richard Henderson <rth@twiddle.net>
12357 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12358 with #ifndef NOT_IN_libc.
12360 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12361 marked to avoid plt entry.
12363 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12366 * Makeconfig (default-abi): New macro.
12367 (abi-includes): Likewise.
12368 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12369 $(abi-$(default-abi)-lib-soname) for soname if defined.
12370 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12372 * Makefile (installed-stubs): Likewise.
12373 * include/stubs-biarch.h: Removed.
12374 * scripts/lib-names.awk: Only handle one library at a time.
12375 * scripts/soversions.awk: Remove WORDSIZE support.
12376 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12378 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12380 (syscall-list-default-condition): Likewise.
12381 (syscall-list-default-condition): Likewise.
12382 (syscall-list-includes): Likewise.
12383 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12384 syscall-list-* with abi-*. Handle undefined abi-variants.
12385 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12386 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12387 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12389 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12390 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12392 (syscall-list-32-options): Likewise.
12393 (syscall-list-32-condition): Likewise.
12394 (syscall-list-64-options): Likewise.
12395 (syscall-list-64-condition): Likewise.
12396 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12398 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12401 (abi-64-ld-soname): New macro.
12402 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12403 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12406 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12407 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12409 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/unix/sysv/linux/kernel-features.h
12412 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12413 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12414 include <kernel-features.h>.
12415 [!__NR_ftruncate64]: Remove conditional code.
12416 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12417 [__NR_ftruncate64]: Make code unconditional.
12418 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12419 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12420 include <kernel-features.h>.
12421 [!__NR_ftruncate64]: Remove conditional code.
12422 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12423 [__NR_ftruncate64]: Make code unconditional.
12424 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12426 include <kernel-features.h>.
12427 [!__NR_ftruncate64]: Remove conditional code.
12428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12429 [__NR_ftruncate64]: Make code unconditional.
12430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12432 include <kernel-features.h>.
12433 [!__NR_ftruncate64]: Remove conditional code.
12434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12435 [__NR_ftruncate64]: Make code unconditional.
12436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12438 * configure.in (libc_cv_fpie): Weaken to a compile test using
12439 LIBC_TRY_CC_OPTION.
12440 * configure: Regenerated.
12442 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12457 2012-05-27 David S. Miller <davem@davemloft.net>
12459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12461 (__Q_simulate_exceptions): Return void. Change to simulate
12462 exceptions by writing into the %fsr.
12463 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12464 (__Qp_handle_exceptions): Likewise.
12466 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12467 __Qp_handle_exceptions.
12468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12469 __Qp_handle_exceptions.
12470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12471 as unused and give dummy FP_RND_NEAREST initializer.
12472 (FP_INHIBIT_RESULTS): Define.
12473 (___Q_simulate_exceptions): Update declaration.
12474 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12477 as unused and give dummy FP_RND_NEAREST initializer.
12478 (__Qp_handle_exceptions): Update declaration.
12479 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12482 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12484 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12485 the temporary FPU control word.
12486 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12487 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12489 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12490 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12491 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12492 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12493 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12494 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12495 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12496 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12498 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12500 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12503 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12505 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12506 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12507 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12508 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12510 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12511 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12514 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12516 * po/h.po: Update from translation team.
12518 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12520 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12522 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12523 handling of denormals.
12524 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12525 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12526 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12527 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12528 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12533 2012-05-26 Marek Polacek <polacek@redhat.com>
12536 * math/libm-test.inc (fma_test): Don't always expect underflow
12539 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12542 * elf/tst-execstack.c: Include stackinfo.h.
12543 (do_test): Adjust test case to ensure that pthread_getattr_np
12544 behaviour remains the same after marking stack executable.
12546 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12548 * sysdeps/unix/sysv/linux/kernel-features.h
12549 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12550 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12552 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12553 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12554 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12556 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12557 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12559 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12561 * configure.in: Define the default includes to being none.
12562 * configure: Regenerated.
12564 2012-05-25 Roland McGrath <roland@hack.frob.com>
12566 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12567 * sysdeps/x86_64/setjmp.S: Likewise.
12568 * sysdeps/i386/bsd-setjmp.S: Likewise.
12569 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12570 * sysdeps/i386/setjmp.S: Likewise.
12571 * sysdeps/i386/__longjmp.S: Likewise.
12572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12573 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12575 * include/stap-probe.h: New file.
12576 * configure.in: Handle --enable-systemtap.
12577 * configure: Regenerated.
12578 * config.h.in (USE_STAP_PROBE): New #undef.
12579 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12580 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12581 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12583 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12587 to 2.4.0 where earlier.
12588 * sysdeps/unix/sysv/linux/configure: Regenerated.
12589 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12590 <kernel-features.h>.
12591 [__ASSUME_32BITUIDS]: Make code unconditional.
12592 [!__ASSUME_32BITUIDS]: Remove conditional code.
12593 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12594 <kernel-features.h>.
12595 [__ASSUME_32BITUIDS]: Make code unconditional.
12596 [!__ASSUME_32BITUIDS]: Remove conditional code.
12597 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12598 [__ASSUME_32BITUIDS]: Make code unconditional.
12599 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12600 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12601 <kernel-features.h>.
12602 [__ASSUME_32BITUIDS]: Make code unconditional.
12603 [!__ASSUME_32BITUIDS]: Remove conditional code.
12604 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12605 <kernel-features.h>.
12606 [__ASSUME_32BITUIDS]: Make code unconditional.
12607 [!__ASSUME_32BITUIDS]: Remove conditional code.
12608 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12609 <kernel-features.h>.
12610 [__ASSUME_32BITUIDS]: Make code unconditional.
12611 [!__ASSUME_32BITUIDS]: Remove conditional code.
12612 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12613 <kernel-features.h>.
12614 [__ASSUME_32BITUIDS]: Make code unconditional.
12615 [!__ASSUME_32BITUIDS]: Remove conditional code.
12616 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12617 <kernel-features.h>.
12618 [__ASSUME_32BITUIDS]: Make code unconditional.
12619 [!__ASSUME_32BITUIDS]: Remove conditional code.
12620 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12621 <kernel-features.h>.
12622 [__ASSUME_32BITUIDS]: Make code unconditional.
12623 [!__ASSUME_32BITUIDS]: Remove conditional code.
12624 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12625 <kernel-features.h>.
12626 [__ASSUME_32BITUIDS]: Make code unconditional.
12627 [!__ASSUME_32BITUIDS]: Remove conditional code.
12628 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12629 <kernel-features.h>.
12630 [__ASSUME_32BITUIDS]: Make code unconditional.
12631 [!__ASSUME_32BITUIDS]: Remove conditional code.
12632 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12633 <kernel-features.h>.
12634 [__ASSUME_32BITUIDS]: Make code unconditional.
12635 [!__ASSUME_32BITUIDS]: Remove conditional code.
12636 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12637 <kernel-features.h>.
12638 [__ASSUME_32BITUIDS]: Make code unconditional.
12639 [!__ASSUME_32BITUIDS]: Remove conditional code.
12640 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12641 <kernel-features.h>.
12642 [__NR_setresgid] (__setresgid): Do not declare.
12643 [__ASSUME_32BITUIDS]: Make code unconditional.
12644 [!__ASSUME_32BITUIDS]: Remove conditional code.
12645 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12646 <kernel-features.h>.
12647 [__NR_setresuid] (__setresuid): Do not declare.
12648 [__ASSUME_32BITUIDS]: Make code unconditional.
12649 [!__ASSUME_32BITUIDS]: Remove conditional code.
12650 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12651 <kernel-features.h>.
12652 [__ASSUME_32BITUIDS]: Make code unconditional.
12653 [!__ASSUME_32BITUIDS]: Remove conditional code.
12654 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12655 <kernel-features.h>.
12656 [__ASSUME_32BITUIDS]: Make code unconditional.
12657 [!__ASSUME_32BITUIDS]: Remove conditional code.
12658 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12659 <kernel-features.h>.
12660 [__ASSUME_32BITUIDS]: Make code unconditional.
12661 [!__ASSUME_32BITUIDS]: Remove conditional code.
12662 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12663 <kernel-features.h>.
12664 [__ASSUME_32BITUIDS]: Make code unconditional.
12665 [!__ASSUME_32BITUIDS]: Remove conditional code.
12666 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12667 <kernel-features.h>.
12668 [__ASSUME_32BITUIDS]: Make code unconditional.
12669 [!__ASSUME_32BITUIDS]: Remove conditional code.
12670 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12671 <kernel-features.h>.
12672 [__ASSUME_32BITUIDS]: Make code unconditional.
12673 [!__ASSUME_32BITUIDS]: Remove conditional code.
12674 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12675 <kernel-features.h>.
12676 [__ASSUME_32BITUIDS]: Make code unconditional.
12677 [!__ASSUME_32BITUIDS]: Remove conditional code.
12678 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12679 <kernel-features.h>.
12680 [__ASSUME_32BITUIDS]: Make code unconditional.
12681 [!__ASSUME_32BITUIDS]: Remove conditional code.
12682 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12683 <kernel-features.h>.
12684 [__ASSUME_32BITUIDS]: Make code unconditional.
12685 [!__ASSUME_32BITUIDS]: Remove conditional code.
12686 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12687 <kernel-features.h>.
12688 [__ASSUME_32BITUIDS]: Make code unconditional.
12689 [!__ASSUME_32BITUIDS]: Remove conditional code.
12690 * sysdeps/unix/sysv/linux/kernel-features.h
12691 (__ASSUME_SETRESUID_SYSCALL): Remove.
12692 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12693 (__ASSUME_32BITUIDS): Likewise.
12694 (__ASSUME_LDT_WORKS): Likewise.
12695 (__ASSUME_O_DIRECTORY): Likewise.
12696 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12697 architecture but not kernel version.
12698 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12699 (__ASSUME_MMAP2_SYSCALL): Likewise.
12700 (__ASSUME_STAT64_SYSCALL): Likewise.
12701 (__ASSUME_IPC64): Likewise.
12702 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12703 <kernel-features.h>.
12704 [__ASSUME_32BITUIDS]: Make code unconditional.
12705 [!__ASSUME_32BITUIDS]: Remove conditional code.
12706 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12707 <kernel-features.h>.
12708 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12709 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12710 132096]: Remove conditional code.
12711 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12713 <kernel-features.h>.
12714 [__ASSUME_32BITUIDS]: Make code unconditional.
12715 [!__ASSUME_32BITUIDS]: Remove conditional code.
12716 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12717 <kernel-features.h>.
12718 [__ASSUME_32BITUIDS]: Make code unconditional.
12719 [!__ASSUME_32BITUIDS]: Remove conditional code.
12720 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12721 <kernel-features.h>.
12722 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12724 (__setresgid): Do not declare.
12725 [__ASSUME_32BITUIDS]: Make code unconditional.
12726 [!__ASSUME_32BITUIDS]: Remove conditional code.
12727 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12728 <kernel-features.h>.
12729 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12731 (__setresuid): Do not declare.
12732 [__ASSUME_32BITUIDS]: Make code unconditional.
12733 [!__ASSUME_32BITUIDS]: Remove conditional code.
12734 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12735 <kernel-features.h>.
12736 [__ASSUME_32BITUIDS]: Make code unconditional.
12737 [!__ASSUME_32BITUIDS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12739 <kernel-features.h>.
12740 [__ASSUME_32BITUIDS]: Make code unconditional.
12741 [!__ASSUME_32BITUIDS]: Remove conditional code.
12743 2012-05-25 Richard Henderson <rth@twiddle.net>
12745 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12746 dl_hwcap to ifunc resolver.
12747 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12750 dl_hwcap to ifunc resolver.
12751 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12753 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12756 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12757 for |x| <= 2**-26, not 2**-57.
12758 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12761 2012-05-24 Jeff Law <law@redhat.com>
12763 * stdio-common/Makefile (tests): Add bug25.
12764 * stdio-common/bug25.c: New test.
12766 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12769 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12770 multiple of MALLOC_ALIGNMENT in size.
12771 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12773 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12775 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12777 (FILENAME_MAX): Use macro-int-constant.
12778 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12779 (_IOFBF): Use macro-int-constant.
12780 (_IOLBF): Likewise.
12781 (_IONBF): Likewise.
12782 (SEEK_CUR): Likewise.
12783 (SEEK_END): Likewise.
12784 (SEEK_SET): Likewise.
12785 (TMP_MAX): Likewise.
12786 (EOF): Use macro-int-constant. Require < 0.
12787 (NULL): Use macro-constant. Require == 0.
12788 (stdin): Require type to be FILE *.
12789 (stdout): Likewise.
12790 (stderr): Likewise.
12791 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12792 macro-int-constant.
12793 (EXIT_SUCCESS): Likewise.
12794 (NULL): Use macro-constant. Require == 0.
12795 (RAND_MAX): Use macro-int-constant.
12796 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12797 [C99-based standards] (strtof): Require function.
12798 [C99-based standards] (strtold): Likewise.
12799 [C99-based standards] (strtoll): Likewise.
12800 [C99-based standards] (strtoull): Likewise.
12801 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12802 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12803 [ISO || ISO99 || ISO11] (math.h): Likewise.
12804 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12805 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12808 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12811 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12812 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12813 * intl/dgettext.c (DCGETTEXT): Likewise.
12814 * intl/gettext.c (DCGETTEXT): Likewise.
12815 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12816 * posix/regex_internal.h (gettext): Likewise.
12817 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12818 Remove declaration.
12819 * include/argz.h (__argz_count_internal)
12820 (__argz_stringify_internal): Remove declaration.
12821 (__argz_count, __argz_stringify): Declare hidden proto.
12822 * intl/dcgettext.c: Remove use of INTDEF.
12823 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12824 * string/argz-stringify.c: Likewise.
12825 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12826 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12827 Declare hidden proto.
12828 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12829 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12830 Declare hidden proto.
12831 * include/stdio.h (__asprintf_internal): Don't declare.
12832 (__asprintf): Don't define as macro. Declare hidden proto.
12833 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12834 (__fsetlocking): Declare hidden proto.
12835 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12836 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12838 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12839 (_IO_setlinebuf): Remove use of INTUSE.
12840 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12841 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12842 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12843 Remove declaration.
12844 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12845 (_IO_do_flush): Remove use of INTUSE.
12846 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12847 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12848 (_IO_adjust_column, _IO_least_wmarker)
12849 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12850 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12851 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12852 (_IO_default_doallocate, _IO_wdefault_doallocate)
12853 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12854 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12855 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12856 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12857 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12858 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12859 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12860 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12861 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12862 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12863 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12864 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12865 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12867 (_IO_flush_all_internal, _IO_adjust_column_internal)
12868 (_IO_default_uflow_internal, _IO_default_finish_internal)
12869 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12870 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12871 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12872 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12873 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12874 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12875 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12876 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12877 (_IO_file_close_internal, _IO_file_close_it_internal)
12878 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12879 (_IO_file_init_internal, _IO_file_attach_internal)
12880 (_IO_file_fopen_internal, _IO_file_read_internal)
12881 (_IO_file_sync_internal, _IO_file_seek_internal)
12882 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12883 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12884 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12885 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12886 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12887 (_IO_list_all_internal, _IO_link_in_internal)
12888 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12889 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12890 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12891 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12892 (_IO_do_write_internal, _IO_padn_internal)
12893 (_IO_getline_info_internal, _IO_getline_internal)
12894 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12895 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12896 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12897 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12898 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12899 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12900 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12901 with libc_hidden_ver, remove use of INTUSE.
12902 * libio/genops.c: Likewise.
12903 * libio/freopen.c: Likewise.
12904 * libio/freopen64.c: Likewise.
12905 * libio/iofclose.c: Likewise.
12906 * libio/iofdopen.c: Likewise.
12907 * libio/iofflush.c: Likewise.
12908 * libio/iofflush_u.c: Likewise.
12909 * libio/iofgets.c: Likewise.
12910 * libio/iofgets_u.c: Likewise.
12911 * libio/iofopen.c: Likewise.
12912 * libio/iofopncook.c: Likewise.
12913 * libio/iofread.c: Likewise.
12914 * libio/iofread_u.c: Likewise.
12915 * libio/ioftell.c: Likewise.
12916 * libio/iofwrite.c: Likewise.
12917 * libio/iogetline.c: Likewise.
12918 * libio/iogets.c: Likewise.
12919 * libio/iogetwline.c: Likewise.
12920 * libio/iopadn.c: Likewise.
12921 * libio/iopopen.c: Likewise.
12922 * libio/ioseekoff.c: Likewise.
12923 * libio/ioseekpos.c: Likewise.
12924 * libio/iosetbuffer.c: Likewise.
12925 * libio/iosetvbuf.c: Likewise.
12926 * libio/ioungetc.c: Likewise.
12927 * libio/ioungetwc.c: Likewise.
12928 * libio/iovdprintf.c: Likewise.
12929 * libio/iovsprintf.c: Likewise.
12930 * libio/iovsscanf.c: Likewise.
12931 * libio/memstream.c: Likewise.
12932 * libio/obprintf.c: Likewise.
12933 * libio/oldfileops.c: Likewise.
12934 * libio/oldiofclose.c: Likewise.
12935 * libio/oldiofdopen.c: Likewise.
12936 * libio/oldiofopen.c: Likewise.
12937 * libio/oldiopopen.c: Likewise.
12938 * libio/oldstdfiles.c: Likewise.
12939 * libio/putc.c: Likewise.
12940 * libio/setbuf.c: Likewise.
12941 * libio/setlinebuf.c: Likewise.
12942 * libio/stdfiles.c: Likewise.
12943 * libio/strops.c: Likewise.
12944 * libio/vasprintf.c: Likewise.
12945 * libio/vscanf.c: Likewise.
12946 * libio/vsnprintf.c: Likewise.
12947 * libio/vswprintf.c: Likewise.
12948 * libio/wfiledoalloc.c: Likewise.
12949 * libio/wfileops.c: Likewise.
12950 * libio/wgenops.c: Likewise.
12951 * libio/wmemstream.c: Likewise.
12952 * libio/wstrops.c: Likewise.
12953 * libio/__fpurge.c: Likewise.
12954 * libio/__fsetlocking.c: Likewise.
12955 * assert/assert.c: Likewise.
12956 * debug/fgets_chk.c: Likewise.
12957 * debug/fgets_u_chk.c: Likewise.
12958 * debug/fread_chk.c: Likewise.
12959 * debug/fread_u_chk.c: Likewise.
12960 * debug/gets_chk.c: Likewise.
12961 * debug/obprintf_chk.c: Likewise.
12962 * debug/vasprintf_chk.c: Likewise.
12963 * debug/vdprintf_chk.c: Likewise.
12964 * debug/vsnprintf_chk.c: Likewise.
12965 * debug/vsprintf_chk.c: Likewise.
12966 * malloc/mtrace.c: Likewise.
12967 * misc/error.c: Likewise.
12968 * misc/syslog.c: Likewise.
12969 * stdio-common/asprintf.c: Likewise.
12970 * stdio-common/fxprintf.c: Likewise.
12971 * stdio-common/getw.c: Likewise.
12972 * stdio-common/isoc99_fscanf.c: Likewise.
12973 * stdio-common/isoc99_scanf.c: Likewise.
12974 * stdio-common/isoc99_vfscanf.c: Likewise.
12975 * stdio-common/isoc99_vscanf.c: Likewise.
12976 * stdio-common/isoc99_vsscanf.c: Likewise.
12977 * stdio-common/printf-prs.c: Likewise.
12978 * stdio-common/printf_fp.c: Likewise.
12979 * stdio-common/printf_fphex.c: Likewise.
12980 * stdio-common/printf_size.c: Likewise.
12981 * stdio-common/putw.c: Likewise.
12982 * stdio-common/scanf.c: Likewise.
12983 * stdio-common/sprintf.c: Likewise.
12984 * stdio-common/tmpfile.c: Likewise.
12985 * stdio-common/vfprintf.c: Likewise.
12986 * stdio-common/vfscanf.c: Likewise.
12987 * stdlib/strfmon_l.c: Likewise.
12988 * sunrpc/openchild.c: Likewise.
12989 * sunrpc/xdr_stdio.c: Likewise.
12990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12991 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12993 2012-05-24 Roland McGrath <roland@hack.frob.com>
12995 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12997 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12998 in the third column, to generate for the shared library an IFUNC
12999 that uses _dl_vdso_vsym.
13000 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13001 * Makeconfig (object-suffixes-noshared): New variable.
13003 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13004 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13005 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13006 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13009 * include/sys/time.h (__gettimeofday): Remove macro.
13010 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13011 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13013 (__gettimeofday): Add libc_hidden_def.
13014 (gettimeofday): Add libc_hidden_weak.
13015 * sysdeps/mach/gettimeofday.c: Likewise.
13016 * sysdeps/posix/gettimeofday.c: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13018 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13020 (__gettimeofday_internal): Remove strong_alias.
13021 (__gettimeofday): Add libc_hidden_def.
13022 (gettimeofday): Add libc_hidden_weak.
13023 * sysdeps/unix/syscalls.list (gettimeofday):
13024 Remove __gettimeofday_internal alias.
13026 2012-05-24 Daniel Jacobowitz <drow@false.org>
13027 H.J. Lu <hongjiu.lu@intel.com>
13030 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13031 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13032 (largebin_index_32_big): New.
13033 (largebin_index): Use it for 16-byte alignment.
13034 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13035 correction with front_misalign.
13037 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13065 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13066 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13068 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13072 * math/libm-test.inc (exp_test): Add test from bug 14036.
13073 (pow_test): Add test from bug 10846.
13075 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13077 (special_function): Do not include flags in test name.
13078 (parse_args): Likewise.
13079 * sysdeps/i386/fpu/libm-test-ulps: Update.
13080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13082 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13085 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13087 * math/libm-test.inc ("Philosophy"): Update comment about
13089 (UNDERFLOW_EXCEPTION): New macro.
13090 (UNDERFLOW_EXCEPTION_OK): Likewise.
13091 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13092 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13093 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13094 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13095 (INVALID_EXCEPTION_OK): Update value.
13096 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13097 (OVERFLOW_EXCEPTION_OK): Likewise.
13098 (IGNORE_ZERO_INF_SIGN): Likewise.
13099 (test_exceptions): Handle underflow exceptions.
13100 (acos_test): Update for underflow exception expectations.
13101 (cexp_test): Likewise.
13102 (clog_test): Likewise.
13103 (clog10_test): Likewise.
13104 (csqrt_test): Likewise.
13105 (ctan_test): Likewise.
13106 (ctanh_test): Likewise.
13107 (exp_test): Likewise.
13108 (exp10_test): Likewise.
13109 (exp2_test): Likewise.
13110 (expm1_test): Likewise.
13111 (fma_test): Likewise.
13112 (j0_test): Likewise.
13113 (jn_test): Likewise.
13114 (nexttoward_test): Likewise.
13115 (pow_test): Likewise.
13116 (scalbn_test): Likewise.
13117 (scalbln_test): Likewise.
13118 (tan_test): Likewise.
13119 (y1_test): Likewise.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 2012-05-23 David S. Miller <davem@davemloft.net>
13125 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13126 (__libc_sigaction): Remove unused local variables.
13128 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13130 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13132 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13134 mktime: avoid signed integer overflow
13135 * time/mktime.c (__mktime_internal): Do not mishandle the case
13136 where diff == INT_MIN.
13138 mktime: simplify computation of average
13139 * time/mktime.c (ranged_convert): Use new time_t_avg function
13140 instead of rolling our own (probably-slower) code.
13142 mktime: do not assume signed right shift propagates sign bit
13143 * time/mktime.c (isdst_differ): New static function.
13144 (__mktime_internal): No need to normalize tm_isdst now.
13145 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13148 mktime: merge another wrapv change from gnulib
13149 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13150 from some compilers.
13152 mktime: remove incorrect attempt at unusual arithmetics
13153 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13154 The code didn't really work on such machines anyway.
13155 (TYPE_MINIMUM): Assume two's complement.
13156 (twos_complement_arithmetic): Verify that long_int and time_t
13157 are two's complement (or unsigned, in the latter case).
13159 mktime: check signed shifts on long_int and time_t, too
13160 * time/mktime.c (SHR): Check that shifts work as desired
13161 on the types long_int and time_t too, as SHR is used on
13164 mktime: do not assume 'long' is wide enough
13165 * time/mktime.c (verify): Move decl up.
13166 (long_int): New type.
13167 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13168 to remove assumption in the code that 'long' is wide enough to
13169 store year values. This assumption is not true on x32 and on
13170 some non-glibc platforms.
13172 mktime: merge wrapv change from gnulib
13173 * time/mktime.c (WRAPV): New macro.
13174 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13175 (guess_time_tm, __mktime_internal): Do not assume that signed
13176 integer overflow wraps around; modern compilers generate code
13177 where this assumption is no longer valid.
13179 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13182 Replace "jmp L(pseudo_end)" with "ret".
13183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13186 2012-05-23 Andreas Jaeger <aj@suse.de>
13188 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13189 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13191 2012-05-23 Andreas Jaeger <aj@suse.de>
13192 Maximilian Attems <max@stro.at>
13194 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13197 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13199 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13200 code so that pseudo_end is just ret and the stack pointer is
13201 correct also for static library in error case.
13203 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13205 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13206 move to syscalls.list.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13212 * manual/install.texi (Running make install): Do not mention Linux
13213 kernel version for which pt_chown is not needed.
13214 (Linux): Do not mention problems with nscd with 2.0 kernels.
13215 * INSTALL: Regenerated.
13217 2012-05-23 Andreas Jaeger <aj@suse.de>
13219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13220 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13222 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13224 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13225 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13226 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13232 * sysdeps/unix/sysv/linux/bits/in.h
13233 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13235 2012-05-22 Roland McGrath <roland@hack.frob.com>
13237 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13238 (PREPARE_VERSION): Just use assert instead, it will be elided
13239 under [NDEBUG] anyway.
13241 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13243 * sysdeps/unix/sysv/linux/Makefile: Include
13244 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13245 (sysdep_routines): Remove sysctl.
13246 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13247 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13250 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13252 2012-05-22 Andreas Jaeger <aj@suse.de>
13254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13255 that pseudo_end is just ret and the stack pointer is correct also
13256 for static library in error case.
13258 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13261 * nss/nsswitch.c (defconfig_entries): New variable.
13262 (__nss_database_lookup): Don't leak defconfig entries.
13263 (nss_parse_service_list): Don't leak on error paths.
13264 (free_database_entries): New function.
13265 (free_defconfig): New function.
13266 (free_mem): Move common code to free_database_entries.
13268 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13272 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13274 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13275 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13278 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13279 (INTERNAL_SYSCALL_TYPES): Likewise.
13280 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13281 (LOAD_REGS_TYPES_[1-6]): Likewise.
13282 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13283 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13285 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13287 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13288 copysignl for GLIBC_2_0.
13289 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13290 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13292 logbl for GLIBC_2_0.
13293 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13294 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13296 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13301 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13304 * time/mktime.c: Update copyright years.
13306 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13308 mktime: merge comment-quoting-style change from gnulib
13309 * time/mktime.c: Quote 'like this' in comments.
13310 The GNU coding standards suggest that we no longer quote `like this',
13311 as "`" and "'" are typically rendered asymmetrically nowadays.
13312 The typical gnulib style is to quote 'like this' when quoting
13313 code, and "like this" when quoting English.
13315 * time/mktime.c (compile-command): Add "-I.".
13317 mktime: merge mktime-internal.h change from gnulib
13318 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13320 mktime: merge time_r change from gnulib
13321 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13323 mktime: merge DEBUG change from gnulib
13324 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13325 case system <time.h> has a #define.
13327 mktime: merge <sys/types.h> change from gnulib
13328 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13329 since <time.t> is now guaranteed to define time_t.
13331 mktime: merge HAVE_CONFIG_H change from gnulib
13332 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13334 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13339 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13341 (struct rusage): Use anonymous union to pad each field to
13344 2012-05-21 David S. Miller <davem@davemloft.net>
13346 * Makefules (o-iterator): Remove .s cases.
13347 (compile-command.s): Delete.
13348 (COMPILE.s): Delete.
13349 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13351 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13353 * configure.in (libc_cv_predef_stack_protector): Only consider
13354 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13355 * configure: Regenerated.
13357 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13360 New macro. Use R*LP on int and pointer.
13361 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13366 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13367 [__WORDSIZE_TIME64_COMPAT32] instead of
13368 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13369 (struct utmp): Likewise.
13370 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13371 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13373 (__WORDSIZE_TIME64_COMPAT32): This.
13374 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13375 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13376 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13378 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13379 (__WORDSIZE_TIME64_COMPAT32): New macro.
13381 2012-05-21 Andreas Jaeger <aj@suse.de>
13383 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13384 only if [SHARED]. Add prototype for __wcschr_ia32.
13386 2012-05-21 Roland McGrath <roland@hack.frob.com>
13388 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13389 of %rbp unmolested in the jmp_buf while mangling the low bits.
13390 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13391 unmolested high bits of %rbp while demangling the low bits.
13392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13394 2012-05-21 Andreas Jaeger <aj@suse.de>
13396 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13397 * sunrpc/svc_simple.c: Use it for registerrpc.
13398 * sunrpc/xcrypt.c: Use it for passwd2des.
13400 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13402 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13404 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13405 Don't define if [__SYSCALL_WORDSIZE != 32].
13406 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13409 2012-05-21 Bruno Haible <bruno@clisp.org>
13410 Andreas Jaeger <aj@suse.de>
13412 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13413 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13414 inptr and inend for must_buffer_ch.
13415 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13416 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13417 * stdio-common/Makefile (tests): Remove bug15.
13418 (bug15-ENV): Remove macro.
13419 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13422 2012-05-19 Andreas Jaeger <aj@suse.de>
13423 Roland McGrath <roland@hack.frob.com>
13425 * manual/contrib.texi: Completely rewritten. It contains now an
13426 alphabetical list of contributors and their contributions.
13428 2012-05-21 Richard Henderson <rth@twiddle.net>
13430 * misc/getauxval.c (__getauxval): Use unsigned long int.
13431 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13432 (getauxval): Use unsigned long int.
13434 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13436 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13438 2012-05-21 Roland McGrath <roland@hack.frob.com>
13440 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13441 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13442 __alignof__ (long double).
13444 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13448 2012-05-20 Richard Henderson <rth@twiddle.net>
13450 * misc/getauxval.c: New file.
13451 * misc/sys/auxv.h: New file.
13452 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13453 (routines): Add getauxval.
13454 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13455 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13456 * elf/dl-sysdep.c (_dl_auxv): Remove.
13457 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13458 * elf/dl-support.c (_dl_auxv): New variable.
13459 (_dl_aux_init): Initialize it.
13460 * manual/startup.texi (Auxiliary Vector): New node.
13461 * sysdeps/generic/bits/hwcap.h: New file.
13462 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13463 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13464 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13465 * sysdeps/sparc/sysdep.h: ... here. Include it.
13466 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13479 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13483 2012-05-19 David S. Miller <davem@davemloft.net>
13485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13487 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13490 * math/s_ccosh.c: Include <float.h>
13491 (__ccosh): Avoid internal overflow calculating sinh and cosh
13492 values before multiplying by sin and cos values.
13493 * math/s_ccoshf.c: Likewise.
13494 * math/s_ccoshl.c: Likewise.
13495 * math/s_csin.c: Likewise.
13496 * math/s_csinf.c: Likewise.
13497 * math/s_csinl.c: Likewise.
13498 * math/s_csinh.c: Likewise.
13499 * math/s_csinhf.c: Likewise.
13500 * math/s_csinhl.c: Likewise.
13501 * math/libm-test.inc (ccos_test): Add more tests.
13502 (ccosh_test): Likewise.
13503 (csin_test): Likewise.
13504 (csinh_test): Likewise.
13505 * sysdeps/i386/fpu/libm-test-ulps: Update.
13506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13508 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13510 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13511 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13513 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13515 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13517 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13518 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13519 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13520 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13521 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13522 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13523 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13524 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13525 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13526 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13527 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13528 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13529 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13530 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13531 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13532 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13533 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13534 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13535 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13536 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13537 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13538 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13539 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13540 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13541 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13542 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13543 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13544 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13545 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13546 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13547 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13549 2012-05-18 Andreas Jaeger <aj@suse.de>
13551 * csu/.gitignore: Delete.
13553 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13555 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13556 (timex): Use __syscall_slong_t.
13558 2012-05-18 Andreas Jaeger <aj@suse.de>
13559 Carlos O'Donell <carlos_odonell@mentor.com>
13561 * manual/install.texi (Configuring and compiling): Update
13562 description about files modified in the source directory.
13563 * INSTALL: Regenerated.
13565 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13567 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13568 value. Use "or" to set return value to -1.
13569 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13570 negate return value.
13572 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13574 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13575 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13576 failure if the compiler has Graphite support disabled.
13577 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13579 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13580 CFLAGS-memmove.c): Likewise.
13581 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13584 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13586 * sysdeps/x86_64/x32/_itoa.h: New file.
13588 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13589 getdents system call only if kernel and user dirents have the
13590 same d_ino and d_off.
13592 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13593 LLONG_MAX != LONG_MAX.
13594 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13595 (_fitoa_word): Likewise.
13597 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13599 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13600 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13601 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13603 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13604 include <bits/wordsize.h>. Check __x86_64__ instead of
13606 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13607 if __x86_64__ is defined. Use anonymous union on fpstate.
13609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13612 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13614 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13615 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13616 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13617 Refer to _rtld_local_ro instead of _rtld_global_ro.
13618 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13620 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13622 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13624 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13625 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13626 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13628 * sysdeps/powerpc/powerpc32/dl-machine.c
13629 (__elf_machine_runtime_setup) [PROF]: Don't reference
13632 2012-05-18 Andreas Jaeger <aj@suse.de>
13634 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13635 function only available for GCCs before 3.4 since GCC 3.4
13636 introduced a builtin.
13638 (llrintf): Likewise.
13639 (llrint): Likewise.
13646 (nearbyint): Likewise.
13647 (nearbyintf): Likewise.
13651 (floorf): Likewise.
13653 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13655 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13656 on both fields and cast pointer to __syscall_ulong_t.
13658 * bits/types.h (__fsword_t): New type.
13659 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13660 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13662 (__FSWORD_T_TYPE): Likewise.
13663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13664 (__FSWORD_T_TYPE): Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13666 (__FSWORD_T_TYPE): Likewise.
13667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13668 (__FSWORD_T_TYPE): Likewise.
13669 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13670 __SWORD_TYPE with __fsword_t.
13671 (statfs64): Likewise.
13673 2012-05-17 David S. Miller <davem@davemloft.net>
13675 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13677 2012-05-17 Andreas Jaeger <aj@suse.de>
13679 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13682 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13684 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13686 2012-05-17 Andreas Jaeger <aj@suse.de>
13688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13691 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13693 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13695 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13698 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13700 2012-05-17 Andreas Jaeger <aj@suse.de>
13701 Carlos O'Donell <carlos_odonell@mentor.com>
13704 * sysdeps/x86_64/multiarch/init-arch.h
13705 (bit_YMM_Usable): Rename to...
13706 (bit_AVX_Usable): ... this.
13707 (bit_FMA4_Usable): New macro.
13708 (bit_XMM_state): New macro.
13709 (bit_YMM_state): New macro.
13710 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13711 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13712 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13713 (CPUID_OSXSAVE): New macro.
13714 (CPUID_AVX): New macro.
13715 (CPUID_FMA4): New macro.
13716 (index_YMM_Usable): Rename to...
13717 (index_AVX_Usable): ... this.
13718 (HAS_AVX): Use HAS_ARCH_FEATURE.
13719 (HAS_FMA4): Likewise.
13720 (HAS_YMM_USABLE): Remove.
13721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13722 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13724 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13725 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13726 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13727 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13728 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13730 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13732 * math/libm-test.c: Support platforms without multiple rounding modes.
13733 * math/bug-nextafter.c: Support platforms without FP exceptions.
13734 * math/bug-nexttoward.c: Likewise.
13735 * math/test-fenv.c: Likewise.
13736 * math/test-misc.c: Likewise.
13737 * stdlib/bug-getcontext.c: Likewise.
13739 2012-05-17 Andreas Jaeger <aj@suse.de>
13741 * manual/examples/search.c (critter_cmp): Change signature to
13743 * manual/string.texi (Collation Functions): Likewise.
13745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13747 * bits/types.h: Fold copyright years.
13748 * bits/typesizes.h: Likewise.
13749 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13753 * time/time.h: Likewise.
13755 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13758 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13759 in instead of returning them. Return void.
13760 (__libc_mallinfo): Accumulate over all arenas.
13761 (__malloc_stats): Adjust for change in int_mallinfo interface.
13763 2012-05-16 Roland McGrath <roland@hack.frob.com>
13766 * configure.in (NM): Add AC_CHECK_TOOL for it.
13767 (libc_extra_cflags): New substituted variable.
13768 Check for -fstack-protector being used implicitly.
13769 * configure: Regenerated.
13770 * config.make.in (config-extra-cflags): New variable,
13771 gets @libc_extra_cflags@.
13772 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13775 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13776 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13777 * configure: Regenerated.
13778 * config.make.in (CPPUNDEFS): New substituted variable.
13779 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13780 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13781 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13785 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13786 (mq_attr): Use __syscall_slong_t.
13788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13790 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13791 Check __x86_64__ instead of __WORDSIZE.
13792 (_STAT_VER_LINUX): Likewise.
13793 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13794 __syscall_ulong_t and __syscall_slong_t.
13795 (stat64): Likewise.
13797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13803 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13807 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13810 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13811 include <bits/wordsize.h>. Check __x86_64__ instead of
13813 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13815 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13818 include <bits/wordsize.h>. Check __x86_64__ instead of
13820 (user_regs_struct): Use "__extension__ unsigned long long"
13821 instead of "unsigned long" if __x86_64__ is defined.
13822 (user): Likewise. Pad after pointer field if __ILP32__ is
13825 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13827 * configure.in (makeinfo): Require version 4.5 or later. Allow
13829 * configure: Regenerated.
13830 * manual/install.texi (texinfo): Increase version requirement to
13832 * INSTALL: Regenerated.
13834 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13836 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13838 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13840 * sysdeps/x86_64/x32/ffs.c: New file.
13842 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13844 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13845 defined. Use __syscall_ulong_t.
13846 (shminfo): Use __syscall_ulong_t.
13847 (shm_info): Likewise.
13849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13852 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13854 (msgqnum_t): Use __syscall_ulong_t.
13855 (msglen_t): Likewise.
13856 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13859 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13860 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13862 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13864 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13865 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13867 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13870 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13871 include <bits/wordsize.h>. Check __x86_64__ instead of
13874 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13875 "unsigned long long int" if __x86_64__ is defined.
13876 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13878 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13879 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13880 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13882 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13884 (GET_PC): Cast to uintptr_t first.
13885 (GET_FRAME): Likewise.
13886 (GET_STACK): Likewise.
13888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13889 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13893 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13896 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13897 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13898 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13900 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13903 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13904 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13908 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13909 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13910 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13911 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13914 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13918 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13920 * Makerules (+depfiles): Also collect depfiles from .oS in
13922 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13923 .oS, $(libnldbl-routines)).
13925 * Makerules (native-compile-mkdep-flags): Define.
13926 * sunrpc/Makefile (extra-objs): Add $(addprefix
13927 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13928 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13929 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13930 calling $(make-target-directory).
13932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13934 * bits/types.h (__snseconds_t): Removed.
13935 * time/time.h (struct timespec): Replace __snseconds_t with
13937 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13938 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13941 (__SNSECONDS_T_TYPE): Likewise.
13942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13943 (__SNSECONDS_T_TYPE): Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13945 (__SNSECONDS_T_TYPE): Likewise.
13947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13949 * sysdeps/mach/hurd/bits/typesizes.h
13950 (__SYSCALL_SLONG_TYPE): New macro.
13951 (__SYSCALL_ULONG_TYPE): Likewise.
13953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13955 * bits/types.h (__syscall_slong_t): New type.
13956 (__syscall_ulong_t): Likewise.
13958 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13959 (__SYSCALL_ULONG_TYPE): Likewise.
13960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13961 (__SYSCALL_SLONG_TYPE): Likewise.
13962 (__SYSCALL_ULONG_TYPE): Likewise.
13963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13964 (__SYSCALL_SLONG_TYPE): Likewise.
13965 (__SYSCALL_ULONG_TYPE): Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13967 (__SYSCALL_SLONG_TYPE): Likewise.
13968 (__SYSCALL_ULONG_TYPE): Likewise.
13970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13972 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13973 Add sigaltstack-offsets.sym.
13974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13975 <sigaltstack-offsets.h>.
13976 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13977 longjmp_msg pointer.
13978 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13979 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13981 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13983 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13985 * elf/stackguard-macros.h: Remove file.
13986 * sysdeps/generic/stackguard-macros.h: New file.
13987 * sysdeps/i386/stackguard-macros.h: Likewise.
13988 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13989 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13990 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13991 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13992 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13993 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13994 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13995 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13996 <elf/stackguard-macros.h>.
13999 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14000 __aligned__ in attribute.
14001 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14002 (gregset_t): Likewise.
14004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14006 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14007 * sysdeps/x86_64/64/Implies-after: Here. New file.
14008 * sysdeps/x86_64/x32/Implies-after: New file.
14010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14012 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14013 and access return value for _dl_profile_fixup. Use R10_LP to
14016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14022 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14023 * sysdeps/x86_64/x32/sysdep.h: New file.
14025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14027 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14028 * sysdeps/x86_64/setjmp.S: Likewise.
14030 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14034 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14035 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14036 remove unused global constant.
14038 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14040 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14041 include of <not-cancel.h>.
14043 2012-05-15 Roland McGrath <roland@hack.frob.com>
14045 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14047 2012-05-15 Jeff Law <law@redhat.com>
14048 Andreas Jaeger <aj@suse.de>
14051 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14053 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14054 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14055 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14056 code changing __hst_map_handle.map.
14058 2012-05-15 Roland McGrath <roland@hack.frob.com>
14060 * configure.in (sysnames): Look for Implies-before and Implies-after
14062 * configure: Regenerated.
14064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14067 8-byte data alignment with LP_SIZE alignment.
14069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14071 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14076 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14080 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14081 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14082 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14088 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14089 (stackinfo_sub_sp): Likewise.
14091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14108 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14112 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14113 into R11_LP and load __x86_64_shared_cache_size_half into
14116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14118 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14121 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14130 powerpc32/power7/fpu/s_logb.c via #include.
14131 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14132 powerpc32/power7/fpu/s_logbf.c via #include.
14133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14134 powerpc32/power7/fpu/s_logbl.c via #include.
14136 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14138 * README.libm: Remove file.
14140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14142 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14143 count for x32. Use R*_LP and omit operand-size suffix.
14145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14147 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14148 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14149 * sysdeps/x86_64/x32/shlib-versions: New file.
14151 2012-05-14 Roland McGrath <roland@hack.frob.com>
14153 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14154 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14155 Use _dl_fatal_printf instead.
14157 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14159 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14160 set if not set by the user. Do not allow for being unset.
14161 * sysdeps/unix/sysv/linux/configure: Regenerated.
14163 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14165 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14166 the `q' suffix from lea and replace .quad with ASM_ADDR.
14168 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14171 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14173 (PTR_DEMANGLE): Likewise.
14175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14177 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14179 (ASM_ADDR): Likewise.
14180 (RAX_LP): Likewise.
14181 (RBP_LP): Likewise.
14182 (RBX_LP): Likewise.
14183 (RCX_LP): Likewise.
14184 (RDI_LP): Likewise.
14185 (RSI_LP): Likewise.
14186 (RSP_LP): Likewise.
14189 (R10_LP): Likewise.
14190 (R10_LP): Likewise.
14191 (R11_LP): Likewise.
14192 (R12_LP): Likewise.
14193 (R13_LP): Likewise.
14194 (R14_LP): Likewise.
14195 (R15_LP): Likewise.
14197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14199 * sysdeps/x86_64/x32/dl-machine.h: New file.
14201 2012-05-14 Andreas Jaeger <aj@suse.de>
14203 * manual/Makefile (subdir): Remove export of subdir.
14204 (all): Remove target.
14205 (.PHONY): Remove all from list.
14206 (mkinstalldirs): Remove.
14207 (.PHONY): Remove installdirs from list.
14208 ($(inst_infodir)/libc.info): Use make-target-directory.
14209 (installdirs): Remove.
14210 (subdir_%): Remove.
14211 (glibc-targets): Remove.
14214 ($(objpfx)stubs ../po/manual.pot): Remove.
14215 ($(objpfx)stamp%): Remove.
14216 (make-target-directory): Remove.
14217 (subdir_install): Remove.
14218 (routines): Remove.
14225 * manual/.gitignore: Remove, it's not needed anymore.
14226 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14228 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14230 (texis): Renamed to $(objpfx)texis.
14231 (texis-path): New, contains path to generated files.
14232 (chapters.%): Use texis-path for complete path, add extra argument
14234 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14235 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14236 (summary,texi, stamp-summary): Use complete path of
14237 files. Generate files in build dir.
14238 (dir-add.texi): Build in build dir.
14239 (libm-err.texi,stamp-libm-err): Likewise.
14240 (version.texi, stamp-version): Likewise.
14241 (.%c.texi): Likewise.
14242 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14243 (mostlyclean): Remove target.
14244 (realclean): Remove target.
14245 (generated): Add new variable with contents from mostlyclean and
14246 realclean, remove entries duplicated in common-mostlyclean, add
14247 stamp-libm-err and stamp-version.
14248 (generated-dirs): Add libc directory.
14249 ($(inst_infodir)/libc.info): Install files from build dir.
14251 * manual/install.texi (Configuring and compiling): Adjust since
14252 the info files are not part of the tar ball anymore.
14254 2012-05-14 Andreas Jaeger <aj@suse.de>
14256 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14259 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14263 to 2.2.0 where earlier.
14264 * sysdeps/unix/sysv/linux/configure: Regenerated.
14265 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14266 Remove conditional code.
14267 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14268 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14269 Remove conditional code.
14270 [!__NR_lchown]: Likewise.
14271 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14272 [__NR_lchown]: Likewise.
14273 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14274 comment referencing __ASSUME_LCHOWN_SYSCALL.
14275 * sysdeps/unix/sysv/linux/i386/sigaction.c
14276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14278 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14279 Remove conditional code.
14280 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14281 (__protocol_available): Remove #if 0 code.
14282 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14284 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14285 * sysdeps/unix/sysv/linux/kernel-features.h
14286 (__ASSUME_GETCWD_SYSCALL): Don't define.
14287 (__ASSUME_REALTIME_SIGNALS): Likewise.
14288 (__ASSUME_PREAD_SYSCALL): Likewise.
14289 (__ASSUME_PWRITE_SYSCALL): Likewise.
14290 (__ASSUME_POLL_SYSCALL): Likewise.
14291 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14292 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14294 (__ASSUME_SIOCGIFNAME): Don't define.
14295 (__ASSUME_MSG_NOSIGNAL): Likewise.
14296 (__ASSUME_SENDFILE): Define unconditionally.
14297 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14298 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14300 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14301 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14302 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14303 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14304 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14305 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14306 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14308 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14311 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14323 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14331 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14332 Remove conditional code.
14333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14334 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14335 Remove conditional code.
14336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14337 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14338 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14339 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14340 Remove conditional code.
14341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14342 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14343 Remove conditional code.
14344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14345 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14346 Remove conditional code.
14347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14348 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14349 Remove conditional code.
14350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14351 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14352 Remove conditional code.
14353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14354 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14357 * sysdeps/unix/sysv/linux/sigaction.c
14358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14360 * sysdeps/unix/sysv/linux/sigpending.c
14361 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14362 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14363 * sysdeps/unix/sysv/linux/sigprocmask.c
14364 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14365 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14366 * sysdeps/unix/sysv/linux/sigsuspend.c
14367 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14368 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14369 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14370 (__libc_missing_rt_sigs): Remove.
14371 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14372 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14373 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14374 Remove conditional code.
14375 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14376 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14379 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14381 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14383 2012-05-14 Andreas Jaeger <aj@suse.de>
14385 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14386 it's not used in glibc.
14387 (__coshm1): Likewise.
14388 (__acosh1p): Likewise.
14391 * manual/string.texi (Copying and Concatenation): Add missing
14392 variable in concat example.
14393 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14399 __builtin_clzl with __builtin_clzll.
14401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14404 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14407 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14409 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14410 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14411 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14414 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14416 * NEWS: Update ia64 info.
14418 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14420 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14423 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14425 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14426 * sysdeps/unix/syscalls.list (dup3): Likewise.
14427 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14428 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14430 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14432 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14433 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14435 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14437 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14439 (TLS_IE): Use mov/add instead of movq/addq to load thread
14441 (TLS_GD_PREFIX): New.
14444 2012-05-11 David S. Miller <davem@davemloft.net>
14446 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14447 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14448 (_FPU_SETCW): Likewise.
14450 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14452 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14453 is 32-byte aligned.
14455 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14458 * iconvdata/gb18030.c: Update tables.
14459 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14460 characters specially.
14461 (BODY for TO_LOOP): Add encoding of missing ranges.
14463 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14466 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14467 * sysdeps/mach/hurd/dup3.c: Likewise.
14468 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14469 * sysdeps/powerpc/memmove.c:: Likewise.
14471 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14473 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14474 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14476 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14478 * elf/elf.h (R_X86_64_RELATIVE64): New.
14479 (R_X86_64_NUM): Updated.
14480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14481 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14482 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14483 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14484 tst-quad1pie tst-quad2pie
14485 (modules-names): Add tst-quadmod1 tst-quadmod2.
14486 ($(objpfx)tst-quad1): New dependency.
14487 ($(objpfx)tst-quad2): Likewise.
14488 ($(objpfx)tst-quad1pie): Likewise.
14489 ($(objpfx)tst-quad2pie): Likewise.
14490 * sysdeps/x86_64/tst-quad1.c: New file.
14491 * sysdeps/x86_64/tst-quad1pie.c: New file.
14492 * sysdeps/x86_64/tst-quad2.c: Likewise.
14493 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14494 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14495 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14496 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14497 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14501 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14502 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14503 * streams/stropts.h (t_scalar_t): Define type.
14505 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14506 (_PATH_PRESERVE): Set to "/var/lib".
14507 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14509 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14512 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14513 if __dir_mkfile succeeded.
14515 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14516 checking for _hurd_dtablesize. Unlock it right after having
14517 finished _hurd_dtable allocation.
14519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14521 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14522 * sysdeps/mach/hurd/configure: Regenerated.
14523 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14524 special-casing to...
14525 * sysdeps/gnu/configure.in: ... this new file.
14526 * sysdeps/unix/sysv/linux/configure: Regenerated.
14527 * sysdeps/gnu/configure: New generated file.
14529 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14530 for Linux: use nsec instead of usec, as well as:
14531 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14532 members of type struct timespec.
14533 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14535 (struct stat64): Likewise.
14536 (_STATBUF_ST_NSEC): New macro.
14537 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14539 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14540 __strtoul_internal rather than strtoul.
14542 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14544 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14549 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14550 which preserves existing values.
14551 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14553 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14555 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14556 TIMEOUT values. Return EINVAL for NFDS values either negative or
14557 greater than FD_SETSIZE.
14559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14561 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14562 allocated, call __vm_protect to finish enabling the existing space, and
14563 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14564 allocate the remainder.
14566 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14568 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14569 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14573 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14574 sysdeps/mach/hurd/readlink.c.
14576 * posix/tst-sysconf.c (posix_options): Only use
14577 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14578 _POSIX_SYNCHRONIZED_IO when they are defined
14579 * sysdeps/mach/hurd/bits/posix_opt.h:
14580 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14581 (_XOPEN_REALTIME): Undefine macro.
14582 (_XOPEN_REALTIME_THREADS): Undefine macro.
14583 (_XOPEN_SHM): Undefine macro.
14584 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14586 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14588 (_POSIX_ASYNC_IO): Undefine macro.
14589 (_POSIX_PRIORITIZED_IO): Undefine macro.
14590 (_POSIX_SPIN_LOCKS): Define macro to -1.
14592 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14593 SA_NODEFER, SA_RESETHAND.
14594 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14595 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14600 * elf/Makefile (pldd-modules): Define unconditionally.
14602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14604 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14608 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14609 Return ENOENT when name is empty.
14610 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14614 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14616 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14620 Fix mlock in all cases except non-readable pages.
14621 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14622 instead of VM_PROT_ALL as parameter to __vm_wire function.
14624 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14625 (__mkdir): When path is `/', just fail with EEXIST.
14626 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14630 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14631 <sys/uio.h> (for writev).
14632 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14633 and <sys/param.h> (for MIN).
14635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14637 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14638 REQUESTED_TIME. Properly set the remaining time and return EINTR
14641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14643 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14644 Depend on against $(link-rpcuserlibs).
14646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14648 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14649 (__libc_stack_end): Do not use attribute_relro.
14650 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14651 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14652 to libthread-provided value.
14653 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14659 * bits/libc-lock.h (__libc_once_get): New macro.
14660 * sysdeps/mach/bits/libc-lock.h: Likewise.
14661 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14663 instead of using implementation details.
14665 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14666 * libio/freopen.c: Likewise.
14667 * libio/freopen64.c: Likewise.
14668 * misc/syslog.c: Likewise.
14669 * nscd/connections.c: Likewise.
14670 * nscd/netgroupcache.c: Likewise.
14671 * sysdeps/posix/getcwd.c: Likewise.
14673 2012-05-10 Roland McGrath <roland@hack.frob.com>
14675 * math/w_ilogbf.c: Add #include <limits.h>.
14677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14679 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14680 path instead of returning without unlocking.
14682 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14683 immediate-write ioctls.
14684 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14688 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14689 __builtin_frame_address instead of making assumptions about the
14690 location of the return address relative to DATA. Force early load of
14691 the return address.
14692 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14693 __builtin_frame_address.
14696 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14697 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14698 implement dup3 and do some further code clean-ups.
14699 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14700 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14704 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14706 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14707 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14708 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14709 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14710 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14713 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14714 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14715 when handler == SIG_ERR, not when handler != SIG_ERR.
14717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14719 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14720 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14723 accept4 for GNU Hurd.
14724 * include/sys/socket.h (__libc_accept4): New prototype.
14725 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14726 to implement __libc_accept4.
14727 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14729 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14731 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14732 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14733 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14734 signal-defines.sym.
14736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14738 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14742 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14743 assertion on O_CLOEXEC flag.
14744 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14745 * hurd/intern-fd.c: Likewise.
14746 * hurd/port2fd.c: Likewise.
14748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14751 * bits/in.h (IPV6_PKTINFO): Define new macro.
14752 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14754 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14759 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14761 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14762 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14765 * math/libm-test.inc (logb_test) : Additional logb tests.
14767 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14768 Andreas Jaeger <aj@suse.de>
14770 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14771 * configure: Regenerated.
14772 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14773 * config.make.in (link-obsolete-rpc): New substituted variable.
14774 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14775 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14776 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14777 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14778 so that libc.a contains the symbols.
14779 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14780 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14781 * sunrpc/auth_none.c: Likewise.
14782 * sunrpc/auth_unix.c: Likewise.
14783 * sunrpc/authdes_prot.c: Likewise.
14784 * sunrpc/authuxprot.c: Likewise.
14785 * sunrpc/clnt_gen.c: Likewise.
14786 * sunrpc/clnt_perr.c: Likewise.
14787 * sunrpc/clnt_raw.c: Likewise.
14788 * sunrpc/clnt_simp.c: Likewise.
14789 * sunrpc/clnt_tcp.c: Likewise.
14790 * sunrpc/clnt_udp.c: Likewise.
14791 * sunrpc/clnt_unix.c: Likewise.
14792 * sunrpc/des_crypt.c: Likewise.
14793 * sunrpc/des_soft.c: Likewise.
14794 * sunrpc/get_myaddr.c: Likewise.
14795 * sunrpc/key_call.c: Likewise.
14796 * sunrpc/key_prot.c: Likewise.
14797 * sunrpc/netname.c: Likewise.
14798 * sunrpc/pm_getmaps.c: Likewise.
14799 * sunrpc/pm_getport.c: Likewise.
14800 * sunrpc/pmap_clnt.c: Likewise.
14801 * sunrpc/pmap_prot.c: Likewise.
14802 * sunrpc/pmap_prot2.c: Likewise.
14803 * sunrpc/pmap_rmt.c: Likewise.
14804 * sunrpc/publickey.c: Likewise.
14805 * sunrpc/rpc_cmsg.c: Likewise.
14806 * sunrpc/rpc_common.c: Likewise.
14807 * sunrpc/rpc_dtable.c: Likewise.
14808 * sunrpc/rpc_prot.c: Likewise.
14809 * sunrpc/rpc_thread.c: Likewise.
14810 * sunrpc/rtime.c: Likewise.
14811 * sunrpc/svc.c: Likewise.
14812 * sunrpc/svc_auth.c: Likewise.
14813 * sunrpc/svc_raw.c: Likewise.
14814 * sunrpc/svc_run.c: Likewise.
14815 * sunrpc/svc_tcp.c: Likewise.
14816 * sunrpc/svc_udp.c: Likewise.
14817 * sunrpc/svc_unix.c: Likewise.
14818 * sunrpc/svcauth_des.c: Likewise.
14819 * sunrpc/xcrypt.c: Likewise.
14820 * sunrpc/xdr.c: Likewise.
14821 * sunrpc/xdr_array.c: Likewise.
14822 * sunrpc/xdr_float.c: Likewise.
14823 * sunrpc/xdr_intXX_t.c: Likewise.
14824 * sunrpc/xdr_mem.c: Likewise.
14825 * sunrpc/xdr_rec.c: Likewise.
14826 * sunrpc/xdr_ref.c: Likewise.
14827 * sunrpc/xdr_sizeof.c: Likewise.
14828 * sunrpc/xdr_stdio.c: Likewise.
14830 2012-05-10 Roland McGrath <roland@hack.frob.com>
14832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14833 change. Update copyright years.
14835 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14837 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14839 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14840 Joseph Myers <joseph@codesourcery.com>
14841 Paul Pluzhnikov <ppluzhnikov@google.com>
14844 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14846 [cross-compiling] (extra-libs): Likewise.
14847 [cross-compiling] (extra-libs-others): Likewise.
14848 [cross-compiling] (librpcsvc-routines): Likewise.
14849 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14850 [cross-compiling] (omit-deps): Likewise.
14851 (sunrpc-CPPFLAGS): New variable.
14852 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14853 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14854 (cross-rpcgen-objs): New variable.
14855 (extra-objs): Append $(cross-rpcgen-objs).
14856 ($(cross-rpcgen-objs)): New rule.
14857 ($(objpfx)cross-rpcgen): Likewise.
14858 (rpcgen-cmd): Define to use $(built-program-file). Expand
14860 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14861 ($(objpfx)x%.stmp): Likewise.
14862 * sunrpc/proto.h [IS_IN_build] (_): Define.
14863 [IS_IN_build] (_libc_intl_domainname): Likewise.
14865 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14868 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14869 and R_X86_64_TPOFF64.
14871 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14873 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14874 sysdeps/unix/sysv/syscalls.list.
14877 * sysdeps/unix/sysv/syscalls.list: Remove file.
14879 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14882 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14883 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14884 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14885 (__LC_IDENTIFICATION): Make these macros useful in #if
14886 expressions, as required by C99.
14888 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14890 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14891 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14894 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14896 * stdlib/longlong.h: Updated from GCC.
14898 2012-05-09 Andreas Jaeger <aj@suse.de>
14900 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14901 default is first entry.
14902 (run_mode): Set type.
14903 (main): Remove informal message about syslog.
14904 (options): Fix typo.
14907 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14910 (llrintf): Likewise.
14911 (llrint): Likewise.
14914 (nearbyint): Likewise.
14915 (nearbyintf): Likewise.
14917 2012-05-09 Andreas Jaeger <aj@suse.de>
14918 Pedro Alves <palves@redhat.com>
14920 * nscd/nscd.c (run_mode): Use enum.
14921 (main): Cleanup coding style issue.
14923 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14924 Andreas Jaeger <aj@suse.de>
14926 * nscd/nscd.c (go_background): Replaced with...
14927 (run_mode): ... this.
14928 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14929 (options): Add -F --foreground.
14930 (main): Implement it.
14931 (parse_opt): Parse it.
14933 2012-05-09 Andreas Jaeger <aj@suse.de>
14936 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14937 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14938 -Wconversion warning.
14939 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14942 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14944 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14946 (LC_ALL): Use macro-int-constant.
14947 (LC_COLLATE): Likewise.
14948 (LC_CTYPE): Likewise.
14949 (LC_MESSAGES): Likewise.
14950 (LC_MONETARY): Likewise.
14951 (LC_NUMERIC): Likewise.
14952 (LC_TIME): Likewise.
14953 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14954 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14956 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14958 [C99-based standards] (float_t): Expect type.
14959 [C99-based standards] (double_t): Expect type.
14960 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14962 [C99-based standards] (HUGE_VALL): Likewise.
14963 [C99-based standards] (INFINITY): Likewise.
14964 [C99-based standards] (NAN): Likewise.
14965 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14966 [C99-based standards] (FP_NAN): Likewise.
14967 [C99-based standards] (FP_NORMAL): Likewise.
14968 [C99-based standards] (FP_SUBNORMAL): Likewise.
14969 [C99-based standards] (FP_ZERO): Likewise.
14970 [C99-based standards] (FP_FAST_FMA): Use
14971 optional-macro-int-constant. Specify type. Require == 1.
14972 [C99-based standards] (FP_FAST_FMAF): Likewise.
14973 [C99-based standards] (FP_FAST_FMAL): Likewise.
14974 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14975 [C99-based standards] (FP_ILOGBNAN): Likewise.
14976 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14978 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14979 [C99-based standards] (math_errhandling): Specify type.
14980 [ISO99 || ISO11] (signgam): Do not allow.
14981 [non-C99-based standards] (copysignf): Do not allow.
14982 [non-C99-based standards] (exp2f): Likewise.
14983 [non-C99-based standards] (log2f): Likewise.
14984 [non-C99-based standards] (modff): Allow.
14985 [non-C99-based standards] (erff): Do not allow.
14986 [non-C99-based standards] (erfcf): Likewise.
14987 [non-C99-based standards] (gammaf): Likewise.
14988 [non-C99-based standards] (hypotf): Likewise.
14989 [non-C99-based standards] (j0f): Likewise.
14990 [non-C99-based standards] (j1f): Likewise.
14991 [non-C99-based standards] (jnf): Likewise.
14992 [non-C99-based standards] (lgammaf): Likewise.
14993 [non-C99-based standards] (tgammaf): Likewise.
14994 [non-C99-based standards] (y0f): Likewise.
14995 [non-C99-based standards] (y1f): Likewise.
14996 [non-C99-based standards] (ynf): Likewise.
14997 [non-C99-based standards] (isnanf): Likewise.
14998 [non-C99-based standards] (acoshf): Likewise.
14999 [non-C99-based standards] (asinhf): Likewise.
15000 [non-C99-based standards] (atanhf): Likewise.
15001 [non-C99-based standards] (cbrtf): Likewise.
15002 [non-C99-based standards] (expm1f): Likewise.
15003 [non-C99-based standards] (ilogbf): Likewise.
15004 [non-C99-based standards] (log1pf): Likewise.
15005 [non-C99-based standards] (logbf): Likewise.
15006 [non-C99-based standards] (nextafterf): Likewise.
15007 [non-C99-based standards] (remainderf): Likewise.
15008 [non-C99-based standards] (rintf): Likewise.
15009 [non-C99-based standards] (scalbf): Likewise.
15010 [non-C99-based standards] (copysignl): Likewise.
15011 [non-C99-based standards] (exp2l): Likewise.
15012 [non-C99-based standards] (log2l): Likewise.
15013 [non-C99-based standards] (modfl): Allow.
15014 [non-C99-based standards] (erfl): Do not allow.
15015 [non-C99-based standards] (erfcl): Likewise.
15016 [non-C99-based standards] (gammal): Likewise.
15017 [non-C99-based standards] (hypotl): Likewise.
15018 [non-C99-based standards] (j0l): Likewise.
15019 [non-C99-based standards] (j1l): Likewise.
15020 [non-C99-based standards] (jnl): Likewise.
15021 [non-C99-based standards] (lgammal): Likewise.
15022 [non-C99-based standards] (tgammal): Likewise.
15023 [non-C99-based standards] (y0l): Likewise.
15024 [non-C99-based standards] (y1l): Likewise.
15025 [non-C99-based standards] (ynl): Likewise.
15026 [non-C99-based standards] (isnanl): Likewise.
15027 [non-C99-based standards] (acoshl): Likewise.
15028 [non-C99-based standards] (asinhl): Likewise.
15029 [non-C99-based standards] (atanhl): Likewise.
15030 [non-C99-based standards] (cbrtl): Likewise.
15031 [non-C99-based standards] (expm1l): Likewise.
15032 [non-C99-based standards] (ilogbl): Likewise.
15033 [non-C99-based standards] (log1pl): Likewise.
15034 [non-C99-based standards] (logbl): Likewise.
15035 [non-C99-based standards] (nextafterl): Likewise.
15036 [non-C99-based standards] (remainderl): Likewise.
15037 [non-C99-based standards] (rintl): Likewise.
15038 [non-C99-based standards] (scalbl): Likewise.
15039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15040 [non-C99-based standards] (FP_*): Do not allow.
15041 [C99-based standards] (FP_*): Change to
15042 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15043 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15045 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15046 (SIG_ERR): Likewise.
15047 [X/Open-based standards] (SIG_HOLD): Likewise.
15048 (SIG_IGN): Likewise.
15049 (SIGABRT): Use macro-int-constant. Specify type. Require
15051 (SIGFPE): Likewise.
15052 (SIGILL): Likewise.
15053 (SIGINT): Likewise.
15054 (SIGSEGV): Likewise.
15055 (SIGTER): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15066 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15072 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15073 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15074 [X/Open-based standards] (SIGTRAP): Likewise.
15075 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15076 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15077 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15078 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15079 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15082 2012-05-08 Ian Wienand <ianw@vmware.com>
15085 * time/tzset.c (__tzset_parse_tz): Update default rules for
15086 daylight time changes in the Energy Policy Act of 2005.
15088 2012-05-09 Andreas Jaeger <aj@suse.de>
15091 * elf/ldconfig.c (parse_conf): Change string to make clear that
15092 ldconfig only issued a warning if ld.so.conf does not exist.
15094 2012-05-08 David S. Miller <davem@davemloft.net>
15096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15097 movxtod instead of popping the value on the stack.
15099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15101 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15103 * config.h.in: Add HAVE_ARM_PCS_VFP.
15105 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15108 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15109 checking but the checks are disabled for any reason.
15111 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15113 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15114 and ELF64_R_TYPE with ELFW(R_TYPE).
15116 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15118 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15119 (ulimit): Likewise.
15121 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15122 (settimeofday): Likewise.
15124 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15126 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15127 a struct th_u2 inside the union, and move tu_block/tu_code into
15128 a new th_u3 union of tu_block/tu_code inside of that. Move
15129 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15130 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15131 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15132 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15133 (th_stuff): Change to th_u1.tu_stuff.
15135 (th_msg): Change to th_u1.th_u2.tu_data.
15137 2012-05-07 David S. Miller <davem@davemloft.net>
15139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15142 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15143 (SETUP_PIC_REG): Use it.
15144 (SETUP_PIC_REG_LEAF): Use it.
15146 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15150 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15152 (EXPL_FINITE): Likewise.
15153 (FLDLOG): Likewise.
15154 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15155 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15157 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15159 (EXPL_FINITE): Likewise.
15160 (FLDLOG): Likewise.
15161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15162 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15164 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15165 test of -max_value argument for long double.
15166 * sysdeps/i386/fpu/libm-test-ulps: Update.
15167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15169 2012-05-06 David S. Miller <davem@davemloft.net>
15171 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15172 quad soft-float symbols whose references which are compiler
15174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15176 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15180 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15182 (EXPL_FINITE): Likewise.
15183 (FLDLOG): Likewise.
15186 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15187 Adjust comments for base varying.
15188 (__expl_finite): Change alias to EXPL_FINITE.
15189 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15191 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15192 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15194 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15197 (EXPL_FINITE): Likewise.
15198 (FLDLOG): Likewise.
15201 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15202 Adjust comments for base varying.
15203 (__expl_finite): Change alias to EXPL_FINITE.
15204 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15209 * math/libm-test.inc (check_float_internal): Correct ulp
15210 calculation for subnormal expected results.
15212 2012-05-06 Andreas Jaeger <aj@suse.de>
15214 * Makeconfig (+math-flags): New, set to -frounding-math.
15215 (+cflags): Add +math-flags so that all of glibc gets compiled with
15218 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15220 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15222 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15228 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15229 (__ieee754_expl): Allow for and saturate large arguments.
15230 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15231 (u_threshold): Likewise.
15232 (__exp): Call __ieee754_exp before checking for overflow and
15234 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15235 (u_threshold): Likewise.
15236 (__expf): Call __ieee754_expf before checking for overflow and
15238 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15239 (u_threshold): Likewise.
15240 (__expl): Call __ieee754_expl before checking for overflow and
15242 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15243 (__ieee754_expl): Allow for and saturate large arguments.
15244 * math/libm-test.inc (exp_test): Add another test. Do not allow
15245 missing overflow exception on overflow.
15246 (expm1_test): Do not allow missing overflow exception on overflow.
15248 * sysdeps/i386/fpu/e_expl.c: Move to ...
15249 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15250 rather than using inline asm.
15251 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15252 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15253 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15255 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15258 (signal): Likewise.
15262 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15264 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15265 sysdeps/unix/common/syscalls.list.
15266 (fchmod): Likewise.
15267 (fchown): Likewise.
15268 (ftruncate): Likewise.
15269 (getrusage): Likewise.
15270 (gettimeofday): Likewise.
15271 (setpgid): Likewise.
15272 (setregid): Likewise.
15273 (setreuid): Likewise.
15274 (sigaction): Likewise.
15275 (truncate): Likewise.
15276 (vhangup): Likewise.
15277 * sysdeps/unix/common/syscalls.list: Remove file.
15278 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15279 * sysdeps/unix/sysv/linux/Implies: Likewise.
15281 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15283 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15285 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15289 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15292 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15295 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15298 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15301 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15304 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15311 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15315 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15318 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15322 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15326 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15328 * sysdeps/unix/common/bits/dirent.h: Remove file.
15329 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15331 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15332 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15333 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15334 * sysdeps/unix/bsd/isatty.c: Likewise.
15335 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15336 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15337 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15339 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15343 long double comparison inaccuracies.
15344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15347 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15349 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15352 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15356 nonzero digits before rounding a hex value.
15357 * stdlib/tst-strtod.c (tests): Add another test.
15359 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15361 * sysdeps/s390/fpu/libm-test-ulps: Update.
15363 2012-05-03 Andreas Jaeger <aj@suse.de>
15365 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15366 does not get optimized out.
15367 (malloc_opt_barrier): New.
15369 2012-05-03 Andreas Jaeger <aj@suse.de>
15370 Roland McGrath <roland@hack.frob.com>
15372 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15373 intermediate file deletion.
15374 (generated): Add .symlist files.
15376 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15379 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15380 Redirect under this condition.
15381 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15382 [__USE_GNU] (__dprintf_chk): Not under this condition.
15383 [__USE_GNU] (__vdprintf_chk): Likewise.
15384 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15385 under this condition.
15386 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15387 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15388 [__USE_XOPEN2K8] (vdprintf): Likewise.
15389 [__USE_GNU] (__dprintf_chk): Not under this condition.
15390 [__USE_GNU] (__vdprintf_chk): Likewise.
15391 [__USE_GNU] (dprintf): Likewise.
15392 [__USE_GNU] (vdprintf): Likewise.
15394 2012-05-03 Roland McGrath <roland@hack.frob.com>
15396 * elf/Makefile (common-generated): Set this instead of generated for
15397 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15398 $(all-built-dso)-derived lists.
15400 2012-05-03 Andreas Jaeger <aj@suse.de>
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15405 * FAQ.in: Likewise.
15406 * scripts/gen-FAQ.pl: Likewise.
15407 * manual/install.texi (Installation): Point to online location of
15409 * Makefile (files-for-dist): Remove FAQ.
15412 2012-05-02 Allan McRae <allan@archlinux.org>
15414 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15415 (LDFLAGS-reldepmod5.so): Likewise.
15416 (LDFLAGS-reldep6mod1.so): Likewise.
15417 (LDFLAGS-reldep6mod4.so): Likewise.
15418 (LDFLAGS-reldep8mod3.so): Likewise.
15419 (LDFLAGS-unload4mod1.so): Likewise.
15420 (LDFLAGS-unload4mod2.so): Likewise.
15421 (LDFLAGS-tst-initorder): Likewise.
15422 (LDFLAGS-tst-initordera2.so): Likewise.
15423 (LDFLAGS-tst-initordera3.so): Likewise.
15424 (LDFLAGS-tst-initordera4.so): Likewise.
15425 (LDFLAGS-tst-initorderb2.so): Likewise.
15426 (LDFLAGS-noload): Likewise.
15427 (LDFLAGS-next): Likewise.
15428 (LDFLAGS-order2mod1.so): Likewise.
15429 (LDFLAGS-order2mod2.so): Likewise.
15430 (LDFLAGS-tst-initorder2): Likewise.
15431 (LDFLAGS-tst-initorder2a.so): Likewise.
15432 (LDFLAGS-tst-initorder2b.so): Likewise.
15433 (LDFLAGS-tst-initorder2c.so): Likewise.
15434 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15436 2012-05-02 David S. Miller <davem@davemloft.net>
15438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15440 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15443 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15445 2012-05-02 Andreas Jaeger <aj@suse.de>
15447 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15448 since we manipulate rounding mode.
15449 (CPPFLAGS-test-idouble.c): Likewise.
15450 (CPPFLAGS-test-ifloat.c): Likewise.
15451 (CFLAGS-test-ldouble.c): Likewise.
15452 (CFLAGS-test-double.c): Likewise.
15453 (CFLAGS-test-float.c): Likewise.
15454 (CFLAGS-test-misc.c): Likewise.
15455 (CFLAGS-test-test-fenv.c): Likewise.
15457 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15461 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15462 comparisons to determine direction to adjust input.
15464 2012-05-01 Roland McGrath <roland@hack.frob.com>
15466 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15467 output to the target.
15469 * scripts/localplt.awk: New file.
15470 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15471 (check-localplt-CFLAGS): Variable removed.
15472 ($(all-built-dso:=.jmprel)): New static pattern rule.
15473 (generated): Add those targets.
15474 (localplt-built-dso): New variable.
15475 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15477 * elf/check-localplt.c: File removed.
15479 * scripts/check-execstack.awk: New file.
15480 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15481 (check-execstack-CFLAGS): Variable removed.
15482 ($(objpfx)check-execstack.h): Target removed.
15483 ($(objpfx)execstack-default): New target.
15484 (generated): Add that instead of check-execstack.h.
15485 ($(all-built-dso:=.phdr)): New static pattern rule.
15486 (generated): Add those targets.
15487 * elf/check-execstack.c: File removed.
15489 * scripts/check-textrel.awk: New file.
15490 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15491 (check-textrel-CFLAGS): Variable removed.
15492 (all-built-dso): Use := to define.o
15493 ($(all-built-dso:=.dyn)): New static pattern rule.
15494 (generated): Add those targets.
15495 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15496 * config.make.in (READELF): New substituted variable.
15497 * elf/check-textrel.c: File removed.
15499 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15501 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15503 * conform/data/ctype.h-data [C99-based standards] (isblank):
15505 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15506 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15508 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15509 Specify type. Require positive value.
15510 (EILSEQ): Likewise.
15511 (ERANGE): Likewise.
15512 [ISO || POSIX] (EILSEQ): Do not expect.
15513 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15514 Specify type. Require positive value.
15515 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15549 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15553 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15555 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15563 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15564 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15568 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15569 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15570 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15571 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15572 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15573 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15574 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15575 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15576 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15577 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15578 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15579 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15580 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15581 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15582 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15583 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15585 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15589 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15590 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15591 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15593 (FLT_ROUNDS): Expect as macro, not constant.
15594 (FLT_MANT_DIG): Use macro-int-constant.
15595 (DBL_MANT_DIG): Likewise.
15596 (LDBL_MANT_DIG): Likewise.
15597 (FLT_DIG): Likewise.
15598 (DBL_DIG): Likewise.
15599 (LDBL_DIG): Likewise.
15600 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15601 (DBL_MIN_EXP): Likewise.
15602 (LDBL_MIN_EXP): Likewise.
15603 (FLT_MAX_EXP): Use macro-int-constant.
15604 (DBL_MAX_EXP): Likewise.
15605 (LDBL_MAX_EXP): Likewise.
15606 (FLT_MAX_10_EXP): Likewise.
15607 (DBL_MAX_10_EXP): Likewise.
15608 (LDBL_MAX_10_EXP): Likewise.
15609 (FLT_MAX): Use macro-constant.
15610 (DBL_MAX): Likewise.
15611 (LDBL_MAX): Likewise.
15612 (FLT_EPSILON): Use macro-constant. Give upper bound.
15613 (DBL_EPSILON): Likewise.
15614 (LDBL_EPSILON): Likewise.
15615 (FLT_MIN): Likewise.
15616 (DBL_MIN): Likewise.
15617 (LDBL_MIN): Likewise.
15618 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15619 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15620 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15621 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15622 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15623 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15624 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15625 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15626 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15627 [ISO11] (FLT_TRUE_MIN): Likewise.
15628 [ISO11] (LDBL_TRUE_MIN): Likewise.
15629 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15630 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15631 (SCHAR_MIN): Use macro-int-constant. Specify type.
15632 (SCHAR_MAX): Likewise.
15633 (UCHAR_MAX): Likewise.
15634 (CHAR_MIN): Likewise.
15635 (CHAR_MAX): Likewise.
15636 (MB_LEN_MAX): Use macro-int-constant.
15637 (SHRT_MIN): Use macro-int-constant. Specify type.
15638 (SHRT_MAX): Likewise.
15639 (USHRT_MAX): Likewise.
15640 (INT_MAX): Likewise.
15641 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15643 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15645 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15647 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15648 bound negative. Suffix upper bound with "L".
15649 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15651 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15653 [C99-based standards] (LLONG_MAX): Likewise.
15654 [C99-based standards] (ULLONG_MAX): Likewise.
15655 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15657 [ISO11] (max_align_t): Require type.
15658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15660 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15661 from $CFLAGS, without defining away __attribute__ calls.
15662 (checknamespace): Use $CFLAGS_namespace.
15664 * conform/conformtest.pl (@keywords): Only include C99 keywords
15665 for standards based on C99 or C11.
15667 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15669 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15672 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15673 usability of symbols in #if.
15675 * conform/conformtest.pl: If macro or constant types start
15676 "promoted:", expect the symbol to be of the following type
15677 promoted by the integer promotions.
15679 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15680 in one place. Also handle "macro-constant".
15682 * conform/conformtest.pl: Only accept expected macro values with
15683 "==". Parse all "macro" lines in one place.
15684 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15686 * conform/conformtest.pl: Handle braced types on "constant" lines
15687 instead of handling "typed-constant".
15688 * conform/data/signal.h-data: Use "constant" instead of
15691 * conform/conformtest.pl: Handle "optional-" at start of lines in
15692 one place rather than duplicating several cases. Handle each
15693 format of "macro" line with initial "optional-".
15695 * conform/conformtest.pl: Only accept expected constant or
15696 optional-constant values with "==". Parse all "constant" lines in
15697 one place. Parse all "optional-constant" lines in one place.
15698 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15699 * conform/data/fmtmsg.h-data: Likewise.
15700 * conform/data/netinet/in.h-data: Likewise.
15701 * conform/data/tar.h-data: Likewise.
15702 * conform/data/limits.h-data: Use "==" form on "constant" and
15703 "optional-constant" lines.
15705 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15706 Use -std=c99 for XOPEN2K.
15707 (@knownproblems): Remove.
15708 (newtoken): Don't check %isknown.
15710 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15711 Do not expect macro.
15712 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15713 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15716 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15717 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15723 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15724 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15725 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15726 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15727 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15728 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15742 [XPG3] (acosh): Likewise.
15743 [XPG3] (asinh): Likewise.
15744 [XPG3] (atanh): Likewise.
15745 [XPG3] (cbrt): Likewise.
15746 [XPG3] (expm1): Likewise.
15747 [XPG3] (ilogb): Likewise.
15748 [XPG3] (log1p): Likewise.
15749 [XPG3] (logb): Likewise.
15750 [XPG3] (nextafter): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15753 [XPG3] (remainder): Likewise.
15754 [XPG3] (rint): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15762 [UNIX98 || XOPEN2K] (scalb): Expect.
15763 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15764 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15901 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15902 _XOPEN_SOURCE_EXTENDED for XPG4.
15904 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15906 * Makeconfig (localtime): Remove variable.
15907 (inst_localtime-file): Likewise.
15909 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15930 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15934 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15935 comparisons to determine direction to adjust input.
15936 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15937 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15938 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15940 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15942 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15944 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15945 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15947 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15949 * math/libm-test.inc (nexttoward_test): Add more tests.
15951 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15954 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15955 in version GLIBC_2.1, not GLIBC_2.0.
15956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15959 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15964 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15965 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15966 * math/libm-test.inc (acos_test): Add more tests.
15967 (asin_test): Likewise.
15968 * sysdeps/i386/fpu/libm-test-ulps: Update.
15969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15972 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15974 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15975 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15976 * math/libm-test.inc (acos_test_tonearest): New function.
15977 (acos_test_towardzero): Likewise.
15978 (acos_test_downward): Likewise.
15979 (acos_test_upward): Likewise.
15980 (asin_test_tonearest): Likewise.
15981 (asin_test_towardzero): Likewise.
15982 (asin_test_downward): Likewise.
15983 (asin_test_upward): Likewise.
15984 (main): Call the new functions.
15985 * sysdeps/i386/fpu/libm-test-ulps: Update.
15986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15990 * math/e_exp10.c: Include <float.h>.
15991 (__ieee754_exp10): Handle underflow here rather than multiplying
15992 large negative argument by M_LN10.
15993 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15995 * math/e_exp10l.c: Include <float.h>.
15996 (__ieee754_exp10l): Handle underflow here rather than multiplying
15997 large negative argument by M_LN10l.
15998 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15999 spurious overflow exception on underflow.
16001 2012-04-29 Marek Polacek <polacek@redhat.com>
16003 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16004 (__fortify_function): New macro.
16005 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16006 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16007 __extern_always_inline.
16008 * libio/bits/stdio2.h: Likewise.
16009 * libio/bits/stdio.h: Likewise.
16010 * string/string.h: Likewise.
16011 * string/bits/string3.h: Likewise.
16012 * include/stdio.h: Likewise.
16013 * stdlib/bits/stdlib.h: Likewise.
16014 * stdlib/stdlib.h: Likewise.
16015 * rt/bits/mqueue2.h: Likewise.
16016 * rt/mqueue.h: Likewise.
16017 * posix/bits/unistd.h: Likewise.
16018 * posix/unistd.h: Likewise.
16019 * io/bits/poll2.h: Likewise.
16020 * io/bits/fcntl2.h: Likewise.
16021 * io/fcntl.h: Likewise.
16022 * io/sys/poll.h: Likewise.
16023 * misc/bits/syslog.h: Likewise.
16024 * misc/bits/syslog-ldbl.h: Likewise.
16025 * misc/sys/syslog.h: Likewise.
16026 * socket/bits/socket2.h: Likewise.
16027 * socket/sys/socket.h: Likewise.
16028 * debug/tst-chk1.c: Likewise.
16029 * wcsmbs/bits/wchar2.h: Likewise.
16030 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16031 * wcsmbs/wchar.h: Likewise.
16033 2012-04-29 Andreas Jaeger <aj@suse.de>
16035 * Makerules (tests): Remove enable-check-abi protection.
16036 (check-abi-warn): Remove.
16037 (check-abi-%): Remove check-abi-warn usage.
16039 * configure.in: Remove check-abi configure option.
16040 * configure: Regenerated.
16041 * config.make.in (enable-check-abi): Remove.
16043 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16046 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16047 double functions to double *_finite functions.
16050 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16051 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16053 * stdio-common/Makefile (tests): Add tst-sprintf3.
16054 * stdio-common/tst-sprintf3.c: New file.
16056 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16057 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16059 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16061 * conform/conformtest.pl: Remove duplicate typed-constant
16064 2012-04-28 David S. Miller <davem@davemloft.net>
16066 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16067 (check-abi-%): Remove AWK script prerequisite and explicit
16069 (check-abi): Rewrite to just diff the symlist with the abilist.
16070 (config-tls, config-abi-config): Delete, no longer used.
16071 (update-abi-%): Remove AWK script and explicit abilist directory.
16072 (update-abi): Rewrite to simply compare and conditionally copy the
16073 symlist and the sysdep abilist file. Remove update-abi-config
16075 * abilist/ld.abilist: Remove.
16076 * abilist/libBrokenLocale.abilist: Remove.
16077 * abilist/libanl.abilist: Remove.
16078 * abilist/libcrypt.abilist: Remove.
16079 * abilist/libdl.abilist: Remove.
16080 * abilist/librt.abilist: Remove.
16081 * abilist/libthread_db.abilist: Remove.
16082 * abilist/libutil.abilist: Remove.
16083 * scripts/extract-abilist.awk: Remove.
16084 * scripts/merge-abilist.awk: Remove.
16085 * sysdeps/generic/libcidn.abilist: New file.
16086 * sysdeps/generic/libnss_compat.abilist: New file.
16087 * sysdeps/generic/libnss_db.abilist: New file.
16088 * sysdeps/generic/libnss_dns.abilist: New file.
16089 * sysdeps/generic/libnss_files.abilist: New file.
16090 * sysdeps/generic/libnss_hesiod.abilist: New file.
16091 * sysdeps/generic/libnss_nis.abilist: New file.
16092 * sysdeps/generic/libnss_nisplus.abilist: New file.
16093 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16095 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16099 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16100 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16101 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16102 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16103 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16104 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16105 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16107 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16108 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16109 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16110 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16112 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16113 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16114 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16115 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16116 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16117 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16119 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16120 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16121 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16123 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16226 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16227 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16228 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16231 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16232 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16233 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16234 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16235 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16236 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16237 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16238 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16239 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16291 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16293 * conform/conformtest.pl: Fix typo in handling typed-constant from
16296 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16298 * README: Cut down references to pre-2.6 Linux kernels and
16299 Linuxthreads. Update lists of configurations in libc and ports
16300 and sort alphabetically. Say "or newer" with Linux kernel version
16303 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16305 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16308 * math/libm-test.inc (logb_test_downward): New test to expose
16309 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16312 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16315 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16317 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16318 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16320 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16322 * sysdeps/unix/i386/brk.S: Remove file.
16323 * sysdeps/unix/i386/dl-brk.S: Likewise.
16324 * sysdeps/unix/i386/pipe.S: Likewise.
16325 * sysdeps/unix/i386/sigreturn.S: Likewise.
16326 * sysdeps/unix/i386/syscall.S: Likewise.
16327 * sysdeps/unix/i386/vfork.S: Likewise.
16328 * sysdeps/unix/i386/wait.S: Likewise.
16330 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16331 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16333 * configure.in (arm*-none*): Do not allow without
16334 --enable-hacker-mode.
16335 (netbsd*): Remove case setting base_os.
16336 (386bsd*): Likewise.
16337 (freebsd*): Likewise.
16340 (sunos*): Likewise.
16341 (ultrix*): Likewise.
16342 (newsos*): Likewise.
16343 (dynix*): Likewise.
16349 (minix*): Likewise.
16350 (irix4*): Likewise.
16351 (irix6*): Likewise.
16352 (solaris[2-9]*): Likewise.
16354 * configure: Regenerated.
16356 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16359 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16360 overflow or cancellation in calculating denominator.
16361 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16363 down expression to avoid unexpected rounding in newer GCCs.
16364 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16366 2012-04-26 David S. Miller <davem@davemloft.net>
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16369 long-double compat symbols.
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16384 2012-04-25 David S. Miller <davem@davemloft.net>
16386 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16387 HWCAP_* values only after the memory barriers have been defined.
16388 (atomic_full_barrier): Define.
16389 (atomic_read_barrier): Define.
16390 (atomic_write_barrier): Define.
16392 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16394 * shlib-versions: Add libgcc_s version information.
16395 * sysdeps/generic/libgcc_s.h: Remove.
16396 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16398 * sysdeps/gnu/unwind-resume.c: Likewise.
16399 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16401 2012-04-25 David S. Miller <davem@davemloft.net>
16403 * sysdeps/unix/sparc/brk.S: Delete.
16404 * sysdeps/unix/sparc/dl-brk.S: Delete.
16405 * sysdeps/unix/sparc/pipe.S: Delete.
16406 * sysdeps/unix/sparc/sysdep.S: Delete.
16407 * sysdeps/unix/sparc/sysdep.h: Delete.
16408 * sysdeps/unix/sparc/vfork.S: Delete.
16409 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16410 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16412 ret_ERRVAL, r0, r1, MOVE): Define.
16413 (JUMPTARGET): Remove.
16414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16415 sysdeps/unix/sparc/sysdep.h
16416 (ENTRY, END): Remove.
16417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16419 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16421 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16422 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16425 * timezone/README: Update upstream location and email address for
16427 * timezone/zdump.c: Update from tzcode 2012b.
16428 * timezone/zic.c: Likewise.
16430 * configure.in (libc_cv_as_needed): Remove test.
16431 * configure: Regenerated.
16432 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16433 conditional definition.
16434 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16435 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16436 * config.make.in (have-as-needed): Remove variable.
16438 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16439 Paul Pluzhnikov <ppluzhnikov@google.com>
16441 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16444 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16446 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16447 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16448 * sysdeps/sh/strlen.S: Likewise.
16450 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16452 * sysdeps/unix/fork.S: Remove file.
16453 * sysdeps/unix/i386/fork.S: Likewise.
16454 * sysdeps/unix/sparc/fork.S: Likewise.
16456 * sysdeps/unix/system.c: Remove file.
16457 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16459 * sysdeps/unix/getegid.S: Remove file.
16460 * sysdeps/unix/geteuid.S: Likewise.
16462 2012-04-24 Roland McGrath <roland@hack.frob.com>
16464 * scripts/check-localplt.awk: New file.
16465 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16467 * scripts/data/localplt-generic.data: Add a comment.
16469 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16470 NODE when __dir_mkfile failed.
16471 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16472 Reported by Ludovic Courtès <ludo@gnu.org>.
16474 2012-04-24 Andreas Jaeger <aj@suse.de>
16476 * Makerules (common-clean): Also remove gen-as-const-headers
16479 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16481 * Makerules (native-compile): Do not change working directory for
16482 build. Use $(OUTPUT_OPTION) in command.
16483 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16485 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16488 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16489 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16490 * math/libm-test.inc (floor_test): Add more tests.
16491 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16493 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16495 * sysdeps/unix/getdents.c: Remove file.
16496 * sysdeps/unix/sysv/getdents.c: Likewise.
16497 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16499 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16500 sysdeps/unix/mman/syscalls.list.
16502 (mprotect): Likewise.
16504 (munmap): Likewise.
16505 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16506 * sysdeps/unix/mman/syscalls.list: Remove.
16507 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16509 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16510 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16511 * configure: Regenerated.
16512 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16513 $(libgcc_s_suffix).
16514 * config.make.in (libgcc_s_suffix): Remove variable.
16516 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16518 * sysdeps/unix/sysv/gethostname.c: Move to ...
16519 * sysdeps/posix/gethostname.c: ... here.
16521 * sysdeps/unix/execve.S: Remove file.
16523 * sysdeps/unix/_exit.S: Remove file.
16525 2012-04-23 Andreas Jaeger <aj@suse.de>
16528 * manual/Makefile: Remove make dist support, there's no
16529 need for a stand-alone documentation tar ball.
16530 (TEXI2DVI): Define always, it's not in Makeconfig.
16533 (edition): Removed.
16534 (glibc-doc-$(edition).tar): Removed
16538 (ETAGS): Remove, it's in Makeconfig.
16539 (move-if-change): Remove, it's in Makeconfig.
16541 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16544 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16545 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16546 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16547 (strtod_l, strtof_l, strtold_l): Remove __wur.
16548 It is not necessarily an error to ignore strtol's return value.
16549 One can reliably look at the stored endptr to decide whether
16550 the number had valid syntax.
16552 2012-04-21 Andreas Jaeger <aj@suse.de>
16555 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16557 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16559 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16560 * sysdeps/unix/sysv/Versions: Remove file.
16562 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16567 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16571 version from __vm86.
16573 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16575 * sysdeps/unix/common/lxstat.c: Remove file.
16576 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16578 * sysdeps/unix/sysv/Makefile: Remove file.
16580 * sysdeps/unix/sysv/direct.h: Remove file.
16582 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16583 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16584 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16585 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16586 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16587 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16588 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16590 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16592 * sysdeps/unix/xmknod.c: Remove file.
16593 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16595 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16597 * sysdeps/unix/sysv/i386/time.S: Remove file.
16599 * sysdeps/unix/fxstat.c: Remove file.
16600 * sysdeps/unix/xstat.c: Likewise.
16601 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16603 * sysdeps/unix/sysv/sigaction.c: Remove file.
16605 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16606 (sysdep_headers): Remove variable.
16607 [termio.h not in sysdep_headers] (generated): Likewise.
16608 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16609 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16610 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16611 * sysdeps/unix/sysv/tcflow.c: Likewise.
16612 * sysdeps/unix/sysv/tcflush.c: Likewise.
16613 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16614 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16615 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16616 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16617 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16619 * sysdeps/unix/siglist.c: Remove file.
16621 * sysdeps/unix/getppid.S: Remove file.
16623 * sysdeps/unix/mkdir.c: Remove file.
16624 * sysdeps/unix/rmdir.c: Likewise.
16626 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16628 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16631 errlist-compat value.
16633 2012-04-18 David S. Miller <davem@davemloft.net>
16635 * sysdeps/generic/memcopy.h (reg_char): Delete.
16636 * debug/strcat_chk.c: Use char, not reg_char.
16637 * debug/strcpy_chk.c: Likewise.
16638 * debug/strncat_chk.c: Likewise.
16639 * debug/strncpy_chk.c: Likewise.
16640 * string/memchr.c: Likewise.
16641 * string/memrchr.c: Likewise.
16642 * string/rawmemchr.c: Likewise.
16643 * string/strcat.c: Likewise.
16644 * string/strchr.c: Likewise.
16645 * string/strchrnul.c: Likewise.
16646 * string/strcmp.c: Likewise.
16647 * string/strcpy.c: Likewise.
16648 * string/strncat.c: Likewise.
16649 * string/strncmp.c: Likewise.
16650 * string/strncpy.c: Likewise.
16652 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16654 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16655 __builtin_memcopy is called when src and dest ranges are known to not
16658 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16660 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16661 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16662 fwd_align_merge macro call.
16663 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16664 bwd_align_merge macro call.
16665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16667 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16669 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16670 bwd_align_merge macros.
16671 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16672 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16673 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16675 2012-04-18 David S. Miller <davem@davemloft.net>
16677 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16679 2012-04-18 Andreas Jaeger <aj@suse.de>
16682 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16683 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16684 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16687 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16690 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16691 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16692 Adjust for changed ldbl-128 files.
16694 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16695 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16698 2012-04-17 David S. Miller <davem@davemloft.net>
16700 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16702 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16704 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16705 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16706 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16707 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16708 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16709 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16711 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16714 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16715 * math/libm-test.inc: Add ilogb errno and exception tests.
16716 * math/w_ilogb.c: New file: ilogb wrapper.
16717 * math/w_ilogbf.c: New file: ilogbf wrapper.
16718 * math/w_ilogbl.c: New file: ilogbl wrapper.
16719 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16720 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16721 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16722 exception being thrown with 0.0 as argument.
16723 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16724 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16725 exception being thrown with 0.0 as argument.
16726 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16727 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16728 exception being thrown with 0.0 as argument.
16729 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16730 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16731 exception being thrown with 0.0 as argument.
16732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16733 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16735 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16736 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16737 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16738 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16739 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16740 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16742 2012-04-17 Petr Baudis <pasky@ucw.cz>
16744 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16747 2012-04-16 Marek Polacek <polacek@redhat.com>
16749 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16751 2012-04-16 Marek Polacek <polacek@redhat.com>
16753 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16754 operands of fdivp instruction.
16756 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16758 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16759 * elf/tst-auditmod3b.c: Likewise.
16760 * elf/tst-auditmod4b.c: Likewise.
16761 * elf/tst-auditmod5b.c: Likewise.
16762 * elf/tst-auditmod6b.c: Likewise.
16763 * elf/tst-auditmod6c.c: Likewise.
16764 * elf/tst-auditmod7b.c: Likewise.
16765 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16766 * sysdeps/x86_64/preconfigure.in: Likewise.
16767 * sysdeps/x86_64/preconfigure: Regenerated.
16769 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16771 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16774 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16777 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16779 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16782 * locale/iso-639.def: Fix gl language name. Spotted by
16785 2012-04-12 Roland McGrath <roland@hack.frob.com>
16788 * libio/libio.h (__io_write_fn): Update comment.
16790 2012-04-12 Petr Baudis <pasky@ucw.cz>
16793 * stdio.texi (Hook Functions): The user provided writer function
16794 is not allowed to return -1.
16796 2012-04-11 David S. Miller <davem@davemloft.net>
16798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16800 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16802 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16803 Add a leading slash to rtkaio.
16805 2012-04-11 Jim Meyering <meyering@redhat.com>
16808 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16809 It is not necessarily an error to ignore fwrite's return
16810 value. One can reliably use ferror to test for errors after
16813 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16815 * bits/types.h (__snseconds_t): New type.
16816 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16818 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16820 (__SNSECONDS_T_TYPE): Likewise.
16821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16822 (__SNSECONDS_T_TYPE): Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16824 (__SNSECONDS_T_TYPE): Likewise.
16826 2012-04-10 Andreas Jaeger <aj@suse.de>
16829 * manual/time.texi (Processor Time): Return type of times is
16830 elapsed real time since an arbitrary point in the past.
16831 (CPU Time): Move CLK_TCK from here...
16832 (Processor Time): ...to here. Correct description.
16833 * manual/conf.texi (Constants for Sysconf): Correct description of
16836 2012-04-10 David S. Miller <davem@davemloft.net>
16839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16840 where the is a gap between DT_REL(A) and DT_JMPREL.
16842 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16844 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16845 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16846 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16848 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16850 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16851 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16852 (dl_main): Handle --inhibit-cache.
16853 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16855 * elf/dl-load.c (_dl_map_object): Use it.
16856 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16858 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16861 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16862 (__ieee754_powl): Saturate large exponents rather than testing for
16863 overflow of y*log2(x).
16864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16865 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16869 * math/s_ctan.c: Include <float.h>.
16870 (__ctan): Avoid internal overflow or cancellation in calculating
16872 * math/s_ctanf.c: Likewise.
16873 * math/s_ctanl.c: Likewise.
16874 * math/s_ctanh.c: Likewise.
16875 * math/s_ctanhf.c: Likewise.
16876 * math/s_ctanhl.c: Likewise.
16877 * math/libm-test.inc (ctan_test): Add more tests.
16878 (ctanh_test): Likewise.
16879 * sysdeps/i386/fpu/libm-test-ulps: Update.
16880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16882 2012-04-09 Andreas Jaeger <aj@suse.de>
16885 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16886 is an optional BSD extension.
16889 * manual/stdio.texi (Opening Streams): Document additional fopen
16892 2012-04-09 Roland McGrath <roland@hack.frob.com>
16894 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16895 %eax without telling the compiler.
16897 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16900 * manual/install.texi: Use sourceware.org.
16902 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16905 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16906 (__ieee754_pow): Generate overflow and underflow using huge*huge
16907 and tiny*tiny rather than just returning constant infinity or zero
16908 for large exponents.
16909 * math/libm-test.inc (pow_test): Require overflow exceptions for
16910 applicable cases of large exponents.
16913 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16914 (__ieee754_pow): Use iterative multiplication algorithm only for
16915 integer exponents with absolute value below 1024. Check for odd
16916 integer exponents when using algorithm for real exponents.
16917 * math/libm-test.inc (pow_test): Add more tests.
16918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16920 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16923 * math/libm-test.inc (exp_test): Do not allow overflow exception
16926 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16929 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16930 instead of __kernel_standard_f.
16932 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16934 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16935 * sysdeps/x86_64/memset_chk.S: Likewise.
16937 2012-04-08 Andreas Jaeger <aj@suse.de>
16940 * manual/startup.texi (Environment Access): Describe return value
16941 for putenv and setenv.
16944 * manual/filesys.texi (Directory Entries): Add description for
16948 * manual/filesys.texi (Directory Entries): Clarify that it's file
16949 system not operating system in the description of DT_UNKNOWN.
16952 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16954 2012-04-08 Stephen Compall <s11@member.fsf.org>
16957 * manual/llio.texi (Opening and Closing Files): Add cross
16958 reference to explain mode argument.
16960 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16962 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16963 * sysdeps/x86_64/memset_chk.S: Likewise.
16965 2012-04-07 David S. Miller <davem@davemloft.net>
16967 * elf/elf.h (R_SPARC_WDISP10): Define.
16968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16971 R_SPARC_SIZE64 and R_SPARC_H34.
16973 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16976 conditions and remove no longer applicable assertion.
16978 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16980 * bits/byteswap.h: Include <features.h>.
16981 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16982 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16984 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16986 * bits/byteswap.h (__bswap_16): Removed.
16987 Include <bits/byteswap-16.h> to get __bswap_16.
16988 * sysdeps/i386/bits/byteswap.h: Likewise.
16989 * sysdeps/s390/bits/byteswap.h: Likewise.
16990 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16991 * bits/byteswap-16.h: New file.
16992 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16993 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16994 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16995 * string/Makefile (headers): Add bits/byteswap-16.h.
16997 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17000 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17002 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17003 * nss/tst-nss-static.c: New.
17005 2012-04-06 Robert Millan <rmh@gnu.org>
17008 * manual/llio.texi (File Position Primitive): lseek
17009 refers to WHENCE when it really means OFFSET.
17011 2012-04-06 Andreas Jaeger <aj@suse.de>
17013 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17014 strncmp declarations.
17016 * abilist/libc.abilist: Add __poll and __ppoll.
17018 2012-04-05 David S. Miller <davem@davemloft.net>
17020 * scripts/check-local-headers.sh: Accept a host triplet in the
17021 path matched by the exclude regexp.
17023 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17025 * sysdeps/powerpc/powerpc32/dl-machine.h
17026 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17027 * sysdeps/s390/s390-32/dl-machine.h
17028 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17029 * sysdeps/sparc/sparc32/dl-machine.h
17030 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17031 * sysdeps/sparc/sparc64/dl-machine.h
17032 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17034 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17036 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17037 undefined symbol errors.
17039 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17042 2012-04-05 Michael Matz <matz@suse.de>
17045 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17047 2012-04-05 Andreas Jaeger <aj@suse.de>
17050 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17053 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17056 which ROUND is no valid rounding mode.
17058 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17060 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17062 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17064 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17066 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17067 an exception using FPU order intentionally.
17069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17071 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17072 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17073 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17074 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17076 2012-04-05 Simon Josefsson <simon@josefsson.org>
17079 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17080 EINVAL when BUFLEN is too smal.
17082 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17085 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17086 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17088 2012-04-03 Andreas Jaeger <aj@suse.de>
17091 * manual/setjmp.texi (System V contexts): Fix sentence.
17094 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17095 New macro for this case.
17096 [!__GNUC__] (__bswap_64): New inline function for this case.
17097 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17098 * bits/byteswap.h: Likewise.
17099 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17100 ull, guard with __GLIBC_HAVE_LONG_LONG.
17102 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17103 __GLIBC_HAVE_LONG_LONG.
17105 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17106 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17108 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17111 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17112 inptr and inend, rather than using last_ch.
17114 2012-04-02 David S. Miller <davem@davemloft.net>
17116 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17117 * stdio-common/printf-parse.h (read_int): Change return type to
17118 'int', return -1 on INT_MAX overflow.
17119 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17120 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17121 overflows INT_MAX. Check for overflow of in-format-string precision
17122 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17123 SIZE_MAX not INT_MAX for integer overflow test.
17124 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17125 skip the construct in the format string but do not record anything.
17126 * stdio-common/bug22.c: Adjust to test both width/prevision
17127 INT_MAX overflow as well as total length INT_MAX overflow. Check
17128 explicitly for proper errno values.
17130 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17132 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17134 * string/test-strcmp.c [! WIDE]: Likewise.
17135 * time/tst-mktime2.c: Likewise for INT_MAX.
17136 * string/test-string.h: #include <sys/param.h> for MIN.
17138 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17139 * sysdeps/i386/init-first.c (init): Likewise.
17140 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17141 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17142 * sysdeps/sh/init-first.c (init): Likewise.
17144 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17146 * po/ru.po: Update from translation team.
17147 * po/vi.po: Likewise.
17149 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17151 * resolv/nss_dns/dns-host.c: Merge copyright years.
17153 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17156 Optimize memcpy with prefetch if
17157 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17158 src, dst pointers have unequal 16 byte alignments.
17160 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17163 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17164 from a CNAME entry and return the minimum ttl for the query.
17165 (gaih_getanswer_slice): Likewise.
17167 2012-03-30 Jeff Law <law@redhat.com>
17169 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17171 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17172 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17174 * resolv/nss_dns/dns-host.c: Update copyright year.
17176 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17178 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17179 requests to save a system call. Fix check that all bytes are sent.
17181 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17182 comments for sendmmsg.
17184 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17187 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17188 with only 1 character between 0x0041 and 0x01b0.
17189 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17190 * wcsmbs/tst-mbsnrtowcs.c: New file.
17192 2012-03-29 David S. Miller <davem@davemloft.net>
17194 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17195 small copies by hand.
17197 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17201 _nss_compat_initgroups_dyn): Fall back to malloc/free
17202 for large group memberships.
17204 2012-03-28 David S. Miller <davem@davemloft.net>
17206 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17207 that branches into memcpy.
17208 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17211 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17214 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17215 implementation too.
17216 * sysdeps/sparc/mempcpy.S: New file.
17218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17219 the IFUNC routine in the libc case.
17220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17222 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17223 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17224 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17225 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17226 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17227 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17228 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17229 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17231 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17232 loop to 256 bytes instead of 64 bytes and fix test signedness.
17234 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17235 * sysdeps/sparc/sparc32/Makefile: rather than here...
17236 * sysdeps/sparc/sparc64/Makefile: and here.
17238 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17240 * malloc/mallocbug.c: Avoid warnings about unused variables.
17242 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17245 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17246 in the right place. Discard and retry query if response is
17247 larger than input buffer size.
17249 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17255 x for large integer exponent.
17256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17257 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17258 sign of result as needed afterwards.
17259 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17260 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17261 result for underflowing pow the same as for overflow.
17262 (__kernel_standard_l): Handle powl overflow and underflow here
17263 rather than calling __kernel_standard.
17264 * math/libm-test.inc (pow_test): Add more tests.
17279 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17280 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17281 (__kernel_standard_l): New function.
17282 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17284 * math/w_acosl.c (__acosl): Likewise.
17285 * math/w_asinl.c (__asinl): Likewise.
17286 * math/w_atan2l.c (__atan2l): Likewise.
17287 * math/w_atanhl.c (__atanhl): Likewise.
17288 * math/w_coshl.c (__coshl): Likewise.
17289 * math/w_exp10l.c (__exp10l): Likewise.
17290 * math/w_exp2l.c (__exp2l): Likewise.
17291 * math/w_fmodl.c (__fmodl): Likewise.
17292 * math/w_hypotl.c (__hypotl): Likewise.
17293 * math/w_j0l.c (__j0l, __y0l): Likewise.
17294 * math/w_j1l.c (__j1l, __y1l): Likewise.
17295 * math/w_jnl.c (__jnl, __ynl): Likewise.
17296 * math/w_lgammal.c (__lgammal): Likewise.
17297 * math/w_log10l.c (__log10l): Likewise.
17298 * math/w_log2l.c (__log2l): Likewise.
17299 * math/w_logl.c (__logl): Likewise.
17300 * math/w_powl.c (__powl): Likewise.
17301 * math/w_remainderl.c (__remainderl): Likewise.
17302 * math/w_scalbl.c (sysv_scalbl): Likewise.
17303 * math/w_sinhl.c (__sinhl): Likewise.
17304 * math/w_sqrtl.c (__sqrtl): Likewise.
17305 * math/w_tgammal.c (__tgammal): Likewise.
17306 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17307 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17308 * math/libm-test.inc (acos_test): Add more tests.
17309 (acosh_test): Likewise.
17310 (asin_test): Likewise.
17311 (atanh_test): Likewise.
17312 (exp_test): Likewise.
17313 (exp10_test): Likewise.
17314 (exp2_test): Likewise.
17315 (expm1_test): Likewise.
17316 (lgamma_test): Likewise.
17317 (log_test): Likewise.
17318 (log10_test): Likewise.
17319 (log1p_test): Likewise.
17320 (log2_test): Likewise.
17321 (pow_test): Do not allow some spurious overflow exceptions.
17322 (sqrt_test): Add more tests.
17323 (tgamma_test): Likewise.
17324 (y0_test): Likewise.
17325 (y1_test): Likewise.
17326 (yn_test): Likewise.
17328 2012-03-27 Anton Blanchard <anton@samba.org>
17330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17333 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17336 2012-03-27 David S. Miller <davem@davemloft.net>
17338 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17340 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17341 have-as-vis3 check.
17343 2012-03-27 Andreas Jaeger <aj@suse.de>
17345 * sysdeps/x86_64/elf/configure.in: Moved to ...
17346 * sysdeps/x86_64/configure.in: ... here.
17347 * sysdeps/x86_64/elf/start.S: Moved to ...
17348 * sysdeps/x86_64/start.S: ... here.
17349 * sysdeps/x86_64/elf/configure: Delete.
17351 * sysdeps/x86_64/configure.in: Merge contents from
17352 sysdeps/i386/configure.in (without i686 check).
17354 * sysdeps/i386/elf/Versions: Merge into ...
17355 * sysdeps/i386/Versions: ... this.
17356 * sysdeps/i386/elf/Versions: Delete file.
17357 * sysdeps/i386/elf/start.S: Moved to ...
17358 * sysdeps/i386/start.S: ...here.
17359 * sysdeps/i386/elf/configure.in: Merge into...
17360 * sysdeps/i386/configure.in: ...here.
17361 * sysdeps/i386/elf/configure.in: Delete file.
17362 * sysdeps/i386/elf/configure: Delete file.
17364 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17365 * debug/backtracesyms.c: ... here.
17366 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17367 * debug/backtracesymsfd.c: ... here.
17368 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17369 * sysdeps/generic/ifunc-sel.h: ... here.
17371 * sysdeps/unix/i386/start.c: Delete file.
17372 * sysdeps/unix/sparc/start.c: Delete file.
17373 * sysdeps/unix/start.c: Delete file.
17375 * sysdeps/sh/elf/configure.in: Moved to ...
17376 * sysdeps/sh/configure.in: ... here.
17377 * sysdeps/sh/elf/start.S: Moved to ...
17378 * sysdeps/sh/start.S: ... here.
17379 * sysdeps/sh/elf/configure: Delete file.
17381 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17382 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17383 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17384 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17385 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17386 * sysdeps/powerpc/powerpc64/start.S: here.
17387 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17388 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17389 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17390 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17391 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17393 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17394 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17395 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17396 * sysdeps/powerpc/powerpc32/start.S: ... here.
17397 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17398 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17399 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17401 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17402 * sysdeps/powerpc/ifunc-sel.h: ... here.
17403 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17404 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17406 * sysdeps/sparc/elf/configure.in: Moved to ...
17407 * sysdeps/sparc/configure.in: ... here.
17408 * sysdeps/sparc/elf/configure: Delete file.
17409 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17410 * sysdeps/sparc/sparc32/start.S: ... here.
17411 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17412 * sysdeps/sparc/sparc64/start.S: ... here.
17413 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17414 * sysdeps/sparc/sparc32/Makefile: ... this.
17415 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17416 * sysdeps/sparc/sparc64/Makefile: ... this.
17418 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17419 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17420 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17421 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17422 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17423 * sysdeps/s390/s390-32/setjmp.S: ... here.
17424 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17425 * sysdeps/s390/s390-32/configure.in: ... here.
17426 * sysdeps/s390/s390-32/elf/configure: Delete file.
17427 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17428 * sysdeps/s390/s390-32/start.S: ... here.
17430 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17431 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17432 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17433 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17434 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17435 * sysdeps/s390/s390-64/setjmp.S: ... here.
17436 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17437 * sysdeps/s390/s390-64/configure.in: ... here
17438 * sysdeps/s390/s390-64/elf/configure: Delete file.
17439 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17440 * sysdeps/s390/s390-64/start.S: ... here.
17441 * sysdeps/s390/s390-64/elf/configure: Delete.
17443 * configure.in: Remove support for elf directories in sysdeps.
17445 * configure: Regenerated.
17446 * sysdeps/i386/configure: Regenerated.
17447 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17448 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17449 * sysdeps/s390/s390-32/configure: Regenerated.
17450 * sysdeps/s390/s390-64/configure: Regenerated.
17451 * sysdeps/sh/configure: Regenerated.
17452 * sysdeps/sparc/configure: Regenerated.
17453 * sysdeps/x86_64/configure: Regenerated.
17455 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17460 denormal result into account.
17462 2012-03-25 Roland McGrath <roland@hack.frob.com>
17464 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17465 Reported by Allan McRae <allan@archlinux.org>.
17467 2012-03-23 Jeff Law <law@redhat.com>
17469 * nss/getnssent.c (__nss_getent): Fix typo.
17471 2012-03-23 David S. Miller <davem@davemloft.net>
17473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17475 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17477 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17478 to pad to uint64_t for each field.
17479 (dl_tls_index): Replace unsigned long with uint64_t.
17481 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17482 Paul Pluzhnikov <ppluzhnikov@google.com>
17485 * grp/Makefile (otherlibs): Don't set it.
17486 * inet/Makefile (otherlibs): Likewise.
17487 * login/Makefile (otherlibs): Likewise.
17488 * nscd/Makefile (otherlibs): Likewise.
17489 * posix/Makefile (otherlibs): Likewise.
17490 * pwd/Makefile (otherlibs): Likewise.
17491 * rt/Makefile (otherlibs): Likewise.
17492 * sunrpc/Makefile (otherlibs): Likewise.
17493 * nss/Makefile (otherlibs): Likewise.
17494 Add libnss_files to routines and static-only-routines.
17495 ($(objpfx)getent): Remove rule.
17496 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17497 static-only-routines.
17499 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17502 * math/s_cexp.c: Include <float.h>.
17503 (__cexp): Handle exp result overflowing not necessarily
17504 overflowing both real and imaginary parts of result.
17505 * math/s_cexpf.c: Likewise.
17506 * math/s_cexpl.c: Likewise.
17507 * math/libm-test.inc (cexp_test): Add more tests.
17508 * sysdeps/i386/fpu/libm-test-ulps: Update.
17509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17511 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17513 * include/link.h (ELFW): New macro.
17514 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17515 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17517 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17519 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17522 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17524 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17526 (struct La_x32_retval): Likewise.
17528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17530 * sysdeps/x86_64/preconfigure.in: New file.
17531 * sysdeps/x86_64/preconfigure: New generated file.
17533 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17536 * math/e_exp2l.c: Include <float.h>.
17537 (__ieee754_exp2l): Handle overflow and underflow cases
17538 separately. Only pass fractional part of argument to
17540 * math/libm-test.inc (exp2_test): Add more tests.
17542 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17543 negating x to take absolute value.
17544 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17549 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17550 computing low part if x was negated.
17551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17553 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17555 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17556 la_x32_gnu_pltexit.
17557 (pltexit): Cast int_retval to ptrdiff_t.
17558 * elf/tst-auditmod3b.c: Likewise.
17559 * elf/tst-auditmod4b.c: Likewise.
17560 * elf/tst-auditmod5b.c: Likewise.
17561 * elf/tst-auditmod6b.c: Likewise.
17562 * elf/tst-auditmod6c.c: Likewise.
17563 * elf/tst-auditmod7b.c: Likewise.
17565 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17566 and x32_gnu_pltexit.
17568 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17569 __ELF_NATIVE_CLASS.
17570 (La_x32_regs): New macro.
17571 (La_x32_retval): Likewise.
17572 (la_x32_gnu_pltenter): New function prototype.
17573 (la_x32_gnu_pltexit): Likewise.
17575 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17582 * configure.in (libc_cv_cc_nofma): Check for option to disable
17583 generation of FMA instructions.
17584 * configure: Regenerate.
17585 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17586 * sysdeps/ieee754/dbl-64/Makefile: New file.
17587 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17588 Remove brandred-fma4.
17589 (CFLAGS-brandred-fma4.c): Remove.
17590 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17591 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17593 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17596 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17598 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17599 LLONG_MAX != LONG_MAX.
17600 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17601 (_fitoa_word): Likewise.
17602 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17603 LLONG_MAX != LONG_MAX.
17604 * stdio-common/_itowa.h: Include <_itoa.h>.
17605 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17606 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17607 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17608 only if not defined.
17609 (_ITOA_WORD_TYPE): Likewise.
17610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17611 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17613 2012-03-21 David S. Miller <davem@davemloft.net>
17615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17617 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17619 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17620 of x86_64 when setting libc_cv_slibdir, libdir and
17622 * sysdeps/unix/sysv/linux/configure: Regenerated.
17624 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17626 * manual/lang.texi (Old Varargs): Remove section.
17627 (How Variadic): Update menu.
17628 (va_start): Do not mention varargs.h.
17630 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17631 Joseph Myers <joseph@codesourcery.com>
17633 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17635 * configure: Regenerated.
17637 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17639 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17640 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17643 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17646 * Makefile (files-for-dist): Remove NOTES.
17647 (NOTES): Remove rule.
17648 * README: Don't refer to NOTES.
17649 * manual/creature.texi: Don't include macros.texi.
17650 * manual/intro.texi (creature.texi): Remove comment referring to
17653 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17654 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17655 * configure: Regenerated.
17656 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17657 LIBC_TRY_CC_OPTION.
17658 (libc_cv_as_i686): Likewise.
17659 (libc_cv_cc_avx): Likewise.
17660 (libc_cv_cc_sse2avx): Likewise.
17661 (libc_cv_cc_fma4): Likewise.
17662 (libc_cv_cc_novzeroupper): Likewise.
17663 * sysdeps/i386/configure: Regenerated.
17666 * sysdeps/i386/fpu/s_cexp.S: Remove.
17667 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17668 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17669 * math/libm-test.inc (cexp_test): Add more tests.
17670 * sysdeps/i386/fpu/libm-test-ulps: Update.
17671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17673 2012-03-21 Allan McRae <allan@archlinux.org>
17675 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17677 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17680 * math/w_exp2.c: Do not include <float.h>.
17681 (o_threshold, u_threshold): Remove.
17682 (__exp2): Calculate result before checking finiteness and calling
17684 * math/w_exp2f.c: Likewise.
17685 * math/w_exp2l.c: Likewise.
17686 * math/libm-test.inc (exp2_test): Require overflow exception for
17690 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17691 range of signed 64-bit integers before using fistpll. Remove
17692 checks for whether integers fit in mantissa bits.
17693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17694 the range of signed 32-bit integers before using fistpl. Remove
17695 checks for whether integers fit in mantissa bits.
17696 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17697 (__ieee754_powl): Test for y outside the range of signed 64-bit
17698 integers before using fistpll. Reduce 64-bit values to 63-bit
17700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17701 divide-by-zero is raised for zero to large negative powers.
17702 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17703 (__ieee754_powl): Test for y outside the range of signed 64-bit
17704 integers before using fistpll. Reduce 64-bit values to 63-bit
17706 * math/libm-test.inc (pow_test): Add more tests.
17708 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17710 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17711 <stdio-common/_itoa.h>.
17712 * debug/segfault.c: Likewise.
17713 * elf/dl-cache.c: Likewise.
17714 * elf/dl-minimal.c: Likewise.
17715 * elf/dl-misc.c: Likewise.
17716 * elf/dl-sysdep.c: Likewise.
17717 * elf/dl-version.c: Likewise.
17718 * elf/rtld.c: Likewise.
17719 * hurd/hurdsock.c: Likewise.
17720 * hurd/lookup-retry.c: Likewise.
17721 * malloc/malloc.c: Likewise.
17722 * malloc/mtrace.c: Likewise.
17723 * nscd/nscd_getgr_r.c: Likewise.
17724 * nscd/nscd_getpw_r.c: Likewise.
17725 * nscd/nscd_getserv_r.c: Likewise.
17726 * posix/getopt_init.c: Likewise.
17727 * posix/wordexp.c: Likewise.
17728 * stdio-common/_itoa.c: Likewise.
17729 * stdio-common/printf_fphex.c: Likewise.
17730 * stdio-common/vfprintf.c: Likewise.
17731 * string/_strerror.c: Likewise.
17732 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17733 * sysdeps/i386/i686/hp-timing.h: Likewise.
17734 * sysdeps/mach/_strerror.c: Likewise.
17735 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17736 * sysdeps/mach/hurd/sethostid.c: Likewise.
17737 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17738 * sysdeps/mach/xpg-strerror.c: Likewise.
17739 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17741 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17742 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17744 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17745 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17746 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17747 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17748 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17749 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17750 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17751 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17752 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17753 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17754 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17755 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17756 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17757 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17758 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17761 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17763 * stdio-common/_itoa.h: Moved to ...
17764 * sysdeps/generic/_itoa.h: Here.
17766 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17768 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17769 instead of "_itoa.h" and "_itowa.h".
17770 * stdio-common/vfprintf.: Likewise.
17772 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17774 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17776 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17777 (__signbit): Likwise.
17778 (llrintf): Likwise.
17781 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17783 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17786 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17788 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17789 OVERFLOW_EXCEPTION_OK.
17790 * math/libm-test.inc ("Philosophy"): Update comment about
17792 (OVERFLOW_EXCEPTION): Define.
17793 (OVERFLOW_EXCEPTION_OK): Likewise.
17794 (INVALID_EXCEPTION_OK): Renumber.
17795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17796 (IGNORE_ZERO_INF_SIGN): Likewise.
17797 (test_exceptions): Handle FE_OVERFLOW.
17798 (exp10_test): Expect overflow exceptions.
17799 (exp2_test): Likewise.
17800 (expm1_test): Likewise.
17801 (nextafter_test): Likewise.
17802 (pow_test): Likewise.
17803 (scalbn_test): Likewise.
17804 (scalbln_test): Likewise.
17806 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17808 * sysdeps/x86_64/bits/atomic.h
17809 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17811 (atomic_exchange_acq): Likewise.
17812 (__arch_exchange_and_add_body): Likewise.
17813 (__arch_add_body): Likewise.
17814 (atomic_add_negative): Likewise.
17815 (atomic_add_zero): Likewise.
17817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17819 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17820 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17824 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17825 Check __x86_64__ instead of __WORDSIZE.
17827 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17829 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17831 2012-03-19 David S. Miller <davem@davemloft.net>
17833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17835 * sysdeps/sparc/fpu/fenv_private.h: New file.
17836 * sysdeps/sparc/fpu/math_private.h: Use it.
17837 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17839 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17840 (libc_feholdexcept_setroundl): Remove.
17841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17843 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17844 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17846 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17848 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17849 int64_t instead of long int.
17850 (INSERT_WORDS64): Likwise.
17852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17854 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17855 _Unwind_GetCFA return to _Unwind_Ptr first.
17857 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17860 * math/s_clog.c: Include <float.h>.
17861 (__clog): Scale large or subnormal inputs.
17862 * math/s_clogf.c: Likewise.
17863 * math/s_clogl.c: Likewise.
17864 * math/s_clog10.c: Include <float.h>.
17865 (M_LOG10_2): Define.
17866 (__clog10): Scale large or subnormal inputs.
17867 * math/s_clog10f.c: Likewise.
17868 * math/s_clog10l.c: Likewise.
17869 * math/libm-test.inc (clog_test): Add more tests.
17870 (clog10_test): Likewise.
17871 * sysdeps/i386/fpu/libm-test-ulps: Update.
17872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17877 * math/libm-test.inc (atan2_test): Add another test.
17879 * Makerules (common-objdir-compile): Remove.
17880 * sysdeps/unix/Makefile (config-generated): Do not add
17881 $(unix-generated) to variable.
17882 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17883 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17885 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17887 [generic bits/local_lim.h] (before-compile): Do not append to
17889 [generic bits/local_lim.h] (common-generated): Likewise.
17890 [generic sys/param.h] (before-compile): Do not append to variable.
17891 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17892 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17893 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17894 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17896 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17897 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17898 [generic sys/param.h] ($(addprefix
17899 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17900 [generic sys/param.h] (common-generated): Do not append to
17902 [generic sys/param.h] (sysdep_headers): Likewise.
17903 [generic bits/errno.h] (before-compile): Do not append to
17905 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17907 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17908 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17909 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17910 [generic bits/errno.h] (common-generated): Do not append to
17912 [generic bits/ioctls.h] (before-compile): Do not append to
17914 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17916 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17917 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17918 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17920 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17921 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17922 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17923 [generic bits/ioctls.h] (common-generated): Do not append to
17925 [generic sys/syscall.h] (syscall.h): Remove variable.
17926 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17928 [generic sys/syscall.h] (before-compile): Do not append to
17930 [generic sys/syscall.h] (common-generated): Likewise.
17931 * sysdeps/unix/errnos-tmpl.c: Remove file.
17932 * sysdeps/unix/errnos.awk: Likewise.
17933 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17934 * sysdeps/unix/ioctls.awk: Likewise.
17935 * sysdeps/unix/mk-local_lim.c: Likewise.
17936 * sysdeps/unix/snarf-ioctls: Likewise.
17938 2012-03-19 Richard Henderson <rth@twiddle.net>
17940 * sysdeps/i386/fpu/fenv_private.h: New file.
17941 * sysdeps/i386/fpu/math_private.h: Use it.
17942 (math_opt_barrier, math_force_eval): Remove.
17943 (libc_feholdexcept_setround_53bit): Remove.
17944 (libc_feupdateenv_53bit): Remove.
17945 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17946 (math_opt_barrier, math_force_eval): Remove.
17947 (libc_feholdexcept): Remove.
17948 (libc_feholdexcept_setround): Remove.
17949 (libc_fetestexcept, libc_fesetenv): Remove.
17950 (libc_feupdateenv_test): Remove.
17951 (libc_feupdateenv, libc_feholdsetround): Remove.
17952 (libc_feresetround): Remove.
17954 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17955 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17957 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17958 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17959 (libc_feupdateenv_testl): New.
17960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17961 (libc_feupdateenv_testf): New.
17962 (libc_feupdateenv): Use libc_feupdateenv_test.
17963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17964 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17966 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17967 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17968 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17969 (libc_feresetround_noex): New.
17970 (libc_feresetround_noexf): New.
17971 (libc_feresetround_noexl): New.
17972 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17973 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17974 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17975 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17980 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17981 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17982 SET_RESTORE_ROUND_NOEX.
17983 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17984 SET_RESTORE_ROUND_NOEXF.
17985 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17986 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17987 (libc_feholdsetroundf): New.
17988 (libc_feresetround, libc_feresetroundf): New.
17990 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17991 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17992 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17994 * sysdeps/generic/math_private.h: Include <fenv.h>.
17995 (default_libc_feholdexcept): New.
17996 (default_libc_feholdexcept_setround): New.
17997 (default_libc_fesetenv, default_libc_feupdateenv): New.
17998 (libc_feholdexcept): Only define if undefined.
17999 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18000 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18001 (libc_feholdexcept_setroundl): Likewise.
18002 (libc_feholdexcept_setround_53bit): Likewise.
18003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18004 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18005 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18006 (libc_feupdateenv_53bit): Likewise.
18007 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18008 (libc_feholdexcept): Convert from macro to inline function.
18009 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18010 (libc_fesetenv, libc_feupdateenv): Likewise.
18012 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18013 not previously defined.
18014 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18015 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18016 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18017 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18018 * sysdeps/ieee754/flt-32/math_private.h: New file.
18019 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18020 math_private.h below SET_FLOAT_WORD.
18021 (__isnan, __isinf_ns, __finite): Remove.
18022 (__isnanf, __isinf_nsf, __finitef): Remove.
18024 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18028 2012-03-17 David S. Miller <davem@davemloft.net>
18031 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18034 2012-03-16 David S. Miller <davem@davemloft.net>
18036 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18042 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18043 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18044 sysdep_routines when subdir is sysvipc.
18045 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18046 __getshmlba helper.
18048 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18052 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18059 (__lround): Renamed to ...
18060 (__llround): This. Replace long int with long long int.
18061 Define lround functions as aliases of llround functions.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18064 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18066 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18067 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18068 adresses to uintptr_t. Replace "long int" and "unsigned long
18069 int" with "greg_t" on va_arg.
18071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18073 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18074 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18076 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18077 Move e_machine check before EI_CLASS check. Handle x32
18078 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18079 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18080 SKIP_EM_IA_64 and include
18081 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18083 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18084 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18085 (add_system_dir): New macro.
18087 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18088 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18090 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18101 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18103 * math/w_j0f.c (j0f): Likewise.
18105 * math/w_j0l.c (__j0l): Likewise.
18107 * math/w_j1.c (j1): Likewise.
18109 * math/w_j1f.c (j1f): Likewise.
18111 * math/w_j1l.c (__j1l): Likewise.
18113 * math/w_jn.c (jn): Likewise.
18115 * math/w_jnf.c (jnf): Likewise.
18117 * math/w_jnl.c (__jnl): Likewise.
18119 * math/libm-test.inc (j0_test): Add more tests.
18120 (j1_test): Likewise.
18121 (jn_test): Likewise. Add trailing semicolon to existing test.
18122 (y0_test): Likewise.
18123 (y1_test): Likewise.
18124 * sysdeps/i386/fpu/libm-test-ulps: Update.
18125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18130 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18131 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18133 (__tanl): Set errno for infinite argument.
18134 * sysdeps/i386/fpu/mptan.c: Remove.
18135 * sysdeps/i386/fpu/s_tan.S: Likewise.
18136 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18137 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18138 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18139 * math/libm-test.inc (tan_test): Add more tests and enable more
18140 tests for double and long double.
18141 * sysdeps/i386/fpu/libm-test-ulps: Update.
18142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18146 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18147 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18149 2012-03-16 Roland McGrath <roland@hack.frob.com>
18151 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18152 * configure.in: Use it for both main tree and add-ons.
18153 * configure: Regenerated.
18155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18157 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18159 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18165 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18166 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18171 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18173 != 0 for prec == 2.
18174 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18175 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18176 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18177 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18178 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18179 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18180 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18181 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18182 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18183 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18184 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18185 * math/libm-test.inc (cos_test): Add more tests and enable more
18186 tests for long double.
18187 (sin_test): Likewise.
18188 (sincos_test): Likewise.
18189 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18192 2012-03-16 David S. Miller <davem@davemloft.net>
18194 * sysdeps/sparc/fpu/math_private.h: New file.
18196 2012-03-15 David S. Miller <davem@davemloft.net>
18198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18212 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18213 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18215 * sysdeps/sparc/sparc-ifunc.h: New file.
18216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18261 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18263 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18267 2012-03-15 Andreas Jaeger <aj@suse.de>
18270 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18271 ieee754/flt-32 implementation for sin, cos and sincos.
18272 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18273 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18274 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18275 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18276 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18277 ieee754/flt-32 implementation for tan.
18279 * math/libm-test.inc (cos_test): Enable some large input tests for
18281 (sin_test): Likewise.
18282 (sincos_test): Likewise.
18283 (tan_test): Add tests for large input.
18285 * sysdeps/i386/fpu/libm-test-ulps: Update.
18287 2012-03-15 Andreas Jaeger <aj@suse.de>
18290 * math/libm-test.inc (cos_test): Add more test cases.
18291 (sin_test): Likewise.
18292 (sincos_test): Likewise.
18294 2012-03-15 Andreas Jaeger <aj@suse.de>
18297 * math/libm-test.inc (cos_test): Add a test case for large input
18299 (sin_test): Likewise.
18300 (sincos_test): Likewise.
18302 2012-03-15 Andreas Jaeger <aj@suse.de>,
18303 Joseph Myers <joseph@codesourcery.com>
18306 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18307 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18308 * sysdeps/i386/fpu/branred.c: Likewise.
18309 * sysdeps/i386/fpu/dosincos.c: Likewise.
18310 * sysdeps/i386/fpu/mpa.c: Likewise.
18311 * sysdeps/i386/fpu/s_cos.S: Likewise.
18312 * sysdeps/i386/fpu/s_sin.S: Likewise.
18313 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18314 * sysdeps/i386/fpu/sincos32.c: Likewise.
18316 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18318 (libc_feupdateenv_53bit): Define.
18319 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18321 (libc_feupdateenv_53bit): Define.
18323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18324 53 bit (without extend i386 double precision).
18326 * math/libm-test.inc (sincos_test): Add tests for large input.
18330 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18332 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18336 2012-03-15 David S. Miller <davem@davemloft.net>
18338 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18340 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18366 fmin/fmax sysdep routines.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18369 2012-03-14 David S. Miller <davem@davemloft.net>
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18448 * sysdeps/sparc/configure.in: New file.
18449 * sysdeps/sparc/configure: Generate.
18450 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18451 * configure: Regenerate.
18452 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18453 * config.make.in (have-as-vis3): New.
18454 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18455 available use -Av9d instead of -Av9a.
18456 * sysdeps/sparc/sparc64/Makefile: Likewise.
18457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18473 fzeros/fnegs to load 0x80000000 into a float register instead of
18475 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18477 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18481 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18482 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18483 ($(inst_includedir)/bits/syscall.h): Remove rule.
18484 ($(objpfx)bits/syscall.d): Include instead of
18485 $(objpfx)syscall-list.d.
18486 (generated): Change syscall-list.h and syscall-list.d to
18487 bits/syscall.h and bits/syscall.d.
18489 2012-03-14 Roland McGrath <roland@hack.frob.com>
18492 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18497 * math/s_csqrt.c: Include <float.h>.
18498 (__csqrt): Scale large or subnormal inputs.
18499 * math/s_csqrtf.c: Likewise.
18500 * math/s_csqrtl.c: Likewise.
18501 * math/libm-test.inc (csqrt_test): Add more tests.
18502 * sysdeps/i386/fpu/libm-test-ulps: Update.
18503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506 * math/libm-test.inc (hypot_test): Add more tests.
18508 2012-03-13 David S. Miller <davem@davemloft.net>
18511 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18512 double-precision for the calculation instead of scaling.
18514 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18516 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18517 manipulate bits before adding and subtracting TWO52[sx].
18518 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18523 2012-03-13 David S. Miller <davem@davemloft.net>
18525 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18526 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18528 rtld-global-offsets.h
18529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18531 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18534 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18536 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18537 'err' in the ifdef scope in which it is actually used.
18539 * nss/nss_db/db-init.c: Include string.h
18541 2012-03-12 David S. Miller <davem@davemloft.net>
18543 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18544 masking out of the most significant byte of random value used.
18545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18546 Fix coding style in previous change.
18548 * sysdeps/unix/sysv/linux/kernel-features.h
18549 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18550 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18552 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18555 2012-03-11 David S. Miller <davem@davemloft.net>
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18558 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18559 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18560 for 'resultvar' otherwise things get truncated on 64-bit.
18562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18563 Fix masking out of the most significant byte of random value used.
18565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18567 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18571 2012-03-09 David S. Miller <davem@davemloft.net>
18573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18574 variables with appropriate CPP guards.
18575 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18576 frame pointer, not the stack pointer. Correct layout comments. Fix test
18577 on resulting framesize and the management of the outregs buffer for pltexit.
18578 Preserve floating point return values across _dl_call_pltexit call.
18579 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18580 framesize and the management of the outregs buffer for pltexit.
18581 Preserve floating point return values across _dl_call_pltexit
18583 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18584 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18585 (print_exit): Fix format string for return register value.
18587 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18589 * sunrpc/Makefile (others): Add rpcgen.
18590 ($(objpfx)rpcgen): Remove special build rule and dependency on
18592 * sunrpc/rpcgen.c: New file.
18594 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18597 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18598 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18599 * sysdeps/i386/crti.S: Likewise.
18600 * sysdeps/i386/crtn.S: Likewise.
18601 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18602 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18603 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18604 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18605 * sysdeps/sh/crti.S: Likewise.
18606 * sysdeps/sh/crtn.S: Likewise.
18607 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18610 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18612 * locale/programs/locfile-kw.gperf: Likewise.
18613 * locale/programs/charmap-kw.h: Regenerated.
18614 * locale/programs/locfile-kw.h: Likewise.
18617 * intl/plural.y: Replace FSF snail mail address with URL.
18618 * intl/plural.c: Regenerated.
18620 2012-03-09 Richard Henderson <rth@twiddle.net>
18622 * include/math_private.h: Remove file.
18623 * math/math_private.h: Move file ...
18624 * sysdeps/generic/math_private.h: ... here.
18626 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18627 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18628 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18630 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18631 and <math_private.h>.
18632 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18633 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18634 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18635 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18636 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18720 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18729 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18730 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18731 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18732 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18733 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18734 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18737 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18738 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18739 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18741 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18742 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18749 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18751 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18752 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18757 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18774 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18775 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18781 * sysdeps/ieee754/k_standard.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18875 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18897 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18902 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18909 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18914 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18930 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18931 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18932 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18942 * sysdeps/ieee754/s_lib_version.c: Likewise.
18943 * sysdeps/ieee754/s_matherr.c: Likewise.
18944 * sysdeps/ieee754/s_signgam.c: Likewise.
18945 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18946 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18947 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18948 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18949 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18950 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18951 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18952 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18953 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18954 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18955 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18956 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18957 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18958 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18959 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18962 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18963 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18967 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18969 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18970 * sunrpc/rpc_main.c: Likewise.
18971 * sunrpc/rpc_svcout.c: Likewise.
18973 2012-03-09 David S. Miller <davem@davemloft.net>
18975 * include/math_private.h: New file.
18977 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18979 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18980 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18981 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18982 from <bits/socket_type.h>.
18983 (enum __socket_type): Don't define here.
18984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18986 bits/socket_type.h.
18989 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18990 checking __USE_GNU.
18992 * Makerules ($(inst_includedir)/%.h): New rule.
18993 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18994 (install-others): Remove variable setting.
18995 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18997 2012-03-08 Richard Henderson <rth@twiddle.net>
18999 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19000 from macro to inline function; merge with the
19001 !__LIBC_INTERNAL_MATH_INLINES version.
19002 (__ieee754_sqrtf): Likewise.
19004 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19005 to inline function.
19006 (__rintf, __floor, __floorf): Likewise.
19008 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19009 macro to inline function.
19010 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19012 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19013 not <math/math_private.h>.
19015 2012-03-08 David S. Miller <davem@davemloft.net>
19017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19019 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19021 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19023 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19025 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19026 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19028 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19030 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19031 be defined individually, they must be defined as a block. Define
19032 S for printing a string instead of hidint the different by using a
19033 macro for adding the 'l'.
19034 * stdio-common/tst-fphex-wide.c: Adjust.
19036 2012-03-07 Marek Polacek <polacek@redhat.com>
19038 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19040 2012-03-08 Marek Polacek <polacek@redhat.com>
19043 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19044 * stdio-common/tst-fphex.c: Define a few macros to make the
19045 test reusable. Use them.
19046 * stdio-common/tst-fphex-wide.c: New file.
19048 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19051 * manual/macros.texi (gnusystems): New macro.
19052 (nongnusystems): Likewise.
19053 (gnulinuxhurdsystems): Likewise.
19054 (gnuhurdsystems): Likewise..
19055 (gnulinuxsystems): Likewise.
19056 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19057 variants of the GNU system, not "GNU system".
19058 * manual/conf.texi: Likewise.
19059 * manual/errno.texi: Likewise. Update example of errno macro
19061 * manual/filesys.texi: Likewise.
19062 (getumask): Document as specific to GNU/Hurd.
19063 * manual/install.texi: Likewise. Reword some references to
19065 * manual/intro.texi: Likewise.
19066 * manual/io.texi: Likewise.
19067 (File Name Portability): Detail which constraints are inapplicable
19068 to all GNU systems and which are only inapplicable to GNU/Hurd.
19069 * manual/job.texi: Likewise.
19070 * manual/llio.texi: Likewise.
19071 (O_NOCTTY): Document as present on GNU/Linux.
19072 * manual/maint.texi: Likewise.
19073 * manual/memory.texi: Likewise.
19074 * manual/pattern.texi: Likewise.
19075 * manual/pipe.texi: Likewise.
19076 * manual/process.texi: Likewise.
19077 * manual/resource.texi: Likewise.
19078 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19080 * manual/setjmp.texi: Likewise.
19081 * manual/signal.texi: Likewise.
19082 * manual/startup.texi: Likewise.
19083 * manual/stdio.texi: Likewise.
19084 * manual/terminal.texi: Likewise.
19085 (ONLCR): Document as POSIX.
19086 (OXTABS): Document availability on GNU/Linux as XTABS.
19087 (ONOEOT): Document availability separately from other bits.
19088 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19089 * manual/time.texi: Likewise.
19090 * manual/users.texi: Likewise.
19091 * INSTALL: Regenerated.
19092 * sysdeps/gnu/errlist.c: Regenerated.
19094 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19095 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19096 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19098 * configure: Regenerated.
19100 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19102 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19103 default includes instead of AC_HEADER_CHECK.
19104 * sysdeps/i386/configure: Regenerated.
19107 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19108 * math/s_cacoshf.c (__cacoshf): Likewise.
19109 * math/s_cacoshl.c (__cacoshl): Likewise.
19110 * math/s_casinh.c (__casinh): Set signs of result from argument.
19111 * math/s_casinhf.c (__casinhf): Likewise.
19112 * math/s_casinhl.c (__casinhl): Likewise.
19113 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19114 (casinh_test): Add more tests.
19115 * sysdeps/i386/fpu/libm-test-ulps: Update.
19116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19118 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19120 * po/zh_TW.po: Update from translation team.
19122 * login/Makefile (distribute): Remove variable.
19123 * catgets/Makefile: Likewise.
19124 * mach/Makefile: Likewise.
19125 * malloc/Makefile: Likewise.
19126 * misc/Makefile: Likewise.
19127 * iconv/Makefile: Likewise.
19128 * nscd/Makefile: Likewise.
19129 * hurd/Makefile: Likewise.
19130 * manual/Makefile: Likewise.
19131 * locale/Makefile: Likewise.
19132 * intl/Makefile: Likewise.
19133 * conform/Makefile: Likewise.
19134 * nss/Makefile: Likewise.
19135 * time/Makefile: Likewise.
19136 * soft-fp/Makefile: Likewise.
19137 * dirent/Makefile: Likewise.
19138 * gmon/Makefile: Likewise.
19139 * po/Makefile: Likewise.
19140 * rt/Makefile: Likewise.
19141 * socket/Makefile: Likewise.
19142 * math/Makefile: Likewise.
19143 * signal/Makefile: Likewise.
19144 * debug/Makefile: Likewise.
19145 * elf/Makefile: Likewise.
19146 * timezone/Makefile: Likewise.
19147 * stdlib/Makefile: Likewise.
19148 * iconvdata/Makefile: Likewise.
19149 * sunrpc/Makefile: Likewise.
19150 * io/Makefile: Likewise.
19151 * argp/Makefile: Likewise.
19152 * inet/Makefile: Likewise.
19153 * hesiod/Makefile: Likewise.
19154 * grp/Makefile: Likewise.
19155 * csu/Makefile: Likewise.
19156 * wctype/Makefile: Likewise.
19157 * crypt/Makefile: Likewise.
19158 * libio/Makefile: Likewise.
19159 * string/Makefile: Likewise.
19160 * nis/Makefile: Likewise.
19161 * resolv/Makefile: Likewise.
19162 * stdio-common/Makefile: Likewise.
19163 * wcsmbs/Makefile: Likewise.
19164 * dlfcn/Makefile: Likewise.
19165 * posix/Makefile: Likewise.
19168 * timezone/Makefile: Don't install timezone files, just the programs
19171 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19173 * nss/databases.def: Add missing gshadow entry.
19175 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19177 2012-03-06 Marek Polacek <polacek@redhat.com>
19180 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19181 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19182 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19183 * stdio-common/tst-long-dbl-fphex.c: New file.
19185 2012-03-06 David S. Miller <davem@davemloft.net>
19187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19188 (set_obp_int): New function.
19189 (get_obp_int): New function.
19190 (__get_clockfreq_via_dev_openprom): Likewise.
19191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19192 Avoid unused variable warnings on 'val' and use builtin_expect.
19193 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19195 (INLINE_CLONE_SYSCALL): Likewise.
19197 2012-03-05 David S. Miller <davem@davemloft.net>
19199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19201 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19206 only for |x| >= 40.
19207 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19209 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19212 Replace gettimeofday with __vdso_gettimeofday.
19214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19215 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19216 __vdso_clock_gettime and __vdso_getcpu.
19218 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19219 time with __vdso_time.
19221 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19223 * manual/lang.texi (size_t): Note types to which size_t may be
19224 equivalent with the GNU C Library, but do not describe when
19225 differences between them are significant.
19227 2012-03-05 Andreas Jaeger <aj@suse.de>
19229 * sysdeps/i386/fpu/libm-test-ulps: Update.
19231 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19234 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19235 (__ieee754_pow): Save and restore rounding mode and use
19236 round-to-nearest for main computations.
19237 * math/libm-test.inc (pow_test_tonearest): New function.
19238 (pow_test_towardzero): Likewise.
19239 (pow_test_downward): Likewise.
19240 (pow_test_upward): Likewise.
19241 (main): Call the new functions.
19242 * sysdeps/i386/fpu/libm-test-ulps: Update.
19243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19246 * math/libm-test.inc (cosh_test_tonearest): New function.
19247 (cosh_test_towardzero): Likewise.
19248 (cosh_test_downward): Likewise.
19249 (cosh_test_upward): Likewise.
19250 (sinh_test_tonearest): Likewise.
19251 (sinh_test_towardzero): Likewise.
19252 (sinh_test_downward): Likewise.
19253 (sinh_test_upward): Likewise.
19254 (main): Call the new functions.
19255 * sysdeps/i386/fpu/libm-test-ulps: Update.
19256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258 2012-03-05 Tom de Vries <tom@codesourcery.com>
19260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19261 default stack guard is set in last bytes.
19262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19264 2012-03-05 Kees Cook <keescook@chromium.org>
19266 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19269 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19270 possibly allocate from heap instead of stack.
19271 * stdio-common/bug-vfprintf-nargs.c: New file.
19272 * stdio-common/Makefile (tests): Add nargs overflow test.
19274 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19278 2012-03-03 Marek Polacek <polacek@redhat.com>
19280 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19281 * math/math_private.h: Likewise.
19282 * stdlib/tst-strtod.c: Likewise.
19283 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19284 * sysdeps/x86_64/bits/atomic.h: Likewise.
19286 2012-03-02 David S. Miller <davem@davemloft.net>
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19292 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19293 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19294 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19295 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19297 2012-03-02 Roland McGrath <roland@hack.frob.com>
19300 * manual/examples/README: New file, says the example source files
19301 can be used under GPL>=2.
19302 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19303 line containing just "*/".
19304 * manual/examples/add.c: Add copyright header (GPL>=2).
19305 * manual/examples/argp-ex1.c: Likewise.
19306 * manual/examples/argp-ex2.c: Likewise.
19307 * manual/examples/argp-ex3.c: Likewise.
19308 * manual/examples/argp-ex4.c: Likewise.
19309 * manual/examples/atexit.c: Likewise.
19310 * manual/examples/db.c: Likewise.
19311 * manual/examples/dir.c: Likewise.
19312 * manual/examples/dir2.c: Likewise.
19313 * manual/examples/execinfo.c: Likewise.
19314 * manual/examples/filecli.c: Likewise.
19315 * manual/examples/filesrv.c: Likewise.
19316 * manual/examples/fmtmsgexpl.c: Likewise.
19317 * manual/examples/genpass.c: Likewise.
19318 * manual/examples/inetcli.c: Likewise.
19319 * manual/examples/inetsrv.c: Likewise.
19320 * manual/examples/isockad.c: Likewise.
19321 * manual/examples/longopt.c: Likewise.
19322 * manual/examples/memopen.c: Likewise.
19323 * manual/examples/memstrm.c: Likewise.
19324 * manual/examples/mkfsock.c: Likewise.
19325 * manual/examples/mkisock.c: Likewise.
19326 * manual/examples/mygetpass.c: Likewise.
19327 * manual/examples/pipe.c: Likewise.
19328 * manual/examples/popen.c: Likewise.
19329 * manual/examples/rprintf.c: Likewise.
19330 * manual/examples/search.c: Likewise.
19331 * manual/examples/select.c: Likewise.
19332 * manual/examples/setjmp.c: Likewise.
19333 * manual/examples/sigh1.c: Likewise.
19334 * manual/examples/sigusr.c: Likewise.
19335 * manual/examples/stpcpy.c: Likewise.
19336 * manual/examples/strdupa.c: Likewise.
19337 * manual/examples/strftim.c: Likewise.
19338 * manual/examples/strncat.c: Likewise.
19339 * manual/examples/subopt.c: Likewise.
19340 * manual/examples/swapcontext.c: Likewise.
19341 * manual/examples/termios.c: Likewise.
19342 * manual/examples/testopt.c: Likewise.
19343 * manual/examples/testpass.c: Likewise.
19344 * manual/examples/timeval_subtract.c: Likewise.
19347 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19349 * manual/timeval_subtract.c.texi: ... here, new file.
19351 2012-03-02 David S. Miller <davem@davemloft.net>
19353 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19355 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19358 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19359 (__sin): Save and restore rounding mode and use round-to-nearest
19360 for all computations.
19361 (__cos): Save and restore rounding mode and use round-to-nearest
19362 for all computations.
19363 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19365 (tan): Save and restore rounding mode and use round-to-nearest for
19367 * math/libm-test.inc (cos_test_tonearest): New function.
19368 (cos_test_towardzero): Likewise.
19369 (cos_test_downward): Likewise.
19370 (cos_test_upward): Likewise.
19371 (sin_test_tonearest): Likewise.
19372 (sin_test_towardzero): Likewise.
19373 (sin_test_downward): Likewise.
19374 (sin_test_upward): Likewise.
19375 (tan_test_tonearest): Likewise.
19376 (tan_test_towardzero): Likewise.
19377 (tan_test_downward): Likewise.
19378 (tan_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.
19384 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19385 small n, then large n, before computing and testing k+n.
19386 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19391 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19392 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19393 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19394 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19398 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19399 * math/libm-test.inc (scalbn_test): Add more tests.
19400 (scalbln_test): Likewise.
19402 * manual/filesys.texi (mode_t): Describe constraints on size and
19403 signedness, not exact equivalence to a particular type.
19405 (ino64_t): Likewise.
19407 (nlink_t): Likewise.
19408 (blkcnt_t): Likewise.
19409 (blkcnt64_t): Likewise.
19410 * manual/llio.texi (off_t): Likewise.
19413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19414 (__ieee754_exp): Save and restore rounding mode and use
19415 round-to-nearest for all computations.
19416 * math/libm-test.inc (exp_test_tonearest): New function.
19417 (exp_test_towardzero): Likewise.
19418 (exp_test_downward): Likewise.
19419 (exp_test_upward): Likewise.
19420 (main): Call the new functions.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19424 2012-03-01 Chris Demetriou <cgd@google.com>
19426 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19427 have predictable order.
19429 2012-03-01 David S. Miller <davem@davemloft.net>
19431 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19433 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19434 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19435 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19436 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19438 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19439 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19440 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19442 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19443 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19444 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19445 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19446 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19451 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19454 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19455 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19456 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19457 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19458 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19461 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19462 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19463 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19464 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19465 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19467 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19468 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19470 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19471 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19472 * sysdeps/sparc/elf/configure: Regenerated.
19474 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19476 * configure.in (AS, LD): Require binutils 2.20 or later.
19477 * configure: Regenerated.
19478 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19479 as required minimum version.
19480 * INSTALL: Regenerated.
19484 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19485 before squaring exponent.
19486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19487 bottom long double and 27 bits of top long double before squaring
19489 * math/libm-test.inc (erfc_test): Add more tests.
19490 * sysdeps/i386/fpu/libm-test-ulps: Update.
19491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19494 2012-03-01 Kai Tietz <ktietz@redhat.com>
19496 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19497 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19498 containing bit-fields.
19499 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19500 * soft-fp/single.h (_FP_UNION_S): Likewise.
19501 * soft-fp/double.h (_FP_UNION_D): Likewise.
19503 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19506 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19507 not include ../strcmp.S.
19508 [USE_AS_STRNCASECMP_L]: Likewise.
19509 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19510 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19511 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19512 (__strncasecmp_l_ia32): Define as alias to
19513 __strncasecmp_l_nonascii.
19516 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19517 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19523 2012-02-29 Jeff Law <law@redhat.com>
19525 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19526 out of bounds read.
19528 2012-02-29 Marek Polacek <polacek@redhat.com>
19531 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19532 * elf/Makefile: Add rules to run tst-unused-dep.out.
19534 2012-02-28 David S. Miller <davem@davemloft.net>
19536 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19537 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19539 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19540 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19541 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19543 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19545 * math/libm-test.inc (llround_test): Move one test from
19546 lround_test. Use TEST_f_L in moved test.
19547 (lround_test): Move misplaced test to llround_test. Add testcase
19550 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19552 * sysdeps/x86_64/fpu/e_expf.S: New file.
19553 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19555 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19558 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19559 of remain_len that may cause incomplete multi-byte character and
19561 * posix/bug-regex33.c: New file.
19562 * posix/Makefile (tests): Add bug-regex33.
19564 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19566 * manual/macros.texi: New file.
19567 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19568 * manual/libc.texinfo: Include macros.texi.
19569 * manual/creatute.texi: Likewise.
19570 * manual/install.texi: Likewise.
19571 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19572 @glibcadj{} in references to the GNU C Library.
19573 * manual/charset.texi: Likewise.
19574 * manual/conf.texi: Likewise.
19575 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19576 when not using those macros.
19577 * manual/creature.texi: Likewise.
19578 * manual/crypt.texi: Likewise.
19579 * manual/errno.texi: Likewise.
19580 * manual/filesys.texi: Likewise.
19581 * manual/header.texi: Likewise.
19582 * manual/install.texi: Likewise.
19583 * manual/intro.texi: Likewise.
19584 * manual/io.texi: Likewise.
19585 * manual/job.texi: Likewise.
19586 * manual/lang.texi: Likewise.
19587 * manual/libc.texiinfo: Likewise.
19588 * manual/llio.texi: Likewise.
19589 * manual/locale.texi: Likewise.
19590 * manual/maint.texi: Likewise.
19591 * manual/math.texi: Likewise.
19592 * manual/memory.texi: Likewise.
19593 * manual/message.texi: Likewise.
19594 * manual/nss.texi: Likewise.
19595 * manual/pattern.texi: Likewise.
19596 * manual/process.texi: Likewise.
19597 * manual/resource.texi: Likewise.
19598 * manual/search.texi: Likewise.
19599 * manual/setjmp.texi: Likewise.
19600 * manual/signal.texi: Likewise.
19601 * manual/socket.texi: Likewise.
19602 * manual/startup.texi: Likewise.
19603 * manual/stdio.texi: Likewise.
19604 * manual/string.texi: Likewise.
19605 * manual/sysinfo.texi: Likewise.
19606 * manual/syslog.texi: Likewise.
19607 * manual/terminal.texi: Likewise.
19608 * manual/time.texi: Likewise.
19609 * manual/users.texi: Likewise.
19610 * INSTALL: Regenerated.
19611 * NOTES: Regenerated.
19612 * sysdeps/gnu/errlist.c: Regenerated.
19614 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19616 * include/dirent.h: Include <dirstream.h> before
19619 2012-02-28 David S. Miller <davem@davemloft.net>
19621 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19622 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19623 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19624 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19626 2012-02-27 David S. Miller <davem@davemloft.net>
19628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19630 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19631 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19634 frame pointer instead of stack pointer relative arg slot.
19635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19636 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19637 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19639 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19642 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19644 2012-02-27 David S. Miller <davem@davemloft.net>
19646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19650 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19651 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19652 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19653 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19655 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19657 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19658 later. Allow versions 5-9.
19659 * configure: Regenerated.
19660 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19661 required minimum version and 4.6 as recommended version. Do not
19662 mention bugs in GCC 2.7 and 2.8.
19663 * INSTALL: Regenerated.
19665 2012-02-27 David S. Miller <davem@davemloft.net>
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19671 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19672 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19673 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19674 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19677 manipulate bits before adding and subtracting TWO112[sx].
19678 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19680 2012-02-27 Roland McGrath <roland@hack.frob.com>
19683 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19684 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19685 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19686 being in POSIX, because they are in 1003.1-2008.
19688 * rt/tst-aio.c: Include <fcntl.h>.
19689 * rt/tst-aio7.c: Likewise.
19690 * rt/tst-aio64.c: Likewise.
19692 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19694 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19696 * manual/install.texi (--with-headers): Describe headers as
19697 interface headers, not private headers.
19698 (Specific advice for GNU/Linux systems): Describe use of headers
19699 from "make headers_install", not private headers from older
19701 * INSTALL: Regenerated.
19702 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19704 * sysdeps/unix/sysv/linux/configure: Regenerated.
19706 * manual/llio.texi (fclean): Remove documentation.
19708 * manual/Makefile (libc-texi-generated): New variable. Include
19710 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19711 $(libc-texi-generated), not duplicated list of files.
19712 (version.texi, stamp-version): New rules.
19713 (realclean): Remove $(libc-texi-generated), not individual files
19714 from that list. Do not remove dir-add.texinfo.
19715 * manual/libc.texinfo: Comment out uses of edition numbers and
19716 references to printed manual. Remove last-updated dates.
19717 (EDITION): Comment out.
19719 (VERSION, UPDATED): Remove.
19720 (version.texi): Include.
19722 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19724 * sysdeps/posix/spawni.c: Include <signal.h>.
19725 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19726 * sysdeps/pthread/aio_fsync.c: Likewise.
19728 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19730 * conform/Makefile (tests): Run only when not cross-compiling and
19731 when fast-check is not defined.
19733 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19734 * conform/data/limits.h-data: Fixes for POSIX2008.
19735 * conform/run-conformtest.sh: Run all tests.
19736 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19738 * include/bits/dlfcn.h: Likewise.
19739 * include/langinfo.h: Likewise.
19740 * include/monetary.h: Likewise.
19741 * include/sys/poll.h: Likewise.
19743 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19745 * posix/spawn.h: Define __need_sigset_t.
19746 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19747 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19748 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19749 to get sigevent_t only.
19750 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19751 only for __USE_GNU.
19752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19753 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19754 process_vm_writev only for __USE_GNU.
19755 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19757 * conform/Makefile: For now ignore errors from run-conformtest.
19758 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19759 POSIX to avoid namespace pollution. Don't prepend headers.
19760 * conform/data/aio.h-data: Fixes for POSIX testing.
19761 * conform/data/fcntl.h-data: Likewise.
19762 * conform/data/glob.h-data: Likewise.
19763 * conform/data/grp.h-data: Likewise.
19764 * conform/data/pthread.h-data: Likewise.
19765 * conform/data/pwd.h-data: Likewise.
19766 * conform/data/signal.h-data: Likewise.
19767 * conform/data/spawn.h-data: Likewise.
19768 * conform/data/stdio.h-data: Likewise.
19769 * conform/data/stdlib.h-data: Likewise.
19770 * conform/data/stropts.h-data: Likewise.
19771 * conform/data/sys/mman.h-data: Likewise.
19772 * conform/data/sys/stat.h-data: Likewise.
19773 * conform/data/sys/types.h-data: Likewise.
19774 * conform/data/sys/wait.h-data: Likewise.
19775 * conform/data/time.h-data: Likewise.
19776 * conform/data/unistd.h-data: Likewise.
19777 * conform/data/utime.h-data: Likewise.
19779 * io/sys/stat.h: fchmod was always in POSIX.
19780 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19781 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19782 * rt/aio.h: Define __need_timespec before including <time.h>.
19783 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19784 struct. Add forward declaration of pthread_attr_t and use it in
19786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19788 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19789 always remove CLK_TCK definition.
19791 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19793 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19795 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19797 * conform/run-conformtest.sh: New file.
19798 * conform/Makefile: Run run-conformtest for tests.
19799 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19802 * conform/data/uchar.h-data: New file.
19803 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19804 * conform/data/arpa/inet.h-data: Likewise.
19805 * conform/data/assert.h-data: Likewise.
19806 * conform/data/complex.h-data: Likewise.
19807 * conform/data/cpio.h-data: Likewise.
19808 * conform/data/ctype.h-data: Likewise.
19809 * conform/data/dirent.h-data: Likewise.
19810 * conform/data/dlfcn.h-data: Likewise.
19811 * conform/data/errno.h-data: Likewise.
19812 * conform/data/fcntl.h-data: Likewise.
19813 * conform/data/float.h-data: Likewise.
19814 * conform/data/fmtmsg.h-data: Likewise.
19815 * conform/data/fnmatch.h-data: Likewise.
19816 * conform/data/ftw.h-data: Likewise.
19817 * conform/data/glob.h-data: Likewise.
19818 * conform/data/grp.h-data: Likewise.
19819 * conform/data/iconv.h-data: Likewise.
19820 * conform/data/inttypes.h-data: Likewise.
19821 * conform/data/langinfo.h-data: Likewise.
19822 * conform/data/libgen.h-data: Likewise.
19823 * conform/data/limits.h-data: Likewise.
19824 * conform/data/locale.h-data: Likewise.
19825 * conform/data/math.h-data: Likewise.
19826 * conform/data/monetary.h-data: Likewise.
19827 * conform/data/mqueue.h-data: Likewise.
19828 * conform/data/ndbm.h-data: Likewise.
19829 * conform/data/net/if.h-data: Likewise.
19830 * conform/data/netdb.h-data: Likewise.
19831 * conform/data/netinet/in.h-data: Likewise.
19832 * conform/data/nl_types.h-data: Likewise.
19833 * conform/data/poll.h-data: Likewise.
19834 * conform/data/pthread.h-data: Likewise.
19835 * conform/data/pwd.h-data: Likewise.
19836 * conform/data/regex.h-data: Likewise.
19837 * conform/data/sched.h-data: Likewise.
19838 * conform/data/search.h-data: Likewise.
19839 * conform/data/semaphore.h-data: Likewise.
19840 * conform/data/setjmp.h-data: Likewise.
19841 * conform/data/signal.h-data: Likewise.
19842 * conform/data/spawn.h-data: Likewise.
19843 * conform/data/stdarg.h-data: Likewise.
19844 * conform/data/stdio.h-data: Likewise.
19845 * conform/data/stdlib.h-data: Likewise.
19846 * conform/data/string.h-data: Likewise.
19847 * conform/data/strings.h-data: Likewise.
19848 * conform/data/stropts.h-data: Likewise.
19849 * conform/data/sys/ipc.h-data: Likewise.
19850 * conform/data/sys/mman.h-data: Likewise.
19851 * conform/data/sys/msg.h-data: Likewise.
19852 * conform/data/sys/resource.h-data: Likewise.
19853 * conform/data/sys/select.h-data: Likewise.
19854 * conform/data/sys/sem.h-data: Likewise.
19855 * conform/data/sys/shm.h-data: Likewise.
19856 * conform/data/sys/socket.h-data: Likewise.
19857 * conform/data/sys/stat.h-data: Likewise.
19858 * conform/data/sys/statvfs.h-data: Likewise.
19859 * conform/data/sys/time.h-data: Likewise.
19860 * conform/data/sys/timeb.h-data: Likewise.
19861 * conform/data/sys/times.h-data: Likewise.
19862 * conform/data/sys/types.h-data: Likewise.
19863 * conform/data/sys/uio.h-data: Likewise.
19864 * conform/data/sys/un.h-data: Likewise.
19865 * conform/data/sys/utsname.h-data: Likewise.
19866 * conform/data/sys/wait.h-data: Likewise.
19867 * conform/data/syslog.h-data: Likewise.
19868 * conform/data/tar.h-data: Likewise.
19869 * conform/data/termios.h-data: Likewise.
19870 * conform/data/utime.h-data: Likewise.
19871 * conform/data/utmpx.h-data: Likewise.
19872 * conform/data/varargs.h-data: Likewise.
19873 * conform/data/wchar.h-data: Likewise.
19874 * conform/data/wctype.h-data: Likewise.
19875 * conform/data/wordexp.h-data: Likewise.
19877 * include/stropts.h: New file.
19878 * include/uchar.h: New file.
19879 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19880 * include/assert.h: Likewise.
19881 * include/ctype.h: Likewise.
19882 * include/dirent.h: Likewise.
19883 * include/dlfcn.h: Likewise.
19884 * include/fcntl.h: Likewise.
19885 * include/fnmatch.h: Likewise.
19886 * include/glob.h: Likewise.
19887 * include/grp.h: Likewise.
19888 * include/libio.h: Likewise.
19889 * include/locale.h: Likewise.
19890 * include/math.h: Likewise.
19891 * include/net/if.h: Likewise.
19892 * include/netdb.h: Likewise.
19893 * include/netinet/in.h: Likewise.
19894 * include/pthread.h: Likewise.
19895 * include/pwd.h: Likewise.
19896 * include/regex.h: Likewise.
19897 * include/sched.h: Likewise.
19898 * include/search.h: Likewise.
19899 * include/setjmp.h: Likewise.
19900 * include/signal.h: Likewise.
19901 * include/stdio.h: Likewise.
19902 * include/stdlib.h: Likewise.
19903 * include/string.h: Likewise.
19904 * include/sys/cdefs.h: Likewise.
19905 * include/sys/mman.h: Likewise.
19906 * include/sys/msg.h: Likewise.
19907 * include/sys/resource.h: Likewise.
19908 * include/sys/select.h: Likewise.
19909 * include/sys/socket.h: Likewise.
19910 * include/sys/stat.h: Likewise.
19911 * include/sys/statvfs.h: Likewise.
19912 * include/sys/time.h: Likewise.
19913 * include/sys/times.h: Likewise.
19914 * include/sys/uio.h: Likewise.
19915 * include/sys/utsname.h: Likewise.
19916 * include/sys/wait.h: Likewise.
19917 * include/termios.h: Likewise.
19918 * include/time.h: Likewise.
19919 * include/ulimit.h: Likewise.
19920 * include/unistd.h: Likewise.
19921 * include/utime.h: Likewise.
19922 * include/wchar.h: Likewise.
19923 * include/wctype.h: Likewise.
19924 * include/wordexp.h: Likewise.
19926 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19928 * time/time.h: TIME_UTC must be a macro.
19929 Make timespec_get available for ISO C11 only as well.
19931 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19933 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19934 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19936 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19938 * configure.in: Use -o not -a in test for unsupported multi-arch.
19940 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19942 * manual/texinfo.tex: Update to version 2012-01-19.16.
19944 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19946 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19948 2012-02-24 Roland McGrath <roland@hack.frob.com>
19951 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19952 * manual/fdl-1.3.texi: New file.
19953 * manual/fdl-1.1.texi: File removed.
19956 * manual/libc.texinfo (FDL_VERSION): New @set.
19957 Use it for mention of FDL in cover text.
19958 (Documentation License): Use it in @include file name.
19960 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19961 Roland McGrath <roland@hack.frob.com>
19964 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19965 not LONG_LONG_MAX and LONG_LONG_MIN.
19966 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19967 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19969 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19971 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19975 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19976 manipulate bits before adding and subtracting TWO23[sx].
19977 * math/libm-test.inc (nearbyint_test): Add more tests.
19979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19982 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19983 bits before adding and subtracting TWO23[sx].
19984 * math/libm-test.inc (rint_test): Add more tests.
19985 (rint_test_tonearest): Likewise.
19986 (rint_test_towardzero): Likewise.
19987 (rint_test_downward): Likewise.
19988 (rint_test_upward: Likewise.
19990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19993 * include/stdc-predef.h: New file. Extracted from features.h.
19994 * include/features.h: Include stdc-predef.h.
19995 * Makefile (headers): Add stdc-predef.h.
19996 * CONFORMANCE (Compiler limitations): Update.
19998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20000 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20002 2012-02-21 David S. Miller <davem@davemloft.net>
20004 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20005 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20007 2012-02-20 David S. Miller <davem@davemloft.net>
20009 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20010 using a normal save/restore sequence, rather than allocating a
20011 dummy stack frame just to store a frame pointer and restore.
20012 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20014 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20016 * manual/install.texi: Fix stray word in line-wrapped comment.
20018 2012-02-20 David S. Miller <davem@davemloft.net>
20020 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20021 both binutils and gcc support GOTDATA.
20023 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20024 "rd %pc" in the PIC register setup sequences.
20026 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20027 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20028 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20029 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20030 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20032 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20035 (SYSCALL_ERROR_HANDLER): Likewise.
20036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20037 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20039 (SYSCALL_ERROR_HANDLER): Likewise.
20041 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20042 (HAVE_GCC_GOTDATA): New.
20043 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20044 relocation support in both binutils and gcc.
20045 * sysdeps/sparc/elf/configure: Regenerate.
20047 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20048 * sysdeps/sparc/sparc32/elf/configure: Delete.
20049 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20050 * sysdeps/sparc/sparc64/elf/configure: Delete.
20051 * sysdeps/sparc/elf/configure.in: New file.
20052 * sysdeps/sparc/elf/configure: Generate.
20054 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20055 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20056 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20057 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20058 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20060 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20062 * manual/install.texi: Do not mention specific glibc version
20064 * manual/libc.texinfo (VERSION, UPDATED): Update.
20065 (@copying): Use @copyright{} and range of years.
20067 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20070 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20071 [crti.S not in sysdirs] (generated): Do not append.
20072 [crti.S not in sysdirs] (omit-deps): Likewise.
20073 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20074 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20075 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20076 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20077 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20079 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20080 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20081 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20082 * csu/defs.awk: Remove file.
20083 * sysdeps/generic/initfini.c: Likewise.
20084 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20086 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20089 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20091 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20092 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20093 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20096 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20098 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20099 (__EPOLL_PACKED): Define to empty if not defined by
20101 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20107 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20108 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20110 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20112 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20116 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20118 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20121 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20125 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20130 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20132 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20133 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20135 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20137 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20140 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20142 * math/w_acos.c: Use non-signaling floating-point comparisons.
20143 * math/w_acosf.c: Likewise.
20144 * math/w_acosh.c: Likewise.
20145 * math/w_acoshf.c: Likewise.
20146 * math/w_acoshl.c: Likewise.
20147 * math/w_acosl.c: Likewise.
20148 * math/w_asin.c: Likewise.
20149 * math/w_asinf.c: Likewise.
20150 * math/w_asinl.c: Likewise.
20151 * math/w_atanh.c: Likewise.
20152 * math/w_atanhf.c: Likewise.
20153 * math/w_atanhl.c: Likewise.
20154 * math/w_exp2.c: Likewise.
20155 * math/w_exp2f.c: Likewise.
20156 * math/w_exp2l.c: Likewise.
20157 * math/w_j0.c: Likewise.
20158 * math/w_j0f.c: Likewise.
20159 * math/w_j0l.c: Likewise.
20160 * math/w_j1.c: Likewise.
20161 * math/w_j1f.c: Likewise.
20162 * math/w_j1l.c: Likewise.
20163 * math/w_jn.c: Likewise.
20164 * math/w_jnf.c: Likewise.
20165 * math/w_log.c: Likewise.
20166 * math/w_log10.c: Likewise.
20167 * math/w_log10f.c: Likewise.
20168 * math/w_log10l.c: Likewise.
20169 * math/w_log2.c: Likewise.
20170 * math/w_log2f.c: Likewise.
20171 * math/w_log2l.c: Likewise.
20172 * math/w_logf.c: Likewise.
20173 * math/w_logl.c: Likewise.
20174 * math/w_sqrt.c: Likewise.
20175 * math/w_sqrtf.c: Likewise.
20176 * math/w_sqrtl.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20181 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20183 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20186 * manual/string.texi (strnlen): Use correct parameter name in
20187 equivalent expression.
20189 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20192 * manual/users.texi (seteuid): Consistently use neweuid for
20195 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20198 * manual/nss.texi (Services in the NSS configuration): Correct
20199 list of services in example configuration file.
20201 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20204 * manual/arith.texi: Remove statements about negative zero
20205 behaving identically to zero.
20207 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20210 * manual/install.texi: Do not document upgrading from libc5.
20212 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20215 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20217 2012-02-18 David S. Miller <davem@davemloft.net>
20219 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20220 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20221 %o7 across the call.
20222 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20225 SETUP_PIC_REG_LEAF.
20226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20227 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20228 * sysdeps/sparc/crtn.S: Likewise.
20230 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20232 * aout/Makefile: Remove.
20234 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20237 * manual/examples/argp-ex1.c (main): Format definition in GNU
20239 * manual/examples/argp-ex2.c (main): Likewise.
20240 * manual/examples/argp-ex3.c (main): Likewise.
20241 * manual/examples/argp-ex4.c (main): Likewise.
20242 * manual/examples/longopt.c (main): Use new-style prototype
20244 * manual/examples/strncat.c (main): Specify return type and use
20245 (void) for arguments.
20246 * manual/examples/subopt.c (main): Use char **argv argument.
20248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20251 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20254 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20257 * manual/string.texi (strchr): Change when strchrnul is
20260 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20263 * manual/locale.texi (setlocale): Document LOCPATH.
20265 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20268 * manual/process.texi (execle): Move @dots{} before last argument.
20270 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20273 * manual/charset.texi (Generic Charset Conversion): Fix typo
20274 (LC_TYPE -> LC_CTYPE).
20276 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20279 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20280 (scalbnf): Likewise.
20281 (scalbnl): Likewise.
20282 (scalbln): Likewise.
20283 (scalblnf): Likewise.
20284 (scalblnl): Likewise.
20285 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20286 (vwarnx): Likewise.
20289 * manual/filesys.texi (telldir): Use braces around return type.
20290 * manual/llio.texi (mmap): Add space after comma.
20291 (mmap64): Likewise.
20292 * manual/math.texi (jn): Use @var{} on parameter names.
20298 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20300 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20302 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20303 (sched_get_priority_max): Likewise.
20304 * manual/signal.texi (sigvec): Add space after comma.
20305 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20307 (if_indextoname): Likewise.
20308 (if_freenameindex): Likewise.
20309 (sendto): Use ',' instead of '.' in prototype.
20310 * manual/startup.texi (syscall): Use @dots{} instead of literal
20312 * manual/stdio.texi (__fpending): Separate initial words of
20313 paragraph from @deftypefun line.
20314 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20316 (vsyslog): Use @var{} on parameter names.
20317 * manual/terminal.texi (stty): Use @var{} on parameter names.
20318 * manual/users.texi (getutmp): Use @var{} on parameter names.
20319 (getutmpx): Likewise.
20321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20324 * manual/stdio.texi (fopen): Fix typos in description of
20327 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20330 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20331 get clock_id definition.
20333 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20336 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20337 (madvise): Cast every argument to void on its own.
20339 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20342 * manual/startup.texi (Exit Status): Fix typo.
20344 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20347 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20348 * manual/examples/argp-ex2.c: Likewise.
20349 * manual/examples/argp-ex3.c: Likewise.
20351 2012-02-16 Richard Henderson <rth@redhat.com>
20353 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20354 * sysdeps/s390/s390-32/initfini.c: Remove.
20355 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20356 * sysdeps/s390/s390-64/initfini.c: Remove.
20358 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20360 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20361 compiler output for sysdeps/generic/initfini.c.
20362 * sysdeps/sh/elf/initfini.c: Remove file.
20364 2012-02-16 David S. Miller <davem@davemloft.net>
20367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20369 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20370 * sysdeps/sparc/crti.S: New file.
20371 * sysdeps/sparc/crtn.S: New file.
20372 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20373 * sysdeps/sparc/sparc64/Makefile: Likewise.
20375 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20378 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20380 2012-02-15 Roland McGrath <roland@hack.frob.com>
20383 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20385 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20386 (write, read, close): Likewise.
20387 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20389 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20391 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20392 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20393 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20394 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20396 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20400 2012-02-14 Marek Polacek <polacek@redhat.com>
20402 * sysdeps/x86_64/crti.S: New file.
20403 * sysdeps/x86_64/crtn.S: New file.
20404 * sysdeps/x86_64/elf/initfini.c: Remove file.
20406 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20408 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20409 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20410 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20411 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20413 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20417 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20419 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20420 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20421 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20422 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20424 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20428 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20430 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20431 __feraiseexcept instead of feraiseexcept.
20433 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20434 nanosleep invocations.
20435 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20436 strings, and add error checking for a nanosleep invocations.
20438 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20440 Replace FSF snail mail address with URLs, as per GNU coding standards.
20441 Most of the snail mail addresses were wrong anyway, and omitting
20442 them makes the source code easier to maintain. Almost all of the
20443 changes are to license notices and to locale LC_IDENTIFICATION
20444 addresses, except for this one:
20445 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20446 not its snail mail address.
20448 2012-02-09 Richard Henderson <rth@twiddle.net>
20450 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20451 of kernel-features.h.
20453 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20455 2012-02-08 Marek Polacek <polacek@redhat.com>
20457 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20458 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20459 * sysdeps/gnu/_G_config.h: Likewise.
20460 * sysdeps/generic/_G_config.h: Likewise.
20462 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20464 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20468 * sysdeps/powerpc/powerpc32/crti.S: New file.
20469 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20470 * sysdeps/powerpc/powerpc64/crti.S: New file.
20471 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20473 * Makeconfig (have-initfini): Don't set.
20474 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20475 * configure.in (nopic_initfini): Don't substitute.
20476 * config.h.in (HAVE_INITFINI): Don't #undef.
20477 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20478 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20480 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20482 Support crti.S and crtn.S provided directly by architectures.
20483 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20484 [crti.S in sysdirs] (omit-deps): Likewise.
20485 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20486 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20487 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20488 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20489 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20490 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20491 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20492 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20493 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20494 compiler output for sysdeps/generic/initfini.c.
20495 * sysdeps/i386/elf/Makefile: Remove file.
20496 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20498 2012-02-07 Marek Polacek <polacek@redhat.com>
20500 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20501 * sysdeps/gnu/_G_config.h: Likewise.
20502 * sysdeps/mach/hurd/_G_config.h: Likewise.
20504 2012-02-07 Marek Polacek <polacek@redhat.com>
20506 * math/Makefile (tests): Add tst-CMPLX2.
20507 * math/tst-CMPLX2.c: New file.
20509 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20511 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20513 * math/libm-test.inc (jn_test): Add missing L suffix.
20515 2012-02-06 Marek Polacek <polacek@redhat.com>
20517 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20518 * sysdeps/i386/fpu/e_powf.S: Likewise.
20519 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20520 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20521 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20522 * sysdeps/i386/fpu/e_pow.S: Likewise.
20523 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20525 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20526 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20527 * sysdeps/i386/fpu/e_log2.S: Likewise.
20528 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20530 * sysdeps/i386/fpu/e_powl.S: Likewise.
20531 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20532 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20533 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20534 * sysdeps/i386/fpu/e_logl.S: Likewise.
20535 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20536 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20537 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20538 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20539 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20541 * sysdeps/i386/fpu/e_log.S: Likewise.
20542 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20544 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20545 * sysdeps/i386/fpu/e_logf.S: Likewise.
20546 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20547 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20548 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20549 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20550 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20551 * sysdeps/i386/fpu/e_log10.S: Likewise.
20552 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20554 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20555 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20556 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20557 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20558 * sysdeps/i386/asm-syntax.h: Likewise.
20559 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20561 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20562 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20563 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20564 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20565 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20566 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20567 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20568 * sysdeps/powerpc/sysdep.h: Likewise.
20569 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20570 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20572 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20575 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20577 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20579 * sysdeps/i386/sysdep.h: Include <features.h>.
20580 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20583 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20585 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20587 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20590 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20592 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20593 (SETUP_PIC_REG): Use GET_PC_THUNK.
20594 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20597 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20599 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20600 for non-PIC compilation.
20601 (SETUP_PIC_REG): Add .p2align directive.
20602 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20603 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20604 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20605 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20606 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20607 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20608 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20609 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20610 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20611 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20612 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20613 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20614 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20615 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20616 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20617 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20618 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20619 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20620 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20621 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20623 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20624 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20625 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20628 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20630 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20631 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20632 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20635 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20636 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20637 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20638 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20639 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20640 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20641 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20642 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20644 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20646 * math/tst-CMPLX.c: Include <stdio.h>.
20648 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20650 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20652 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20653 * sysdeps/sparc/bits/mathdef.h: Likewise.
20655 2012-01-31 Marek Polacek <polacek@redhat.com>
20657 * libio/libio.h: Don't define _PARAMS.
20658 * locale/programs/config.h: Don't define PARAMS.
20659 * stdlib/strtol_l.c: Likewise.
20660 (__strtol_l): Remove PARAMS from the prototype.
20662 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20664 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20665 names. Just use the correct names. Remove unnecessary wrapper
20667 * malloc/arena.c: Likewise.
20668 * malloc/hooks.c: Likewise.
20670 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20671 ARENA_TEST says not to. Simplify test for creation of a new arena.
20672 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20674 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20676 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20678 (update_get_addr): New function.
20679 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20680 GET_ADDR_MODULE parameter.
20682 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20684 * crypt/cert.c: Remove __STDC__ conditionals.
20685 * crypt/crypt-entry.c: Likewise.
20686 * crypt/crypt_util.c: Likewise.
20687 * libio/filedoalloc.c: Likewise.
20688 * libio/fileops.c: Likewise.
20689 * libio/genops.c: Likewise.
20690 * libio/iofclose.c: Likewise.
20691 * libio/iofdopen.c: Likewise.
20692 * libio/iofopen.c: Likewise.
20693 * libio/iofopen64.c: Likewise.
20694 * libio/iogetdelim.c: Likewise.
20695 * libio/iopopen.c: Likewise.
20696 * libio/obprintf.c: Likewise.
20697 * libio/oldfileops.c: Likewise.
20698 * libio/oldiofclose.c: Likewise.
20699 * libio/oldiofdopen.c: Likewise.
20700 * libio/oldiofopen.c: Likewise.
20701 * libio/oldiopopen.c: Likewise.
20702 * libio/wfiledoalloc.c: Likewise.
20703 * libio/wgenops.c: Likewise.
20704 * locale/programs/xmalloc.c: Likewise.
20705 * misc/syslog.c: Likewise.
20706 * stdio-common/xbug.c: Likewise.
20707 * string/memchr.c: Likewise.
20708 * string/memcmp.c: Likewise.
20709 * string/memrchr.c: Likewise.
20710 * string/rawmemchr.c: Likewise.
20711 * sysdeps/posix/getcwd.c: Likewise.
20712 * time/strftime_l.c: Likewise.
20714 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20716 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20717 * config.make.in (config-cflags-sse2avx): Define.
20718 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20721 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20723 * scripts/config.guess: Update from upstream config git repository.
20724 * scripts/config.sub: Likewise.
20726 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20728 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20730 (R_TILEPRO_*, R_TILEGX_*): New macros.
20732 * scripts/firstversions.awk: Fix bug in version range handling.
20734 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20736 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20738 * include/sys/epoll.h: New file.
20739 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20742 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20744 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20745 Avoid unnecessary __WORDSIZE == 64 test.
20746 (fmaxf): Use VEX format if possible.
20751 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20752 * math/math_private.h: Remove libc_fegetround* and
20754 * sysdeps/i386/configure.in: Check for -msse2avx.
20755 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20756 also if SSE2AVX is defined.
20757 Remove libc_fegetround* and libc_fesetround*.
20758 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20759 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20763 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20764 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20768 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20770 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20772 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20774 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20776 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20779 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20781 * Makeconfig (libm): Define.
20782 * elf/Makefile: Add rules to build and run tst-relsort1.
20783 * elf/tst-relsort1.c: New file.
20784 * elf/tst-relsort1mod1.c: New file.
20785 * elf/tst-relsort1mod2.c: New file.
20787 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20789 * math/s_ldexp.c: Remove __STDC__ conditionals.
20790 * math/s_ldexpf.c: Likewise.
20791 * math/s_ldexpl.c: Likewise.
20792 * math/s_nextafter.c: Likewise.
20793 * math/s_nexttowardf.c: Likewise.
20794 * math/s_significand.c: Likewise.
20795 * math/s_significandf.c: Likewise.
20796 * math/s_significandl.c: Likewise.
20797 * math/w_jnl.c: Likewise.
20798 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20799 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20800 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20801 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20802 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20811 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20813 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20814 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20815 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20817 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20818 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20819 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20820 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20822 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20823 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20824 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20825 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20826 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20827 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20828 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20829 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20830 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20832 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20833 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20834 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20835 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20836 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20837 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20838 * sysdeps/ieee754/k_standard.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20841 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20843 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20848 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20852 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20857 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20858 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20859 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20860 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20861 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20862 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20863 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20864 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20868 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20870 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20871 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20876 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20877 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20879 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20881 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20882 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20887 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20888 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20891 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20892 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20895 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20896 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20897 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20899 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20900 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20901 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20906 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20908 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20909 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20910 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20911 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20912 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20913 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20914 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20915 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20916 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20918 * sysdeps/ieee754/s_matherr.c: Likewise.
20919 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20920 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20924 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20926 * crypt/md5.h: Remove __STDC__ conditionals.
20927 * libio/libioP.h: Likewise.
20928 * locale/programs/config.h: Likewise.
20929 * sysdeps/generic/sysdep.h: Likewise.
20930 * sysdeps/i386/asm-syntax.h: Likewise.
20931 * sysdeps/s390/asm-syntax.h: Likewise.
20932 * sysdeps/unix/sysdep.h: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20936 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20938 * libio/libio.h: Remove __STDC__ conditionals.
20939 * malloc/obstack.h: Likewise.
20940 * math/complex.h: Likewise.
20941 * math/math.h: Likewise.
20942 * sysdeps/generic/_G_config.h: Likewise.
20943 * sysdeps/gnu/_G_config.h: Likewise.
20944 * sysdeps/mach/hurd/_G_config.h: Likewise.
20945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20946 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20947 * sysdeps/sparc/bits/mathdef.h: Likewise.
20949 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20953 Clean up HAS_* macros.
20954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20955 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20957 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20960 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20961 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20963 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20965 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20967 * elf/tst-unique3.cc (gets): Remove declaration.
20968 * elf/tst-unique3lib.cc (gets): Likewise.
20969 * elf/tst-unique3lib2.cc (gets): Likewise.
20970 * elf/tst-unique4.cc (gets): Likewise.
20972 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20974 * include/stdio.h: Add C++ protection. Add gets declarations and
20976 * debug/tst-chk1.c: Don't declare gets here.
20977 * stdio-common/tst-gets.c: Likewise.
20979 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20981 * posix/glob: Remove directory.
20983 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20985 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20987 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20989 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20990 of the non-standard EPFNOSUPPORT.
20992 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20994 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20995 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20996 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20998 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21000 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21002 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21004 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21006 * nscd/grpcache.c (cache_addgr): Likewise.
21007 * nscd/hstcache.c (cache_addhst): Likewise.
21008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21009 * nscd/pwdcache.c (cache_addpw): Likewise.
21010 * nscd/servicescache.c (cache_addserv): Likewise.
21012 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21014 * malloc/malloc.c: Various cleanups.
21015 * malloc/hooks.c: Likewise.
21017 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21018 * stdlib/bug-fmtmsg1.c: New file.
21020 * stdlib/fmtmsg.c (init): Add missing unlock.
21021 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21023 2012-01-12 Marek Polacek <polacek@redhat.com>
21025 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21028 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21030 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21031 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21032 macro to ensure uniqueness of label name.
21033 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21034 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21036 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21041 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21045 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21047 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21049 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21050 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21053 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21055 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21056 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21060 * math/bits/math-finite.h: Add ldexp support.
21062 2012-01-10 Marek Polacek <polacek@redhat.com>
21064 * locale/programs/localedef.h (show_archive_content): Add noreturn
21067 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21069 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21071 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21073 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21075 * io/Makefile (headers): Add bits/poll2.h.
21077 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21080 typo #include statement.
21082 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21084 * include/sys/cdefs.h: Define __attribute_alloc_size.
21085 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21086 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21087 * elf/pldd.c: Likewise.
21088 * iconv/iconv_charmap.c: Likewise.
21089 * iconv/iconvconfig.c: Likewise.
21090 * iconv/strtab.c: Likewise.
21091 * locale/programs/locale.c: Likewise.
21092 * locale/programs/localedef.h: Likewise.
21093 * locale/programs/simple-hash.c: Likewise.
21094 * nscd/nscd.h: Likewise.
21095 * nss/makedb.c: Likewise.
21096 * sysdeps/generic/ldconfig.h: Likewise.
21097 * locale/programs/localedef.c: Remove xmalloc prototype.
21098 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21100 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21105 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21107 * math/Makefile (tests): Add tst-CMPLX.
21108 * math/tst-CMPLX.c: New file.
21110 * math/complex.h (CMPLXL): Fix typo.
21112 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21113 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21115 * debug/tst-chk1.c: Add poll and ppoll tests.
21116 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21117 * include/sys/poll.h: Add hidden proto for ppoll.
21118 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21119 * sysdeps/mach/hurd/ppoll.c: Likewise.
21120 * io/ppoll.c: Likewise.
21121 * debug/poll_chk.c: New file.
21122 * debug/ppoll_chk.c: New file.
21123 * include/bits/poll2.h: New file.
21124 * io/bits/poll2.h: New file.
21127 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21129 * configure.in: static is always set to yes. Remove.
21130 * config.make.in: Don't set build-static.
21131 * Makeconfig: Remove use of build-static.
21132 * dlfcn/Makefile: Likewise.
21133 * elf/Makefile: Likewise.
21134 * math/Makefile: Likewise.
21135 * misc/Makefile: Likewise.
21136 * nptl/Makefile: Likewise.
21137 * sysdeps/mach/hurd/Makefile: Likewise.
21139 * configure.in: PWD_P is not used anymore.
21140 * config.make.in: Remove PWD_P entry.
21142 * configure.in: Remove last remnants of RANLIB.
21143 No need to check for signed size_t anymore.
21144 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21146 Remove __builtin_expect test because we require at least gcc 3.4.
21147 * aclocal.m4: Likewise.
21149 * wcsmbs/mbrtoc16.c: Implement using towc function.
21150 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21151 * wcsmbs/wcsmbsload.c: Likewise.
21152 * iconv/gconv_simple.c: Likewise.
21153 * iconv/gconv_int.h: Likewise.
21154 * iconv/gconv_builtin.h: Likewise.
21155 * iconv/iconv_prog.c: Remove CHAR16 handling.
21157 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21159 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21161 * configure.in: Remove --with-elf and --enable-bounded options.
21162 Dont set base_machine for ia64. More non-ELF conditions removed.
21163 Remove testing and setting of leading underscore information.
21164 * config.make.in (build-bounded): Set to no.
21165 * config.h.in: Remove NO_UNDERSCORES entry.
21166 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21168 * csu/start.c: Remove !NO_UNDERSCORE code.
21169 * locale/localeinfo.h: Likewise.
21170 * sysdeps/generic/machine-gmon.h: Likewise.
21171 * sysdeps/generic/sysdep.h: Likewise.
21172 * sysdeps/i386/sysdep.h: Likewise.
21173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21174 * sysdeps/mach/sysdep.h: Likewise.
21175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21177 * sysdeps/sh/sysdep.h: Likewise.
21178 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21179 * sysdeps/unix/i386/sysdep.S: Likewise.
21180 * sysdeps/unix/sparc/start.c: Likewise.
21181 * sysdeps/unix/sparc/sysdep.S: Likewise.
21182 * sysdeps/unix/sparc/sysdep.h: Likewise.
21183 * sysdeps/unix/start.c: Likewise.
21184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21185 * sysdeps/x86_64/sysdep.h: Likewise.
21187 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21190 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21192 * argp/argp-fmtstream.h: Use const instead __const.
21193 * argp/argp.h: Likewise.
21194 * assert/assert.h: Likewise.
21195 * bits/fenv.h: Likewise.
21196 * bits/sched.h: Likewise.
21197 * bits/sigset.h: Likewise.
21198 * bits/sigthread.h: Likewise.
21199 * catgets/nl_types.h: Likewise.
21200 * conform/data/pthread.h-data: Likewise.
21201 * crypt/crypt-private.h: Likewise.
21202 * crypt/crypt.h: Likewise.
21203 * crypt/crypt_util.c: Likewise.
21204 * ctype/ctype.h: Likewise.
21205 * debug/execinfo.h: Likewise.
21206 * debug/mbsnrtowcs_chk.c: Likewise.
21207 * debug/mbsrtowcs_chk.c: Likewise.
21208 * debug/wcsnrtombs_chk.c: Likewise.
21209 * debug/wcsrtombs_chk.c: Likewise.
21210 * debug/wcstombs_chk.c: Likewise.
21211 * dirent/dirent.h: Likewise.
21212 * dlfcn/dlfcn.h: Likewise.
21213 * elf/neededtest4.c: Likewise.
21214 * grp/grp.h: Likewise.
21215 * gshadow/gshadow.h: Likewise.
21216 * iconv/gconv.h: Likewise.
21217 * iconv/gconv_int.h: Likewise.
21218 * iconv/gconv_simple.c: Likewise.
21219 * iconv/iconv.h: Likewise.
21220 * iconv/loop.c: Likewise.
21221 * iconv/skeleton.c: Likewise.
21222 * include/aio.h: Likewise.
21223 * include/aliases.h: Likewise.
21224 * include/argz.h: Likewise.
21225 * include/arpa/inet.h: Likewise.
21226 * include/assert.h: Likewise.
21227 * include/dirent.h: Likewise.
21228 * include/dlfcn.h: Likewise.
21229 * include/execinfo.h: Likewise.
21230 * include/fcntl.h: Likewise.
21231 * include/fenv.h: Likewise.
21232 * include/glob.h: Likewise.
21233 * include/grp.h: Likewise.
21234 * include/libintl.h: Likewise.
21235 * include/mntent.h: Likewise.
21236 * include/netdb.h: Likewise.
21237 * include/pwd.h: Likewise.
21238 * include/rpc/netdb.h: Likewise.
21239 * include/sched.h: Likewise.
21240 * include/search.h: Likewise.
21241 * include/shadow.h: Likewise.
21242 * include/signal.h: Likewise.
21243 * include/stdio.h: Likewise.
21244 * include/stdlib.h: Likewise.
21245 * include/string.h: Likewise.
21246 * include/sys/socket.h: Likewise.
21247 * include/sys/stat.h: Likewise.
21248 * include/sys/statfs.h: Likewise.
21249 * include/sys/statvfs.h: Likewise.
21250 * include/sys/syslog.h: Likewise.
21251 * include/sys/time.h: Likewise.
21252 * include/sys/uio.h: Likewise.
21253 * include/time.h: Likewise.
21254 * include/unistd.h: Likewise.
21255 * include/utmp.h: Likewise.
21256 * include/wchar.h: Likewise.
21257 * include/wctype.h: Likewise.
21258 * inet/aliases.h: Likewise.
21259 * inet/arpa/inet.h: Likewise.
21260 * inet/netinet/ether.h: Likewise.
21261 * inet/netinet/in.h: Likewise.
21262 * intl/libintl.h: Likewise.
21263 * io/bits/fcntl2.h: Likewise.
21264 * io/fcntl.h: Likewise.
21265 * io/ftw.h: Likewise.
21266 * io/sys/poll.h: Likewise.
21267 * io/sys/stat.h: Likewise.
21268 * io/sys/statfs.h: Likewise.
21269 * io/sys/statvfs.h: Likewise.
21270 * io/utime.h: Likewise.
21271 * libio/bits/stdio.h: Likewise.
21272 * libio/bits/stdio2.h: Likewise.
21273 * libio/libio.h: Likewise.
21274 * libio/libioP.h: Likewise.
21275 * libio/stdio.h: Likewise.
21276 * locale/lc-ctype.c: Likewise.
21277 * locale/locale.h: Likewise.
21278 * login/utmp.h: Likewise.
21279 * malloc/arena.c: Likewise.
21280 * malloc/malloc.c: Likewise.
21281 * malloc/malloc.h: Likewise.
21282 * malloc/mcheck.c: Likewise.
21283 * malloc/mtrace.c: Likewise.
21284 * math/bits/mathcalls.h: Likewise.
21285 * math/fenv.h: Likewise.
21286 * math/math_private.h: Likewise.
21287 * misc/bits/error.h: Likewise.
21288 * misc/bits/syslog.h: Likewise.
21289 * misc/err.h: Likewise.
21290 * misc/error.h: Likewise.
21291 * misc/fstab.h: Likewise.
21292 * misc/mntent.h: Likewise.
21293 * misc/regexp.h: Likewise.
21294 * misc/search.h: Likewise.
21295 * misc/sgtty.h: Likewise.
21296 * misc/sys/mman.h: Likewise.
21297 * misc/sys/syslog.h: Likewise.
21298 * misc/sys/uio.h: Likewise.
21299 * misc/sys/xattr.h: Likewise.
21300 * misc/ttyent.h: Likewise.
21301 * nis/rpcsvc/ypclnt.h: Likewise.
21302 * nss/nss.h: Likewise.
21303 * posix/bits/unistd.h: Likewise.
21304 * posix/fnmatch.h: Likewise.
21305 * posix/glob.h: Likewise.
21306 * posix/sched.h: Likewise.
21307 * posix/spawn.h: Likewise.
21308 * posix/sys/wait.h: Likewise.
21309 * posix/unistd.h: Likewise.
21310 * posix/wordexp.h: Likewise.
21311 * pwd/pwd.h: Likewise.
21312 * resolv/netdb.h: Likewise.
21313 * resource/sys/resource.h: Likewise.
21314 * rt/aio.h: Likewise.
21315 * rt/bits/mqueue2.h: Likewise.
21316 * rt/mqueue.h: Likewise.
21317 * shadow/shadow.h: Likewise.
21318 * signal/signal.h: Likewise.
21319 * socket/send.c: Likewise.
21320 * socket/sendto.c: Likewise.
21321 * socket/sys/socket.h: Likewise.
21322 * stdio-common/printf.h: Likewise.
21323 * stdlib/bits/stdlib.h: Likewise.
21324 * stdlib/fmtmsg.h: Likewise.
21325 * stdlib/monetary.h: Likewise.
21326 * stdlib/stdlib.h: Likewise.
21327 * stdlib/ucontext.h: Likewise.
21328 * streams/stropts.h: Likewise.
21329 * string/argz.h: Likewise.
21330 * string/bits/string2.h: Likewise.
21331 * string/string.h: Likewise.
21332 * string/strings.h: Likewise.
21333 * sunrpc/rpc/auth.h: Likewise.
21334 * sunrpc/rpc/auth_des.h: Likewise.
21335 * sunrpc/rpc/clnt.h: Likewise.
21336 * sunrpc/rpc/netdb.h: Likewise.
21337 * sunrpc/rpc/pmap_clnt.h: Likewise.
21338 * sunrpc/rpc/xdr.h: Likewise.
21339 * sysdeps/generic/inttypes.h: Likewise.
21340 * sysdeps/generic/net/if.h: Likewise.
21341 * sysdeps/generic/sys/swap.h: Likewise.
21342 * sysdeps/gnu/net/if.h: Likewise.
21343 * sysdeps/gnu/utmpx.h: Likewise.
21344 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21345 * sysdeps/i386/i486/bits/string.h: Likewise.
21346 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21347 * sysdeps/s390/bits/string.h: Likewise.
21348 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21349 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21350 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21351 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21352 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21353 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21354 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21355 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21356 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21357 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21358 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21359 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21360 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21361 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21362 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21363 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21364 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21366 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21368 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21369 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21370 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21371 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21372 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21373 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21374 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21376 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21377 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21378 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21379 * sysvipc/sys/ipc.h: Likewise.
21380 * sysvipc/sys/msg.h: Likewise.
21381 * sysvipc/sys/sem.h: Likewise.
21382 * sysvipc/sys/shm.h: Likewise.
21383 * termios/termios.h: Likewise.
21384 * time/sys/time.h: Likewise.
21385 * time/time.h: Likewise.
21386 * wcsmbs/bits/wchar2.h: Likewise.
21387 * wcsmbs/uchar.h: Likewise.
21388 * wcsmbs/wchar.h: Likewise.
21389 * wctype/wctype.h: Likewise.
21392 * Makeconfig: Remove all but ELF support including AIX support.
21393 * Makerules: Likewise.
21394 * config.h.in: Likewise.
21395 * config.make.in: Likewise.
21396 * configure: Likewise.
21397 * configure.in: Likewise.
21398 * csu/Makefile: Likewise.
21399 * csu/version.c: Likewise.
21400 * debug/Makefile: Likewise.
21401 * dlfcn/Makefile: Likewise.
21402 * elf/Makefile: Likewise.
21403 * extra-lib.mk: Likewise.
21404 * iconv/Makefile: Likewise.
21405 * include/libc-symbols.h: Likewise.
21406 * include/shlib-compat.h: Likewise.
21407 * resolv/Makefile: Likewise.
21408 * resolv/res_libc.c: Likewise.
21409 * rt/Makefile: Likewise.
21410 * sysdeps/i386/asm-syntax.h: Likewise.
21411 * sysdeps/i386/sysdep.h: Likewise.
21412 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21413 * sysdeps/mach/sysdep.h: Likewise.
21414 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21415 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21416 * sysdeps/s390/asm-syntax.h: Likewise.
21417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21419 * sysdeps/sh/sysdep.h: Likewise.
21420 * sysdeps/unix/sparc/sysdep.h: Likewise.
21421 * sysdeps/wordsize-32/divdi3.c: Likewise.
21422 * sysdeps/x86_64/sysdep.h: Likewise.
21424 * argp/Versions: Remove _argp_unlock_xxx.
21427 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21428 * abilist/libBrokenLocale.abilist: Likewise.
21429 * abilist/libanl.abilist: Likewise.
21430 * abilist/libc.abilist: Likewise.
21431 * abilist/libcrypt.abilist: Likewise.
21432 * abilist/libdl.abilist: Likewise.
21433 * abilist/libm.abilist: Likewise.
21434 * abilist/libnsl.abilist: Likewise.
21435 * abilist/libpthread.abilist: Likewise.
21436 * abilist/libresolv.abilist: Likewise.
21437 * abilist/librt.abilist: Likewise.
21438 * abilist/libthread_db.abilist: Likewise.
21439 * abilist/libutil.abilist: Likewise.
21440 * abilist/libnss_db.abilist: New file.
21442 * scripts/abilist.awk: Add support for indirect functions.
21444 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21446 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21448 * shlib-versions: Remove entries for ports architectures.
21450 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21452 * elf/stackguard-macros.h: Remove support for IA-64.
21453 * elf/tst-auditmod1.c: Likewise.
21454 * sysdeps/generic/ldsodefs.h: Likewise.
21456 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21457 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21461 * configure.in: Remove --enable-omitfp support.
21463 * config.make.in: Likewise.
21464 * Makeconfig: Likewise.
21465 * manual/install.texi: Likewise.
21467 In case anyone cares, the IA-64 architecture could move to ports.
21468 * sysdeps/ia64/*: Removed.
21469 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21470 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21473 * configure.in: Remove entries for unsupported architectures.
21476 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21477 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21479 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21480 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21481 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21482 fall back to using wcrtomb.
21483 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21484 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21486 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21487 * wcsmbs/tst-c16c32-1.c: New file.
21489 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21492 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21494 * elf/tst-unique3.cc: Add explicit declaration of gets.
21495 * elf/tst-unique3lib.cc: Likewise.
21496 * elf/tst-unique3lib2.cc: Likewise.
21497 * elf/tst-unique4.cc: Likewise.
21499 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21501 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21504 * assert/assert.h (static_assert): Don't define for C++.
21505 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21506 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21508 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21510 * iconv/loop.c (single loop): Fix assertion in storing of
21513 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21515 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21517 * posix/getconf.c: Update copyright year.
21518 * nss/getent.c: Likewise.
21519 * nss/makedb.c: Likewise.
21520 * iconv/iconvconfig.c: Likewise.
21521 * iconv/iconv_prog.c: Likewise.
21522 * elf/ldconfig.c: Likewise.
21523 * elf/pldd.c: Likewise.
21524 * elf/sotruss.ksh: Likewise.
21525 * catgets/gencat.c: Likewise.
21526 * csu/version.c: Likewise.
21527 * elf/ldd.bash.in: Likewise.
21528 * elf/sprof.c (print_version): Likewise.
21529 * locale/programs/locale.c: Likewise.
21530 * locale/programs/localedef.c: Likewise.
21531 * login/programs/pt_chown.c: Likewise.
21532 * nscd/nscd.c (print_version): Likewise.
21533 * debug/xtrace.sh: Likewise.
21534 * malloc/memusage.sh: Likewise.
21535 * malloc/mtrace.pl: Likewise.
21536 * debug/catchsegv.sh: Likewise.
21538 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21540 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21543 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21546 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21547 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21549 * iconv/gconv_int.h: Likewise.
21550 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21551 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21552 from libc for GLIBC_2.16.
21553 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21554 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21555 * wcsmbs/uchar.h: Really define mbstate_t.
21556 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21557 * wcsmbs/c16rtomb.c: New file.
21558 * wcsmbs/mbrtoc16.c: New file.
21559 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21560 for C/POSIX locale.
21561 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21562 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21564 * wcsmbs/wchar.h: Add missing __restrict.
21566 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21569 * time/Makefile (routines): Add timespec_get.
21570 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21571 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21572 timespec for ISO C11.
21573 * time/timespec_get.c: New file.
21574 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21575 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21578 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21579 * stdlib/stdlib.h: Declare aligned_alloc.
21580 * Versions.def: Add GLIBC_2.16 for libc.
21581 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21584 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21587 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21591 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21594 * assert/assert.h (static_assert): Define.
21596 * version.h: Update for 2.16 development version.
21599 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21602 * version.h (RELEASE): Bump for 2.15 release.
21603 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21605 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21606 Patch by Marek Polacek <mpolacek@redhat.com>.
21608 * bits/byteswap.h: Protect long long constants with __extension__.
21609 * sysdeps/i386/bits/byteswap.h: Likewise.
21610 * sysdeps/ia64/bits/byteswap.h: Likewise.
21611 * sysdeps/s390/bits/byteswap.h: Likewise.
21612 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21614 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21617 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21618 destination buffer.
21619 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21621 2011-12-23 Marek Polacek <polacek@redhat.com>
21623 * elf/dl-addr.c (determine_info): Add inline keyword.
21624 * elf/tst-auditmod4b.c (check_avx): Likewise.
21625 * elf/tst-auditmod6b.c (check_avx): Likewise.
21626 * elf/tst-auditmod6c.c (check_avx): Likewise.
21627 * elf/tst-auditmod7b.c (check_avx): Likewise.
21629 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21631 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21634 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21637 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21638 processing for last bytes.
21640 2011-08-06 Bruno Haible <bruno@clisp.org>
21643 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21644 U+0385, not to U+1FEE.
21647 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21648 entry for U+00A5 U+0301.
21650 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21653 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21654 buffer for the output is too small.
21656 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21660 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21661 SSE flags if possible.
21663 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21667 processing for last bytes.
21669 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21671 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21672 (syscall-list-default-options, syscall-list-default-condition)
21673 (syscall-list-includes): Define.
21674 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21675 list of ABIs and options and #if conditions for each ABI. Do not
21676 handle common syscalls between ABIs specially.
21677 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21679 (syscall-list-variants, syscall-list-32bit-options)
21680 (syscall-list-32bit-condition, syscall-list-64bit-options)
21681 (syscall-list-64bit-condition): Define.
21682 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21683 (syscall-list-variants, syscall-list-32bit-options)
21684 (syscall-list-32bit-condition, syscall-list-64bit-options)
21685 (syscall-list-64bit-condition): Define.
21686 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21688 (syscall-list-variants, syscall-list-32bit-options)
21689 (syscall-list-32bit-condition, syscall-list-64bit-options)
21690 (syscall-list-64bit-condition): Define.
21691 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21693 (syscall-list-variants, syscall-list-32bit-options)
21694 (syscall-list-32bit-condition, syscall-list-64bit-options)
21695 (syscall-list-64bit-condition): Define.
21697 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21699 * locale/iso-639.def: Add brx entry.
21702 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21703 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21705 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21706 __feraiseexcept_renamed.
21708 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21711 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21712 EPOLLET with unsigned values.
21713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21716 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21717 to large cancellation.
21718 * math/s_cacoshf.c: Likewise.
21719 * math/s_cacoshl.c: Likewise.
21721 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21725 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21726 * math/s_cacoshf.c: Likewise.
21727 * math/s_cacoshl.c: Likewise.
21729 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21732 * iconv/gconv.h: Define __GCONV_SWAP.
21733 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21734 * iconvdata/utf-16.c: Likewise.
21735 * iconvdata/utf-32.c: Likewise.
21737 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21741 numerator after shifting it by one limb.
21743 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21745 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21746 under [__USE_EXTERN_INLINES].
21748 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21751 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21753 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21755 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21756 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21758 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21759 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21760 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21761 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21762 for strncasecmp/strncasecmp_l compilation.
21763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21764 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21766 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21769 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21772 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21775 * time/tzfile.c (__tzfile_read): Check values from file header.
21777 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21779 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21780 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21781 * powerpc/powerpc32/dl-start.S: Likewise.
21782 * powerpc/powerpc32/elf/start.S: Likewise.
21783 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21784 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21785 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21786 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21787 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21788 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21789 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21790 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21791 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21792 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21793 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21794 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21795 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21796 * powerpc/powerpc32/memset.S: Likewise.
21797 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21798 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21799 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21800 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21801 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21802 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21803 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21804 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21805 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21806 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21807 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21808 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21809 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21811 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21813 * math/libm-test.inc: Added more nearbyint tests.
21814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21819 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21821 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21824 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21826 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21827 Add wcscpy-ssse3 wcscpy-c.
21828 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21829 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21830 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21831 * sysdeps/x86_64/wcschr.S: New file.
21832 * sysdeps/x86_64/wcsrchr.S: New file.
21833 * string/test-strcmp.c: Remove checking of wcscmp function for
21835 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21836 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21837 wcsrchr-sse2 wcsrchr-c.
21838 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21839 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21840 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21841 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21842 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21843 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21844 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21845 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21846 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21847 * wcsmbc/wcschr.c (WCSCHR): New macro.
21849 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21851 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21852 * wcsmbs/test-wcsrchr.c: New file.
21853 * string/test-strrchr.c: Add wcsrchr support.
21855 * wcsmbs/test-wcscpy.c: New file.
21856 * string/test-strcpy.c: Add wcscpy support.
21859 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21864 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21867 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21869 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21871 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21872 Minor optimizations.
21874 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21875 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21876 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21878 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21880 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21881 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21882 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21883 for gcc to avoid warnings.
21884 * inet/Makefile (tests): Add tst-checks.
21885 * inet/tst-checks.c: New file.
21887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21890 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21893 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21894 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21896 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21898 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21900 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21903 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21905 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21907 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21908 conditional on GCC version.
21909 (__arch_compare_and_exchange_val_8_acq)
21910 (__arch_compare_and_exchange_val_16_acq)
21911 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21912 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21913 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21915 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21917 * sysdeps/sh/backtrace.c: New file.
21919 2011-12-02 Andreas Schwab <schwab@redhat.com>
21921 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21924 2011-12-01 Andreas Schwab <schwab@redhat.com>
21926 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21927 falling back to utime.
21929 2011-11-30 Andreas Schwab <schwab@redhat.com>
21931 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21932 expectations for float.
21934 2011-11-29 Andreas Schwab <schwab@redhat.com>
21936 * locale/weight.h (findidx): Add parameter len.
21937 * locale/weightwc.h (findidx): Likewise.
21938 * posix/fnmatch_loop.c (FCT): Adjust caller.
21939 * posix/regcomp.c (build_equiv_class): Likewise.
21940 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21941 * posix/regexec.c (check_node_accept_bytes): Likewise.
21942 * string/strcoll_l.c (STRCOLL): Likewise.
21943 * string/strxfrm_l.c (STRXFRM): Likewise.
21945 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21947 * Makefile.in: Remove CVSOPT handling.
21948 * configure.in: Remove use of AC_REVISION.
21949 * iconvdata/Makefile (distribute): No need to filter out CVS.
21950 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21953 2011-11-16 Andreas Schwab <schwab@redhat.com>
21955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21956 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21957 [USE_AS_STRNCASECMP_L]: Likewise.
21958 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21959 NO_TLS_DIRECT_SEG_REFS.
21960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21961 Fix argument offsets for non-PIC.
21962 [USE_AS_STRNCASECMP_L]: Likewise.
21963 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21964 NO_TLS_DIRECT_SEG_REFS.
21966 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21968 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21970 * locale/loadlocale.c (_nl_load_locale): Likewise.
21972 2011-11-15 Andreas Schwab <schwab@redhat.com>
21974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21975 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21976 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21977 (SYSCALL_GETTIME): Set errno on error.
21979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21980 count references to noai6ai_cached.
21982 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21984 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21986 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21987 FD_CLOEXEC for /proc/self/maps.
21989 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21990 FD_CLOEXEC for /proc/meminfo.
21992 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21995 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21996 FD_CLOEXEC for given file.
21998 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22000 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22001 FD_CLOEXEC for /etc/hosts.
22002 (_gethtent): Likewise.
22004 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22006 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22007 cancellation and set FD_CLOEXEC for /etc/netgroup.
22009 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22010 reading /etc/publickey.
22012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22013 allow cancellation when reading /etc/group.
22015 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22017 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22019 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22020 when using data file.
22022 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22024 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22025 (write_nis_obj): Use "c" and "e" in fopen.
22027 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22029 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22031 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22033 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22035 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22038 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22040 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22042 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22044 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22045 file parsing and set FD_CLOEXEC.
22047 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22049 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22051 2011-11-14 Andreas Schwab <schwab@redhat.com>
22053 * malloc/arena.c (arena_get2): Don't call reused_arena when
22054 _int_new_arena failed.
22056 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22058 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22059 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22061 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22062 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22064 to compile strcasecmp and strncasecmp.
22065 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22066 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22070 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22072 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22073 locale-defines.sym to gen-as-const-headers.
22074 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22075 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22077 to compile strcasecmp and strncasecmp.
22078 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22079 strcasecmp_l and strncasecmp_l.
22080 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22081 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22082 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22083 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22084 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22085 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22086 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22087 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22088 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22089 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22090 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22092 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22094 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22095 result of SYSDEP_GETTIME_CPU to retval.
22096 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22097 parameter list to macro. Remove trailing semicolon. Adjust users.
22099 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22102 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22104 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22106 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22107 from unused variable.
22109 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22111 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22114 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22117 * sunrpc/rpc_prot.c (rejected): Fix case value.
22119 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22120 unsigned long long int to avoid warnings in shift.
22122 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22124 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22127 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22128 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22129 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22131 * nis/nis_table.c (nis_list): Use variable of correct type for
22132 result of __follow_path call.
22134 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22136 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22137 of math functions ceil, trunc, floor, round, and sqrt, when
22138 avaliable on the platform.
22139 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22141 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22142 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22143 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22145 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22147 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22150 2011-11-11 Roland McGrath <roland@hack.frob.com>
22152 * include/unistd.h: Fix __readlink return type.
22153 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22155 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22157 * stdlib/ucontext.h: Undo last change for makecontext.
22159 2011-11-11 Andreas Schwab <schwab@redhat.com>
22161 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22163 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22164 * setjmp/setjmp.h: Mark functions as non-leaf.
22165 * setjmp/bits/setjmp2.h: Likewise.
22166 * stdlib/ucontext.h: Likewise.
22168 2011-11-10 Andreas Schwab <schwab@redhat.com>
22170 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22171 (reused_arena): Don't check arena limit.
22172 (arena_get2): Atomically check arena limit.
22174 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22176 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22177 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22182 2011-11-07 Andreas Schwab <schwab@redhat.com>
22184 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22185 handler when locking.
22187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22188 Fix size of allocated buffer.
22190 2011-11-04 Andreas Schwab <schwab@redhat.com>
22193 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22194 declarations for long double functions.
22195 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22197 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22199 2011-11-03 Andreas Schwab <schwab@redhat.com>
22201 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22204 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22207 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22209 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22211 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22213 * include/alloca.h (stackinfo_alloca_round): Define.
22214 (extend_alloca): Use it.
22215 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22216 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22219 * scripts/check-local-headers.sh: Ignore libaudit.h.
22221 * nscd/Makefile (extra-objs): Make recursively expanded.
22223 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22225 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22228 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22229 * posix/tst-rfc3484-2.c: Likewise.
22230 * posix/tst-rfc3484-3.c: Likewise.
22232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22234 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22236 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22237 process_vm_writev from libc using GLIBC_2.15 version.
22239 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22241 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22243 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22246 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22249 * nss/getent.c (initgroups_keys): Show error message in case no group
22252 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22253 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22254 __bump_nl_timestamp.
22255 * nscd/connections (nscd_init): When host database is served open
22256 netlink socket and request notification about configuration changes.
22257 (main_loop_poll): Track netlink file descriptor and bump timestamp
22258 in case data becomes available.
22259 (main_loop_epoll): Likewise.
22260 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22261 (database_pers_head): Add extra_data fileds.
22262 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22263 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22264 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22267 in6ai data, call __free_in6ai.
22268 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22269 Add -DHAVE_NETLINK.
22270 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22271 interface information. Reuse previous data if netlink timestamp
22273 (__bump_nl_timestamp): New function.
22274 (__free_in6ai): New function.
22276 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22278 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22279 close_not_cancel_no_status here.
22280 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22282 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22285 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22288 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22289 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22290 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22292 2011-07-03 Andreas Jaeger <aj@suse.de>
22295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22296 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22297 * math/libm-test.inc (sin_test): Add test case.
22299 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22302 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22303 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22305 * elf/chroot_canon.c (chroot_canon): Cleanups.
22307 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22310 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22311 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22313 * string/test-strchr.c: Make usable for strchrnul testing.
22314 * string/test-strchrnul.c: New file.
22315 * string/Makefile (strop-tests): Add strchrnul.
22317 * po/it.po: Update from translation team.
22318 * po/es.po: Likewise.
22320 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22323 the three constants needed as parameters. Drop the others.
22324 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22325 __m128i_strloadu_tolower.
22326 Create and initialize variable zero and use it in all the places
22327 where _mm_setzero_si128 was used.
22329 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22330 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22331 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22332 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22335 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22336 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22337 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22338 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22339 __mpranred, __mptan.
22340 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22341 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22342 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22343 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22344 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22345 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22347 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22348 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22350 2011-10-28 Andreas Schwab <schwab@redhat.com>
22352 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22353 redefine if SHARED.
22354 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22357 wide char related routines to wcsmbs subdir.
22359 2011-10-27 Andreas Schwab <schwab@redhat.com>
22362 * misc/sys/cdefs.h (__THROWNL): Define.
22363 * posix/unistd.h: Use __THREADNL instead of __THREAD
22364 for memory synchronization functions.
22366 2011-10-26 Roland McGrath <roland@hack.frob.com>
22369 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22371 * manual/stdio.texi (Obstack Streams): Node removed.
22373 2011-10-26 Andreas Schwab <schwab@redhat.com>
22375 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22376 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22377 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22379 * math/math_private.h (math_force_eval): Allow non-addressable
22381 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22383 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22385 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22386 file is not needed.
22388 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22390 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22391 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22393 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22394 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22395 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22397 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22398 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22399 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22400 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22401 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22402 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22403 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22404 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22405 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22406 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22407 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22408 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22410 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22411 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22412 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22413 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22414 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22415 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22417 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22418 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22421 place. Use VEX encoding when compiling for AVX.
22423 2011-10-25 Andreas Schwab <schwab@redhat.com>
22425 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22426 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22428 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22430 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22432 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22433 useless if() expression.
22434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22445 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22446 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22447 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22450 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22454 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22456 2011-10-25 Andreas Schwab <schwab@redhat.com>
22458 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22460 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22462 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22464 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22465 .text section. Avoid duplicate constants.
22466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22476 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22478 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22483 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22489 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22490 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22491 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22492 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22493 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22495 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22496 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22497 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22499 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22500 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22501 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22502 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22503 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22504 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22505 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22506 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22508 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22509 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22510 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22512 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22514 * sysdeps/x86_64/dla.h: Move to ...
22515 * sysdeps/x86_64/fpu/dla.h: ...here.
22516 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22517 situations. Use __builtin_fma only for gcc 4.6 and up.
22519 * config.make.in: Add have-mfma4 entry.
22520 * configure.in: Substitute libc_cv_cc_fma4.
22521 * math/Makefile (dbl-only-routines): Add sincostab.
22522 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22523 Use __sincostab not sincos.
22524 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22531 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22532 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22533 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22534 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22536 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22537 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22539 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22540 define aliases when function name is a macro.
22541 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22542 sysdeps/ieee754/dbl-64/sincos.tbl.
22543 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22544 fma4-enabled routines.
22545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22547 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22548 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22549 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22550 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22552 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22553 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22554 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22555 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22556 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22557 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22558 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22560 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22561 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22562 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22563 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22564 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22565 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22566 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22567 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22570 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22572 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22573 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22574 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22576 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22587 2011-10-24 Andreas Schwab <schwab@redhat.com>
22589 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22591 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22593 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22595 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22599 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22600 Remove unused variable magic_bits.
22601 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22603 * string/strnlen.c: Define and use STRNLEN macro.
22604 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22605 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22607 * wcsmbs/wcslen.c: Define and use WCSLEN.
22608 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22609 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22610 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22611 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22612 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22613 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22614 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22616 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22619 strnlen-sse2-no-bsf.
22620 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22622 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22623 Add strnlen support.
22624 (USE_AS_STRNLEN): New macro.
22625 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22626 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22627 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22628 * sysdeps/x86_64/wcslen.S: New file.
22630 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22633 XMM-moves are used for copying on small sizes.
22635 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22637 * wcsmbs/Makefile (strop-tests): Add wcschr.
22638 * wcsmbs/test-wcschr.c: New file.
22639 * string/test-strchr.c: Update.
22640 Add wcschr support.
22643 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22645 * wcsmbs/Makefile (strop-tests): Add wcslen.
22646 * wcsmbs/test-wcslen.c: New file.
22647 * string/test-strlen.c: Update.
22648 Add wcslen support.
22651 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22653 * po/it.po: Update from translation team.
22655 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22657 * sysdeps/x86_64/wcscmp.S: Update.
22658 Fix wrong comparison semantics.
22659 wcscmp shall use signed comparison not unsigned.
22660 Don't use substraction to avoid overflow bug.
22661 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22662 * wcsmbc/wcscmp.c: Likewise.
22663 * string/test-strcmp.c: Likewise.
22664 Add new tests to check cases with negative values.
22666 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22668 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22669 * sysdeps/x86_64/dla.h: ...here. New file.
22670 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22680 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22682 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22683 __ynl_finite aliases.
22685 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22689 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22691 [DLA_FMA] (EMULV): Use DLA_FMA.
22692 [DLA_FMA] (MUL12): Use EMULV.
22693 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22694 that are not needed.
22695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22703 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22705 * math/s_nan.c: Undef __nan.
22706 * math/s_nanf.c: Undef __nanf.
22707 * math/s_nanl.c: Undef __nanl.
22708 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22711 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22713 * math/s_catan.c: Add branch predictions.
22714 * math/s_catanf.c: Likewise.
22715 * math/s_catanh.c: Likewise.
22716 * math/s_catanhf.c: Likewise.
22717 * math/s_catanhl.c: Likewise.
22718 * math/s_catanl.c: Likewise.
22719 * math/s_cexp.c: Likewise.
22720 * math/s_cexpf.c: Likewise.
22721 * math/s_cexpl.c: Likewise.
22722 * math/s_clog.c: Likewise.
22723 * math/s_clog10.c: Likewise.
22724 * math/s_clog10f.c: Likewise.
22725 * math/s_clog10l.c: Likewise.
22726 * math/s_clogf.c: Likewise.
22727 * math/s_clogl.c: Likewise.
22728 * math/s_csqrt.c: Likewise.
22729 * math/s_csqrtf.c: Likewise.
22730 * math/s_csqrtl.c: Likewise.
22731 * math/s_ctanf.c: Likewise.
22732 * math/s_ctanh.c: Likewise.
22733 * math/s_ctanhf.c: Likewise.
22734 * math/s_ctanhl.c: Likewise.
22735 * math/s_ctanl.c: Likewise.
22737 * math/math_private.h: Define __nan, __nanf, __nanl.
22738 * math/s_cacosh.c: Include <math_private.h>.
22739 * math/s_cacoshl.c: Likewise.
22740 * math/s_casinh.c: Likewise.
22741 * math/s_casinhf.c: Likewise.
22742 * math/s_casinhl.c: Likewise.
22743 * math/s_ccos.c: Rely entire on ccosh.
22744 * math/s_ccosf.c: Rely entire on ccoshf.
22745 * math/s_ccosl.c: Rely entirely on ccoshl.
22746 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22747 Remove tests for FE_INVALID.
22748 * math/s_ccoshf.c: Likewise.
22749 * math/s_ccoshl.c: Likewise.
22750 * math/s_csin.c: Likewise.
22751 * math/s_csinf.c: Likewise.
22752 * math/s_csinh.c Likewise.
22753 * math/s_csinhf.c: Likewise.
22754 * math/s_csinhl.c: Likewise.
22755 * math/s_csinl.c: Likewise.
22756 * math/s_ctan.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22758 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22761 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22764 compilation problems.
22766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22769 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22771 * sysdeps/i386/configure.in: Test for -mfma4 option.
22772 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22773 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22774 COMMON_CPUID_INDEX_80000001.
22775 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22776 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22777 use it if FMA3 is not supported.
22778 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22780 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22781 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22783 2011-10-20 Andreas Schwab <schwab@redhat.com>
22786 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22787 it would create a cycle with a link time dependency.
22789 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22791 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22793 * string/Makefile (strop-tests): Add rawmemchr.
22794 * string/test-rawmemchr.c: New file.
22796 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22798 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22799 when compiling str{,n}casecmp and when AVX is available. Hook up
22800 new optimized code in initializers.
22802 2011-10-19 Andreas Schwab <schwab@redhat.com>
22804 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22805 __feraiseexcept instead of feraiseexcept.
22807 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22809 * math/math_private.h: Define defaults for libc_fetestexcept and
22811 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22812 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22813 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22814 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22815 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22816 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22817 libc_fetestexcept and libc_feupdateenv.
22819 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22820 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22821 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22822 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22823 libc_feholdexcept_setround.
22825 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22826 Add s_nearbyint-c and s_nearbyintf-c.
22827 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22828 nearbyintf inlines.
22829 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22830 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22831 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22832 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22834 * math/math_private.h: Define defaults for libc_fegetround,
22835 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22836 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22837 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22838 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22839 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22840 standard functions.
22841 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22842 Remove comments and hacks for old compiler versions.
22843 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22844 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22845 libc_feholdexceptl.
22847 2011-10-18 Andreas Schwab <schwab@redhat.com>
22849 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22850 (__feraiseexcept_renamed): Add __NTH.
22851 (feraiseexcept): Add __NTH. Rename local variables to fix
22852 namespace violations.
22854 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22856 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22860 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22861 recently added interfaces.
22862 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22864 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22865 about macro parameter expansion.
22867 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22868 __NO_MATH_INLINES is defined. Cleanups.
22870 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22871 and __floorf is target has SSE4.1.
22872 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22873 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22874 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22875 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22877 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22879 (floorf): Likewise.
22881 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22883 2011-10-17 Andreas Schwab <schwab@redhat.com>
22885 * misc/sys/cdefs.h: Fix last change.
22887 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22890 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22892 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22894 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22901 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22902 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22903 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22904 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22905 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22906 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22907 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22908 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22909 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22910 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22911 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22912 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22913 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22914 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22915 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22917 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22918 ceil, ceilf, floor, floorf.
22920 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22921 Perform IRELATIVE relocations last.
22923 * elf/do-rel.h: Add another parameter nrelative, replacing the
22924 local variable with the same name. Change name of the function
22925 to end in Rel or Rela (uppercase).
22926 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22927 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22928 elf_dynamic_do_##reloc function.
22930 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22932 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22933 is sufficient, at least on modern CPUs.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22937 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22938 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22940 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22942 * math/bits/math-finite.h: Add entries for exp.
22943 * math/e_expl.c: Add __*_finite alias.
22944 * sysdeps/i386/fpu/e_exp.S: Likewise.
22945 * sysdeps/i386/fpu/e_expf.S: Likewise.
22946 * sysdeps/i386/fpu/e_expl.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22951 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22952 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22953 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22955 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22956 is sufficient, at least on modern CPUs.
22958 * ctype/ctype-info.c (__ctype_init): Define.
22959 * include/ctype.h (__ctype_init): Declare.
22960 (__ctype_b_loc): The variable is always initialized.
22961 (__ctype_toupper_loc): Likewise.
22962 (__ctype_tolower_loc): Likewise.
22963 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22964 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22966 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22968 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22970 * configure.in: Also look in $cxxmachine/include for C++ system
22973 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22975 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22976 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22977 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22978 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22980 (USE_AS_WMEMCMP): New macro.
22982 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22983 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22984 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22985 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22987 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22988 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22989 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22990 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22991 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22992 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22993 (USE_AS_WMEMCMP): New macro.
22994 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22995 * sysdeps/string/test-memcmp.c: Update.
22996 Fix simple_wmemcmp.
22998 * wcsmbs/wmemcmp.c: Update.
22999 (WMEMCMP): New macro.
23002 2011-10-12 Andreas Jaeger <aj@suse.de>
23005 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23007 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23009 * libio/iofwide.c (do_length): Avoid warning.
23011 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23013 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23015 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23017 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23018 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23019 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23020 * sysdeps/i386/i686/fpu/e_log.S: New file.
23021 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23022 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23024 * ctype/ctype.h: Add support for inlined isXXX functions when
23025 compiling C++ code.
23027 2011-10-14 Andreas Schwab <schwab@redhat.com>
23029 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23033 2011-10-13 Roland McGrath <roland@hack.frob.com>
23036 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23038 2011-10-13 Andreas Schwab <schwab@redhat.com>
23040 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23041 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23044 * sysdeps/x86_64/memrchr.S: Check for zero size.
23046 * string/stratcliff.c: Add memrchr tests.
23048 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23051 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23052 rawmemchr-sse2 rawmemchr-sse2-bsf.
23053 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23054 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23055 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23056 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23057 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23058 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23059 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23060 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23061 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23062 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23063 * string/memrchr.c (MEMRCHR): New macro.
23065 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23067 Add integration with gcc's -ffinite-math-only and optimize wrapper
23069 * Versions.def: Define GLIBC_2.15 version for libm.
23070 * math/Makefile (headers): Add bits/math-finite.h.
23071 * math/bits/math-finite.h: New file.
23072 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23073 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23074 * math/e_acoshl.c: Add __*_finite alias.
23075 * math/e_acosl.c: Likewise.
23076 * math/e_asinl.c: Likewise.
23077 * math/e_atan2l.c: Likewise.
23078 * math/e_atanhl.c: Likewise.
23079 * math/e_coshl.c: Likewise.
23080 * math/e_exp10.c: Likewise.
23081 * math/e_exp10f.c: Likewise.
23082 * math/e_exp10l.c: Likewise.
23083 * math/e_exp2l.c: Likewise.
23084 * math/e_fmodl.c: Likewise.
23085 * math/e_gammal_r.c: Likewise.
23086 * math/e_hypotl.c: Likewise.
23087 * math/e_j0l.c: Likewise.
23088 * math/e_j1l.c: Likewise.
23089 * math/e_jnl.c: Likewise.
23090 * math/e_lgammal_r.c: Likewise.
23091 * math/e_log10l.c: Likewise.
23092 * math/e_log2l.c: Likewise.
23093 * math/e_logl.c: Likewise.
23094 * math/e_powl.c: Likewise.
23095 * math/e_sinhl.c: Likewise.
23096 * math/e_sqrtl.c: Likewise.
23097 * math/e_scalb.c: Completely rewritten and optimized.
23098 * math/e_scalbf.c: Likewise.
23099 * math/e_scalbl.c: Likewise.
23100 * math/w_acos.c: Likewise.
23101 * math/w_acosf.c: Likewise.
23102 * math/w_acosl.c: Likewise.
23103 * math/w_acosh.c: Likewise.
23104 * math/w_acoshf.c: Likewise.
23105 * math/w_acoshl.c: Likewise.
23106 * math/w_asin.c: Likewise.
23107 * math/w_asinf.c: Likewise.
23108 * math/w_asinl.c: Likewise.
23109 * math/w_atan2.c: Likewise.
23110 * math/w_atan2f.c: Likewise.
23111 * math/w_atan2l.c: Likewise.
23112 * math/w_atanh.c: Likewise.
23113 * math/w_atanhf.c: Likewise.
23114 * math/w_atanhl.c: Likewise.
23115 * math/w_exp10.c: Likewise.
23116 * math/w_exp10f.c: Likewise.
23117 * math/w_exp10l.c: Likewise.
23118 * math/w_fmod.c: Likewise.
23119 * math/w_fmodf.c: Likewise.
23120 * math/w_fmodl.c: Likewise.
23121 * math/w_j0.c: Likewise.
23122 * math/w_j0f.c: Likewise.
23123 * math/w_j0l.c: Likewise.
23124 * math/w_j1.c: Likewise.
23125 * math/w_j1f.c: Likewise.
23126 * math/w_j1l.c: Likewise.
23127 * math/w_jn.c: Likewise.
23128 * math/w_jnf.c: Likewise.
23129 * math/w_log.c: Likewise.
23130 * math/w_logf.c: Likewise.
23131 * math/w_logl.c: Likewise.
23132 * math/w_log10.c: Likewise.
23133 * math/w_log10f.c: Likewise.
23134 * math/w_log10l.c: Likewise.
23135 * math/w_log2.c: Likewise.
23136 * math/w_log2f.c: Likewise.
23137 * math/w_log2l.c: Likewise.
23138 * math/w_pow.c: Likewise.
23139 * math/w_powf.c: Likewise.
23140 * math/w_powl.c: Likewise.
23141 * math/w_remainder.c: Likewise.
23142 * math/w_remainderf.c: Likewise.
23143 * math/w_remainderl.c: Likewise.
23144 * math/w_scalb.c: Likewise.
23145 * math/w_scalbf.c: Likewise.
23146 * math/w_scalbl.c: Likewise.
23147 * math/w_sqrt.c: Likewise.
23148 * math/w_sqrtf.c: Likewise.
23149 * math/w_sqrtl.c: Likewise.
23150 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23151 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23153 * math/math_private.h: Declare __kernel_standard_f.
23154 * math/w_cosh.c: Remove cruft and optimize a bit.
23155 * math/w_coshf.c: Likewise.
23156 * math/w_coshl.c: Likewise.
23157 * math/w_exp2.c: Likewise.
23158 * math/w_exp2f.c: Likewise.
23159 * math/w_exp2l.c: Likewise.
23160 * math/w_hypot.c: Likewise.
23161 * math/w_hypotf.c: Likewise.
23162 * math/w_hypotl.c: Likewise.
23163 * math/w_lgamma.c: Likewise.
23164 * math/w_lgamma_r.c: Likewise.
23165 * math/w_lgammaf.c: Likewise.
23166 * math/w_lgammaf_r.c: Likewise.
23167 * math/w_lgammal.c: Likewise.
23168 * math/w_lgammal_r.c: Likewise.
23169 * math/w_sinh.c: Likewise.
23170 * math/w_sinhf.c: Likewise.
23171 * math/w_sinhl.c: Likewise.
23172 * math/w_tgamma.c: Likewise.
23173 * math/w_tgammaf.c: Likewise.
23174 * math/w_tgammal.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23176 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23177 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23178 Minor optimizations. Pretty printing. Remove cruft.
23179 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23180 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23181 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23183 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23184 * sysdeps/i386/fpu/e_asin.S: Likewise.
23185 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23186 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23187 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23188 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23189 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23191 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23192 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23193 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23194 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23195 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23196 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23197 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23198 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23199 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23200 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23201 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23202 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23203 * sysdeps/i386/fpu/e_log.S: Likewise.
23204 * sysdeps/i386/fpu/e_log10.S: Likewise.
23205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23206 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23207 * sysdeps/i386/fpu/e_log2.S: Likewise.
23208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23209 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23210 * sysdeps/i386/fpu/e_logf.S: Likewise.
23211 * sysdeps/i386/fpu/e_logl.S: Likewise.
23212 * sysdeps/i386/fpu/e_pow.S: Likewise.
23213 * sysdeps/i386/fpu/e_powf.S: Likewise.
23214 * sysdeps/i386/fpu/e_powl.S: Likewise.
23215 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23216 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23217 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23221 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23222 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23223 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23245 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23248 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23250 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23251 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23253 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23254 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23255 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23257 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23258 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23259 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23260 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23262 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23263 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23264 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23276 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23277 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23307 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23309 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23312 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23315 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23317 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23319 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23320 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23321 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23322 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23323 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23324 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23325 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23326 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23327 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23328 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23329 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23330 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23332 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23333 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23334 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23335 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23336 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23337 (__isnanf): Likewise.
23338 (__isinf_ns): Likewise.
23339 (__isinf_nsf): Likewise.
23340 (__finite): Likewise.
23341 (__finitef): Likewise.
23342 (__ieee754_sqrt): Define as macro.
23343 (__ieee754_sqrtf): Define as macro.
23344 (__ieee754_sqrtl): Define as macro.
23345 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23347 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23348 __FINITE_MATH_ONLY__ consistent.
23349 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23351 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23353 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23356 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23358 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23360 * po/ja.po: Update from translation team.
23362 2011-10-08 Roland McGrath <roland@hack.frob.com>
23364 * locale/programs/locarchive.c (prepare_address_space): New function.
23365 (create_archive, enlarge_archive, open_archive): Use it.
23367 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23368 inside [SHARED], where it is used.
23370 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23372 * nss/getent.c (netgroup_keys): Remove unused variable.
23373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23375 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23377 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23378 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23380 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23381 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23383 * math/Makefile (libm-calls): Add s_isinf_ns.
23384 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23385 * math/multc3.c: Likewise.
23386 * math/s_casin.c: Likewise.
23387 * math/s_casinf.c: Likewise.
23388 * math/s_casinl.c: Likewise.
23389 * math/s_ccos.c: Likewise.
23390 * math/s_ccosf.c: Likewise.
23391 * math/s_ccosl.c: Likewise.
23392 * math/s_ctan.c: Likewise.
23393 * math/s_ctanf.c: Likewise.
23394 * math/s_ctanh.c: Likewise.
23395 * math/s_ctanhf.c: Likewise.
23396 * math/s_ctanhl.c: Likewise.
23397 * math/s_ctanl.c: Likewise.
23398 * math/w_fmod.c: Likewise.
23399 * math/w_fmodf.c: Likewise.
23400 * math/w_fmodl.c: Likewise.
23401 * math/w_remainder.c: Likewise.
23402 * math/w_remainderf.c: Likewise.
23403 * math/w_remainderl.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23405 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23408 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23409 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23410 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23411 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23413 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23415 * stdio-common/printf_fphex.c: Likewise.
23416 * stdio-common/printf_size.c: Likewise.
23418 * math/e_exp10.c: Include math_private.h using <...> not "...".
23419 * math/e_exp10f.c: Likewise.
23420 * math/e_exp10l.c: Likewise.
23421 * math/e_exp2l.c: Likewise.
23422 * math/e_j0l.c: Likewise.
23423 * math/e_j1l.c: Likewise.
23424 * math/e_jnl.c: Likewise.
23425 * math/e_lgammal_r.c: Likewise.
23426 * math/e_rem_pio2l.c: Likewise.
23427 * math/e_scalb.c: Likewise.
23428 * math/e_scalbf.c: Likewise.
23429 * math/e_scalbl.c: Likewise.
23430 * math/k_cosl.c: Likewise.
23431 * math/k_sinl.c: Likewise.
23432 * math/k_tanl.c: Likewise.
23433 * math/s_cacoshf.c: Likewise.
23434 * math/s_catan.c: Likewise.
23435 * math/s_catanf.c: Likewise.
23436 * math/s_catanh.c: Likewise.
23437 * math/s_catanhf.c: Likewise.
23438 * math/s_catanhl.c: Likewise.
23439 * math/s_catanl.c: Likewise.
23440 * math/s_ccosh.c: Likewise.
23441 * math/s_ccoshf.c: Likewise.
23442 * math/s_ccoshl.c: Likewise.
23443 * math/s_cexp.c: Likewise.
23444 * math/s_cexpf.c: Likewise.
23445 * math/s_cexpl.c: Likewise.
23446 * math/s_clog.c: Likewise.
23447 * math/s_clog10.c: Likewise.
23448 * math/s_clog10f.c: Likewise.
23449 * math/s_clog10l.c: Likewise.
23450 * math/s_clogf.c: Likewise.
23451 * math/s_clogl.c: Likewise.
23452 * math/s_csin.c: Likewise.
23453 * math/s_csinf.c: Likewise.
23454 * math/s_csinh.c: Likewise.
23455 * math/s_csinhf.c: Likewise.
23456 * math/s_csinhl.c: Likewise.
23457 * math/s_csinl.c: Likewise.
23458 * math/s_csqrt.c: Likewise.
23459 * math/s_csqrtf.c: Likewise.
23460 * math/s_csqrtl.c: Likewise.
23461 * math/s_ctan.c: Likewise.
23462 * math/s_ctanf.c: Likewise.
23463 * math/s_ctanh.c: Likewise.
23464 * math/s_ctanhf.c: Likewise.
23465 * math/s_ctanhl.c: Likewise.
23466 * math/s_ctanl.c: Likewise.
23467 * math/s_ldexp.c: Likewise.
23468 * math/s_ldexpf.c: Likewise.
23469 * math/s_ldexpl.c: Likewise.
23470 * math/s_significand.c: Likewise.
23471 * math/s_significandf.c: Likewise.
23472 * math/s_significandl.c: Likewise.
23473 * math/w_acos.c: Likewise.
23474 * math/w_acosf.c: Likewise.
23475 * math/w_acosh.c: Likewise.
23476 * math/w_acoshf.c: Likewise.
23477 * math/w_acoshl.c: Likewise.
23478 * math/w_acosl.c: Likewise.
23479 * math/w_asin.c: Likewise.
23480 * math/w_asinf.c: Likewise.
23481 * math/w_asinl.c: Likewise.
23482 * math/w_atan2.c: Likewise.
23483 * math/w_atan2f.c: Likewise.
23484 * math/w_atan2l.c: Likewise.
23485 * math/w_atanh.c: Likewise.
23486 * math/w_atanhf.c: Likewise.
23487 * math/w_atanhl.c: Likewise.
23488 * math/w_cosh.c: Likewise.
23489 * math/w_coshf.c: Likewise.
23490 * math/w_coshl.c: Likewise.
23491 * math/w_dremf.c: Likewise.
23492 * math/w_exp10.c: Likewise.
23493 * math/w_exp10f.c: Likewise.
23494 * math/w_exp10l.c: Likewise.
23495 * math/w_exp2.c: Likewise.
23496 * math/w_exp2f.c: Likewise.
23497 * math/w_fmod.c: Likewise.
23498 * math/w_fmodf.c: Likewise.
23499 * math/w_fmodl.c: Likewise.
23500 * math/w_hypot.c: Likewise.
23501 * math/w_hypotf.c: Likewise.
23502 * math/w_hypotl.c: Likewise.
23503 * math/w_j0.c: Likewise.
23504 * math/w_j0f.c: Likewise.
23505 * math/w_j0l.c: Likewise.
23506 * math/w_j1.c: Likewise.
23507 * math/w_j1f.c: Likewise.
23508 * math/w_j1l.c: Likewise.
23509 * math/w_jn.c: Likewise.
23510 * math/w_jnf.c: Likewise.
23511 * math/w_jnl.c: Likewise.
23512 * math/w_lgamma.c: Likewise.
23513 * math/w_lgamma_r.c: Likewise.
23514 * math/w_lgammaf.c: Likewise.
23515 * math/w_lgammaf_r.c: Likewise.
23516 * math/w_lgammal.c: Likewise.
23517 * math/w_lgammal_r.c: Likewise.
23518 * math/w_log.c: Likewise.
23519 * math/w_log10.c: Likewise.
23520 * math/w_log10f.c: Likewise.
23521 * math/w_log10l.c: Likewise.
23522 * math/w_log2.c: Likewise.
23523 * math/w_log2f.c: Likewise.
23524 * math/w_log2l.c: Likewise.
23525 * math/w_logf.c: Likewise.
23526 * math/w_logl.c: Likewise.
23527 * math/w_pow.c: Likewise.
23528 * math/w_powf.c: Likewise.
23529 * math/w_powl.c: Likewise.
23530 * math/w_remainder.c: Likewise.
23531 * math/w_remainderf.c: Likewise.
23532 * math/w_remainderl.c: Likewise.
23533 * math/w_scalb.c: Likewise.
23534 * math/w_scalbf.c: Likewise.
23535 * math/w_scalbl.c: Likewise.
23536 * math/w_sinh.c: Likewise.
23537 * math/w_sinhf.c: Likewise.
23538 * math/w_sinhl.c: Likewise.
23539 * math/w_sqrt.c: Likewise.
23540 * math/w_sqrtf.c: Likewise.
23541 * math/w_sqrtl.c: Likewise.
23542 * math/w_tgamma.c: Likewise.
23543 * math/w_tgammaf.c: Likewise.
23544 * math/w_tgammal.c: Likewise.
23546 * po/ja.po: Update from translation team.
23548 2011-09-29 Andreas Jaeger <aj@suse.de>
23551 * sunrpc/netname.c (netname2host): Fix logic.
23555 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23557 * math/w_remainder.c (__remainder): Likewise.
23558 * math/w_remainderf.c (__remainderf): Likewise.
23559 * math/libm-test.inc (remainder_test): Add test cases.
23561 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23563 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23566 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23568 * string/test-memcmp.c: Avoid unncessary #defines.
23569 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23571 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23573 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23574 Use new sse2 version for core i3 - i7 as it's faster
23575 than sse42 version.
23576 (bit_Prefer_PMINUB_for_stringop): New.
23577 * sysdeps/x86_64/rawmemchr.S: Update.
23578 Replace with faster SSE2 version.
23579 * sysdeps/x86_64/memrchr.S: New file.
23580 * sysdeps/x86_64/memchr.S: Update.
23581 Replace with faster SSE2 version.
23583 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23585 * elf/dl-load.c (lose): Add cast to avoid warning.
23587 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23589 * po/ca.po: Update from translation team.
23591 * inet/getnetgrent_r.c: Hook up nscd.
23592 * nscd/Makefile (routines): Add nscd_netgroup.
23593 (nscd-modules): Add netgroupcache.
23594 (CFLAGS-netgroupcache.c): Define.
23595 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23596 (cache_search): Add const to second parameter.
23597 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23599 (dbs): Add netgrdb entry.
23600 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23601 (verify_persistent_db): Handle netgrdb.
23602 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23603 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23605 (netgroup_response_header): Define.
23606 (innetgroup_response_header): Define.
23607 (datahead): Add netgroup_response_header and innetgroup_response_header
23609 * nscd/nscd.conf: Add entries for netgroup cache.
23610 * nscd/nscd.h (dbtype): Add netgrdb.
23611 (_PATH_NSCD_NETGROUP_DB): Define.
23612 (netgroup_iov_disabled): Declare.
23613 (xmalloc, xcalloc, xrealloc): Move declarations here.
23614 (cache_search): Adjust prototype.
23615 Add netgroup-related prototypes.
23616 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23617 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23618 (__nscd_innetgr): Declare.
23619 * nscd/selinux.c (perms): Use access_vector_t as element type and
23620 add netgroup-related initializers.
23621 * nscd/netgroupcache.c: New file.
23622 * nscd/nscd_netgroup.c: New file.
23623 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23624 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23625 For four parameters use innetgr.
23626 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23627 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23628 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23629 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23631 * nscd/connections.c (register_traced_file): Don't register file
23632 for disabled databases.
23634 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23636 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23638 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23639 from tree and freeing node.
23641 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23643 * nss/nsswitch.c (__nss_database_lookup): Handle
23644 nss_parse_service_list out of memory case.
23646 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23648 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23649 out of memory case.
23651 2011-10-04 Andreas Schwab <schwab@redhat.com>
23653 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23654 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23656 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23657 elf_machine_rela, elf_machine_lazy_rel.
23658 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23659 (ELF_DYNAMIC_DO_REL): Likewise.
23660 (ELF_DYNAMIC_DO_RELA): Likewise.
23661 (ELF_DYNAMIC_RELOCATE): Likewise.
23662 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23663 to ELF_DYNAMIC_DO_REL.
23664 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23665 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23666 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23669 skip_ifunc, don't call ifunc function if non-zero.
23670 (elf_machine_rela): Likewise.
23671 (elf_machine_lazy_rel): Likewise.
23672 (elf_machine_lazy_rela): Likewise.
23673 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23674 (elf_machine_lazy_rel): Likewise.
23675 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23677 (elf_machine_lazy_rel): Likewise.
23678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23680 (elf_machine_lazy_rel): Likewise.
23681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23682 (elf_machine_lazy_rel): Likewise.
23683 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23684 (elf_machine_lazy_rel): Likewise.
23685 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23686 (elf_machine_lazy_rel): Likewise.
23687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23688 (elf_machine_lazy_rel): Likewise.
23689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23690 (elf_machine_lazy_rel): Likewise.
23691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23692 (elf_machine_lazy_rel): Likewise.
23694 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23696 * nss/nss_files/files-init.c (_nss_files_init): Use static
23697 initialization for all the *_traced_file variables.
23699 2011-09-28 Andreas Schwab <schwab@redhat.com>
23701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23703 2011-09-27 Roland McGrath <roland@hack.frob.com>
23706 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23708 2011-09-27 Andreas Schwab <schwab@redhat.com>
23710 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23711 Reread the line before reparsing it.
23713 2011-09-26 Andreas Schwab <schwab@redhat.com>
23715 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23717 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23718 Maxim Kuvyrkov <maxim@codesourcery.com>
23719 Joseph Myers <joseph@codesourcery.com>
23721 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23722 if needed for __stack_chk_guard.
23724 2011-09-19 Roland McGrath <roland@hack.frob.com>
23726 * sysdeps/posix/spawni.c (script_execute): Always define it.
23727 It will be optimized away if unused.
23728 (maybe_script_execute): New function.
23729 (__spawni): Call it.
23731 * Makerules: Don't include tls.make.
23732 (config-tls): Always set to thread.
23733 * tls.make.c: File removed.
23735 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23737 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23738 * config.make.in (CPPFLAGS-config): New substituted variable.
23740 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23745 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23746 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23748 2011-09-15 Roland McGrath <roland@hack.frob.com>
23750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23751 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23752 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23753 (CALL_FAIL): Likewise.
23754 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23755 (CALL_FAIL): Macro removed.
23756 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23758 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23761 for __FINITE_MATH_ONLY__ == 1.
23763 2011-09-15 Andreas Schwab <schwab@redhat.com>
23765 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23766 __ieee754_sqrt instead of sqrt.
23767 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23768 __ieee754_sqrtf instead of sqrtf.
23769 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23770 __floorf instead of floorf.
23771 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23772 __floorf, __truncf instead of floorf, truncf.
23774 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23776 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23778 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23779 __extern_always_inline.
23780 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23783 2011-09-14 Andreas Schwab <schwab@redhat.com>
23785 * elf/rtld.c (dl_main): Also relocate in dependency order when
23786 doing symbol dependency testing.
23788 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23791 Always define `refsym'.
23793 2011-09-13 Andreas Schwab <schwab@redhat.com>
23795 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23796 (__FD_ELT): Renamed from __FDELT.
23797 * misc/bits/select2.h (__FD_ELT): Likewise.
23798 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23799 __FD_MASK instead of __FDELT, __FDMASK.
23800 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23802 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23805 * elf/Makefile (gen-ldd): Fix pattern.
23807 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23808 (init_tls): Likewise.
23810 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23814 2011-09-12 Andreas Schwab <schwab@redhat.com>
23816 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23817 `struct cmsghdr *' instead of `void *'.
23818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23821 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23823 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23825 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23826 ldd_rewrite_script.
23828 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23830 * configure.in: Remove --with-tls option.
23831 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23832 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23833 out in case it is missing.
23834 * sysdeps/ia64/elf/configure.in: Likewise.
23835 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23836 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23837 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23838 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23839 * sysdeps/sh/elf/configure.in: Likewise.
23840 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23841 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23842 * sysdeps/x86_64/elf/configure.in: Likewise.
23843 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23844 * sysdeps/mach/hurd/tls.h: Likewise.
23847 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23850 * configure.in: Fix use of AC_INIT.
23852 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23854 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23856 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23858 * malloc/hooks.c: Likewise.
23861 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23862 variables statically.
23863 (narenas): Initialize.
23864 (list_lock): Initialize.
23865 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23866 initializtion of main_arena and list_lock. Small cleanups.
23867 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23868 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23869 Add initializers to main_arena and mp_.
23870 (malloc_state): Remove pagesize member. Change all users to use
23873 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23874 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23875 is always initialized.
23877 * malloc/malloc.c: Removed unused configurations and dead code.
23878 * malloc/arena.c: Likewise.
23879 * malloc/hooks.c: Likewise.
23880 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23882 * include/tls.h: Removed. USE___THREAD must always be defined.
23883 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23884 * elf/dl-libc.c: Likewise.
23885 * elf/dl-tsd.c: Likewise.
23886 * include/errno.h: Likewise.
23887 * include/netdb.h: Likewise.
23888 * include/resolv.h: Likewise.
23889 * inet/herrno-loc.c: Likewise.
23890 * inet/herrno.c: Likewise.
23891 * malloc/arena.c: Likewise.
23892 * malloc/hooks.c: Likewise.
23893 * malloc/malloc.c: Likewise.
23894 * resolv/res-state.c: Likewise.
23895 * resolv/res_libc.c: Likewise.
23896 * sysdeps/i386/dl-machine.h: Likewise.
23897 * sysdeps/ia64/dl-machine.h: Likewise.
23898 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23899 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23900 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23901 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23902 * sysdeps/sh/dl-machine.h: Likewise.
23903 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23904 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23905 * sysdeps/unix/i386/sysdep.S: Likewise.
23906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23907 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23912 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23916 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23917 * sysdeps/x86_64/dl-machine.h: Likewise.
23918 * tls.make.c: Likewise.
23920 * configure.in: Remove --with-__thread option. Make tests for
23921 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23922 tls_model attribute fail if no support is available. Remove
23924 * Makeconfig: Adjust for dropped configure option. All features are
23926 * Makerules: Likewise.
23927 * Versions.def: Likewise.
23928 * argp/argp-fmtstream.c: Likewise.
23929 * argp/argp-fmtstream.h: Likewise.
23930 * argp/argp-help.c: Likewise.
23931 * assert/assert.c: Likewise.
23932 * config.h.in: Likewise.
23933 * config.make.in: Likewise.
23934 * configure: Likewise.
23935 * configure.in: Likewise.
23936 * csu/Versions: Likewise.
23937 * csu/init.c: Likewise.
23938 * elf/tst-audit2.c: Likewise.
23939 * elf/tst-tls10.c: Likewise.
23940 * elf/tst-tls10.h: Likewise.
23941 * elf/tst-tls11.c: Likewise.
23942 * elf/tst-tls12.c: Likewise.
23943 * elf/tst-tls14.c: Likewise.
23944 * elf/tst-tlsmod11.c: Likewise.
23945 * elf/tst-tlsmod12.c: Likewise.
23946 * elf/tst-tlsmod13.c: Likewise.
23947 * elf/tst-tlsmod13a.c: Likewise.
23948 * elf/tst-tlsmod14a.c: Likewise.
23949 * elf/tst-tlsmod15b.c: Likewise.
23950 * elf/tst-tlsmod16a.c: Likewise.
23951 * elf/tst-tlsmod16b.c: Likewise.
23952 * elf/tst-tlsmod7.c: Likewise.
23953 * elf/tst-tlsmod8.c: Likewise.
23954 * elf/tst-tlsmod9.c: Likewise.
23955 * gmon/gmon.c: Likewise.
23956 * grp/fgetgrent_r.c: Likewise.
23957 * grp/putgrent.c: Likewise.
23958 * hurd/fopenport.c: Likewise.
23959 * include/libc-symbols.h: Likewise.
23960 * include/tls.h: Likewise.
23961 * intl/gettextP.h: Likewise.
23962 * intl/loadinfo.h: Likewise.
23963 * locale/global-locale.c: Likewise.
23964 * locale/localeinfo.h: Likewise.
23965 * mach/devstream.c: Likewise.
23966 * malloc/arena.c: Likewise.
23967 * malloc/set-freeres.c: Likewise.
23968 * misc/err.c: Likewise.
23969 * misc/getttyent.c: Likewise.
23970 * misc/mntent_r.c: Likewise.
23971 * posix/getopt.c: Likewise.
23972 * posix/wordexp.c: Likewise.
23973 * pwd/fgetpwent_r.c: Likewise.
23974 * resolv/Versions: Likewise.
23975 * resolv/res_hconf.c: Likewise.
23976 * shadow/fgetspent_r.c: Likewise.
23977 * shadow/putspent.c: Likewise.
23978 * stdio-common/printf_fphex.c: Likewise.
23979 * stdio-common/tmpfile.c: Likewise.
23980 * stdlib/abort.c: Likewise.
23981 * stdlib/fmtmsg.c: Likewise.
23982 * sunrpc/auth_unix.c: Likewise.
23983 * sunrpc/clnt_perr.c: Likewise.
23984 * sunrpc/clnt_tcp.c: Likewise.
23985 * sunrpc/clnt_udp.c: Likewise.
23986 * sunrpc/clnt_unix.c: Likewise.
23987 * sunrpc/openchild.c: Likewise.
23988 * sunrpc/svc_simple.c: Likewise.
23989 * sunrpc/svc_tcp.c: Likewise.
23990 * sunrpc/svc_udp.c: Likewise.
23991 * sunrpc/svc_unix.c: Likewise.
23992 * sunrpc/xdr.c: Likewise.
23993 * sunrpc/xdr_array.c: Likewise.
23994 * sunrpc/xdr_rec.c: Likewise.
23995 * sunrpc/xdr_ref.c: Likewise.
23996 * sunrpc/xdr_stdio.c: Likewise.
23998 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24000 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24002 2011-07-03 Andreas Jaeger <aj@suse.de>
24004 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24005 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24006 regenerate with gen-libm-tests.pl.
24008 2010-05-12 Petr Baudis <pasky@suse.cz>
24011 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24012 around j0() zero points by switching to j1().
24013 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24018 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24020 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24022 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24025 Patch in part by Pavel Roskin <proski@gnu.org>.
24028 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24030 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24031 Free memory block if necessary.
24034 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24035 be NULL. Don't lock in this case.
24037 2011-09-09 Roland McGrath <roland@hack.frob.com>
24039 * elf/elf.h (ELFOSABI_GNU): New macro.
24040 (ELFOSABI_LINUX): Define to that.
24042 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24044 * string/strncat.c (strncat): Undef the symbol in case it has been
24045 defined in bits/string.h.
24047 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24049 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24051 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24054 2011-08-17 Andreas Jaeger <aj@suse.de>
24056 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24058 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24059 Ian Lance Taylor <iant@google.com>
24061 * math/libm-test.inc (lround_test): New testcase.
24062 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24064 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24066 * Makefile: Remove support for automatic cvs check-ins.
24067 * Makerules: Likewise.
24068 * config.make.in: Likewise.
24069 * configure.in: Likewise.
24070 * intl/Makefile: Likewise.
24071 * locale/Makefile: Likewise.
24072 * po/Makefile: Likewise.
24073 * posix/Makefile: Likewise.
24074 * sysdeps/gnu/Makefile: Likewise.
24075 * sysdeps/mach/hurd/Makefile: Likewise.
24076 * sysdeps/sparc/sparc32/Makefile: Likewise.
24079 * posix/Makefile (bug-regex32-ENV): Define.
24080 Patch by John Stanley <jpsinthemix@verizon.net>.
24082 * misc/Makefile (headers): Add bits/select2.h.
24083 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24084 * misc/bits/select2.h: New file.
24085 * include/bits/select2.h: New file.
24086 * debug/Makefile (routines): Add fdelt_chk.
24087 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24088 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24090 * debug/fdelt_chk.c: New file.
24092 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24093 * wcsmbs/test-wmemcmp.c: Likewise.
24094 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24095 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24097 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24099 * string/Makefile (strop-tests): Add memcmp.
24100 * string/test-wmemcmp.c: New file.
24101 * string/test-memcmp.c: Add wmemcmp support.
24103 2011-09-08 Roland McGrath <roland@hack.frob.com>
24106 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24109 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24110 garbage value in a __mach_port_mod_refs call in the cases of the
24111 task-self and thread-self ports.
24113 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24115 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24117 2011-09-08 Andreas Schwab <schwab@redhat.com>
24119 * elf/dl-load.c (lose): Check for non-null L.
24121 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24123 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24125 * elf/dl-libc.c (dlerror_run): Pass back error code from
24129 * elf/dl-load.c (lose): Free l_origin if it is valid.
24131 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24133 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24136 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24137 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24138 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24140 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24142 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24143 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24144 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24145 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24146 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24147 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24148 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24149 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24150 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24151 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24153 2011-08-15 Alan Modra <amodra@gmail.com>
24156 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24157 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24158 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24159 ppc_mcount to static-only-routines.
24160 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24162 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24163 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24165 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24168 for finite and infinity parameters.
24170 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24173 and add nop instructions for throughput optimization.
24174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24176 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24179 aligned copy for power7 with vector-scalar instructions.
24180 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24182 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24187 2011-09-07 Andreas Schwab <schwab@redhat.com>
24190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24193 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24196 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24197 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24198 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24201 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24204 Forgot to demangle the pointer.
24206 * sysdeps/i386/sysdep.h: Define atom_text_section.
24207 * sysdeps/x86_64/sysdep.h: Likewise.
24208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24209 section with atom_text_section.
24210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24211 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24212 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24213 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24214 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24217 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24218 already be defined. Change to take two parameters and don't assign
24219 result to variable. Adjust all users.
24220 Define INTERNAL_GETTIME if not already defined.
24221 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24224 HAVE_CLOCK_GETTIME_VSYSCALL.
24225 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24228 gettimeofday vsyscall, just use time.
24230 2011-09-06 Andreas Schwab <schwab@redhat.com>
24232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24235 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24237 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24239 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24241 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24243 syscall if possible.
24245 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24247 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24248 e_ident. Don't pass to find_mapsXX.
24249 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24251 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24254 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24255 * sysdeps/x86_64/multiarch/strchr.S: Update.
24256 Check bit_slow_BSF bit.
24257 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24258 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24259 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24264 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24266 (tryshell): Define.
24267 (__spawni): Change last parameter to be flag. Test
24268 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24269 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24270 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24271 * posix/spawni.c: Likewise.
24272 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24273 * posix/spawnp.c: Likewise. Change normal version to use
24274 SPAWN_XFLAGS_USE_PATH.
24275 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24276 SPAWN_XFLAGS_TRY_SHELL.
24279 * posix/glob.h: Remove gcc 1.x support.
24282 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24284 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24287 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24289 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24290 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24291 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24294 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24296 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24298 * sysdeps/x86_64/wcscmp.S: New file.
24300 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24301 wcscmp-c wcscmp-sse2
24302 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24303 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24304 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24305 * wcsmbs/wcscmp.c: Allow renaming.
24307 2011-09-05 David S. Miller <davem@davemloft.net>
24309 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24310 stack slot, rather than the struct return pointer slot.
24311 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24312 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24314 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24316 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24318 * po/ja.po: Update from translation team.
24321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24322 kernel in 64-bit binaries.
24324 2011-09-01 David S. Miller <davem@davemloft.net>
24326 * elf/elf.h (HWCAP_SPARC_*): Move to..
24327 * sysdeps/sparc/sysdep.h: this new file and add new values.
24328 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24329 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24330 _DL_HWCAP_COUNT to 24.
24331 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24333 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24334 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24335 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24337 instead of magic constants.
24338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24340 2011-08-31 David S. Miller <davem@davemloft.net>
24342 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24344 Reimplement to do errno handling inline.
24345 (SYSCALL_ERROR_HANDLER): New macro.
24346 (__SYSCALL_STRING): Do not do errno handling in asm.
24347 (__CLONE_SYSCALL_STRING): Delete.
24348 (__INTERNAL_SYSCALL_STRING): Delete.
24349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24350 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24351 (PSEUDO): Reimplement to do errno handling inline.
24352 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24353 (SYSCALL_ERROR_HANDLER): New macro.
24354 (__SYSCALL_STRING): Do not do errno handling in asm.
24355 (__CLONE_SYSCALL_STRING): Delete.
24356 (__INTERNAL_SYSCALL_STRING): Delete.
24357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24358 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24360 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24361 (inline_syscall*): Add 'err' argument.
24362 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24363 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24364 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24365 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24367 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24368 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24370 2011-08-30 Andreas Schwab <schwab@redhat.com>
24372 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24374 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24376 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24379 2011-08-24 David S. Miller <davem@davemloft.net>
24381 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24383 2011-08-24 Andreas Schwab <schwab@redhat.com>
24385 * elf/Makefile: Add rules to build and run unload8 test.
24386 * elf/unload8.c: New file.
24387 * elf/unload8mod1.c: New file.
24388 * elf/unload8mod1x.c: New file.
24389 * elf/unload8mod2.c: New file.
24390 * elf/unload8mod3.c: New file.
24392 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24395 2011-08-23 David S. Miller <davem@davemloft.net>
24397 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24398 subtract stack bias.
24399 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24400 %sp not %fp in calculations.
24401 (_JMPBUF_UNWINDS_ADJ): Likewise.
24403 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24404 (aio_suspend): Call it to force an exception region around the
24405 AIO_MISC_WAIT() invocation.
24407 2011-08-23 Andreas Schwab <schwab@redhat.com>
24409 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24412 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24414 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24416 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24417 and <dl-machine.h>.
24418 (Elf64_FuncDesc): Remove.
24420 2011-08-22 David S. Miller <davem@davemloft.net>
24422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24423 sigaltstack check, add missing cfi directives.
24424 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24425 missing cfi directives, and sigaltstack handling.
24427 2011-08-16 Andreas Schwab <schwab@redhat.com>
24430 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24431 object is seen twice.
24432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24434 * elf/Makefile (distribute): Add tst-initorder2.c.
24435 (tests): Add tst-initorder2.
24436 (modules-names): Add tst-initorder2a tst-initorder2b
24437 tst-initorder2c tst-initorder2d. Add rules to build them.
24438 ($(objpfx)tst-initorder2.out): New rule.
24439 * elf/tst-initorder2.c: New file.
24440 * elf/tst-initorder2.exp: New file.
24442 2011-08-22 Andreas Schwab <schwab@redhat.com>
24444 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24446 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24447 dependencies back to end of function.
24449 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24450 $(elfobjdir)/ld.so.
24452 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24455 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24457 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24458 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24459 of __vdso_gettimeofday.
24460 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24461 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24463 (_libc_vdso_platform_setup): Remove initialization of
24464 __vdso_gettimeofday and __vdso_time.
24466 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24468 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24469 and fgetc_unlocked.
24470 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24473 * elf/dl-open.c (add_to_global): Report additions to the global scope
24474 for LD_DEBUG=scopes.
24475 (dl_open_worker): Also print scope of newly loaded dependencies.
24476 (_dl_show_scope): Indicate if there is no scope.
24479 * stdio-common/Makefile (tests): Add bug24.
24480 * stdio-common/bug24.c: New file.
24482 2011-08-19 Andreas Jaeger <aj@suse.de>
24485 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24486 non-existant file when using close-on-exec mode.
24488 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24490 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24491 the very first instruction.
24493 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24494 the CFI state in the end.
24495 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24496 inclusion of dl-trampoline.h.
24497 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24499 2011-08-19 Andreas Schwab <schwab@redhat.com>
24501 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24502 expectations for long double.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24505 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24507 2011-08-14 David S. Miller <davem@davemloft.net>
24509 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24510 artificual limit depends upon the system page size.
24512 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24514 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24515 * resolv/Makefile: Define CFLAGS-libresolv.
24517 2011-08-17 Andreas Schwab <schwab@redhat.com>
24519 * nss/makedb.c (compute_tables): Make variables used in nested
24522 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24524 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24525 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24526 if buffer was too small.
24528 * elf/pldd.c (main): Attach to all threads in the process.
24529 Rewrite /proc handling to use *at functions.
24531 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24533 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24534 specifies first scope to show.
24535 (dl_open_worker): Update callers. Move printing scope of new
24536 object to before the relocation.
24537 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24538 * sysdeps/generic/ldsodefs.h: Update declaration.
24540 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24541 string for the scope number.
24543 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24545 * nscd/servicescache.c (cache_addserv): Make sure written is always
24548 2011-08-14 Roland McGrath <roland@hack.frob.com>
24550 * sysdeps/i386/i486/bits/atomic.h
24551 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24552 statement expression, so as to suppress "set but not used" warning.
24553 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24555 * string/strncat.c (STRNCAT): Use prototype definition.
24557 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24558 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24560 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24561 (localedef-modules): Add localedef.
24562 (locale-modules): Add locale.
24564 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24565 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24566 to avoid a warning.
24568 2011-08-14 David S. Miller <davem@davemloft.net>
24570 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24571 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24573 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24575 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24576 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24577 * elf/rtld.c (dl_main): Set l_name of vDSO.
24578 Call _dl_show_scope when DL_DEBUG_SCOPES.
24579 (process_dl_debug): Recognize scopes flag and also set it for all.
24580 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24581 Declare _dl_show_scope.
24583 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24584 (do_dlopen): Pass caller_dlopen to dl_open.
24585 (__libc_dlopen_mode): Initialize caller_dlopen.
24587 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24588 of libc. Make tolower call locale-independent. Optimize a bit by
24589 using isdigit instead of isalnum.
24590 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24592 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24594 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24595 was a dependency or dynamically loaded.
24597 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24599 * intl/l10nflist.c: Allow architecture-specific pop function.
24600 * sysdeps/x86_64/l10nflist.c: New file.
24602 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24605 2011-08-10 Andreas Schwab <schwab@redhat.com>
24607 * include/dirent.h: Add libc_hidden_proto for scandirat and
24608 scandirat64. Don't declare __scandirat64.
24609 * dirent/scandirat.c: Add libc_hidden_def.
24610 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24611 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24613 2011-08-10 David S. Miller <davem@davemloft.net>
24615 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24617 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24621 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24623 * Versions.def [libc]: Add GLIBC_2.15.
24624 * dirent/Makefile (routines): Add scandirat and scandirat64.
24625 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24627 * dirent/dirent.h: Declare scandirat and scandirat64.
24628 * dirent/scandirat.c: New file.
24629 * dirent/scandirat64.c: New file.
24630 * sysdeps/wordsize-64/scandirat.c: New file.
24631 * sysdeps/wordsize-64/scandirat64.c: New file.
24632 * dirent/opendir.c: Define opendirat.
24633 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24635 * dirent/scandir64.c: Adjust for scandir.c change.
24636 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24637 __scandirat64, and __scandir_cancel_handler.
24638 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24639 additional parameter and use openat instead of open (outside of ld.so).
24640 Add new __opendir as wrapper around __opendirat.
24641 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24642 here without requiring old scandirat implementation.
24644 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24646 * dirent/scandir.c (cancel_handler): Renamed to
24647 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24648 defined. Adjust users.
24649 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24650 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24652 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24654 * string/test-string.h (IMPL): Use __STRING to expand name and then
24657 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24660 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24662 * string/Makefile: Update.
24663 (strop-tests): Append strncat.
24664 * string/test-wcscmp.c: New file.
24665 New comprehensive test for wcscmp.
24666 * string/test-strcmp.c: Update.
24667 (WIDE): New define.
24669 2011-07-22 Andreas Schwab <schwab@redhat.com>
24671 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24674 2011-07-26 Andreas Schwab <schwab@redhat.com>
24676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24677 encoding to ACE if AI_IDN.
24679 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24682 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24684 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24686 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24687 Fix overflow bug in strncat.
24688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24690 * string/test-strncat.c: Update.
24691 Add new tests for checking overflow bugs.
24693 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24696 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24697 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24698 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24700 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24701 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24702 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24703 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24705 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24706 (USE_AS_STRCAT): Define.
24707 Add strcat and strncat support.
24708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24710 2011-07-25 Andreas Schwab <schwab@redhat.com>
24712 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24713 __n bigger than INT_MAX+1.
24714 (__strncmp_g): Likewise.
24716 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24718 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24719 * libio/stido.h: Likewise.
24721 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24726 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24727 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24729 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24730 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24733 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24738 (_dl_x86_64_save_sse): Likewise.
24740 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24744 (_dl_x86_64_save_sse): Likewise.
24746 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24748 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24750 2011-07-21 Andreas Schwab <schwab@redhat.com>
24752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24754 (_dl_x86_64_save_sse): Use correct AVX check.
24756 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24759 bug in strncpy/strncat.
24760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24762 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24764 * string/tester.c (test_strcat): Add tests for different alignments
24765 of source and destination.
24766 (test_strncat): Likewise.
24768 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24771 * posix/glob.c (glob): Check passed in values before using them in
24772 expressions to avoid some overflows.
24773 (glob_in_dir): Likewise.
24776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24777 check for AVX enablement so that we don't crash with old kernels and
24779 * elf/tst-audit4.c: Add same checks here.
24780 * elf/tst-audit6.c: Likewise.
24782 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24784 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24786 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24788 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24790 * po/cs.po: Update from translation team.
24791 * po/bg.po: Likewise.
24793 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24795 * misc/sys/cdefs.h: Add support for const attribute.
24796 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24797 to gnu_dev_{major,minor,makedev} functions.
24799 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24801 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24803 2011-07-20 Andreas Schwab <schwab@redhat.com>
24805 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24808 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24811 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24812 register in order to avoid conflicts with the soft frame pointer
24813 being held in r11 when necessary.
24814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24815 (INTERNAL_VSYSCALL_NCS): Likewise.
24817 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24819 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24820 * elf/dl-fini.c (_dl_fini): Adjust caller.
24821 * elf/dl-close.c (_dl_close_worker): Likewise.
24822 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24824 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24826 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24827 "aux_cache->nlibs < 0".
24829 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24830 in the reload-count case.
24832 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24835 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24836 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24837 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24838 * sysdeps/x86_64/multiarch/strcat.S: New file.
24839 * sysdeps/x86_64/multiarch/strncat.S: New file.
24840 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24841 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24842 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24843 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24845 (USE_AS_STRCAT): Define.
24846 Add strcat and strncat support.
24847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24848 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24849 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24850 * string/strncat.c: Update.
24851 (USE_AS_STRNCAT): Define.
24852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24853 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24855 * sysdeps/x86_64/multiarch/init-arch.h
24856 (bit_Prefer_PMINUB_for_stringop): New.
24857 (index_Prefer_PMINUB_for_stringop): Likewise.
24858 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24859 bit_Prefer_PMINUB_for_stringop.
24861 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24863 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24865 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24866 of casting of buffer.
24867 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24868 buffer32 and buffer64.
24869 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24870 writes instead of casting of buffer.
24871 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24873 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24876 2011-07-19 Andreas Schwab <schwab@redhat.com>
24878 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24880 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24882 * nscd/nscd.c (termination_handler): Don't do anything for a database
24883 if it has not yet been initialized.
24885 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24887 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24889 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24891 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24893 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24895 * po/nl.po: Update from translation team.
24896 * po/sv.po: Likewise.
24898 2011-07-16 Roland McGrath <roland@hack.frob.com>
24900 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24901 now disallowed by GCC.
24903 * configure.in (use-default-link): Default to yes if a test -shared
24904 link meets our qualifications.
24905 * configure: Regenerated.
24907 * config.make.in (output-format): New variable.
24908 * configure.in: Check for ld --print-output-format support.
24909 * configure: Regenerated.
24910 * Makerules ($(common-objpfx)format.lds)
24911 [$(output-format) != unknown]: Just use $(output-format),
24912 instead of the linker-script munging.
24914 2011-07-14 Roland McGrath <roland@hack.frob.com>
24916 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24917 of $(common-objpfx)shlib.lds.
24918 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24920 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24921 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24923 * configure.in (-z relro check): Adjust test code to add a large
24924 writable data section after it.
24925 * configure: Regenerated.
24927 2011-07-11 Roland McGrath <roland@hack.frob.com>
24929 * configure.in (-z relro check): Fix test code to make the variable
24931 * configure: Regenerated.
24933 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24935 * nscd/nscd.h (struct traced_file): Define.
24936 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24937 elements. Add traced_files.
24938 (inotify_fd): Declare.
24939 (register_traced_file): Declare.
24940 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24941 (inotify_fd): Export.
24942 (resolv_conf_descr): Remove.
24943 (nscd_init): Move inotify descriptor creation to main.
24944 Don't register files for notification here.
24945 (register_traced_file): New function.
24946 (invalidate_cache): Don't use reset_res to determine whether to call
24947 res_init, go through the list of registered files.
24948 (main_loop_poll): The inotify descriptors are now stored in the
24949 structures for the traced files.
24950 (main_loop_epoll): Likewise
24951 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24952 to __nss_disable_nscd.
24953 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24954 for a database anymore. Check the records for all the registered
24956 * nss/Makefile (libnss_files-routines): Add files-init.
24957 (libnss_db-routines): Add db-init.
24958 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24959 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24960 * nss/nss_db/db-init.c: New file.
24961 * nss/nss_files/files-init.c: New file.
24962 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24963 __nss_lookup_function.
24964 (__nss_lookup_function): Call nss_load_library.
24965 (nss_load_all_libraries): New function.
24966 (__nss_disable_nscd): Take parameter with callback function for files
24967 to register. Set is_nscd. Load all the DSOs for the NSS modules
24968 used for the cached services.
24969 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24970 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24971 options for features to all the files in nscd.
24973 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24975 2011-07-10 Roland McGrath <roland@hack.frob.com>
24977 * csu/elf-init.c (__libc_csu_init): Comment typo.
24979 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24981 * po/pl.po: Update from translation team.
24982 * po/ja.po: Likewise.
24983 * po/ru.po: Likewise.
24984 * po/ko.po: Likewise.
24985 * po/fr.po: Likewise.
24987 2011-07-09 Roland McGrath <roland@hack.frob.com>
24989 * configure.in (.ctors/.dtors header and trailer check):
24990 Use an empirical test on a built program.
24991 * configure: Regenerated.
24993 * configure.in (-z relro check): Use an empirical test on a built DSO.
24994 Detect, but do not require, on ia64.
24995 * configure: Regenerated.
24997 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24998 Update tests that use readelf to use $READELF instead.
24999 * configure: Regenerated.
25001 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25003 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25004 if the result is not used.
25006 2011-07-05 Andreas Jaeger <aj@suse.de>
25009 * stdlib/tst-strtod.c: Add testcase.
25011 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25013 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25014 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25015 The latter has a higher limit. Take additional parameter to pass to
25017 (__pathconf): Pass file to __statfs_link_max.
25018 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25020 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25024 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25025 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25027 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25028 (__statfs_filesize_max): Likewise.
25029 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25031 2011-07-05 Andreas Jaeger <aj@suse.de>
25033 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25035 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25037 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25039 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25042 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25044 * Makefile (strop-tests): Add strncat.
25045 * string/test-strncat.c: New file.
25047 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25049 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25051 2011-06-21 Andreas Jaeger <aj@suse.de>
25053 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25054 Copy rule from iconvdata/Makefile.
25056 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25059 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25060 but no long options are defined, just return 'W'.
25062 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25065 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25067 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25069 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25071 (innetgr): Likewise.
25073 2011-07-05 Roland McGrath <roland@hack.frob.com>
25075 * config.make.in (install_root): Default to $(DESTDIR).
25077 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25081 2011-07-02 Roland McGrath <roland@hack.frob.com>
25083 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25085 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25086 containing directory rather than embedding absolute directory names.
25088 * scripts/check-local-headers.sh: Rewritten using awk.
25089 Match by word, not by line. Print error messages for matches.
25090 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25092 * Makerules [shlib-lds-flags empty]:
25093 ($(common-objpfx)libc_pic.opts): New target.
25094 ($(common-objpfx)libc_pic.os.clean): New target.
25095 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25097 * config.make.in (OBJCOPY): New variable.
25098 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25099 * configure: Regenerated.
25101 * config.make.in (use-default-link): New variable.
25102 * configure.in (use_default_link): Grok --with-default-link to set it.
25103 * configure: Regenerated.
25104 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25105 (shlib-lds, shlib-lds-flags): Define to empty.
25107 * Makerules (shlib-lds): New variable.
25108 (shlib-lds-flags): New variable.
25109 (build-shlib, build-moduile, build-module-asneeded): Use it.
25110 ($(common-objpfx)libc.so): Use $(shlib-lds).
25111 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25112 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25114 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25115 DT_FLAGS/DT_FLAGS_1 with zero flags.
25117 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25118 linker script munging.
25120 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25122 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25124 * crypt/sha512.c (sha512_process_block): Perform total addition using
25125 128-bit if possible.
25126 (__sha512_finish_ctx): Likewise.
25127 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25129 * crypt/sha256.c (SWAP64): Define.
25130 (sha256_process_block): Perform total addition using 64-bit if
25132 (__sha256_finish_ctx): Likewise.
25134 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25136 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25138 * nscd/hstcache.c (cache_addhst): Likewise.
25139 * nscd/grpcache.c (cache_addgr): Likewise.
25140 * nscd/aicache.c (addhstaiX): Likewise
25141 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25143 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25145 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25147 * nscd/hstcache.c (cache_addhst): Likewise.
25148 * nscd/grpcache.c (cache_addgr): Likewise.
25149 * nscd/aicache.c (addhstaiX): Likewise
25151 2011-07-01 Andreas Schwab <schwab@redhat.com>
25153 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25154 domain only when needed.
25156 2011-06-30 Andreas Schwab <schwab@redhat.com>
25158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25159 is always restored.
25161 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25163 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25164 are re-adding the entry.
25165 * nscd/servicescache.c (cache_addserv): Likewise.
25167 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25169 * sysdeps/generic/dl-irel.h: fix protection against multiple
25171 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25173 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25176 * malloc/memusage.sh: Fix quoting in message.
25177 * debug/xtrace.sh: Likewise.
25179 * configure.in: Remove support for --experimental-malloc option, make
25181 * config.make.in: Likewise.
25182 * malloc/Makefile: Likewise.
25184 2011-06-27 Andreas Schwab <schwab@redhat.com>
25186 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25187 two-byte characters.
25189 2011-06-27 Roland McGrath <roland@hack.frob.com>
25191 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25192 AC_CACHE_CHECK invocation.
25193 * configure: Regenerated.
25195 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25197 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25200 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25201 bit from old_res_options.
25203 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25205 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25206 value type for setfct.
25208 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25211 __gettimeofday instead of gettimeofday.
25213 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25215 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25217 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25224 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25227 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25228 strcpy-sse2-unaligned strncpy-sse2-unaligned
25229 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25230 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25231 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25232 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25233 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25234 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25235 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25236 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25237 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25238 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25239 (STRCPY): Support SSE2 and SSSE3 versions.
25241 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25245 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25246 kernels which artificially limit size of requests.
25248 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25251 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25252 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25253 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25254 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25255 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25256 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25257 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25258 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25260 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25261 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25262 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25263 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25264 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25266 Enable unaligned load optimization for Intel Core i3, i5 and i7
25268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25270 (index_Fast_Unaligned_Load): Define.
25271 (HAS_FAST_UNALIGNED_LOAD): Define.
25273 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25275 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25277 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25281 until it is clear that the information is realy needed.
25282 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25284 2011-06-22 Andreas Schwab <schwab@redhat.com>
25286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25288 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25291 /sys/devices/system/cpu/online if it is usable.
25293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25294 reading the information from the /proc filesystem to once a second.
25296 2011-06-21 Andreas Jaeger <aj@suse.de>
25298 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25299 NULL after inclusion of kernel headers.
25301 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25303 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25304 calls to internal_setent.
25307 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25308 addresses using gethostbyname4_r ignore IPv4 addresses.
25310 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25311 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25313 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25315 2011-06-20 David S. Miller <davem@davemloft.net>
25317 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25319 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25321 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25322 (elf_irel): Use it.
25323 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25324 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25325 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25326 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25327 * sysdeps/x86_64/dl-irel.h: Likewise.
25329 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25330 * elf/dl-sym.c: Likewise.
25332 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25334 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25335 need to dereference resplen2.
25337 2011-06-14 Andreas Schwab <schwab@redhat.com>
25339 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25341 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25343 * Makeconfig: Define vardbdir and inst_vardbdir.
25344 * nss/Makefile: Add rules to install db-Makefile.
25346 * nss/nss_db/db-XXX.c: Cleanup.
25348 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25349 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25351 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25352 * nss/makedb.c: Implement -g option to specify that value strings
25353 are generated and should not be added to table iterated over for
25355 * nss/nss_db/db-initgroups.c: New file.
25357 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25360 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25361 (internal_getgrouplist): Adjust to name change.
25362 Update use_initgroups_entry if this is not the first call.
25363 * nss/databases.def: Add initgroups entry.
25365 * nss/makedb.c (compute_tables): Check result of multiple hash table
25366 sizes to minimize maximum chain length.
25368 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25370 * Versions.def: Add entry for libnss_db.
25371 * shlib-versions: Likewise.
25372 * nss/Makefile: Add rules to build libnss_db.
25373 * nss/Versions: Add libnss_db information. Organize libnss_files
25375 * nss/db-Makefile: Add gshadow support. Change rules for the new
25376 makedb progra. Some minor improvements to generate smaller files.
25377 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25379 * nss/makedb.c: ...here.
25380 Improve database format to be smaller and require less memory at
25382 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25384 * nss/nss_db/db-netgrp.c: Likewise.
25385 * nss/nss_db/db-open.c: Likewise.
25386 * nss/nss_files/flies-XXX.x: Adjust comments.
25387 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25388 * nss/nss_files/files-grp.c: Likewise.
25389 * nss/nss_files/files-hosts.c: Likewise.
25390 * nss/nss_files/files-network.c: Likewise.
25391 * nss/nss_files/files-proto.c: Likewise.
25392 * nss/nss_files/files-pwd.c: Likewise.
25393 * nss/nss_files/files-rpc.c: Likewise.
25394 * nss/nss_files/files-service.c: Likewise.
25395 * nss/nss_files/files-sgrp.c: Likewise.
25396 * nss/nss_files/files-spwd.c: Likewise.
25397 * nss/nss_db/db-alias.c: Removed.
25398 * nss/nss_db/dummy-db.h: Removed.
25400 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25402 * nss/makedb.c: Rewritten to not use database library.
25403 * nss/Makefile: Update to build new makedb program.
25405 2011-06-14 Andreas Jaeger <aj@suse.de>
25407 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25408 memset declaration.
25410 2011-06-10 Andreas Schwab <schwab@redhat.com>
25412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25415 2011-06-10 Roland McGrath <roland@hack.frob.com>
25417 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25418 * elf/Makefile ($(objpfx)ld.so): Likewise.
25420 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25421 Don't list ld.so twice in dependencies.
25423 * posix/bug-regex31.c: Include <stdlib.h>.
25425 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25427 * nis/nss_compat/compat-spwd.c
25428 (getspent_next_nss_netgr): Remove unused variable.
25429 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25431 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25432 nonmembers" output to use the right array.
25434 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25436 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25438 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25439 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25440 * catgets/gencat.c (read_input_file): Likewise.
25441 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25443 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25444 variable definition inside #if's controlling its use.
25446 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25448 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25450 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25452 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25455 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25457 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25458 * configure: Regenerated.
25460 * Makerules: Revert last change.
25461 * elf/Makefile: Likewise.
25463 2011-06-09 Roland McGrath <roland@hack.frob.com>
25465 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25466 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25467 (reloc-link): Likewise.
25469 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25471 * elf/Makefile: Add rules to build pldd.
25472 * elf/pldd.c: New file.
25473 * elf/pldd-xx.c: New file.
25475 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25477 * version.h: Update for 2.15 development version.
25479 2011-06-07 David S. Miller <davem@davemloft.net>
25481 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25484 elf_machine_lazy_rel): Likewise.
25485 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25487 elf_machine_lazy_rel): Likewise.
25488 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25489 dl_hwcap via passed in argument.
25490 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25493 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25495 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25497 2011-06-06 Roland McGrath <roland@hack.frob.com>
25500 * manual/fdl-1.1.texi: New file, verbatim from:
25501 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25502 * manual/lgpl-2.1.texi: New file, verbatim from:
25503 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25504 * manual/Makefile (licenses): New variable, list those new file names.
25506 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25508 * manual/fdl.texi: File removed.
25509 * manual/lesser.texi: File removed.
25510 * manual/libc.texinfo (Copying, Documentation License):
25511 Use new @include file names, put @appendix directive before @include.
25513 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25516 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25517 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25518 (mq_open): Add __NTH.
25520 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25523 Assume Intel Core i3/i5/i7 processor if AVX is available.
25525 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25530 2011-05-31 Andreas Schwab <schwab@redhat.com>
25532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25533 memory. Use alloca_account. Fix memory leak when retrying.
25535 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25537 * version.h (RELEASE): Bump for 2.14 release.
25538 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25540 * config.make.in (RANLIB): Remove entry.
25542 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25544 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25545 (libc.pot): Work around missing support for .ksh extension in xgettext.
25548 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25549 if both request failed.
25550 (send_dg): In case of server errors clear resplen or *resplen2.
25553 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25554 when there are multiple maps.
25555 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25556 (_dl_fini): Remove test here.
25558 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25560 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25563 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25564 bit from old_res_options.
25565 (gaih_inet): Likewise.
25568 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25571 * resolv/res_init.c (res_setoptions): Make the code more compact.
25574 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25578 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25580 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25583 * malloc/malloc.h: Declare malloc hook variables as volatile.
25585 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25589 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25590 raise in the comment.
25591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25593 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25595 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25598 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25599 grow the buffers more if it already has to be sufficient.
25600 (build_wcs_upper_buffer): Likewise.
25601 * posix/regexec.c (check_matching): Likewise.
25602 (clean_state_log_if_needed): Likewise.
25603 (extend_buffers): Don't enlarge buffers beyond size of the input
25605 Patches mostly by Emil Wojak <emil@wojak.eu>.
25606 * posix/bug-regex32.c: New file.
25607 * posix/Makefile (tests): Add bug-regex32.
25609 * locale/findlocale.c (_nl_find_locale): Return right away if
25610 _nl_explode_name failed.
25611 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25613 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25615 * debug/xtrace.sh: Unify messages.
25616 * malloc/memusage.sh: Likewise.
25619 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25620 time symbol from vDSO. Substitute with vsyscall if not available.
25621 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25624 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25625 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25626 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25627 Add sendmmsg and internal_sendmmsg.
25628 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25629 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25632 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25633 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25634 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25636 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25639 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25640 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25642 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25646 * iconvdata/Makefile (tests): Add bug-iconv9.
25647 * iconvdata/bug-iconv9.c: New file.
25649 2011-05-27 Andreas Schwab <schwab@redhat.com>
25652 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25654 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25657 (struct user_regs_struct): Change intcs field back to cs.
25659 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25661 * po/ja.po: Update from translation team.
25663 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25666 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25667 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25669 2011-05-20 Andreas Schwab <schwab@redhat.com>
25671 * stdlib/longlong.h: Update from GCC.
25673 2011-05-23 Andreas Schwab <schwab@redhat.com>
25675 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25677 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25678 Add parameter name.
25679 (__sysconf): Pass it down.
25681 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25684 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25687 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25688 add in in __libc_use_alloca calls. Adjust callers.
25689 (glob): Use malloc in some situations.
25691 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25692 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25695 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25697 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25698 and CLOCK_BOOTTIME_ALARM.
25701 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25704 * string/_strerror.c (__strerror_r): Print negative errors as signed
25708 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25709 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25710 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25712 * configure.in: Fix typo in redirection and correct removal of test
25713 files in two cases.
25716 * locale/setlocale.c (new_composite_name): Fix test to check for
25717 identical name of all categories.
25720 * libio/filedoalloc.c (local_isatty): New function.
25721 (_IO_file_doallocate): Use local_isatty.
25722 * stdio-common/perror.c (perror): In case a new stream is used
25723 forward the stream error.
25724 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25727 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25732 * include/alloca.h (extend_alloca_account): Define.
25735 * posix/regex.h: Fix comments with documentation of user-accessible
25736 fields after compilation and describe correct free'ing of pattern
25737 after re_compile_pattern.
25738 Patch by Reuben Thomas <rrt@sc3d.org>.
25740 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25742 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25743 and -mno-altivec to prevent the compiler from using Altivec and/or
25744 VSX instructions when the corresponding registers are not available.
25746 2011-05-19 Andreas Schwab <schwab@redhat.com>
25748 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25750 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25752 * libio/freopen.c (freopen): Use __dup2, not dup2.
25753 * libio/freopen64.c (freopen64): Likewise.
25755 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25758 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25759 * math/Makefile (tests): Add test-powl.
25760 (CFLAGS-test-powl.c): Define.
25761 * math/test-powl.c: New file.
25763 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25765 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25767 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25770 * iconvdata/gb18030.c: Update to GB18020-2005.
25772 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25774 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25775 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25776 Patch by Aharon Robbins <arnold@skeeve.com>.
25779 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25783 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25784 through underflows.
25787 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25788 point to strings before performing equality test for error_one_per_line
25792 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25796 (struct user_fpregs_struct): Avoid __uint*_t types.
25799 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25800 symbol info. Use it instead of calling _dl_addr locally.
25801 (lock_and_info): New function.
25802 (tr_freehook): Call lock_and_info and pass symbol info as additional
25803 parameter to tr_where.
25804 (tr_mallochook): Likewise.
25805 (tr_reallochook): Likewise.
25806 (tr_memalignhook): Likewise.
25808 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25809 used and couldn't be at all thread-safe.
25811 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25813 * libio/freopen.c (freopen): Don't close old file descriptor
25814 before the new one is opened. Instead dup the new file descriptor
25815 to the old one after the new stream is created.
25816 * libio/freopen64.c (freopen64): Likewise.
25817 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25818 * libio/fileops.c (_IO_new_file_close_it): Handle new
25819 _IO_FLAGS2_NOCLOSE flag.
25820 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25821 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25822 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25823 _IO_FLAGS2_NOCLOSE flag.
25824 * include/unistd.h: Add hidden_proto for dup3.
25825 Define __have_dup3.
25826 * io/dup3.c: Define hidden symbol.
25827 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25830 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25831 when an incomplete long option is used.
25832 * posix/tst-getopt_long1.c: New file.
25833 * posix/Makefile (tests): Add tst-getopt_long1.
25836 * scripts/config.guess: Update from autoconf-2.68.
25837 * scripts/config.sub: Likewise.
25840 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25842 (has_cpuclock): ...this. New function.
25843 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25844 macro here based on has_cpuclock code.
25847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25848 First byte (not low byte) is now always NUL.
25849 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25852 Use non-cancelable interfaces.
25855 * locale/iso-639.def: Add entry for Sorani.
25858 * include/stdlib.h: Move include protection to the right place.
25859 Define abort_msg_s. Declare __abort_msg with it.
25860 * stdlib/abort.c (__abort_msg): Adjust type.
25861 * assert/assert.c (__assert_fail_base): New function. Majority
25862 of code from __assert_fail. Allocate memory for __abort_msg with
25864 (__assert_fail): Now call __assert_fail_base.
25865 * assert/assert-perr.c: Remove bulk of implementation. Use
25866 __assert_fail_base.
25867 * include/assert.hL Declare __assert_fail_base.
25868 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25870 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25872 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25876 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25877 until all modules are registered in the DTV.
25878 * elf/Makefile: Add rules to build and run tst-tls19.
25879 * elf/tst-tls19.c: New file.
25880 * elf/tst-tls19mod1.c: New file.
25881 * elf/tst-tls19mod2.c: New file.
25882 * elf/tst-tls19mod3.c: New file.
25883 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25886 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25890 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25891 two-byte sequence errors.
25892 * iconvdata/Makefile (tests): Add bug-iconv8.
25893 * iconvdata/bug-iconv8.c: New file.
25896 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25899 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25902 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25903 (dummy_getcfa): New function.
25904 (init): Get _Unwind_GetCFA address, use dummy if not found.
25905 (backtrace_helper): In recursion check, also check whether CFA changes.
25906 (__backtrace): Completely initialize arg.
25908 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25909 storing incomplete byte sequence in state object. Avoid testing for
25910 guaranteed too small input if we know there is enough data available.
25912 2011-05-11 Andreas Schwab <schwab@redhat.com>
25914 * Makeconfig (+link-pie): Indent.
25915 * Rules (binaries-pie): Define if $(have-fpie) and
25917 (binaries-shared): Also filter out $(binaries-pie).
25918 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25919 * nscd/Makefile (others-pie): Add nscd.
25920 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25921 ($(objpfx)nscd): Remove command override.
25922 * login/Makefile (others-pie): Add pt_chown.
25923 ($(objpfx)pt_chown): Remove command override.
25924 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25925 remove command overrides.
25927 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25929 * libio/tst_putwc.c: Fix error messages.
25932 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25933 currently writing and seek to current position when not.
25934 * libio/Makefile (tests): Add bug-fclose1.
25935 * libio/bug-fclose1.c: New file.
25937 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25940 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25941 don't set DF_1_NODELETE here.
25942 (do_lookup_x): When entering new entry test for copy relocation
25943 and if necessary set DF_1_NODELETE flag.
25944 * elf/tst-unique4.cc: New file.
25945 * elf/tst-unique4.h: New file.
25946 * elf/tst-unique4lib.cc: New file.
25947 * elf/Makefile: Add rules to build and run tst-unique4.
25948 Patch by Piotr Bury <pbury@goahead.com>.
25950 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25953 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25956 * misc/mntent_r.c (addmntent): Flush the stream after the output
25959 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25960 (is_trusted_path_normalize): Skip initial colon. Append slash
25961 to empty buffer. Duplicate is_trusted_path code but allow
25962 constructed patch to be prefix.
25963 (is_dst): Allow $ORIGIN followed by /.
25964 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25965 Correct testing of result of is_trusted_path_normalize
25966 (decompose_rpath): Fix warning.
25968 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25971 * grp/initgroups.c (internal_getgrouplist): When we found the service
25972 list through the initgroups entry in nsswitch.conf do not always
25973 continue on a successful lookup. Don't always use the
25974 __nss_group_database value if it is set.
25975 * nss/nsswitch.conf (initgroups): Change action for successful db
25976 lookup to continue for compatibility.
25978 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25981 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25983 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25985 * iconvdata/tst-tables.sh: Likewise.
25986 * iconvdata/cp770.c: New file.
25987 * iconvdata/cp771.c: New file.
25988 * iconvdata/cp772.c: New file.
25989 * iconvdata/cp773.c: New file.
25990 * iconvdata/cp774.c: New file.
25991 * iconvdata/testdata/CP770: New file.
25992 * iconvdata/testdata/CP770..UTF8: New file.
25993 * iconvdata/testdata/CP771: New file.
25994 * iconvdata/testdata/CP771..UTF8: New file.
25995 * iconvdata/testdata/CP772: New file.
25996 * iconvdata/testdata/CP772..UTF8: New file.
25997 * iconvdata/testdata/CP773: New file.
25998 * iconvdata/testdata/CP773..UTF8: New file.
25999 * iconvdata/testdata/CP774: New file.
26000 * iconvdata/testdata/CP774..UTF8: New file.
26002 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26004 * iconvdata/gen-8bit-gap.sh: Likewise.
26005 * iconvdata/gen-8bit.sh: Likewise.
26007 * locale/iso-639.def: Add ary entry.
26010 * locale/C-translit.h.in: Add U20A1 transliteration.
26013 * locale/iso-639.def: Add wae entry.
26014 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26017 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26021 * locale/C-translit.h.in: Add entry for U20B9.
26022 Patch by pravin.d.s@gmail.com.
26024 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26027 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26028 ENAMETOOLONG use generic getcwd.
26029 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26030 in rtld. Use *stat64.
26031 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26032 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26033 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26034 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26035 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26036 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26037 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26038 __fstatat64 macros.
26039 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26040 * dirent/rewinddir.c: Add libc_hidden_def.
26041 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26042 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26044 * include/dirent.h (__alloc_dir): Add flags parameter.
26045 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26046 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26048 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26049 from fdopendir if O_CLOEXEC is already set.
26051 2011-03-15 Alan Modra <amodra@gmail.com>
26053 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26054 l_tls_firstbyte_offset non-zero. Save padding offset in
26055 l_tls_firstbyte_offset for later use.
26056 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26057 freeing static tls block.
26059 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26061 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26062 where #ifdef was intended. The intent is to prevent ARG_MAX from
26063 being defined by the kernel headers.
26065 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26068 * resolv/resolv.h: Define RES_NOTLDQUERY.
26069 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26070 no-tld-query and set RES_NOTLDQUERY.
26071 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26072 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26073 modern BIND to search name as TLD unless forbidden.
26075 2011-05-07 Petr Baudis <pasky@suse.cz>
26076 Ulrich Drepper <drepper@gmail.com>
26079 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26080 (is_trusted_path): ...to here.
26081 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26082 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26083 using is_trusted_path_normalize() in setuid scripts.
26085 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26087 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26088 __BEGIN/__END_DECLS.
26090 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26093 NSS_STATUS_NOTFOUND if no record was found.
26095 2011-05-05 Andreas Schwab <schwab@redhat.com>
26097 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26098 (headers-not-in-tirpc): Remove rpc/netdb.h
26099 * resolv/netdb.h: Revert last change.
26101 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26103 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26104 circular dependency between libgcc.a and libc.a.
26106 2011-05-05 Andreas Schwab <schwab@redhat.com>
26108 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26109 * nis/Makefile: Don't install rpcsvc/*.
26110 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26111 instead of <rpc/types.h>.
26112 (MAXHOSTNAMELEN): Define.
26114 2011-05-03 Andreas Schwab <schwab@redhat.com>
26116 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26118 2011-04-28 Maciej Babinski <mbabinski@google.com>
26121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26122 gethostbyname4_r when IPv6 results are possible.
26124 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26127 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26128 _PC_PIPE_BUF handling.
26130 2011-04-30 Bruno Haible <bruno@clisp.org>
26133 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26134 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26136 * inet/getnameinfo.c (getnameinfo): Likewise.
26138 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26140 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26141 to groups setting in database lookup.
26142 * nss/nsswitch.conf: Add initgroups entry.
26144 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26147 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26149 Patch by Eric Blake <eblake@redhat.com>.
26151 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26153 * sunrpc/Makefile (need-export-routines): Add svc_run.
26154 (routines): Remove svc_run.
26155 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26156 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26157 * sunrpc/svc_run.c (svc_run): Likewise.
26158 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26160 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26163 problem in reallocation in last patch.
26165 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26167 * sunrpc/Makefile: Move inclusion of Rules.
26169 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26171 * nss/nss_files/files-initgroups.c: New file.
26172 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26173 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26174 _nss_files_initgroups_dyn.
26176 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26178 * elf/elf.h (R_ARM_IRELATIVE): Define.
26180 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26182 * po/ru.po: Update from translation team.
26184 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26186 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26189 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26193 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26194 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26198 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26200 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26202 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26206 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26209 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26211 * stdlib/bug-getcontext.c: New file.
26212 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26214 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26216 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26217 instructions into .machine "z9-109".
26218 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26219 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26221 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26223 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26224 between environment variables and auxiliary vector.
26226 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26228 * Makefile: Add rules to build linkobj/libc.so.
26229 * include/libc-symbols.h: Define libc_hidden_nolink.
26230 * include/rpc/auth.h: Mark functions which are to be hidden.
26231 * include/rpc/auth_des.h: Likewise.
26232 * include/rpc/auth_unix.h: Likewise.
26233 * include/rpc/clnt.h: Likewise.
26234 * include/rpc/des_crypt.h: Likewise.
26235 * include/rpc/key_prot.h: Likewise.
26236 * include/rpc/pmap_clnt.h: Likewise.
26237 * include/rpc/pmap_prot.h: Likewise.
26238 * include/rpc/pmap_rmt.h: Likewise.
26239 * include/rpc/rpc_msg.h: Likewise.
26240 * include/rpc/svc.h: Likewise.
26241 * include/rpc/svc_auth.h: Likewise.
26242 * include/rpc/xdr.h: Likewise.
26243 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26244 * nss/Makefile: Likewise.
26245 * sunrpc/Makefile: Don't install headers. Build library with normal
26246 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26247 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26248 for the compat linking library. Remove use of INTDEF/INTUSE.
26249 * sunrpc/auth_none.c: Likewise.
26250 * sunrpc/auth_unix.c: Likewise.
26251 * sunrpc/authdes_prot.c: Likewise.
26252 * sunrpc/authuxprot.c: Likewise.
26253 * sunrpc/clnt_gen.c: Likewise.
26254 * sunrpc/clnt_perr.c: Likewise.
26255 * sunrpc/clnt_raw.c: Likewise.
26256 * sunrpc/clnt_simp.c: Likewise.
26257 * sunrpc/clnt_tcp.c: Likewise.
26258 * sunrpc/clnt_udp.c: Likewise.
26259 * sunrpc/clnt_unix.c: Likewise.
26260 * sunrpc/des_crypt.c: Likewise.
26261 * sunrpc/des_soft.c: Likewise.
26262 * sunrpc/get_myaddr.c: Likewise.
26263 * sunrpc/key_call.c: Likewise.
26264 * sunrpc/key_prot.c: Likewise.
26265 * sunrpc/netname.c: Likewise.
26266 * sunrpc/pm_getmaps.c: Likewise.
26267 * sunrpc/pm_getport.c: Likewise.
26268 * sunrpc/pmap_clnt.c: Likewise.
26269 * sunrpc/pmap_prot.c: Likewise.
26270 * sunrpc/pmap_prot2.c: Likewise.
26271 * sunrpc/pmap_rmt.c: Likewise.
26272 * sunrpc/publickey.c: Likewise.
26273 * sunrpc/rpc_cmsg.c: Likewise.
26274 * sunrpc/rpc_common.c: Likewise.
26275 * sunrpc/rpc_dtable.c: Likewise.
26276 * sunrpc/rpc_prot.c: Likewise.
26277 * sunrpc/rpc_thread.c: Likewise.
26278 * sunrpc/rtime.c: Likewise.
26279 * sunrpc/svc.c: Likewise.
26280 * sunrpc/svc_auth.c: Likewise.
26281 * sunrpc/svc_authux.c: Likewise.
26282 * sunrpc/svc_raw.c: Likewise.
26283 * sunrpc/svc_run.c: Likewise.
26284 * sunrpc/svc_simple.c: Likewise.
26285 * sunrpc/svc_tcp.c: Likewise.
26286 * sunrpc/svc_udp.c: Likewise.
26287 * sunrpc/svc_unix.c: Likewise.
26288 * sunrpc/svcauth_des.c: Likewise.
26289 * sunrpc/xcrypt.c: Likewise.
26290 * sunrpc/xdr.c: Likewise.
26291 * sunrpc/xdr_array.c: Likewise.
26292 * sunrpc/xdr_float.c: Likewise.
26293 * sunrpc/xdr_intXX_t.c: Likewise.
26294 * sunrpc/xdr_mem.c: Likewise.
26295 * sunrpc/xdr_rec.c: Likewise.
26296 * sunrpc/xdr_ref.c: Likewise.
26297 * sunrpc/xdr_sizeof.c: Likewise.
26298 * sunrpc/xdr_stdio.c: Likewise.
26300 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26303 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26304 * sysdeps/ia64/dl-tls.h: Likewise.
26305 * sysdeps/powerpc/dl-tls.h: Likewise.
26306 * sysdeps/s390/dl-tls.h: Likewise.
26307 * sysdeps/sh/dl-tls.h: Likewise.
26308 * sysdeps/sparc/dl-tls.h: Likewise.
26309 * sysdeps/x86_64/dl-tls.h: Likewise.
26310 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26312 2011-03-14 Andreas Schwab <schwab@redhat.com>
26314 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26315 rpath element also skip the following colon.
26316 (expand_dynamic_string_token): Add is_path parameter and pass
26317 down to DL_DST_REQUIRED and _dl_dst_substitute.
26318 (decompose_rpath): Call expand_dynamic_string_token with
26319 non-zero is_path. Ignore empty rpaths.
26320 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26323 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26328 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26331 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26332 Patch by Filipe David Manana <fdmanana@apache.org>.
26334 2011-04-07 Andreas Schwab <schwab@redhat.com>
26336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26337 Maintain aligned stack.
26338 (CHECK_RSP): Remove unused macro.
26340 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26342 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26343 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26345 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26347 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26349 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26351 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26354 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26355 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26356 * sysdeps/x86_64/memmove.c: New file.
26357 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26358 (memcpy): Renamed to ...
26359 (__new_memcpy): This.
26360 (memcpy): Provide GLIBC_2_14 memcpy.
26361 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26362 (memcpy): Provide GLIBC_2_2_5 memcpy.
26364 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26367 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26369 2011-03-30 Andreas Schwab <schwab@redhat.com>
26371 * misc/syncfs.c: New file.
26372 * misc/Makefile (routines): Add syncfs.
26373 * posix/unistd.h: Declare syncfs.
26374 * sysdeps/unix/syscalls.list: Add syncfs.
26376 2011-04-01 Andreas Schwab <schwab@redhat.com>
26378 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26385 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26398 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26399 sync_file_range.c with -fexceptions.
26400 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26401 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26402 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26403 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26404 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26405 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26407 sync_file_range as cancellation point
26408 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26409 now a wrapper around __call_sync_file_range with cancellation handling.
26410 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26411 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26412 function name to __call_sync_file_range.
26413 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26414 Add call_sync_file_range.
26416 2011-04-01 Andreas Schwab <schwab@redhat.com>
26418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26423 * iconv/iconv.h: Fix typo in comment.
26424 * io/fcntl.h: Likewise.
26425 * libio/stdio.h: Likewise.
26426 * posix/spawn.h: Likewise.
26427 * posix/unistd.h: Likewise.
26428 * stdlib/stdlib.h: Likewise.
26429 * time/time.h: Likewise.
26430 * wcsmbs/wchar.h: Likewise.
26432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26433 open_by_handle): Add.
26434 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26435 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26436 Augment a few comments.
26437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26442 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26445 * io/fcntl.h (AT_EMPTY_PATH): Define.
26447 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26449 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26450 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26451 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26453 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26454 * Versions.def: Add GLIBC_2.14.
26455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26458 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26464 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26467 * string/test-strncmp.c (do_page_test): New function.
26468 (check2): Likewise.
26469 (test_main): Call check2.
26470 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26472 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26475 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26476 Handle cache information in CPU leaf 4.
26477 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26479 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26482 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26483 character representation.
26484 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26486 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26488 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26489 END(__isnan) to END(__isnanf) to match function entry point/label
26490 EALIGN(__isnanf,...).
26492 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26494 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26496 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26499 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26500 copy from the symbol referenced in the relocation to initialize the
26502 Patch by Piotr Bury <pbury@goahead.com>.
26503 * elf/Makefile: Add rules to build and tst-unique3.
26504 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26505 * elf/tst-unique3.cc: New file.
26506 * elf/tst-unique3.h: New file.
26507 * elf/tst-unique3lib.cc: New file.
26508 * elf/tst-unique3lib2.cc: New file.
26510 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26512 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26514 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26515 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26518 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26520 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26521 to-be-loaded object along a path to loader is ld.so.
26523 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26524 Ulrich Drepper <drepper@gmail.com>
26526 * sysdeps/x86_64/memset.S: After aligning destination, code
26527 branches to different locations depending on the value of
26528 misalignment, when multiarch is enabled. Fix this.
26530 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26532 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26533 Set _x86_64_preferred_memory_instruction for AMD processsors.
26534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26535 Set bit_Prefer_SSE_for_memop for AMD processors.
26537 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26539 * libio/fmemopen.c (fmemopen): Optimize a bit.
26541 2011-03-03 Andreas Schwab <schwab@redhat.com>
26543 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26545 2011-03-03 Roland McGrath <roland@redhat.com>
26547 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26549 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26551 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26552 __bzero_ultra1 instead of __memset_ultra1.
26554 2011-02-23 Andreas Schwab <schwab@redhat.com>
26555 Ulrich Drepper <drepper@gmail.com>
26558 * include/link.h (struct link_map): Add l_orig_initfini.
26559 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26560 returning unsuccessfully.
26561 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26562 close of a file loaded at startup, restore the original l_initfini
26564 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26565 list, store the pointer.
26566 * elf/Makefile ($(objpfx)noload-mem): New rule.
26567 (noload-ENV): Define.
26568 (tests): Add $(objpfx)noload-mem.
26569 * elf/noload.c: Include <memcheck.h>.
26570 (main): Call mtrace. Close all opened handles.
26572 2011-02-17 Andreas Schwab <schwab@redhat.com>
26575 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26576 dependencies are missing.
26578 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26580 Fix __if_freereq crash: Unlike the generic version which uses free,
26582 * sysdeps/mach/hurd/ifreq.h: New file.
26584 2011-01-27 Petr Baudis <pasky@suse.cz>
26585 Ulrich Drepper <drepper@gmail.com>
26588 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26589 to extend_alloca().
26590 * stdio-common/bug23.c: New file.
26591 * stdio-common/Makefile (tests): Add bug23.
26593 2010-09-28 Andreas Schwab <schwab@redhat.com>
26594 Ulrich Drepper <drepper@gmail.com>
26597 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26598 before performing relro protection. At old place add assertion
26599 to make sure nothing changed.
26601 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26602 Glauber de Oliveira Costa <glommer@gmail.com>
26604 * elf/elf.h: Add new ARM TLS relocs.
26606 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26609 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26611 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26613 * sysdeps/wordsize-64/tst-writev.c: New file.
26615 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26617 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26618 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26619 insns in _dl_start to prevent a TOC reference before relocs are
26622 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26625 * Makeconfig: Remove RANLIB definition.
26626 * Makerules: Don't use RANLIB.
26627 * aclocal.m4: Remove ranlib test.
26628 * configure.in: No need to check for ranlib.
26629 * elf/rtld-Rules: Don't use RANLIB.
26631 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26633 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26635 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26636 inclusion protection macro.
26638 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26639 SIGRTMIN and SIGRTMAX and print information in that case only when
26640 SIGRTMIN is defined.
26642 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26644 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26645 arginfo fn returning -1.
26647 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26648 and thousands string is zero terminated.
26650 2011-02-03 Andreas Schwab <schwab@redhat.com>
26652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26653 sysdeps/unix/sysv/linux/bits/socket.h.
26655 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26657 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26658 (__CPU_COUNT): Remove old macros.
26659 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26660 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26661 (__CPU_ALLOC, __CPU_FREE): Add macros.
26662 (__sched_cpualloc, __sched_cpufree): Add declarations.
26664 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26666 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26667 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26668 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26669 (readdhstai): Return value of addhstaiX call.
26670 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26671 (addgrbyX): Return value returned by cache_addgr.
26672 (readdgrbyname): Return value returned by addgrbyX.
26673 (readdgrbygid): Likewise.
26674 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26675 (addpwbyX): Return value returned by cache_addpw.
26676 (readdpwbyname): Return value returned by addhstbyX.
26677 (readdpwbyuid): Likewise.
26678 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26679 (addservbyX): Return value returned by cache_addserv.
26680 (readdservbyname): Return value returned by addservbyX:
26681 (readdservbyport): Likewise.
26682 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26683 (addhstbyX): Return value returned by cache_addhst.
26684 (readdhstbyname): Return value returned by addhstbyX.
26685 (readdhstbyaddr): Likewise.
26686 (readdhstbynamev6): Likewise.
26687 (readdhstbyaddrv6): Likewise.
26688 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26689 (readdinitgroups): Return value returned by addinitgroupsX.
26690 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26691 (prune_cache): Keep track of timeout value of re-added entries.
26692 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26693 * nscd/nscd.h: Adjust prototypes of readd* functions.
26695 2011-02-04 Roland McGrath <roland@redhat.com>
26697 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26698 (nis_stats): Likewise.
26699 * nis/nis_modify.c (nis_modify): Likewise.
26700 * nis/nis_remove.c (nis_remove): Likewise.
26701 * nis/nis_add.c (nis_add): Likewise.
26703 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26705 * posix/fnmatch_loop.c: Add some consts.
26707 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26709 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26712 * config.make.in (config-cflags-novzeroupper): Define.
26713 * configure.in: Substitute libc_cv_cc_novzeroupper.
26714 * elf/Makefile (AVX-CFLAGS): Define.
26715 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26716 (CFLAGS-tst-auditmod4a.c): Likewise.
26717 (CFLAGS-tst-auditmod4b.c): Likewise.
26718 (CFLAGS-tst-auditmod6b.c): Likewise.
26719 (CFLAGS-tst-auditmod6c.c): Likewise.
26720 (CFLAGS-tst-auditmod7b.c): Likewise.
26721 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26723 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26725 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26726 function to the callback.
26727 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26729 2011-02-02 Andreas Schwab <schwab@redhat.com>
26731 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26734 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26737 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26739 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26741 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26744 * elf/Makefile: Add rules to build and run new test.
26745 * elf/tst-initorder.c: New file.
26746 * elf/tst-initorder.exp: New file.
26747 * elf/tst-initordera1.c: New file.
26748 * elf/tst-initordera2.c: New file.
26749 * elf/tst-initordera3.c: New file.
26750 * elf/tst-initordera4.c: New file.
26751 * elf/tst-initorderb1.c: New file.
26752 * elf/tst-initorderb2.c: New file.
26753 * elf/tst-order-a1.c: New file.
26754 * elf/tst-order-a2.c: New file.
26755 * elf/tst-order-a3.c: New file.
26756 * elf/tst-order-a4.c: New file.
26757 * elf/tst-order-b1.c: New file.
26758 * elf/tst-order-b2.c: New file.
26759 * elf/tst-order-main.c: New file.
26760 New test case by George Gensure <werkt0@gmail.com>.
26762 2010-10-01 Andreas Schwab <schwab@redhat.com>
26764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26765 decoding ACE if AI_CANONIDN.
26767 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26769 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26771 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26773 * version.h (RELEASE): Bump for 2.13 release.
26774 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26776 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26778 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26780 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26787 * posix/getconf.c: Update copyright year.
26788 * catgets/gencat.c: Likewise.
26789 * csu/version.c: Likewise.
26790 * debug/catchsegv.sh: Likewise.
26791 * debug/xtrace.sh: Likewise.
26792 * elf/ldconfig.c: Likewise.
26793 * elf/ldd.bash.in: Likewise.
26794 * elf/sprof.c (print_version): Likewise.
26795 * iconv/iconv_prog.c: Likewise.
26796 * iconv/iconvconfig.c: Likewise.
26797 * locale/programs/locale.c: Likewise.
26798 * locale/programs/localedef.c: Likewise.
26799 * malloc/memusage.sh: Likewise.
26800 * malloc/mtrace.pl: Likewise.
26801 * nscd/nscd.c (print_version): Likewise.
26802 * nss/getent.c: Likewise.
26804 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26805 PF_CAIF, and PF_ALG.
26806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26808 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26810 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26811 (modules-names): Use them.
26812 (ifunc-test-modules, ifunc-pie-tests): Define.
26813 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26814 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26815 (test-extras): Likewise.
26816 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26817 $(compile-command.c).
26818 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26819 (all-built-dso): Define.
26820 (check-textrel.out, check-execstack.out): Depend on it.
26822 * configure.in: Don't override --enable-multi-arch.
26824 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26827 * nscd/hstcache.c (tryagain): Define.
26828 (cache_addhst): Return tryagain not notfound for temporary errors.
26829 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26832 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26835 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26836 to make the syscall.
26837 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26840 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26841 and fall back to matching as normal character if the string ends before
26842 the matching ']' is found. This is what POSIX requires.
26843 * posix/testfnm.c: Adjust test result.
26844 * posix/globtest.sh: Adjust test result. Add new test.
26845 * posix/tst-fnmatch.input: Likewise.
26846 * posix/tst-fnmatch2.c: Add new test.
26848 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26850 * elf/Makefile (check-execstack): Revert last change. Depend on
26852 (check-execstack.h): New target.
26853 (generated): Add check-execstack.h.
26854 * elf/check-execstack.c: Include "check-execstack.h".
26855 (main): Revert last change.
26856 (handle_file): Return zero if GNU_STACK is absent and
26857 DEFAULT_STACK_PERMS doesn't include PF_X.
26859 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26861 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26862 in child fails because the descriptor is already closed.
26863 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26864 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26865 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26868 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26872 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26873 temporary buffer used to handle multi lookups locally.
26874 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26876 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26878 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26881 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26883 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26884 alignment for SSE2.
26886 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26889 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26890 characters. When rounding increased number of integer digits recompute
26892 * stdio-common/tst-grouping.c: New file.
26893 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26895 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26897 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26898 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26900 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26902 * bits/select.h: Likewise.
26904 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26906 * po/ja.po: Update from translation team.
26908 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26911 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26912 implementation just like for lxstat, fxstatat, et al.
26914 2010-12-27 Jim Meyering <meyering@redhat.com>
26917 * posix/regexec.c (build_trtable): Return failure indication upon
26918 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26920 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26923 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26924 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26925 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26926 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26929 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26932 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26933 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26935 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26937 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26938 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26939 script has SORT_BY_INIT_PRIORITY.
26940 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26941 NO_CTORS_DTORS_SECTIONS is defined.
26942 * elf/soinit.c: Likewise.
26943 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26944 NO_CTORS_DTORS_SECTIONS is defined.
26945 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26946 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26947 * sysdeps/sh/init-first.c: Likewise.
26948 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26950 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26952 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26953 always use the slow path.
26955 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26957 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26958 similar rule which adds the sysdep directories to the header search in
26959 order to pick up the correct platform stackinfo.h.
26960 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26961 perform test if it is, otherwise return successfully without testing.
26962 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26963 DEFAULT_STACK_PERMS define in stackinfo.h.
26964 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26965 defined in stackinfo.h.
26966 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26967 DEFAULT_STACK_PERMS defined in stackinfo.h.
26968 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26969 * sysdeps/ia64/stackinfo.h: Likewise.
26970 * sysdeps/s390/stackinfo.h: Likewise.
26971 * sysdeps/sh/stackinfo.h: Likewise.
26972 * sysdeps/sparc/stackinfo.h: Likewise.
26973 * sysdeps/x86_64/stackinfo.h: Likewise.
26974 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26975 PF_X for powerpc64. Retain PF_X for powerpc32.
26977 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26979 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26981 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26982 GETDENTS_64BIT_ALIGNED.
26984 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26986 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26988 2010-12-10 Andreas Schwab <schwab@redhat.com>
26990 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26993 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26994 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26996 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26997 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26999 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27002 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27005 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27007 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27009 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27011 * po/it.po: Update from translation team.
27013 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27018 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27020 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27022 2010-11-24 Andreas Schwab <schwab@redhat.com>
27024 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27026 (gaih_getanswer_slice): Likewise.
27028 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27032 2010-05-31 Petr Baudis <pasky@suse.cz>
27035 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27036 silently even in the chroot mode.
27038 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27040 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27041 last patch a bit. Pretty printing
27043 2010-05-31 Petr Baudis <pasky@suse.cz>
27046 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27047 initialization of skip_initgroups_dyn.
27049 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27054 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27056 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27058 2010-11-11 Andreas Schwab <schwab@redhat.com>
27060 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27061 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27062 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27063 ($(objpfx)tst-fnmatch-mem): New rule.
27064 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27065 * posix/tst-fnmatch.c (main): Call mtrace.
27067 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27070 Support Intel processor model 6 and model 0x2c.
27072 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27077 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27080 * string/test-strncasecmp.c (check_result): New function.
27081 (do_one_test): Use it.
27082 (check1): New function.
27083 (test_main): Use it.
27084 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27085 Support strcasecmp and strncasecmp.
27087 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27090 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27093 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27095 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27099 * sysdeps/x86_64/multiarch/bzero.S: New file.
27100 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27101 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27102 * sysdeps/x86_64/multiarch/memset.S: New file.
27103 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27105 Set bit_Prefer_SSE_for_memop for Intel processors.
27106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27108 (index_Prefer_SSE_for_memop): Define.
27109 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27111 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27113 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27114 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27116 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27119 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27120 (__x86_64_raw_data_cache_size_half): Likewise.
27121 (__x86_64_raw_shared_cache_size): Likewise.
27122 (__x86_64_raw_shared_cache_size_half): Likewise.
27124 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27125 (__x86_64_raw_data_cache_size_half): Likewise.
27126 (__x86_64_raw_shared_cache_size): Likewise.
27127 (__x86_64_raw_shared_cache_size_half): Likewise.
27128 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27129 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27130 and __x86_64_raw_shared_cache_size_half. Round
27131 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27132 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27133 to multiple of 256 bytes.
27135 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27139 of inacessible symlinks. Verify result of symlink before returning it.
27140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27141 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27143 2010-10-28 Erich Ritz <erichritz@gmail.com>
27145 * math/math.h (isinf): Fix typo in comment.
27147 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27149 * po/da.po: Update from translation team.
27151 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27153 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27154 is added to the list.
27156 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27157 Ulrich Drepper <drepper@gmail.com>
27159 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27160 the global list here. Move code to...
27161 (_dl_add_to_namespace_list): ...here. New function.
27162 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27163 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27164 * elf/dl-load.c (lose): Don't remove the element from the list.
27165 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27166 (_dl_map_object): Likewise.
27168 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27171 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27172 into all bytes of SSE register.
27173 Patch by Richard Li <richardpku@gmail.com>.
27175 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27178 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27181 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27183 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27184 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27185 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27186 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27191 2010-10-22 Andreas Schwab <schwab@redhat.com>
27193 * include/dlfcn.h (__RTLD_SECURE): Define.
27194 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27195 mode & __RTLD_SECURE instead.
27196 (open_path): Rename preloaded parameter to secure.
27197 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27198 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27199 * elf/dl-deps.c (openaux): Likewise.
27200 * elf/rtld.c (struct map_args): Remove is_preloaded.
27201 (map_doit): Don't use it.
27202 (dl_main): Likewise.
27203 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27204 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27206 2010-09-09 Andreas Schwab <schwab@redhat.com>
27208 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27209 (sysd-rules-targets): Remove duplicates.
27210 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27211 rtld-%.$o dependency.
27213 2010-10-18 Andreas Schwab <schwab@redhat.com>
27215 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27216 _dl_map_object do it.
27218 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27220 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27221 fast fma builtins, define the macros in the C99 standard.
27222 (FP_FAST_FMAF): Likewise.
27223 (FP_FAST_FMAL): Likewise.
27224 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27226 * bits/mathdef.h: Update copyright year.
27227 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27229 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27231 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27232 builtins, define the macros in the C99 standard.
27233 (FP_FAST_FMAF): Likewise.
27234 (FP_FAST_FMAL): Likewise.
27235 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27237 (FP_FAST_FMAF): Likewise.
27239 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27242 * math/libm-test.inc (fma_test): Some new testcases.
27243 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27244 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27245 y and infinite z. Do multiplication by C already in long double.
27246 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27248 y and infinite z. Do bitwise or of inexact bit into u.d.
27249 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27250 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27251 * sysdeps/i386/fpu/s_fma.S: Removed.
27252 * sysdeps/i386/fpu/s_fmal.S: Removed.
27254 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27257 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27259 computation is not scheduled after fetestexcept. Fix value
27260 of minimum denormal long double.
27262 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27265 * math/libm-test.inc (fma_test): Add some more tests.
27266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27269 2010-10-15 Andreas Schwab <schwab@redhat.com>
27271 * scripts/data/localplt-s390-linux-gnu.data: New file.
27272 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27274 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27277 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27278 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27280 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27282 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27284 if one of x and y is very large and the other is subnormal.
27285 * sysdeps/s390/fpu/s_fmaf.c: New file.
27286 * sysdeps/s390/fpu/s_fma.c: New file.
27287 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27288 * sysdeps/powerpc/fpu/s_fma.S: New file.
27289 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27290 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27291 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27293 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27296 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27299 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27300 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27301 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27302 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27303 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27306 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27309 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27310 * posix/bug-regex31.input: Add test case.
27312 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27314 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27315 * posix/bug-regex31.input: New file.
27318 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27319 (parse_sub_exp): Fix last change, use postorder.
27321 * posix/bug-regex31.c: New file.
27322 * posix/Makefile: Add rules to build and run bug-regex31.
27324 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27327 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27330 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27331 to have entries in sys_siglist.
27334 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27337 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27340 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27341 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27342 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27343 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27344 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27345 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27346 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27347 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27348 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27349 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27350 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27351 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27352 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27353 * math/ftestexcept.c (fetestexcept): Likewise.
27354 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27355 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27356 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27357 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27358 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27359 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27360 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27362 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27365 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27368 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27370 * string/bug-strstr1.c: New file.
27371 * string/Makefile: Add rules to build and run bug-strstr1.
27373 2010-10-05 Eric Blake <eblake@redhat.com>
27376 * string/str-two-way.h (two_way_long_needle): Always clear memory
27377 when skipping input due to the shift table.
27379 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27382 * malloc/mcheck.c: Handle large requests.
27385 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27386 for strncmp and strncasecmp.
27387 * string/stratcliff.c: Add tests for strcmp and strncmp.
27388 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27390 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27392 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27395 2010-09-30 Andreas Jaeger <aj@suse.de>
27397 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27398 (CGROUP_SUPER_MAGIC): Define.
27399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27400 Handle btrfs and cgroup file systems.
27401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27404 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27406 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27407 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27409 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27412 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27413 trying to locate the ELF header.
27415 2010-09-27 Andreas Schwab <schwab@redhat.com>
27418 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27419 Mask out sign-bit copies when constructing f_fsid.
27421 2010-09-24 Petr Baudis <pasky@suse.cz>
27423 * debug/stack_chk_fail_local.c: Add missing licence exception.
27424 * debug/warning-nop.c: Likewise.
27426 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27429 implementing getdents64 using getdents syscall, set d_type if
27430 __ASSUME_GETDENTS32_D_TYPE.
27432 2010-09-16 Andreas Schwab <schwab@redhat.com>
27434 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27435 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27437 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27440 * posix/unistd.h: Undo change of feature selection for ftruncate from
27443 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27445 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27448 2010-09-20 Andreas Schwab <schwab@redhat.com>
27450 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27452 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27454 2010-09-14 Andreas Schwab <schwab@redhat.com>
27456 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27457 variables after CHECK_SP call.
27458 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27460 2010-09-13 Andreas Schwab <schwab@redhat.com>
27461 Ulrich Drepper <drepper@redhat.com>
27463 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27464 re-relocationg ld.so.
27465 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27466 _dl_init_paths call.
27467 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27470 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27472 * resolv/res_init.c (__res_vinit): Count the default server we added.
27474 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27475 Ulrich Drepper <drepper@redhat.com>
27478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27479 (____longjmp_chk): Use %ebx for saving value across system call.
27482 2010-09-06 Andreas Schwab <schwab@redhat.com>
27484 * manual/Makefile: Don't mix pattern rules with normal rules.
27486 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27488 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27490 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27491 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27492 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27493 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27497 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27500 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27501 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27503 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27505 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27506 * sysdeps/x86_64/addmul_1.S: Likewise.
27507 * sysdeps/x86_64/lshift.S: Likewise.
27508 * sysdeps/x86_64/mul_1.S: Likewise.
27509 * sysdeps/x86_64/rshift.S: Likewise.
27510 * sysdeps/x86_64/sub_n.S: Likewise.
27511 * sysdeps/x86_64/submul_1.S: Likewise.
27513 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27515 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27516 Define __sched_param instead of SCHED_* and sched_param when
27517 <bits/sched.h> is included with __need_schedparam defined.
27518 * bits/sched.h [__need_schedparam]
27519 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27520 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27521 (__defined_schedparam): Define to 1.
27522 (__sched_param): New structure, identical to sched_param.
27523 (__need_schedparam): Undefine.
27525 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27527 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27528 (epoll_create1): Declare.
27530 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27532 2010-08-31 Andreas Schwab <schwab@redhat.com>
27535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27536 shifting retval into place.
27538 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27540 * nis/rpcsvc/nis.h: Update copyright notice.
27541 * nis/rpcsvc/nis.x: Likewise.
27542 * nis/rpcsvc/nis_callback.h: Likewise.
27543 * nis/rpcsvc/nis_callback.x: Likewise.
27544 * nis/rpcsvc/nis_object.x: Likewise.
27545 * nis/rpcsvc/nis_tags.h: Likewise.
27546 * nis/rpcsvc/yp.h: Likewise.
27547 * nis/rpcsvc/yp.x: Likewise.
27548 * nis/rpcsvc/ypupd.h: Likewise.
27549 * nis/yp_xdr.c: Likewise.
27550 * nis/ypupdate_xdr.c: Likewise.
27552 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27553 mainly the body of pmap_getport. Add parameters to specify timeouts.
27554 (pmap_getport): Use __libc_rpc_getport.
27555 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27556 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27557 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27559 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27564 2010-08-27 Roland McGrath <roland@redhat.com>
27566 * sysdeps/i386/i686/multiarch/Makefile
27567 (CFLAGS-varshift.c): New variable.
27569 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27571 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27572 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27576 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27578 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27580 * sysdeps/x86_64/strlen.S: Unroll the loop.
27581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27582 strlen-sse2 strlen-sse2-bsf.
27583 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27584 __strlen_no_bsf if bit_Slow_BSF is set.
27585 (__strlen_sse42): Removed.
27586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27587 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27589 2010-08-25 Roland McGrath <roland@redhat.com>
27591 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27592 * sysdeps/x86_64/multiarch/varshift.c: New file.
27593 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27594 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27595 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27596 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27598 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27601 strlen-sse2 strlen-sse2-bsf.
27602 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27603 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27604 (__strlen_sse2): Removed.
27605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27606 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27608 bit_Slow_BSF for Atom.
27609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27610 (index_Slow_BSF): Define.
27611 (HAS_SLOW_BSF): Define.
27613 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27616 * resolv/res_init.c (__res_vinit): When no server address at all
27617 is given default to loopback.
27619 2010-08-24 Roland McGrath <roland@redhat.com>
27621 * configure.in: Remove config-name.h generation.
27622 * configure: Regenerated.
27623 * config-name.in: File removed.
27624 * scripts/config-uname.sh: New file.
27625 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27626 ($(objdir)config-name.h): New target.
27628 * sunrpc/rpc_parse.h: Avoid nested comment.
27630 2010-08-24 Richard Henderson <rth@redhat.com>
27631 Ulrich Drepper <drepper@redhat.com>
27632 H.J. Lu <hongjiu.lu@intel.com>
27634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27636 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27637 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27638 _mm_alignr_epi8 with _mm_loadu_si128.
27639 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27640 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27641 (__m128i_shift_right): Removed.
27642 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27643 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27644 * sysdeps/x86_64/multiarch/varshift.h: New file.
27645 * sysdeps/x86_64/multiarch/varshift.S: New file.
27647 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27649 * configure.in: Move assembler checks to before sysdep dir checking.
27651 2010-08-20 Petr Baudis <pasky@suse.cz>
27653 * LICENSES: Sync the sunrpc license.
27655 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27657 * sunrpc/auth_des.c: Update copyright notice once again.
27658 * sunrpc/auth_none.c: Likewise.
27659 * sunrpc/auth_unix.c: Likewise.
27660 * sunrpc/authdes_prot.c: Likewise.
27661 * sunrpc/authuxprot.c: Likewise.
27662 * sunrpc/bindrsvprt.c: Likewise.
27663 * sunrpc/clnt_gen.c: Likewise.
27664 * sunrpc/clnt_perr.c: Likewise.
27665 * sunrpc/clnt_raw.c: Likewise.
27666 * sunrpc/clnt_simp.c: Likewise.
27667 * sunrpc/clnt_tcp.c: Likewise.
27668 * sunrpc/clnt_udp.c: Likewise.
27669 * sunrpc/clnt_unix.c: Likewise.
27670 * sunrpc/des_crypt.c: Likewise.
27671 * sunrpc/des_soft.c: Likewise.
27672 * sunrpc/get_myaddr.c: Likewise.
27673 * sunrpc/getrpcport.c: Likewise.
27674 * sunrpc/key_call.c: Likewise.
27675 * sunrpc/key_prot.c: Likewise.
27676 * sunrpc/openchild.c: Likewise.
27677 * sunrpc/pm_getmaps.c: Likewise.
27678 * sunrpc/pm_getport.c: Likewise.
27679 * sunrpc/pmap_clnt.c: Likewise.
27680 * sunrpc/pmap_prot.c: Likewise.
27681 * sunrpc/pmap_prot2.c: Likewise.
27682 * sunrpc/pmap_rmt.c: Likewise.
27683 * sunrpc/rpc/auth.h: Likewise.
27684 * sunrpc/rpc/auth_unix.h: Likewise.
27685 * sunrpc/rpc/clnt.h: Likewise.
27686 * sunrpc/rpc/des_crypt.h: Likewise.
27687 * sunrpc/rpc/key_prot.h: Likewise.
27688 * sunrpc/rpc/netdb.h: Likewise.
27689 * sunrpc/rpc/pmap_clnt.h: Likewise.
27690 * sunrpc/rpc/pmap_prot.h: Likewise.
27691 * sunrpc/rpc/pmap_rmt.h: Likewise.
27692 * sunrpc/rpc/rpc.h: Likewise.
27693 * sunrpc/rpc/rpc_des.h: Likewise.
27694 * sunrpc/rpc/rpc_msg.h: Likewise.
27695 * sunrpc/rpc/svc.h: Likewise.
27696 * sunrpc/rpc/svc_auth.h: Likewise.
27697 * sunrpc/rpc/types.h: Likewise.
27698 * sunrpc/rpc/xdr.h: Likewise.
27699 * sunrpc/rpc_clntout.c: Likewise.
27700 * sunrpc/rpc_cmsg.c: Likewise.
27701 * sunrpc/rpc_common.c: Likewise.
27702 * sunrpc/rpc_cout.c: Likewise.
27703 * sunrpc/rpc_dtable.c: Likewise.
27704 * sunrpc/rpc_hout.c: Likewise.
27705 * sunrpc/rpc_main.c: Likewise.
27706 * sunrpc/rpc_parse.c: Likewise.
27707 * sunrpc/rpc_parse.h: Likewise.
27708 * sunrpc/rpc_prot.c: Likewise.
27709 * sunrpc/rpc_sample.c: Likewise.
27710 * sunrpc/rpc_scan.c: Likewise.
27711 * sunrpc/rpc_scan.h: Likewise.
27712 * sunrpc/rpc_svcout.c: Likewise.
27713 * sunrpc/rpc_tblout.c: Likewise.
27714 * sunrpc/rpc_util.c: Likewise.
27715 * sunrpc/rpc_util.h: Likewise.
27716 * sunrpc/rpcinfo.c: Likewise.
27717 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27718 * sunrpc/rpcsvc/key_prot.x: Likewise.
27719 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27720 * sunrpc/rpcsvc/mount.x: Likewise.
27721 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27722 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27723 * sunrpc/rpcsvc/rex.x: Likewise.
27724 * sunrpc/rpcsvc/rstat.x: Likewise.
27725 * sunrpc/rpcsvc/rusers.x: Likewise.
27726 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27727 * sunrpc/rpcsvc/spray.x: Likewise.
27728 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27729 * sunrpc/rtime.c: Likewise.
27730 * sunrpc/svc.c: Likewise.
27731 * sunrpc/svc_auth.c: Likewise.
27732 * sunrpc/svc_authux.c: Likewise.
27733 * sunrpc/svc_raw.c: Likewise.
27734 * sunrpc/svc_run.c: Likewise.
27735 * sunrpc/svc_simple.c: Likewise.
27736 * sunrpc/svc_tcp.c: Likewise.
27737 * sunrpc/svc_udp.c: Likewise.
27738 * sunrpc/svc_unix.c: Likewise.
27739 * sunrpc/svcauth_des.c: Likewise.
27740 * sunrpc/xcrypt.c: Likewise.
27741 * sunrpc/xdr.c: Likewise.
27742 * sunrpc/xdr_array.c: Likewise.
27743 * sunrpc/xdr_float.c: Likewise.
27744 * sunrpc/xdr_mem.c: Likewise.
27745 * sunrpc/xdr_rec.c: Likewise.
27746 * sunrpc/xdr_ref.c: Likewise.
27747 * sunrpc/xdr_sizeof.c: Likewise.
27748 * sunrpc/xdr_stdio.c: Likewise.
27750 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27753 2010-08-19 Andreas Schwab <schwab@redhat.com>
27755 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27757 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27759 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27760 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27761 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27762 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27764 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27765 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27766 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27768 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27769 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27770 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27771 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27772 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27774 2010-07-26 Anton Blanchard <anton@samba.org>
27776 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27777 * malloc/arena.c (heap_trim): Likewise.
27779 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27781 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27784 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27786 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27788 * sysdeps/i386/elf/Makefile: New file.
27790 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27792 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27793 from fanotify_init.
27794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27797 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27799 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27801 * sysdeps/multiarch/strcmp.S: Likewise.
27803 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27805 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27806 strncase_l-nonascii.
27807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27808 Add strncase_l-ssse3.
27809 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27810 * sysdeps/x86_64/strcmp.S: Likewise.
27811 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27812 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27813 * sysdeps/x86_64/strncase.S: New file.
27814 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27815 * sysdeps/x86_64/strncase_l.S: New file.
27816 * string/Makefile (strop-tests): Add strncasecmp.
27817 * string/test-strncasecmp.c: New file.
27819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27822 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27825 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27827 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27829 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27831 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27835 2010-05-01 Alan Modra <amodra@gmail.com>
27837 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27838 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27839 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27840 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27841 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27842 tidying. Don't tail-call __sigjmp_save for static lib.
27843 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27845 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27846 (CALL_MCOUNT): Add eh info, and nop after bl.
27847 (TAIL_CALL_SYSCALL_ERROR): New macro.
27848 (PSEUDO_RET): Use it.
27849 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27850 Correct save location of integer regs and cr.
27851 (_dl_profile_resolve): Correct cr save location. Delete nops
27852 after bl when SHARED. Reduce cfi size a little by better
27853 placement of cfi directives.
27854 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27855 make a stack frame. Instead use parm save area as a temp.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27857 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27859 Don't make a stack frame for parent, use parm save area.
27860 Increase child stack frame to 112 bytes. Don't save unused reg,
27861 and adjust reg usage. Set up cfi on error recovery and
27862 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27864 (__makecontext): Add dummy nop after jump to exit.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27866 Use correct parm save area and cr save, reduce stack frame.
27867 Correct cfi for possible PSEUDO_RET frame setup.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27869 Branch to local label emitted by PSEUDO_RET rather than
27872 2010-08-12 Andreas Schwab <schwab@redhat.com>
27875 * locale/programs/locale.c (print_assignment): New function.
27876 (show_locale_vars): Use it.
27878 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27880 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27882 (struct statfs64): Likewise.
27883 (_STATFS_F_FLAGS): Define.
27884 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27885 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27886 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27887 (ST_VALID): Define locally.
27888 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27889 __statvfs_getflags, use the provided value.
27890 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27891 __ASSUME_STATFS_F_FLAGS.
27893 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27895 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27896 Add sys/fanotify.h.
27897 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27898 fanotify_mask for GLIBC_2.13.
27899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27900 fanotify_init and fanotify_mark.
27901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27902 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27904 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27906 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27907 prlimit64 for GLIBC_2.13.
27908 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27910 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27913 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27914 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27916 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27918 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27921 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27922 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27924 * nss/Makefile: Add rules to build and run tst-nss-test1.
27925 * shlib-versions: Add entry for libnss_test1.
27926 * nss/nss_test1.c: New file.
27927 * nss/tst-nss-test1.c: New file.
27929 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27930 (__nss_configure_lookup): Set appropriate entry in
27931 __nss_configure_lookup to true.
27932 * nss/nsswitch.h: Define enum with indeces of databases in
27933 databases and __nss_database_custom arrays. Declare
27934 __nss_database_custom.
27935 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27936 to avoid using nscd when custom rules are installed.
27937 * nss/getXXbyYY_r.c: Likewise.
27938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27940 * nss/nss_files/files-parse.c: Whitespace fixes.
27942 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27945 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27946 * posix/fnmatch_loop.c: Likewise.
27948 2010-07-17 Andi Kleen <ak@linux.intel.com>
27950 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27951 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27952 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27953 * Versions.def [GLIBC_2.13]: Add.
27955 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27957 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27958 Also fail if tpwd after pwuid call is NULL.
27960 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27962 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27963 when converting to ms.
27965 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27967 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27968 EOPNOTSUPP errors with ENOTTY.
27969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27970 EOPNOTSUPP errors with ENOTTY.
27972 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27974 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27975 Add strcasecmp_l-ssse3.
27976 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27978 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27979 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27980 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27982 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27984 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27986 * string/Makefile (strop-tests): Add strcasecmp.
27987 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27988 strcasecmp_l-nonascii.
27989 (gen-as-const-headers): Add locale-defines.sym.
27990 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27991 * sysdeps/x86_64/strcasecmp.S: New file.
27992 * sysdeps/x86_64/strcasecmp_l.S: New file.
27993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27994 * sysdeps/x86_64/locale-defines.sym: New file.
27995 * string/test-strcasecmp.c: New file.
27997 * string/test-strcasestr.c: Test both ends of the range of characters.
27998 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28000 2010-07-29 Roland McGrath <roland@redhat.com>
28003 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28005 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28007 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28010 2010-07-27 Andreas Schwab <schwab@redhat.com>
28012 * manual/memory.texi (Malloc Tunable Parameters): Document
28015 2010-07-26 Roland McGrath <roland@redhat.com>
28018 * configure.in (-fgnu89-inline check): Set and substitute
28019 gnu89_inline, not libc_cv_gnu89_inline.
28020 * configure: Regenerated.
28021 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28023 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28025 * string/test-strnlen.c: New file.
28026 * string/Makefile (strop-tests): Add strnlen.
28027 * string/tester.c (test_strnlen): Add a few more test cases.
28028 * string/tst-strlen.c: Better error reporting.
28030 * sysdeps/x86_64/strnlen.S: New file.
28032 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28035 lower-latency instructions.
28037 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28039 * string/test-strcasestr.c: New file.
28040 * string/test-strstr.c: New file.
28041 * string/Makefile (strop-tests): Add strstr and strcasestr.
28042 * string/str-two-way.h: Don't undefine MAX.
28043 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28045 2010-07-21 Andreas Schwab <schwab@redhat.com>
28047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28048 strcasestr-nonascii.
28049 (CFLAGS-strcasestr-nonascii.c): Define.
28050 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28052 Remove unused attribute.
28054 2010-07-20 Roland McGrath <roland@redhat.com>
28056 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28057 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28058 ld.so.cache was broken. With it, there is no way to disable dsocaps
28059 like LD_HWCAP_MASK can disable hwcaps.
28061 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28063 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28065 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28067 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28068 call in strcasestr.
28069 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28070 __strcasestr_sse42_nonascii.
28071 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28072 strcasestr-nonascii.c.
28073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28075 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28078 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28080 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28082 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28084 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28087 2010-07-06 Andreas Schwab <schwab@redhat.com>
28090 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28093 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28095 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28096 _PC_PIPE_BUF using F_GETPIPE_SZ.
28098 2010-07-05 Roland McGrath <roland@redhat.com>
28100 * manual/arith.texi (Rounding Functions): Fix rint description
28101 implicit in round description.
28103 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28105 * elf/Makefile: Fix linking for a few tests to make recent linker
28108 2010-06-30 Andreas Schwab <schwab@redhat.com>
28110 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28111 $(common-objpfx)libc_nonshared.a.
28113 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28115 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28116 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28117 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28118 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28119 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28120 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28121 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28122 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28137 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28138 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28139 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28140 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28141 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28142 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28143 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28144 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28145 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28146 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28147 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28148 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28164 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28166 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28167 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28168 * string/memmove.c (memmove): Renamed to ...
28169 (MEMMOVE): ...this. Default to memmove.
28170 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28171 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28174 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28175 mempcpy-ssse3-back memmove-ssse3-back.
28176 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28179 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28180 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28181 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28182 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28183 * sysdeps/x86_64/multiarch/memmove.c: New file.
28184 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28185 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28186 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28187 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28191 (index_Fast_Copy_Backward): Define.
28192 (HAS_ARCH_FEATURE): Define.
28193 (HAS_FAST_REP_STRING): Define.
28194 (HAS_FAST_COPY_BACKWARD): Define.
28196 2010-06-21 Andreas Schwab <schwab@redhat.com>
28198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28199 Restore proper fallback handling.
28201 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28204 * posix/group_member.c (__group_member): Correct checking loop.
28206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28207 OOM in getpwuid_r correctly. Return error number when the caller
28208 should return, otherwise -1.
28209 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28210 call returning > 0 value.
28211 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28213 2010-06-07 Andreas Schwab <schwab@redhat.com>
28215 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28216 libc_nonshared.a from targets in modules-names.
28218 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28220 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28223 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28226 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28228 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28230 2010-06-02 Andreas Schwab <schwab@redhat.com>
28232 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28234 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28236 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28242 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28245 2010-06-14 Roland McGrath <roland@redhat.com>
28247 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28249 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28251 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28252 __REDIRECT followed by __THROW.
28253 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28254 * posix/getopt.h (getopt): Likewise.
28256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28258 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28259 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28260 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28262 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28263 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28265 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28267 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28269 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28273 Properly check family and model.
28275 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28277 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28279 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28281 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28283 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28285 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28288 2010-05-19 Andreas Schwab <schwab@redhat.com>
28290 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28293 2010-05-21 Andreas Schwab <schwab@redhat.com>
28295 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28296 and internal_recvmmsg.
28297 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28298 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28299 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28300 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28302 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28303 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28304 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28306 2010-05-20 Andreas Schwab <schwab@redhat.com>
28308 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28310 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28312 POWER7 optimizations.
28313 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28314 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28316 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28318 * version.h: Update for 2.13 development version.
28320 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28322 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28323 exceptions. Return 0.
28325 2010-05-07 Roland McGrath <roland@redhat.com>
28327 * elf/ldconfig.c (main): Add a const.
28329 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28331 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28332 (args_options): Add no-idn option.
28333 (ahosts_keys_int): Add idn_flags to ai_flags.
28334 (parse_option): Handle 'i' option to clear idn_flags.
28336 * malloc/malloc.c (_int_free): Possible race in the most recently
28337 added check. Only act on the data if no current modification
28340 See ChangeLog.17 for earlier changes.