1 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2013-05-02 Carlos O'Donell <carlos@redhat.com>
8 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12 2013-05-02 David S. Miller <davem@davemloft.net>
14 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20 2013-05-01 Roland McGrath <roland@hack.frob.com>
22 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29 Use __attribute__ ((__gnu_inline__)).
30 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31 Don't use __attribute__ ((__gnu_inline__)).
33 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36 * math/s_catan.c (__catan): Handle small real or imaginary part of
37 input specially to avoid spurious underflow.
38 * math/s_catanf.c (__catanf): Likewise.
39 * math/s_catanh.c (__catanh): Likewise.
40 * math/s_catanhf.c (__catanhf): Likewise.
41 * math/s_catanhl.c (__catanhl): Likewise.
42 * math/s_catanl.c (__catanl): Likewise.
43 * math/libm-test.inc (catan_test): Add more tests.
44 (catanh_test): Likewise.
45 * sysdeps/i386/fpu/libm-test-ulps: Update.
46 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52 2013-04-30 Joseph Myers <joseph@codesourcery.com>
55 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56 accurately for denominator in atan2.
57 * math/s_catanf.c (__catanf): Likewise.
58 * math/s_catanh.c (__catanh): Likewise.
59 * math/s_catanhf.c (__catanhf): Likewise.
60 * math/s_catanhl.c (__catanhl): Likewise.
61 * math/s_catanl.c (__catanl): Likewise.
62 * math/libm-test.inc (catan_test): Add more tests.
63 (catanh_test): Likewise.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
69 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
71 * benchtests/Makefile (bench): Remove slow benchmarks.
72 * benchtests/atan-inputs: Add slow benchmark inputs.
73 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
74 (BENCH_FUNC): Accept variant offset.
76 * benchtests/bench-skeleton.c (main): Run benchmark for each
78 * benchtests/cos-inputs: Add slow benchmark inputs.
79 * benchtests/exp-inputs: Likewise.
80 * benchtests/pow-inputs: Likewise.
81 * benchtests/sin-inputs: Likewise.
82 * benchtests/slowatan-inputs: Remove.
83 * benchtests/slowatan.c: Remove.
84 * benchtests/slowcos-inputs: Remove.
85 * benchtests/slowcos.c: Remove.
86 * benchtests/slowexp-inputs: Remove.
87 * benchtests/slowexp.c: Remove.
88 * benchtests/slowpow-inputs: Remove.
89 * benchtests/slowpow.c: Remove.
90 * benchtests/slowsin-inputs: Remove.
91 * benchtests/slowsin.c: Remove.
92 * benchtests/slowtan-inputs: Remove.
93 * benchtests/slowtan.c: Remove.
94 * benchtests/tan-inputs: Add slow benchmark inputs.
95 * scripts/bench.pl: Parse comments and directives.
97 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
99 ($(objpfx)bench-%.c): Remove *-ITER.
100 * benchtests/bench-modf.c: Remove definition of ITER.
101 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
102 (main): Loop for DURATION seconds instead of fixed number of
104 * scripts/bench.pl: Don't expect iterations in parameters.
106 2013-04-29 Roland McGrath <roland@hack.frob.com>
108 * io/fchdir.c (__fchdir): Renamed from fchdir.
109 (fchdir): Define as weak alias.
111 2013-04-29 Joseph Myers <joseph@codesourcery.com>
113 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
114 (ERRNO_EDOM): Likewise.
115 (ERRNO_ERANGE): Likewise.
116 (noErrnoTests): New variable.
117 (init_max_error): Set errno to 0.
118 (test_single_errno): New function.
119 (test_errno): Likewise.
120 (check_float_internal): Call test_errno. Set errno to 0.
121 (check_complex): Refer to errno tests in comment.
122 (check_int): Call test_errno. Set errno to 0.
123 (check_long): Likewise.
124 (check_bool): Likewise.
125 (check_longlong): Likewise.
126 (cos_test): Use ERRNO_* flags for errno tests instead of
128 (expm1_test): Likewise.
129 (fmod_test): Likewise.
130 (ilogb_test): Likewise.
131 (lgamma_test): Likewise.
132 (pow_test): Likewise.
133 (remainder_test): Likewise.
134 (sin_test): Likewise.
135 (tan_test): Likewise.
137 (initialize): Set errno to 0.
138 (main): Print number of errno tests.
139 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
141 2013-04-29 Andreas Jaeger <aj@suse.de>
144 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
148 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
149 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
153 * stdlib/random.c (__initstate): Return NULL if
157 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
158 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
161 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
165 2013-04-29 Joseph Myers <joseph@codesourcery.com>
167 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
169 (casin_test): Likewise.
170 (casinh_test): Likewise.
172 2013-04-27 Joseph Myers <joseph@codesourcery.com>
175 * math/s_catan.c (__catan): Handle arguments with large real or
176 imaginary part separately without squaring.
177 * math/s_catanf.c (__catanf): Likewise.
178 * math/s_catanh.c (__catanh): Likewise.
179 * math/s_catanhf.c (__catanhf): Likewise.
180 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
182 (__catanhl): Handle arguments with large real or imaginary part
183 separately without squaring.
184 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
186 (__catanl): Handle arguments with large real or imaginary part
187 separately without squaring.
188 * math/libm-test.inc (catan_test): Add more tests.
189 (catanh_test): Likewise.
190 * sysdeps/i386/fpu/libm-test-ulps: Update.
191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
193 2013-04-27 Andreas Jaeger <aj@suse.de>
196 * stdlib/stdlib.h: Update guards for qecvt.
197 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
200 2013-04-27 Allan McRae <allan@archlinux.org>
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 2013-04-26 Joseph Myers <joseph@codesourcery.com>
207 * math/s_catan.c: Include <float.h>.
208 (__catan): Ensure underflow exception occurs for underflowed
210 * math/s_catanf.c: Include <float.h>.
211 (__catanf): Ensure underflow exception occurs for underflowed
213 * math/s_catanh.c: Include <float.h>.
214 (__catanh): Ensure underflow exception occurs for underflowed
216 * math/s_catanhf.c: Include <float.h>.
217 (__catanhf): Ensure underflow exception occurs for underflowed
219 * math/s_catanhl.c: Include <float.h>.
220 (__catanhl): Ensure underflow exception occurs for underflowed
222 * math/s_catanl.c: Include <float.h>.
223 (__catanl): Ensure underflow exception occurs for underflowed
225 * math/libm-test.inc (catan_test): Add more tests.
226 (catanh_test): Likewise.
229 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
231 * math/s_ccoshf.c (__ccoshf): Likewise.
232 * math/s_ccoshl.c (__ccoshl): Likewise.
233 * math/s_csin.c (__csin): Likewise.
234 * math/s_csinf.c (__csinf): Likewise.
235 * math/s_csinh.c (__csinh): Likewise.
236 * math/s_csinhf.c (__csinhf): Likewise.
237 * math/s_csinhl.c (__csinhl): Likewise.
238 * math/s_csinl.c (__csinl): Likewise.
239 * math/libm-test.inc (ccos_test): Add more tests.
240 (ccosh_test): Likewise.
241 (csin_test): Likewise.
242 (csinh_test): Likewise.
244 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
247 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
248 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
249 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
250 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
251 powerpc/power5+/fpu folders.
252 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
255 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
259 2013-04-25 Joseph Myers <joseph@codesourcery.com>
261 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
262 additions to variable.
263 [$(config-machine) = x86_64] (modules-names): Likewise.
264 ($(objpfx)tst-audit3): Remove dependency.
265 ($(objpfx)tst-audit3.out): Likewise.
266 ($(objpfx)tst-audit4): Likewise.
267 ($(objpfx)tst-audit4.out): Likewise.
268 ($(objpfx)tst-audit5): Likewise.
269 ($(objpfx)tst-audit5.out): Likewise.
270 ($(objpfx)tst-audit6): Likewise.
271 ($(objpfx)tst-audit6.out): Likewise.
272 ($(objpfx)tst-audit7): Likewise.
273 ($(objpfx)tst-audit7.out): Likewise.
274 (tst-audit3-ENV): Remove variable.
275 (tst-audit4-ENV): Likewise.
276 (tst-audit5-ENV): Likewise.
277 (tst-audit6-ENV): Likewise.
278 (tst-audit7-ENV): Likewise.
279 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
280 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
281 addition to variable.
282 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
283 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
284 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
285 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
286 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
287 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
288 tst-audit3, tst-audit4 and tst-audit5.
289 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
290 tst-audit6 and tst-audit7.
291 [$(subdir) = elf] (modules-names): Add audit modules for those
293 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
294 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
295 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
296 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
297 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
298 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
299 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
300 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
301 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
302 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
303 [$(subdir) = elf] (tst-audit3-ENV): New variable.
304 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
305 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
306 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
307 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
308 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
310 [$(subdir) = elf && $(config-cflags-avx) = yes]
311 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
312 [$(subdir) = elf && $(config-cflags-avx) = yes]
313 (CFLAGS-tst-auditmod4a.c): Likewise.
314 [$(subdir) = elf && $(config-cflags-avx) = yes]
315 (CFLAGS-tst-auditmod4b.c): Likewise.
316 [$(subdir) = elf && $(config-cflags-avx) = yes]
317 (CFLAGS-tst-auditmod6b.c): Likewise.
318 [$(subdir) = elf && $(config-cflags-avx) = yes]
319 (CFLAGS-tst-auditmod6c.c): Likewise.
320 [$(subdir) = elf && $(config-cflags-avx) = yes]
321 (CFLAGS-tst-auditmod7b.c): Likewise.
322 * elf/tst-audit3.c: Move to ...
323 * sysdeps/x86_64/tst-audit3.c: ... here.
324 * elf/tst-audit4.c: Move to ...
325 * sysdeps/x86_64/tst-audit4.c: ... here.
326 * elf/tst-audit5.c: Move to ...
327 * sysdeps/x86_64/tst-audit5.c: ... here.
328 * elf/tst-audit6.c: Move to ...
329 * sysdeps/x86_64/tst-audit6.c: ... here.
330 * elf/tst-audit7.c: Move to ...
331 * sysdeps/x86_64/tst-audit7.c: ... here.
332 * elf/tst-auditmod3a.c: Move to ...
333 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
334 * elf/tst-auditmod3b.c: Move to ...
335 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
336 * elf/tst-auditmod4a.c: Move to ...
337 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
338 * elf/tst-auditmod4b.c: Move to ...
339 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
340 * elf/tst-auditmod5a.c: Move to ...
341 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
342 * elf/tst-auditmod5b.c: Move to ...
343 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
344 * elf/tst-auditmod6a.c: Move to ...
345 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
346 * elf/tst-auditmod6b.c: Move to ...
347 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
348 * elf/tst-auditmod6c.c: Move to ...
349 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
350 * elf/tst-auditmod7a.c: Move to ...
351 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
352 * elf/tst-auditmod7b.c: Move to ...
353 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
355 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
358 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
359 define unconditionally.
360 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
361 define unconditionally.
362 (INT8_C, INT16_C, etc.): Likewise.
364 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
366 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
367 __ehdr_start with hidden visibility.
369 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
371 2013-04-24 Carlos O'Donell <carlos@redhat.com>
373 * math/libm-test.inc (cos_test): Use accurate hex constants.
374 (sincost_test): Likewise.
376 2013-04-24 Joseph Myers <joseph@codesourcery.com>
378 * math/libm-test.inc (catan_test): Add more tests.
379 (catanh_test): Likewise.
381 * math/s_catanf.c (__catanf): Use suffixed floating-point
383 * math/s_catanhf.c (__catanhf): Likewise.
384 * math/s_catanhl.c (__catanhl): Likewise.
385 * math/s_catanl.c (__catanl): Likewise.
388 * math/s_catan.c (__catan): Calculate imaginary part of result
389 with log1p not log unless computing log of number close to 0.
390 * math/s_catanf.c (__catanf): Likewise.
391 * math/s_catanl.c (__catanl): Likewise.
392 * math/s_catanh.c (__catanh): Calculate real part of result with
393 log1p not log unless computing log of number close to 0.
394 * math/s_catanhf.c (__catanhf): Likewise.
395 * math/s_catanhl.c (__catanhl): Likewise.
396 * math/libm-test.inc (catan_test): Add more tests.
397 (catanh_test): Likewise.
398 * sysdeps/i386/fpu/libm-test-ulps: Update.
399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
401 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
403 * benchtests/Makefile: Mention files in which fast and slow
404 paths of math functions are implemented.
406 2013-04-23 Roland McGrath <roland@hack.frob.com>
408 * sysdeps/posix/timespec_get.c: New file.
410 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
412 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
414 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
416 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
417 powerpc/power5/fpu folders.
418 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
419 * benchtests/Makefile: Add modf testcase.
420 * benchtests/bench-modf.c: New file: Benchmark test for mo
422 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
425 * time/Makefile (tests): Add tst-strptime-whitespace.
426 * time/strptime_l.c (get_number): Use ISSPACE.
427 (__strptime_internal): Likewise.
428 * time/tst-strptime-whitespace.c: New test case.
430 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
432 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
434 (_nss_files_init): Set it here.
436 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
438 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
439 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
442 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
444 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
446 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
451 2013-04-21 David S. Miller <davem@davemloft.net>
453 * po/ru.po: Update Russion translation from translation project.
455 2013-04-17 Adam Conrad <adconrad@0c3.net>
457 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
460 2013-04-17 Carlos O'Donell <carlos@redhat.com>
462 * configure.in: Remove i386 configure warning. Remove i386 case.
463 * configure: Regenerate.
464 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
465 Add example to error message.
466 * sysdeps/i386/configure: Regenerate.
468 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
470 * benchtests/Makefile (bench): Add cos, tan, slowcos and
472 * benchtests/cos-inputs: New file.
473 * benchtests/slowcos-inputs: New file.
474 * benchtests/slowcos.c: New file.
475 * benchtests/slowtan-inputs: New file.
476 * benchtests/slowtan.c: New file.
477 * benchtests/tan-inputs: New file.
479 2013-04-16 Roland McGrath <roland@hack.frob.com>
481 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
484 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
486 * benchtests/Makefile: Include cppflags-iterator.mk to add
487 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
489 * Makefile.in (bench-clean): New target.
490 * benchtests/Makefile (bench-clean): Likewise.
492 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
494 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
496 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
498 * stdio-common/tstdiomisc.c: Fix coding-style violation.
500 2013-04-15 Andreas Schwab <schwab@suse.de>
502 * nscd/grpcache.c (cache_addgr): Properly check for short write.
503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
504 * nscd/pwdcache.c (cache_addpw): Likewise.
505 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
508 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
510 * benchtests/Makefile (bench): Write all output to
511 bench-out.tmp together.
513 2013-04-15 Andreas Schwab <schwab@suse.de>
515 * nscd/nscd.c (main): Don't fork again after closing files.
517 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
519 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
521 * benchtests/Rules (bench-deps): Collect dependencies into a
522 single variable. Add Makefile to dependencies.
523 ($(objpfx)bench-%.c): Depend on bench-deps.
525 2013-04-12 Roland McGrath <roland@hack.frob.com>
526 Xavier Roche <roche+kml2@exalead.com>
529 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
530 just that it's a file descriptor.
531 * manual/llio.texi (Synchronizing AIO Operations): Update description
532 for EBADF error from aio_fsync.
534 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
536 * Rules (bench): Move target definition...
537 * benchtests/Makefile: ... here.
539 2013-04-11 Carlos O'Donell <carlos@redhat.com>
541 * math/libm-test.inc (cos_test): Fix PI/2 test.
542 (sincos_test): Likewise.
543 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
544 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
546 2013-04-11 Andreas Schwab <schwab@suse.de>
549 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
550 accept exponent character only when digits were seen.
551 * stdio-common/Makefile (tests): Add bug26.
552 * stdio-common/bug26.c: New file.
555 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
558 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
560 * Makeconfig (rtld-prefix): Define built linker prefix.
561 * Rules (run-bench): Use it.
562 * math/Makefile (run-regen-ulps): Likewise.
564 * Rules (bench): Remove eval.
566 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
567 Roland McGrath <roland@hack.frob.com>
568 Ondrej Bilka <neleai@seznam.cz>
571 * time/getdate.c: Include ctype.h and alloca.h.
572 (__getdate_r): Trim leading and trailing spaces of input.
573 * time/tst-getdate.c (tests): Add tests with leading and
576 2013-04-08 Roland McGrath <roland@hack.frob.com>
579 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
580 when computing value.
582 2013-04-06 Carlos O'Donell <carlos@redhat.com>
584 * math/README.libm-test (How can I generate "libm-test-ulps"?):
585 Use testrun.sh to run libm tests.
588 * elf/dl-open.c (dl_open_worker): memset all of seen array.
590 2013-04-06 Marko Myllynen <myllynen@redhat.com>
593 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
595 2013-04-06 Carlos O'Donell <carlos@redhat.com>
597 * Makefile.in (regen-ulps): New target.
598 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
599 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
600 [ifneq (no,$(PERL)] (regen-ulps): New target.
601 [ifeq (no,$(PERL)] (regen-ulps): New target.
602 * math/libm-test.inc (ulps_file_name): Define.
603 (output_dir): New variable.
604 (options): Add "output-dir" option.
605 (parse_opt): Handle 'o' case.
606 (main): If output_dir is non-NULL use it as a prefix
608 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
610 2013-04-06 Carlos O'Donell <carlos@redhat.com>
613 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
614 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
615 fail configure if __sync_val_compare_and_swap is not inlined.
616 * sysdeps/i386/configure: Regenerate.
617 * configure.in: Build for i686 when configured for i386.
618 * configure: Regenerate.
619 * README: Remove i386 reference.
621 2013-04-06 Carlos O'Donell <carlos@redhat.com>
623 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
626 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
628 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
629 (lmsnanval): New variables.
630 (F): Add conversion tests.
631 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
632 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
634 * stdio-common/tstdiomisc.c (F): Properly collect individual
638 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
639 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
640 Instead, use input NaN values or generate a qNaN by arithmetic
641 operation. Also fix bugs to comply with the standard.
642 * math/libm-test.inc (remainder_test): Add more tests.
645 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
647 input NaN values or generate a qNaN by arithmetic operation.
649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
652 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
655 2013-04-03 Joseph Myers <joseph@codesourcery.com>
658 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
660 * math/s_cexpf.c (__cexpf): Likewise.
661 * math/s_cexpl.c (__cexpl): Likewise.
662 * math/libm-test.inc (cexp_test): Add more tests.
664 2013-04-03 Andreas Schwab <schwab@suse.de>
667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
668 order arrays from heap if bigger than alloca cutoff.
670 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
672 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
673 (SNAN_TESTS_double): Refer to GCC PR56831.
674 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
677 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
679 * Rules (bench): Move bench.out after the run is complete.
681 * Rules (bench): Echo currently running benchmark.
683 * benchtests/Makefile (bench): Add atan and slowatan.
684 * benchtests/atan-inputs: New file.
685 * benchtests/slowatan-inputs: New file.
686 * benchtests/slowatan.c: New file.
688 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
689 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
693 * sysdeps/unix/sysv/linux/kernel-features.h
694 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
695 __ASSUME_XFS_RESTRICTED_CHOWN.
696 * sysdeps/unix/sysv/linux/pathconf.c
697 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
698 Save and restore errno.
700 2013-04-02 Joseph Myers <joseph@codesourcery.com>
703 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
704 arguments using __kernel_casinh.
705 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
706 arguments using __kernel_casinhf.
707 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
708 arguments using __kernel_casinhl.
709 * math/libm-test.inc (cacosh_test): Add more tests.
710 * sysdeps/i386/fpu/libm-test-ulps: Update.
711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
713 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
715 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
718 * bench/Makefile (bench): Add sin and slowsin.
719 * benchtests/sin-inputs: New file.
720 * benchtests/slowsin-inputs: New file.
721 * benchtests/slowsin.c: New file.
723 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
724 (bench): Add slowexp and slowpow.
725 (exp-ITER): Increase iterations.
726 (pow-ITER): Likewise.
727 * benchtests/exp-inputs: Change input.
728 * benchtests/pow-inputs: Likewise.
729 * benchtests/slowexp-inputs: New file.
730 * benchtests/slowexp.c: New file.
731 * benchtests/slowpow-inputs: New file.
732 * benchtests/slowpow.c: New file.
734 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
738 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
739 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
740 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
741 * benchtests/Makefile: Add rint benchtest.
742 * benchtests/rint-inputs: Input for rint benchtest.
744 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
746 * Versions.def (libm): Add GLIBC_2.18.
747 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
748 hidden libm prototypes.
749 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
750 * math/Makefile (libm-calls): Add s_issignaling.
751 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
752 __issignalingf, __issignalingl. Adjust all libm.abilist files.
753 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
755 * math/math.h [__USE_GNU] (issignaling): New macro.
756 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
757 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
758 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
759 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
760 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
762 * manual/arith.texi (issignaling): New section.
763 * manual/libm-err-tab.pl (@all_functions): Update comment.
764 * math/gen-libm-test.pl (parse_args): Apply special handling for
766 * math/libm-test.inc (print_float, issignaling_test): New
768 (check_float_internal): Add issignaling checks.
769 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
771 * sysdeps/powerpc/math-tests.h: New file.
772 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
774 * math/test-snan.c (TEST_FUNC): Likewise.
776 2013-03-30 David S. Miller <davem@davemloft.net>
778 * po/de.po: Update from translation team.
780 2013-03-30 Joseph Myers <joseph@codesourcery.com>
783 * math/k_casinh.c (__kernel_casinh): Handle arguments with
784 imaginary part less than 1.0 and real part less than 0.5
786 * math/k_casinhf.c (__kernel_casinhf): Likewise.
787 * math/k_casinhl.c (__kernel_casinhl): Likewise.
788 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
789 (cacos_test): Add more tests.
790 (casin_test): Likewise.
791 (casinh_test): Likewise.
792 * sysdeps/i386/fpu/libm-test-ulps: Update.
793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
797 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
800 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
801 (__pow_mp): Replace ONE and MONE with their values.
802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
804 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
805 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
806 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
807 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
809 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
811 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
812 (__pow_mp): Replace ZERO and MZERO with their values.
813 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
815 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
817 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
818 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
821 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
823 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
825 2013-03-28 Roland McGrath <roland@hack.frob.com>
827 * include/stdlib.h [!SHARED] (__call_tls_dtors):
828 Declare with __attribute__ ((weak)).
829 * stdlib/exit.c (__libc_atexit) [!SHARED]:
830 Call __call_tls_dtors only if it's not NULL.
832 2013-03-28 Roland McGrath <roland@hack.frob.com>
834 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
835 didn't do it already, then set _dl_phdr and _dl_phnum based on the
836 magic __ehdr_start linker symbol if it's defined.
837 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
838 them up here if it was already done.
840 * elf/dl-support.c (_dl_phdr): Make pointer to const.
841 (_dl_aux_init): Use const in cast when setting it.
842 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
843 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
844 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
846 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
848 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
849 * csu/libc-tls.c: Nor here.
850 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
852 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
853 (__libc_message): Never call vsyslog.
855 2013-03-28 Alan Modra <amodra@gmail.com>
857 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
859 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
862 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
865 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
869 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
872 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
873 Don't add gid passed as argument.
875 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
877 2013-03-27 Joseph Myers <joseph@codesourcery.com>
880 * math/k_casinh.c (__kernel_casinh): Handle arguments with
881 imaginary part between 1.0 and 1.5 and real part less than 0.5
883 * math/k_casinhf.c (__kernel_casinhf): Likewise.
884 * math/k_casinhl.c (__kernel_casinhl): Likewise.
885 * math/libm-test.inc (cacos_test): Add more tests.
886 (casin_test): Likewise.
887 (casinh_test): Likewise.
888 * sysdeps/i386/fpu/libm-test-ulps: Update.
889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
891 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
893 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
897 (__dbl_mp): Likewise.
898 (add_magnitudes): Likewise.
899 (sub_magnitudes): Likewise.
907 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
909 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
910 (__dubcos): Likewise.
911 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
912 (__ieee754_acos): Likewise.
913 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
920 (checkint): Likewise.
921 * sysdeps/ieee754/dbl-64/e_remainder.c
922 (__ieee754_remainder): Likewise.
923 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
926 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
928 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
929 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
930 MANTISSA_STORE_T to store computations on mantissa. Use
931 macros for rounding and division.
933 (__dbl_mp): Likewise.
934 (add_magnitudes): Likewise.
935 (sub_magnitudes): Likewise.
938 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
939 powers of two in terms of TWOPOW macro.
940 (mp_no): Make type of mantissa as MANTISSA_T.
941 [!RADIXI]: Define RADIXI.
942 [!TWO52]: Define TWO52.
943 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
945 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
948 llroundl symbol when building for PPC32.
950 2013-03-24 Mark H Weaver <mhw@netris.org>
952 * manual/arith.texi (Normalization Functions): Fix prototypes for
953 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
955 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
959 high value to check if expl overflow.
960 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
961 to check for underflow and overflow.
962 * math/libm-test.inc: Add exp test.
964 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
967 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
970 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
972 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
975 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
977 * math/gen-libm-test.pl (parse_args, special_functions): Properly
978 wrap blocks consisting of several statements.
980 * sysdeps/generic/math-tests.h: New file.
981 * sysdeps/i386/fpu/math-tests.h: Likewise.
982 * math/test-snan.c: Include it.
983 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
985 2013-03-21 Joseph Myers <joseph@codesourcery.com>
988 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
989 (__ieee754_j0l): Do not improve calculations using cos of twice
990 input for inputs above LDBL_MAX / 2.0L.
991 (__ieee754_y0l): Likewise.
992 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
993 (__ieee754_j1l): Do not improve calculations using cos of twice
994 input for inputs above LDBL_MAX / 2.0L.
995 (__ieee754_y1l): Likewise.
996 * math/libm-test.inc (j0_test): Add another test.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1002 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1004 * Rules ($(objpfx)bench-%.c): Include code from a C source
1007 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1010 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1011 imaginary part 1.0 and real part less than 0.5 specially.
1012 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1013 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1014 * math/libm-test.inc (cacos_test): Add more tests.
1015 (casin_test): Likewise.
1016 (casinh_test): Likewise.
1017 * sysdeps/i386/fpu/libm-test-ulps: Update.
1018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1020 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1023 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1025 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1027 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1028 * config.make.in (config-cflags-sse4): Remove variable.
1029 (config-cflags-avx): Likewise.
1030 (config-cflags-sse2avx): Likewise.
1031 (config-cflags-novzeroupper): Likewise.
1032 (config-asflags-i686): Likewise.
1033 (have-mfma4): Likewise.
1034 (have-as-vis3): Likewise.
1036 * configure.in (MIG): Do not AC_SUBST.
1037 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1038 (libc_cv_cc_sse4): Do not AC_SUBST.
1039 (libc_cv_cc_avx): Likewise.
1040 (libc_cv_cc_sse2avx): Likewise.
1041 (libc_cv_cc_novzeroupper): Likewise.
1042 (libc_cv_cc_fma4): Likewise.
1043 (libc_cv_as_i686): Likewise.
1044 (libc_cv_sparc_as_vis3): Likewise.
1045 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1047 (config-asflags-i686): Likewise.
1048 (config-cflags-avx): Likewise.
1049 (config-cflags-sse2avx): Likewise.
1050 (have-mfma4): Likewise.
1051 (config-cflags-novzeroupper): Likewise.
1052 * sysdeps/mach/configure.in (MIG): Likewise.
1053 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1054 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1056 (config-cflags-avx): Likewise.
1057 (config-cflags-sse2avx): Likewise.
1058 (have-mfma4): Likewise.
1059 (config-cflags-novzeroupper): Likewise.
1060 * configure: Regenerated.
1061 * sysdeps/i386/configure: Likewise.
1062 * sysdeps/mach/configure: Likewise.
1063 * sysdeps/sparc/configure: Likewise.
1064 * sysdeps/x86_64/configure: Likewise.
1066 2013-03-20 Roland McGrath <roland@hack.frob.com>
1069 * locale/programs/localedef.c (options): Put N_ translation marker
1070 on argument names, not just descriptions.
1072 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1074 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1076 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1079 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1081 2013-03-19 Roland McGrath <roland@hack.frob.com>
1083 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1084 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1085 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1086 [!BEFORE_ABORT] (before_abort): New function.
1087 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1088 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1089 (writev_for_fatal): New function.
1090 (WRITEV_FOR_FATAL): New macro; call that.
1091 (backtrace_and_maps): New function.
1092 (BEFORE_ABORT): New macro; call that.
1093 (struct str_list): Type removed.
1094 (__libc_message, __libc_fatal): Functions removed.
1095 Include <sysdeps/posix/libc_fatal.c> instead.
1097 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1099 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1101 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1104 2013-03-19 Andreas Schwab <schwab@suse.de>
1106 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1107 * sysdeps/gnu/configure: Regenerate.
1109 * configure.in: Substitute libc_cv_rtlddir.
1110 * configure: Regenerate.
1111 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1112 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1113 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1114 * elf/Makefile (install-others, CFLAGS-interp.c)
1115 (ldso_install, common-ldd-rewrite): Likewise.
1116 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1117 $(inst_slibdir)/$(rtld-installed-name).
1118 * scripts/rellns-sh: Add -p option.
1119 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1122 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1124 * manual/nptl.texi: Renamed to ...
1125 * manual/threads.texi: ... this.
1126 * manual/Makefile (chapters): Update.
1128 2013-03-18 Roland McGrath <roland@hack.frob.com>
1131 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1132 on argument names, not just descriptions.
1133 * malloc/memusagestat.c (options): Likewise.
1134 * nss/getent.c (options): Likewise.
1136 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1139 * iconv/iconv_prog.c (options): Put N_ translation marker
1140 on argument names, not just descriptions.
1141 * iconv/iconvconfig.c (options): Likewise.
1143 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1145 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1146 implementation which is faster on all x86_64 architectures.
1147 Tested on AMD, Intel Nehalem, SNB, IVB.
1148 * sysdeps/x86_64/strnlen.S: Likewise.
1150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1151 Remove all multiarch strlen and strnlen versions.
1152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1153 Remove strlen and strnlen related parts.
1155 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1157 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1159 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1160 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1162 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1163 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1164 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1166 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1168 * manual/memory.texi (Malloc Tunable Parameters):
1169 Sort parameters alphabetically. Add comments for missing entries.
1171 2013-03-17 David S. Miller <davem@davemloft.net>
1173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1175 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1178 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1179 for arguments at most half maximum finite value.
1180 * math/libm-test.inc (j0_test): Add more tests.
1181 (j1_test): Likewise.
1182 (y0_test): Likewise.
1183 (y1_test): Likewise.
1184 * sysdeps/i386/fpu/libm-test-ulps: Update.
1185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1188 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1189 1 / x and functions P and Q for arguments above 0x1p256L.
1190 (__ieee754_y0l): Likewise.
1191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1192 (__ieee754_y1l): Likewise.
1193 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1194 (j1_test): Likewise.
1195 (y0_test): Likewise.
1196 (y1_test): Likewise.
1198 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1200 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1203 2013-03-15 Roland McGrath <roland@hack.frob.com>
1205 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1206 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1207 zero since it's initialized to EXEC_PAGESIZE.
1209 * sysdeps/unix/sysv/linux/ldsodefs.h
1210 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1211 * sysdeps/generic/ldsodefs.h: ... here.
1213 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1215 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1217 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1219 * math/test-snan.c: Renamed from
1220 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1221 * math/Makefile (tests): Add test-snan.
1222 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1225 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1226 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1228 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1229 __builtin_nan family of functions.
1230 * math/libm-test.inc (initialize): Initialize qnan_value with
1231 __builtin_nan family of functions.
1232 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1234 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1236 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1237 storage class. Initialize qNaN_var and sNaN_var with
1238 __builtin_nan and __builtin_nans families of functions,
1241 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1242 (sqrt_test): Remove duplicate test with qNaN input.
1243 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1244 (round_test, signbit_test, significand_test): Note missing +/-Inf
1245 as well as qNaN tests.
1247 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1248 qNaN_var. Fix a few strings, too.
1249 * math/libm-test.inc (nan_value): Rename to qnan_value.
1250 * math/gen-libm-test.pl (%beautify): Adjust to that.
1251 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1252 * math/test-misc.c (main): Likewise.
1253 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1254 to __qnan_bytes, and __qnan_union, respectively.
1255 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1257 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1258 and lqnanval, respectively.
1259 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1260 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1261 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1262 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1264 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1265 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1268 * math/test-misc.c (main): Fix copy'n'pastos.
1269 * misc/tst-efgcvt.c (special): Likewise.
1271 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1272 Remove declarations.
1274 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1276 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1277 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1278 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1279 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1281 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1284 macro to return vdso values correctly in IFUNC implementations.
1285 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1286 Optimization by using IFUNC.
1288 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1289 Richard Henderson <rth@redhat.com>
1290 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1292 * Makefile.in (bench): New target.
1293 * NEWS: Mention the benchmark framework.
1294 * Rules (bench): Likewise.
1295 (binaries-bench): Generate binaries for functions to
1297 * benchtests/Makefile: New makefile for benchmark tests.
1298 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1300 * benchtests/exp-inputs: New input file for EXP function.
1301 * benchtests/pow-inputs: New input file for POW function.
1302 * scripts/bench.pl: New script to generate source files for
1305 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1307 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1308 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1309 computations on mantissa. Use macros for rounding and
1312 (__dbl_mp): Likewise.
1313 (add_magnitudes): Likewise.
1314 (sub_magnitudes): Likewise.
1317 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1318 powers of two in terms of TWOPOW macro.
1319 (mp_no): Make type of mantissa as MANTISSA_T.
1320 [!RADIXI]: Define RADIXI.
1321 [!TWO52]: Define TWO52.
1322 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1324 * manual/nptl.texi (cindex): Modify threads to pthreads.
1326 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1328 * sysdeps/x86_64/preconfigure: Regenerated.
1330 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1335 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1336 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1338 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1339 * math/libm-test.inc (j0_test): Do not allow one spurious
1340 underflow exception.
1341 (y1_test): Likewise.
1343 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 * manual/Makefile (chapters): Add nptl.
1346 * manual/debug.texi (Debugging Support): Add link to Threads
1348 * manual/nptl.texi: New file.
1350 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1352 2013-03-14 Petr Baudis <pasky@ucw.cz>
1354 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1355 for non-NULL pointer before the memory validity test. Pointed
1356 out by Holger Brunck <holger.brunck@keymile.com>.
1358 2013-03-13 Andreas Schwab <schwab@suse.de>
1360 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1363 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1365 * timezone/zic.c: Update from tzcode 2013b.
1367 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1369 * manual/install.texi (Configuring and compiling):
1370 Mention i686 and i586.
1371 * INSTALL: Regenerate.
1373 2013-03-12 Roland McGrath <roland@hack.frob.com>
1375 * sysdeps/init_array/elf-init.c: New file.
1377 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1378 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1380 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1381 __gmon_start__ as global, but as static with a .preinit_array pointer.
1382 * sysdeps/init_array/gmon-start.c: New file. Use that.
1383 * sysdeps/init_array/crti.S: New file, empty except for comments.
1384 * sysdeps/init_array/crtn.S: Likewise.
1386 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1388 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1391 Remove Prefer_SSE_for_memop.
1392 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1393 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1394 HAS_PREFER_SSE_FOR_MEMOP.
1395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1398 Remove bzero, memset ifunc support.
1399 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1400 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1401 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1402 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1404 2013-03-11 Andreas Schwab <schwab@suse.de>
1407 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1410 (GLIBC_2.16): Remove pthread_atfork.
1412 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1414 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1415 (ptestcases.h): Likewise.
1417 2013-03-08 Roland McGrath <roland@hack.frob.com>
1419 * Makeconfig ($(common-objpfx)config.status): Depend on
1420 sysdeps/*/preconfigure{,.in} too.
1422 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1424 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1425 (__free_hook): Use void * instead of __malloc_ptr_t.
1426 (__malloc_hook): Likewise.
1427 (__realloc_hook): Likewise.
1428 (__memalign_hook): Likewise.
1429 (__after_morecore_hook): Likewise.
1430 * malloc/arena.c (save_malloc_hook): Likewise.
1431 (save_free_hook): Likewise.
1432 * malloc/hooks.c (malloc_hook_ini): Likewise.
1433 (realloc_hook_ini): Likewise.
1434 (memalign_hook_ini): Likewise.
1435 * malloc/malloc.c (malloc_hook_ini): Likewise.
1436 (realloc_hook_ini): Likewise.
1437 (memalign_hook_ini): Likewise.
1438 (__free_hook): Likewise.
1439 (__malloc_hook): Likewise.
1440 (__realloc_hook): Likewise.
1441 (__memalign_hook): Likewise.
1442 (__libc_malloc): Likewise.
1443 (__libc_free): Likewise.
1444 (__libc_realloc): Likewise.
1445 (__libc_memalign): Likewise.
1446 (__libc_valloc): Likewise.
1447 (__libc_pvalloc): Likewise.
1448 (__libc_calloc): Likewise.
1449 (__posix_memalign): Likewise.
1450 * malloc/morecore.c (__sbrk): Likewise.
1451 (__default_morecore): Likewise.
1453 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1455 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1456 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1459 * malloc/malloc.h (__malloc_size_t): Remove macro.
1460 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1462 (old_memalign_hook): Likewise.
1463 (old_realloc_hook): Likewise.
1464 (struct hdr): Likewise.
1466 (mallochook): Likewise.
1467 (memalignhook): Likewise.
1468 (reallochook): Likewise.
1469 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1470 (tr_old_realloc_hook): Likewise.
1471 (tr_old_memalign_hook): Likewise.
1472 (tr_mallochook): Likewise.
1473 (tr_reallochook): Likewise.
1474 (tr_memalignhook): Likewise.
1476 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1479 default_ldbl_pack and using as default implementation.
1480 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1482 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1483 redundant definition.
1484 (ldbl_insert_mantissa): Likewise.
1485 (ldbl_canonicalize): Likewise.
1486 (ldbl_nearbyint): Likewise.
1487 (ldbl_pack): Rename to ldbl_pack_ppc.
1488 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1489 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1490 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1492 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1495 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1496 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1497 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1499 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1500 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1501 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1503 2013-03-07 Andreas Jaeger <aj@suse.de>
1505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1508 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1510 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1511 Include mpa.h and declare __MPEXP.
1512 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1513 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1514 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1517 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1518 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1520 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1521 (__slowpow): Use long double EXPL and LOGL functions to
1523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1524 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1526 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1527 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1528 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1531 intermediate variable to calculate exponent.
1533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1537 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1538 [!NO__SQR]: Define __sqr.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1540 and NO__SQR. Remove all code except __mul and __sqr. Include
1541 sysdeps/ieee754/dbl-64/mpa.c.
1542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1545 * posix/Makefile (tests): Add tst-pathconf.
1546 * posix/tst-pathconf.c: New test case.
1547 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1549 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1551 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1553 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1555 2013-03-06 Andreas Jaeger <aj@suse.de>
1557 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1558 definition via __MAP_ANONYMOUS.
1560 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1561 it's not part of Linux headers.
1563 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1564 (MAP_HUGE_MASK): Define.
1566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1568 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1569 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1571 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1572 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1574 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1577 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1579 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1580 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1581 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1582 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1583 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1584 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1586 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1590 Handle f2fs and efivarfs.
1592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1595 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1596 (EFIVARFS_MAGIC): Add.
1597 (F2FS_LINK_MAX): Add.
1599 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1601 * stdio-common/vfprintf.c: Replace __builtin_expect with
1604 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1607 * sysdeps/generic/bp-sym.h: Remove file.
1608 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1609 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1610 <bp-sym.h> and <bp-asm.h>.
1611 (__longjmp): Don't use BP_SYM.
1612 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1614 (memcpy): Don't use BP_SYM.
1615 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1616 <bp-sym.h> and <bp-asm.h>.
1617 (memcpy): Don't use BP_SYM.
1618 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1620 (memcpy): Don't use BP_SYM.
1621 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1623 (memset): Don't use BP_SYM.
1624 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1625 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1626 (__bzero): Don't use BP_SYM.
1627 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1628 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1630 <bp-sym.h> and <bp-asm.h>.
1631 (memcmp): Don't use BP_SYM. Remove comment about bounded
1633 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1634 <bp-sym.h> and <bp-asm.h>.
1635 (memcpy): Don't use BP_SYM.
1636 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1637 <bp-sym.h> and <bp-asm.h>.
1638 (memset): Don't use BP_SYM.
1639 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1640 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1641 (__bzero): Don't use BP_SYM.
1642 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1643 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1644 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1645 <bp-sym.h> and <bp-asm.h>.
1646 (strncmp): Don't use BP_SYM. Remove comment about bounded
1648 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1649 <bp-sym.h> and <bp-asm.h>.
1650 (memcpy): Don't use BP_SYM.
1651 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (memset): Don't use BP_SYM.
1654 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1655 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1656 (__bzero): Don't use BP_SYM.
1657 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1658 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1660 <bp-sym.h> and <bp-asm.h>.
1661 (__memchr): Don't use BP_SYM.
1662 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1663 <bp-sym.h> and <bp-asm.h>.
1664 (memcmp): Don't use BP_SYM. Remove comment about bounded
1666 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1667 <bp-sym.h> and <bp-asm.h>.
1668 (memcpy): Don't use BP_SYM.
1669 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1670 <bp-sym.h> and <bp-asm.h>.
1671 (__mempcpy): Don't use BP_SYM.
1672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1673 <bp-sym.h> and <bp-asm.h>.
1674 (__memrchr): Don't use BP_SYM.
1675 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1676 <bp-sym.h> and <bp-asm.h>.
1677 (memset): Don't use BP_SYM.
1678 (__bzero): Likewise.
1679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1680 <bp-sym.h> and <bp-asm.h>.
1681 (__rawmemchr): Don't use BP_SYM.
1682 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1683 <bp-sym.h> and <bp-asm.h>.
1684 (__STRCMP): Don't use BP_SYM.
1685 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1686 <bp-sym.h> and <bp-asm.h>.
1687 (strchr): Don't use BP_SYM.
1688 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1689 <bp-sym.h> and <bp-asm.h>.
1690 (__strchrnul): Don't use BP_SYM.
1691 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1692 <bp-sym.h> and <bp-asm.h>.
1693 (strlen): Don't use BP_SYM.
1694 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1695 <bp-sym.h> and <bp-asm.h>.
1696 (strncmp): Don't use BP_SYM. Remove comment about bounded
1698 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1699 <bp-sym.h> and <bp-asm.h>.
1700 (__strnlen): Don't use BP_SYM.
1701 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1702 <bp-sym.h> and <bp-asm.h>.
1703 (__GI__setjmp): Don't use BP_SYM.
1704 (_setjmp): Likewise.
1705 (__sigsetjmp): Likewise.
1706 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1707 (L(start_addresses)): Don't use BP_SYM.
1709 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1711 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1712 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1713 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1714 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1715 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1717 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1718 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1719 about bounded pointers.
1720 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1721 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1722 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1724 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1725 about bounded pointers. Remove GKM FIXME comments.
1726 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1727 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1729 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1730 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1731 Remove GKM FIXME comments.
1732 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1733 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1734 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1736 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1737 about bounded pointers. Remove GKM FIXME comment.
1738 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1740 (strncmp): Don't use BP_SYM. Remove comment about bounded
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1743 <bp-sym.h> and <bp-asm.h>.
1744 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1746 <bp-sym.h> and <bp-asm.h>.
1747 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1750 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1752 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1755 2013-03-05 David S. Miller <davem@davemloft.net>
1757 * po/es.po: Update from translation team.
1759 2013-03-05 Andreas Jaeger <aj@suse.de>
1761 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1762 <bits/mman-linux.h>.
1763 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1766 <bits/mman-linux.h> to end of file.
1767 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1769 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1770 <bits/mman-linux.h> to end of file.
1771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1774 <bits/mman-linux.h> to end of file.
1776 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1777 (MCL_CURRENT, MCL_FUTURE): Define here.
1779 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1782 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1784 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1786 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1788 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1789 fourth parameter needed for rt_sigprocmask syscall.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1791 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1792 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1794 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1795 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1797 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1800 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1801 comment about bounded pointers.
1802 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1803 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1805 2013-03-04 Andreas Jaeger <aj@suse.de>
1807 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1810 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1811 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1812 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1817 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1821 __ieee754_sqrl instead of __sqrl.
1823 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1825 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1826 * sysdeps/powerpc/fpu_control.h: ... here.
1827 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1828 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1829 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1830 * sysdeps/powerpc/bits/mathinline.h: ... here.
1832 2013-03-01 Roland McGrath <roland@hack.frob.com>
1834 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1835 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1836 to just [NEED_DL_SYSINFO_DSO].
1837 * elf/dl-support.c: Likewise.
1838 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1839 * elf/rtld.c (dl_main): Likewise.
1840 * elf/setup-vdso.h (setup_vdso): Likewise.
1841 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1842 * sysdeps/unix/sysv/linux/dl-sysdep.c
1843 (_dl_discover_osversion): Likewise.
1845 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1847 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1848 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1850 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1852 * NEWS: Mention libm performance improvements and non-x86 PI
1855 * csu/libc-start.c (__pthread_initialize_minimal): Change
1857 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1859 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1862 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1863 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1864 <bp-sym.h> and <bp-asm.h>.
1865 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1866 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1868 (memcpy): Don't use BP_SYM.
1869 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1871 (__mpn_add_n): Don't use BP_SYM.
1872 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1873 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1875 (__mpn_addmul_1): Don't use BP_SYM.
1876 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1877 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1879 (_setjmp): Don't use BP_SYM.
1880 (__novmx_setjmp): Likewise.
1881 (__GI__setjmp): Likewise.
1882 (__vmx_setjmp): Likewise.
1883 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1885 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1886 (__bzero): Don't use BP_SYM.
1887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1889 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1890 <bp-sym.h> and <bp-asm.h>.
1891 (memcpy): Don't use BP_SYM.
1892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1893 <bp-sym.h> and <bp-asm.h>.
1894 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1895 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1896 <bp-sym.h> and <bp-asm.h>.
1897 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1898 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1900 (__mpn_lshift): Don't use BP_SYM.
1901 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1902 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1904 (memset): Don't use BP_SYM.
1905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1907 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1909 (__mpn_mul_1): Don't use BP_SYM.
1910 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1912 <bp-sym.h> and <bp-asm.h>.
1913 (memcmp): Don't use BP_SYM.
1914 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1915 <bp-sym.h> and <bp-asm.h>.
1916 (memcpy): Don't use BP_SYM.
1917 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1918 <bp-sym.h> and <bp-asm.h>.
1919 (memset): Don't use BP_SYM.
1920 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1921 <bp-sym.h> and <bp-asm.h>.
1922 (strncmp): Don't use BP_SYM.
1923 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1924 <bp-sym.h> and <bp-asm.h>.
1925 (memcpy): Don't use BP_SYM.
1926 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1927 <bp-sym.h> and <bp-asm.h>.
1928 (memset): Don't use BP_SYM.
1929 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1930 <bp-sym.h> and <bp-asm.h>.
1931 (__memchr): Don't use BP_SYM.
1932 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1933 <bp-sym.h> and <bp-asm.h>.
1934 (memcmp): Don't use BP_SYM.
1935 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1936 <bp-sym.h> and <bp-asm.h>.
1937 (memcpy): Don't use BP_SYM.
1938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1939 <bp-sym.h> and <bp-asm.h>.
1940 (__mempcpy): Don't use BP_SYM.
1941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1942 <bp-sym.h> and <bp-asm.h>.
1943 (__memrchr): Don't use BP_SYM.
1944 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1945 <bp-sym.h> and <bp-asm.h>.
1946 (memset): Don't use BP_SYM.
1947 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1948 <bp-sym.h> and <bp-asm.h>.
1949 (__rawmemchr): Don't use BP_SYM.
1950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1951 <bp-sym.h> and <bp-asm.h>.
1952 (__STRCMP): Don't use BP_SYM.
1953 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1954 <bp-sym.h> and <bp-asm.h>.
1955 (strchr): Don't use BP_SYM.
1956 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1957 <bp-sym.h> and <bp-asm.h>.
1958 (__strchrnul): Don't use BP_SYM.
1959 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (strlen): Don't use BP_SYM.
1962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1963 <bp-sym.h> and <bp-asm.h>.
1964 (strncmp): Don't use BP_SYM.
1965 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1966 <bp-sym.h> and <bp-asm.h>.
1967 (__strnlen): Don't use BP_SYM.
1968 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1970 (__mpn_rshift): Don't use BP_SYM.
1971 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1973 <bp-sym.h> and <bp-asm.h>.
1974 (__sigsetjmp): Don't use BP_SYM.
1975 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1976 (L(start_addresses)): Don't use BP_SYM.
1978 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1980 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1981 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1983 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1985 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1986 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1990 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1992 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1993 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1995 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1997 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1999 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2001 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2003 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2005 (strncmp): Don't use BP_SYM,
2006 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2008 (__mpn_sub_n): Don't use BP_SYM.
2009 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2012 (__mpn_submul_1): Don't use BP_SYM.
2013 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2015 <bp-sym.h> and <bp-asm.h>.
2016 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2018 <bp-sym.h> and <bp-asm.h>.
2019 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2022 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2025 Use ZK to minimize writes to Z.
2026 (sub_magnitudes): Simplify code a bit.
2027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2028 Use ZK to minimize writes to Z.
2029 (sub_magnitudes): Simplify code a bit.
2031 2013-02-27 Roland McGrath <roland@hack.frob.com>
2033 * csu/gmon-start.c: Add special exception to license text.
2035 2013-02-27 Richard Henderson <rth@redhat.com>
2037 * scripts/config.guess: Update from config.git.
2038 * scripts/config.sub: Likewise.
2040 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2044 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2046 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2048 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2050 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2052 2013-02-26 Roland McGrath <roland@hack.frob.com>
2054 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2055 [$(build-shared = yes].
2057 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2059 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2060 (__mul): Reduce iterations for calculating mantissa.
2062 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2064 (__mpranred): Likewise.
2067 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2068 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2070 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2072 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2073 Define __attribute__.
2075 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2079 * posix/regex_internal.h (__attribute): Remove.
2080 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2081 (re_string_context_at): Likewise.
2082 (bitset_not): Use __attribute__ and mark function as possibly
2084 (bitset_merge): Likewise.
2085 (bitset_mask): Likewise.
2086 (re_string_char_size_at): Likewise.
2087 (re_string_wchar_at): Likewise.
2088 (re_string_elem_size_at): Likewise.
2090 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2092 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2096 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2101 (__dbl_mp): Likewise.
2102 (add_magnitudes): Likewise.
2103 (sub_magnitudes): Likewise.
2107 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2110 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2113 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2117 up changes with default code.
2118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2121 2013-02-24 Allan McRae <allan@archlinux.org>
2123 * manual/socket.texi (The Internet Namespace): Order menu items
2124 to match that in the file.
2126 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2127 node listing of the info page menu.
2129 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2132 * sysdeps/i386/bp-asm.h: Remove file.
2133 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2134 (PARMS): Do not use macros from bp-asm.h.
2138 (__mpn_add_n): Do not use BP_SYM
2139 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2141 (PARMS): Do not use macros from bp-asm.h.
2144 (__mpn_addmul_1): Do not use BP_SYM
2145 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2147 (PARMS): Do not use macros from bp-asm.h.
2149 (_setjmp): Likewise. Do not use BP_SYM.
2150 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2152 (PARMS): Do not use macros from bp-asm.h.
2154 (setjmp): Likewise. Do not use BP_SYM.
2155 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2157 (PARMS): Do not use macros from bp-asm.h.
2158 (__frexp): Do not use BP_SYM.
2160 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2162 (PARMS): Do not use macros from bp-asm.h.
2163 (__frexpf): Do not use BP_SYM.
2165 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2167 (PARMS): Do not use macros from bp-asm.h.
2168 (__frexpl): Do not use BP_SYM.
2170 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2172 (PARMS): Do not use macros from bp-asm.h.
2173 (__remquo): Do not use BP_SYM.
2175 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2177 (PARMS): Do not use macros from bp-asm.h.
2178 (__remquof): Do not use BP_SYM.
2179 (remquof): Likewise.
2180 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2182 (PARMS): Do not use macros from bp-asm.h.
2183 (__remquol): Do not use BP_SYM.
2184 (remquol): Likewise.
2185 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2187 (PARMS): Do not use macros from bp-asm.h.
2190 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2191 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2193 (PARMS): Do not use macros from bp-asm.h.
2194 (strlen): Do not use BP_SYM.
2195 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2197 (PARMS): Do not use macros from bp-asm.h.
2201 (__mpn_add_n): Do not use BP_SYM.
2202 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2204 (PARMS): Do not use macros from bp-asm.h.
2207 (__mpn_addmul_1): Do not use BP_SYM.
2208 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2211 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2213 (PARMS): Do not use macros from bp-asm.h.
2216 (__mpn_lshift): Do not use BP_SYM.
2217 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2219 (PARMS): Do not use macros from bp-asm.h.
2223 (memcpy): Likewise. Do not use BP_SYM.
2224 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2225 libc_hidden_def and weak_alias.
2226 (mempcpy): Do not use BP_SYM in weak_alias.
2227 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2229 (PARMS): Do not use macros from bp-asm.h.
2232 [!BZERO_P] (CHR): Likewise.
2233 (memset): Likewise. Do not use BP_SYM.
2234 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2236 (PARMS): Do not use macros from bp-asm.h.
2239 (__mpn_mul_1): Do not use BP_SYM.
2240 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2242 (PARMS): Do not use macros from bp-asm.h.
2245 (__mpn_rshift): Do not use BP_SYM.
2246 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2248 (PARMS): Do not use macros from bp-asm.h.
2251 (strchr): Likewise. Do not use BP_SYM.
2252 (index): Do not use BP_SYM in weak_alias.
2253 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2255 (PARMS): Do not use macros from bp-asm.h.
2258 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2259 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2261 (PARMS): Do not use macros from bp-asm.h.
2262 (strlen): Do not use BP_SYM.
2263 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2265 (PARMS): Do not use macros from bp-asm.h.
2269 (__mpn_sub_n): Do not use BP_SYM.
2270 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2272 (PARMS): Do not use macros from bp-asm.h.
2275 (__mpn_submul_1): Do not use BP_SYM.
2276 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2278 (PARMS): Do not use macros from bp-asm.h.
2282 (__mpn_add_n): Do not use BP_SYM.
2283 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2286 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2288 (PARMS): Do not use macros from bp-asm.h.
2291 (memcmp): Do not use BP_SYM.
2292 (bcmp): Do not use BP_SYM in weak_alias.
2293 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2295 (PARMS): Do not use macros from bp-asm.h.
2299 (memcpy): Likewise. Do not use BP_SYM.
2300 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2302 (PARMS): Do not use macros from bp-asm.h.
2306 (memmove): Likewise. Do not use BP_SYM.
2307 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2309 (PARMS): Do not use macros from bp-asm.h.
2313 (__mempcpy): Likewise. Do not use BP_SYM.
2314 (mempcpy): Do not use BP_SYM in weak_alias.
2315 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2317 (PARMS): Do not use macros from bp-asm.h.
2320 [!BZERO_P] (CHR): Likewise.
2321 (memset): Likewise. Do not use BP_SYM.
2322 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2324 (PARMS): Do not use macros from bp-asm.h.
2326 (strcmp): Do not use BP_SYM.
2327 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2329 (PARMS): Do not use macros from bp-asm.h.
2332 [USE_AS_STRTOK_R] (SAVE): Likewise.
2333 (FUNCTION): Likewise. Do not use BP_SYM.
2334 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2336 (strtok_r): Likewise.
2337 (__GI___strtok_r): Likewise.
2338 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2339 (PARMS): Do not use macros from bp-asm.h.
2342 (__mpn_lshift): Do not use BP_SYM.
2343 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2344 (PARMS): Do not use macros from bp-asm.h.
2347 (__memchr): Do not use BP_SYM.
2348 (memchr): Do not use BP_SYM in weak_alias.
2349 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2350 (PARMS): Do not use macros from bp-asm.h.
2353 (memcmp): Do not use BP_SYM.
2354 (bcmp): Do not use BP_SYM in weak_alias.
2355 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2356 (PARMS): Do not use macros from bp-asm.h.
2359 (__mpn_mul_1): Do not use BP_SYM.
2360 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2362 (PARMS): Do not use macros from bp-asm.h.
2365 (__rawmemchr): Do not use BP_SYM.
2366 (rawmemchr): Do not use BP_SYM in weak_alias.
2367 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2368 (PARMS): Do not use macros from bp-asm.h.
2371 (__mpn_rshift): Do not use BP_SYM.
2372 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2373 (PARMS): Do not use macros from bp-asm.h.
2375 (__sigsetjmp): Likewise. Do not use BP_SYM.
2376 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2377 (_start): Do not use BP_SYM.
2378 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2379 (PARMS): Do not use macros from bp-asm.h.
2382 (__stpcpy): Likewise. Do not use BP_SYM.
2383 (stpcpy): Do not use BP_SYM in weak_alias.
2384 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2386 (PARMS): Do not use macros from bp-asm.h.
2390 (__stpncpy): Likewise. Do not use BP_SYM.
2391 (stpncpy): Do not use BP_SYM in weak_alias.
2392 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2396 (strchr): Likewise. Do not use BP_SYM.
2397 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2399 (PARMS): Do not use macros from bp-asm.h.
2402 (__strchrnul): Likewise. Do not use BP_SYM.
2403 (strchrnul): Do not use BP_SYM in weak_alias.
2404 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2406 (PARMS): Do not use macros from bp-asm.h.
2408 (strcspn): Do not use BP_SYM.
2409 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2411 (PARMS): Do not use macros from bp-asm.h.
2414 (strpbrk): Likewise. Do not use BP_SYM.
2415 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2417 (PARMS): Do not use macros from bp-asm.h.
2420 (strrchr): Likewise. Do not use BP_SYM.
2421 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2422 (PARMS): Do not use macros from bp-asm.h.
2424 (strspn): Do not use BP_SYM.
2425 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2426 (PARMS): Do not use macros from bp-asm.h.
2430 (FUNCTION): Likewise. Do not use BP_SYM.
2431 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2433 (strtok_r): Likewise.
2434 (__GI___strtok_r): Likewise.
2435 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2436 (PARMS): Do not use macros from bp-asm.h.
2440 (__mpn_sub_n): Do not use BP_SYM.
2441 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2443 (PARMS): Do not use macros from bp-asm.h.
2446 (__mpn_submul_1): Do not use BP_SYM.
2447 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2449 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2451 (PARMS): Do not use macros from bp-asm.h.
2456 (__clone): Do not use BP_SYM.
2457 (clone): Do not use BP_SYM in weak_alias.
2458 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2460 (PARMS): Do not use macros from bp-asm.h.
2462 (__mmap64): Do not use BP_SYM.
2463 (mmap64): Do not use BP_SYM in weak_alias.
2464 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2465 <bp-sym.h> and <bp-asm.h>.
2466 (PARMS): Do not use macros from bp-asm.h.
2467 (__posix_fadvise64_l64): Do not use BP_SYM.
2468 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2469 (PARMS): Do not use macros from bp-asm.h.
2471 (semtimedop): Do not use BP_SYM.
2472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2475 2013-02-21 Allan McRae <allan@archlinux.org>
2477 * manual/message.texi (Charset conversion in gettext):
2478 Move @end statement to beginning of line.
2480 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2487 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2492 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2494 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2495 tail-call to the resolved function if pltexit isn't needed.
2497 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2500 or Y being zero as being unlikely.
2501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2504 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2506 * manual/nss.texi (System Databases and Name Service Switch):
2507 Remove frobnicate @pxref.
2509 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2511 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2512 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2514 2013-02-20 Petr Machata <pmachata@redhat.com>
2516 * elf/elf.h (R_ARM_TARGET1): New macro.
2517 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2518 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2519 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2520 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2521 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2522 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2523 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2524 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2525 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2526 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2527 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2528 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2529 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2530 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2531 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2532 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2533 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2534 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2535 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2536 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2537 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2538 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2539 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2540 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2541 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2542 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2543 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2544 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2545 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2546 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2547 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2548 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2549 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2550 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2551 (R_ARM_THM_GOT_BREL12): Likewise.
2552 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2553 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2554 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2555 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2556 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2557 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2558 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2559 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2560 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2562 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2564 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2565 __attribute_used__ to __attribute__ ((unused)).
2567 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2569 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2575 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2578 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2580 (ENTER): Remove both macro definitions.
2582 (CHECK_BOUNDS_LOW): Likewise.
2583 (CHECK_BOUNDS_HIGH): Likewise.
2584 (CHECK_BOUNDS_BOTH): Likewise.
2585 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2586 (RETURN_BOUNDED_POINTER): Likewise.
2587 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2588 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2589 (POP_ERRNO_LOCATION_RETURN): Likewise.
2590 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2591 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2592 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2594 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2595 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2596 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2597 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2598 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2599 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2600 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2601 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2602 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2603 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2604 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2605 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2606 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2607 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2609 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2610 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2612 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2613 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2614 * sysdeps/i386/i586/memset.S (memset): Likewise.
2615 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2616 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2617 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2620 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2621 Change uses of L(2) to L(out).
2622 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2623 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2624 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2625 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2626 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2628 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2629 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2631 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2632 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2633 (RETURN): Do not use macro LEAVE.
2634 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2635 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2636 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2637 * sysdeps/i386/i686/memset.S (memset): Likewise.
2638 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2639 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2640 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2641 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2643 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2644 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2645 L(1_2) and L(1_3) into L(1).
2646 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2647 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2648 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2649 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2650 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2651 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2652 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2653 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2654 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2656 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2657 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2658 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2659 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2660 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2661 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2662 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2663 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2664 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2665 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2666 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2667 * sysdeps/i386/strspn.S (strspn): Likewise.
2668 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2670 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2671 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2672 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2673 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2675 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2676 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2677 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2679 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2681 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2683 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2686 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2688 * math/atest-exp.c (exp_mpn): Remove ROUND.
2689 * math/atest-exp2.c (exp_mpn): Likewise.
2690 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2692 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2693 * stdlib/tst-tls-atexit-lib.c: Likewise.
2694 * stdlib/tst-tls-atexit.c: Likewise.
2696 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2698 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2699 and __attribute_alloc_size__.
2701 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2703 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2704 __attribute_alloc_size__.
2705 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2706 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2708 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2710 * include/programs/xmalloc.h: New file.
2711 * catgets/gencat.c: Include it.
2712 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2713 * elf/pldd.c: Likewise.
2714 * iconv/iconv_charmap.c: Likewise.
2715 * iconv/iconvconfig.c: Likewise.
2716 * iconv/strtab.c: Likewise.
2717 * locale/programs/locale.c: Likewise.
2718 * locale/programs/localedef.h: Likewise.
2719 * locale/programs/simple-hash.c: Likewise.
2720 * nscd/nscd.h: Likewise.
2721 * nss/makedb.c: Likewise.
2722 * sysdeps/generic/ldconfig.h: Likewise.
2724 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2726 * Versions.def: Add GLIBC_2.18.
2727 * include/link.h (struct link_map): New member l_tls_dtor_count.
2728 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2729 (__call_tls_dtors): Likewise.
2730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2731 __cxa_thread_atexit_impl.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2748 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2749 (tests): Add test case tst-tls-atexit.
2750 (modules-names): Add shared library for tst-tls-atexit.
2751 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2752 (GLIBC_PRIVATE): Add __call_tls_dtors.
2753 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2755 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2756 * stdlib/tst-tls-atexit.c: New test case.
2757 * stdlib/tst-tls-atexit-lib.c: New test case.
2759 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2761 * elf/Versions (ld): Add _dl_find_dso_for_object.
2762 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2763 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2764 (dl_open_worker): Use _dl_find_dso_for_object.
2765 * elf/dl-sym.c (do_sym): Likewise.
2766 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2768 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2770 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2771 Syntactic changes only.
2772 (_dl_runtime_profile): Do a tail-call to the resolved function.
2774 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2777 * sysdeps/x86_64/bp-asm.h: Remove file.
2778 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2779 <bp-sym.h> and <bp-asm.h>.
2780 (__clone): Do not use BP_SYM.
2781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2782 <bp-sym.h> and <bp-asm.h>.
2783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2784 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2786 (_setjmp): Do not use BP_SYM.
2787 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2789 (setjmp): Do not use BP_SYM.
2790 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2792 (mempcpy): Do not use BP_SYM in weak_alias.
2793 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2795 (strchr): Do not use BP_SYM.
2796 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2798 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2799 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2800 (_start): Do not use BP_SYM.
2801 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2803 (strcat): Do not use BP_SYM.
2804 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2806 (STRCMP): Do not use BP_SYM.
2807 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2809 (STRCPY): Do not use BP_SYM.
2810 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2812 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2814 (FUNCTION): Do not use BP_SYM.
2815 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2817 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2819 2013-02-17 Andreas Jaeger <aj@suse.de>
2821 * time/Versions: Sort entries.
2822 * string/Versions: Likewise.
2823 * resolv/Versions: Likewise.
2824 * posix/Versions: Likewise.
2825 * iconv/Versions: Likewise.
2826 * elf/Versions: Likewise.
2827 * wcsmbs/Versions: Likewise.
2829 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2831 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2832 loop termination condition.
2834 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2835 variable to calculate EZ.
2838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2839 the lower precision input.
2841 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2844 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2845 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2846 (run-via-rtld-prefix): Do not handle %-bp tests.
2847 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2848 (all-object-suffixes): Remove .ob.
2849 (bppfx): Remove variable.
2850 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2851 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2852 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2853 [$(build-bounded) = yes] (libtype.ob): Likewise.
2854 * Makerules (elide-routines.ob): Remove variable.
2855 (do-tests-clean): Do not handle *-bp.out.
2856 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2857 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2858 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2859 (tests): Do not include $(tests-bp.out).
2860 (xtests): Do not include $(xtests-bp.out).
2861 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2862 [$(build-bounded) = yes] ($(addprefix
2863 $(objpfx),$(binaries-bounded))): Remove rule.
2864 ($(objpfx)%-bp.out): Remove rule.
2865 * config.make.in (build-bounded): Remove variable.
2866 * crypt/Makefile [$(build-bounded) = yes]
2867 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2868 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2870 [$(build-bounded) = yes] (install-lib): Likewise.
2871 [$(build-bounded) = yes] (generated): Likewise.
2872 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2874 * intl/Makefile [$(build-bounded) = yes]
2875 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2876 * math/Makefile [$(build-bounded) = yes]
2877 ($(tests:%=$(objpfx)%-bp): Likewise.
2878 * misc/Makefile [$(build-bounded) = yes]
2879 ($(objpfx)tst-tsearch-bp): Likewise.
2880 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2881 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2883 * string/Makefile (o-objects.ob): Remove variable.
2884 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2885 (CFLAGS-.ob): Remove variable.
2886 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2887 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2888 both definitions of variable.
2889 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2890 (ASFLAGS-.ob): Remove variable.
2892 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2895 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2896 Remove __BOUNDED_POINTERS__ from condition.
2897 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2898 * string/bits/string2.h [!__NO_STRING_INLINES &&
2899 !__BOUNDED_POINTERS__]: Likewise.
2900 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2902 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2903 Remove conditional code.
2904 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2905 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2906 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2910 * csu/libc-start.c: Do not include <bp-sym.h>.
2911 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2912 * elf/dl-open.c: Do not include <bp-sym.h>.
2913 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2914 * math/fegetenv.c: Do not include <bp-sym.h>.
2915 (fegetenv): Do not use BP_SYM in versioned symbols.
2916 * nptl/sysdeps/pthread/bits/libc-lockP.h
2917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2920 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2922 (__pthread_mutex_destroy): Likewise.
2923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2924 (__pthread_mutex_lock): Likewise.
2925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2926 (__pthread_mutex_trylock): Likewise.
2927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2928 (__pthread_mutex_unlock): Likewise.
2929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2930 (__pthread_mutexattr_init): Likewise.
2931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2932 (__pthread_mutexattr_destroy): Likewise.
2933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2934 (__pthread_mutexattr_settype): Likewise.
2935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2936 (__pthread_rwlock_init): Likewise.
2937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2938 (__pthread_rwlock_destroy): Likewise.
2939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2940 (__pthread_rwlock_rdlock): Likewise.
2941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2942 (__pthread_rwlock_tryrdlock): Likewise.
2943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2944 (__pthread_rwlock_wrlock): Likewise.
2945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2946 (__pthread_rwlock_trywrlock): Likewise.
2947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2948 (__pthread_rwlock_unlock): Likewise.
2949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2950 (__pthread_key_create): Likewise.
2951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2952 (__pthread_setspecific): Likewise.
2953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2954 (__pthread_getspecific): Likewise.
2955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2958 (_pthread_cleanup_push_defer): Likewise.
2959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2960 (_pthread_cleanup_pop_restore): Likewise.
2961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2962 (pthread_setcancelstate): Likewise.
2963 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2965 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2966 (memchr): Do not use BP_SYM in weak_alias.
2967 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2968 (fegetenv): Do not use BP_SYM in versioned symbols.
2969 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2970 (fesetenv): Do not use BP_SYM in versioned symbols.
2971 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2972 (feupdateenv): Do not use BP_SYM in versioned symbols.
2973 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2974 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2975 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2976 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2977 (open64): Do not use BP_SYM in weak_alias.
2978 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2979 (fegetenv): Do not use BP_SYM in versioned symbols.
2980 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2981 (fesetenv): Do not use BP_SYM in versioned symbols.
2982 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2983 (feupdateenv): Do not use BP_SYM in versioned symbols.
2984 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2985 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2986 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2987 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2988 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2989 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2992 (__libc_start_main): Do not use BP_SYM.
2994 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2997 redundant return line.
3001 (sub_magnitudes): Likewise.
3007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3011 (sub_magnitudes): Likewise.
3018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3021 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3024 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3025 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3027 of __mul for squares.
3028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3032 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3033 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3035 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3038 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3040 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3041 prototype or function definition. Rename ubp_* variables and
3042 parameters. Remove argv definitions conditional on
3043 [__BOUNDED_POINTERS__].
3044 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3045 * elf/dl-runtime.c (_dl_fixup): Likewise.
3046 * include/set-hooks.h (RUN_HOOK): Likewise.
3047 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3049 * string/strcpy.c (strcpy): Do not use __unbounded.
3050 * sysdeps/generic/frame.h (struct layout): Likewise.
3051 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3052 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3053 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3054 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3055 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3056 (__backtrace): Likewise.
3057 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3059 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3060 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3061 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3063 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3064 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3065 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3066 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3067 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3068 Do not use __unbounded.
3069 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3070 Rename __unboundedrlimits parameter to rlimits in prototype.
3071 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3072 Do not use __unbounded.
3073 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3075 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3076 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3077 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3078 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3079 __ptrvalue or __unbounded.
3080 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3083 (__new_msgctl): Do not use __ptrvalue.
3084 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3086 (__libc_msgrcv): Do not use __ptrvalue.
3087 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3088 startup_info): Do not use __unbounded.
3089 (__libc_start_main): Likewise. Rename ubp_* variables and
3090 parameters. Remove argv definitions conditional on
3091 [__BOUNDED_POINTERS__].
3092 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3094 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3096 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3098 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3100 (__new_shmctl): Do not use __ptrvalue.
3101 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3102 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3104 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3106 (__libc_sigaction): Likewise.
3107 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3108 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3110 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3112 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3114 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3116 * string/mempcpy.c: Implement by calling memcpy.
3118 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3125 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3126 values in the mantissa.
3128 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3129 minimize writes to Z.
3130 (sub_magnitudes): Simplify code a bit.
3132 2013-02-12 Roland McGrath <roland@hack.frob.com>
3134 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3135 from the message. The linker prefixes all warnings with that already.
3137 2013-02-12 Andreas Schwab <schwab@suse.de>
3140 * posix/regexec.c (extend_buffers): Add parameter min_len.
3141 (check_matching): Pass minimum needed length.
3142 (clean_state_log_if_needed): Likewise.
3143 (get_subexp): Likewise.
3144 * posix/Makefile (tests): Add bug-regex34.
3145 (bug-regex34-ENV): Define.
3146 * posix/bug-regex34.c: New file.
3149 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3150 elements compare against the byte sequence of it, not its name.
3151 * posix/Makefile (tests): Add bug-regex35.
3152 (bug-regex35-ENV): Define.
3153 * posix/bug-regex35.c: New file.
3155 2013-02-11 Tom de Vries <tom@codesourcery.com>
3157 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3159 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3160 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3161 (CHECK_EOL): Add undef.
3163 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3165 * bits/stdlib-bsearch.h: New file.
3166 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3167 * stdlib/stdlib.h: Likewise.
3169 2013-02-11 Roland McGrath <roland@hack.frob.com>
3171 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3172 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3174 * manual/search.texi (Array Search Function): Add missing const in
3176 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3177 declaration to use rlim_t.
3178 (Basic Scheduling Functions): Remove erroneous const from
3179 sched_getparam prototype. Remove erroneous * from
3180 sched_get_priority_max and sched_get_priority_min prototypes.
3181 (Resource Usage): Fix summary @comment on vtimes to refer to
3182 sys/vtimes.h rather than vtimes.h.
3183 Add missing *s in vtimes prototype.
3184 (Limits on Resources): Fix ulimit prototype to return long int.
3185 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3186 prototypes to use long int rather than double.
3187 (BSD Random): Fix initstate and setstate to use char *, not void *.
3188 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3189 prototype to make second argument 'struct aiocb64 *const[]'.
3190 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3191 (Status of AIO Operations): Remove erroneous const in aio_return and
3192 aio_return64 prototypes.
3193 (Synchronizing I/O): Fix sync prototype to return void.
3194 * manual/startup.texi (Suboptions): Remove an erroneous const in
3195 getsubopt prototype.
3196 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3197 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3198 use size_t rather than int.
3199 (Scanning All Users): Likewise for getpwent_r.
3200 (Setting Groups): Add missing const to setgroups prototype.
3201 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3202 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3203 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3204 'const void *' rather than 'const char *'.
3205 (Host Address Functions): Likewise for inet_ntop.
3206 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3207 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3208 ssize_t for return value.
3209 (Sending Data): Likewise for send, sendto, sendmsg.
3210 (Socket Option Functions): Add a missing const in setsockopt prototype.
3211 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3212 use wchar_t for the argument.
3213 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3214 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3216 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3217 double/float/long double for second argument.
3218 Fix return types of significand, significandf, significandl.
3219 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3220 argument in fchmod prototype.
3221 (File Owner): Use uid_t and gid_t in fchown prototype.
3222 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3223 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3224 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3225 use 'const struct dirent **' as argument types to CMP function pointer
3227 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3228 (File Times): Fix summary magic @comment for struct utimbuf and utime
3229 to refer to utime.h, not time.h.
3230 * manual/string.texi (Argz Functions): Add missing const in
3231 argz_extract and argz_next prototypes.
3232 (Finding Tokens in a String): Likewise for basename.
3233 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3234 (Copying and Concatenation): Fix typo in wmemmove prototype.
3235 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3236 (Signal Stack): Remove erroneous const in sigstack prototype.
3237 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3239 (Simple Calendar Time): Likewise for stime.
3240 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3242 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3243 say sys/sysctl.h instead.
3244 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3245 and vsyslog prototypes.
3247 2013-02-11 Tom de Vries <tom@codesourcery.com>
3249 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3252 2013-02-11 Roland McGrath <roland@hack.frob.com>
3254 * misc/sys/mman.h: Fix typo in mremap comment.
3256 2013-02-08 Roland McGrath <roland@hack.frob.com>
3258 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3259 the '\0' terminator.
3261 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3264 * debug/segfault.c: Don't include <bp-checks.h>.
3265 * sysdeps/generic/bp-checks.h: Remove file.
3266 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3267 (__GETDENTS): Don't use CHECK_N.
3268 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3269 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3270 (__getgroups): Don't use CHECK_N.
3271 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3272 (setgroups): Don't use CHECK_N.
3273 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3274 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3275 (__libc_msgrcv): Don't use CHECK_N.
3276 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3277 (__libc_msgsnd): Don't use CHECK_N.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3280 (__libc_pread): Don't use CHECK_N.
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3282 include <bp-checks.h>.
3283 (__libc_pread64): Don't use CHECK_N.
3284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3285 include <bp-checks.h>.
3286 (__libc_pwrite): Don't use CHECK_N.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3288 include <bp-checks.h>.
3289 (__libc_pwrite64): Don't use CHECK_N.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3292 (__libc_pread): Don't use CHECK_N.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3294 include <bp-checks.h>.
3295 (__libc_pread64): Don't use CHECK_N.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3297 include <bp-checks.h>.
3298 (__libc_pwrite): Don't use CHECK_N.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3300 include <bp-checks.h>.
3301 (__libc_pwrite64): Don't use CHECK_N.
3302 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3303 (do_pread): Don't use CHECK_N.
3304 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3305 (do_pread64): Don't use CHECK_N.
3306 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3307 (do_pwrite): Don't use CHECK_N.
3308 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3309 (do_pwrite64): Don't use CHECK_N.
3310 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3311 (__libc_readv): Don't use CHECK_N.
3312 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3313 (semop): Don't use CHECK_N.
3314 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3316 (semtimedop): Don't use CHECK_N.
3317 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3318 (__libc_pread): Don't use CHECK_N.
3319 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3321 (__libc_pread64): Don't use CHECK_N.
3322 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3324 (__libc_pwrite): Don't use CHECK_N.
3325 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3327 (__libc_pwrite64): Don't use CHECK_N.
3328 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3330 (__libc_msgrcv): Don't use CHECK_N.
3331 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3332 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3333 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3334 (__libc_writev): Don't use CHECK_N.
3336 2013-02-08 Roland McGrath <roland@hack.frob.com>
3338 * string/strcpy.c: Removed unused variable.
3340 * Makeconfig (+sysdep-includes): Define with := rather than =.
3341 Use an existing include/ subdir of each sysdeps dir before it.
3343 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3345 * nscd/connection.c (register_traced_file): Comment function.
3346 [HAVE_INOTIFY] (union __inev): Define.
3347 [HAVE_INOTIFY] (inotify_check_files): New function.
3348 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3349 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3351 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3353 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3355 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3356 loaded if not already and that a failure is permanent.
3358 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3361 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3362 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3364 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3367 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3368 (CHECK_1_NULL_OK): Likewise.
3369 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3370 (__fxstat): Do not use CHECK_1.
3371 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3373 (___fxstat64): Do not use CHECK_1.
3374 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3376 (__fxstatat): Do not use CHECK_1.
3377 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3379 (__fxstatat64): Do not use CHECK_1.
3380 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3382 (__fxstat): Do not use CHECK_1.
3383 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3385 (__fxstatat): Do not use CHECK_1.
3386 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3388 (__getresgid): Do not use CHECK_1.
3389 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3391 (__getresuid): Do not use CHECK_1.
3392 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3394 (__lxstat): Do not use CHECK_1.
3395 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3397 (__old_msgctl): Do not use CHECK_1.
3398 (__new_msgctl): Likewise.
3399 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3401 (__new_setrlimit): Do not use CHECK_1.
3402 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3404 (__old_shmctl): Do not use CHECK_1.
3405 (__new_shmctl): Likewise.
3406 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3408 (__xstat): Do not use CHECK_1.
3409 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3410 (__lxstat): Do not use CHECK_1.
3411 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3413 (___lxstat64): Do not use CHECK_1.
3414 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3415 (__old_msgctl): Do not use CHECK_1.
3416 (__new_msgctl): Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3419 (__gettimeofday): Do not use CHECK_1.
3420 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3421 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3422 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3424 (__gettimeofday): Do not use CHECK_1.
3425 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3426 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3427 (__new_shmctl): Do not use CHECK_1.
3428 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3430 (do_sigtimedwait): Do not use CHECK_1.
3431 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3433 (do_sigwaitinfo): Do not use CHECK_1.
3434 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3436 (msgctl): Do not use CHECK_1.
3437 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3439 (shmctl): Do not use CHECK_1.
3440 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3441 (ustat): Do not use CHECK_1.
3442 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3444 (__fxstat): Do not use CHECK_1.
3445 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3447 (__fxstatat): Do not use CHECK_1.
3448 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3450 (__lxstat): Do not use CHECK_1.
3451 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3453 (__xstat): Do not use CHECK_1.
3454 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3455 (__xstat): Do not use CHECK_1.
3456 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3457 (___xstat64): Do not use CHECK_1.
3460 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3462 (CHECK_BOUNDS_HIGH): Likewise.
3463 * string/strcpy.c: Do not include <bp-checks.h>.
3464 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3466 2013-02-07 Roland McGrath <roland@hack.frob.com>
3468 * nscd/nscd-client.h (__nscd_drop_map_ref):
3469 Add __attribute__ ((unused)).
3470 * nis/nss-nisplus.h (niserr2nss): Likewise.
3472 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3473 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3475 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3476 Remove inline keyword.
3477 * include/rounding-mode.h (round_away): Likewise.
3478 * libio/wfileops.c (adjust_wide_data): Likewise.
3479 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3480 (__m128i_strloadu_tolower): Likewise.
3481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3482 (__m128i_strloadu_tolower): Likewise.
3483 * time/mktime.c (ydhms_diff): Likewise.
3484 * locale/elem-hash.h (elem_hash): Likewise.
3485 * locale/setlocale.c (setdata): Likewise.
3486 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3487 (re_string_wchar_at): Likewise.
3488 (bitset_not, bitset_merge, bitset_mask): Likewise.
3489 [!(__GNUC__ > 3)] (inline): Remove macro.
3490 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3491 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3492 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3493 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3494 * string/memcmp.c (memcmp_bytes): Likewise.
3495 * locale/programs/locarchive.c (compute_hashval): Likewise.
3496 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3497 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3498 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3499 * nss/getent.c (print_rpc, print_protocols): Likewise.
3500 (print_passwd, print_group, print_aliases): Likewise.
3501 * nis/nss-nisplus.h (niserr2nss): Likewise.
3502 * nscd/connections.c (restart_p): Likewise.
3503 Change return type to bool.
3505 2013-02-05 Roland McGrath <roland@hack.frob.com>
3507 * Makeconfig (all-Depend-files): Add existing
3508 $(sorted-subdirs:=/Depend) files.
3509 (all-subdirs): Remove nss.
3510 * sysdeps/unix/inet/Subdirs: Add it here instead.
3511 * hesiod/Depend: New file.
3513 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3514 instead of calling alloca.
3516 * io/lseek.c (__lseek): Rename to __libc_lseek.
3517 Define __lseek as an alias.
3519 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3521 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3523 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3524 else clause and remove check for non-standard endianness.
3526 2013-02-04 David S. Miller <davem@davemloft.net>
3528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3530 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3533 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3534 (__ubp_memchr): Remove prototype.
3535 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3536 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3537 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3538 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3539 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3541 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3542 (__ubp_memchr): Likewise.
3543 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3544 (__ubp_memchr): Likewise.
3545 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3546 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3547 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3548 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3550 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3551 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3552 (__getcwd): Do not use CHECK_STRING.
3553 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3555 (__real_chown): Do not use CHECK_STRING.
3556 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3558 (fchownat): Do not use CHECK_STRING.
3559 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3561 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3563 (__lchown): Do not use CHECK_STRING.
3564 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3565 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3566 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3567 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3569 include <bp-checks.h>.
3570 (truncate64): Do not use CHECK_STRING.
3571 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3573 (__real_chown): Do not use CHECK_STRING.
3574 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3576 (__lchown): Do not use CHECK_STRING.
3577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3579 (__chown): Do not use CHECK_STRING.
3580 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3582 (truncate64): Do not use CHECK_STRING.
3583 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3585 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3586 (__xmknod): Do not use CHECK_STRING.
3587 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3589 (__xmknodat): Do not use CHECK_STRING.
3590 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3591 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3593 2013-02-04 Andreas Schwab <schwab@suse.de>
3596 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3597 * include/netdb.h: Likewise for h_errno.
3598 * elf/tst-stackguard1.c: Include <tls.h>.
3600 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3602 * elf/link.h (struct link_map): Extend the l_addr comment.
3603 * include/link.h (struct link_map): Likewise.
3605 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3608 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3609 (BOUNDED_1): Remove macro.
3610 * debug/backtrace.c: Don't include <bp-checks.h>.
3611 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3612 (__backtrace): Likewise.
3613 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3615 (__backtrace): Don't use BOUNDED_1.
3616 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3618 (__backtrace): Don't use BOUNDED_1.
3619 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3620 (__backtrace): Don't use BOUNDED_1.
3621 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3622 (shmat): Don't use BOUNDED_N.
3624 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3627 * sysdeps/generic/bp-start.h: Remove file.
3628 * csu/libc-start.c: Don't include <bp-start.h>.
3629 (LIBC_START_MAIN): Set up __environ directly instead of using
3630 INIT_ARGV_and_ENVIRON.
3631 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3635 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3637 (CHECK_FCNTL): Likewise.
3638 (CHECK_N_PAGES): Likewise.
3641 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3643 (CHECK_SIGSET_NULL_OK): Likewise.
3644 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3646 (sigpending): Don't use CHECK_SIGSET.
3647 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3649 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3650 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3652 (do_sigsuspend): Don't use CHECK_SIGSET.
3653 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3655 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3656 (do_sigwait): Don't use CHECK_SIGSET.
3657 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3659 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3660 include <bp-checks.h>.
3661 (sigpending): Don't use CHECK_SIGSET.
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3663 include <bp-checks.h>.
3664 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3665 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3667 (sigpending): Don't use CHECK_SIGSET.
3668 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3670 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3673 * sysdeps/generic/bp-semctl.h: Remove file.
3674 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3675 <bp-checks.h> and <bp-semctl.h>.
3676 (__old_semctl): Don't use CHECK_SEMCTL.
3677 (__new_semctl): Likewise.
3678 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3680 (__old_semctl): Don't use CHECK_SEMCTL.
3681 (__new_semctl): Likewise.
3682 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3683 <bp-checks.h> and <bp-semctl.h>.
3684 (__old_semctl): Don't use CHECK_SEMCTL.
3685 (__new_semctl): Likewise.
3686 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3687 <bp-checks.h> and <bp-semctl.h>.
3688 (semctl): Don't use CHECK_SEMCTL.
3691 * Makerules (elide-bp-thunks): Remove variable.
3692 (elide-routines.oS): Don't use $(elide-bp-thunks).
3693 (elide-routines.os): Likewise.
3694 (elide-routines.o): Likewise.
3695 (elide-routines.op): Likewise.
3696 (elide-routines.og): Likewise.
3697 (objects): Don't use $(bp-thunks).
3698 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3700 (common-generated): Do not add s-proto-bp.d.
3701 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3704 Do not generate makefile rules for bounded-pointer thunks.
3705 * sysdeps/generic/bp-thunks.h: Remove file.
3706 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3707 * sysdeps/unix/s-proto-bp.S: Likewise.
3710 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3711 parts of result separately when argument is not close to line from
3712 -i to i and one part of argument is small.
3713 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3714 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3715 * math/libm-test.inc (cacos_test): Add more tests.
3716 (casin_test): Likewise.
3717 (casinh_test): Likewise.
3718 * sysdeps/i386/fpu/libm-test-ulps: Update.
3719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721 2013-01-31 David S. Miller <davem@davemloft.net>
3723 * po/de.po: Update from translation team.
3725 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3727 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3729 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3731 * configure.in (_AC_PROG_CC_C89): New definition.
3732 * configure: Regenerate.
3734 * configure.in (AC_PROG_CPP): New definition.
3735 * configure: Regenerate.
3737 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3739 * debug/tst-backtrace.h: New file.
3740 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3741 (ret): Remove variable.
3743 (FAIL): Remove macro.
3744 (NO_INLINE): Likewise.
3745 (fn1): Use match function instead of strstr.
3746 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3747 (ret): Remove variable.
3749 (FAIL): Remove macro.
3750 (NO_INLINE): Likewise.
3751 (fn): Use match function instead of strstr.
3752 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3753 (ret): Remove variable.
3755 (FAIL): Remove macro.
3756 (NO_INLINE): Likewise.
3757 (handle_signal): Use match function instead of strstr.
3758 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3759 (ret): Remove variable.
3761 (FAIL): Remove macro.
3762 (NO_INLINE): Likewise.
3763 (handle_signal): Use match function instead of strstr.
3765 2013-01-23 Roland McGrath <roland@hack.frob.com>
3767 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3769 2013-01-23 David S. Miller <davem@davemloft.net>
3771 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3772 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3773 argument of CAS if possible.
3774 * sysdeps/sparc/sparc64/bits/atomic.h
3775 (__arch_compare_and_exchange_val_32_acq): Likewise.
3776 (__arch_compare_and_exchange_val_64_acq): Likewise.
3778 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3780 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3781 * sysdeps/posix/ulimit.c: ... this.
3783 * sysdeps/unix/bsd/ulimit.c: Remove file.
3785 2013-01-23 Adam Conrad <adconrad@0c3.net>
3787 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3788 (LDFLAGS-tst-array5): Likewise.
3790 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3793 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3794 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3795 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3796 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3798 2013-01-21 David S. Miller <davem@davemloft.net>
3800 * sysdeps/sparc/backtrace.c: New file.
3801 * sysdeps/sparc/sparc32/backtrace.h: New file.
3802 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3803 * sysdeps/sparc/sparc64/backtrace.h: New file.
3804 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3805 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3808 2013-01-21 Andreas Schwab <schwab@suse.de>
3811 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3814 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3820 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3821 Mark Mitchell <mark@codesourcery.com>
3822 Tom de Vries <tom@codesourcery.com>
3823 Paul Pluzhnikov <ppluzhnikov@google.com>
3825 * debug/tst-backtrace2.c: New file.
3826 * debug/tst-backtrace3.c: Likewise.
3827 * debug/tst-backtrace4.c: Likewise.
3828 * debug/tst-backtrace5.c: Likewise.
3829 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3830 (CFLAGS-tst-backtrace3.c): Likewise.
3831 (CFLAGS-tst-backtrace4.c): Likewise.
3832 (CFLAGS-tst-backtrace5.c): Likewise.
3833 (LDFLAGS-tst-backtrace2): Likewise.
3834 (LDFLAGS-tst-backtrace3): Likewise.
3835 (LDFLAGS-tst-backtrace4): Likewise.
3836 (LDFLAGS-tst-backtrace5): Likewise.
3837 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3838 tst-backtrace4 and tst-backtrace5.
3840 2013-01-18 Anton Blanchard <anton@samba.org>
3841 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3843 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3844 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3846 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3848 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3849 "+r" and remove output regs list as redundant. Add explicit inline
3850 asm to specify register of return val to work around compiler codegen
3851 bug. Remove (int) cast on return value. Add return type parameter to
3852 use in macro so that this macro does not truncate return value for
3854 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3855 pass to INTERNAL_VSYSCALL_NCS.
3856 (INLINE_VSYSCALL): Add 'long int' as return type to
3857 INTERNAL_VSYSCALL_NCS macro invocation.
3858 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3859 INTERNAL_VSYSCALL_NCS macro invocation.
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3862 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3865 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3866 Fix application of SIMD FP exception mask.
3868 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3869 mp_no from a power of two.
3870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3871 __mpexp_twomm1. Use __pow_mp.
3873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3876 2013-01-17 David S. Miller <davem@davemloft.net>
3878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3880 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3883 * include/complex.h: Condition contents on [!_COMPLEX_H].
3884 (__kernel_casinhf): New prototype.
3885 (__kernel_casinh): Likewise.
3886 (__kernel_casinhl): Likewise.
3887 * math/Makefile (libm_calls): Add k_casinh.
3888 * math/k_casinh.c: New file.
3889 * math/k_casinhf.c: Likewise.
3890 * math/k_casinhl.c: Likewise.
3891 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3892 finite nonzero arguments.
3893 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3894 finite nonzero arguments.
3895 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3896 finite nonzero arguments.
3897 * math/s_casinh.c: Do not include <float.h>.
3898 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3899 * math/s_casinhf.c: Do not include <float.h>.
3900 (__casinhf): Move code for finite nonzero arguments to
3902 * math/s_casinhl.c: Do not include <float.h>.
3903 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3905 (__casinhl): Move code for finite nonzero arguments to
3907 * math/libm-test.inc (cacos_test): Add more tests.
3908 * sysdeps/i386/fpu/libm-test-ulps: Update.
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3911 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3913 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3914 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3915 [!HAVE_MREMAP]: Remove [defined linux] case.
3916 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3918 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3922 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3924 * elf/elf.h (R_386_SIZE32): New relocation.
3925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3927 (elf_machine_rela): Likewise.
3928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3929 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3931 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3934 (FP_FAST_FMA): Do not define.
3935 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3936 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3937 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3938 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3939 !_SOFT_FLOAT]: Likewise.
3940 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3941 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3943 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3944 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3945 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3946 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3947 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3948 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3951 2013-01-16 Andreas Schwab <schwab@suse.de>
3954 * include/stdlib.h (__mktemp): Add declaration.
3955 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3956 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3958 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3960 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3962 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3963 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3964 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3966 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3967 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3969 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3971 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3972 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3973 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3975 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3976 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3978 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3980 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3982 2013-01-15 David S. Miller <davem@davemloft.net>
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3985 trunc{,f} to libm-sysdep_routes.
3986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3996 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4001 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4004 nearbyint{,f} to libm-sysdep_routes.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4022 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4023 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4026 libc_feholdexcept and libc_fesetenv.
4028 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4030 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4032 2013-01-14 David S. Miller <davem@davemloft.net>
4034 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4035 (SPARC_ASM_VIS2_IFUNC): Likewise.
4036 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4038 use of 'siam' instruction.
4039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4072 routines to libm-sysdep_routines.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4076 fdim/fdimf to libm-sysdep_routines.
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4085 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4086 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4087 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4088 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4090 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4092 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4095 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4100 local variable MPTWO.
4101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4104 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4106 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4109 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4111 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4113 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4115 * manual/pattern.texi (glob_t): Document gl_flags.
4116 (glob64_t): Likewise.
4118 2013-01-11 David S. Miller <davem@davemloft.net>
4120 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4121 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4122 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4123 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4124 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4125 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4126 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4127 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4128 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4129 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4130 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4131 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4132 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4134 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4135 sparc V9 rather than using V8 code.
4136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4144 2013-01-11 Roland McGrath <roland@hack.frob.com>
4146 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4147 not in the main loop.
4148 * configure: Regenerated.
4150 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4152 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4153 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4155 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4156 [!__GLIBC_HAVE_LONG_LONG] case.
4157 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4158 condition to just #else.
4159 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4160 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4161 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4162 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4164 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4165 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4166 #elif condition to just #else.
4167 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4168 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4169 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4170 #elif condition to just #else.
4172 2013-01-11 Steve Ellcey <sellcey@mips.com>
4174 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4175 (EF_MIPS_ARCH_64): Fix value.
4176 (EF_MIPS_ARCH_32R2): New.
4177 (EF_MIPS_ARCH_64R2): New.
4179 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4181 * Makeconfig (+link-pie-before-libc): New.
4182 (+link-pie-after-libc): Likewise.
4183 (+link-pie-tests): Likewise.
4184 (+link-pie): Rewritten.
4185 (link-before-libc): Remove $(config-LDFLAGS).
4186 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4187 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4188 (config-LDFLAGS): Renamed to ...
4189 (rtld-LDFLAGS): This.
4190 (rtld-tests-LDFLAGS): New macro.
4191 (link-libc-rpath-link): Likewise.
4192 (link-libc-tests-rpath-link): Likewise.
4193 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4194 (link-libc): Prepand $(link-libc-rpath-link).
4195 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4196 (test-program-prefix): New macro.
4197 (test-via-rtld-prefix): Likewise.
4198 (test-program-cmd): Likewise.
4199 (host-test-program-cmd): Likewise.
4200 * Makefile ($(common-objpfx)testrun.sh): Replace
4201 $(run-program-prefix) with $(test-program-prefix).
4202 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4204 ($(common-objpfx)shlib.lds): Likewise.
4205 (build-module-helper): Likewise.
4206 ($(common-objpfx)format.lds): Likewise.
4207 * Rules (binaries-pie-tests): New.
4208 (binaries-pie-notests): Likewise.
4209 (binaries-pie): Rewritten.
4210 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4211 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4212 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4213 (make-test-out): Replace $(host-built-program-cmd) with
4214 $(host-test-program-cmd).
4215 * config.make.in (build-hardcoded-path-in-tests): New variable.
4216 * configure.in (--enable-hardcoded-path-in-tests): New configure
4218 (hardcoded_path_in_tests): New AC_SUBST.
4219 * configure: Regenerated.
4220 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4221 $(built-program-cmd) with $(test-program-cmd).
4222 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4223 (test_program_cmd): This.
4224 * elf/Makefile ($(objpfx)order.out): Run test with
4225 $(test-program-prefix).
4226 ($(objpfx)order2.out): Likewise.
4227 ($(objpfx)tst-initorder.out): Likewise.
4228 ($(objpfx)tst-initorder2.out): Likewise.
4229 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4230 $(test-program-cmd).
4231 ($(objpfx)tst-array1-static.out): Likewise.
4232 ($(objpfx)tst-array2.out): Likewise.
4233 ($(objpfx)tst-array3.out): Likewise.
4234 ($(objpfx)tst-array4.out): Likewise.
4235 ($(objpfx)tst-array5.out): Likewise.
4236 ($(objpfx)tst-array5-static.out): Likewise.
4237 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4238 $(test-program-cmd).
4239 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4240 $(run-program-prefix) with $(test-program-prefix).
4241 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4242 (test_program_prefix): This.
4243 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4244 $(run-program-prefix) with $(test-program-prefix).
4245 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4246 (test_program_prefix): This.
4247 * iconvdata/tst-tables.sh: Likewise.
4248 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4249 $(run-program-prefix) with $(test-program-prefix).
4250 ($(objpfx)tst-translit.out): Likewise.
4251 ($(objpfx)tst-gettext2.out): Likewise.
4252 ($(objpfx)tst-gettext4.out): Likewise.
4253 ($(objpfx)tst-gettext6.out): Likewise.
4254 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4255 (test_program_prefix): This.
4256 * intl/tst-gettext2.sh: Likewise.
4257 * intl/tst-gettext4.sh Likewise.
4258 * intl/tst-gettext6.sh: Likewise.
4259 * intl/tst-translit.sh: Likewise.
4260 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4261 with $(test-program-cmd).
4262 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4263 $(run-program-prefix) with $(test-program-prefix).
4264 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4265 (test_program_prefix): This.
4266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4267 $(run-program-prefix) with $(test-program-prefix).
4268 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4269 (test_program_prefix): This.
4270 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4271 * posix/Makefile ($(objpfx)globtest.out): Replace
4272 $(run-via-rtld-prefix) and $(test-wrapper) with
4273 $(test-program-prefix) and $(test-via-rtld-prefix).
4274 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4275 $(test-program-prefix).
4276 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4277 $(host-test-program-cmd).
4278 (tst-spawn-ARGS): Likewise.
4279 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4280 $(test-program-prefix).
4281 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4282 (test_via_rtld_prefix): This.
4283 (test_wrapper): Renamed to ...
4284 (test_program_prefix): This.
4285 (run_program_prefix): Replaced by test_program_prefix.
4286 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4287 (test_program_prefix): This.
4288 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4289 with $(host-test-program-cmd).
4290 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4291 $(run-program-prefix) with $(test-program-prefix).
4292 ($(objpfx)tst-printf.out): Likewise.
4293 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4294 $(test-program-cmd).
4295 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4296 (test_program_prefix): This.
4297 * stdio-common/tst-unbputc.sh: Likewise.
4298 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4299 $(run-program-prefix) with $(test-program-prefix).
4300 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4301 (test_program_prefix): This.
4302 * string/Makefile ($(objpfx)tst-svc.out): Replace
4303 $(built-program-cmd) with $(test-program-cmd).
4305 2013-01-11 Andreas Jaeger <aj@suse.de>
4308 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4309 value. Sync with Linux 3.7.
4311 2013-01-10 David S. Miller <davem@davemloft.net>
4313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4317 2013-01-10 Roland McGrath <roland@hack.frob.com>
4319 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4321 * configure: Regenerated.
4323 2013-01-10 David S. Miller <davem@davemloft.net>
4325 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4326 sparc V9 rather than using V8 code.
4327 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4328 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4330 2013-01-10 Roland McGrath <roland@hack.frob.com>
4332 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4333 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4334 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4335 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4336 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4337 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4338 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4339 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4340 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4341 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4342 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4343 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4344 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4345 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4346 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4347 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4348 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4349 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4350 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4351 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4352 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4353 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4354 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4355 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4356 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4357 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4358 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4360 2013-01-10 David S. Miller <davem@davemloft.net>
4362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4364 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4366 * posix/Makefile (tests-static): New variable.
4367 (tests): Add $(tests-static).
4368 (tst-exec-static-ARGS): New variable.
4369 (tst-spawn-static-ARGS): Likewise.
4370 * posix/tst-exec-static.c: New file.
4371 * posix/tst-spawn-static.c: Likewise.
4372 * posix/tst-exec.c: Support run directly.
4373 * posix/tst-spawn.c: Likewise.
4375 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4377 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4379 * math/bits/mathcalls.h (llrint): Likewise.
4380 (llround): Likewise.
4381 * stdlib/stdlib.h (struct drand48_data): Likewise.
4382 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4383 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4386 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4388 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4389 (elf_greg_t): Likewise.
4390 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4391 (__jmp_buf): Likewise.
4392 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4394 (llrint): Likewise, for all definitions.
4395 (llrintl): Likewise.
4397 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4398 Remove [__GNUC__] condition.
4399 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4400 condition to just [__USE_ISOC99].
4401 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4403 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4406 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4407 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4409 (_POSIX_V6_ILP32_OFF32): Likewise.
4410 (_XBS5_ILP32_OFF32): Likewise.
4411 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4412 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4414 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4416 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4418 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4419 doubles __mpexp_twomm1. Adjust usage.
4420 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4423 2013-01-10 Andreas Schwab <schwab@suse.de>
4426 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4427 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4429 2013-01-09 David S. Miller <davem@davemloft.net>
4432 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4433 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4434 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4435 TCP_FASTOPEN): Define.
4436 (tcp_repair_opt): New structure.
4437 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4439 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4440 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4441 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4442 (tcp_cookie_transactions): New structure.
4444 2013-01-09 Anton Blanchard <anton@samba.org>
4446 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4447 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4449 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4451 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4453 * include/features.h (__USE_ANSI): Remove.
4455 2013-01-09 Roland McGrath <roland@hack.frob.com>
4457 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4459 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4461 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4463 * sysdeps/s390/fpu/libm-test-ulps: Update.
4465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4467 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4472 (__mp_dbl): Likewise.
4473 (__dbl_mp): Likewise.
4474 (add_magnitudes): Likewise.
4475 (sub_magnitudes): Likewise.
4481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4486 (__mp_dbl): Likewise.
4487 (__dbl_mp): Likewise.
4488 (add_magnitudes): Likewise.
4489 (sub_magnitudes): Likewise.
4495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4500 (__mp_dbl): Likewise.
4501 (__dbl_mp): Likewise.
4502 (add_magnitudes): Likewise.
4503 (sub_magnitudes): Likewise.
4510 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4512 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4513 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4514 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4515 2 && __USE_EXTERN_INLINES]: Likewise.
4517 2013-01-08 Andreas Jaeger <aj@suse.de>
4520 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4522 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4523 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4525 2013-01-07 Anton Blanchard <anton@samba.org>
4527 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4528 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4529 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4530 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4531 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4533 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4534 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4536 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4537 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4539 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4541 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4542 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4543 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4544 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4548 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4551 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4552 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4553 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4554 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4555 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4556 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4557 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4559 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4561 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4563 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4567 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4569 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4571 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4573 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4574 (__MALLOC_PMT): Likewise.
4575 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4576 [__GNUC__], only on [_LIBC].
4577 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4578 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4579 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4580 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4581 forward declaration.
4582 (realloc_hook_ini): Likewise.
4583 (memalign_hook_ini): Likewise.
4584 (__libc_memalign): Do not use __MALLOC_PMT in variable
4586 (__libc_valloc): Likewise.
4587 (__libc_pvalloc): Likewise.
4588 (__libc_calloc): Likewise.
4589 (__posix_memalign): Likewise.
4592 * math/s_casinh.c: Include <float.h>.
4593 (__casinh): Do not do computation with squaring and square root
4594 for large arguments.
4595 * math/s_casinhf.c: Include <float.h>.
4596 (__casinhf): Do not do computation with squaring and square root
4597 for large arguments.
4598 * math/s_casinhl.c: Include <float.h>.
4599 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4600 (__casinhl): Do not do computation with squaring and square root
4601 for large arguments.
4602 * math/libm-test.inc (casin_test): Add more tests.
4603 (casinh_test): Likewise.
4604 * sysdeps/i386/fpu/libm-test-ulps: Update.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4607 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4609 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4610 (__x86_64_raw_data_cache_size): Likewise.
4611 (__x86_64_data_cache_size_half): Likewise.
4612 (__x86_64_raw_data_cache_size_half): Likewise.
4613 (__x86_64_shared_cache_size): Likewise.
4614 (__x86_64_raw_shared_cache_size): Likewise.
4615 (__x86_64_shared_cache_size_half): Likewise.
4616 (__x86_64_raw_shared_cache_size_half): Likewise.
4617 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4619 (__x86_data_cache_size): This.
4620 (__x86_64_raw_data_cache_size): Renamed to ...
4621 (__x86_raw_data_cache_size): This.
4622 (__x86_64_data_cache_size_half): Renamed to ...
4623 (__x86_data_cache_size_half): This.
4624 (__x86_64_raw_data_cache_size_half): Renamed to ...
4625 (__x86_raw_data_cache_size_half): This.
4626 (__x86_64_shared_cache_size): Renamed to ...
4627 (__x86_shared_cache_size): This.
4628 (__x86_64_raw_shared_cache_size): Renamed to ...
4629 (__x86_raw_shared_cache_size): This.
4630 (__x86_64_shared_cache_size_half): Renamed to ...
4631 (__x86_shared_cache_size_half): This.
4632 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4633 (__x86_raw_shared_cache_size_half): This.
4634 * sysdeps/x86_64/memcpy.S: Updated.
4635 * sysdeps/x86_64/memset.S: Likewise.
4636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4640 2013-01-04 David S. Miller <davem@davemloft.net>
4642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4644 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4646 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4647 1 to avoid redefinition warning.
4648 (__USE_GNU): Don't define.
4649 (init_signaling_nan): Protoize.
4651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4653 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4655 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4657 (__cpymn): Likewise.
4658 (norm): Remove commented code.
4660 (__mp_dbl): Likewise.
4662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4663 (__cpymn): Likewise.
4664 (norm): Remove commented code.
4666 (__mp_dbl): Likewise.
4669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4670 mp_no value for 1.0 and 2.0.
4671 (norm): Use RADIXI instead of radixi.d.
4673 (__mul): Use 0.0 instead of zero.d.
4674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4675 mp_no value for 1.0 and 2.0.
4676 (norm): Use RADIXI instead of radixi.d.
4678 (__mul): Use 0.0 instead of zero.d.
4680 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4683 * math/s_casinh.c (__casinh): Reduce finite argument to first
4684 quadrant then set signs of results at the end.
4685 * math/s_casinhf.c (__casinhf): Likewise.
4686 * math/s_casinhl.c (__casinhl): Likewise.
4687 * math/libm-test.inc (casin_test): Add more tests.
4688 (casinh_test): Likewise.
4689 * sysdeps/i386/fpu/libm-test-ulps: Update.
4690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4692 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4694 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4696 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4698 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4701 (__mp_dbl): Likewise.
4704 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4705 and adjust the header comment.
4707 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4708 variable name from declaration.
4710 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4713 Initialize COMMON_CPUID_INDEX_7 element.
4714 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4715 (CPUID_RTM): Likewise.
4716 (HAS_RTM): Likewise.
4717 (COMMON_CPUID_INDEX_7): New enum.
4719 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4722 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4723 size is zero, record memory as freed.
4725 2013-01-03 Andreas Jaeger <aj@suse.de>
4727 * po/ia.po: Add new Interlingua translation.
4729 2012-01-03 Allan McRae <allan@archlinux.org>
4731 * locale/programs/localedef.c: Fix description of '--posix' flag.
4733 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4735 * NEWS: Update dates in second copyright notice.
4736 * README: Update copyright dates in example.
4737 * manual/libc.texinfo: Update copyright dates.
4738 * scripts/test-installation.pl: Update copyright date in --version
4741 * hurd/ctty-input.c: Fix copyright notice formatting.
4742 * hurd/ctty-output.c: Likewise.
4743 * hurd/dtable.c: Likewise.
4744 * hurd/hurd-raise.c: Likewise.
4745 * hurd/hurdprio.c: Likewise.
4746 * hurd/msgportdemux.c: Likewise.
4747 * misc/sys/file.h: Likewise.
4748 * misc/sys/ioctl.h: Likewise.
4749 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4750 * sysdeps/mach/hurd/chdir.c: Likewise.
4751 * sysdeps/mach/hurd/fchdir.c: Likewise.
4752 * sysdeps/mach/hurd/rename.c: Likewise.
4753 * sysdeps/mach/hurd/rmdir.c: Likewise.
4754 * sysdeps/mach/hurd/seekdir.c: Likewise.
4755 * sysdeps/mach/hurd/setsid.c: Likewise.
4756 * sysdeps/posix/wait3.c: Likewise.
4758 * All files with FSF copyright notices: Update copyright dates
4759 using scripts/update-copyrights.
4760 * intl/plural.c: Regenerated.
4761 * locale/programs/charmap-kw.h: Likewise.
4762 * locale/programs/locfile-kw.h: Likewise.
4764 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4766 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4769 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4770 calculation loop and add branch prediction.
4772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4773 check access beyond bounds of m1np.
4775 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4777 (__inv): Remove local variable MPTWO to use the global
4779 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4782 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4783 MP3HALFS static const.
4785 2013-01-01 David S. Miller <davem@davemloft.net>
4787 * po/ca.po: Update from translation team.
4789 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4791 * scripts/update-copyrights: New file.
4792 * Makeconfig: Reformat copyright notice.
4793 * ctype/ctype.h: Likewise.
4794 * debug/swprintf_chk.c: Likewise.
4795 * elf/dl-cache.c: Likewise.
4796 * elf/dl-debug.c: Likewise.
4797 * elf/dl-object.c: Likewise.
4798 * grp/initgroups.c: Likewise.
4799 * hurd/Makefile: Likewise.
4800 * hurd/hurd/signal.h: Likewise.
4801 * hurd/hurdfault.c: Likewise.
4802 * hurd/hurdioctl.c: Likewise.
4803 * hurd/hurdlookup.c: Likewise.
4804 * hurd/intr-msg.c: Likewise.
4805 * iconv/gconv_open.c: Likewise.
4806 * libio/swprintf.c: Likewise.
4807 * locale/lc-ctype.c: Likewise.
4808 * locale/nl_langinfo.c: Likewise.
4809 * mach/Machrules: Likewise.
4810 * mach/Makefile: Likewise.
4811 * malloc/obstack.h: Likewise.
4812 * manual/Makefile: Likewise.
4813 * manual/tsort.awk: Likewise.
4814 * misc/bits/stab.def: Likewise.
4815 * nis/nis_print_group_entry.c: Likewise.
4816 * nis/nis_table.c: Likewise.
4817 * nis/nss_compat/compat-pwd.c: Likewise.
4818 * nis/nss_compat/compat-spwd.c: Likewise.
4819 * po/Makefile: Likewise.
4820 * posix/fnmatch.c: Likewise.
4821 * posix/regex.h: Likewise.
4822 * resolv/Makefile: Likewise.
4823 * resolv/nss_dns/dns-network.c: Likewise.
4824 * resolv/res_hconf.c: Likewise.
4825 * scripts/gen-sorted.awk: Likewise.
4826 * soft-fp/soft-fp.h: Likewise.
4827 * stdio-common/printf.h: Likewise.
4828 * stdlib/monetary.h: Likewise.
4829 * stdlib/random.c: Likewise.
4830 * stdlib/random_r.c: Likewise.
4831 * sysdeps/generic/Makefile: Likewise.
4832 * sysdeps/gnu/Makefile: Likewise.
4833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4847 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4849 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4861 * sysdeps/mach/hurd/errnos.awk: Likewise.
4862 * sysdeps/mach/hurd/fork.c: Likewise.
4863 * sysdeps/mach/hurd/getcwd.c: Likewise.
4864 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4865 * sysdeps/mach/hurd/mmap.c: Likewise.
4866 * sysdeps/mach/hurd/utimes.c: Likewise.
4867 * sysdeps/mach/hurd/xmknod.c: Likewise.
4868 * sysdeps/posix/profil.c: Likewise.
4869 * sysdeps/posix/readdir_r.c: Likewise.
4870 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4871 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4872 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4873 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4877 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4879 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4880 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4881 * sysdeps/pthread/lio_listio.c: Likewise.
4882 * sysdeps/sparc/dl-procinfo.h: Likewise.
4883 * sysdeps/unix/i386/sysdep.S: Likewise.
4884 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4885 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4886 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4887 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4889 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4890 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4891 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4892 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4893 * sysdeps/wordsize-32/divdi3.c: Likewise.
4894 * time/sys/time.h: Likewise.
4895 * wcsmbs/Makefile: Likewise.
4897 2013-01-01 David S. Miller <davem@davemloft.net>
4899 * po/fr.po: Update from translation team.
4901 * catgets/gencat.c: Update copyright year.
4902 * csu/version.c: Likewise.
4903 * debug/catchsegv.sh: Likewise.
4904 * debug/pcprofiledump.c: Likewise.
4905 * debug/xtrace.sh: Likewise.
4906 * elf/ldconfig.c: Likewise.
4907 * elf/ldd.bash.in: Likewise.
4908 * elf/pldd.c: Likewise.
4909 * elf/sotruss.ksh: Likewise.
4910 * elf/sprof.c: Likewise.
4911 * iconv/iconv_prog.c: Likewise.
4912 * iconv/iconvconfig.c: Likewise.
4913 * locale/programs/locale.c: Likewise.
4914 * locale/programs/localedef.c: Likewise.
4915 * login/programs/pt_chown.c: Likewise.
4916 * malloc/memusage.sh: Likewise.
4917 * malloc/memusagestat.c: Likewise.
4918 * malloc/mtrace.pl: Likewise.
4919 * nscd/nscd.c: Likewise.
4920 * nss/getent.c: Likewise.
4921 * nss/makedb.c: Likewise.
4922 * posix/getconf.c: Likewise.
4924 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4926 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4929 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4931 * math/bits/mathcalls.h (modf): Use __nonnull.
4933 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4935 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4936 (split): Use macro CN instead of the bare value.
4937 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4940 instead of the bare value.
4943 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4947 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4949 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4951 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4952 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4953 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4954 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4956 2012-12-28 Andreas Jaeger <aj@suse.de>
4958 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4959 values are from Linux 3.7.
4961 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4962 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4964 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4966 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4969 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4971 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4972 variables with preprocessor constants.
4973 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4974 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4975 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4977 2012-12-27 Bruno Haible <bruno@clisp.org>
4980 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4983 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4986 and use variable directly.
4987 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4989 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4991 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4994 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4996 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4997 include directive. Remove local variable MPONE.
4998 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4999 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5002 2012-12-25 David S. Miller <davem@davemloft.net>
5004 * version.h (RELEASE): Set to "development".
5005 (VERSION): Set to "2.17.90".
5006 * NEWS: Add 2.18 section.
5008 2012-12-21 David S. Miller <davem@davemloft.net>
5010 * po/hr.po: Update from translation team.
5012 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5014 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5016 2012-12-19 Steve Ellcey <sellcey@mips.com>
5018 * NEWS: Mention new memcpy for MIPS.
5020 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5022 * manual/contrib.texi (Contributors): Spelling correction.
5024 2012-12-15 David S. Miller <davem@davemloft.net>
5026 * po/ru.po: Update from translation team.
5028 2012-12-13 David S. Miller <davem@davemloft.net>
5030 * NEWS: Mention IFUNC testsuite enhancements.
5032 * po/pl.po: Update from translation team.
5033 * po/bg.po: Likewise.
5035 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5036 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5038 2012-12-11 David S. Miller <davem@davemloft.net>
5040 * po/sv.po: Update from translation team.
5042 * po/vi.po: Update from translation team.
5044 * po/cs.po: Update from translation team.
5046 * po/de.po: Update from translation team.
5047 * po/eo.po: Likewise.
5048 * po/nl.po: Likewise.
5050 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5053 * manual/argp.texi (Argp Helper Functions): Move node to follow
5057 * manual/conf.texi (Limits on File System Capacity): Mention if
5058 terminating null is included in the max size.
5060 2012-12-10 Andreas Jaeger <aj@suse.de>
5062 * po/cs.po: Update from translation team.
5064 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5066 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5067 void pointer and cast to uintptr_t.
5068 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5070 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5071 * sysdeps/s390/s390-64/memset.S: Likewise.
5073 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5076 * menual/message.texi (Message Translation): Fix typos.
5077 (Helper programs for gettext): Likewise.
5079 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5082 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5085 2012-12-07 David S. Miller <davem@davemloft.net>
5087 * po/libc.pot: Update.
5089 2012-12-07 Richard Henderson <rth@redhat.com>
5092 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5093 normal/normal case to before the switch.
5094 (_FP_DIV): Likewise.
5096 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5097 Mike Frysinger <vapier@gentoo.org>
5099 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5100 check for __NR_fadvise64_64.
5102 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5104 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5105 0, not just to plain "0" as a statement.
5106 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5109 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5111 * NEWS: Use sourceware.org in Bugzilla URL.
5113 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5116 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5118 * stdio-common/tst-put-error.c (do_test): Add newline to the
5119 padded test to ensure flush.
5121 2012-12-05 Jeff Law <law@redhat.com>
5123 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5125 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5127 * README: Don't refer to ports add-on as distributed separately.
5128 Mention AArch64 in list of systems supported in the ports add-on.
5130 * LICENSES: Add more non-FSF copyright and license notices.
5132 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5137 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5138 10000 as width of padded output.
5140 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5144 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5145 variable LX with __attribute__ ((unused)).
5146 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5148 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5150 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5151 with __attribute__ ((unused)).
5153 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5155 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5157 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5160 (CFLAGS-nldbl-acos.c): New variable.
5161 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5162 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5163 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5164 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5165 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5166 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5167 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5168 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5169 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5170 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5171 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5172 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5173 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5174 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5175 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5176 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5177 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5178 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5179 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5180 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5181 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5182 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5183 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5184 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5185 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5186 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5187 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5211 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5212 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5213 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5214 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5215 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5216 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5217 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5218 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5219 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5220 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5221 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5222 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5223 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5224 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5225 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5234 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5235 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5236 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5237 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5238 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5239 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5240 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5241 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5242 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5243 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5244 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5245 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5246 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5247 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5248 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5249 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5250 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5251 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5252 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5253 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5254 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5255 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5256 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5257 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5260 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5264 whole low double instead of just low 47 bits when splitting values
5267 2012-12-03 Allan McRae <allan@archlinux.org>
5269 * manual/stdio.texi (Predefined Printf Handlers): Remove
5270 @hsep and @vsep usage.
5272 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5274 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5275 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5277 2012-12-03 Jeff Law <law@redhat.com>
5279 * time/sys/time.h (settimeofday): Do not mark TV argument
5282 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5284 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5285 when currently writing and seek to current position when not.
5286 * libio/Makefile (tests): Remove bug-fclose1.
5287 * libio/bug-fclose1.c: Delete.
5289 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5291 * manual/arith.texi (feenableexcept): Fix typo.
5292 (fedisableexcept): Likewise.
5294 2012-11-30 Roland McGrath <roland@hack.frob.com>
5296 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5297 second, differently-typed declaration, rather than a cast.
5299 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5301 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5302 * include/rpc/svc.h: ... here.
5304 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5307 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5308 depending n and resplen2 to catch cases where answer
5311 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5313 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5314 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5316 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5320 2012-11-29 Roland McGrath <roland@hack.frob.com>
5322 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5324 2012-11-28 Jeff Law <law@redhat.com>
5327 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5328 dataset_temporary. Track alloca usage into alloca_used.
5329 If dataset is large allocate and release it via malloc/free.
5331 2012-06-04 Florian Weimer <fweimer@redhat.com>
5334 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5336 2012-11-28 David S. Miller <davem@davemloft.net>
5338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5340 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5343 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5344 of pi/2 rounded to nearest to 64 bits.
5345 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5347 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5350 2012-11-28 Jeff Law <law@redhat.com>
5351 Martin Osvald <mosvald@redhat.com>
5354 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5355 * sunrpc/svc.c: Include time.h.
5356 (__svc_accept_failed): New function.
5357 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5358 any reason other than EINTR, call __svc_accept_failed.
5359 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5360 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5362 2012-11-28 Andreas Schwab <schwab@suse.de>
5364 * scripts/abilist.awk: Also handle indirect functions in .opd
5367 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5370 * sysdeps/x86/fpu/powl_helper.c: New file.
5371 * sysdeps/x86/fpu/Makefile: Likewise.
5372 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5374 (__ieee754_powl): Use __powl_helper for finite arguments except
5375 integer exponents below 8.
5376 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5378 (__ieee754_powl): Use __powl_helper for finite arguments except
5379 integer exponents below 8.
5380 * math/libm-test.inc (pow_test): Add more tests and enable some
5381 previously disabled tests.
5382 * sysdeps/i386/fpu/libm-test-ulps: Update.
5383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5385 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5386 Carlos O'Donell <carlos_odonell@mentor.com>
5388 * nss/makedb.c (is_prime): Assert that input is odd and greater
5389 than 4. Note that fact in a comment too.
5390 (next_prime): Add 4 to input.
5392 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5395 * libio/Makefile (tests): Add test case tst-fwrite-error.
5396 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5397 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5398 * libio/tst-fwrite-error.c: New test case.
5400 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5402 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5403 before casting to void *.
5404 * include/libc-internal.h (__pointer_type): New macro.
5405 (__integer_if_pointer_type_sub): Likewise.
5406 (__integer_if_pointer_type): Likewise.
5407 (cast_to_integer): Likewise.
5408 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5409 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5410 before casting to atomic64_t.
5411 (atomic_exchange_acq): Likewise.
5412 (__arch_exchange_and_add_body): Likewise.
5413 (__arch_add_body): Likewise.
5414 (atomic_add_negative): Likewise.
5415 (atomic_add_zero): Likewise.
5417 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5419 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5420 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5421 (add_fdes): Likewise.
5422 (linear_search_fdes): Likewise.
5423 (binary_search_unencoded_fdes): Likewise.
5425 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5427 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5429 2012-11-24 Adam Conrad <adconrad@0c3.net>
5431 * configure.in: Autodetect C++ header directories.
5432 * configure: Regenerated.
5434 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5436 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5438 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5442 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5444 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5445 LDBL_MANT_DIG == 106]: Disable some tests.
5446 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5448 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5452 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5453 input for small inputs. Return +/- pi/2 for large inputs.
5454 * math/libm-test.inc (atan_test): Add more tests.
5456 * sysdeps/generic/unwind-dw2-fde-glibc.c
5457 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5458 __attribute__ ((unused)).
5461 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5462 x * y if x and y are nonzero and z is zero.
5465 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5466 nonzero exponents with absolute value below 0x1p-117 to +/-
5470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5471 up arguments below 2**-450, not just those below 2**-500.
5472 * math/libm-test.inc (hypot_test): Add another test.
5475 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5476 Return a+b for ratio over 2**120, not 2**60.
5477 * math/libm-test.inc (hypot_test): Add another test.
5479 * math/libm-test.inc (clog_test): Use
5480 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5481 (clog10_test): Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5486 2012-11-22 Andreas Schwab <schwab@suse.de>
5488 * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5492 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5493 printf output with newline.
5495 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5498 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5499 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5500 -z nodlopen, -z initfirst and -z execstack support.
5501 * configure: Regenerated.
5503 * elf/elf.h (DF_1_NODIRECT): New macro.
5504 (DF_1_IGNMULDEF): Likewise.
5505 (DF_1_NOKSYMS): Likewise.
5506 (DF_1_NOHDR): Likewise.
5507 (DF_1_EDITED): Likewise.
5508 (DF_1_NORELOC): Likewise.
5509 (DF_1_SYMINTPOSE): Likewise.
5510 (DF_1_GLOBAUDIT): Likewise.
5511 (DF_1_SINGLETON): Likewise.
5512 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5513 DT_1_SUPPORTED_MASK bits.
5514 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5516 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5518 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5520 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5522 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5525 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5526 (sendmmsg): Move declarations...
5527 * socket/sys/socket.h: ... here.
5528 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5529 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5531 * socket/recvmmsg.c: ... this new file.
5532 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5533 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5534 definition of __sendmmsg hidden.
5535 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5536 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5537 Move ENOSYS stub into and include it from...
5538 * socket/sendmmsg.c: ... this new file.
5539 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5540 (sysdep_routines): Move recvmmsg and sendmmsg...
5541 * socket/Makefile (routines): ... here.
5542 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5543 (GLIBC_PRIVATE): Add __sendmmsg.
5544 * include/sys/socket.h (__sendmmsg): Add declarations.
5545 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5548 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5551 variable I1 with __attribute__ ((unused)).
5552 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5554 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5556 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5557 DUMMY variables with __attribute__ ((unused)).
5559 * bits/byteswap.h: Include <bits/types.h>.
5560 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5562 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5564 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5565 string_t. Do not manually set errno.
5566 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5567 length with __strnlen. Make sure to both set errno and return it on
5570 2012-11-19 David S. Miller <davem@davemloft.net>
5572 With help from Joseph Myers.
5573 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5574 very large arguments properly.
5575 * math/libm-test.inc (atan_test): New tests.
5576 (atan2_test): New tests.
5577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5580 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5583 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5586 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5587 [POSIX] (EADDRNOTAVAIL): Likewise.
5588 [POSIX] (EAFNOSUPPORT): Likewise.
5589 [POSIX] (EALREADY): Likewise.
5590 [POSIX] (ECONNABORTED): Likewise.
5591 [POSIX] (ECONNREFUSED): Likewise.
5592 [POSIX] (ECONNRESET): Likewise.
5593 [POSIX] (EDESTADDRREQ): Likewise.
5594 [POSIX] (EDQUOT): Likewise.
5595 [POSIX] (EHOSTUNREACH): Likewise.
5596 [POSIX] (EIDRM): Likewise.
5597 [POSIX] (EISCONN): Likewise.
5598 [POSIX] (ELOOP): Likewise.
5599 [POSIX] (EMULTIHOP): Likewise.
5600 [POSIX] (ENETDOWN): Likewise.
5601 [POSIX] (ENETUNREACH): Likewise.
5602 [POSIX] (ENOBUFS): Likewise.
5603 [POSIX] (ENODATA): Likewise.
5604 [POSIX] (ENOLINK): Likewise.
5605 [POSIX] (ENOMSG): Likewise.
5606 [POSIX] (ENOPROTOOPT): Likewise.
5607 [POSIX] (ENOSR): Likewise.
5608 [POSIX] (ENOSTR): Likewise.
5609 [POSIX] (ENOTCONN): Likewise.
5610 [POSIX] (ENOTSOCK): Likewise.
5611 [POSIX] (EOPNOTSUPP): Likewise.
5612 [POSIX] (EOVERFLOW): Likewise.
5613 [POSIX] (EPROTO): Likewise.
5614 [POSIX] (EPROTONOSUPPORT): Likewise.
5615 [POSIX] (EPROTOTYPE): Likewise.
5616 [POSIX] (ESTALE): Likewise.
5617 [POSIX] (ETIME): Likewise.
5618 [POSIX] (ETXTBSY): Likewise.
5619 [POSIX] (EWOULDBLOCK): Likewise.
5620 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5621 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5622 [POSIX] (SEEK_CUR): Likewise.
5623 [POSIX] (SEEK_END): Likewise.
5624 [POSIX || UNIX98] (mode_t): Do not require.
5625 [POSIX] (off_t): Likewise.
5626 [POSIX] (pid_t): Likewise.
5627 [POSIX] (sys/stat.h): Do not allow header.
5628 [POSIX] (unistd.h): Likewise.
5629 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5630 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5631 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5632 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5634 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5635 sigevent): Specify elements.
5636 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5638 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5639 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5641 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5642 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5643 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5644 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5645 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5646 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5647 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5648 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5649 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5650 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5651 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5652 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5653 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5654 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5656 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5658 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5660 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5662 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5663 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5664 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5665 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5666 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5667 Specify lower bound on value.
5668 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5671 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5672 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5674 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5675 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5677 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5679 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5696 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5698 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5705 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5710 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5711 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5713 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5717 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5718 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5719 specify as optional.
5720 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5723 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5724 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5725 [XPG3] (NL_LANGMAX): Likewise.
5726 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5727 [POSIX || XPG3] (NL_NMAX): Likewise.
5728 [POSIX || XPG3] (NL_SETMAX): Likewise.
5729 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5730 [XPG3] (NZERO): Likewise.
5731 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5732 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5733 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5734 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5735 (REG_ERANGE): Expect.
5736 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5738 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5739 Use (void) in prototype.
5740 [POSIX] (*_t): Allow.
5741 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5742 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5743 (WRDE_BADVAL): Expect.
5745 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5747 [XPG3 || XPG4] (O_RSYNC): Likewise.
5748 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5750 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5751 [XPG3 || XPG4] (sigqueue): Likewise.
5752 [XPG3 || XPG4] (sigtimedwait): Likewise.
5753 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5754 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5755 [XPG3 || XPG4] (vsnprintf): Likewise.
5756 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5758 [XPG3 || XPG4] (blksize_t): Likewise.
5759 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5761 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5762 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5763 [XPG3 || XPG4] (struct itimerspec): Likewise.
5764 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5765 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5766 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5767 [XPG3 || XPG4] (clockid_t): Likewise.
5768 [XPG3 || XPG4] (timer_t): Likewise.
5769 [XPG3 || XPG4] (clock_getres): Likewise.
5770 [XPG3 || XPG4] (clock_gettime): Likewise.
5771 [XPG3 || XPG4] (clock_settime): Likewise.
5772 [XPG3 || XPG4] (nanosleep): Likewise.
5773 [XPG3 || XPG4] (timer_create): Likewise.
5774 [XPG3 || XPG4] (timer_delete): Likewise.
5775 [XPG3 || XPG4] (timer_gettime): Likewise.
5776 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5777 [XPG3 || XPG4] (timer_settime): Likewise.
5778 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5779 [XPG3 || XPG4] (getlogin_r): Likewise.
5780 [XPG3 || XPG4] (pread): Likewise.
5781 [XPG3 || XPG4] (pthread_atfork): Likewise.
5782 [XPG3 || XPG4] (pwrite): Likewise.
5785 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5788 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5790 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5791 finalizing MALLSTREAM.
5793 * sysdeps/mach/hurd/syncfs.c: New file.
5795 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5798 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5799 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5800 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5801 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5802 (_nss_dns_gethostbyname4_r): Likewise.
5803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5804 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5806 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5809 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5811 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5813 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5814 * elf/cache.c (print_entry): Print ",AArch64" for
5817 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5818 * elf/cache.c (print_entry): Print ",hard-float" for
5821 2012-11-18 David S. Miller <davem@davemloft.net>
5823 With help from Joseph Myers.
5824 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5826 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5828 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5829 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5831 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5832 * math/libm-test.inc (y0_test): New tests.
5833 (y1_test): New tests.
5834 * sysdeps/i386/fpu/libm-test-ulps: Update.
5835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5838 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5840 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5842 * configure: Regenerated.
5844 2012-11-17 David S. Miller <davem@davemloft.net>
5847 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5848 nonzero exponents with absolute value below 0x1p-128 to +/-
5851 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5855 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5857 * posix/getconf-speclist.c: New file.
5858 * posix/posix-envs.def: Likewise.
5859 * posix/confstr.c (START_ENV_GROUP): New macro.
5860 (END_ENV_GROUP): Likewise.
5861 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5862 (KNOWN_PRESENT_ENV_STRING): Likewise.
5863 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5864 (UNKNOWN_ENVIRONMENT): Likewise.
5865 (confstr): Include posix-envs.def instead of handling
5866 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5867 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5868 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5869 (END_ENV_GROUP): Likewise.
5870 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5871 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5872 (UNKNOWN_ENVIRONMENT): Likewise.
5873 (__sysconf): Include posix-envs.def instead of handling associated
5874 cases directly here.
5875 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5876 preprocessing getconf-speclist.c rather than running getconf or
5877 generating empty file.
5879 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5881 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5883 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5886 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5888 2012-11-16 David S. Miller <davem@davemloft.net>
5890 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5891 smaller than LDBL_EPSILON/2.0L, just return xm1.
5893 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5895 * elf/tst-array1.c (init): Set constructor priority to 1000.
5896 (fini): Set destructor priority to 1000.
5897 * elf/tst-array2dep.c: Likewise.
5899 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5902 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5903 (_IO_new_file_xsputn): Also return EOF if none of the input
5904 data was written when overflow failed.
5905 * libio/iopadn.c (_IO_padn): Likewise.
5906 * libio/iowpadn.c (_IO_wpadn): Likewise.
5907 * stdio-common/tst-put-error.c: Add copyright notice.
5908 (do_test): Add case for printing padded string.
5909 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5910 _IO_padn returned error.
5911 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5912 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5915 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5917 * libio/libioP.h: Add comment note that the references to C++
5918 bits are now obsolete.
5920 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5922 * math/libm-test.inc (check_complex): Use asprintf.
5924 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5926 * debug/pcprofiledump.c (print_version): Update copyright year.
5927 * malloc/memusagestat.c (print_version): Likewise.
5929 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5932 * elf/Makefile (tests): Add tst-audit8.
5933 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5934 ($(objpfx)tst-audit8.out): New target.
5935 (tst-audit8-ENV): New variable.
5936 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5937 audit if l_reloc_result is NULL.
5938 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5939 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5940 * elf/tst-audit8.c: New file.
5942 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5944 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5945 * misc/Makefile (CFLAGS-select.c): Define.
5946 * posix/Makefile (CFLAGS-pause.c): Define.
5948 2012-11-13 David S. Miller <davem@davemloft.net>
5950 * crypt/Makefile: Move test targets after toplevel Rules
5951 inclusion. Grab any necessary sysdep routines when linking.
5952 * crypt/md5.c (md5_process_block): Remove define, we will always
5953 name it __md5_process_block.
5954 (md5_finish_ctx): Update md5_process_block call.
5955 (md5_stream): Likewise.
5956 (md5_process_bytes): Likewise.
5957 (md5_process_block): Rename to __md5_process_block and move to ...
5958 * crypt/md5-block.c: ... here.
5959 * crypt/sha256.c (sha256_process_block): Move to ...
5960 * crypt/sha256-block.c: ... here.
5961 * crypt/sha512.c (sha512_process_block): Move to ...
5962 * crypt/sha512-block.c: ... here.
5963 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5965 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5966 * sysdeps/sparc/sparc64/multiarch/Makefile
5967 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5969 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5970 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5972 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5973 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5974 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5975 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5976 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5977 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5978 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5979 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5980 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5982 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5983 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5985 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5987 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5989 * timezone/tzselect.ksh: Update from tzcode git revision
5990 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5991 * timezone/zdump.c: Likewise.
5992 * timezone/zic.c: Likewise.
5993 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5994 in TZVERSION setting, not $(PKGVERSION).
5995 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5996 REPORT_BUGS_TO settings.
5999 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6002 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6004 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6005 detection to immediately after _FP_ROUND().
6006 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6009 2012-11-11 David S. Miller <davem@davemloft.net>
6011 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6013 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6014 __close rather than their public counterparts.
6016 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6018 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6020 [UNIX98] (sem_timedwait): Do not expect.
6021 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6022 [XPG4 || UNIX98] (sockatmark): Do not expect.
6023 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6024 (clock_getcpuclockid): Do not expect.
6025 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6026 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6028 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6029 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6030 [UNIX98] (vwscanf): Likewise.
6031 [UNIX98] (vswscanf): Likewise.
6033 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6035 * timezone/version.h: Remove file.
6036 * timezone/README: Do not refer to version.h.
6037 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6039 ($(objpfx)zdump.o): Likewise.
6040 ($(objpfx)version.h): New target.
6042 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6044 * timezone/README: Don't mention modification to tzselect.ksh.
6045 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6046 work on unmodified tzselect.ksh. Substitute version numbers in
6049 * Makefile (format-me): Remove.
6050 (INSTALL): Adjust indentation. Use commands directly instead of
6053 * aclocal.m4 (ACX_PKGVERSION): New macro.
6054 (ACX_BUGURL): Likewise.
6055 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6056 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6057 (REPORT_BUGS_TO): Likewise.
6058 * configure: Regenerated.
6059 * config.h.in (PKGVERSION): New macro.
6060 (REPORT_BUGS_TO): Likewise.
6061 * config.make.in (PKGVERSION): New variable.
6062 (PKGVERSION_TEXI): Likewise.
6063 (REPORT_BUGS_TO): Likewise.
6064 (REPORT_BUGS_TEXI): Likewise.
6065 * Makefile (format-me): Use -I$(common-objpfx)manual.
6066 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6067 ($(common-objpfx)manual/%): New target.
6068 (manual/%): Remove target.
6069 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6070 (print_version): Use PKGVERSION.
6071 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6072 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6074 ($(objpfx)xtrace): Likewise.
6075 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6076 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6077 (print_version): Use PKGVERSION.
6078 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6079 (do_version): Use PKGVERSION.
6080 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6082 (common-ldd-rewrite): Likewise.
6083 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6084 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6085 (print_version): Use PKGVERSION.
6086 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6087 * elf/pldd.c (argp_program_bug_address): Remove variable.
6088 (more_help): New function.
6089 (argp): Use more_help.
6090 (print_version): Use PKGVERSION.
6091 * elf/sln.c (main): Use PKGVERSION.
6092 (usage): Use REPORT_BUGS_TO.
6093 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6094 (top level): Use PKGVERSION.
6095 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6096 (print_version): Use PKGVERSION.
6097 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6098 (print_version): Use PKGVERSION.
6099 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6100 (print_version): Use PKGVERSION.
6101 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6102 (print_version): Use PKGVERSION.
6103 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6104 (print_version): Use PKGVERSION.
6105 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6106 (print_version): Use PKGVERSION.
6107 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6109 ($(objpfx)memusage): Likewise.
6110 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6111 (do_version): Use PKGVERSION.
6112 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6113 (print_version): Use PKGVERSION.
6114 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6115 ($PKGVERSION): New variable.
6116 ($REPORT_BUGS_TO): Likewise.
6117 (usage): Use $REPORT_BUGS_TO.
6118 (top level): Use $PKGVERSION.
6119 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6120 ($(objpfx)pkgvers.texi): New rule.
6121 ($(objpfx)stamp-pkgvers): Likewise.
6122 * manual/install.texi: Include pkgvers.texi.
6123 (--with-pkgversion): Document new configure option.
6124 (--with-bugurl): Likewise.
6125 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6126 than necessarily for this particular distribution. Use
6127 REPORT_BUGS_TO for where to report bugs.
6128 * INSTALL: Regenerated.
6129 * manual/libc.texinfo: Include pkgvers.texi.
6130 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6131 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6132 (print_version): Use PKGVERSION.
6133 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6134 (print_version): Use PKGVERSION.
6135 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6136 (print_version): Use PKGVERSION.
6137 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6138 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6140 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6141 (print_version): Use PKGVERSION.
6142 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6143 (print_version): Use PKGVERSION.
6144 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6147 * timezone/checktab.awk: Update from tzcode 2012i.
6148 * timezone/ialloc.c: Likewise.
6149 * timezone/private.h: Likewise.
6150 * timezone/scheck.c: Likewise.
6151 * timezone/tzfile.h: Likewise.
6152 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6153 (TZVERSION): Hardcode tzcode version number.
6154 * timezone/zdump.c: Update from tzcode 2012i.
6155 * timezone/zic.c: Likewise.
6156 * timezone/version.h: New file.
6157 * timezone/README: Describe version.h. Update upstream location.
6160 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6161 (mktemp): Enable declaration.
6162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6179 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6180 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6181 for copies of such integer values.
6182 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6183 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6185 2012-11-09 Andreas Jaeger <aj@suse.de>
6187 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6188 definitions and declarations that are provided by
6189 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6191 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6193 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6194 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6195 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6198 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6200 * elf/elf.h: Update comment before AArch64 relocations.
6202 2012-11-07 David S. Miller <davem@davemloft.net>
6204 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6205 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6206 (__start_context): Declare.
6207 (__makecontext_ret): Delete.
6208 (__makecontext): Hook up __start_context instead of
6210 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6211 (sysdep_routines): Add __start_context when in stdlib.
6213 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6215 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6216 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6217 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6219 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6220 (READELF): New variable. Use it instead of hardcoded "readelf".
6222 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6224 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6225 * sysdeps/x86/Makefile: Here.
6226 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6227 * sysdeps/x86/tst-xmmymm.sh: This.
6229 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6231 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6233 [UNIX98] (pthread_barrier_t): Do not expect.
6234 [UNIX98] (pthread_barrierattr_t): Likewise.
6235 [UNIX98] (pthread_spinlock_t): Likewise.
6236 [UNIX98] (pthread_barrier_destroy): Likewise.
6237 [UNIX98] (pthread_barrier_init): Likewise.
6238 [UNIX98] (pthread_barrier_wait): Likewise.
6239 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6240 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6241 [UNIX98] (pthread_barrierattr_init): Likewise.
6242 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6243 [UNIX98] (pthread_getcpuclockid): Likewise.
6244 [UNIX98] (pthread_mutex_timedlock): Likewise.
6245 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6246 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6247 [UNIX98] (pthread_sigmask): Likewise.
6248 [UNIX98] (pthread_spin_destroy): Likewise.
6249 [UNIX98] (pthread_spin_init): Likewise.
6250 [UNIX98] (pthread_spin_lock): Likewise.
6251 [UNIX98] (pthread_spin_trylock): Likewise.
6252 [UNIX98] (pthread_spin_unlock): Likewise.
6253 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6255 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6257 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6258 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6259 [XPG3 || XPG4] (pthread_key_t): Likewise.
6260 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6261 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6262 [XPG3 || XPG4] (pthread_once_t): Likewise.
6263 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6264 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6266 [XPG3 || XPG4] (pthread_t): Likewise.
6268 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6270 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6272 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6273 Change function return type to int.
6275 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6276 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6277 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6278 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6279 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6280 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6281 [!POSIX] (posix_madvise): Likewise.
6282 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6284 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6285 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6287 (posix_mem_offset): Likewise.
6288 (posix_typed_mem_get_info): Likewise.
6289 (posix_typed_mem_open): Likewise.
6291 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6292 Change condition to [XOPEN2K8].
6294 * conform/conformtest.pl: Preprocess allow-header data with -x c
6295 instead of from stdin.
6296 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6297 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6298 [C99-based standards] (cerfc): Likewise.
6299 [C99-based standards] (cexp2): Likewise.
6300 [C99-based standards] (cexpm1): Likewise.
6301 [C99-based standards] (clog10): Likewise.
6302 [C99-based standards] (clog1p): Likewise.
6303 [C99-based standards] (clog2): Likewise.
6304 [C99-based standards] (clgamma): Likewise.
6305 [C99-based standards] (ctgamma): Likewise.
6306 [C99-based standards] (cerff): Likewise.
6307 [C99-based standards] (cerfcf): Likewise.
6308 [C99-based standards] (cexp2f): Likewise.
6309 [C99-based standards] (cexpm1f): Likewise.
6310 [C99-based standards] (clog10f): Likewise.
6311 [C99-based standards] (clog1pf): Likewise.
6312 [C99-based standards] (clog2f): Likewise.
6313 [C99-based standards] (clgammaf): Likewise.
6314 [C99-based standards] (ctgammaf): Likewise.
6315 [C99-based standards] (cerfl): Likewise.
6316 [C99-based standards] (cerfcl): Likewise.
6317 [C99-based standards] (cexp2l): Likewise.
6318 [C99-based standards] (cexpm1l): Likewise.
6319 [C99-based standards] (clog10l): Likewise.
6320 [C99-based standards] (clog1pl): Likewise.
6321 [C99-based standards] (clog2l): Likewise.
6322 [C99-based standards] (clgammal): Likewise.
6323 [C99-based standards] (ctgammal): Likewise.
6324 * conform/data/inttypes.h-data [C99-based standards]: Include
6325 stdint.h-data. Remove all expectations for stdint.h contents.
6326 [C99-based standards] (PRI*): Do not allow.
6327 [C99-based standards] (SCN*): Likewise.
6328 [C99-based standards] (*_t): Likewise.
6329 [C99-based-standards] (PRId8): Expect macro.
6330 [C99-based-standards] (PRIi8): Likewise.
6331 [C99-based-standards] (PRIo8): Likewise.
6332 [C99-based-standards] (PRIu8): Likewise.
6333 [C99-based-standards] (PRIx8): Likewise.
6334 [C99-based-standards] (PRIX8): Likewise.
6335 [C99-based-standards] (SCNd8): Likewise.
6336 [C99-based-standards] (SCNi8): Likewise.
6337 [C99-based-standards] (SCNo8): Likewise.
6338 [C99-based-standards] (SCNu8): Likewise.
6339 [C99-based-standards] (SCNx8): Likewise.
6340 [C99-based-standards] (PRIdLEAST8): Likewise.
6341 [C99-based-standards] (PRIiLEAST8): Likewise.
6342 [C99-based-standards] (PRIoLEAST8): Likewise.
6343 [C99-based-standards] (PRIuLEAST8): Likewise.
6344 [C99-based-standards] (PRIxLEAST8): Likewise.
6345 [C99-based-standards] (PRIXLEAST8): Likewise.
6346 [C99-based-standards] (SCNdLEAST8): Likewise.
6347 [C99-based-standards] (SCNiLEAST8): Likewise.
6348 [C99-based-standards] (SCNoLEAST8): Likewise.
6349 [C99-based-standards] (SCNuLEAST8): Likewise.
6350 [C99-based-standards] (SCNxLEAST8): Likewise.
6351 [C99-based-standards] (PRIdFAST8): Likewise.
6352 [C99-based-standards] (PRIiFAST8): Likewise.
6353 [C99-based-standards] (PRIoFAST8): Likewise.
6354 [C99-based-standards] (PRIuFAST8): Likewise.
6355 [C99-based-standards] (PRIxFAST8): Likewise.
6356 [C99-based-standards] (PRIXFAST8): Likewise.
6357 [C99-based-standards] (SCNdFAST8): Likewise.
6358 [C99-based-standards] (SCNiFAST8): Likewise.
6359 [C99-based-standards] (SCNoFAST8): Likewise.
6360 [C99-based-standards] (SCNuFAST8): Likewise.
6361 [C99-based-standards] (SCNxFAST8): Likewise.
6362 [C99-based-standards] (PRId16): Likewise.
6363 [C99-based-standards] (PRIi16): Likewise.
6364 [C99-based-standards] (PRIo16): Likewise.
6365 [C99-based-standards] (PRIu16): Likewise.
6366 [C99-based-standards] (PRIx16): Likewise.
6367 [C99-based-standards] (PRIX16): Likewise.
6368 [C99-based-standards] (SCNd16): Likewise.
6369 [C99-based-standards] (SCNi16): Likewise.
6370 [C99-based-standards] (SCNo16): Likewise.
6371 [C99-based-standards] (SCNu16): Likewise.
6372 [C99-based-standards] (SCNx16): Likewise.
6373 [C99-based-standards] (PRIdLEAST16): Likewise.
6374 [C99-based-standards] (PRIiLEAST16): Likewise.
6375 [C99-based-standards] (PRIoLEAST16): Likewise.
6376 [C99-based-standards] (PRIuLEAST16): Likewise.
6377 [C99-based-standards] (PRIxLEAST16): Likewise.
6378 [C99-based-standards] (PRIXLEAST16): Likewise.
6379 [C99-based-standards] (SCNdLEAST16): Likewise.
6380 [C99-based-standards] (SCNiLEAST16): Likewise.
6381 [C99-based-standards] (SCNoLEAST16): Likewise.
6382 [C99-based-standards] (SCNuLEAST16): Likewise.
6383 [C99-based-standards] (SCNxLEAST16): Likewise.
6384 [C99-based-standards] (PRIdFAST16): Likewise.
6385 [C99-based-standards] (PRIiFAST16): Likewise.
6386 [C99-based-standards] (PRIoFAST16): Likewise.
6387 [C99-based-standards] (PRIuFAST16): Likewise.
6388 [C99-based-standards] (PRIxFAST16): Likewise.
6389 [C99-based-standards] (PRIXFAST16): Likewise.
6390 [C99-based-standards] (SCNdFAST16): Likewise.
6391 [C99-based-standards] (SCNiFAST16): Likewise.
6392 [C99-based-standards] (SCNoFAST16): Likewise.
6393 [C99-based-standards] (SCNuFAST16): Likewise.
6394 [C99-based-standards] (SCNxFAST16): Likewise.
6395 [C99-based-standards] (PRId32): Likewise.
6396 [C99-based-standards] (PRIi32): Likewise.
6397 [C99-based-standards] (PRIo32): Likewise.
6398 [C99-based-standards] (PRIu32): Likewise.
6399 [C99-based-standards] (PRIx32): Likewise.
6400 [C99-based-standards] (PRIX32): Likewise.
6401 [C99-based-standards] (SCNd32): Likewise.
6402 [C99-based-standards] (SCNi32): Likewise.
6403 [C99-based-standards] (SCNo32): Likewise.
6404 [C99-based-standards] (SCNu32): Likewise.
6405 [C99-based-standards] (SCNx32): Likewise.
6406 [C99-based-standards] (PRIdLEAST32): Likewise.
6407 [C99-based-standards] (PRIiLEAST32): Likewise.
6408 [C99-based-standards] (PRIoLEAST32): Likewise.
6409 [C99-based-standards] (PRIuLEAST32): Likewise.
6410 [C99-based-standards] (PRIxLEAST32): Likewise.
6411 [C99-based-standards] (PRIXLEAST32): Likewise.
6412 [C99-based-standards] (SCNdLEAST32): Likewise.
6413 [C99-based-standards] (SCNiLEAST32): Likewise.
6414 [C99-based-standards] (SCNoLEAST32): Likewise.
6415 [C99-based-standards] (SCNuLEAST32): Likewise.
6416 [C99-based-standards] (SCNxLEAST32): Likewise.
6417 [C99-based-standards] (PRIdFAST32): Likewise.
6418 [C99-based-standards] (PRIiFAST32): Likewise.
6419 [C99-based-standards] (PRIoFAST32): Likewise.
6420 [C99-based-standards] (PRIuFAST32): Likewise.
6421 [C99-based-standards] (PRIxFAST32): Likewise.
6422 [C99-based-standards] (PRIXFAST32): Likewise.
6423 [C99-based-standards] (SCNdFAST32): Likewise.
6424 [C99-based-standards] (SCNiFAST32): Likewise.
6425 [C99-based-standards] (SCNoFAST32): Likewise.
6426 [C99-based-standards] (SCNuFAST32): Likewise.
6427 [C99-based-standards] (SCNxFAST32): Likewise.
6428 [C99-based-standards] (PRId64): Likewise.
6429 [C99-based-standards] (PRIi64): Likewise.
6430 [C99-based-standards] (PRIo64): Likewise.
6431 [C99-based-standards] (PRIu64): Likewise.
6432 [C99-based-standards] (PRIx64): Likewise.
6433 [C99-based-standards] (PRIX64): Likewise.
6434 [C99-based-standards] (SCNd64): Likewise.
6435 [C99-based-standards] (SCNi64): Likewise.
6436 [C99-based-standards] (SCNo64): Likewise.
6437 [C99-based-standards] (SCNu64): Likewise.
6438 [C99-based-standards] (SCNx64): Likewise.
6439 [C99-based-standards] (PRIdLEAST64): Likewise.
6440 [C99-based-standards] (PRIiLEAST64): Likewise.
6441 [C99-based-standards] (PRIoLEAST64): Likewise.
6442 [C99-based-standards] (PRIuLEAST64): Likewise.
6443 [C99-based-standards] (PRIxLEAST64): Likewise.
6444 [C99-based-standards] (PRIXLEAST64): Likewise.
6445 [C99-based-standards] (SCNdLEAST64): Likewise.
6446 [C99-based-standards] (SCNiLEAST64): Likewise.
6447 [C99-based-standards] (SCNoLEAST64): Likewise.
6448 [C99-based-standards] (SCNuLEAST64): Likewise.
6449 [C99-based-standards] (SCNxLEAST64): Likewise.
6450 [C99-based-standards] (PRIdFAST64): Likewise.
6451 [C99-based-standards] (PRIiFAST64): Likewise.
6452 [C99-based-standards] (PRIoFAST64): Likewise.
6453 [C99-based-standards] (PRIuFAST64): Likewise.
6454 [C99-based-standards] (PRIxFAST64): Likewise.
6455 [C99-based-standards] (PRIXFAST64): Likewise.
6456 [C99-based-standards] (SCNdFAST64): Likewise.
6457 [C99-based-standards] (SCNiFAST64): Likewise.
6458 [C99-based-standards] (SCNoFAST64): Likewise.
6459 [C99-based-standards] (SCNuFAST64): Likewise.
6460 [C99-based-standards] (SCNxFAST64): Likewise.
6461 [C99-based-standards] (PRIdMAX): Likewise.
6462 [C99-based-standards] (PRIiMAX): Likewise.
6463 [C99-based-standards] (PRIoMAX): Likewise.
6464 [C99-based-standards] (PRIuMAX): Likewise.
6465 [C99-based-standards] (PRIxMAX): Likewise.
6466 [C99-based-standards] (PRIXMAX): Likewise.
6467 [C99-based-standards] (SCNdMAX): Likewise.
6468 [C99-based-standards] (SCNiMAX): Likewise.
6469 [C99-based-standards] (SCNoMAX): Likewise.
6470 [C99-based-standards] (SCNuMAX): Likewise.
6471 [C99-based-standards] (SCNxMAX): Likewise.
6472 [C99-based-standards] (PRIdPTR): Likewise.
6473 [C99-based-standards] (PRIiPTR): Likewise.
6474 [C99-based-standards] (PRIoPTR): Likewise.
6475 [C99-based-standards] (PRIuPTR): Likewise.
6476 [C99-based-standards] (PRIxPTR): Likewise.
6477 [C99-based-standards] (PRIXPTR): Likewise.
6478 [C99-based-standards] (SCNdPTR): Likewise.
6479 [C99-based-standards] (SCNiPTR): Likewise.
6480 [C99-based-standards] (SCNoPTR): Likewise.
6481 [C99-based-standards] (SCNuPTR): Likewise.
6482 [C99-based-standards] (SCNxPTR): Likewise.
6483 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6485 * conform/data/stdint.h-data: Update comments to clarify
6487 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6489 [C99-based standards] (INT8_MAX): Likewise.
6490 [C99-based standards] (INT16_MIN): Likewise.
6491 [C99-based standards] (INT16_MAX): Likewise.
6492 [C99-based standards] (INT32_MIN): Likewise.
6493 [C99-based standards] (INT32_MAX): Likewise.
6494 [C99-based standards] (INT64_MIN): Likewise.
6495 [C99-based standards] (INT64_MAX): Likewise.
6496 [C99-based standards] (UINT8_MAX): Likewise.
6497 [C99-based standards] (UINT16_MAX): Likewise.
6498 [C99-based standards] (UINT32_MAX): Likewise.
6499 [C99-based standards] (UINT64_MAX): Likewise.
6500 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6501 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6502 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6503 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6504 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6505 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6506 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6507 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6508 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6509 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6510 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6511 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6512 [C99-based standards] (INT_FAST8_MIN): Likewise.
6513 [C99-based standards] (INT_FAST8_MAX): Likewise.
6514 [C99-based standards] (INT_FAST16_MIN): Likewise.
6515 [C99-based standards] (INT_FAST16_MAX): Likewise.
6516 [C99-based standards] (INT_FAST32_MIN): Likewise.
6517 [C99-based standards] (INT_FAST32_MAX): Likewise.
6518 [C99-based standards] (INT_FAST64_MIN): Likewise.
6519 [C99-based standards] (INT_FAST64_MAX): Likewise.
6520 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6521 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6522 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6523 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6524 [C99-based standards] (INTPTR_MIN): Likewise.
6525 [C99-based standards] (INTPTR_MAX): Likewise.
6526 [C99-based standards] (UINTPTR_MAX): Likewise.
6527 [C99-based standards] (INTMAX_MIN): Likewise.
6528 [C99-based standards] (INTMAX_MAX): Likewise.
6529 [C99-based standards] (UINTMAX_MAX): Likewise.
6530 [C99-based standards] (PTRDIFF_MIN): Likewise.
6531 [C99-based standards] (PTRDIFF_MAX): Likewise.
6532 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6533 [C99-based standards] (SIZE_MAX): Likewise.
6534 [C99-based standards] (WCHAR_MAX): Likewise.
6535 [C99-based standards] (WINT_MAX): Likewise.
6536 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6537 constraint on value.
6538 [C99-based standards] (WCHAR_MIN): Likewise.
6539 [C99-based standards] (WINT_MIN): Likewise.
6540 [C99-based standards] (*_t): Allow.
6541 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6542 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6543 Include math.h-data and complex.h-data. Remove all expectations
6544 of math.h and complex.h contents.
6545 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6547 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6548 (struct tm): Expect tag.
6549 [C99-based-standards] (wcstof): Expect function.
6550 [C99-based-standards] (wcstold): Likewise.
6551 [C99-based-standards] (wcstoll): Likewise.
6552 [C99-based-standards] (wcstoull): Likewise.
6553 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6554 macro-int-constant. Specify type.
6555 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6556 constraint on value.
6557 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6559 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6561 [ISO C standards]: Do not allow headers.
6562 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6563 wcs[abcdefghijklmnopqrstuvwxyz]*.
6564 [ISO C standards] (*_t): Do not allow.
6565 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6567 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6568 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6570 [ISO C standards]: Do not allow headers.
6571 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6572 is[abcdefghijklmnopqrstuvwxyz]*.
6573 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6574 to[abcdefghijklmnopqrstuvwxyz]*.
6575 [ISO C standards] (*_t): Do not allow.
6576 * conform/data/stdalign.h-data: New file.
6577 * conform/data/stdbool.h-data: Likewise.
6578 * conform/data/stdnoreturn.h-data: Likewise.
6580 2012-11-07 Roland McGrath <roland@hack.frob.com>
6583 * manual/filesys.texi (Directory Entries): Typo fix.
6584 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6586 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6588 * elf/elf.h (EM_AARCH64): New macro.
6589 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6590 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6591 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6592 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6593 (R_AARCH64_TLSDESC): Likewise.
6594 (NT_ARM_TLS): Likewise.
6595 (NT_ARM_HW_BREAK): Likewise.
6596 (NT_ARM_HW_WATCH): Likewise.
6598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6601 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6602 (__ieee754_powl): Saturate nonzero exponents with absolute value
6603 below 0x1p-79 to +/- 0x1p-79.
6604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6605 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6606 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6607 nonzero exponents with absolute value below 0x1p-32 to +/-
6609 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6610 (__ieee754_powl): Saturate nonzero exponents with absolute value
6611 below 0x1p-79 to +/- 0x1p-79.
6612 * math/libm-test.inc (pow_test): Add more tests.
6614 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6616 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6617 _dl_s390_cap_flags with kernel. Increase string length.
6618 (_dl_s390_platforms): Add z196 and zEC12.
6620 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6622 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6623 Change XOPEN21K to XOPEN2K.
6625 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6627 * string/memmove.c: Use memcpy when possible.
6629 2012-11-06 Andreas Jaeger <aj@suse.de>
6631 * po/eo.po: Update from translation team.
6633 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6637 exponent and small x and y exponents, scale x or y up. Increase
6638 by 2 the exponent used in scaling up.
6639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6641 * math/libm-test.inc (fma_test): Add more tests.
6642 (fma_test_towardzero): Likewise.
6643 (fma_test_downward): Likewise.
6644 (fma_test_upward): Likewise.
6646 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6653 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6654 namespace for names of struct fields.
6655 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6657 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6658 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6660 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6663 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6665 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6667 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6671 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6674 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6678 definitely overflow as x * y not x * y + z.
6679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6681 * math/libm-test.inc (fma_test): Add more tests.
6682 (fma_test_towardzero): Likewise.
6683 (fma_test_downward): Likewise.
6684 (fma_test_upward): Likewise.
6686 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6690 * include/stub-tag.h: Remove file.
6691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6693 * manual/maint.texi (Porting): Don't reference it.
6694 * Makerules ($(objpfx)stubs): Likewise.
6695 * dirent/closedir.c: Don't include <stub-tag.h>.
6696 * dirent/dirfd.c: Likewise.
6697 * dirent/fdopendir.c: Likewise.
6698 * dirent/getdents.c: Likewise.
6699 * dirent/getdents64.c: Likewise.
6700 * dirent/opendir.c: Likewise.
6701 * dirent/readdir.c: Likewise.
6702 * dirent/readdir64.c: Likewise.
6703 * dirent/readdir64_r.c: Likewise.
6704 * dirent/readdir_r.c: Likewise.
6705 * dirent/rewinddir.c: Likewise.
6706 * dirent/seekdir.c: Likewise.
6707 * dirent/telldir.c: Likewise.
6708 * gmon/profil.c: Likewise.
6709 * grp/setgroups.c: Likewise.
6710 * inet/if_index.c: Likewise.
6711 * io/access.c: Likewise.
6712 * io/chdir.c: Likewise.
6713 * io/chmod.c: Likewise.
6714 * io/chown.c: Likewise.
6715 * io/close.c: Likewise.
6716 * io/dup.c: Likewise.
6717 * io/dup2.c: Likewise.
6718 * io/dup3.c: Likewise.
6719 * io/euidaccess.c: Likewise.
6720 * io/faccessat.c: Likewise.
6721 * io/fchdir.c: Likewise.
6722 * io/fchmod.c: Likewise.
6723 * io/fchmodat.c: Likewise.
6724 * io/fchown.c: Likewise.
6725 * io/fchownat.c: Likewise.
6726 * io/fcntl.c: Likewise.
6727 * io/flock.c: Likewise.
6728 * io/fstatfs.c: Likewise.
6729 * io/fstatfs64.c: Likewise.
6730 * io/fstatvfs.c: Likewise.
6731 * io/fstatvfs64.c: Likewise.
6732 * io/futimens.c: Likewise.
6733 * io/fxstat.c: Likewise.
6734 * io/fxstat64.c: Likewise.
6735 * io/fxstatat.c: Likewise.
6736 * io/fxstatat64.c: Likewise.
6737 * io/getcwd.c: Likewise.
6738 * io/isatty.c: Likewise.
6739 * io/lchmod.c: Likewise.
6740 * io/lchown.c: Likewise.
6741 * io/link.c: Likewise.
6742 * io/linkat.c: Likewise.
6743 * io/lseek.c: Likewise.
6744 * io/lseek64.c: Likewise.
6745 * io/lxstat64.c: Likewise.
6746 * io/mkdir.c: Likewise.
6747 * io/mkdirat.c: Likewise.
6748 * io/mkfifo.c: Likewise.
6749 * io/mkfifoat.c: Likewise.
6750 * io/open.c: Likewise.
6751 * io/open64.c: Likewise.
6752 * io/openat.c: Likewise.
6753 * io/openat64.c: Likewise.
6754 * io/pipe.c: Likewise.
6755 * io/pipe2.c: Likewise.
6756 * io/poll.c: Likewise.
6757 * io/posix_fadvise.c: Likewise.
6758 * io/posix_fadvise64.c: Likewise.
6759 * io/posix_fallocate.c: Likewise.
6760 * io/posix_fallocate64.c: Likewise.
6761 * io/read.c: Likewise.
6762 * io/readlink.c: Likewise.
6763 * io/readlinkat.c: Likewise.
6764 * io/rmdir.c: Likewise.
6765 * io/sendfile.c: Likewise.
6766 * io/sendfile64.c: Likewise.
6767 * io/statfs.c: Likewise.
6768 * io/statfs64.c: Likewise.
6769 * io/statvfs.c: Likewise.
6770 * io/statvfs64.c: Likewise.
6771 * io/symlink.c: Likewise.
6772 * io/symlinkat.c: Likewise.
6773 * io/ttyname.c: Likewise.
6774 * io/ttyname_r.c: Likewise.
6775 * io/umask.c: Likewise.
6776 * io/unlink.c: Likewise.
6777 * io/unlinkat.c: Likewise.
6778 * io/utime.c: Likewise.
6779 * io/utimensat.c: Likewise.
6780 * io/write.c: Likewise.
6781 * io/xmknod.c: Likewise.
6782 * io/xmknodat.c: Likewise.
6783 * io/xstat.c: Likewise.
6784 * io/xstat64.c: Likewise.
6785 * login/getpt.c: Likewise.
6786 * login/grantpt.c: Likewise.
6787 * login/unlockpt.c: Likewise.
6788 * math/e_acoshl.c: Likewise.
6789 * math/e_acosl.c: Likewise.
6790 * math/e_asinl.c: Likewise.
6791 * math/e_atan2l.c: Likewise.
6792 * math/e_atanhl.c: Likewise.
6793 * math/e_coshl.c: Likewise.
6794 * math/e_expl.c: Likewise.
6795 * math/e_fmodl.c: Likewise.
6796 * math/e_gammal_r.c: Likewise.
6797 * math/e_hypotl.c: Likewise.
6798 * math/e_j0l.c: Likewise.
6799 * math/e_j1l.c: Likewise.
6800 * math/e_jnl.c: Likewise.
6801 * math/e_lgammal_r.c: Likewise.
6802 * math/e_log10l.c: Likewise.
6803 * math/e_log2l.c: Likewise.
6804 * math/e_logl.c: Likewise.
6805 * math/e_powl.c: Likewise.
6806 * math/e_rem_pio2l.c: Likewise.
6807 * math/e_sinhl.c: Likewise.
6808 * math/e_sqrtl.c: Likewise.
6809 * math/fclrexcpt.c: Likewise.
6810 * math/fedisblxcpt.c: Likewise.
6811 * math/feenablxcpt.c: Likewise.
6812 * math/fegetenv.c: Likewise.
6813 * math/fegetexcept.c: Likewise.
6814 * math/fegetround.c: Likewise.
6815 * math/feholdexcpt.c: Likewise.
6816 * math/fesetenv.c: Likewise.
6817 * math/fesetround.c: Likewise.
6818 * math/feupdateenv.c: Likewise.
6819 * math/fgetexcptflg.c: Likewise.
6820 * math/fraiseexcpt.c: Likewise.
6821 * math/fsetexcptflg.c: Likewise.
6822 * math/ftestexcept.c: Likewise.
6823 * math/k_cosl.c: Likewise.
6824 * math/k_rem_pio2l.c: Likewise.
6825 * math/k_sinl.c: Likewise.
6826 * math/k_tanl.c: Likewise.
6827 * math/s_asinhl.c: Likewise.
6828 * math/s_atanl.c: Likewise.
6829 * math/s_cbrtl.c: Likewise.
6830 * math/s_erfl.c: Likewise.
6831 * math/s_expm1l.c: Likewise.
6832 * math/s_log1pl.c: Likewise.
6833 * math/s_tanhl.c: Likewise.
6834 * misc/acct.c: Likewise.
6835 * misc/brk.c: Likewise.
6836 * misc/chflags.c: Likewise.
6837 * misc/chroot.c: Likewise.
6838 * misc/fchflags.c: Likewise.
6839 * misc/fgetxattr.c: Likewise.
6840 * misc/flistxattr.c: Likewise.
6841 * misc/fremovexattr.c: Likewise.
6842 * misc/fsetxattr.c: Likewise.
6843 * misc/fsync.c: Likewise.
6844 * misc/ftruncate.c: Likewise.
6845 * misc/futimes.c: Likewise.
6846 * misc/futimesat.c: Likewise.
6847 * misc/getdomain.c: Likewise.
6848 * misc/getdtsz.c: Likewise.
6849 * misc/gethostid.c: Likewise.
6850 * misc/gethostname.c: Likewise.
6851 * misc/getloadavg.c: Likewise.
6852 * misc/getpagesize.c: Likewise.
6853 * misc/getsysstats.c: Likewise.
6854 * misc/getxattr.c: Likewise.
6855 * misc/gtty.c: Likewise.
6856 * misc/ioctl.c: Likewise.
6857 * misc/lgetxattr.c: Likewise.
6858 * misc/listxattr.c: Likewise.
6859 * misc/llistxattr.c: Likewise.
6860 * misc/lremovexattr.c: Likewise.
6861 * misc/lsetxattr.c: Likewise.
6862 * misc/lutimes.c: Likewise.
6863 * misc/madvise.c: Likewise.
6864 * misc/mincore.c: Likewise.
6865 * misc/mlock.c: Likewise.
6866 * misc/mlockall.c: Likewise.
6867 * misc/mmap.c: Likewise.
6868 * misc/mprotect.c: Likewise.
6869 * misc/msync.c: Likewise.
6870 * misc/munlock.c: Likewise.
6871 * misc/munlockall.c: Likewise.
6872 * misc/munmap.c: Likewise.
6873 * misc/preadv.c: Likewise.
6874 * misc/preadv64.c: Likewise.
6875 * misc/ptrace.c: Likewise.
6876 * misc/pwritev.c: Likewise.
6877 * misc/pwritev64.c: Likewise.
6878 * misc/readv.c: Likewise.
6879 * misc/reboot.c: Likewise.
6880 * misc/remap_file_pages.c: Likewise.
6881 * misc/removexattr.c: Likewise.
6882 * misc/revoke.c: Likewise.
6883 * misc/select.c: Likewise.
6884 * misc/setdomain.c: Likewise.
6885 * misc/setegid.c: Likewise.
6886 * misc/seteuid.c: Likewise.
6887 * misc/sethostid.c: Likewise.
6888 * misc/sethostname.c: Likewise.
6889 * misc/setregid.c: Likewise.
6890 * misc/setreuid.c: Likewise.
6891 * misc/setxattr.c: Likewise.
6892 * misc/sstk.c: Likewise.
6893 * misc/stty.c: Likewise.
6894 * misc/swapoff.c: Likewise.
6895 * misc/swapon.c: Likewise.
6896 * misc/sync.c: Likewise.
6897 * misc/syncfs.c: Likewise.
6898 * misc/syscall.c: Likewise.
6899 * misc/truncate.c: Likewise.
6900 * misc/ualarm.c: Likewise.
6901 * misc/usleep.c: Likewise.
6902 * misc/ustat.c: Likewise.
6903 * misc/utimes.c: Likewise.
6904 * misc/vhangup.c: Likewise.
6905 * misc/writev.c: Likewise.
6906 * posix/_exit.c: Likewise.
6907 * posix/alarm.c: Likewise.
6908 * posix/execve.c: Likewise.
6909 * posix/fexecve.c: Likewise.
6910 * posix/fork.c: Likewise.
6911 * posix/fpathconf.c: Likewise.
6912 * posix/getaddrinfo.c: Likewise.
6913 * posix/getegid.c: Likewise.
6914 * posix/geteuid.c: Likewise.
6915 * posix/getgid.c: Likewise.
6916 * posix/getgroups.c: Likewise.
6917 * posix/getlogin.c: Likewise.
6918 * posix/getlogin_r.c: Likewise.
6919 * posix/getpgid.c: Likewise.
6920 * posix/getpid.c: Likewise.
6921 * posix/getppid.c: Likewise.
6922 * posix/getresgid.c: Likewise.
6923 * posix/getresuid.c: Likewise.
6924 * posix/getsid.c: Likewise.
6925 * posix/getuid.c: Likewise.
6926 * posix/glob64.c: Likewise.
6927 * posix/nanosleep.c: Likewise.
6928 * posix/pathconf.c: Likewise.
6929 * posix/pause.c: Likewise.
6930 * posix/posix_madvise.c: Likewise.
6931 * posix/pread.c: Likewise.
6932 * posix/pread64.c: Likewise.
6933 * posix/pwrite.c: Likewise.
6934 * posix/pwrite64.c: Likewise.
6935 * posix/sched_getaffinity.c: Likewise.
6936 * posix/sched_getp.c: Likewise.
6937 * posix/sched_gets.c: Likewise.
6938 * posix/sched_primax.c: Likewise.
6939 * posix/sched_primin.c: Likewise.
6940 * posix/sched_rr_gi.c: Likewise.
6941 * posix/sched_setaffinity.c: Likewise.
6942 * posix/sched_setp.c: Likewise.
6943 * posix/sched_sets.c: Likewise.
6944 * posix/sched_yield.c: Likewise.
6945 * posix/setgid.c: Likewise.
6946 * posix/setlogin.c: Likewise.
6947 * posix/setpgid.c: Likewise.
6948 * posix/setresgid.c: Likewise.
6949 * posix/setresuid.c: Likewise.
6950 * posix/setsid.c: Likewise.
6951 * posix/setuid.c: Likewise.
6952 * posix/sleep.c: Likewise.
6953 * posix/spawni.c: Likewise.
6954 * posix/sysconf.c: Likewise.
6955 * posix/times.c: Likewise.
6956 * posix/wait.c: Likewise.
6957 * posix/wait3.c: Likewise.
6958 * posix/wait4.c: Likewise.
6959 * posix/waitpid.c: Likewise.
6960 * resolv/gai_sigqueue.c: Likewise.
6961 * resource/getpriority.c: Likewise.
6962 * resource/getrlimit.c: Likewise.
6963 * resource/getrusage.c: Likewise.
6964 * resource/nice.c: Likewise.
6965 * resource/setpriority.c: Likewise.
6966 * resource/setrlimit.c: Likewise.
6967 * resource/ulimit.c: Likewise.
6968 * rt/aio_cancel.c: Likewise.
6969 * rt/aio_fsync.c: Likewise.
6970 * rt/aio_read.c: Likewise.
6971 * rt/aio_sigqueue.c: Likewise.
6972 * rt/aio_suspend.c: Likewise.
6973 * rt/aio_write.c: Likewise.
6974 * rt/clock_getres.c: Likewise.
6975 * rt/clock_gettime.c: Likewise.
6976 * rt/clock_nanosleep.c: Likewise.
6977 * rt/clock_settime.c: Likewise.
6978 * rt/lio_listio.c: Likewise.
6979 * rt/mq_close.c: Likewise.
6980 * rt/mq_getattr.c: Likewise.
6981 * rt/mq_notify.c: Likewise.
6982 * rt/mq_open.c: Likewise.
6983 * rt/mq_receive.c: Likewise.
6984 * rt/mq_send.c: Likewise.
6985 * rt/mq_setattr.c: Likewise.
6986 * rt/mq_timedreceive.c: Likewise.
6987 * rt/mq_timedsend.c: Likewise.
6988 * rt/mq_unlink.c: Likewise.
6989 * rt/shm_open.c: Likewise.
6990 * rt/shm_unlink.c: Likewise.
6991 * rt/timer_create.c: Likewise.
6992 * rt/timer_delete.c: Likewise.
6993 * rt/timer_getoverr.c: Likewise.
6994 * rt/timer_gettime.c: Likewise.
6995 * rt/timer_settime.c: Likewise.
6996 * setjmp/__longjmp.c: Likewise.
6997 * setjmp/setjmp.c: Likewise.
6998 * signal/kill.c: Likewise.
6999 * signal/killpg.c: Likewise.
7000 * signal/raise.c: Likewise.
7001 * signal/sigaction.c: Likewise.
7002 * signal/sigaltstack.c: Likewise.
7003 * signal/sigblock.c: Likewise.
7004 * signal/sigignore.c: Likewise.
7005 * signal/sigintr.c: Likewise.
7006 * signal/signal.c: Likewise.
7007 * signal/sigpause.c: Likewise.
7008 * signal/sigpending.c: Likewise.
7009 * signal/sigqueue.c: Likewise.
7010 * signal/sigreturn.c: Likewise.
7011 * signal/sigset.c: Likewise.
7012 * signal/sigsetmask.c: Likewise.
7013 * signal/sigstack.c: Likewise.
7014 * signal/sigsuspend.c: Likewise.
7015 * signal/sigtimedwait.c: Likewise.
7016 * signal/sigvec.c: Likewise.
7017 * signal/sigwait.c: Likewise.
7018 * signal/sigwaitinfo.c: Likewise.
7019 * signal/sysv_signal.c: Likewise.
7020 * socket/accept.c: Likewise.
7021 * socket/accept4.c: Likewise.
7022 * socket/bind.c: Likewise.
7023 * socket/connect.c: Likewise.
7024 * socket/getpeername.c: Likewise.
7025 * socket/getsockname.c: Likewise.
7026 * socket/getsockopt.c: Likewise.
7027 * socket/isfdtype.c: Likewise.
7028 * socket/listen.c: Likewise.
7029 * socket/recv.c: Likewise.
7030 * socket/recvfrom.c: Likewise.
7031 * socket/recvmsg.c: Likewise.
7032 * socket/send.c: Likewise.
7033 * socket/sendmsg.c: Likewise.
7034 * socket/sendto.c: Likewise.
7035 * socket/setsockopt.c: Likewise.
7036 * socket/shutdown.c: Likewise.
7037 * socket/sockatmark.c: Likewise.
7038 * socket/socket.c: Likewise.
7039 * socket/socketpair.c: Likewise.
7040 * stdio-common/ctermid.c: Likewise.
7041 * stdio-common/cuserid.c: Likewise.
7042 * stdio-common/remove.c: Likewise.
7043 * stdio-common/rename.c: Likewise.
7044 * stdio-common/renameat.c: Likewise.
7045 * stdio-common/tempname.c: Likewise.
7046 * stdlib/getcontext.c: Likewise.
7047 * stdlib/makecontext.c: Likewise.
7048 * stdlib/setcontext.c: Likewise.
7049 * stdlib/swapcontext.c: Likewise.
7050 * stdlib/system.c: Likewise.
7051 * streams/fattach.c: Likewise.
7052 * streams/fdetach.c: Likewise.
7053 * streams/getmsg.c: Likewise.
7054 * streams/getpmsg.c: Likewise.
7055 * streams/putmsg.c: Likewise.
7056 * streams/putpmsg.c: Likewise.
7057 * sysdeps/unix/bsd/getpt.c: Likewise.
7058 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7059 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7060 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7063 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7064 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7065 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7066 * sysvipc/msgctl.c: Likewise.
7067 * sysvipc/msgget.c: Likewise.
7068 * sysvipc/msgrcv.c: Likewise.
7069 * sysvipc/msgsnd.c: Likewise.
7070 * sysvipc/semctl.c: Likewise.
7071 * sysvipc/semget.c: Likewise.
7072 * sysvipc/semop.c: Likewise.
7073 * sysvipc/semtimedop.c: Likewise.
7074 * sysvipc/shmat.c: Likewise.
7075 * sysvipc/shmctl.c: Likewise.
7076 * sysvipc/shmdt.c: Likewise.
7077 * sysvipc/shmget.c: Likewise.
7078 * termios/tcdrain.c: Likewise.
7079 * termios/tcflow.c: Likewise.
7080 * termios/tcflush.c: Likewise.
7081 * termios/tcgetattr.c: Likewise.
7082 * termios/tcgetpgrp.c: Likewise.
7083 * termios/tcsendbrk.c: Likewise.
7084 * termios/tcsetattr.c: Likewise.
7085 * termios/tcsetpgrp.c: Likewise.
7086 * time/adjtime.c: Likewise.
7087 * time/clock.c: Likewise.
7088 * time/getitimer.c: Likewise.
7089 * time/gettimeofday.c: Likewise.
7090 * time/setitimer.c: Likewise.
7091 * time/settimeofday.c: Likewise.
7092 * time/stime.c: Likewise.
7093 * time/time.c: Likewise.
7095 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7097 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7100 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7102 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7104 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7108 FE_TONEAREST before applying Dekker multiplication and Knuth
7109 addition. Clear inexact exceptions and check for exact zero
7111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7112 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7114 * math/libm-test.inc (fma_test): Add more tests.
7115 (fma_test_towardzero): Likewise.
7116 (fma_test_downward): Likewise.
7117 (fma_test_upward): Likewise.
7118 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7120 (libc_fesetround): New macro.
7121 (libc_fesetroundf): Likewise.
7122 (libc_fesetroundl): Likewise.
7123 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7125 (libc_fesetround_387): Likewise.
7126 (libc_fesetroundf): New macro.
7127 (libc_fesetround): Likewise.
7128 (libc_fesetroundl): Likewise.
7129 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7131 (libc_fesetroundf): New macro.
7132 (libc_fesetround): Likewise.
7133 (libc_fesetroundl): Likewise.
7134 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7135 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7136 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7138 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7139 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7141 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7142 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7144 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7148 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7149 integer constant usable in #if and use that to give value to enum
7151 (FE_DIVBYZERO): Likewise.
7152 (FE_UNDERFLOW): Likewise.
7153 (FE_OVERFLOW): Likewise.
7154 (FE_INVALID): Likewise.
7155 (FE_INVALID_SNAN): Likewise.
7156 (FE_INVALID_ISI): Likewise.
7157 (FE_INVALID_IDI): Likewise.
7158 (FE_INVALID_ZDZ): Likewise.
7159 (FE_INVALID_IMZ): Likewise.
7160 (FE_INVALID_COMPARE): Likewise.
7161 (FE_INVALID_SOFTWARE): Likewise.
7162 (FE_INVALID_SQRT): Likewise.
7163 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7164 (FE_TONEAREST): Likewise.
7165 (FE_TOWARDZERO): Likewise.
7166 (FE_UPWARD): Likewise.
7167 (FE_DOWNWARD): Likewise.
7168 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7169 (FE_DIVBYZERO): Likewise.
7170 (FE_OVERFLOW): Likewise.
7171 (FE_UNDERFLOW): Likewise.
7172 (FE_INEXACT): Likewise.
7173 (FE_TONEAREST): Likewise.
7174 (FE_DOWNWARD): Likewise.
7175 (FE_UPWARD): Likewise.
7176 (FE_TOWARDZERO): Likewise.
7177 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7178 (FE_UNDERFLOW): Likewise.
7179 (FE_OVERFLOW): Likewise.
7180 (FE_DIVBYZERO): Likewise.
7181 (FE_INVALID): Likewise.
7182 (FE_TONEAREST): Likewise.
7183 (FE_TOWARDZERO): Likewise.
7184 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7185 (FE_OVERFLOW): Likewise.
7186 (FE_UNDERFLOW): Likewise.
7187 (FE_DIVBYZERO): Likewise.
7188 (FE_INEXACT): Likewise.
7189 (FE_TONEAREST): Likewise.
7190 (FE_TOWARDZERO): Likewise.
7191 (FE_UPWARD): Likewise.
7192 (FE_DOWNWARD): Likewise.
7193 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7194 (FE_DIVBYZERO): Likewise.
7195 (FE_OVERFLOW): Likewise.
7196 (FE_UNDERFLOW): Likewise.
7197 (FE_INEXACT): Likewise.
7198 (FE_TONEAREST): Likewise.
7199 (FE_DOWNWARD): Likewise.
7200 (FE_UPWARD): Likewise.
7201 (FE_TOWARDZERO): Likewise.
7203 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7205 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7207 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7209 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7210 commands. Quote $PWD.
7211 (blacklist_exports): Don't use remove_newlines. Replace "declare
7213 (remove_newlines): Remove.
7215 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7217 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7218 * stdlib/stdlib.h (atof): Moved to ...
7219 * include/bits/stdlib-float.h: Here. New file.
7220 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7221 * stdlib/bits/stdlib-float.h: New file.
7222 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7227 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7229 * conform/conformtest.pl (@headers): Add fenv.h.
7230 * conform/data/fenv.h-data: New file.
7231 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7232 include of <math/fenv.h>.
7234 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7235 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7236 && !UNIX98]. Enables tests for XOPEN2K8.
7237 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7238 POSIX2008]: Likewise.
7240 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7241 (struct rusage): Do not expect type or its members.
7244 * math/math.h (FP_NAN): Define macro to integer constant usable in
7245 #if and use that to give value to enum constant.
7246 (FP_INFINITE): Likewise.
7247 (FP_ZERO): Likewise.
7248 (FP_SUBNORMAL): Likewise.
7249 (FP_NORMAL): Likewise.
7251 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7253 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7254 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7257 2012-11-02 Roland McGrath <roland@hack.frob.com>
7259 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7260 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7261 autoconf-time if not.
7262 * configure.in: Remove AC_PREREQ.
7264 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7266 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7267 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7268 of the internal implementation.
7270 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7272 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7273 except include of <misc/sys/syslog.h>.
7275 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7278 function returns with a NULL context exit with zero.
7280 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7284 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7286 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7287 (run_program_cmd): This.
7288 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7289 (tst_langinfo): New variable. Use it.
7291 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7293 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7294 floating point opcodes.
7296 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7298 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7301 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7303 * sysdeps/mach/hurd/powerpc: Remove directory.
7304 * sysdeps/mach/powerpc: Likewise.
7306 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7308 * scripts/check-local-headers.sh: Ignore c++ headers.
7310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7312 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7313 __libc_cleanup_region_start argument.
7315 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7320 x * y using scaling, not as x * y + z.
7321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7323 * math/libm-test.inc (fma_test): Add more tests.
7324 (fma_test_towardzero): Likewise.
7325 (fma_test_downward): Likewise.
7326 (fma_test_upward): Likewise.
7328 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7330 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7332 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7334 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7337 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7339 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7341 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7348 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7351 Fix the order of the list for glibc 2.17.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7355 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7359 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7363 for low part of x being zero before using __atanl (y).
7364 * math/libm-test.inc (atan2_test): Add another test.
7366 * manual/install.texi (Configuring and compiling): Document
7367 general use of test-wrapper and test-wrapper-env.
7368 * INSTALL: Regenerated.
7370 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7371 (__fma): Do not extract and scale down low bits on after-rounding
7372 systems when result rounded to normal precision would have normal
7374 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7375 (__fmal): Do not extract and scale down low bits on after-rounding
7376 systems when result rounded to normal precision would have normal
7378 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7379 (__fmal): Do not extract and scale down low bits on after-rounding
7380 systems when result rounded to normal precision would have normal
7382 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7384 (fma_test): Add more tests.
7385 (fma_test_towardzero): Likewise.
7386 (fma_test_downward): Likewise.
7387 (fma_test_upward): Likewise.
7389 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7391 * sysdeps/i386/tininess.h: Renamed to ...
7392 * sysdeps/x86/tininess.h: This.
7393 * sysdeps/x86_64/tininess.h: Removed.
7395 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7397 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7398 input. Use $(build-program-cmd).
7399 ($(objpfx)tst-array1-static.out): Likewise.
7400 ($(objpfx)tst-array2.out): Likewise.
7401 ($(objpfx)tst-array3.out): Likewise.
7402 ($(objpfx)tst-array4.out): Likewise.
7403 ($(objpfx)tst-array5.out): Likewise.
7404 ($(objpfx)tst-array5-static.out): Likewise.
7406 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7408 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7411 * nss/nsswitch.h (nss_interface_function): Provide new
7412 macro for use with NSS functions.
7413 * grp/initgroups.c: Use new macro.
7414 * nss/getXXbyYY.c: Likewise.
7415 * nss/getXXbyYY_r.c: Likewise.
7416 * nss/getXXent.c: Likewise.
7417 * nss/getXXent_r.c: Likewise.
7418 * sysdeps/posix/getaddrinfo.c: Likewise.
7420 2012-10-30 Andreas Jaeger <aj@suse.de>
7422 * po/ru.po: Update Russion translation from translation project.
7424 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7429 result and shift together with sticky bit instead of replicating
7430 round-to-nearest rounding.
7431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7433 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7434 missing underflow exceptions.
7435 (fma_test_towardzero): Add more tests.
7436 (fma_test_downward): Likewise.
7437 (fma_test_upward): Likewise.
7440 * sysdeps/generic/tininess.h: New file.
7441 * sysdeps/i386/tininess.h: Likewise.
7442 * sysdeps/sh/tininess.h: Likewise.
7443 * sysdeps/x86_64/tininess.h: Likewise.
7444 * stdlib/tst-strtod-underflow.c: Likewise.
7445 * stdlib/tst-tininess.c: Likewise.
7446 * stdlib/strtod_l.c: Include <tininess.h>.
7447 (round_and_return): Do not set errno for exact underflow cases.
7448 Force an underflow exception when setting errno for underflow.
7449 Determine underflow based on rounding to normal precision if
7450 TININESS_AFTER_ROUNDING.
7451 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7452 ERANGE for exact underflow cases.
7453 * stdlib/Makefile (tests): Add tst-tininess and
7454 tst-strtod-underflow.
7455 ($(objpfx)tst-tininess): Use $(link-libm).
7456 ($(objpfx)tst-strtod-underflow): Likewise.
7458 2012-10-30 Andreas Jaeger <aj@suse.de>
7461 * elf/Makefile (tests): Remove conditional for have-initfini-array
7462 since this is now always required and the variable does not exist
7464 (tests-static): Likewise.
7465 (modules-names): Likewise.
7467 * po/eo.po: Add Esperanto translation from translation project.
7469 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7470 merged with constructor/destructor.
7471 (init_array): Likewise.
7472 * elf/tst-array2dep.c (fini_array): Likewise.
7473 (init_array): Likewise.
7475 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7477 * manual/message.texi: Delete @cartouche tags.
7479 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7481 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7483 * sysdeps/mach/hurd/fsync.c: Likewise.
7485 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7486 [_POSIX_REALTIME_SIGNALS]: Change condition to
7487 [_POSIX_REALTIME_SIGNALS > 0].
7489 2012-10-27 Andreas Jaeger <aj@suse.de>
7491 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7492 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7494 [__WORDSIZE != 64]: Likewise.
7496 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7498 * iconvdata/tst-table.sh: Remove ${SHELL}.
7499 * iconvdata/tst-tables.sh: Likewise.
7501 2012-10-25 David S. Miller <davem@davemloft.net>
7503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7504 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7509 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7510 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7511 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7514 2012-10-25 Roland McGrath <roland@hack.frob.com>
7516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7517 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7520 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7521 Jim Blandy <jimb@codesourcery.com>
7523 * scripts/cross-test-ssh.sh: New file.
7524 * manual/install.texi (Configuring and compiling): Document use of
7526 * INSTALL: Regenerated.
7528 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7530 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7533 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7535 * Makeconfig (run-program-prefix): Fix comment.
7537 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7538 Jim Blandy <jimb@codesourcery.com>
7540 * Makeconfig (test-wrapper): New variable,
7541 (test-wrapper-env): Likewise.
7542 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7543 (run-built-tests): Define to yes.
7544 (run-program-prefix): Use $(test-wrapper).
7545 (built-program-cmd): Likewise.
7546 * Rules (make-test-out): Use $(test-wrapper-env) and
7547 $(host-built-program-cmd).
7548 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7549 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7551 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7552 $(test-wrapper-env) to tst-rtld-load-self.sh.
7553 ($(objpfx)order2.out): Use $(test-wrapper).
7554 ($(objpfx)tst-initorder.out): Likewise.
7555 ($(objpfx)tst-initorder2.out): Likewise.
7556 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7557 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7558 (test_wrapper_env): New variable. Use it to run ld.so.
7559 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7560 Use it to run ld.so.
7561 (test_wrapper_env): Likewise.
7562 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7563 $(test-wrapper) to run-iconv-test.sh.
7564 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7565 (ICONV): Use $test_wrapper.
7566 * posix/Makefile ($(objpfx)globtest.out): Pass
7567 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7568 globtest.sh, not $(run-program-prefix).
7569 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7570 (test_wrapper): Likewise.
7571 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7572 set together with run_via_rtld_prefix.
7573 (run_program_prefix): Define in terms of test_wrapper and
7574 run_via_rtld_prefix.
7576 2012-10-24 Roland McGrath <roland@hack.frob.com>
7578 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7579 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7583 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7584 Declare __clock_getres, __clock_gettime, __clock_settime,
7585 __clock_nanosleep, and __clock_getcpuclockid.
7586 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7587 Remove librt_hidden_def (clock_gettime).
7588 * sysdeps/unix/clock_gettime.c: Likewise.
7589 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7591 * rt/clock_getres.c: Define __clock_getres as an alias.
7592 * sysdeps/posix/clock_getres.c: Likewise.
7593 * rt/clock_settime.c: Define __clock_settime as an alias.
7594 * sysdeps/unix/clock_settime.c: Likewise.
7595 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7596 * sysdeps/unix/clock_nanosleep.c: Likewise.
7597 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7598 * rt/clock-compat.c: New file.
7599 * rt/Makefile (librt-routines): Add clock-compat and move
7600 $(clock-routines) to ...
7601 (routines): ... here, new variable.
7602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7603 Don't add get_clockfreq here.
7604 * rt/Versions (libc: GLIBC_2.17): New version set.
7605 Add clock_* symbols here.
7606 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7608 (GLIBC_2.17): Add clock_* symbols.
7609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7620 * NEWS: Mention the move.
7622 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7623 Use __open, __read, __close rather than their public counterparts.
7624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7625 (__get_clockfreq_via_cpuinfo): Likewise.
7626 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7627 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7629 * config.h.in (HAVE_IFUNC): New #undef.
7630 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7632 * configure: Regenerated.
7634 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7636 * configure.in: Move READELF check to start of file.
7637 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7638 libc_cv_asm_gnu_indirect_function in the process.
7639 * configure: Regenerated.
7641 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7643 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7644 send the output to /dev/null.
7645 (libc_cv_cc_with_libunwind): Likewise.
7646 (libc_cv_as_noexecstack): Likewise.
7647 * configure: Regenerate.
7649 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7651 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7653 * posix/globtest.sh (TMPDIR): Do not set.
7654 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7655 (testout): Likewise.
7657 2012-10-24 Andreas Jaeger <aj@suse.de>
7659 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7660 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7661 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7662 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7663 posix_fadvise64, posix_fallocate64.
7665 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7666 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7667 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7669 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7671 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7674 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7675 <bits/fcntl-linux.h>.
7676 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7679 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7680 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7681 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7682 [__WORDSIZE != 64]: Likewise.
7684 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7686 * Makeconfig (run-built-tests): New variable.
7687 * Rules [$(cross-compiling) = yes]: Change condition to
7688 [$(run-built-tests) = no].
7689 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7690 to [$(run-built-tests) = yes].
7691 * elf/Makefile [$(cross-compiling) = no]: Likewise
7692 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7693 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7694 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7695 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7696 * io/Makefile [$(cross-compiling) = no]: Likewise.
7697 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7698 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7699 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7700 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7701 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7702 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7703 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7704 * string/Makefile [$(cross-compiling) = no]: Likewise.
7706 * posix/Makefile ($(objpfx)globtest.out): Pass
7707 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7708 $(rtld-installed-name).
7709 * posix/globtest.sh (elf_objpfx): Remove variable.
7710 (rtld_installed_name): Likewise.
7711 (library_path): Likewise.
7712 (run_program_prefix): New variable. Use for running globtest
7715 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7716 Joseph Myers <joseph@codesourcery.com>
7718 * Makeconfig (host-built-program-cmd): New variable.
7719 * elf/Makefile (tst-stackguard1-ARGS): Use
7720 $(host-built-program-cmd).
7721 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7722 (tst-spawn-ARGS): Likewise.
7723 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7725 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7726 Jim Blandy <jimb@codesourcery.com>
7728 * Makeconfig (run-via-rtld-prefix): New variable.
7729 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7730 (built-program-cmd): Likewise.
7732 2012-10-22 Andreas Jaeger <aj@suse.de>
7734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7735 __O_RSYNC if it exists, otherwise to O_SYNC.
7737 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7738 Joseph Myers <joseph@codesourcery.com>
7740 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7742 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7744 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7747 2012-10-22 Andreas Jaeger <aj@suse.de>
7749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7751 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7757 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7764 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7765 Joseph Myers <joseph@codesourcery.com>
7767 * config.make.in (NM): New variable.
7769 2012-10-21 Andreas Jaeger <aj@suse.de>
7771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7772 definitions and declarations that are provided by
7773 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7775 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7778 * elf/Makefile (tests-static): Add tst-leaks1-static.
7779 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7780 ($(objpfx)tst-leaks1-static): New rule.
7781 ($(objpfx)tst-leaks1-static-mem): Likewise.
7782 (tst-leaks1-static-ENV): New macro.
7783 * elf/dl-open.c (dl_open_worker): Check the main application
7784 only if SHARED is defined.
7785 * elf/tst-leaks1-static.c: New file.
7787 2012-10-20 Andreas Jaeger <aj@suse.de>
7789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7790 generic values for Linux.
7791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7792 and declarations that are provided by <bits/fcntl-linux.h> and
7793 include <bits/fcntl-linux.h>.
7794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7797 2012-10-20 Roland McGrath <roland@hack.frob.com>
7799 * io/fcntl.h: Move include of <bits/types.h> to the top and
7800 include it unconditionally.
7802 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7804 * wcsmbs/Makefile (tests-ifunc): New variable.
7805 (tests): Add $(tests-ifunc).
7806 * wcsmbs/test-wcschr-ifunc.c: New file.
7807 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7808 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7809 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7810 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7811 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7813 * string/Makefile (tests-ifunc): New variable.
7814 (tests): Add $(tests-ifunc).
7815 * string/test-memccpy.c (TEST_NAME): New macro.
7816 * string/test-memchr.c (TEST_NAME): Likewise.
7817 * string/test-memcmp.c (TEST_NAME): Likewise.
7818 * string/test-memcpy.c (TEST_NAME): Likewise.
7819 * string/test-memmem.c (TEST_NAME): Likewise.
7820 * string/test-memmove.c (TEST_NAME): Likewise.
7821 * string/test-memset.c (TEST_NAME): Likewise.
7822 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7823 * string/test-stpcpy.c (TEST_NAME): Likewise.
7824 * string/test-stpncpy.c (TEST_NAME): Likewise.
7825 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7826 * string/test-strcasestr.c (TEST_NAME): Likewise.
7827 * string/test-strcat.c (TEST_NAME): Likewise.
7828 * string/test-strchr.c (TEST_NAME): Likewise.
7829 * string/test-strcmp.c(TEST_NAME): Likewise.
7830 * string/test-strcpy.c (TEST_NAME): Likewise.
7831 * string/test-strcspn.c (TEST_NAME): Likewise.
7832 * string/test-strlen.c (TEST_NAME): Likewise.
7833 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7834 * string/test-strncmp.c (TEST_NAME): Likewise.
7835 * string/test-strncpy.c (TEST_NAME): Likewise.
7836 * string/test-strnlen.c (TEST_NAME): Likewise.
7837 * string/test-strpbrk.c (TEST_NAME): Likewise.
7838 * string/test-strrchr.c (TEST_NAME): Likewise.
7839 * string/test-strspn.c (TEST_NAME): Likewise.
7840 * string/test-strstr.c (TEST_NAME): Likewise.
7841 * string/test-bcopy-ifunc.c: New file.
7842 * string/test-bzero-ifunc.c: Likewise.
7843 * string/test-memccpy-ifunc.c: Likewise.
7844 * string/test-memchr-ifunc.c: Likewise.
7845 * string/test-memcmp-ifunc.c: Likewise.
7846 * string/test-memcpy-ifunc.c: Likewise.
7847 * string/test-memmem-ifunc.c: Likewise.
7848 * string/test-memmove-ifunc.c: Likewise.
7849 * string/test-mempcpy-ifunc.c: Likewise.
7850 * string/test-memset-ifunc.c: Likewise.
7851 * string/test-rawmemchr-ifunc.c: Likewise.
7852 * string/test-stpcpy-ifunc.c: Likewise.
7853 * string/test-stpncpy-ifunc.c: Likewise.
7854 * string/test-strcasecmp-ifunc.c: Likewise.
7855 * string/test-strcasestr-ifunc.c: Likewise.
7856 * string/test-strcat-ifunc.c: Likewise.
7857 * string/test-strchr-ifunc.c: Likewise.
7858 * string/test-strchrnul-ifunc.c: Likewise.
7859 * string/test-strcmp-ifunc.c: Likewise.
7860 * string/test-strcpy-ifunc.c: Likewise.
7861 * string/test-strcspn-ifunc.c: Likewise.
7862 * string/test-strlen-ifunc.c: Likewise.
7863 * string/test-strncasecmp-ifunc.c: Likewise.
7864 * string/test-strncat-ifunc.c: Likewise.
7865 * string/test-strncmp-ifunc.c: Likewise.
7866 * string/test-strncpy-ifunc.c: Likewise.
7867 * string/test-strnlen-ifunc.c: Likewise.
7868 * string/test-strpbrk-ifunc.c: Likewise.
7869 * string/test-strrchr-ifunc.c: Likewise.
7870 * string/test-strspn-ifunc.c: Likewise.
7871 * string/test-strstr-ifunc.c: Likewise.
7873 * debug/Makefile (tests-ifunc): New variable.
7874 (tests): Add $(tests-ifunc).
7875 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7876 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7877 * debug/test-stpcpy_chk-ifunc.c: New file.
7878 * debug/test-strcpy_chk-ifunc.c: Likewise.
7880 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7884 header is not read in.
7886 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7888 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7889 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7890 directly. Pass built executable to script as
7891 $(built-program-cmd).
7892 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7893 $testprogram without using LD_LIBRARY_PATH and $ldso.
7895 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7896 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7897 $(rtld-installed-name).
7898 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7899 (rtld_installed_name): Likewise.
7900 (library_path): Likewise.
7901 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7902 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7903 $(run-program-prefix) to tst-tables.sh.
7904 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7905 it to run tst-table-from and tst-table-to.
7906 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7907 Pass it to tst-table.sh.
7908 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7909 $(run-program-prefix) to tst-gettext.sh.
7910 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7912 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7914 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7916 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7917 to run tst-gettext2.
7918 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7919 to run tst-translit.
7920 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7921 $(run-program-prefix) to tst-mtrace.sh.
7922 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7924 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7925 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7926 $(rtld-installed-name).
7927 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7928 (rtld_installed_name): Likewise.
7929 (run_program_prefix): New variable. Use it to run wordexp-test.
7931 * Makeconfig (ARCH): Remove all definitions.
7932 (machine): Likewise.
7933 [ARCH]: Remove conditional code.
7934 [!objdir]: Give error.
7935 [!objdir] (objpfx): Remove.
7936 [!objdir] (common-objpfx): Likewise.
7937 [!objdir] (common-objdir): Likewise.
7938 * configure.in (config_makefile): Remove. Hardcode Makefile in
7939 AC_CONFIG_FILES call.
7940 * configure: Regenerated.
7943 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7945 (testout): Likewise.
7947 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7948 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7949 $(rtld-installed-name).
7950 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7951 (rtld_installed_name): Likwise.
7952 (runit): Remove function.
7953 (run_getconf): New variable, Use it for running getconf binary.
7955 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7958 * string/test-memmem.c (check_result): New function.
7959 (do_one_test): Use it.
7960 (check1): New function.
7961 (test_main): Use it.
7963 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7965 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7967 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7969 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7970 (_G_LSEEK64): Likewise.
7971 (_G_MMAP64): Likewise.
7972 (_G_FSTAT64): Likewise.
7973 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7974 (_G_LSEEK64): Likewise.
7975 (_G_MMAP64): Likewise.
7976 (_G_FSTAT64): Likewise.
7977 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7978 unconditional. Call __mmap64 directly.
7979 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7980 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7982 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7983 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7985 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7986 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7988 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7989 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7991 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7992 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7994 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7995 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7996 __fxstat64 directly.
7997 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7998 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8000 (freopen64) [!_G_OPEN64]: Remove conditional code.
8001 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8003 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8004 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8006 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8007 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8009 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8010 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8012 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8013 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8015 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8016 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8018 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8019 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8021 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8023 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8026 * manual/memory.texi (Malloc Tunable Parameters): Add note
8027 about free list pointers overwriting some perturb bytes.
8028 Wording suggested by Roland McGrath.
8030 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8032 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8033 (lgamma_test): Likewise.
8034 (tgamma_test): Likewise.
8036 2012-10-16 Florian Weimer <fweimer@redhat.com>
8039 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8040 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8042 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8044 * NEWS: Mention BZ #14716.
8045 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8046 when removing AVAILABLE1_USES_J macro.
8048 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8051 (__bswap_64): __uint64_t for unsigned 64-bit int.
8053 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8055 * include/string.h (memmem): Declare libc hidden alias.
8056 * string/memmem.c (memmem): Define libc hidden alias.
8057 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8058 __read, __close instead of open, read, close.
8060 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8063 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8065 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8066 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8067 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8069 (__rawmemchr_sse2): Likewise.
8070 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8071 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8072 (__strchr_sse2): Likewise.
8073 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8074 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8075 (__strcasecmp_sse2): Likewise.
8076 (__strncasecmp_sse2): Likewise.
8077 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8078 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8079 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8080 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8081 (__strrchr_sse2): Likewise.
8082 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8084 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8085 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8086 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8087 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8088 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8092 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8093 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8094 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8095 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8096 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8097 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8098 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8099 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8100 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8101 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8102 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8103 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8104 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8105 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8106 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8107 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8108 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8109 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8110 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8111 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8112 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8113 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8117 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8118 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8119 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8120 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8122 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8124 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8125 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8126 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8127 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8129 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8136 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8147 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8162 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8163 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8166 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8171 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8172 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8173 * include/ifunc-impl-list.h: New file.
8174 * misc/ifunc-impl-list.c: Likewise.
8175 * misc/Makefile (routines): Add ifunc-impl-list.
8176 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8177 * string/test-string.h: Include <ifunc-impl-list.h>.
8178 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8179 impl_array): New variables.
8180 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8182 (test_init): Call __libc_ifunc_impl_list to initialize
8183 func_list if TEST_IFUNC and TEST_NAME are defined.
8185 * string/Makefile (strop-tests): Add bcopy and bzero.
8186 * string/test-bcopy.c: New file.
8187 * string/test-bzero.c: Likewise.
8188 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8190 * string/test-memset.c: Support bzero test if TEST_BZERO is
8192 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8194 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8196 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8199 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8201 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8202 * configure: Regenerated.
8204 * Makeconfig (+link-static-before-libc): Don't include
8205 $(link-static-libc).
8207 * libio/libio.h (_IO_pos_t): Remove.
8209 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8211 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8214 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8216 * crypt/crypt-entry.c: Include fips-private.h.
8217 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8218 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8219 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8220 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8222 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8224 * crypt/crypt-private.h: Include stdbool.h.
8225 (_ufc_setup_salt_r): Return bool.
8226 * crypt/crypt-entry.c: Include errno.h.
8227 (__crypt_r): Return NULL with EINVAL for bad salt.
8228 * crypt/crypt_util.c (bad_for_salt): New.
8229 (_ufc_setup_salt_r): Check that salt is long enough and within
8230 the specified alphabet.
8231 * crypt/badsalttest.c: New file.
8232 * crypt/Makefile (tests): Add it.
8233 ($(objpfx)badsalttest): New.
8235 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8237 * NEWS: Add entry for BZ #14602.
8239 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8241 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8243 * math/libm-test.inc: Update comment listing what functions and
8245 (isgreater_test): New function.
8246 (isgreaterequal_test): Likewise.
8247 (isless_test): Likewise.
8248 (islessequal_test): Likewise.
8249 (islessgreater_test): Likewise.
8250 (isunordered_test): Likewise.
8251 (main): Call the new functions.
8253 2012-10-09 Roland McGrath <roland@hack.frob.com>
8255 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8256 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8257 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8258 * sysdeps/i386/configure: Regenerated.
8259 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8260 * sysdeps/mach/configure: Regenerated.
8261 * sysdeps/mach/hurd/configure: Regenerated.
8262 * sysdeps/powerpc/configure: Regenerated.
8263 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8264 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8265 * sysdeps/s390/s390-32/configure: Regenerated.
8266 * sysdeps/s390/s390-64/configure: Regenerated.
8267 * sysdeps/sh/configure: Regenerated.
8268 * sysdeps/sparc/configure: Regenerated.
8269 * sysdeps/unix/sysv/linux/configure: Regenerated.
8270 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8271 * sysdeps/x86_64/configure: Regenerated.
8273 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8274 defined. Don't check if MAP is NULL.
8276 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8278 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8279 (_G_stat64): Likewise.
8280 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8281 (_G_stat64): Likewise.
8282 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8283 instead of struct _G_stat64.
8284 * libio/fileops.c (mmap_remap_check): Likewise.
8285 (decide_maybe_mmap): Likewise.
8286 (_IO_new_file_seekoff): Likewise.
8287 (_IO_file_stat): Likewise.
8288 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8290 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8291 instead of struct _G_stat64.
8292 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8294 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8297 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8299 (CHECK_EOL): New macro.
8300 (two_way_short_needle): Check beginning of haystack for EOL. Use
8302 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8303 Replace with CHECK_EOL.
8304 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8305 Replace with CHECK_EOL.
8307 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8309 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8311 * math/libm-test.inc: Update comment listing what functions and
8313 (finite_test): New function.
8314 (isinf_test): Likewise.
8315 (isnan_test): Likewise.
8316 (fpclassify_test): Test subnormal input.
8317 (isfinite_test): Likewise.
8318 (isnormal_test): Likewise.
8319 (main): Call the new functions.
8321 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8324 * Makerules (%.dynsym): Force C locale when running
8325 $(OBJDUMP) --dynamic-syms.
8327 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8329 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8332 2012-10-06 David S. Miller <davem@davemloft.net>
8334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8335 upper 32-bits of the length value in %o2 since we use branch-on-register
8336 tests which consider the entire 64-bit register.
8338 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8340 * string/test-strstr.c (check2): Add a test for page boundary.
8342 2012-10-05 David S. Miller <davem@davemloft.net>
8344 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8347 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8349 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8350 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8351 and bzero when HWCAP_SPARC_CRYPTO is present.
8353 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8356 * string/test-strstr.c (check2): New function.
8357 (test_main): Call check2.
8359 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8361 * string/bug-strcasestr1.c (do_test): Moved to ...
8362 * string/test-strcasestr.c (check1): Here. New function.
8363 (do_one_test): Break out result checking code into ...
8364 (check_result): This. New function.
8365 (do_one_test): Call check_result.
8366 (test_main): Call check1.
8367 * string/bug-strchr1.c (do_test): Moved to ...
8368 * string/test-strchr.c (check1): Here. New function.
8369 (do_one_test): Break out result checking code into ...
8370 (check_result): This. New function.
8371 (do_one_test): Call check_result.
8372 (test_main): Call check1.
8373 * string/bug-strstr1.c (main): Moved to ...
8374 * string/test-strstr.c (check1): Here. New function.
8375 (do_one_test): Break out result checking code into ...
8376 (check_result): This. New function.
8377 (do_one_test): Call check_result.
8378 (test_main): Call check1.
8379 * string/bug-strcasestr1.c: Removed.
8380 * string/bug-strchr1.c: Likewise.
8381 * string/bug-strstr1.c: Likewise.
8383 * elf/Makefile (dl-routines): Add hwcaps.
8384 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8385 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8386 (_dl_important_hwcaps): Moved to ...
8387 * elf/dl-hwcaps.c: Here. New file.
8388 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8391 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8392 if IS_IN_rtld isn't defined.
8394 * elf/dl-support.c (_dl_sysinfo_map): New.
8395 Include "get-dynamic-info.h" and "setup-vdso.h".
8396 (_dl_non_dynamic_init): Call setup_vdso.
8397 * elf/dynamic-link.h: Don't include <assert.h>.
8398 (elf_get_dynamic_info): Moved to ...
8399 * elf/get-dynamic-info.h: Here. New file.
8400 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8401 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8402 * elf/setup-vdso.h: Here. New file.
8403 * elf/rtld.c: Include "setup-vdso.h".
8404 (dl_main): Call setup_vdso.
8406 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8408 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8409 creal in comment listing functions tested. List finite, isinf,
8410 isnan, isless, islessequal, isgreater, isgreaterequal,
8411 islessgreater, isunordered, lgamma_r and pow10 as functions and
8412 macros not tested. Mention which functions not tested are aliases
8413 for other functions. Fix typo. Note that signs of NaNs are not
8416 * scripts/config.guess: Update from config.git.
8417 * scripts/config.sub: Likewise.
8419 2012-10-04 Roland McGrath <roland@hack.frob.com>
8421 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8422 * misc/madvise.c (madvise): Renamed to __madvise.
8423 Make madvise a weak alias.
8424 * include/sys/mman.h: Declare __madvise.
8425 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8426 * sysdeps/unix/syscalls.list
8427 (madvise): Make __madvise the strong name, and madvise a weak alias.
8428 * sysdeps/unix/sysv/linux/syscalls.list
8429 (madvise, mmap): Remove redundant entries.
8430 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8431 * malloc/malloc.c (mtrim): Likewise.
8432 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8434 2012-10-03 Roland McGrath <roland@hack.frob.com>
8436 * sysdeps/mach/hurd/dl-cache.c: File removed.
8437 * config.h.in (USE_LDCONFIG): New #undef.
8438 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8439 * configure: Regenerated.
8440 * elf/Makefile (dl-routines): Add dl-cache only under
8441 [$(use-ldconfig) = yes].
8442 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8443 cache on [USE_LDCONFIG].
8444 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8446 * elf/rtld.c (dl_main): Likewise.
8448 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8450 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8451 _SC_LEVEL4_CACHE_LINESIZE.
8453 2012-10-03 Roland McGrath <roland@hack.frob.com>
8455 * sysdeps/unix/bsd/confstr.h: File removed.
8457 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8459 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8462 2012-10-02 Roland McGrath <roland@hack.frob.com>
8464 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8465 Make 'mapoff' field ElfW(Off) rather than off_t.
8467 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8469 * nscd/Makefile: Remove nscd-cflags and all its users.
8470 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8471 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8474 * malloc.c (malloc_printerr): Clarify error message.
8476 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8480 Set bit_FMA_Usable if FMA is supported.
8481 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8483 (bit_FMA4_Usable): Updated.
8484 (index_FMA_Usable): New macro.
8485 (CPUID_FMA): Likewise
8486 (HAS_FMA): Defined with bit_FMA_Usable.
8488 2012-10-01 Roland McGrath <roland@hack.frob.com>
8490 * bits/types.h (__swblk_t): Type removed.
8491 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8492 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8493 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8494 (__SWBLK_T_TYPE): Likewise.
8495 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8496 (__SWBLK_T_TYPE): Likewise.
8497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8498 (__SWBLK_T_TYPE): Likewise.
8499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8500 (__SWBLK_T_TYPE): Likewise.
8502 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8503 Honza Horak <hhorak@redhat.com>
8505 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8506 (xdr_mapname): Use YPMAXMAP as maxsize.
8507 (xdr_peername): Use YPMAXPEER as maxsize.
8508 (xdr_keydat): Use YPAXRECORD as maxsize.
8509 (xdr_valdat): Use YPMAXRECORD as maxsize.
8511 2012-10-01 Roland McGrath <roland@hack.frob.com>
8513 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8515 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8516 * csu/init-first.c: ... here.
8517 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8518 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8519 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8520 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8521 * sysdeps/i386/init-first.c: File removed.
8522 * sysdeps/sh/init-first.c: File removed.
8524 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8528 if x * y might underflow to zero and z is zero.
8529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8531 * math/libm-test.inc (min_subnorm_value): New variable.
8532 (fma_test): Add more tests.
8533 (fma_test_towardzero): Likewise.
8534 (fma_test_downward): Likewise
8535 (fma_test_upward): Likewise.
8536 (initialize): Set min_subnorm_value.
8538 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8544 mode for addition resulting in exact zero.
8545 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8548 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8550 * math/libm-test.inc (fma_test): Add more tests.
8551 (fma_test_towardzero): New function.
8552 (fma_test_downward): Likewise.
8553 (fma_test_upward): Likewise.
8554 (main): Call the new functions.
8556 2012-09-28 David S. Miller <davem@davemloft.net>
8558 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8560 2012-09-28 Roland McGrath <roland@hack.frob.com>
8562 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8565 * sysdeps/gnu/_G_config.h: Moved to ...
8566 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8567 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8568 * sysdeps/generic/_G_config.h: ... here.
8570 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8572 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8574 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8575 Conditionalize target on [libnss_test1.so-version].
8577 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8579 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8580 (elfobjdir): Move out of conditionals.
8582 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8583 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8584 (__nss_lookup_function): Conditionalize label remove_from_tree on
8585 [!DO_STATIC_NSS || SHARED], matching its only use.
8587 2012-09-28 David S. Miller <davem@davemloft.net>
8589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8592 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8594 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8596 when HWCAP_SPARC_CRYPTO is present.
8598 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8600 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8602 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8605 * stdio-common/vfprintf.c (process_string_arg): Revert
8608 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8610 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8612 * stdio-common/tst-sprintf.c: Include <locale.h>
8613 (main): Test sprintf's handling of incomplete multibyte
8616 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8618 * elf/dl-runtime.c (VERSYMIDX): Removed.
8619 * elf/dl-version.c (VERSYMIDX): Likewise.
8620 * elf/do-rel.h (VERSYMIDX): Likewise.
8622 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8623 * elf/rtld.c (VALIDX): Likewise.
8624 (ADDRIDX): Likewise.
8625 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8626 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8627 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8628 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8630 (ADDRIDX): Likewise.
8632 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8634 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8636 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8639 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8641 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8642 addresses are in the same scope as 192.0.2/24.
8643 * posix/gai.conf: Document new scope table defaults.
8645 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8648 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8649 for ftell. Compute offsets from write pointers instead.
8650 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8652 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8655 * libio/Makefile (tests): New test case tst-fseek.
8656 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8657 combination works in wide mode.
8658 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8659 state when the external buffer state changes.
8661 2012-09-27 David S. Miller <davem@davemloft.net>
8664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8665 pass reloc->r_addend in as the 'high' argument to
8666 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8670 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8672 * rt/tst-aio2.c: Include <pthread.h>.
8673 * rt/tst-aio3.c: Likewise.
8675 2012-09-27 Steve Ellcey <sellcey@mips.com>
8677 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8679 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8681 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8682 contents on [SHARED].
8684 2012-09-26 Marek Polacek <polacek@redhat.com>
8688 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8689 for C++ and GCC <4.3 as well as for non GCC compilers.
8691 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8695 2012-09-25 Roland McGrath <roland@hack.frob.com>
8697 * Makefile.in (all, install): Declare with .PHONY.
8698 Reported by Michael Hope <michael.hope@linaro.org>.
8700 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8702 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8703 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8705 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8707 (sydep_routines): Add the new and the internal functions.
8708 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8709 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8711 (GLIBC_2.17): Add the new function.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8713 (GLIBC_2.17): Likewise.
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8715 (GLIBC_2.17): Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8717 (GLIBC_2.17): Likewise.
8718 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8720 2012-09-25 Alan Modra <amodra@gmail.com>
8722 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8723 Add release barrier before setting once_control to say
8724 initialisation is done. Add hints on lwarx. Use macro in
8726 (clear_once_control): Add release barrier.
8728 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8731 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8733 * math/s_clog10.c (__clog10): Likewise.
8734 * math/s_clog10f.c (__clog10f): Likewise.
8735 * math/s_clog10l.c (__clog10l): Likewise.
8736 * math/s_clogf.c (__clogf): Likewise.
8737 * math/s_clogl.c (__clogl): Likewise.
8738 * math/Makefile (libm-calls): Add x2y2m1.
8739 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8740 (__x2y2m1): Likewise.
8741 (__x2y2m1l): Likewise.
8742 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8743 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8748 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8749 * sysdeps/i386/fpu/libm-test-ulps: Update.
8750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8753 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8754 int as type of variable DEPTH.
8755 (glob): Use size_t instead of int as type of variables NEWCOUNT
8758 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8760 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8762 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8763 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8764 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8765 macros for using routine as __sincosf_ia32.
8766 Use macro for function declaration and weak_alias.
8767 * sysdeps/i386/fpu/libm-test-ulps: Update.
8769 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8772 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8774 * math/s_cexpf.c (__cexpf): Likewise.
8775 * math/s_csinf.c (__csinf): Likewise.
8776 * math/s_csinhf.c (__csinhf): Likewise.
8777 * math/s_ctanf.c (__ctanf): Likewise.
8778 * math/s_ctanhf.c (__ctanhf): Likewise.
8779 * math/s_ccosh.c (__ccoshf): Likewise.
8780 * math/s_cexp.c (__cexpl): Likewise.
8781 * math/s_csin.c (__csin): Likewise.
8782 * math/s_csinh.c (__csinh): Likewise.
8783 * math/s_ctan.c (__ctan): Likewise.
8784 * math/s_ctanh.c (ctanh): Likewise.
8785 * math/s_ccoshl.c (__ccoshl): Likewise.
8786 * math/s_cexpl.c (__cexpl): Likewise.
8787 * math/s_csinl.c (__csinl): Likewise.
8788 * math/s_csinhl.c (__csinhl): Likewise.
8789 * math/s_ctanl.c (__ctanl): Likewise.
8790 * math/s_ctanhl.c (__ctanhl): Likewise.
8792 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8794 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8795 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8796 (_IO_off_t): Define to __off_t, not _G_off_t.
8797 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8798 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8799 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8800 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8801 type of __dummy and __dummy2 fields.
8802 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8803 (_G_ssize_t): Likewise.
8804 (_G_off_t): Likewise.
8805 (_G_pid_t): Likewise.
8806 (_G_uid_t): Likewise.
8807 (_G_wchar_t): Likewise.
8808 (_G_wint_t): Likewise.
8809 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8810 (_G_ssize_t): Likewise.
8811 (_G_off_t): Likewise.
8812 (_G_pid_t): Likewise.
8813 (_G_uid_t): Likewise.
8814 (_G_wchar_t): Likewise.
8815 (_G_wint_t): Likewise.
8816 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8817 (_G_ssize_t): Likewise.
8818 (_G_off_t): Likewise.
8819 (_G_pid_t): Likewise.
8820 (_G_uid_t): Likewise.
8821 (_G_wchar_t): Likewise.
8822 (_G_wint_t): Likewise.
8824 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * malloc/arena.c: Include malloc-sysdep.h.
8827 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8828 is sufficient to shrink the heap or an unmap is needed.
8829 * sysdeps/generic/malloc-sysdep.h: New file. Define
8830 new function check_may_shrink_heap.
8831 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8832 new function check_may_shrink_heap.
8834 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8836 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8839 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8841 * catgets/test-gencat.sh: Add "set -e".
8842 * elf/tst-pathopt.sh: Likewise.
8843 * grp/tst_fgetgrent.sh: Likewise.
8844 * iconvdata/run-iconv-test.sh: Likewise.
8845 * intl/tst-gettext.sh: Likewise.
8846 * intl/tst-gettext2.sh: Likewise.
8847 * intl/tst-gettext4.sh: Likewise.
8848 * intl/tst-gettext6.sh: Likewise.
8849 * intl/tst-translit.sh: Likewise.
8850 * io/ftwtest-sh: Likewise.
8851 * libio/test-freopen.sh: Likewise.
8852 * malloc/tst-mtrace.sh: Likewise.
8853 * posix/globtest.sh: Likewise.
8854 * posix/tst-getconf.sh: Likewise.
8855 * posix/wordexp-tst.sh: Likewise.
8856 * stdio-common/tst-printf.sh: Likewise.
8857 * stdio-common/tst-unbputc.sh: Likewise.
8858 * stdlib/tst-fmtmsg.sh: Likewise.
8859 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8860 * catgets/Makefile: Do not specify -e option when running
8861 testsuite shell scripts.
8862 * elf/Makefile: Likewise.
8863 * grp/Makefile: Likewise.
8864 * iconvdata/Makefile: Likewise.
8865 * intl/Makefile: Likewise.
8866 * io/Makefile: Likewise.
8867 * libio/Makefile: Likewise.
8868 * malloc/Makefile: Likewise.
8869 * posix/Makefile: Likewise.
8870 * stdio-common/Makefile: Likewise.
8871 * stdlib/Makefile: Likewise.
8872 * sysdeps/x86_64/Makefile: Likewise.
8874 * io/ftwtest-sh: Add copyright header.
8875 * posix/globtest.sh: Likewise.
8876 * posix/tst-getconf.sh: Likewise.
8877 * posix/wordexp-tst.sh: Likewise.
8878 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8880 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8883 * Makeconfig (+link): Defined as $(+link-static) if
8884 $(build-shared) isn't yes.
8885 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8887 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8889 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8892 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8893 new chunk size with MALLOC_ALIGN_MASK.
8895 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8898 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8900 (__printf_fphex): Determine rounding using get_rounding_mode and
8902 * stdio-common/tst-printf-round.c (struct hex_test): New
8904 (hex_tests): New variable.
8905 (test_hex_in_one_mode): New function.
8906 (do_test): Also run tests for hex float output.
8908 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8910 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8911 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8912 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8913 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8914 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8915 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8916 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8917 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8919 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8921 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8922 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8923 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8924 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8926 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8929 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8931 * elf/tst-rtld-load-self.sh: New test.
8932 * elf/Makefile: Run it.
8934 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8936 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8937 (tst-writev-ENV): Remove.
8938 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8940 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8942 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8944 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8946 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8948 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8950 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8951 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8952 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8955 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8958 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8959 * config.make.in (have-cpp-asm-debuginfo): Removed.
8960 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8961 * configure: Regenerated.
8963 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8966 * stdio-common/printf_fp.c: Include <stdbool.h> and
8968 (___printf_fp): Determine rounding using get_rounding_mode and
8970 * stdio-common/tst-printf-round.c: New file.
8971 * stdio-common/Makefile (tests): Add tst-printf-round.
8972 (link-libm): New variable.
8973 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8975 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8978 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8979 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8981 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8984 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8986 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8987 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8988 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8989 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8991 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8994 * include/rounding-mode.h: New file.
8995 * sysdeps/generic/get-rounding-mode.h: Likewise.
8996 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8997 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8998 (MAX_VALUE): New macro.
8999 (MIN_VALUE): Likewise.
9000 (overflow_value): New function.
9001 (underflow_value): Likewise.
9002 (round_and_return): Use overflow_value and underflow_value to
9003 determine return values in overflow and underflow cases. Use
9004 round_away to determine rounding depending on rounding mode.
9005 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9006 determine return values in overflow and underflow cases.
9007 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9008 (struct test_results): New structure.
9009 (struct test): Use struct test_results to store expected results
9010 for all rounding modes.
9011 (TEST): Include expected results for all rounding modes.
9012 (test_in_one_mode): New function.
9013 (do_test): Use test_in_one_mode to compute and check results.
9014 Check results for all rounding modes.
9015 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9018 2012-12-09 Allan McRae <allan@archlinux.org>
9020 * sysdeps/i386/fpu/libm-test-ulps: Update
9022 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9024 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9025 (_G_int32_t): Likewise.
9026 (_G_uint16_t): Likewise.
9027 (_G_uint32_t): Likewise.
9028 (_G_HAVE_BOOL): Likewise.
9029 (_G_HAVE_ATEXIT): Likewise.
9030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9031 (_G_HAVE_IO_FILE_OPEN): Likewise.
9032 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9033 (_G_int32_t): Likewise.
9034 (_G_uint16_t): Likewise.
9035 (_G_uint32_t): Likewise.
9036 (_G_HAVE_BOOL): Likewise.
9037 (_G_HAVE_ATEXIT): Likewise.
9038 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9039 (_G_HAVE_IO_FILE_OPEN): Likewise.
9040 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9041 (_G_int32_t): Likewise.
9042 (_G_uint16_t): Likewise.
9043 (_G_uint32_t): Likewise.
9044 (_G_HAVE_BOOL): Likewise.
9045 (_G_HAVE_ATEXIT): Likewise.
9046 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9047 (_G_HAVE_IO_FILE_OPEN): Likewise.
9049 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9051 * csu/libc-tls.c: Update copyright years.
9053 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9055 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9056 [!_G_USING_THUNKS]: Remove conditional code.
9057 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9058 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9060 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9061 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9062 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9063 (_G_VTABLE_LABEL_PREFIX): Likewise.
9064 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9065 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9066 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9067 (_G_VTABLE_LABEL_PREFIX): Likewise.
9068 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9069 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9070 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9071 (_G_VTABLE_LABEL_PREFIX): Likewise.
9072 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9074 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9076 * libio/Makefile: Include ../Makeconfig before tests.
9077 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9078 only if $(build-shared) is yes.
9080 * iconv/gconv_db.c: Update copyright years.
9082 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9085 unwind info if defined PIC. Fix special cases description.
9086 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9088 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9090 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9092 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9094 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9096 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9099 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9100 (LDLIBS-tst-chk4): This.
9101 (LDFLAGS-tst-chk5): Renamed to ...
9102 (LDLIBS-tst-chk5): This.
9103 (LDFLAGS-tst-chk6): Renamed to ...
9104 (LDLIBS-tst-chk6): This.
9105 (LDFLAGS-tst-lfschk4): Renamed to ...
9106 (LDLIBS-tst-lfschk4): This.
9107 (LDFLAGS-tst-lfschk5): Renamed to ...
9108 (LDLIBS-tst-lfschk5): This.
9109 (LDFLAGS-tst-lfschk6): Renamed to ...
9110 (LDLIBS-tst-lfschk6): This.
9112 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9113 on $(common-objpfx)soversions.mk.
9115 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9118 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9121 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9123 * malloc/arena.c (arena_get_retry): New function that gets
9124 another arena for the caller to try its request on.
9125 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9126 current arena cannot fulfill the request.
9127 (__libc_memalign): Likewise.
9128 (__libc_memalign): Likewise.
9129 (__libc_pvalloc): Likewise.
9130 (__libc_calloc): Likewise.
9132 2012-09-05 John Tobey <john.tobey@gmail.com>
9135 * manual/arith.texi (Operations on Complex): Fix description
9138 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9141 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9145 * manual/memory.texi (Memory): Make order of menu items match
9148 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9150 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9151 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9152 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9154 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9156 * csu/libc-tls.c (static_dtv): Renamed to ...
9157 (_dl_static_dtv): This. Make it global.
9158 (_dl_initial_dtv): Removed.
9159 (__libc_setup_tls): Updated.
9160 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9161 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9164 2012-09-06 Petr Machata <pmachata@redhat.com>
9166 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9167 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9168 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9169 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9171 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9174 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9175 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9178 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9181 * Makeconfig (link-static-before-libc): Replace $(+prector)
9183 (link-static-after-libc): Replace $(+postctor) with
9185 (link-bounded): Replace $(+prector)/$(+postctor) with
9186 $(+prectorT)/$(+postctorT).
9187 (+prectorT): New macro.
9188 (+postctorT): Likewise.
9190 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9192 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9193 (round_str): Handle values above the maximum for IBM long double
9195 * stdlib/tst-strtod-round.c (tests): Regenerated.
9197 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9199 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9201 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9202 zarch_nohighgprs around the zarch optimized routines.
9203 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9204 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9208 2012-09-05 David S. Miller <davem@davemloft.net>
9210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9212 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9213 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9214 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9215 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9220 * malloc/arena.c: Fold copyright years.
9221 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9223 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9225 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9227 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9229 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9231 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9233 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9234 change internal state upon failure.
9236 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9238 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9239 * malloc/memusage.c (mmap): Likewise.
9240 (mmap64, mremap): Likewise. Adjust name in comment.
9242 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9244 * libio/fileops.c: Fix typos in comments.
9245 * libio/oldfileops.c: Likewise.
9246 * libio/wfileops.c: Likewise.
9248 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9251 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9252 (tst-malloc-usable-ENV): Set environment for test case.
9253 * malloc/hooks.c (malloc_check_get_size): New function to get
9255 * malloc/malloc.c (musable): Use malloc_check_get_size.
9256 * malloc/tst-malloc-usable.c: New test case.
9258 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9260 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9262 2012-09-05 Allan McRae <allan@archlinux.org>
9265 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9266 determine header location.
9267 * configure: Regenerated.
9269 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9271 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9273 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9274 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9278 2012-09-04 David S. Miller <davem@davemloft.net>
9280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9282 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9284 2012-09-04 Florian Weimer <fweimer@redhat.com>
9286 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9289 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9291 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9294 * libio/iogetdelim.c: Include <limits.h>.
9295 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9296 + len + 1 would overflow.
9298 2012-09-03 Andreas Jaeger <aj@suse.de>
9300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9301 * sysdeps/i386/fpu/libm-test-ulps: Update.
9303 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9305 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9306 Add s_sinf-sse2, s_conf-sse2.
9308 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9309 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9310 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9311 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9313 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9314 for using routine as __sinf_ia32.
9315 Use macro for function declaration and weak_alias.
9316 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9317 for using routine as __cosf_ia32.
9318 Use macro for function declaration and weak_alias.
9320 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9321 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9323 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9324 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9327 * math/libm-test.inc (cos_test): Add more test cases.
9328 (sin_test): Likewise.
9329 (sincos_test): Likewise.
9331 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9334 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9336 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9338 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9341 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9342 first element of the GOT.
9343 (elf_machine_load_address): Return the difference between
9344 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9346 2012-09-01 Allan McRae <allan@archlinux.org>
9349 * configure.in (AWK): Require gawk version 3.0 or later.
9350 * configure: Regenerated.
9352 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9354 * sysdeps/unix/sysv/linux/kernel-features.h
9355 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9356 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9357 [__NR_clock_getres]: Make code unconditional.
9358 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9359 (clock_getcpuclockid): Remove code left unreachable by removal of
9361 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9363 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9364 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9365 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9366 Make code unconditional.
9367 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9368 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9369 * sysdeps/unix/sysv/linux/clock_settime.c
9370 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9372 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9373 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9375 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9378 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9379 scripts/test-installation.pl.
9381 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9382 and $ld_so_version if it is set.
9384 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9388 failure if reading from procfs failed.
9389 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9391 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9393 * sysdeps/unix/sysv/linux/kernel-features.h
9394 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9395 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9396 Remove conditional code.
9397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9398 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9399 Remove conditional code.
9400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9401 * sysdeps/unix/sysv/linux/i386/fxstat.c
9402 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9404 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9405 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9407 * sysdeps/unix/sysv/linux/i386/lxstat.c
9408 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9410 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9411 Remove conditional code.
9412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9413 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9414 Remove conditional code.
9415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9417 <kernel-features.h>.
9418 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9420 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9421 Remove conditional code.
9422 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9426 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9429 * NEWS: Add fixed bug number.
9431 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9434 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9435 underflowing exponent in case of negative sign.
9436 * stdlib/tst-strtod-round-data: Add more tests.
9437 * stdlib/tst-strtod-round.c (tests): Regenerated.
9440 * stdlib/strtod_l.c (NDIG): Remove.
9441 (HEXNDIG): Likewise.
9442 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9443 smallest representable value.
9444 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9445 lie within an exact representation of 1/2 ulp of the result.
9446 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9448 (TENS_P9_IDX): Define unconditionally.
9449 (TENS_P9_SIZE): Likewise.
9450 (TENS_P10_IDX): Likewise.
9451 (TENS_P10_SIZE): Likewise.
9452 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9453 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9454 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9455 entries for 10^2^13 and 10^2^14.
9456 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9457 (TENS_P13_IDX): Define.
9458 (TENS_P13_SIZE): Likewise.
9459 (TENS_P14_IDX): Likewise.
9460 (TENS_P14_SIZE): Likewise.
9461 (_fpioconst_pow10): Change array size to
9462 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9464 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9465 1024]: Add entries for 10^2^13 and 10^2^14.
9466 [LAST_POW10 > _LAST_POW10]: Remove #error.
9467 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9468 (_fpioconst_pow10): Change array size to
9469 FPIOCONST_POW10_ARRAY_SIZE.
9470 * stdlib/gen-fpioconst.c: New file.
9471 * stdlib/gen-tst-strtod-round.c: Likewise.
9472 * stdlib/tst-strtod-round-data: Likewise.
9473 * stdlib/tst-strtod-round.c: Likewise.
9474 * stdlib/Makefile (tests): Add tst-strtod-round.
9477 * stdlib/strtod_l.c: Include <stdint.h>.
9478 (NDEBUG): Do not define.
9479 (round_and_return): Change EXPONENT parameter to type intmax_t.
9480 Rearrange calculations to avoid internal overflow possibilities.
9481 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9482 Rearrange calculations to avoid internal overflow possibilities.
9483 Assert that number fits inside MPNSIZE limbs.
9484 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9485 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9486 calculations and add assertions to avoid internal overflow
9487 possibilities. Add casts to avoid signed/unsigned operations.
9488 * stdlib/tst-strtod-overflow.c: New file.
9489 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9491 2012-08-25 Marek Polacek <polacek@redhat.com>
9493 * time/time.h: Fix some typos in comments.
9495 2012-08-23 Roland McGrath <roland@hack.frob.com>
9497 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9498 * posix/tst-rfc3484-2.c: Likewise.
9499 * posix/tst-rfc3484-3.c: Likewise.
9501 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9503 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9504 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9506 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9508 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9509 #include of fxstatat64.c.
9511 2012-08-22 Roland McGrath <roland@hack.frob.com>
9513 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9514 * shadow/getspent_r.c: Likewise.
9515 * shadow/getspnam.c: Likewise.
9516 * shadow/getspnam_r.c: Likewise.
9517 * gshadow/getsgent.c: Likewise.
9518 * gshadow/getsgent_r.c: Likewise.
9519 * gshadow/getsgnam.c: Likewise.
9520 * gshadow/getsgnam_r.c: Likewise.
9521 * inet/getnetbyad.c: Likewise.
9522 * inet/getnetbyad_r.c: Likewise.
9523 * inet/getnetbynm.c: Likewise.
9524 * inet/getnetbynm_r.c: Likewise.
9525 * inet/getnetent.c: Likewise.
9526 * inet/getnetent_r.c: Likewise.
9527 * inet/getproto.c: Likewise.
9528 * inet/getproto_r.c: Likewise.
9529 * inet/getprtent.c: Likewise.
9530 * inet/getprtent_r.c: Likewise.
9531 * inet/getprtname.c: Likewise.
9532 * inet/getprtname_r.c: Likewise.
9533 * inet/getrpcbyname.c: Likewise.
9534 * inet/getrpcbyname_r.c: Likewise.
9535 * inet/getrpcbynumber.c: Likewise.
9536 * inet/getrpcbynumber_r.c: Likewise.
9537 * inet/getrpcent.c: Likewise.
9538 * inet/getrpcent_r.c: Likewise.
9539 * inet/getaliasent.c: Likewise.
9540 * inet/getaliasent_r.c: Likewise.
9541 * inet/getaliasname.c: Likewise.
9542 * inet/getaliasname_r.c: Likewise.
9543 * nscd/getgrgid_r.c: Likewise.
9544 * nscd/getgrnam_r.c: Likewise.
9545 * nscd/gethstbyad_r.c: Likewise.
9546 * nscd/gethstbynm3_r.c: Likewise.
9547 * nscd/getpwnam_r.c: Likewise.
9548 * nscd/getpwuid_r.c: Likewise.
9549 * nscd/getsrvbynm_r.c: Likewise.
9550 * nscd/getsrvbypt_r.c: Likewise.
9551 * nscd/gai.c: Likewise.
9553 * configure.in (build_nscd): New substituted variable, set
9554 by --disable-build-nscd and defaults to $use_nscd.
9555 * configure: Regenerated.
9556 * config.make.in (build-nscd): New substituted variable.
9557 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9558 Change conditional to require [$(build-nscd) = yes] as well.
9559 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9562 * configure.in (use_nscd): New substituted variable, set by
9563 --disable-nscd. If enabled, define USE_NSCD.
9564 * configure: Regenerated.
9565 * config.h.in: Add USE_NSCD.
9566 * config.make.in (use-nscd): New substituted variable.
9567 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9568 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9569 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9570 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9571 (CFLAGS-getgrnam_r.c): Likewise.
9572 (CFLAGS-initgroups.c): Likewise.
9573 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9574 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9576 * inet/getnetgrent_r.c
9577 (nscd_setnetgrent): New function, broken out of ...
9578 (setnetgrent): ... here. Call it.
9579 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9580 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9581 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9582 * nscd/Makefile (routines, aux): Move definitions after include of
9583 Makeconfig. Conditionalize on [$(use-nscd) != no].
9584 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9585 Conditionalize on [USE_NSCD].
9586 (is_nscd, nscd_init_cb): Likewise.
9587 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9588 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9589 * nss/nss_db/db-init.c: Likewise.
9590 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9592 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9593 (make_request): Use it.
9594 (cache_valid_p): New function.
9595 (__check_pf): Use it.
9596 * NEWS: Add item for --disable-nscd.
9598 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9600 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9601 to support sed >= 4.2.1-20-ga9bf076.
9602 * configure: Regenerated.
9604 2012-08-22 Roland McGrath <roland@hack.frob.com>
9606 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9607 Conditionalize whole body on [IREL].
9609 2012-08-22 Jeff Law <law@redhat.com>
9612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9613 if the family is PF_UNSPEC.
9615 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9617 * Makerules (lib-version): Rename from V.
9618 (install-lib-nosubdir): Change V to lib-version.
9620 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9623 * powerpc32/power6/wcschr.c: New file.
9624 * powerpc32/power6/wcscpy.c: New file.
9625 * powerpc32/power6/wcsrchr.c: New file.
9626 * powerpc64/power6/wcschr.c: New file.
9627 * powerpc64/power6/wcscpy.c: New file.
9628 * powerpc64/power6/wcsrchr.c: New file.
9630 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9632 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9633 (two_way_short_needle): Use it.
9634 * string/strstr.c (AVAILABLE1_USES_J): Define.
9635 * string/strcasestr.c: Likewise.
9637 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9639 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9642 * NEWS: Add an entry.
9643 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9644 define their defaults.
9645 (two_way_short_needle): Detect end-of-string on-the-fly.
9646 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9647 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9648 * string/bug-strcasestr1.c: New test.
9649 * string/Makefile: Run it.
9651 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9654 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9655 the first character.
9657 2012-08-21 Roland McGrath <roland@hack.frob.com>
9659 * csu/elf-init.c (__libc_csu_irel): Function removed.
9660 * csu/libc-start.c (apply_irel): New function.
9661 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9663 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9665 * sysdeps/unix/sysv/linux/kernel-features.h
9666 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9667 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9668 <kernel-features.h>.
9669 [__NR_fadvise64_64]: Make code unconditional.
9670 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9671 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9672 !__NR_fadvise64_64)]: Likewise.
9673 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9674 !__NR_fadvise64_64))]: Likewise.
9675 [__NR_fadvise64]: Make code unconditional.
9676 [!__NR_fadvise64]: Remove conditional code.
9677 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9678 <kernel-features.h>.
9679 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9681 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9684 not include <kernel-features.h>.
9685 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9687 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9689 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9690 include <kernel-features.h>.
9691 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9693 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9696 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9699 slight instruction rearrangements per scrollpipe analysis.
9700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9702 2012-08-20 Roland McGrath <roland@hack.frob.com>
9704 * manual/syslog.texi (syslog; vsyslog, closelog):
9705 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9706 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9708 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9709 DSOCAPS to match condition on defining it.
9711 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9713 * sysdeps/unix/sysv/linux/kernel-features.h
9714 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9716 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9717 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9719 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9720 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9722 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9723 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9726 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9728 * sysdeps/unix/sysv/linux/kernel-features.h
9729 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9730 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9732 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9733 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9734 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9735 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9736 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9737 Make code unconditional.
9738 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9739 (__mmap64) [!__NR_mmap2]: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9741 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9742 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9743 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9744 [__NR_mmap2]: Make code unconditional.
9745 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9746 (__mmap64) [!__NR_mmap2]: Likewise.
9748 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9750 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9752 2012-08-18 Andreas Jaeger <aj@suse.de>
9754 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9756 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9758 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9759 * include/unistd.h (__have_sock_cloexec): Likewise.
9760 (__have_pipe2): Likewise.
9761 (__have_dup3): Likewise.
9763 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9766 * include/unistd.h (__have_pipe2): Change define into an extern int.
9767 (__have_dup3): Likewise.
9768 * socket/have_sock_cloexec.c: Include fcntl.h.
9769 (__have_pipe2): New variable.
9770 (__have_dup3): Likewise.
9772 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9774 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9776 2012-08-17 Marek Polacek <polacek@redhat.com>
9778 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9779 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9781 2012-08-17 Roland McGrath <roland@hack.frob.com>
9783 * configure.in: Add AC_SUBST for sysheaders.
9784 * configure: Regenerated.
9785 * config.make.in (sysheaders): New substituted variable.
9787 * sysdeps/unix/mkfifo.c: Moved ...
9788 * sysdeps/posix/mkfifo.c: ... here.
9789 * sysdeps/unix/mkfifoat.c: Moved ...
9790 * sysdeps/posix/mkfifoat.c: ... here.
9792 * sysdeps/unix/utime.c: Moved ...
9793 * sysdeps/posix/utime.c: ... here.
9795 * sysdeps/unix/time.c: Moved ...
9796 * sysdeps/posix/time.c: ... here.
9797 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9798 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9800 * sysdeps/unix/nice.c: Moved ...
9801 * sysdeps/posix/nice.c: ... here.
9803 * sysdeps/unix/alarm.c: Moved ...
9804 * sysdeps/posix/alarm.c: ... here.
9806 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9808 2012-08-17 Jeff Law <law@redhat.com>
9810 * intl/Makefile (codeset_mo): New variable.
9811 ($(codeset_mo)): New target.
9812 (tst-codeset.out): Depend on that. Remove explicit rule.
9813 (tst-gettext3.out, tst-gettext5.out): Likewise.
9814 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9815 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9816 * intl/tst-codeset.sh: Remove.
9817 * intl/tst-gettext3.sh: Likewise.
9818 * intl/tst-gettext5.sh: Likewise.
9820 2012-08-17 Roland McGrath <roland@hack.frob.com>
9822 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9823 * sysdeps/unix/syscalls.list: ... here.
9825 * sysdeps/posix/getaddrinfo.c
9826 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9827 (gaiconf_init, gaiconf_reload): Use them.
9829 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9830 Define using time_t rather than struct timespec.
9832 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9833 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9835 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9837 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9838 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9841 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9842 __libc_cleanup_push argument.
9844 * bits/param.h: New file.
9845 * misc/sys/param.h: New file.
9846 * include/sys/param.h: New file.
9847 * misc/Makefile (headers): Add bits/param.h.
9848 * sysdeps/generic/sys/param.h: File removed.
9849 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9850 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9851 * sysdeps/mach/hurd/bits/param.h: New file.
9852 * sysdeps/mach/hurd/sys/param.h: File removed.
9854 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9857 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9859 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9860 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9863 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9864 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9865 rather than -D_IO_MTSAFE_IO conditionally.
9866 * stdio-common/Makefile (CPPFLAGS): Likewise.
9867 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9868 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9869 Use $(libio-mtsafe).
9870 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9872 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9873 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9874 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9875 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9876 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9877 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9878 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9879 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9880 (CFLAGS-fread_u_chk.c): Likewise.
9881 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9882 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9883 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9884 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9885 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9886 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9887 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9888 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9889 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9891 * libio/Makefile: Test [$(libc-reentrant) = yes]
9892 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9895 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9896 * sysdeps/pthread/configure: File removed.
9897 * sysdeps/pthread/Makeconfig: New file.
9898 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9899 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9901 2012-08-16 Gary Benson <gbenson@redhat.com>
9903 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9904 unmapping the first object in a namespace.
9906 2012-08-16 Roland McGrath <roland@hack.frob.com>
9908 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9909 (__internal_setnetgrent): ... this. Add internal_function to
9910 definition. Add libc_hidden_def.
9911 (setnetgrent): Update caller.
9912 (internal_endnetgrent): Renamed to ...
9913 (__internal_endnetgrent): ... this. Add internal_function to
9914 definition. Add libc_hidden_def.
9915 (endnetgrent): Update caller.
9916 (internal_getnetgrent_r): Renamed to ...
9917 (__internal_getnetgrent_r): ... this. Add internal_function to
9918 definition. Add libc_hidden_def.
9919 (__getnetgrent_r): Update caller.
9920 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9922 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9924 * stdlib/longlong.h: Update from GCC.
9926 2012-08-16 Roland McGrath <roland@hack.frob.com>
9928 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9929 on _QL, which is set by umul_ppmm but never used.
9930 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9931 variables, which are set by GMP macros but never used.
9932 * stdio-common/_itowa.c (_itowa): Likewise.
9933 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9934 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9936 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9938 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9939 struct La_sh_regs is not constant.
9940 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9941 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9942 and struct La_sparc64_regs are not constant.
9944 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 (__ASSUME_POSIX_TIMERS): Remove.
9948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9949 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9950 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9951 Make code unconditional.
9952 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9953 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9954 Make code unconditional.
9955 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9956 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9957 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9958 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9959 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9960 Make code unconditional.
9961 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9962 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9963 (__libc_missing_posix_timers): Remove.
9965 2012-08-15 Roland McGrath <roland@hack.frob.com>
9967 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9968 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9970 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9972 * elf/dl-sym.c: Include <stdlib.h>.
9974 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9975 constants, which avoids warnings in 32-bit builds.
9977 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9978 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9980 * misc/lseek.c: File moved to ...
9981 * io/lseek.c: ... here.
9983 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9985 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9986 shifting LEN more than 31 bits at once.
9988 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9991 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9992 segmentation fault for a case of two empty input strings.
9993 * string/test-strncasecmp.c (check1): Renamed to...
9995 (bz14195): Add new testcase for two empty input strings and N > 0.
9996 (test_main): Call new testcase, adapt for renamed function.
9998 2012-08-15 Andreas Jaeger <aj@suse.de>
10001 * crypt/md5test2.c: New test, based on test supplied by Serge
10002 Belyshev <belyshev@depni.sinp.msu.ru>.
10003 * crypt/Makefile (xtests): Add md5test-giant..
10004 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10006 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10009 * crypt/md5.c (md5_process_block): Don't assume the buffer
10010 length is less than 2**32.
10011 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10012 length is less than 2**64.
10014 2012-08-15 Roland McGrath <roland@hack.frob.com>
10016 * string/str-two-way.h: Include <sys/param.h>.
10017 (MAX): Macro removed.
10019 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10020 Move #define and #undef of memmove to just before and after
10021 including <string.h>.
10023 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10024 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10025 and after including <string.h>. Move declarations of
10026 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10027 to before #include "string/memmove.c".
10029 * include/dirent.h: Declare __getdirentries.
10031 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10032 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10034 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10036 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10037 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10038 * sysdeps/i386/configure: Regenerated.
10039 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10040 STABS_CURRENT_FILE, and STABS_FUN.
10041 (END): Remove call to STABS_FUN_END.
10042 (STABS_CURRENT_FILE1): Delete.
10043 (STABS_CURRENT_FILE): Likewise.
10044 (STABS_FUN): Likewise.
10045 (STABS_FUN_END): Likewise.
10046 (STABS_FUN2): Likewise.
10047 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10048 * sysdeps/x86_64/configure: Regenerated.
10050 2012-08-14 Roland McGrath <roland@hack.frob.com>
10052 * elf/dl-open.c: Include <atomic.h>.
10053 * elf/dl-lookup.c: Likewise.
10055 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/unix/sysv/linux/kernel-features.h
10058 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10059 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10061 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10063 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10064 condition on __ASSUME_CLONE_THREAD_FLAGS.
10066 2012-08-14 Andreas Jaeger <aj@suse.de>
10068 * sysdeps/i386/fpu/libm-test-ulps: Update.
10070 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10072 * include/atomic.h (atomic_exchange_and_add): Split into ...
10073 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10076 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10080 2012-08-13 Jeff Law <law@redhat.com>
10082 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10083 null byte in the output string.
10085 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10087 * sysdeps/unix/sysv/linux/kernel-features.h
10088 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10089 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10090 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10091 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10092 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10093 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10094 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10096 2012-08-09 Jeff Law <law@redhat.com>
10099 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10100 When avoid_arena is set, don't retry in the that arena. Pick the
10101 next one, whatever it might be.
10102 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10103 (arena_lock): Pass in new parameter to arena_get2.
10104 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10106 (__libc_malloc): Unify retrying after main arena failure with
10107 __libc_memalign version.
10108 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10110 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10113 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10114 to __redirect_strstr.
10115 (__strstr_sse42): Use typeof __redirect_strstr.
10116 (__strstr_ia32): Likewise.
10117 (__libc_strstr): New prototype.
10118 (strstr): Renamed to ...
10119 (__libc_strstr): This.
10120 (strstr): New strong alias of __libc_strstr.
10121 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10125 (__libc_time): New prototype.
10126 (time_ifunc): Replace time with __libc_time.
10127 (time): New strong alias and hidden definition of __libc_time.
10128 (__GI_time): Remove strong alias.
10129 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10130 Include <stddef.h>.
10131 (memmove): Redefined to __redirect_memmove.
10132 (__memmove_sse2): Use typeof __redirect_memmove.
10133 (__memmove_ssse3): Likewise.
10134 (__memmove_ssse3_back): Likewise.
10135 (__libc_memmove): New prototype.
10136 (memmove): Renamed to ...
10137 (__libc_memmove): This.
10138 (memmove): New strong alias of __libc_memmove.
10140 2012-08-08 Mark Salter <msalter@redhat.com>
10143 (R_MN10300_TLS_GD): Define.
10144 (R_MN10300_TLS_LD): Likewise.
10145 (R_MN10300_TLS_LDO): Likewise.
10146 (R_MN10300_TLS_GOTIE): Likewise.
10147 (R_MN10300_TLS_IE): Likewise.
10148 (R_MN10300_TLS_LE): Likewise.
10149 (R_MN10300_TLS_DTPMOD): Likewise.
10150 (R_MN10300_TLS_DTPOFF): Likewise.
10151 (R_MN10300_TLS_TPOFF): Likewise.
10152 (R_MN10300_SYM_DIFF): Likewise.
10153 (R_MN10300_ALIGN): Likewise.
10154 (R_MN10300_NUM): Update.
10156 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10161 2012-08-08 Roland McGrath <roland@hack.frob.com>
10163 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10165 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10166 sysdeps/unix -> sysdeps/posix move.
10167 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10169 2012-08-07 Allan McRae <allan@archlinux.org>
10172 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10173 (SUNOS_CPP): Likewise.
10174 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10176 (open_input): Call CPP using execvp.
10178 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10180 * sysdeps/unix/sysv/linux/kernel-features.h
10181 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10182 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10183 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10184 (__ASSUME_WAITID_SYSCALL): Likewise.
10185 * sysdeps/unix/sysv/linux/dl-execstack.c
10186 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10187 code unconditional.
10188 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10191 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10192 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10194 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10196 [__ASSUME_WAITID_SYSCALL]: Likewise.
10197 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10199 2012-08-07 Roland McGrath <roland@hack.frob.com>
10201 * sysdeps/unix/closedir.c: Renamed to ...
10202 * sysdeps/posix/closedir.c: ... here.
10203 * sysdeps/unix/dirfd.c: Renamed to ...
10204 * sysdeps/posix/dirfd.c: ... here.
10205 * sysdeps/unix/dirstream.h: Renamed to ...
10206 * sysdeps/posix/dirstream.h: ... here.
10207 * sysdeps/unix/fdopendir.c: Renamed to ...
10208 * sysdeps/posix/fdopendir.c: ... here.
10209 * sysdeps/unix/opendir.c: Renamed to ...
10210 * sysdeps/posix/opendir.c: ... here.
10211 * sysdeps/unix/readdir.c: Renamed to ...
10212 * sysdeps/posix/readdir.c: ... here.
10213 * sysdeps/unix/readdir_r.c: Renamed to ...
10214 * sysdeps/posix/readdir_r.c: ... here.
10215 * sysdeps/unix/rewinddir.c: Renamed to ...
10216 * sysdeps/posix/rewinddir.c: ... here.
10217 * sysdeps/unix/seekdir.c: Renamed to ...
10218 * sysdeps/posix/seekdir.c: ... here.
10219 * sysdeps/unix/telldir.c: Renamed to ...
10220 * sysdeps/posix/telldir.c: ... here.
10221 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10222 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10223 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10224 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10226 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10227 * bits/fcntl.h: ... here.
10229 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10231 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10232 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10233 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10234 (struct flock): Move l_start, l_len to the beginning.
10235 Use __pid_t for l_pid.
10236 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10237 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10238 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10239 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10240 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10241 [__USE_LARGEFILE64] (struct flock64): New type.
10242 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10244 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10245 * bits/dirent.h: ... here.
10247 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10248 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10250 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10253 Change from 2.6.0 to 2.6.16.
10254 * sysdeps/unix/sysv/linux/configure: Regenerated.
10255 * sysdeps/unix/sysv/linux/kernel-features.h
10256 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10257 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10259 (__ASSUME_UTIMES): Likewise.
10260 (__ASSUME_CLONE_STOPPED): Remove.
10261 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10262 architectures, not kernel version.
10263 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10264 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10265 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10266 (__ASSUME_WAITID_SYSCALL): Likewise.
10267 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10268 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10269 * README: State 2.6.16 as minimum Linux kernel version. Do not
10270 refer to older versions.
10272 2012-08-06 Roland McGrath <roland@hack.frob.com>
10274 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10275 Define alphasort64 as an alias.
10276 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10277 Define versionsort64 as an alias.
10278 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10279 Define scandir64 as an alias.
10280 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10281 Define scandirat64 as an alias.
10282 * dirent/alphasort64.c (alphasort64):
10283 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10284 * dirent/versionsort64.c: Likewise.
10285 * dirent/scandir64.c: Likewise.
10286 * dirent/scandirat64.c: Likewise.
10287 * sysdeps/wordsize-64/alphasort.c: File removed.
10288 * sysdeps/wordsize-64/alphasort64.c: File removed.
10289 * sysdeps/wordsize-64/scandir.c: File removed.
10290 * sysdeps/wordsize-64/scandir64.c: File removed.
10291 * sysdeps/wordsize-64/scandirat.c: File removed.
10292 * sysdeps/wordsize-64/scandirat64.c: File removed.
10293 * sysdeps/wordsize-64/versionsort.c: File removed.
10294 * sysdeps/wordsize-64/versionsort64.c: File removed.
10295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10298 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10300 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10304 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10306 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10308 [defined __arch64__ || defined __sparcv9]
10309 (__INO_T_MATCHES_INO64_T): New macro.
10310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10311 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10312 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10313 * sysdeps/unix/sysv/linux/bits/dirent.h
10314 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10315 (_DIRENT_MATCHES_DIRENT64): New macro.
10317 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10318 Define lockf64 as an alias.
10319 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10320 Define fseeko64 as an alias.
10321 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10322 Define ftello64 as an alias.
10323 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10324 Define _IO_fgetpos64 and fgetpos64 as aliases.
10325 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10326 Define _IO_fsetpos64 and fsetpos64 as aliases.
10327 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10328 Conditionalize body on this.
10329 * libio/fseeko64.c: Likewise.
10330 * libio/ftello64.c: Likewise.
10331 * libio/iofgetpos64.c: Likewise.
10332 * libio/iofsetpos64.c: Likewise.
10333 * sysdeps/wordsize-64/lockf.c: File removed.
10334 * sysdeps/wordsize-64/lockf64.c: File removed.
10335 * sysdeps/wordsize-64/fseeko.c: File removed.
10336 * sysdeps/wordsize-64/fseeko64.c: File removed.
10337 * sysdeps/wordsize-64/ftello.c: File removed.
10338 * sysdeps/wordsize-64/ftello64.c: File removed.
10339 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10340 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10341 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10342 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10344 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10350 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10354 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10356 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10358 [defined __arch64__ || defined __sparcv9]
10359 (__OFF_T_MATCHES_OFF64_T): New macro.
10360 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10361 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10363 (__OFF_T_MATCHES_OFF64_T): New macro.
10365 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10367 * stdlib/secure-getenv.c (__secure_getenv): Replace
10368 GLIBC_2_16 with GLIBC_2_17.
10370 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10375 2012-08-03 David S. Miller <davem@davemloft.net>
10377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10379 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10383 (__ASSUME_CORRECT_SI_PID): Likewise.
10384 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10385 (__ASSUME_TMPFS_NAME): Likewise.
10386 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10387 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10388 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10389 (HAVE_AUX_SECURE): Make definition unconditional.
10390 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10391 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10393 2012-08-03 Roland McGrath <roland@hack.frob.com>
10395 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10396 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10397 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10398 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10399 __eloop_threshold instead of SYMLOOP_MAX.
10401 * sysdeps/generic/eloop-threshold.h: New file.
10402 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10404 * elf/chroot_canon.c (chroot_canon): Likewise.
10406 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10410 Change to 2.6.0 everywhere.
10411 * sysdeps/unix/sysv/linux/configure: Regenerated.
10412 * sysdeps/unix/sysv/linux/kernel-features.h
10413 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10414 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10416 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10417 (__ASSUME_FUTEX_REQUEUE): Remove.
10418 (__ASSUME_STATFS64): Define unconditionally.
10419 (__ASSUME_AT_SECURE): Likewise.
10420 (__ASSUME_CORRECT_SI_PID): Likewise.
10421 (__ASSUME_TGKILL): Define without depending on kernel version for
10423 (__ASSUME_UTIMES): Likewise.
10424 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10426 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10427 (__ASSUME_TMPFS_NAME): Likewise.
10428 * README: Update reference to Linux kernel versions.
10430 2012-08-02 Marek Polacek <polacek@redhat.com>
10433 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10434 libc_cv_asm_type_prefix with %.
10435 * configure: Regenerated.
10436 * include/libc-symbols.h: Remove comment about
10437 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10438 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10439 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10440 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10441 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10442 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10443 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10444 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10445 * elf/tst-unique2mod1.c: Likewise.
10446 * elf/tst-unique1mod2.c: Likewise.
10447 * elf/tst-unique1mod1.c: Likewise.
10448 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10449 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10450 Replace ASM_TYPE_DIRECTIVE with .type.
10451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10452 * sysdeps/i386/sysdep.h: Likewise.
10453 * sysdeps/x86_64/sysdep.h: Likewise.
10454 * sysdeps/sh/sysdep.h: Likewise.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10456 Do not define ASM_TYPE_DIRECTIVE.
10457 * sysdeps/powerpc/sysdep.h: Likewise.
10458 * sysdeps/powerpc/powerpc32/sysdep.h:
10459 Replace ASM_TYPE_DIRECTIVE with .type.
10460 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10461 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10462 * sysdeps/i386/fpu/e_powf.S: Likewise.
10463 * sysdeps/i386/fpu/e_expl.S: Likewise.
10464 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10466 * sysdeps/i386/fpu/e_pow.S: Likewise.
10467 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10468 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10469 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10470 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10471 * sysdeps/i386/fpu/e_log2.S: Likewise.
10472 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10473 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10474 * sysdeps/i386/fpu/e_powl.S: Likewise.
10475 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10476 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10477 * sysdeps/i386/fpu/e_logl.S: Likewise.
10478 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10479 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10480 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10482 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10483 * sysdeps/i386/fpu/e_log.S: Likewise.
10484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10485 * sysdeps/i386/fpu/e_logf.S: Likewise.
10486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10488 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10489 * sysdeps/i386/fpu/e_log10.S: Likewise.
10490 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10491 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10492 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10493 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10494 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10495 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10496 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10497 * sysdeps/i386/i686/strtok.S: Likewise.
10498 * sysdeps/i386/i386-mcount.S: Likewise.
10499 * sysdeps/i386/strtok.S: Likewise.
10500 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10501 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10503 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10504 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10506 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10507 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10508 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10509 * sysdeps/x86_64/_mcount.S: Likewise.
10510 * sysdeps/x86_64/strtok.S: Likewise.
10511 * sysdeps/sh/_mcount.S: Likewise.
10513 2012-08-01 Roland McGrath <roland@hack.frob.com>
10515 * libio/iofopen.c: Include <fcntl.h>.
10516 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10517 (_IO_fopen64, fopen64): Define as aliases.
10518 * libio/iofopen64.c: Include <fcntl.h>.
10519 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10520 Conditionalize body on this.
10521 * sysdeps/wordsize-64/iofopen.c: File removed.
10522 * sysdeps/wordsize-64/iofopen64.c: File removed.
10524 2012-08-01 Marek Polacek <polacek@redhat.com>
10526 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10527 Use dlfcn directly instead of a variable.
10528 (binfmt-subdir): Do not define.
10531 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10534 Remove all definitions.
10535 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10536 <kernel-features.h>.
10537 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10538 (miss_F_GETOWN_EX): Remove all definitions.
10539 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10541 [!__ASSUME_FCNTL64]: Remove conditional code.
10542 [__ASSUME_FCNTL64]: Make code unconditional.
10543 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10544 <kernel-features.h>.
10545 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10546 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10547 (lockf64) [__NR_fcntl64]: Make code unconditional.
10548 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10550 * sysdeps/unix/sysv/linux/kernel-features.h
10551 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10552 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10553 Make code unconditional.
10554 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10555 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10557 [__NR_vfork]: Make code unconditional.
10558 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10559 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10561 [__NR_vfork]: Make code unconditional.
10562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10565 2012-08-01 Roland McGrath <roland@hack.frob.com>
10567 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10568 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10570 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10571 Define mkstemp64 as an alias.
10572 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10573 Define mkstemps64 as an alias.
10574 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10575 Define mkostemp64 as an alias.
10576 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10577 Define mkostemps64 as an alias.
10578 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10579 Conditionalize body on this.
10580 * misc/mkostemp64.c: Likewise.
10581 * misc/mkostemps64.c: Likewise.
10582 * misc/mkstemps64.c: Likewise.
10583 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10584 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10585 * sysdeps/wordsize-64/mkostemp.c: File removed.
10586 * sysdeps/wordsize-64/mkstemp.c: File removed.
10587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10593 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10594 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10595 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10596 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10598 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10599 compat_symbol macros from <shlib-compat.h> rather than the underlying
10600 default_symbol_version and symbol_version macros, so that DEFAULT
10601 lines in shlib-versions are respected.
10602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10604 2012-08-01 Florian Weimer <fweimer@redhat.com>
10606 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10607 Declare with warn_unused_result.
10608 (setgid, setregid, setegid, setresgid): Likewise.
10609 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10611 * WUR-REPORT: Remove set*id functions.
10613 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10615 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10617 2012-07-31 Roland McGrath <roland@hack.frob.com>
10619 * include/sys/socket.h (__libc_accept, __libc_accept4):
10620 Add attribute_hidden.
10621 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10623 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10625 * inet/getnetgrent_r.c (setup): Likewise.
10627 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10629 2012-07-31 David S. Miller <davem@davemloft.net>
10631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10633 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10636 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10637 value between 1.0 and 2.0 and smaller part has absolute value less
10639 * math/s_clog10.c (__clog10): Likewise.
10640 * math/s_clog10f.c (__clog10f): Likewise.
10641 * math/s_clog10l.c (__clog10l): Likewise.
10642 * math/s_clogf.c (__clogf): Likewise.
10643 * math/s_clogl.c (__clogl): Likewise.
10644 * math/libm-test.inc (clog_test): Add more tests.
10645 (clog10_test): Likewise.
10646 * sysdeps/i386/fpu/libm-test-ulps: Update.
10647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10649 2012-07-31 Florian Weimer <fweimer@redhat.com>
10651 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10652 Exit with zero in case no suitable GID is found, and write a
10653 message to standard error.
10655 2012-07-30 Roland McGrath <roland@hack.frob.com>
10657 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10659 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10660 (MAXPATHLEN): Removed.
10661 (NOGROUP, NODEV): New macros.
10662 (setbit, clrbit, isset, isclr): New macros.
10663 (howmany, roundup, powerof2): New macros.
10664 (DEV_BSIZE): New macro.
10666 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10667 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10669 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10670 definition on [!__NO_LONG_DOUBLE_MATH].
10672 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10673 PTR_MANGLE and PTR_DEMANGLE.
10675 * socket/accept4.c (accept4): Rename to __libc_accept4.
10676 Define accept4 as a weak alias.
10678 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10679 on [_DIRENT_HAVE_D_TYPE].
10680 * io/ftw.c (ftw_dir): Likewise.
10682 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10684 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10686 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10687 Use the BSD numbers rather than the arbitrary ones we had.
10688 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10689 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10690 (SIGXCPU, SIGXFSZ): New macros.
10693 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10694 initializer on [_LIBC_REENTRANT].
10696 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10697 definitions inside [_POSIX_MAPPED_FILES].
10699 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10701 * dirent/opendir.c: Include <fcntl.h>.
10703 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10704 (__libc_getspecific): Likewise.
10705 (__libc_key_create): Likewise.
10707 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10708 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10709 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10710 (tmpfile64): Define as alias.
10711 * sysdeps/wordsize-64/tmpfile.c: File removed.
10712 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10714 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10716 * stdio-common/vfscanf.c: Include <stdbool.h>.
10717 * nss/makedb.c: Likewise.
10718 * stdio-common/_i18n_number.h: Likewise.
10719 * argp/argp-help.c: Likewise.
10720 * posix/wordexp.c: Likewise.
10721 * sysdeps/posix/spawni.c: Likewise.
10722 * nss/nss_files/files-initgroups.c: Likewise.
10723 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10724 * nss/nss_files/files-initgroups.c: Likewise.
10725 * nss/nss_db/db-netgrp.c: Likewise.
10726 * nss/nss_db/db-initgroups.c: Likewise.
10727 * io/fchmodat.c: Include <sys/stat.h>.
10729 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10730 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10732 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10735 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10736 Add multiple inclusion protection.
10738 2012-07-27 David S. Miller <davem@davemloft.net>
10740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10742 2012-07-27 Gary Benson <gbenson@redhat.com>
10745 * elf/rtld.c: Include <stap-probe.h>.
10746 (dl_main): Added static probes "init_start" and "init_complete".
10747 * elf/dl-load.c: Include <stap-probe.h>.
10748 (lose): Take new parameter "nsid".
10749 Added static probe "map_failed".
10750 (_dl_map_object_from_fd): Pass namespace id to lose.
10751 Added static probe "map_start".
10752 (open_verify): Pass namespace id to lose.
10753 * elf/dl-open.c: Include <stap-probe.h>.
10754 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10755 and "reloc_complete".
10756 * elf/dl-close.c: Include <stap-probe.h>.
10757 (_dl_close_worker): Added static probes "unmap_start" and
10759 * elf/rtld-debugger-interface.txt: New file documenting the above.
10761 2012-07-26 Roland McGrath <roland@hack.frob.com>
10763 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10764 rather than a string variable.
10765 * sunrpc/rpc_main.c (h_output): Likewise.
10766 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10768 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10770 * inet/check_native.c: New file.
10772 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10775 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10776 if larger part has absolute value 1.0.
10777 * math/s_clog10.c (__clog10): Likewise.
10778 * math/s_clog10f.c (__clog10f): Likewise.
10779 * math/s_clog10l.c (__clog10l): Likewise.
10780 * math/s_clogf.c (__clogf): Likewise.
10781 * math/s_clogl.c (__clogl): Likewise.
10782 * math/libm-test.inc (clog_test): Add more tests.
10783 (clog10_test): Likewise.
10784 * sysdeps/i386/fpu/libm-test-ulps: Update.
10785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10787 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10788 (pltexit): Likewise.
10789 (La_regs): Likewise.
10790 (La_retval): Likewise.
10791 (int_retval): Likewise.
10792 Update #error for removed macros to refer only to definitions in
10794 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10796 (pltexit): Likewise.
10797 (La_regs): Likewise.
10798 (La_retval): Likewise.
10799 (int_retval): Likewise.
10800 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10802 (pltexit): Likewise.
10803 (La_regs): Likewise.
10804 (La_retval): Likewise.
10805 (int_retval): Likewise.
10806 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10808 (pltexit): Likewise.
10809 (La_regs): Likewise.
10810 (La_retval): Likewise.
10811 (int_retval): Likewise.
10812 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10814 (pltexit): Likewise.
10815 (La_regs): Likewise.
10816 (La_retval): Likewise.
10817 (int_retval): Likewise.
10818 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10820 (pltexit): Likewise.
10821 (La_regs): Likewise.
10822 (La_retval): Likewise.
10823 (int_retval): Likewise.
10824 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10826 (pltexit): Likewise.
10827 (La_regs): Likewise.
10828 (La_retval): Likewise.
10829 (int_retval): Likewise.
10830 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10831 macro definitions in tst-audit.h.
10832 * sysdeps/i386/tst-audit.h: New file.
10833 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10834 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10835 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10836 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10837 * sysdeps/sh/tst-audit.h: Likewise.
10838 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10839 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10840 * sysdeps/x86_64/tst-audit.h: Likewise.
10842 2012-07-26 Andreas Jaeger <aj@suse.de>
10844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10847 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10848 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10849 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10851 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10852 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10855 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10858 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10860 (si_call_addr, si_syscall, si_arch): Define new macro.
10861 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10863 (si_call_addr, si_syscall, si_arch): Define new marcro.
10864 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10866 (si_call_addr, si_syscall, si_arch): Define new macro.
10867 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10869 (si_call_addr, si_syscall, si_arch): Define new macro.
10871 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10875 Change to 2.4.21 where previously 2.4.1.
10876 * sysdeps/unix/sysv/linux/configure: Regenerated.
10877 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10878 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10879 Linux kernel version.
10880 (__ASSUME_STD_AUXV): Remove.
10881 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10883 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10884 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10885 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10886 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10887 (__ASSUME_NETLINK_SUPPORT): Likewise.
10888 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10889 (__no_netlink_support): Remove conditional definition.
10890 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10892 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10893 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10894 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10895 (if_nameindex_ioctl): Remove.
10896 (if_nameindex_netlink): Do not handle __no_netlink_support.
10897 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10899 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10900 Remove conditional code.
10901 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10903 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10905 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10906 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10907 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10909 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10910 [!__ASSUME_STD_AUXV]: Remove conditional code.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10912 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10913 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10915 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10916 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10918 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10920 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10921 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10923 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10925 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10928 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10931 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10932 code unconditional.
10933 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10935 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10937 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10940 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10942 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10945 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10946 code unconditional.
10947 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10949 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10951 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10954 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10955 code unconditional.
10956 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10958 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10960 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10963 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10965 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10966 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10967 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10968 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10969 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10970 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10971 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10972 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10973 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10974 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10975 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10976 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10977 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10978 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10980 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10981 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10982 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10983 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10989 2012-07-25 Florian Weimer <fweimer@redhat.com>
10991 * Versions.def: Add GLIBC_2.17.
10992 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10993 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10994 Introduce __libc_secure_getenv.
10995 * stdlib/Versions (2.17): Add secure_getenv
10996 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10997 * stdlib/secure-getenv.c: Rename __secure_getenv to
10998 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10999 symbol __secure_getenv for GLIBC_2.0.
11000 * stdlib/tst-secure-getenv.c: New.
11001 * stdlib/Makefile (tests): Add testcase.
11002 * manual/startup.texi (Environment Access): Document
11004 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11005 __libc_secure_getenv.
11006 * inet/ruserpass.c (ruserpass): Likewise.
11007 * malloc/mtrace.c (mtrace): Likewise.
11008 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11009 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11010 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11011 * sysdeps/posix/tempname.c: Likewise. Evaluate
11012 HAVE_SECURE_GETENV.
11013 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11014 __secure_getenv to __libc_secure_getenv.
11015 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11028 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11031 (struct La_i86_retval): Likewise.
11032 (struct La_x86_64_regs): Likewise.
11033 (struct La_x86_64_retval): Likewise.
11034 (struct La_x32_regs): Likewise.
11035 (struct La_x32_retval): Likewise.
11036 (struct La_ppc32_regs): Likewise.
11037 (struct La_ppc32_retval): Likewise.
11038 (struct La_ppc64_regs): Likewise.
11039 (struct La_ppc64_retval): Likewise.
11040 (struct La_sh_regs): Likewise.
11041 (struct La_sh_retval): Likewise.
11042 (struct La_s390_32_regs): Likewise.
11043 (struct La_s390_32_retval): Likewise.
11044 (struct La_s390_64_regs): Likewise.
11045 (struct La_s390_64_retval): Likewise.
11046 (struct La_sparc32_regs): Likewise.
11047 (struct La_sparc32_retval): Likewise.
11048 (struct La_sparc64_regs): Likewise.
11049 (struct La_sparc64_retval): Likewise.
11050 (struct audit_ifaces): Remove architecture-specific pltenter and
11052 * sysdeps/i386/ldsodefs.h: New file.
11053 * sysdeps/powerpc/ldsodefs.h: Likewise.
11054 * sysdeps/s390/ldsodefs.h: Likewise.
11055 * sysdeps/sh/ldsodefs.h: Likewise.
11056 * sysdeps/sparc/ldsodefs.h: Likewise.
11057 * sysdeps/x86_64/ldsodefs.h: Likewise.
11059 2012-07-25 Marek Polacek <polacek@redhat.com>
11062 * math/libm-test.inc (yn_test): Add another test.
11063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11064 to ERANGE when the result is +-Inf.
11065 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11067 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11068 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11070 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11072 * conform/data/time.h-data (NULL): Use macro-constant. Require
11074 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11076 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11078 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11080 * configure.in <sysdeps resolving>: Correct printing
11082 * configure: Regenerate.
11084 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11086 * math/w_ilogb.c: Include <limits.h>.
11087 * math/w_ilogbl.c: Likewise.
11089 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11091 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11092 va_copy. Document allowing for unavailable va_copy only as
11093 pre-C99 compatibility.
11094 * manual/string.texi (Copying and Concatenation): Use va_copy
11095 instead of __va_copy in concat example.
11097 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11099 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11100 (__sendto): Use create_address_port. Initialize APORT and deallocate
11103 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11104 with O_NOLINK passed to __file_name_lookup.
11106 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11107 with O_NOLINK passed to __file_name_lookup.
11109 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11110 negative N or less than NGIDS.
11112 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11113 type to string_t. Set ERANGE as errno and return it if NAME is not big
11114 enough. Use memcpy instead of strncpy.
11116 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11118 * elf/Makefile (check-data): Remove.
11119 (localplt.data): New vpath directive.
11120 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11121 instead of $(check-data).
11122 * scripts/data/localplt-generic.data: Move to ...
11123 * sysdeps/generic/localplt.data: ... here.
11124 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11125 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11126 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11129 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11132 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11135 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11138 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11141 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11145 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11147 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11148 PPC32 and PPC64 files.
11149 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11150 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11152 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11154 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11155 __makecontext_ret to ...
11156 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11157 ... here and call exit if uc_link is NULL. New file.
11158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11159 __makecontext_ret.S.
11160 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11161 __makecontext_ret to ...
11162 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11163 ... here and call exit if uc_link is NULL. New file.
11164 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11165 __makecontext_ret.S.
11167 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11169 * elf/elf.h (R_390_IRELATIVE): New definition.
11170 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11171 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11172 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11174 (elf_machine_lazy_rel): Likewise.
11175 * sysdeps/s390/dl-irel.h: New file.
11176 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11177 * sysdeps/s390/s390-64/memset.S: New asm code.
11178 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11179 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11180 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11181 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11182 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11183 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11185 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11186 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11187 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11188 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11189 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11190 * sysdeps/s390/s390-32/memset.S: New asm code.
11191 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11193 2012-07-17 Marek Polacek <polacek@redhat.com>
11196 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11197 * sysdeps/s390/s390-64/configure.in: Likewise.
11198 * sysdeps/sparc/configure.in: Likewise.
11199 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11200 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11201 * sysdeps/i386/configure.in: Likewise.
11202 * sysdeps/x86_64/configure.in: Likewise.
11203 * sysdeps/sh/configure.in: Likewise.
11204 * sysdeps/s390/s390-32/configure: Regenerated.
11205 * sysdeps/s390/s390-64/configure: Likewise.
11206 * sysdeps/x86_64/configure: Likewise.
11207 * sysdeps/sh/configure: Likewise.
11208 * sysdeps/powerpc/powerpc64/configure: Likewise.
11209 * sysdeps/powerpc/powerpc32/configure: Likewise.
11210 * sysdeps/sparc/configure: Likwise.
11211 * sysdeps/i386/configure: Likewise.
11213 * elf/dl-open.c: Comment fixes.
11215 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11217 * Makefile [CXX] (check-data): Remove.
11218 [CXX] (c++-types.data): New vpath directive.
11219 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11220 vpath. Do not allow for C++ type data being missing.
11221 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11222 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11223 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11224 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11225 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11226 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11227 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11230 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11233 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11236 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11239 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11242 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11245 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11248 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11251 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11252 definitions to architecture-specific files.
11253 (TLS_IE): Likewise.
11254 (TLS_LD): Likewise.
11255 (TLS_GD): Likewise.
11256 * sysdeps/i386/tls-macros.h: New file.
11257 * sysdeps/powerpc/tls-macros.h: Likewise.
11258 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11259 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11260 * sysdeps/sh/tls-macros.h: Likewise.
11261 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11262 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11263 * sysdeps/x86_64/tls-macros.h: Likewise.
11265 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11268 zero value for regular exit case.
11270 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11271 (__start_context): Preserve zero value for regular exit case.
11273 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11274 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11276 * manual/setjmp.texi (setcontext): Clarify normal process
11277 termination when uc_link is the null pointer.
11278 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11281 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11283 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11284 preprocessor. Test for each exception mask separately.
11286 2012-07-16 Andreas Jaeger <aj@suse.de>
11288 * po/ru.po: Update from translation team.
11290 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11292 * conform/data/string.h-data (NULL): Use macro-constant. Require
11294 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11295 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11296 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11297 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11300 2012-07-13 Andreas Jaeger <aj@suse.de>
11302 * po/fr.po: Update from translation team.
11304 2012-07-12 Marek Polacek <polacek@redhat.com>
11307 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11311 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11315 Change to 2.4.1 where previously 2.4.0.
11316 * sysdeps/unix/sysv/linux/configure: Regenerated.
11317 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11318 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11320 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11321 (__ASSUME_AT_CLKTCK): Remove.
11322 (__ASSUME_AT_PAGESIZE): Likewise.
11323 (__ASSUME_AT_XID): Likewise.
11324 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11325 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11326 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11328 (HAVE_AUX_PAGESIZE): Likewise.
11329 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11330 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11331 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11333 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11337 the temporary buffer used to invoke __gethostbyname2_r,
11338 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11339 host_data / struct gaih_addrtuple.
11340 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11341 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11342 header file nss/nsswitch.h.
11343 * nss/nsswitch.h (global scope): Add definition of implementation
11344 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11345 resolv/nss_dns/dns-host.c).
11347 2012-07-11 Andreas Jaeger <aj@suse.de>
11349 * po/fr.po: Update from translation team.
11351 * po/sv.po: Update from translation team
11352 * po/fr.po: Another update from translation team.
11354 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11356 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11357 for subnormals or multiply small sinh result by itself.
11358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11361 2012-07-11 David S. Miller <davem@davemloft.net>
11363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11365 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11368 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11369 (INTERNAL_MARK): Shift it here.
11371 2012-07-10 Marek Polacek <polacek@redhat.com>
11374 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11375 libc_cv_asm_global_directive with .globl.
11376 * configure: Regenerated.
11377 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11379 * sysdeps/i386/configure: Regenerated.
11380 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11382 * sysdeps/x86_64/configure: Regenerated.
11383 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11384 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11385 * elf/tst-unique2mod2.c: Likewise.
11386 * elf/tst-unique2mod1.c: Likewise.
11387 * elf/tst-unique1mod2.c: Likewise.
11388 * elf/tst-unique1mod1.c: Likewise.
11389 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11390 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11392 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11393 * sysdeps/mach/sysdep.h: Likewise.
11394 * sysdeps/i386/sysdep.h: Likewise.
11395 * sysdeps/i386/i386-mcount.S: Likewise.
11396 * sysdeps/x86_64/_mcount.S: Likewise.
11397 * sysdeps/x86_64/sysdep.h: Likewise.
11398 * sysdeps/sh/_mcount.S: Likewise.
11399 * sysdeps/sh/sysdep.h: Likewise.
11400 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11404 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11405 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11407 * locale/localeinfo.h: Likewise.
11408 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11409 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11411 2012-07-09 Roland McGrath <roland@hack.frob.com>
11414 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11416 * manual/message.texi (The Uniforum approach): Likewise.
11417 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11418 (glibc iconv Implementation): Likewise.
11420 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11423 * math/s_clog.c (__clog): Avoid scaling a value down where that
11424 could result in underflow.
11425 * math/s_clog10.c (__clog10): Likewise.
11426 * math/s_clog10f.c (__clog10f): Likewise.
11427 * math/s_clog10l.c (__clog10l): Likewise.
11428 * math/s_clogf.c (__clogf): Likewise.
11429 * math/s_clogl.c (__clogl): Likewise.
11430 * math/libm-test.inc (clog_test): Add more tests.
11431 (clog10_test): Likewise.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11435 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11438 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11439 by 7 not 8 to examine high bit of fractional part.
11442 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11443 for call to __mcount_internal.
11444 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11445 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11446 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11448 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11451 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11452 approximation for values within 0x1p-13f of an odd multiple of
11454 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11455 exception. Add more tests.
11456 * sysdeps/i386/fpu/libm-test-ulps: Update.
11459 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11460 inputs and return -1 for them. Do not check for +Inf in case not
11461 reachable for +Inf.
11462 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11463 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11464 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11465 and return -1 for them. Do not check for +Inf in case not
11466 reachable for +Inf.
11467 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11470 and return -1 for them. Do not check for +Inf in case not
11471 reachable for +Inf.
11472 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11473 spurious underflow.
11474 * sysdeps/i386/fpu/libm-test-ulps: Update.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11479 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11481 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11485 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11486 could result in spurious underflow. Scale down values above
11487 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11488 * math/s_csqrtf.c (__csqrtf): Likewise.
11489 * math/s_csqrtl.c (__csqrtl): Likewise.
11490 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11491 spurious underflow.
11492 * sysdeps/i386/fpu/libm-test-ulps: Update.
11493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11495 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11497 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11499 * catgets/xopen-msg.awk: New file.
11500 * catgets/xopen-msg.sed: Removed.
11502 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11504 * intl/po2test.awk: New file.
11505 * intl/po2test.sed: Removed.
11507 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11510 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11511 or multiply small sinh result by itself.
11512 * math/s_ctanf.c (__ctanf): Likewise.
11513 * math/s_ctanh.c (__ctanh): Likewise.
11514 * math/s_ctanhf.c (__ctanhf): Likewise.
11515 * math/s_ctanhl.c (__ctanhl): Likewise.
11516 * math/s_ctanl.c (__ctanl): Likewise.
11517 * math/libm-test.inc (ctan_test_tonearest): New function.
11518 (ctan_test_towardzero): Likewise.
11519 (ctan_test_downward): Likewise.
11520 (ctan_test_upward): Likewise.
11521 (ctanh_test_tonearest): Likewise.
11522 (ctanh_test_towardzero): Likewise.
11523 (ctanh_test_downward): Likewise.
11524 (ctanh_test_upward): Likewise.
11525 (main): Call these new functions.
11526 * sysdeps/i386/fpu/libm-test-ulps: Update.
11527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11529 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11531 * .gitignore: Delete /ports entry.
11533 2012-07-03 Andreas Jaeger <aj@suse.de>
11535 * po/bg.po: Update from translation team.
11536 * po/cs.po: Likewise.
11537 * po/de.po: Likewise.
11538 * po/hr.po: Likewise.
11539 * po/nl.pl: Likewise.
11540 * po/pl.po: Likewise.
11541 * po/vi.po: Likewise.
11543 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11545 * Makeconfig [!+link] (+link-before-libc): New variable.
11546 [!+link] (+link-after-libc): Likewise.
11547 [!+link] (+link-tests): Likewise.
11548 [!+link] (+link): Define in terms of $(+link-before-libc) and
11549 $(+link-after-libc).
11550 [!+link-static] (+link-static-before-libc): New variable.
11551 [!+link-static] (+link-static-after-libc): Likewise.
11552 [!+link-static] (+link-static-tests): Likewise.
11553 [!+link-static] (+link-static): Define in terms of
11554 $(+link-static-before-libc) and $(+link-static-after-libc).
11555 [build-shared] (link-libc-before-gnulib): New variable.
11556 [build-shared] (link-libc-tests): Likewise.
11557 [build-shared] (link-libc): Define in terms of
11558 $(link-libc-before-gnulib).
11559 [!build-shared] (link-libc-tests): New variable.
11560 (link-libc-static-tests): New variable.
11561 [!gnulib] (gnulib-arch): New variable.
11562 [!gnulib] (gnulib-tests): Likewise.
11563 [!gnulib] (static-gnulib-arch): Likewise.
11564 [!gnulib] (static-gnulib-tests): Likewise.
11565 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11566 Define with "=" instead of ":=".
11567 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11568 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11569 * Rules (binaries-all-notests): New variable.
11570 (binaries-all-tests): Likewise.
11571 (binaries-static-notests): Likewise.
11572 (binaries-static-tests): Likewise.
11573 (binaries-all): Define using $(binaries-all-notests) and
11574 $(binaries-all-tests).
11575 (binaries-static): Define using $(binaries-static-notests) and
11576 $(binaries-static-tests).
11577 (binaries-shared-tests): New variable.
11578 (binaries-shared-notests): Likewise.
11579 (binaries-shared): Remove variable.
11580 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11581 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11582 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11583 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11584 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11585 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11586 * elf/Makefile (sln-modules): New variable.
11587 (extra-objs): Add $(sln-modules:=.o).
11588 (ldconfig-modules): Add static-stubs.
11589 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11590 * elf/static-stubs.c: New file.
11593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11594 by 7 not 8 to examine high bit of fractional part. Use volatile
11595 variables when splitting into final array of floats if
11596 __FLT_EVAL_METHOD__ != 0.
11597 * math/libm-test.inc (cos_test): Add another test.
11598 (sin_test): Likewise.
11599 * sysdeps/i386/fpu/libm-test-ulps: Update.
11602 * math/libm-test.inc (cosh_test): Add more tests.
11604 * version.h (RELEASE): Set to "development".
11605 (VERSION): Set to "2.16.90".
11607 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11609 * NEWS: Update copyright. Remove last-updated date.
11610 Mention math library bug fixes and timezone data changes.
11611 * README: Mention GNU/Hurd, x32, and HPPA support status.
11613 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11615 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11617 2012-06-27 Andreas Jaeger <aj@suse.de>
11619 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11621 2012-06-25 Andreas Jaeger <aj@suse.de>
11623 * sysdeps/s390/fpu/libm-test-ulps: Update.
11625 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11626 Thomas Schwinge <thomas@codesourcery.com>
11628 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11629 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11633 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11635 * sysdeps/mach/start.c: Remove file.
11636 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11637 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11638 * sysdeps/sh/init-first.c: Likewise.
11640 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11641 registers for frame unwinding purposes, add CFI directives.
11642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11643 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11644 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11647 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11648 __fortify_fail returning.
11649 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11651 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11652 sysdeps/sh/____longjmp_chk.S.
11653 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11654 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11655 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11656 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11658 * sysdeps/sh/abort-instr.h: New file.
11659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11660 process in case exit returns.
11662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11663 initialize the GOT register before use.
11665 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11666 calculation of ARGC > 4.
11668 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11669 meaningful names to some local labels.
11671 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11672 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11674 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11675 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11676 (__arch_compare_and_exchange_val_16_acq): Likewise.
11677 (__arch_compare_and_exchange_val_32_acq): Likewise.
11678 (atomic_exchange_and_add): Fix gUSA sequence.
11679 (atomic_add): Likewise.
11680 (atomic_add_negative): Likewise.
11681 (atomic_add_zero): Likewise.
11682 (atomic_bit_test_set): Likewise.
11684 2012-06-22 Andreas Schwab <schwab@redhat.com>
11687 * include/link.h (struct link_map): Add l_free_initfini.
11688 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11690 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11691 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11692 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11695 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11697 * configure.in: Use AC_LANG_SOURCE.
11698 * configure: Regenerate.
11700 2012-06-22 Roland McGrath <roland@hack.frob.com>
11702 * configure.in (libc_cv_localstatedir): New substituted variable.
11703 * configure: Regenerated.
11704 * config.make.in (localstatedir): New variable, substituted from
11705 libc_cv_localstatedir.
11706 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11707 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11708 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11709 * sysdeps/gnu/configure: Regenerated.
11711 2012-06-21 Jeff Law <law@redhat.com>
11714 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11715 free. Simplify list management for _LIBC case.
11717 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11721 Clear sign bit of 64-bit integer value before comparing against
11724 * sysdeps/mach/configure: Regenerated.
11726 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11729 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11731 2012-06-21 Jeff Law <law@redhat.com>
11734 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11735 uint16_t for elements in the "seen" array to avoid char overflows.
11736 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11737 * elf/dl-open.c (dl_open_worker): Likewise.
11739 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11741 * scripts/list-sources.sh: Scan PORTS for translations.
11742 * po/libc.pot: Regenerated.
11744 2012-06-21 Andreas Jaeger <aj@suse.de>
11747 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11749 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11750 * bits/byteswap-16.h (__bswap_16): Likewise.
11751 * bits/byteswap.h (__bswap_constant_16): Likewise.
11753 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11756 * sysdeps/i386/fpu_control.h: Removed.
11757 * sysdeps/x86_64/fpu_control.h: Moved to ...
11758 * sysdeps/x86/fpu_control.h: Here.
11760 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11761 (_FPU_SETCW): Likewise.
11763 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11766 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11767 * sysdeps/x86/fpu/bits/mathinline.h: This.
11768 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11772 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11773 functions if __x86_64__ is defined.
11775 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11777 * string/endian.h: Add !__ASSEMBLER__ condition for including
11778 conversion interfaces.
11780 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11784 of ABS(x) in calculating zero to negative powers other than odd
11786 * math/libm-test.inc (pow_test): Add more tests.
11788 2012-06-15 Andreas Jaeger <aj@suse.de>
11790 * manual/contrib.texi (Contributors): Update entry of Liubov
11791 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11794 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11796 * string/string.h: Add __wur to GNU version of strerror_r.
11798 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11801 * string/Makefile (tests): Add tst-strtok_r.
11802 * string/tst-strtok_r.c: New file.
11803 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11804 RAX_LP/RDX_LP on SAVE_PTR.
11806 2012-06-14 Roland McGrath <roland@hack.frob.com>
11808 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11810 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11812 * libm_test.inc (csqrt_test): Allow more spurious underflow
11814 (j0_test): Likewise.
11815 (j1_test): Likewise.
11816 (y0_test): Likewise.
11817 (y1_test): Likewise.
11819 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11821 * po/Makefile (libc.pot): Use UTF-8 charset.
11823 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11826 Suppress sign-conversion warning from FD_SET.
11827 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11828 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11829 not unsigned long int.
11830 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11832 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11836 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11837 __extern_always_inline instead of __extern_inline.
11838 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11839 (__signbit): Likewise.
11840 (__signbitl): Support C++ namespace.
11841 (lrintf): New inline function.
11843 (llrintf): Likewise.
11844 (llrint): Likewise.
11854 (floorf): Likewise.
11855 (nearbyint): Likewise.
11856 (nearbyintf): Likewise.
11858 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11860 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11861 non-default versions.
11863 2012-06-11 Roland McGrath <roland@hack.frob.com>
11866 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11868 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11870 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11871 (FE_UPWARD, FE_DOWNWARD): Don't define.
11872 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11873 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11875 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11877 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11880 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11882 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11884 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11885 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11887 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11890 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11891 * sysdeps/i386/fpu/Implies: New file.
11892 * sysdeps/x86_64/fpu/Implies: Likewise.
11893 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11894 * sysdeps/x86/fpu/bits/fenv.h: This.
11896 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11899 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11902 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11903 character 0xffff that matches the last element of the
11906 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11908 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11911 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11914 values higher than 25.6283.
11916 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11919 subnormal exponent extraction and add some __builtin_expect.
11920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11921 Fix for subnormal mantissa calculation.
11923 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11925 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11926 cpu2 is -1 and errno is not ENOSYS.
11928 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11931 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11932 * sysdeps/x86/bits/string.h: This.
11933 * sysdeps/x86_64/bits/string.h: Removed.
11935 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11936 if not compiling for x86-64, but compiling for >= i486.
11938 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11939 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11941 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11942 New macro from Linux kernel 3.4.0.
11943 (FP_XSTATE_MAGIC2): Likewise.
11944 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11945 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11946 (struct _fpx_sw_bytes): New struct.
11947 (struct _xsave_hdr): Likewise.
11948 (struct _ymmh_state): Likewise.
11949 (struct _xstate): Likewise.
11951 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11952 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11953 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11954 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11955 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11956 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11958 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11959 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11960 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11961 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11962 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11963 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11965 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11968 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11969 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11970 (sysdep_headers): Include sys/platform/ppc.h.
11971 * sysdeps/powerpc/test-gettimebase.c: Test for
11972 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11973 * manual/Makefile (appendices): Include platform.texi.
11974 * manual/contrib.texi (Contributors): Update @node pointers.
11975 * manual/maint.texi (Maintenance): Likewise.
11976 (Platform): New node.
11977 * manual/platform.texi: New file. Document the new features.
11979 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11980 Jakub Jelinek <jakub@redhat.com>
11983 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11984 where __builtin_expect is unavailable.
11986 2012-06-03 David S. Miller <davem@davemloft.net>
11988 * stdlib/longlong.h: Updated from GCC.
11990 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11993 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11994 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11997 (GLIBC_2.16): Likewise.
11999 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12003 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12006 (default-abi): New variable.
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12008 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12010 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12012 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12014 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12017 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12018 definition. Document in comment.
12020 2012-06-01 David S. Miller <davem@davemloft.net>
12022 * stdlib/longlong.h: Updated from GCC.
12024 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12027 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12028 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12029 sys/debugreg.h sys/io.h here.
12030 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12031 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12033 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12034 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12035 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12036 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12037 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12038 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12041 Define only if __x86_64__ is defined.
12043 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12047 Use int64_t for variable i.
12048 * math/libm-test.inc (fmod_test): Add more tests.
12050 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12051 z computation is not scheduled after fetestexcept.
12052 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12053 Use math_force_eval instead of asm to ensure calculation scheduled
12054 before exception test.
12055 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12056 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12058 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12061 computation is not scheduled after fetestexcept.
12063 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12066 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12067 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12069 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12072 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12074 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12077 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12079 (__WCHAR_MIN): Support __WORDSIZE == 64.
12080 (__WCHAR_MAX): Likewise.
12082 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12083 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12087 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12090 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12093 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12094 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12096 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12097 Defined to 1 if __x86_64__ isn't defined.
12098 (_STAT_VER_LINUX_OLD): New.
12099 (st_atime): Remove duplicate.
12100 (st_mtime): Likewise.
12101 (st_ctime): Likewise.
12103 2012-05-31 David S. Miller <davem@davemloft.net>
12105 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12108 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12110 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12114 * elf/dl-reloc.c: Include <_itoa.h>.
12115 (_dl_reloc_bad_type): Remove use of INTUSE.
12116 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12117 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12118 * stdio-common/psiginfo.c (psiginfo): Likewise.
12119 * stdio-common/psignal.c (psignal): Likewise.
12120 * string/strsignal.c (strsignal): Likewise.
12121 * include/signal.h (_sys_siglist): Declare hidden proto.
12122 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12123 INTVARDEF with libc_hidden_data_def.
12124 * stdio-common/itoa-udigits.c: Likewise.
12125 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12126 (_itoa_lower_digits_internal): Remove declaration.
12127 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12128 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12129 (_sys_sigabbrev_internal): Remove aliases.
12130 (_sys_siglist): Define hidden alias.
12132 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12137 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12140 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12141 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12143 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12145 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12146 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12147 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12148 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12150 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12151 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12152 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12154 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12166 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12167 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12169 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12170 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12171 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12173 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12174 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12176 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12177 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12183 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12184 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12186 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12188 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12189 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12190 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12192 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12194 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12196 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12198 * math/math.h (M_El): Use two more decimal places.
12199 (M_LOG2El): Likewise.
12200 (M_LOG10El): Likewise.
12201 (M_LN2l): Likewise.
12202 (M_LN10l): Likewise.
12204 (M_PI_2l): Likewise.
12205 (M_PI_4l): Likewise.
12206 (M_1_PIl): Likewise.
12207 (M_2_PIl): Likewise.
12208 (M_2_SQRTPIl): Likewise.
12209 (M_SQRT2l): Likewise.
12210 (M_SQRT1_2l): Likewise.
12212 2012-05-31 David S. Miller <davem@davemloft.net>
12214 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12215 values between float registers.
12216 * sysdeps/sparc/sparc64/memset.S: Likewise.
12217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12219 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12221 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12222 -D_FORTIFY_SOURCE=1.
12223 (CPPFLAGS-tst-longjmp_chk.c): Define.
12224 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12225 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12226 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12227 CFLAGS-tst-wchar-h.c.
12229 2012-05-31 Marek Polacek <polacek@redhat.com>
12232 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12233 __endmntent_internal): Remove declaration.
12234 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12235 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12236 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12238 2012-05-30 David S. Miller <davem@davemloft.net>
12240 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12241 (___Q_simulate_exceptions): Use real FP ops rather than writing
12243 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12246 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12249 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12250 * sysdeps/x86/bits/xtitypes.h: This.
12252 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12253 * sysdeps/x86/bits/wordsize.h: This.
12255 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12256 * sysdeps/x86/bits/huge_vall.h: This.
12258 * sysdeps/i386/bits/select.h: Removed.
12259 * sysdeps/x86_64/bits/select.h: Renamed to ...
12260 * sysdeps/x86/bits/select.h: This.
12262 * sysdeps/i386/bits/setjmp.h: Removed.
12263 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12264 * sysdeps/x86/bits/setjmp.h: This.
12266 * sysdeps/i386/bits/mathdef.h: Removed.
12267 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12268 * sysdeps/x86/bits/mathdef.h: This.
12270 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12273 * include/sys/socket.h (__connect_internal)
12274 (__libc_sa_len_internal): Remove declaration.
12275 (__connect, __libc_sa_len): Declare hidden_proto.
12276 (SA_LEN): Remove use of INTUSE.
12277 * socket/connect.c: Add libc_hidden_def.
12278 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12279 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12280 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12282 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12284 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12285 of adding _internal alias.
12287 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12290 * sysdeps/i386/bits/link.h: Removed.
12291 * sysdeps/i386/bits/linkmap.h: Likewise.
12292 * sysdeps/x86_64/bits/link.h: Renamed to ...
12293 * sysdeps/x86/bits/link.h: This.
12294 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12295 * sysdeps/x86/bits/linkmap.h: This.
12297 * sysdeps/i386/bits/endian.h: Removed.
12298 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12299 * sysdeps/x86/bits/endian.h: This.
12301 * sysdeps/i386/bits/byteswap.h: Removed.
12302 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12303 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12304 * sysdeps/x86/bits/byteswap.h: This.
12305 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12306 * sysdeps/x86/bits/byteswap-16.h: This.
12307 * sysdeps/i386/Implies: Add x86.
12308 * sysdeps/x86_64/Implies: Likewise.
12310 2012-05-30 David S. Miller <davem@davemloft.net>
12312 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12313 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12314 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12315 (FP_TRAPPING_EXCEPTIONS): Define.
12316 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12317 (FP_TRAPPING_EXCEPTIONS): Define.
12318 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12319 subnormals only when inexact has been signalled or underflow
12320 exceptions are enabled.
12321 (_FP_PACK_CANONICAL): Likewise.
12323 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12327 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12329 2012-05-30 Richard Henderson <rth@twiddle.net>
12331 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12332 with #ifndef NOT_IN_libc.
12334 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12335 marked to avoid plt entry.
12337 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12340 * Makeconfig (default-abi): New macro.
12341 (abi-includes): Likewise.
12342 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12343 $(abi-$(default-abi)-lib-soname) for soname if defined.
12344 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12346 * Makefile (installed-stubs): Likewise.
12347 * include/stubs-biarch.h: Removed.
12348 * scripts/lib-names.awk: Only handle one library at a time.
12349 * scripts/soversions.awk: Remove WORDSIZE support.
12350 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12352 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12354 (syscall-list-default-condition): Likewise.
12355 (syscall-list-default-condition): Likewise.
12356 (syscall-list-includes): Likewise.
12357 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12358 syscall-list-* with abi-*. Handle undefined abi-variants.
12359 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12360 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12361 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12364 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12366 (syscall-list-32-options): Likewise.
12367 (syscall-list-32-condition): Likewise.
12368 (syscall-list-64-options): Likewise.
12369 (syscall-list-64-condition): Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12372 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12375 (abi-64-ld-soname): New macro.
12376 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12377 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12380 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12381 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12383 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12385 * sysdeps/unix/sysv/linux/kernel-features.h
12386 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12387 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12388 include <kernel-features.h>.
12389 [!__NR_ftruncate64]: Remove conditional code.
12390 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12391 [__NR_ftruncate64]: Make code unconditional.
12392 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12393 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12394 include <kernel-features.h>.
12395 [!__NR_ftruncate64]: Remove conditional code.
12396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12397 [__NR_ftruncate64]: Make code unconditional.
12398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12400 include <kernel-features.h>.
12401 [!__NR_ftruncate64]: Remove conditional code.
12402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12403 [__NR_ftruncate64]: Make code unconditional.
12404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12406 include <kernel-features.h>.
12407 [!__NR_ftruncate64]: Remove conditional code.
12408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12409 [__NR_ftruncate64]: Make code unconditional.
12410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12412 * configure.in (libc_cv_fpie): Weaken to a compile test using
12413 LIBC_TRY_CC_OPTION.
12414 * configure: Regenerated.
12416 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12431 2012-05-27 David S. Miller <davem@davemloft.net>
12433 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12435 (__Q_simulate_exceptions): Return void. Change to simulate
12436 exceptions by writing into the %fsr.
12437 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12438 (__Qp_handle_exceptions): Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12441 __Qp_handle_exceptions.
12442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12443 __Qp_handle_exceptions.
12444 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12445 as unused and give dummy FP_RND_NEAREST initializer.
12446 (FP_INHIBIT_RESULTS): Define.
12447 (___Q_simulate_exceptions): Update declaration.
12448 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12450 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12451 as unused and give dummy FP_RND_NEAREST initializer.
12452 (__Qp_handle_exceptions): Update declaration.
12453 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12456 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12458 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12459 the temporary FPU control word.
12460 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12461 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12462 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12463 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12464 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12465 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12466 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12467 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12468 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12469 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12470 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12472 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12474 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12477 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12479 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12480 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12481 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12482 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12484 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12485 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12488 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12490 * po/h.po: Update from translation team.
12492 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12494 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12496 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12497 handling of denormals.
12498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12499 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12501 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12507 2012-05-26 Marek Polacek <polacek@redhat.com>
12510 * math/libm-test.inc (fma_test): Don't always expect underflow
12513 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12516 * elf/tst-execstack.c: Include stackinfo.h.
12517 (do_test): Adjust test case to ensure that pthread_getattr_np
12518 behaviour remains the same after marking stack executable.
12520 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12522 * sysdeps/unix/sysv/linux/kernel-features.h
12523 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12524 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12526 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12527 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12528 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12530 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12531 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12533 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12535 * configure.in: Define the default includes to being none.
12536 * configure: Regenerated.
12538 2012-05-25 Roland McGrath <roland@hack.frob.com>
12540 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12541 * sysdeps/x86_64/setjmp.S: Likewise.
12542 * sysdeps/i386/bsd-setjmp.S: Likewise.
12543 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12544 * sysdeps/i386/setjmp.S: Likewise.
12545 * sysdeps/i386/__longjmp.S: Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12547 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12549 * include/stap-probe.h: New file.
12550 * configure.in: Handle --enable-systemtap.
12551 * configure: Regenerated.
12552 * config.h.in (USE_STAP_PROBE): New #undef.
12553 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12554 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12555 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12557 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12561 to 2.4.0 where earlier.
12562 * sysdeps/unix/sysv/linux/configure: Regenerated.
12563 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12564 <kernel-features.h>.
12565 [__ASSUME_32BITUIDS]: Make code unconditional.
12566 [!__ASSUME_32BITUIDS]: Remove conditional code.
12567 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12568 <kernel-features.h>.
12569 [__ASSUME_32BITUIDS]: Make code unconditional.
12570 [!__ASSUME_32BITUIDS]: Remove conditional code.
12571 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12572 [__ASSUME_32BITUIDS]: Make code unconditional.
12573 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12574 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12575 <kernel-features.h>.
12576 [__ASSUME_32BITUIDS]: Make code unconditional.
12577 [!__ASSUME_32BITUIDS]: Remove conditional code.
12578 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12579 <kernel-features.h>.
12580 [__ASSUME_32BITUIDS]: Make code unconditional.
12581 [!__ASSUME_32BITUIDS]: Remove conditional code.
12582 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12583 <kernel-features.h>.
12584 [__ASSUME_32BITUIDS]: Make code unconditional.
12585 [!__ASSUME_32BITUIDS]: Remove conditional code.
12586 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12587 <kernel-features.h>.
12588 [__ASSUME_32BITUIDS]: Make code unconditional.
12589 [!__ASSUME_32BITUIDS]: Remove conditional code.
12590 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12591 <kernel-features.h>.
12592 [__ASSUME_32BITUIDS]: Make code unconditional.
12593 [!__ASSUME_32BITUIDS]: Remove conditional code.
12594 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12595 <kernel-features.h>.
12596 [__ASSUME_32BITUIDS]: Make code unconditional.
12597 [!__ASSUME_32BITUIDS]: Remove conditional code.
12598 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12599 <kernel-features.h>.
12600 [__ASSUME_32BITUIDS]: Make code unconditional.
12601 [!__ASSUME_32BITUIDS]: Remove conditional code.
12602 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12603 <kernel-features.h>.
12604 [__ASSUME_32BITUIDS]: Make code unconditional.
12605 [!__ASSUME_32BITUIDS]: Remove conditional code.
12606 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12607 <kernel-features.h>.
12608 [__ASSUME_32BITUIDS]: Make code unconditional.
12609 [!__ASSUME_32BITUIDS]: Remove conditional code.
12610 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12611 <kernel-features.h>.
12612 [__ASSUME_32BITUIDS]: Make code unconditional.
12613 [!__ASSUME_32BITUIDS]: Remove conditional code.
12614 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12615 <kernel-features.h>.
12616 [__NR_setresgid] (__setresgid): Do not declare.
12617 [__ASSUME_32BITUIDS]: Make code unconditional.
12618 [!__ASSUME_32BITUIDS]: Remove conditional code.
12619 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12620 <kernel-features.h>.
12621 [__NR_setresuid] (__setresuid): Do not declare.
12622 [__ASSUME_32BITUIDS]: Make code unconditional.
12623 [!__ASSUME_32BITUIDS]: Remove conditional code.
12624 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
12641 <kernel-features.h>.
12642 [__ASSUME_32BITUIDS]: Make code unconditional.
12643 [!__ASSUME_32BITUIDS]: Remove conditional code.
12644 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12645 <kernel-features.h>.
12646 [__ASSUME_32BITUIDS]: Make code unconditional.
12647 [!__ASSUME_32BITUIDS]: Remove conditional code.
12648 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12649 <kernel-features.h>.
12650 [__ASSUME_32BITUIDS]: Make code unconditional.
12651 [!__ASSUME_32BITUIDS]: Remove conditional code.
12652 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12653 <kernel-features.h>.
12654 [__ASSUME_32BITUIDS]: Make code unconditional.
12655 [!__ASSUME_32BITUIDS]: Remove conditional code.
12656 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12657 <kernel-features.h>.
12658 [__ASSUME_32BITUIDS]: Make code unconditional.
12659 [!__ASSUME_32BITUIDS]: Remove conditional code.
12660 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12661 <kernel-features.h>.
12662 [__ASSUME_32BITUIDS]: Make code unconditional.
12663 [!__ASSUME_32BITUIDS]: Remove conditional code.
12664 * sysdeps/unix/sysv/linux/kernel-features.h
12665 (__ASSUME_SETRESUID_SYSCALL): Remove.
12666 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12667 (__ASSUME_32BITUIDS): Likewise.
12668 (__ASSUME_LDT_WORKS): Likewise.
12669 (__ASSUME_O_DIRECTORY): Likewise.
12670 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12671 architecture but not kernel version.
12672 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12673 (__ASSUME_MMAP2_SYSCALL): Likewise.
12674 (__ASSUME_STAT64_SYSCALL): Likewise.
12675 (__ASSUME_IPC64): Likewise.
12676 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12677 <kernel-features.h>.
12678 [__ASSUME_32BITUIDS]: Make code unconditional.
12679 [!__ASSUME_32BITUIDS]: Remove conditional code.
12680 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12681 <kernel-features.h>.
12682 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12683 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12684 132096]: Remove conditional code.
12685 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12686 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
12691 <kernel-features.h>.
12692 [__ASSUME_32BITUIDS]: Make code unconditional.
12693 [!__ASSUME_32BITUIDS]: Remove conditional code.
12694 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12695 <kernel-features.h>.
12696 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12698 (__setresgid): Do not declare.
12699 [__ASSUME_32BITUIDS]: Make code unconditional.
12700 [!__ASSUME_32BITUIDS]: Remove conditional code.
12701 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12702 <kernel-features.h>.
12703 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12705 (__setresuid): Do not declare.
12706 [__ASSUME_32BITUIDS]: Make code unconditional.
12707 [!__ASSUME_32BITUIDS]: Remove conditional code.
12708 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12709 <kernel-features.h>.
12710 [__ASSUME_32BITUIDS]: Make code unconditional.
12711 [!__ASSUME_32BITUIDS]: Remove conditional code.
12712 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12713 <kernel-features.h>.
12714 [__ASSUME_32BITUIDS]: Make code unconditional.
12715 [!__ASSUME_32BITUIDS]: Remove conditional code.
12717 2012-05-25 Richard Henderson <rth@twiddle.net>
12719 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12720 dl_hwcap to ifunc resolver.
12721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12723 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12724 dl_hwcap to ifunc resolver.
12725 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12727 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12730 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12731 for |x| <= 2**-26, not 2**-57.
12732 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12735 2012-05-24 Jeff Law <law@redhat.com>
12737 * stdio-common/Makefile (tests): Add bug25.
12738 * stdio-common/bug25.c: New test.
12740 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12743 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12744 multiple of MALLOC_ALIGNMENT in size.
12745 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12747 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12749 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12751 (FILENAME_MAX): Use macro-int-constant.
12752 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12753 (_IOFBF): Use macro-int-constant.
12754 (_IOLBF): Likewise.
12755 (_IONBF): Likewise.
12756 (SEEK_CUR): Likewise.
12757 (SEEK_END): Likewise.
12758 (SEEK_SET): Likewise.
12759 (TMP_MAX): Likewise.
12760 (EOF): Use macro-int-constant. Require < 0.
12761 (NULL): Use macro-constant. Require == 0.
12762 (stdin): Require type to be FILE *.
12763 (stdout): Likewise.
12764 (stderr): Likewise.
12765 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12766 macro-int-constant.
12767 (EXIT_SUCCESS): Likewise.
12768 (NULL): Use macro-constant. Require == 0.
12769 (RAND_MAX): Use macro-int-constant.
12770 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12771 [C99-based standards] (strtof): Require function.
12772 [C99-based standards] (strtold): Likewise.
12773 [C99-based standards] (strtoll): Likewise.
12774 [C99-based standards] (strtoull): Likewise.
12775 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12776 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12777 [ISO || ISO99 || ISO11] (math.h): Likewise.
12778 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12779 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12782 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12785 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12786 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12787 * intl/dgettext.c (DCGETTEXT): Likewise.
12788 * intl/gettext.c (DCGETTEXT): Likewise.
12789 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12790 * posix/regex_internal.h (gettext): Likewise.
12791 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12792 Remove declaration.
12793 * include/argz.h (__argz_count_internal)
12794 (__argz_stringify_internal): Remove declaration.
12795 (__argz_count, __argz_stringify): Declare hidden proto.
12796 * intl/dcgettext.c: Remove use of INTDEF.
12797 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12798 * string/argz-stringify.c: Likewise.
12799 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12800 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12801 Declare hidden proto.
12802 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12803 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12804 Declare hidden proto.
12805 * include/stdio.h (__asprintf_internal): Don't declare.
12806 (__asprintf): Don't define as macro. Declare hidden proto.
12807 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12808 (__fsetlocking): Declare hidden proto.
12809 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12810 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12812 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12813 (_IO_setlinebuf): Remove use of INTUSE.
12814 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12815 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12816 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12817 Remove declaration.
12818 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12819 (_IO_do_flush): Remove use of INTUSE.
12820 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12821 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12822 (_IO_adjust_column, _IO_least_wmarker)
12823 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12824 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12825 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12826 (_IO_default_doallocate, _IO_wdefault_doallocate)
12827 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12828 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12829 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12830 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12831 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12832 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12833 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12834 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12835 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12836 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12837 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12838 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12839 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12841 (_IO_flush_all_internal, _IO_adjust_column_internal)
12842 (_IO_default_uflow_internal, _IO_default_finish_internal)
12843 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12844 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12845 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12846 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12847 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12848 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12849 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12850 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12851 (_IO_file_close_internal, _IO_file_close_it_internal)
12852 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12853 (_IO_file_init_internal, _IO_file_attach_internal)
12854 (_IO_file_fopen_internal, _IO_file_read_internal)
12855 (_IO_file_sync_internal, _IO_file_seek_internal)
12856 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12857 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12858 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12859 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12860 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12861 (_IO_list_all_internal, _IO_link_in_internal)
12862 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12863 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12864 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12865 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12866 (_IO_do_write_internal, _IO_padn_internal)
12867 (_IO_getline_info_internal, _IO_getline_internal)
12868 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12869 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12870 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12871 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12872 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12873 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12874 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12875 with libc_hidden_ver, remove use of INTUSE.
12876 * libio/genops.c: Likewise.
12877 * libio/freopen.c: Likewise.
12878 * libio/freopen64.c: Likewise.
12879 * libio/iofclose.c: Likewise.
12880 * libio/iofdopen.c: Likewise.
12881 * libio/iofflush.c: Likewise.
12882 * libio/iofflush_u.c: Likewise.
12883 * libio/iofgets.c: Likewise.
12884 * libio/iofgets_u.c: Likewise.
12885 * libio/iofopen.c: Likewise.
12886 * libio/iofopncook.c: Likewise.
12887 * libio/iofread.c: Likewise.
12888 * libio/iofread_u.c: Likewise.
12889 * libio/ioftell.c: Likewise.
12890 * libio/iofwrite.c: Likewise.
12891 * libio/iogetline.c: Likewise.
12892 * libio/iogets.c: Likewise.
12893 * libio/iogetwline.c: Likewise.
12894 * libio/iopadn.c: Likewise.
12895 * libio/iopopen.c: Likewise.
12896 * libio/ioseekoff.c: Likewise.
12897 * libio/ioseekpos.c: Likewise.
12898 * libio/iosetbuffer.c: Likewise.
12899 * libio/iosetvbuf.c: Likewise.
12900 * libio/ioungetc.c: Likewise.
12901 * libio/ioungetwc.c: Likewise.
12902 * libio/iovdprintf.c: Likewise.
12903 * libio/iovsprintf.c: Likewise.
12904 * libio/iovsscanf.c: Likewise.
12905 * libio/memstream.c: Likewise.
12906 * libio/obprintf.c: Likewise.
12907 * libio/oldfileops.c: Likewise.
12908 * libio/oldiofclose.c: Likewise.
12909 * libio/oldiofdopen.c: Likewise.
12910 * libio/oldiofopen.c: Likewise.
12911 * libio/oldiopopen.c: Likewise.
12912 * libio/oldstdfiles.c: Likewise.
12913 * libio/putc.c: Likewise.
12914 * libio/setbuf.c: Likewise.
12915 * libio/setlinebuf.c: Likewise.
12916 * libio/stdfiles.c: Likewise.
12917 * libio/strops.c: Likewise.
12918 * libio/vasprintf.c: Likewise.
12919 * libio/vscanf.c: Likewise.
12920 * libio/vsnprintf.c: Likewise.
12921 * libio/vswprintf.c: Likewise.
12922 * libio/wfiledoalloc.c: Likewise.
12923 * libio/wfileops.c: Likewise.
12924 * libio/wgenops.c: Likewise.
12925 * libio/wmemstream.c: Likewise.
12926 * libio/wstrops.c: Likewise.
12927 * libio/__fpurge.c: Likewise.
12928 * libio/__fsetlocking.c: Likewise.
12929 * assert/assert.c: Likewise.
12930 * debug/fgets_chk.c: Likewise.
12931 * debug/fgets_u_chk.c: Likewise.
12932 * debug/fread_chk.c: Likewise.
12933 * debug/fread_u_chk.c: Likewise.
12934 * debug/gets_chk.c: Likewise.
12935 * debug/obprintf_chk.c: Likewise.
12936 * debug/vasprintf_chk.c: Likewise.
12937 * debug/vdprintf_chk.c: Likewise.
12938 * debug/vsnprintf_chk.c: Likewise.
12939 * debug/vsprintf_chk.c: Likewise.
12940 * malloc/mtrace.c: Likewise.
12941 * misc/error.c: Likewise.
12942 * misc/syslog.c: Likewise.
12943 * stdio-common/asprintf.c: Likewise.
12944 * stdio-common/fxprintf.c: Likewise.
12945 * stdio-common/getw.c: Likewise.
12946 * stdio-common/isoc99_fscanf.c: Likewise.
12947 * stdio-common/isoc99_scanf.c: Likewise.
12948 * stdio-common/isoc99_vfscanf.c: Likewise.
12949 * stdio-common/isoc99_vscanf.c: Likewise.
12950 * stdio-common/isoc99_vsscanf.c: Likewise.
12951 * stdio-common/printf-prs.c: Likewise.
12952 * stdio-common/printf_fp.c: Likewise.
12953 * stdio-common/printf_fphex.c: Likewise.
12954 * stdio-common/printf_size.c: Likewise.
12955 * stdio-common/putw.c: Likewise.
12956 * stdio-common/scanf.c: Likewise.
12957 * stdio-common/sprintf.c: Likewise.
12958 * stdio-common/tmpfile.c: Likewise.
12959 * stdio-common/vfprintf.c: Likewise.
12960 * stdio-common/vfscanf.c: Likewise.
12961 * stdlib/strfmon_l.c: Likewise.
12962 * sunrpc/openchild.c: Likewise.
12963 * sunrpc/xdr_stdio.c: Likewise.
12964 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12965 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12967 2012-05-24 Roland McGrath <roland@hack.frob.com>
12969 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12971 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12972 in the third column, to generate for the shared library an IFUNC
12973 that uses _dl_vdso_vsym.
12974 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12975 * Makeconfig (object-suffixes-noshared): New variable.
12977 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12978 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12979 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12980 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12983 * include/sys/time.h (__gettimeofday): Remove macro.
12984 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12985 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12987 (__gettimeofday): Add libc_hidden_def.
12988 (gettimeofday): Add libc_hidden_weak.
12989 * sysdeps/mach/gettimeofday.c: Likewise.
12990 * sysdeps/posix/gettimeofday.c: Likewise.
12991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12992 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12994 (__gettimeofday_internal): Remove strong_alias.
12995 (__gettimeofday): Add libc_hidden_def.
12996 (gettimeofday): Add libc_hidden_weak.
12997 * sysdeps/unix/syscalls.list (gettimeofday):
12998 Remove __gettimeofday_internal alias.
13000 2012-05-24 Daniel Jacobowitz <drow@false.org>
13001 H.J. Lu <hongjiu.lu@intel.com>
13004 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13005 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13006 (largebin_index_32_big): New.
13007 (largebin_index): Use it for 16-byte alignment.
13008 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13009 correction with front_misalign.
13011 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13039 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13040 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13042 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13046 * math/libm-test.inc (exp_test): Add test from bug 14036.
13047 (pow_test): Add test from bug 10846.
13049 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13051 (special_function): Do not include flags in test name.
13052 (parse_args): Likewise.
13053 * sysdeps/i386/fpu/libm-test-ulps: Update.
13054 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13055 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13056 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13059 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13061 * math/libm-test.inc ("Philosophy"): Update comment about
13063 (UNDERFLOW_EXCEPTION): New macro.
13064 (UNDERFLOW_EXCEPTION_OK): Likewise.
13065 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13066 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13067 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13068 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13069 (INVALID_EXCEPTION_OK): Update value.
13070 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13071 (OVERFLOW_EXCEPTION_OK): Likewise.
13072 (IGNORE_ZERO_INF_SIGN): Likewise.
13073 (test_exceptions): Handle underflow exceptions.
13074 (acos_test): Update for underflow exception expectations.
13075 (cexp_test): Likewise.
13076 (clog_test): Likewise.
13077 (clog10_test): Likewise.
13078 (csqrt_test): Likewise.
13079 (ctan_test): Likewise.
13080 (ctanh_test): Likewise.
13081 (exp_test): Likewise.
13082 (exp10_test): Likewise.
13083 (exp2_test): Likewise.
13084 (expm1_test): Likewise.
13085 (fma_test): Likewise.
13086 (j0_test): Likewise.
13087 (jn_test): Likewise.
13088 (nexttoward_test): Likewise.
13089 (pow_test): Likewise.
13090 (scalbn_test): Likewise.
13091 (scalbln_test): Likewise.
13092 (tan_test): Likewise.
13093 (y1_test): Likewise.
13094 * sysdeps/i386/fpu/libm-test-ulps: Update.
13095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13097 2012-05-23 David S. Miller <davem@davemloft.net>
13099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13100 (__libc_sigaction): Remove unused local variables.
13102 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13104 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13106 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13108 mktime: avoid signed integer overflow
13109 * time/mktime.c (__mktime_internal): Do not mishandle the case
13110 where diff == INT_MIN.
13112 mktime: simplify computation of average
13113 * time/mktime.c (ranged_convert): Use new time_t_avg function
13114 instead of rolling our own (probably-slower) code.
13116 mktime: do not assume signed right shift propagates sign bit
13117 * time/mktime.c (isdst_differ): New static function.
13118 (__mktime_internal): No need to normalize tm_isdst now.
13119 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13122 mktime: merge another wrapv change from gnulib
13123 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13124 from some compilers.
13126 mktime: remove incorrect attempt at unusual arithmetics
13127 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13128 The code didn't really work on such machines anyway.
13129 (TYPE_MINIMUM): Assume two's complement.
13130 (twos_complement_arithmetic): Verify that long_int and time_t
13131 are two's complement (or unsigned, in the latter case).
13133 mktime: check signed shifts on long_int and time_t, too
13134 * time/mktime.c (SHR): Check that shifts work as desired
13135 on the types long_int and time_t too, as SHR is used on
13138 mktime: do not assume 'long' is wide enough
13139 * time/mktime.c (verify): Move decl up.
13140 (long_int): New type.
13141 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13142 to remove assumption in the code that 'long' is wide enough to
13143 store year values. This assumption is not true on x32 and on
13144 some non-glibc platforms.
13146 mktime: merge wrapv change from gnulib
13147 * time/mktime.c (WRAPV): New macro.
13148 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13149 (guess_time_tm, __mktime_internal): Do not assume that signed
13150 integer overflow wraps around; modern compilers generate code
13151 where this assumption is no longer valid.
13153 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13155 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13156 Replace "jmp L(pseudo_end)" with "ret".
13157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13160 2012-05-23 Andreas Jaeger <aj@suse.de>
13162 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13163 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13165 2012-05-23 Andreas Jaeger <aj@suse.de>
13166 Maximilian Attems <max@stro.at>
13168 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13171 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13173 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13174 code so that pseudo_end is just ret and the stack pointer is
13175 correct also for static library in error case.
13177 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13179 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13180 move to syscalls.list.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13186 * manual/install.texi (Running make install): Do not mention Linux
13187 kernel version for which pt_chown is not needed.
13188 (Linux): Do not mention problems with nscd with 2.0 kernels.
13189 * INSTALL: Regenerated.
13191 2012-05-23 Andreas Jaeger <aj@suse.de>
13193 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13194 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13196 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13198 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13200 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13206 * sysdeps/unix/sysv/linux/bits/in.h
13207 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13209 2012-05-22 Roland McGrath <roland@hack.frob.com>
13211 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13212 (PREPARE_VERSION): Just use assert instead, it will be elided
13213 under [NDEBUG] anyway.
13215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13217 * sysdeps/unix/sysv/linux/Makefile: Include
13218 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13219 (sysdep_routines): Remove sysctl.
13220 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13221 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13224 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13226 2012-05-22 Andreas Jaeger <aj@suse.de>
13228 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13229 that pseudo_end is just ret and the stack pointer is correct also
13230 for static library in error case.
13232 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13235 * nss/nsswitch.c (defconfig_entries): New variable.
13236 (__nss_database_lookup): Don't leak defconfig entries.
13237 (nss_parse_service_list): Don't leak on error paths.
13238 (free_database_entries): New function.
13239 (free_defconfig): New function.
13240 (free_mem): Move common code to free_database_entries.
13242 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13244 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13246 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13248 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13249 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13252 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13253 (INTERNAL_SYSCALL_TYPES): Likewise.
13254 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13255 (LOAD_REGS_TYPES_[1-6]): Likewise.
13256 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13257 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13259 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13262 copysignl for GLIBC_2_0.
13263 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13264 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13266 logbl for GLIBC_2_0.
13267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13268 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13270 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13275 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13278 * time/mktime.c: Update copyright years.
13280 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13282 mktime: merge comment-quoting-style change from gnulib
13283 * time/mktime.c: Quote 'like this' in comments.
13284 The GNU coding standards suggest that we no longer quote `like this',
13285 as "`" and "'" are typically rendered asymmetrically nowadays.
13286 The typical gnulib style is to quote 'like this' when quoting
13287 code, and "like this" when quoting English.
13289 * time/mktime.c (compile-command): Add "-I.".
13291 mktime: merge mktime-internal.h change from gnulib
13292 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13294 mktime: merge time_r change from gnulib
13295 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13297 mktime: merge DEBUG change from gnulib
13298 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13299 case system <time.h> has a #define.
13301 mktime: merge <sys/types.h> change from gnulib
13302 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13303 since <time.t> is now guaranteed to define time_t.
13305 mktime: merge HAVE_CONFIG_H change from gnulib
13306 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13308 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13313 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13315 (struct rusage): Use anonymous union to pad each field to
13318 2012-05-21 David S. Miller <davem@davemloft.net>
13320 * Makefules (o-iterator): Remove .s cases.
13321 (compile-command.s): Delete.
13322 (COMPILE.s): Delete.
13323 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13325 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13327 * configure.in (libc_cv_predef_stack_protector): Only consider
13328 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13329 * configure: Regenerated.
13331 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13334 New macro. Use R*LP on int and pointer.
13335 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13336 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13337 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13338 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13340 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13341 [__WORDSIZE_TIME64_COMPAT32] instead of
13342 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13343 (struct utmp): Likewise.
13344 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13345 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13347 (__WORDSIZE_TIME64_COMPAT32): This.
13348 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13349 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13350 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13352 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13353 (__WORDSIZE_TIME64_COMPAT32): New macro.
13355 2012-05-21 Andreas Jaeger <aj@suse.de>
13357 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13358 only if [SHARED]. Add prototype for __wcschr_ia32.
13360 2012-05-21 Roland McGrath <roland@hack.frob.com>
13362 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13363 of %rbp unmolested in the jmp_buf while mangling the low bits.
13364 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13365 unmolested high bits of %rbp while demangling the low bits.
13366 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13368 2012-05-21 Andreas Jaeger <aj@suse.de>
13370 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13371 * sunrpc/svc_simple.c: Use it for registerrpc.
13372 * sunrpc/xcrypt.c: Use it for passwd2des.
13374 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13376 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13378 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13379 Don't define if [__SYSCALL_WORDSIZE != 32].
13380 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13383 2012-05-21 Bruno Haible <bruno@clisp.org>
13384 Andreas Jaeger <aj@suse.de>
13386 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13387 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13388 inptr and inend for must_buffer_ch.
13389 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13390 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13391 * stdio-common/Makefile (tests): Remove bug15.
13392 (bug15-ENV): Remove macro.
13393 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13396 2012-05-19 Andreas Jaeger <aj@suse.de>
13397 Roland McGrath <roland@hack.frob.com>
13399 * manual/contrib.texi: Completely rewritten. It contains now an
13400 alphabetical list of contributors and their contributions.
13402 2012-05-21 Richard Henderson <rth@twiddle.net>
13404 * misc/getauxval.c (__getauxval): Use unsigned long int.
13405 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13406 (getauxval): Use unsigned long int.
13408 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13410 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13412 2012-05-21 Roland McGrath <roland@hack.frob.com>
13414 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13415 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13416 __alignof__ (long double).
13418 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13422 2012-05-20 Richard Henderson <rth@twiddle.net>
13424 * misc/getauxval.c: New file.
13425 * misc/sys/auxv.h: New file.
13426 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13427 (routines): Add getauxval.
13428 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13429 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13430 * elf/dl-sysdep.c (_dl_auxv): Remove.
13431 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13432 * elf/dl-support.c (_dl_auxv): New variable.
13433 (_dl_aux_init): Initialize it.
13434 * manual/startup.texi (Auxiliary Vector): New node.
13435 * sysdeps/generic/bits/hwcap.h: New file.
13436 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13437 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13438 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13439 * sysdeps/sparc/sysdep.h: ... here. Include it.
13440 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13453 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13457 2012-05-19 David S. Miller <davem@davemloft.net>
13459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13461 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13464 * math/s_ccosh.c: Include <float.h>
13465 (__ccosh): Avoid internal overflow calculating sinh and cosh
13466 values before multiplying by sin and cos values.
13467 * math/s_ccoshf.c: Likewise.
13468 * math/s_ccoshl.c: Likewise.
13469 * math/s_csin.c: Likewise.
13470 * math/s_csinf.c: Likewise.
13471 * math/s_csinl.c: Likewise.
13472 * math/s_csinh.c: Likewise.
13473 * math/s_csinhf.c: Likewise.
13474 * math/s_csinhl.c: Likewise.
13475 * math/libm-test.inc (ccos_test): Add more tests.
13476 (ccosh_test): Likewise.
13477 (csin_test): Likewise.
13478 (csinh_test): Likewise.
13479 * sysdeps/i386/fpu/libm-test-ulps: Update.
13480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13482 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13484 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13485 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13487 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13489 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13491 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13492 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13493 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13494 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13495 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13496 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13497 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13498 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13499 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13500 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13501 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13502 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13503 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13504 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13505 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13506 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13507 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13508 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13509 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13510 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13511 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13512 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13513 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13514 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13515 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13516 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13517 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13518 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13519 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13520 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13521 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13523 2012-05-18 Andreas Jaeger <aj@suse.de>
13525 * csu/.gitignore: Delete.
13527 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13529 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13530 (timex): Use __syscall_slong_t.
13532 2012-05-18 Andreas Jaeger <aj@suse.de>
13533 Carlos O'Donell <carlos_odonell@mentor.com>
13535 * manual/install.texi (Configuring and compiling): Update
13536 description about files modified in the source directory.
13537 * INSTALL: Regenerated.
13539 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13541 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13542 value. Use "or" to set return value to -1.
13543 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13544 negate return value.
13546 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13548 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13549 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13550 failure if the compiler has Graphite support disabled.
13551 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13553 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13554 CFLAGS-memmove.c): Likewise.
13555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13558 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13560 * sysdeps/x86_64/x32/_itoa.h: New file.
13562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13563 getdents system call only if kernel and user dirents have the
13564 same d_ino and d_off.
13566 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13567 LLONG_MAX != LONG_MAX.
13568 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13569 (_fitoa_word): Likewise.
13571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13573 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13578 include <bits/wordsize.h>. Check __x86_64__ instead of
13580 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13581 if __x86_64__ is defined. Use anonymous union on fpstate.
13583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13586 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13588 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13589 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13590 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13591 Refer to _rtld_local_ro instead of _rtld_global_ro.
13592 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13594 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13596 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13598 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13599 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13600 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13602 * sysdeps/powerpc/powerpc32/dl-machine.c
13603 (__elf_machine_runtime_setup) [PROF]: Don't reference
13606 2012-05-18 Andreas Jaeger <aj@suse.de>
13608 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13609 function only available for GCCs before 3.4 since GCC 3.4
13610 introduced a builtin.
13612 (llrintf): Likewise.
13613 (llrint): Likewise.
13620 (nearbyint): Likewise.
13621 (nearbyintf): Likewise.
13625 (floorf): Likewise.
13627 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13629 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13630 on both fields and cast pointer to __syscall_ulong_t.
13632 * bits/types.h (__fsword_t): New type.
13633 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13634 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13636 (__FSWORD_T_TYPE): Likewise.
13637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13638 (__FSWORD_T_TYPE): Likewise.
13639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13640 (__FSWORD_T_TYPE): Likewise.
13641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13642 (__FSWORD_T_TYPE): Likewise.
13643 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13644 __SWORD_TYPE with __fsword_t.
13645 (statfs64): Likewise.
13647 2012-05-17 David S. Miller <davem@davemloft.net>
13649 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13651 2012-05-17 Andreas Jaeger <aj@suse.de>
13653 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13656 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13658 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13660 2012-05-17 Andreas Jaeger <aj@suse.de>
13662 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13665 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13667 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13669 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13672 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13674 2012-05-17 Andreas Jaeger <aj@suse.de>
13675 Carlos O'Donell <carlos_odonell@mentor.com>
13678 * sysdeps/x86_64/multiarch/init-arch.h
13679 (bit_YMM_Usable): Rename to...
13680 (bit_AVX_Usable): ... this.
13681 (bit_FMA4_Usable): New macro.
13682 (bit_XMM_state): New macro.
13683 (bit_YMM_state): New macro.
13684 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13685 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13686 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13687 (CPUID_OSXSAVE): New macro.
13688 (CPUID_AVX): New macro.
13689 (CPUID_FMA4): New macro.
13690 (index_YMM_Usable): Rename to...
13691 (index_AVX_Usable): ... this.
13692 (HAS_AVX): Use HAS_ARCH_FEATURE.
13693 (HAS_FMA4): Likewise.
13694 (HAS_YMM_USABLE): Remove.
13695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13696 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13698 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13699 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13700 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13701 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13702 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13704 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13706 * math/libm-test.c: Support platforms without multiple rounding modes.
13707 * math/bug-nextafter.c: Support platforms without FP exceptions.
13708 * math/bug-nexttoward.c: Likewise.
13709 * math/test-fenv.c: Likewise.
13710 * math/test-misc.c: Likewise.
13711 * stdlib/bug-getcontext.c: Likewise.
13713 2012-05-17 Andreas Jaeger <aj@suse.de>
13715 * manual/examples/search.c (critter_cmp): Change signature to
13717 * manual/string.texi (Collation Functions): Likewise.
13719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13721 * bits/types.h: Fold copyright years.
13722 * bits/typesizes.h: Likewise.
13723 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13727 * time/time.h: Likewise.
13729 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13732 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13733 in instead of returning them. Return void.
13734 (__libc_mallinfo): Accumulate over all arenas.
13735 (__malloc_stats): Adjust for change in int_mallinfo interface.
13737 2012-05-16 Roland McGrath <roland@hack.frob.com>
13740 * configure.in (NM): Add AC_CHECK_TOOL for it.
13741 (libc_extra_cflags): New substituted variable.
13742 Check for -fstack-protector being used implicitly.
13743 * configure: Regenerated.
13744 * config.make.in (config-extra-cflags): New variable,
13745 gets @libc_extra_cflags@.
13746 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13749 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13750 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13751 * configure: Regenerated.
13752 * config.make.in (CPPUNDEFS): New substituted variable.
13753 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13754 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13755 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13759 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13760 (mq_attr): Use __syscall_slong_t.
13762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13765 Check __x86_64__ instead of __WORDSIZE.
13766 (_STAT_VER_LINUX): Likewise.
13767 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13768 __syscall_ulong_t and __syscall_slong_t.
13769 (stat64): Likewise.
13771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13777 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13781 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13784 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13785 include <bits/wordsize.h>. Check __x86_64__ instead of
13787 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13789 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13791 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13792 include <bits/wordsize.h>. Check __x86_64__ instead of
13794 (user_regs_struct): Use "__extension__ unsigned long long"
13795 instead of "unsigned long" if __x86_64__ is defined.
13796 (user): Likewise. Pad after pointer field if __ILP32__ is
13799 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13801 * configure.in (makeinfo): Require version 4.5 or later. Allow
13803 * configure: Regenerated.
13804 * manual/install.texi (texinfo): Increase version requirement to
13806 * INSTALL: Regenerated.
13808 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13810 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13812 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13814 * sysdeps/x86_64/x32/ffs.c: New file.
13816 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13818 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13819 defined. Use __syscall_ulong_t.
13820 (shminfo): Use __syscall_ulong_t.
13821 (shm_info): Likewise.
13823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13826 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13828 (msgqnum_t): Use __syscall_ulong_t.
13829 (msglen_t): Likewise.
13830 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13833 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13834 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13836 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13838 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13839 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13841 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13845 include <bits/wordsize.h>. Check __x86_64__ instead of
13848 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13849 "unsigned long long int" if __x86_64__ is defined.
13850 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13853 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13854 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13856 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13858 (GET_PC): Cast to uintptr_t first.
13859 (GET_FRAME): Likewise.
13860 (GET_STACK): Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13865 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13867 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13869 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13870 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13872 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13876 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13882 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13884 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13886 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13888 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13890 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13892 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13894 * Makerules (+depfiles): Also collect depfiles from .oS in
13896 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13897 .oS, $(libnldbl-routines)).
13899 * Makerules (native-compile-mkdep-flags): Define.
13900 * sunrpc/Makefile (extra-objs): Add $(addprefix
13901 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13902 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13903 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13904 calling $(make-target-directory).
13906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13908 * bits/types.h (__snseconds_t): Removed.
13909 * time/time.h (struct timespec): Replace __snseconds_t with
13911 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13912 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13915 (__SNSECONDS_T_TYPE): Likewise.
13916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13917 (__SNSECONDS_T_TYPE): Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13919 (__SNSECONDS_T_TYPE): Likewise.
13921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13923 * sysdeps/mach/hurd/bits/typesizes.h
13924 (__SYSCALL_SLONG_TYPE): New macro.
13925 (__SYSCALL_ULONG_TYPE): Likewise.
13927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13929 * bits/types.h (__syscall_slong_t): New type.
13930 (__syscall_ulong_t): Likewise.
13932 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13933 (__SYSCALL_ULONG_TYPE): Likewise.
13934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13935 (__SYSCALL_SLONG_TYPE): Likewise.
13936 (__SYSCALL_ULONG_TYPE): Likewise.
13937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13938 (__SYSCALL_SLONG_TYPE): Likewise.
13939 (__SYSCALL_ULONG_TYPE): Likewise.
13940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13941 (__SYSCALL_SLONG_TYPE): Likewise.
13942 (__SYSCALL_ULONG_TYPE): Likewise.
13944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13946 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13947 Add sigaltstack-offsets.sym.
13948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13949 <sigaltstack-offsets.h>.
13950 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13951 longjmp_msg pointer.
13952 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13953 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13955 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13957 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13959 * elf/stackguard-macros.h: Remove file.
13960 * sysdeps/generic/stackguard-macros.h: New file.
13961 * sysdeps/i386/stackguard-macros.h: Likewise.
13962 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13963 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13964 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13965 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13966 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13967 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13968 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13969 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13970 <elf/stackguard-macros.h>.
13973 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13974 __aligned__ in attribute.
13975 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13976 (gregset_t): Likewise.
13978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13980 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13981 * sysdeps/x86_64/64/Implies-after: Here. New file.
13982 * sysdeps/x86_64/x32/Implies-after: New file.
13984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13986 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13987 and access return value for _dl_profile_fixup. Use R10_LP to
13990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13992 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13996 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13997 * sysdeps/x86_64/x32/sysdep.h: New file.
13999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14001 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14002 * sysdeps/x86_64/setjmp.S: Likewise.
14004 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14007 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14008 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14009 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14010 remove unused global constant.
14012 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14014 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14015 include of <not-cancel.h>.
14017 2012-05-15 Roland McGrath <roland@hack.frob.com>
14019 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14021 2012-05-15 Jeff Law <law@redhat.com>
14022 Andreas Jaeger <aj@suse.de>
14025 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14027 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14028 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14029 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14030 code changing __hst_map_handle.map.
14032 2012-05-15 Roland McGrath <roland@hack.frob.com>
14034 * configure.in (sysnames): Look for Implies-before and Implies-after
14036 * configure: Regenerated.
14038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14040 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14041 8-byte data alignment with LP_SIZE alignment.
14043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14045 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14050 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14058 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14062 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14063 (stackinfo_sub_sp): Likewise.
14065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14067 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14082 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14086 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14087 into R11_LP and load __x86_64_shared_cache_size_half into
14090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14092 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14095 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14103 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14104 powerpc32/power7/fpu/s_logb.c via #include.
14105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14106 powerpc32/power7/fpu/s_logbf.c via #include.
14107 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14108 powerpc32/power7/fpu/s_logbl.c via #include.
14110 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14112 * README.libm: Remove file.
14114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14116 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14117 count for x32. Use R*_LP and omit operand-size suffix.
14119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14121 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14122 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14123 * sysdeps/x86_64/x32/shlib-versions: New file.
14125 2012-05-14 Roland McGrath <roland@hack.frob.com>
14127 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14128 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14129 Use _dl_fatal_printf instead.
14131 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14134 set if not set by the user. Do not allow for being unset.
14135 * sysdeps/unix/sysv/linux/configure: Regenerated.
14137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14139 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14140 the `q' suffix from lea and replace .quad with ASM_ADDR.
14142 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14145 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14147 (PTR_DEMANGLE): Likewise.
14149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14151 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14153 (ASM_ADDR): Likewise.
14154 (RAX_LP): Likewise.
14155 (RBP_LP): Likewise.
14156 (RBX_LP): Likewise.
14157 (RCX_LP): Likewise.
14158 (RDI_LP): Likewise.
14159 (RSI_LP): Likewise.
14160 (RSP_LP): Likewise.
14163 (R10_LP): Likewise.
14164 (R10_LP): Likewise.
14165 (R11_LP): Likewise.
14166 (R12_LP): Likewise.
14167 (R13_LP): Likewise.
14168 (R14_LP): Likewise.
14169 (R15_LP): Likewise.
14171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14173 * sysdeps/x86_64/x32/dl-machine.h: New file.
14175 2012-05-14 Andreas Jaeger <aj@suse.de>
14177 * manual/Makefile (subdir): Remove export of subdir.
14178 (all): Remove target.
14179 (.PHONY): Remove all from list.
14180 (mkinstalldirs): Remove.
14181 (.PHONY): Remove installdirs from list.
14182 ($(inst_infodir)/libc.info): Use make-target-directory.
14183 (installdirs): Remove.
14184 (subdir_%): Remove.
14185 (glibc-targets): Remove.
14188 ($(objpfx)stubs ../po/manual.pot): Remove.
14189 ($(objpfx)stamp%): Remove.
14190 (make-target-directory): Remove.
14191 (subdir_install): Remove.
14192 (routines): Remove.
14199 * manual/.gitignore: Remove, it's not needed anymore.
14200 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14202 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14204 (texis): Renamed to $(objpfx)texis.
14205 (texis-path): New, contains path to generated files.
14206 (chapters.%): Use texis-path for complete path, add extra argument
14208 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14209 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14210 (summary,texi, stamp-summary): Use complete path of
14211 files. Generate files in build dir.
14212 (dir-add.texi): Build in build dir.
14213 (libm-err.texi,stamp-libm-err): Likewise.
14214 (version.texi, stamp-version): Likewise.
14215 (.%c.texi): Likewise.
14216 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14217 (mostlyclean): Remove target.
14218 (realclean): Remove target.
14219 (generated): Add new variable with contents from mostlyclean and
14220 realclean, remove entries duplicated in common-mostlyclean, add
14221 stamp-libm-err and stamp-version.
14222 (generated-dirs): Add libc directory.
14223 ($(inst_infodir)/libc.info): Install files from build dir.
14225 * manual/install.texi (Configuring and compiling): Adjust since
14226 the info files are not part of the tar ball anymore.
14228 2012-05-14 Andreas Jaeger <aj@suse.de>
14230 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14233 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14237 to 2.2.0 where earlier.
14238 * sysdeps/unix/sysv/linux/configure: Regenerated.
14239 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14240 Remove conditional code.
14241 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14242 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14243 Remove conditional code.
14244 [!__NR_lchown]: Likewise.
14245 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14246 [__NR_lchown]: Likewise.
14247 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14248 comment referencing __ASSUME_LCHOWN_SYSCALL.
14249 * sysdeps/unix/sysv/linux/i386/sigaction.c
14250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14253 Remove conditional code.
14254 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14255 (__protocol_available): Remove #if 0 code.
14256 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14258 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14259 * sysdeps/unix/sysv/linux/kernel-features.h
14260 (__ASSUME_GETCWD_SYSCALL): Don't define.
14261 (__ASSUME_REALTIME_SIGNALS): Likewise.
14262 (__ASSUME_PREAD_SYSCALL): Likewise.
14263 (__ASSUME_PWRITE_SYSCALL): Likewise.
14264 (__ASSUME_POLL_SYSCALL): Likewise.
14265 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14266 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14268 (__ASSUME_SIOCGIFNAME): Don't define.
14269 (__ASSUME_MSG_NOSIGNAL): Likewise.
14270 (__ASSUME_SENDFILE): Define unconditionally.
14271 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14272 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14274 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14275 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14276 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14277 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14278 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14279 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14280 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14305 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14306 Remove conditional code.
14307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14308 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14309 Remove conditional code.
14310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14311 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14312 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14313 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14314 Remove conditional code.
14315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14317 Remove conditional code.
14318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14319 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14320 Remove conditional code.
14321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14322 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14323 Remove conditional code.
14324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14325 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14326 Remove conditional code.
14327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14328 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14331 * sysdeps/unix/sysv/linux/sigaction.c
14332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14334 * sysdeps/unix/sysv/linux/sigpending.c
14335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14337 * sysdeps/unix/sysv/linux/sigprocmask.c
14338 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14339 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14340 * sysdeps/unix/sysv/linux/sigsuspend.c
14341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14344 (__libc_missing_rt_sigs): Remove.
14345 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14346 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14347 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14348 Remove conditional code.
14349 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14350 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14352 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14353 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14354 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14355 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14357 2012-05-14 Andreas Jaeger <aj@suse.de>
14359 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14360 it's not used in glibc.
14361 (__coshm1): Likewise.
14362 (__acosh1p): Likewise.
14365 * manual/string.texi (Copying and Concatenation): Add missing
14366 variable in concat example.
14367 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14369 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14372 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14373 __builtin_clzl with __builtin_clzll.
14375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14378 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14381 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14383 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14384 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14385 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14388 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14390 * NEWS: Update ia64 info.
14392 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14394 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14397 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14399 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14400 * sysdeps/unix/syscalls.list (dup3): Likewise.
14401 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14402 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14404 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14406 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14407 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14409 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14411 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14413 (TLS_IE): Use mov/add instead of movq/addq to load thread
14415 (TLS_GD_PREFIX): New.
14418 2012-05-11 David S. Miller <davem@davemloft.net>
14420 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14421 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14422 (_FPU_SETCW): Likewise.
14424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14426 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14427 is 32-byte aligned.
14429 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14432 * iconvdata/gb18030.c: Update tables.
14433 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14434 characters specially.
14435 (BODY for TO_LOOP): Add encoding of missing ranges.
14437 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14440 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14441 * sysdeps/mach/hurd/dup3.c: Likewise.
14442 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14443 * sysdeps/powerpc/memmove.c:: Likewise.
14445 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14448 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14450 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14452 * elf/elf.h (R_X86_64_RELATIVE64): New.
14453 (R_X86_64_NUM): Updated.
14454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14455 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14456 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14457 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14458 tst-quad1pie tst-quad2pie
14459 (modules-names): Add tst-quadmod1 tst-quadmod2.
14460 ($(objpfx)tst-quad1): New dependency.
14461 ($(objpfx)tst-quad2): Likewise.
14462 ($(objpfx)tst-quad1pie): Likewise.
14463 ($(objpfx)tst-quad2pie): Likewise.
14464 * sysdeps/x86_64/tst-quad1.c: New file.
14465 * sysdeps/x86_64/tst-quad1pie.c: New file.
14466 * sysdeps/x86_64/tst-quad2.c: Likewise.
14467 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14468 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14469 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14470 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14471 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14473 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14475 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14476 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14477 * streams/stropts.h (t_scalar_t): Define type.
14479 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14480 (_PATH_PRESERVE): Set to "/var/lib".
14481 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14483 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14486 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14487 if __dir_mkfile succeeded.
14489 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14490 checking for _hurd_dtablesize. Unlock it right after having
14491 finished _hurd_dtable allocation.
14493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14495 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14496 * sysdeps/mach/hurd/configure: Regenerated.
14497 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14498 special-casing to...
14499 * sysdeps/gnu/configure.in: ... this new file.
14500 * sysdeps/unix/sysv/linux/configure: Regenerated.
14501 * sysdeps/gnu/configure: New generated file.
14503 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14504 for Linux: use nsec instead of usec, as well as:
14505 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14506 members of type struct timespec.
14507 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14509 (struct stat64): Likewise.
14510 (_STATBUF_ST_NSEC): New macro.
14511 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14513 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14514 __strtoul_internal rather than strtoul.
14516 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14518 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14523 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14524 which preserves existing values.
14525 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14527 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14529 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14530 TIMEOUT values. Return EINVAL for NFDS values either negative or
14531 greater than FD_SETSIZE.
14533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14535 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14536 allocated, call __vm_protect to finish enabling the existing space, and
14537 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14538 allocate the remainder.
14540 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14542 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14543 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14547 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14548 sysdeps/mach/hurd/readlink.c.
14550 * posix/tst-sysconf.c (posix_options): Only use
14551 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14552 _POSIX_SYNCHRONIZED_IO when they are defined
14553 * sysdeps/mach/hurd/bits/posix_opt.h:
14554 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14555 (_XOPEN_REALTIME): Undefine macro.
14556 (_XOPEN_REALTIME_THREADS): Undefine macro.
14557 (_XOPEN_SHM): Undefine macro.
14558 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14560 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14562 (_POSIX_ASYNC_IO): Undefine macro.
14563 (_POSIX_PRIORITIZED_IO): Undefine macro.
14564 (_POSIX_SPIN_LOCKS): Define macro to -1.
14566 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14567 SA_NODEFER, SA_RESETHAND.
14568 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14569 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14574 * elf/Makefile (pldd-modules): Define unconditionally.
14576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14578 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14582 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14583 Return ENOENT when name is empty.
14584 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14588 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14590 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14594 Fix mlock in all cases except non-readable pages.
14595 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14596 instead of VM_PROT_ALL as parameter to __vm_wire function.
14598 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14599 (__mkdir): When path is `/', just fail with EEXIST.
14600 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14604 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14605 <sys/uio.h> (for writev).
14606 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14607 and <sys/param.h> (for MIN).
14609 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14611 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14612 REQUESTED_TIME. Properly set the remaining time and return EINTR
14615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14617 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14618 Depend on against $(link-rpcuserlibs).
14620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14622 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14623 (__libc_stack_end): Do not use attribute_relro.
14624 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14625 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14626 to libthread-provided value.
14627 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14633 * bits/libc-lock.h (__libc_once_get): New macro.
14634 * sysdeps/mach/bits/libc-lock.h: Likewise.
14635 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14637 instead of using implementation details.
14639 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14640 * libio/freopen.c: Likewise.
14641 * libio/freopen64.c: Likewise.
14642 * misc/syslog.c: Likewise.
14643 * nscd/connections.c: Likewise.
14644 * nscd/netgroupcache.c: Likewise.
14645 * sysdeps/posix/getcwd.c: Likewise.
14647 2012-05-10 Roland McGrath <roland@hack.frob.com>
14649 * math/w_ilogbf.c: Add #include <limits.h>.
14651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14653 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14654 path instead of returning without unlocking.
14656 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14657 immediate-write ioctls.
14658 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14662 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14663 __builtin_frame_address instead of making assumptions about the
14664 location of the return address relative to DATA. Force early load of
14665 the return address.
14666 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14667 __builtin_frame_address.
14670 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14671 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14672 implement dup3 and do some further code clean-ups.
14673 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14674 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14678 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14680 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14681 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14682 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14683 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14684 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14687 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14688 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14689 when handler == SIG_ERR, not when handler != SIG_ERR.
14691 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14693 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14694 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14697 accept4 for GNU Hurd.
14698 * include/sys/socket.h (__libc_accept4): New prototype.
14699 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14700 to implement __libc_accept4.
14701 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14703 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14705 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14706 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14707 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14708 signal-defines.sym.
14710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14712 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14716 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14717 assertion on O_CLOEXEC flag.
14718 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14719 * hurd/intern-fd.c: Likewise.
14720 * hurd/port2fd.c: Likewise.
14722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14725 * bits/in.h (IPV6_PKTINFO): Define new macro.
14726 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14728 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14733 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14735 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14736 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14738 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14739 * math/libm-test.inc (logb_test) : Additional logb tests.
14741 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14742 Andreas Jaeger <aj@suse.de>
14744 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14745 * configure: Regenerated.
14746 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14747 * config.make.in (link-obsolete-rpc): New substituted variable.
14748 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14749 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14750 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14751 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14752 so that libc.a contains the symbols.
14753 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14754 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14755 * sunrpc/auth_none.c: Likewise.
14756 * sunrpc/auth_unix.c: Likewise.
14757 * sunrpc/authdes_prot.c: Likewise.
14758 * sunrpc/authuxprot.c: Likewise.
14759 * sunrpc/clnt_gen.c: Likewise.
14760 * sunrpc/clnt_perr.c: Likewise.
14761 * sunrpc/clnt_raw.c: Likewise.
14762 * sunrpc/clnt_simp.c: Likewise.
14763 * sunrpc/clnt_tcp.c: Likewise.
14764 * sunrpc/clnt_udp.c: Likewise.
14765 * sunrpc/clnt_unix.c: Likewise.
14766 * sunrpc/des_crypt.c: Likewise.
14767 * sunrpc/des_soft.c: Likewise.
14768 * sunrpc/get_myaddr.c: Likewise.
14769 * sunrpc/key_call.c: Likewise.
14770 * sunrpc/key_prot.c: Likewise.
14771 * sunrpc/netname.c: Likewise.
14772 * sunrpc/pm_getmaps.c: Likewise.
14773 * sunrpc/pm_getport.c: Likewise.
14774 * sunrpc/pmap_clnt.c: Likewise.
14775 * sunrpc/pmap_prot.c: Likewise.
14776 * sunrpc/pmap_prot2.c: Likewise.
14777 * sunrpc/pmap_rmt.c: Likewise.
14778 * sunrpc/publickey.c: Likewise.
14779 * sunrpc/rpc_cmsg.c: Likewise.
14780 * sunrpc/rpc_common.c: Likewise.
14781 * sunrpc/rpc_dtable.c: Likewise.
14782 * sunrpc/rpc_prot.c: Likewise.
14783 * sunrpc/rpc_thread.c: Likewise.
14784 * sunrpc/rtime.c: Likewise.
14785 * sunrpc/svc.c: Likewise.
14786 * sunrpc/svc_auth.c: Likewise.
14787 * sunrpc/svc_raw.c: Likewise.
14788 * sunrpc/svc_run.c: Likewise.
14789 * sunrpc/svc_tcp.c: Likewise.
14790 * sunrpc/svc_udp.c: Likewise.
14791 * sunrpc/svc_unix.c: Likewise.
14792 * sunrpc/svcauth_des.c: Likewise.
14793 * sunrpc/xcrypt.c: Likewise.
14794 * sunrpc/xdr.c: Likewise.
14795 * sunrpc/xdr_array.c: Likewise.
14796 * sunrpc/xdr_float.c: Likewise.
14797 * sunrpc/xdr_intXX_t.c: Likewise.
14798 * sunrpc/xdr_mem.c: Likewise.
14799 * sunrpc/xdr_rec.c: Likewise.
14800 * sunrpc/xdr_ref.c: Likewise.
14801 * sunrpc/xdr_sizeof.c: Likewise.
14802 * sunrpc/xdr_stdio.c: Likewise.
14804 2012-05-10 Roland McGrath <roland@hack.frob.com>
14806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14807 change. Update copyright years.
14809 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14811 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14813 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14814 Joseph Myers <joseph@codesourcery.com>
14815 Paul Pluzhnikov <ppluzhnikov@google.com>
14818 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14820 [cross-compiling] (extra-libs): Likewise.
14821 [cross-compiling] (extra-libs-others): Likewise.
14822 [cross-compiling] (librpcsvc-routines): Likewise.
14823 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14824 [cross-compiling] (omit-deps): Likewise.
14825 (sunrpc-CPPFLAGS): New variable.
14826 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14827 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14828 (cross-rpcgen-objs): New variable.
14829 (extra-objs): Append $(cross-rpcgen-objs).
14830 ($(cross-rpcgen-objs)): New rule.
14831 ($(objpfx)cross-rpcgen): Likewise.
14832 (rpcgen-cmd): Define to use $(built-program-file). Expand
14834 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14835 ($(objpfx)x%.stmp): Likewise.
14836 * sunrpc/proto.h [IS_IN_build] (_): Define.
14837 [IS_IN_build] (_libc_intl_domainname): Likewise.
14839 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14842 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14843 and R_X86_64_TPOFF64.
14845 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14847 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14848 sysdeps/unix/sysv/syscalls.list.
14851 * sysdeps/unix/sysv/syscalls.list: Remove file.
14853 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14856 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14857 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14858 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14859 (__LC_IDENTIFICATION): Make these macros useful in #if
14860 expressions, as required by C99.
14862 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14864 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14865 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14868 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14870 * stdlib/longlong.h: Updated from GCC.
14872 2012-05-09 Andreas Jaeger <aj@suse.de>
14874 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14875 default is first entry.
14876 (run_mode): Set type.
14877 (main): Remove informal message about syslog.
14878 (options): Fix typo.
14881 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14884 (llrintf): Likewise.
14885 (llrint): Likewise.
14888 (nearbyint): Likewise.
14889 (nearbyintf): Likewise.
14891 2012-05-09 Andreas Jaeger <aj@suse.de>
14892 Pedro Alves <palves@redhat.com>
14894 * nscd/nscd.c (run_mode): Use enum.
14895 (main): Cleanup coding style issue.
14897 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14898 Andreas Jaeger <aj@suse.de>
14900 * nscd/nscd.c (go_background): Replaced with...
14901 (run_mode): ... this.
14902 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14903 (options): Add -F --foreground.
14904 (main): Implement it.
14905 (parse_opt): Parse it.
14907 2012-05-09 Andreas Jaeger <aj@suse.de>
14910 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14911 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14912 -Wconversion warning.
14913 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14916 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14918 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14920 (LC_ALL): Use macro-int-constant.
14921 (LC_COLLATE): Likewise.
14922 (LC_CTYPE): Likewise.
14923 (LC_MESSAGES): Likewise.
14924 (LC_MONETARY): Likewise.
14925 (LC_NUMERIC): Likewise.
14926 (LC_TIME): Likewise.
14927 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14928 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14930 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14932 [C99-based standards] (float_t): Expect type.
14933 [C99-based standards] (double_t): Expect type.
14934 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14936 [C99-based standards] (HUGE_VALL): Likewise.
14937 [C99-based standards] (INFINITY): Likewise.
14938 [C99-based standards] (NAN): Likewise.
14939 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14940 [C99-based standards] (FP_NAN): Likewise.
14941 [C99-based standards] (FP_NORMAL): Likewise.
14942 [C99-based standards] (FP_SUBNORMAL): Likewise.
14943 [C99-based standards] (FP_ZERO): Likewise.
14944 [C99-based standards] (FP_FAST_FMA): Use
14945 optional-macro-int-constant. Specify type. Require == 1.
14946 [C99-based standards] (FP_FAST_FMAF): Likewise.
14947 [C99-based standards] (FP_FAST_FMAL): Likewise.
14948 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14949 [C99-based standards] (FP_ILOGBNAN): Likewise.
14950 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14952 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14953 [C99-based standards] (math_errhandling): Specify type.
14954 [ISO99 || ISO11] (signgam): Do not allow.
14955 [non-C99-based standards] (copysignf): Do not allow.
14956 [non-C99-based standards] (exp2f): Likewise.
14957 [non-C99-based standards] (log2f): Likewise.
14958 [non-C99-based standards] (modff): Allow.
14959 [non-C99-based standards] (erff): Do not allow.
14960 [non-C99-based standards] (erfcf): Likewise.
14961 [non-C99-based standards] (gammaf): Likewise.
14962 [non-C99-based standards] (hypotf): Likewise.
14963 [non-C99-based standards] (j0f): Likewise.
14964 [non-C99-based standards] (j1f): Likewise.
14965 [non-C99-based standards] (jnf): Likewise.
14966 [non-C99-based standards] (lgammaf): Likewise.
14967 [non-C99-based standards] (tgammaf): Likewise.
14968 [non-C99-based standards] (y0f): Likewise.
14969 [non-C99-based standards] (y1f): Likewise.
14970 [non-C99-based standards] (ynf): Likewise.
14971 [non-C99-based standards] (isnanf): Likewise.
14972 [non-C99-based standards] (acoshf): Likewise.
14973 [non-C99-based standards] (asinhf): Likewise.
14974 [non-C99-based standards] (atanhf): Likewise.
14975 [non-C99-based standards] (cbrtf): Likewise.
14976 [non-C99-based standards] (expm1f): Likewise.
14977 [non-C99-based standards] (ilogbf): Likewise.
14978 [non-C99-based standards] (log1pf): Likewise.
14979 [non-C99-based standards] (logbf): Likewise.
14980 [non-C99-based standards] (nextafterf): Likewise.
14981 [non-C99-based standards] (remainderf): Likewise.
14982 [non-C99-based standards] (rintf): Likewise.
14983 [non-C99-based standards] (scalbf): Likewise.
14984 [non-C99-based standards] (copysignl): Likewise.
14985 [non-C99-based standards] (exp2l): Likewise.
14986 [non-C99-based standards] (log2l): Likewise.
14987 [non-C99-based standards] (modfl): Allow.
14988 [non-C99-based standards] (erfl): Do not allow.
14989 [non-C99-based standards] (erfcl): Likewise.
14990 [non-C99-based standards] (gammal): Likewise.
14991 [non-C99-based standards] (hypotl): Likewise.
14992 [non-C99-based standards] (j0l): Likewise.
14993 [non-C99-based standards] (j1l): Likewise.
14994 [non-C99-based standards] (jnl): Likewise.
14995 [non-C99-based standards] (lgammal): Likewise.
14996 [non-C99-based standards] (tgammal): Likewise.
14997 [non-C99-based standards] (y0l): Likewise.
14998 [non-C99-based standards] (y1l): Likewise.
14999 [non-C99-based standards] (ynl): Likewise.
15000 [non-C99-based standards] (isnanl): Likewise.
15001 [non-C99-based standards] (acoshl): Likewise.
15002 [non-C99-based standards] (asinhl): Likewise.
15003 [non-C99-based standards] (atanhl): Likewise.
15004 [non-C99-based standards] (cbrtl): Likewise.
15005 [non-C99-based standards] (expm1l): Likewise.
15006 [non-C99-based standards] (ilogbl): Likewise.
15007 [non-C99-based standards] (log1pl): Likewise.
15008 [non-C99-based standards] (logbl): Likewise.
15009 [non-C99-based standards] (nextafterl): Likewise.
15010 [non-C99-based standards] (remainderl): Likewise.
15011 [non-C99-based standards] (rintl): Likewise.
15012 [non-C99-based standards] (scalbl): Likewise.
15013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15014 [non-C99-based standards] (FP_*): Do not allow.
15015 [C99-based standards] (FP_*): Change to
15016 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15017 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15019 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15020 (SIG_ERR): Likewise.
15021 [X/Open-based standards] (SIG_HOLD): Likewise.
15022 (SIG_IGN): Likewise.
15023 (SIGABRT): Use macro-int-constant. Specify type. Require
15025 (SIGFPE): Likewise.
15026 (SIGILL): Likewise.
15027 (SIGINT): Likewise.
15028 (SIGSEGV): Likewise.
15029 (SIGTER): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15048 [X/Open-based standards] (SIGTRAP): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15053 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15056 2012-05-08 Ian Wienand <ianw@vmware.com>
15059 * time/tzset.c (__tzset_parse_tz): Update default rules for
15060 daylight time changes in the Energy Policy Act of 2005.
15062 2012-05-09 Andreas Jaeger <aj@suse.de>
15065 * elf/ldconfig.c (parse_conf): Change string to make clear that
15066 ldconfig only issued a warning if ld.so.conf does not exist.
15068 2012-05-08 David S. Miller <davem@davemloft.net>
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15071 movxtod instead of popping the value on the stack.
15073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15075 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15077 * config.h.in: Add HAVE_ARM_PCS_VFP.
15079 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15082 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15083 checking but the checks are disabled for any reason.
15085 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15087 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15088 and ELF64_R_TYPE with ELFW(R_TYPE).
15090 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15092 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15093 (ulimit): Likewise.
15095 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15096 (settimeofday): Likewise.
15098 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15100 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15101 a struct th_u2 inside the union, and move tu_block/tu_code into
15102 a new th_u3 union of tu_block/tu_code inside of that. Move
15103 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15104 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15105 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15106 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15107 (th_stuff): Change to th_u1.tu_stuff.
15109 (th_msg): Change to th_u1.th_u2.tu_data.
15111 2012-05-07 David S. Miller <davem@davemloft.net>
15113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15116 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15117 (SETUP_PIC_REG): Use it.
15118 (SETUP_PIC_REG_LEAF): Use it.
15120 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15126 (EXPL_FINITE): Likewise.
15127 (FLDLOG): Likewise.
15128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15129 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15133 (EXPL_FINITE): Likewise.
15134 (FLDLOG): Likewise.
15135 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15136 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15138 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15139 test of -max_value argument for long double.
15140 * sysdeps/i386/fpu/libm-test-ulps: Update.
15141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15143 2012-05-06 David S. Miller <davem@davemloft.net>
15145 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15146 quad soft-float symbols whose references which are compiler
15148 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15150 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15156 (EXPL_FINITE): Likewise.
15157 (FLDLOG): Likewise.
15160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15161 Adjust comments for base varying.
15162 (__expl_finite): Change alias to EXPL_FINITE.
15163 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15165 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15166 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15168 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15171 (EXPL_FINITE): Likewise.
15172 (FLDLOG): Likewise.
15175 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15176 Adjust comments for base varying.
15177 (__expl_finite): Change alias to EXPL_FINITE.
15178 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15183 * math/libm-test.inc (check_float_internal): Correct ulp
15184 calculation for subnormal expected results.
15186 2012-05-06 Andreas Jaeger <aj@suse.de>
15188 * Makeconfig (+math-flags): New, set to -frounding-math.
15189 (+cflags): Add +math-flags so that all of glibc gets compiled with
15192 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15194 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15196 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15202 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15203 (__ieee754_expl): Allow for and saturate large arguments.
15204 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15205 (u_threshold): Likewise.
15206 (__exp): Call __ieee754_exp before checking for overflow and
15208 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15209 (u_threshold): Likewise.
15210 (__expf): Call __ieee754_expf before checking for overflow and
15212 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15213 (u_threshold): Likewise.
15214 (__expl): Call __ieee754_expl before checking for overflow and
15216 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15217 (__ieee754_expl): Allow for and saturate large arguments.
15218 * math/libm-test.inc (exp_test): Add another test. Do not allow
15219 missing overflow exception on overflow.
15220 (expm1_test): Do not allow missing overflow exception on overflow.
15222 * sysdeps/i386/fpu/e_expl.c: Move to ...
15223 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15224 rather than using inline asm.
15225 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15226 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15227 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15229 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15232 (signal): Likewise.
15236 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15238 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15239 sysdeps/unix/common/syscalls.list.
15240 (fchmod): Likewise.
15241 (fchown): Likewise.
15242 (ftruncate): Likewise.
15243 (getrusage): Likewise.
15244 (gettimeofday): Likewise.
15245 (setpgid): Likewise.
15246 (setregid): Likewise.
15247 (setreuid): Likewise.
15248 (sigaction): Likewise.
15249 (truncate): Likewise.
15250 (vhangup): Likewise.
15251 * sysdeps/unix/common/syscalls.list: Remove file.
15252 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15253 * sysdeps/unix/sysv/linux/Implies: Likewise.
15255 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15257 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15259 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15263 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15266 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15272 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15275 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15281 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15285 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15289 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15292 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15296 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15300 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15302 * sysdeps/unix/common/bits/dirent.h: Remove file.
15303 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15305 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15306 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15307 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15308 * sysdeps/unix/bsd/isatty.c: Likewise.
15309 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15310 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15311 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15313 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15317 long double comparison inaccuracies.
15318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15321 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15323 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15326 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15330 nonzero digits before rounding a hex value.
15331 * stdlib/tst-strtod.c (tests): Add another test.
15333 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15335 * sysdeps/s390/fpu/libm-test-ulps: Update.
15337 2012-05-03 Andreas Jaeger <aj@suse.de>
15339 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15340 does not get optimized out.
15341 (malloc_opt_barrier): New.
15343 2012-05-03 Andreas Jaeger <aj@suse.de>
15344 Roland McGrath <roland@hack.frob.com>
15346 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15347 intermediate file deletion.
15348 (generated): Add .symlist files.
15350 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15353 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15354 Redirect under this condition.
15355 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15356 [__USE_GNU] (__dprintf_chk): Not under this condition.
15357 [__USE_GNU] (__vdprintf_chk): Likewise.
15358 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15359 under this condition.
15360 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15361 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15362 [__USE_XOPEN2K8] (vdprintf): Likewise.
15363 [__USE_GNU] (__dprintf_chk): Not under this condition.
15364 [__USE_GNU] (__vdprintf_chk): Likewise.
15365 [__USE_GNU] (dprintf): Likewise.
15366 [__USE_GNU] (vdprintf): Likewise.
15368 2012-05-03 Roland McGrath <roland@hack.frob.com>
15370 * elf/Makefile (common-generated): Set this instead of generated for
15371 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15372 $(all-built-dso)-derived lists.
15374 2012-05-03 Andreas Jaeger <aj@suse.de>
15376 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 * FAQ.in: Likewise.
15380 * scripts/gen-FAQ.pl: Likewise.
15381 * manual/install.texi (Installation): Point to online location of
15383 * Makefile (files-for-dist): Remove FAQ.
15386 2012-05-02 Allan McRae <allan@archlinux.org>
15388 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15389 (LDFLAGS-reldepmod5.so): Likewise.
15390 (LDFLAGS-reldep6mod1.so): Likewise.
15391 (LDFLAGS-reldep6mod4.so): Likewise.
15392 (LDFLAGS-reldep8mod3.so): Likewise.
15393 (LDFLAGS-unload4mod1.so): Likewise.
15394 (LDFLAGS-unload4mod2.so): Likewise.
15395 (LDFLAGS-tst-initorder): Likewise.
15396 (LDFLAGS-tst-initordera2.so): Likewise.
15397 (LDFLAGS-tst-initordera3.so): Likewise.
15398 (LDFLAGS-tst-initordera4.so): Likewise.
15399 (LDFLAGS-tst-initorderb2.so): Likewise.
15400 (LDFLAGS-noload): Likewise.
15401 (LDFLAGS-next): Likewise.
15402 (LDFLAGS-order2mod1.so): Likewise.
15403 (LDFLAGS-order2mod2.so): Likewise.
15404 (LDFLAGS-tst-initorder2): Likewise.
15405 (LDFLAGS-tst-initorder2a.so): Likewise.
15406 (LDFLAGS-tst-initorder2b.so): Likewise.
15407 (LDFLAGS-tst-initorder2c.so): Likewise.
15408 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15410 2012-05-02 David S. Miller <davem@davemloft.net>
15412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15414 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15417 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15419 2012-05-02 Andreas Jaeger <aj@suse.de>
15421 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15422 since we manipulate rounding mode.
15423 (CPPFLAGS-test-idouble.c): Likewise.
15424 (CPPFLAGS-test-ifloat.c): Likewise.
15425 (CFLAGS-test-ldouble.c): Likewise.
15426 (CFLAGS-test-double.c): Likewise.
15427 (CFLAGS-test-float.c): Likewise.
15428 (CFLAGS-test-misc.c): Likewise.
15429 (CFLAGS-test-test-fenv.c): Likewise.
15431 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15436 comparisons to determine direction to adjust input.
15438 2012-05-01 Roland McGrath <roland@hack.frob.com>
15440 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15441 output to the target.
15443 * scripts/localplt.awk: New file.
15444 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15445 (check-localplt-CFLAGS): Variable removed.
15446 ($(all-built-dso:=.jmprel)): New static pattern rule.
15447 (generated): Add those targets.
15448 (localplt-built-dso): New variable.
15449 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15451 * elf/check-localplt.c: File removed.
15453 * scripts/check-execstack.awk: New file.
15454 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15455 (check-execstack-CFLAGS): Variable removed.
15456 ($(objpfx)check-execstack.h): Target removed.
15457 ($(objpfx)execstack-default): New target.
15458 (generated): Add that instead of check-execstack.h.
15459 ($(all-built-dso:=.phdr)): New static pattern rule.
15460 (generated): Add those targets.
15461 * elf/check-execstack.c: File removed.
15463 * scripts/check-textrel.awk: New file.
15464 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15465 (check-textrel-CFLAGS): Variable removed.
15466 (all-built-dso): Use := to define.o
15467 ($(all-built-dso:=.dyn)): New static pattern rule.
15468 (generated): Add those targets.
15469 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15470 * config.make.in (READELF): New substituted variable.
15471 * elf/check-textrel.c: File removed.
15473 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15475 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15477 * conform/data/ctype.h-data [C99-based standards] (isblank):
15479 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15480 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15482 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15483 Specify type. Require positive value.
15484 (EILSEQ): Likewise.
15485 (ERANGE): Likewise.
15486 [ISO || POSIX] (EILSEQ): Do not expect.
15487 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15488 Specify type. Require positive value.
15489 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15549 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15553 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15555 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15563 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15564 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15565 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15567 (FLT_ROUNDS): Expect as macro, not constant.
15568 (FLT_MANT_DIG): Use macro-int-constant.
15569 (DBL_MANT_DIG): Likewise.
15570 (LDBL_MANT_DIG): Likewise.
15571 (FLT_DIG): Likewise.
15572 (DBL_DIG): Likewise.
15573 (LDBL_DIG): Likewise.
15574 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15575 (DBL_MIN_EXP): Likewise.
15576 (LDBL_MIN_EXP): Likewise.
15577 (FLT_MAX_EXP): Use macro-int-constant.
15578 (DBL_MAX_EXP): Likewise.
15579 (LDBL_MAX_EXP): Likewise.
15580 (FLT_MAX_10_EXP): Likewise.
15581 (DBL_MAX_10_EXP): Likewise.
15582 (LDBL_MAX_10_EXP): Likewise.
15583 (FLT_MAX): Use macro-constant.
15584 (DBL_MAX): Likewise.
15585 (LDBL_MAX): Likewise.
15586 (FLT_EPSILON): Use macro-constant. Give upper bound.
15587 (DBL_EPSILON): Likewise.
15588 (LDBL_EPSILON): Likewise.
15589 (FLT_MIN): Likewise.
15590 (DBL_MIN): Likewise.
15591 (LDBL_MIN): Likewise.
15592 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15593 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15594 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15595 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15596 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15597 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15598 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15599 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15600 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15601 [ISO11] (FLT_TRUE_MIN): Likewise.
15602 [ISO11] (LDBL_TRUE_MIN): Likewise.
15603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15604 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15605 (SCHAR_MIN): Use macro-int-constant. Specify type.
15606 (SCHAR_MAX): Likewise.
15607 (UCHAR_MAX): Likewise.
15608 (CHAR_MIN): Likewise.
15609 (CHAR_MAX): Likewise.
15610 (MB_LEN_MAX): Use macro-int-constant.
15611 (SHRT_MIN): Use macro-int-constant. Specify type.
15612 (SHRT_MAX): Likewise.
15613 (USHRT_MAX): Likewise.
15614 (INT_MAX): Likewise.
15615 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15617 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15619 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15621 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15622 bound negative. Suffix upper bound with "L".
15623 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15625 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15627 [C99-based standards] (LLONG_MAX): Likewise.
15628 [C99-based standards] (ULLONG_MAX): Likewise.
15629 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15631 [ISO11] (max_align_t): Require type.
15632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15634 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15635 from $CFLAGS, without defining away __attribute__ calls.
15636 (checknamespace): Use $CFLAGS_namespace.
15638 * conform/conformtest.pl (@keywords): Only include C99 keywords
15639 for standards based on C99 or C11.
15641 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15643 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15646 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15647 usability of symbols in #if.
15649 * conform/conformtest.pl: If macro or constant types start
15650 "promoted:", expect the symbol to be of the following type
15651 promoted by the integer promotions.
15653 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15654 in one place. Also handle "macro-constant".
15656 * conform/conformtest.pl: Only accept expected macro values with
15657 "==". Parse all "macro" lines in one place.
15658 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15660 * conform/conformtest.pl: Handle braced types on "constant" lines
15661 instead of handling "typed-constant".
15662 * conform/data/signal.h-data: Use "constant" instead of
15665 * conform/conformtest.pl: Handle "optional-" at start of lines in
15666 one place rather than duplicating several cases. Handle each
15667 format of "macro" line with initial "optional-".
15669 * conform/conformtest.pl: Only accept expected constant or
15670 optional-constant values with "==". Parse all "constant" lines in
15671 one place. Parse all "optional-constant" lines in one place.
15672 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15673 * conform/data/fmtmsg.h-data: Likewise.
15674 * conform/data/netinet/in.h-data: Likewise.
15675 * conform/data/tar.h-data: Likewise.
15676 * conform/data/limits.h-data: Use "==" form on "constant" and
15677 "optional-constant" lines.
15679 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15680 Use -std=c99 for XOPEN2K.
15681 (@knownproblems): Remove.
15682 (newtoken): Don't check %isknown.
15684 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15685 Do not expect macro.
15686 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15687 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15688 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15689 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15690 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15691 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15692 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15693 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15694 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15695 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15696 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15697 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15698 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15699 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15700 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15703 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15704 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15705 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15706 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15709 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15710 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15711 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15712 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15713 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15716 [XPG3] (acosh): Likewise.
15717 [XPG3] (asinh): Likewise.
15718 [XPG3] (atanh): Likewise.
15719 [XPG3] (cbrt): Likewise.
15720 [XPG3] (expm1): Likewise.
15721 [XPG3] (ilogb): Likewise.
15722 [XPG3] (log1p): Likewise.
15723 [XPG3] (logb): Likewise.
15724 [XPG3] (nextafter): Likewise.
15725 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15726 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15727 [XPG3] (remainder): Likewise.
15728 [XPG3] (rint): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15736 [UNIX98 || XOPEN2K] (scalb): Expect.
15737 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15738 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15743 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15744 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15875 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15876 _XOPEN_SOURCE_EXTENDED for XPG4.
15878 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15880 * Makeconfig (localtime): Remove variable.
15881 (inst_localtime-file): Likewise.
15883 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15904 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15908 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15909 comparisons to determine direction to adjust input.
15910 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15911 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15914 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15916 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15918 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15921 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15923 * math/libm-test.inc (nexttoward_test): Add more tests.
15925 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15929 in version GLIBC_2.1, not GLIBC_2.0.
15930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15933 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15936 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15938 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15939 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15940 * math/libm-test.inc (acos_test): Add more tests.
15941 (asin_test): Likewise.
15942 * sysdeps/i386/fpu/libm-test-ulps: Update.
15943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15946 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15948 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15949 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15950 * math/libm-test.inc (acos_test_tonearest): New function.
15951 (acos_test_towardzero): Likewise.
15952 (acos_test_downward): Likewise.
15953 (acos_test_upward): Likewise.
15954 (asin_test_tonearest): Likewise.
15955 (asin_test_towardzero): Likewise.
15956 (asin_test_downward): Likewise.
15957 (asin_test_upward): Likewise.
15958 (main): Call the new functions.
15959 * sysdeps/i386/fpu/libm-test-ulps: Update.
15960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15964 * math/e_exp10.c: Include <float.h>.
15965 (__ieee754_exp10): Handle underflow here rather than multiplying
15966 large negative argument by M_LN10.
15967 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15969 * math/e_exp10l.c: Include <float.h>.
15970 (__ieee754_exp10l): Handle underflow here rather than multiplying
15971 large negative argument by M_LN10l.
15972 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15973 spurious overflow exception on underflow.
15975 2012-04-29 Marek Polacek <polacek@redhat.com>
15977 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15978 (__fortify_function): New macro.
15979 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15980 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15981 __extern_always_inline.
15982 * libio/bits/stdio2.h: Likewise.
15983 * libio/bits/stdio.h: Likewise.
15984 * string/string.h: Likewise.
15985 * string/bits/string3.h: Likewise.
15986 * include/stdio.h: Likewise.
15987 * stdlib/bits/stdlib.h: Likewise.
15988 * stdlib/stdlib.h: Likewise.
15989 * rt/bits/mqueue2.h: Likewise.
15990 * rt/mqueue.h: Likewise.
15991 * posix/bits/unistd.h: Likewise.
15992 * posix/unistd.h: Likewise.
15993 * io/bits/poll2.h: Likewise.
15994 * io/bits/fcntl2.h: Likewise.
15995 * io/fcntl.h: Likewise.
15996 * io/sys/poll.h: Likewise.
15997 * misc/bits/syslog.h: Likewise.
15998 * misc/bits/syslog-ldbl.h: Likewise.
15999 * misc/sys/syslog.h: Likewise.
16000 * socket/bits/socket2.h: Likewise.
16001 * socket/sys/socket.h: Likewise.
16002 * debug/tst-chk1.c: Likewise.
16003 * wcsmbs/bits/wchar2.h: Likewise.
16004 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16005 * wcsmbs/wchar.h: Likewise.
16007 2012-04-29 Andreas Jaeger <aj@suse.de>
16009 * Makerules (tests): Remove enable-check-abi protection.
16010 (check-abi-warn): Remove.
16011 (check-abi-%): Remove check-abi-warn usage.
16013 * configure.in: Remove check-abi configure option.
16014 * configure: Regenerated.
16015 * config.make.in (enable-check-abi): Remove.
16017 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16020 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16021 double functions to double *_finite functions.
16024 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16025 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16027 * stdio-common/Makefile (tests): Add tst-sprintf3.
16028 * stdio-common/tst-sprintf3.c: New file.
16030 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16031 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16033 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16035 * conform/conformtest.pl: Remove duplicate typed-constant
16038 2012-04-28 David S. Miller <davem@davemloft.net>
16040 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16041 (check-abi-%): Remove AWK script prerequisite and explicit
16043 (check-abi): Rewrite to just diff the symlist with the abilist.
16044 (config-tls, config-abi-config): Delete, no longer used.
16045 (update-abi-%): Remove AWK script and explicit abilist directory.
16046 (update-abi): Rewrite to simply compare and conditionally copy the
16047 symlist and the sysdep abilist file. Remove update-abi-config
16049 * abilist/ld.abilist: Remove.
16050 * abilist/libBrokenLocale.abilist: Remove.
16051 * abilist/libanl.abilist: Remove.
16052 * abilist/libcrypt.abilist: Remove.
16053 * abilist/libdl.abilist: Remove.
16054 * abilist/librt.abilist: Remove.
16055 * abilist/libthread_db.abilist: Remove.
16056 * abilist/libutil.abilist: Remove.
16057 * scripts/extract-abilist.awk: Remove.
16058 * scripts/merge-abilist.awk: Remove.
16059 * sysdeps/generic/libcidn.abilist: New file.
16060 * sysdeps/generic/libnss_compat.abilist: New file.
16061 * sysdeps/generic/libnss_db.abilist: New file.
16062 * sysdeps/generic/libnss_dns.abilist: New file.
16063 * sysdeps/generic/libnss_files.abilist: New file.
16064 * sysdeps/generic/libnss_hesiod.abilist: New file.
16065 * sysdeps/generic/libnss_nis.abilist: New file.
16066 * sysdeps/generic/libnss_nisplus.abilist: New file.
16067 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16068 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16069 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16072 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16073 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16074 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16075 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16076 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16077 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16078 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16079 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16081 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16082 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16083 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16084 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16086 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16087 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16088 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16089 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16090 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16091 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16093 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16094 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16095 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16097 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16200 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16201 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16202 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16205 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16206 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16207 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16208 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16209 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16210 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16211 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16212 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16213 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16265 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16267 * conform/conformtest.pl: Fix typo in handling typed-constant from
16270 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16272 * README: Cut down references to pre-2.6 Linux kernels and
16273 Linuxthreads. Update lists of configurations in libc and ports
16274 and sort alphabetically. Say "or newer" with Linux kernel version
16277 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16279 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16282 * math/libm-test.inc (logb_test_downward): New test to expose
16283 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16286 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16289 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16291 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16292 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16294 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/unix/i386/brk.S: Remove file.
16297 * sysdeps/unix/i386/dl-brk.S: Likewise.
16298 * sysdeps/unix/i386/pipe.S: Likewise.
16299 * sysdeps/unix/i386/sigreturn.S: Likewise.
16300 * sysdeps/unix/i386/syscall.S: Likewise.
16301 * sysdeps/unix/i386/vfork.S: Likewise.
16302 * sysdeps/unix/i386/wait.S: Likewise.
16304 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16305 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16307 * configure.in (arm*-none*): Do not allow without
16308 --enable-hacker-mode.
16309 (netbsd*): Remove case setting base_os.
16310 (386bsd*): Likewise.
16311 (freebsd*): Likewise.
16314 (sunos*): Likewise.
16315 (ultrix*): Likewise.
16316 (newsos*): Likewise.
16317 (dynix*): Likewise.
16323 (minix*): Likewise.
16324 (irix4*): Likewise.
16325 (irix6*): Likewise.
16326 (solaris[2-9]*): Likewise.
16328 * configure: Regenerated.
16330 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16334 overflow or cancellation in calculating denominator.
16335 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16337 down expression to avoid unexpected rounding in newer GCCs.
16338 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16340 2012-04-26 David S. Miller <davem@davemloft.net>
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16343 long-double compat symbols.
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16358 2012-04-25 David S. Miller <davem@davemloft.net>
16360 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16361 HWCAP_* values only after the memory barriers have been defined.
16362 (atomic_full_barrier): Define.
16363 (atomic_read_barrier): Define.
16364 (atomic_write_barrier): Define.
16366 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16368 * shlib-versions: Add libgcc_s version information.
16369 * sysdeps/generic/libgcc_s.h: Remove.
16370 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16372 * sysdeps/gnu/unwind-resume.c: Likewise.
16373 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16375 2012-04-25 David S. Miller <davem@davemloft.net>
16377 * sysdeps/unix/sparc/brk.S: Delete.
16378 * sysdeps/unix/sparc/dl-brk.S: Delete.
16379 * sysdeps/unix/sparc/pipe.S: Delete.
16380 * sysdeps/unix/sparc/sysdep.S: Delete.
16381 * sysdeps/unix/sparc/sysdep.h: Delete.
16382 * sysdeps/unix/sparc/vfork.S: Delete.
16383 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16384 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16385 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16386 ret_ERRVAL, r0, r1, MOVE): Define.
16387 (JUMPTARGET): Remove.
16388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16389 sysdeps/unix/sparc/sysdep.h
16390 (ENTRY, END): Remove.
16391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16393 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16395 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16396 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16399 * timezone/README: Update upstream location and email address for
16401 * timezone/zdump.c: Update from tzcode 2012b.
16402 * timezone/zic.c: Likewise.
16404 * configure.in (libc_cv_as_needed): Remove test.
16405 * configure: Regenerated.
16406 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16407 conditional definition.
16408 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16409 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16410 * config.make.in (have-as-needed): Remove variable.
16412 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16413 Paul Pluzhnikov <ppluzhnikov@google.com>
16415 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16418 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16420 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16421 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16422 * sysdeps/sh/strlen.S: Likewise.
16424 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16426 * sysdeps/unix/fork.S: Remove file.
16427 * sysdeps/unix/i386/fork.S: Likewise.
16428 * sysdeps/unix/sparc/fork.S: Likewise.
16430 * sysdeps/unix/system.c: Remove file.
16431 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16433 * sysdeps/unix/getegid.S: Remove file.
16434 * sysdeps/unix/geteuid.S: Likewise.
16436 2012-04-24 Roland McGrath <roland@hack.frob.com>
16438 * scripts/check-localplt.awk: New file.
16439 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16441 * scripts/data/localplt-generic.data: Add a comment.
16443 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16444 NODE when __dir_mkfile failed.
16445 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16446 Reported by Ludovic Courtès <ludo@gnu.org>.
16448 2012-04-24 Andreas Jaeger <aj@suse.de>
16450 * Makerules (common-clean): Also remove gen-as-const-headers
16453 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16455 * Makerules (native-compile): Do not change working directory for
16456 build. Use $(OUTPUT_OPTION) in command.
16457 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16459 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16462 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16463 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16464 * math/libm-test.inc (floor_test): Add more tests.
16465 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16469 * sysdeps/unix/getdents.c: Remove file.
16470 * sysdeps/unix/sysv/getdents.c: Likewise.
16471 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16473 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16474 sysdeps/unix/mman/syscalls.list.
16476 (mprotect): Likewise.
16478 (munmap): Likewise.
16479 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16480 * sysdeps/unix/mman/syscalls.list: Remove.
16481 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16483 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16484 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16485 * configure: Regenerated.
16486 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16487 $(libgcc_s_suffix).
16488 * config.make.in (libgcc_s_suffix): Remove variable.
16490 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16492 * sysdeps/unix/sysv/gethostname.c: Move to ...
16493 * sysdeps/posix/gethostname.c: ... here.
16495 * sysdeps/unix/execve.S: Remove file.
16497 * sysdeps/unix/_exit.S: Remove file.
16499 2012-04-23 Andreas Jaeger <aj@suse.de>
16502 * manual/Makefile: Remove make dist support, there's no
16503 need for a stand-alone documentation tar ball.
16504 (TEXI2DVI): Define always, it's not in Makeconfig.
16507 (edition): Removed.
16508 (glibc-doc-$(edition).tar): Removed
16512 (ETAGS): Remove, it's in Makeconfig.
16513 (move-if-change): Remove, it's in Makeconfig.
16515 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16518 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16519 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16520 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16521 (strtod_l, strtof_l, strtold_l): Remove __wur.
16522 It is not necessarily an error to ignore strtol's return value.
16523 One can reliably look at the stored endptr to decide whether
16524 the number had valid syntax.
16526 2012-04-21 Andreas Jaeger <aj@suse.de>
16529 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16531 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16533 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16534 * sysdeps/unix/sysv/Versions: Remove file.
16536 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16541 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16545 version from __vm86.
16547 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16549 * sysdeps/unix/common/lxstat.c: Remove file.
16550 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16552 * sysdeps/unix/sysv/Makefile: Remove file.
16554 * sysdeps/unix/sysv/direct.h: Remove file.
16556 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16557 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16558 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16559 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16560 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16561 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16562 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16564 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16566 * sysdeps/unix/xmknod.c: Remove file.
16567 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16569 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16571 * sysdeps/unix/sysv/i386/time.S: Remove file.
16573 * sysdeps/unix/fxstat.c: Remove file.
16574 * sysdeps/unix/xstat.c: Likewise.
16575 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16577 * sysdeps/unix/sysv/sigaction.c: Remove file.
16579 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16580 (sysdep_headers): Remove variable.
16581 [termio.h not in sysdep_headers] (generated): Likewise.
16582 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16583 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16584 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16585 * sysdeps/unix/sysv/tcflow.c: Likewise.
16586 * sysdeps/unix/sysv/tcflush.c: Likewise.
16587 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16588 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16589 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16590 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16591 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16593 * sysdeps/unix/siglist.c: Remove file.
16595 * sysdeps/unix/getppid.S: Remove file.
16597 * sysdeps/unix/mkdir.c: Remove file.
16598 * sysdeps/unix/rmdir.c: Likewise.
16600 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16602 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16604 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16605 errlist-compat value.
16607 2012-04-18 David S. Miller <davem@davemloft.net>
16609 * sysdeps/generic/memcopy.h (reg_char): Delete.
16610 * debug/strcat_chk.c: Use char, not reg_char.
16611 * debug/strcpy_chk.c: Likewise.
16612 * debug/strncat_chk.c: Likewise.
16613 * debug/strncpy_chk.c: Likewise.
16614 * string/memchr.c: Likewise.
16615 * string/memrchr.c: Likewise.
16616 * string/rawmemchr.c: Likewise.
16617 * string/strcat.c: Likewise.
16618 * string/strchr.c: Likewise.
16619 * string/strchrnul.c: Likewise.
16620 * string/strcmp.c: Likewise.
16621 * string/strcpy.c: Likewise.
16622 * string/strncat.c: Likewise.
16623 * string/strncmp.c: Likewise.
16624 * string/strncpy.c: Likewise.
16626 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16628 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16629 __builtin_memcopy is called when src and dest ranges are known to not
16632 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16634 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16635 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16636 fwd_align_merge macro call.
16637 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16638 bwd_align_merge macro call.
16639 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16641 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16644 bwd_align_merge macros.
16645 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16646 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16647 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16649 2012-04-18 David S. Miller <davem@davemloft.net>
16651 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16653 2012-04-18 Andreas Jaeger <aj@suse.de>
16656 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16657 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16658 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16660 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16661 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16662 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16664 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16665 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16666 Adjust for changed ldbl-128 files.
16668 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16669 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16670 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16672 2012-04-17 David S. Miller <davem@davemloft.net>
16674 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16676 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16678 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16679 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16680 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16681 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16682 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16683 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16685 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16688 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16689 * math/libm-test.inc: Add ilogb errno and exception tests.
16690 * math/w_ilogb.c: New file: ilogb wrapper.
16691 * math/w_ilogbf.c: New file: ilogbf wrapper.
16692 * math/w_ilogbl.c: New file: ilogbl wrapper.
16693 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16694 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16695 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16696 exception being thrown with 0.0 as argument.
16697 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16698 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16699 exception being thrown with 0.0 as argument.
16700 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16701 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16702 exception being thrown with 0.0 as argument.
16703 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16704 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16705 exception being thrown with 0.0 as argument.
16706 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16707 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16708 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16709 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16711 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16712 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16713 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16714 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16716 2012-04-17 Petr Baudis <pasky@ucw.cz>
16718 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16721 2012-04-16 Marek Polacek <polacek@redhat.com>
16723 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16725 2012-04-16 Marek Polacek <polacek@redhat.com>
16727 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16728 operands of fdivp instruction.
16730 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16732 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16733 * elf/tst-auditmod3b.c: Likewise.
16734 * elf/tst-auditmod4b.c: Likewise.
16735 * elf/tst-auditmod5b.c: Likewise.
16736 * elf/tst-auditmod6b.c: Likewise.
16737 * elf/tst-auditmod6c.c: Likewise.
16738 * elf/tst-auditmod7b.c: Likewise.
16739 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16740 * sysdeps/x86_64/preconfigure.in: Likewise.
16741 * sysdeps/x86_64/preconfigure: Regenerated.
16743 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16745 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16748 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16751 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16753 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16756 * locale/iso-639.def: Fix gl language name. Spotted by
16759 2012-04-12 Roland McGrath <roland@hack.frob.com>
16762 * libio/libio.h (__io_write_fn): Update comment.
16764 2012-04-12 Petr Baudis <pasky@ucw.cz>
16767 * stdio.texi (Hook Functions): The user provided writer function
16768 is not allowed to return -1.
16770 2012-04-11 David S. Miller <davem@davemloft.net>
16772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16774 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16776 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16777 Add a leading slash to rtkaio.
16779 2012-04-11 Jim Meyering <meyering@redhat.com>
16782 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16783 It is not necessarily an error to ignore fwrite's return
16784 value. One can reliably use ferror to test for errors after
16787 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16789 * bits/types.h (__snseconds_t): New type.
16790 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16792 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16794 (__SNSECONDS_T_TYPE): Likewise.
16795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16796 (__SNSECONDS_T_TYPE): Likewise.
16797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16798 (__SNSECONDS_T_TYPE): Likewise.
16800 2012-04-10 Andreas Jaeger <aj@suse.de>
16803 * manual/time.texi (Processor Time): Return type of times is
16804 elapsed real time since an arbitrary point in the past.
16805 (CPU Time): Move CLK_TCK from here...
16806 (Processor Time): ...to here. Correct description.
16807 * manual/conf.texi (Constants for Sysconf): Correct description of
16810 2012-04-10 David S. Miller <davem@davemloft.net>
16813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16814 where the is a gap between DT_REL(A) and DT_JMPREL.
16816 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16818 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16822 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16824 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16825 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16826 (dl_main): Handle --inhibit-cache.
16827 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16829 * elf/dl-load.c (_dl_map_object): Use it.
16830 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16832 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16835 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16836 (__ieee754_powl): Saturate large exponents rather than testing for
16837 overflow of y*log2(x).
16838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16839 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16843 * math/s_ctan.c: Include <float.h>.
16844 (__ctan): Avoid internal overflow or cancellation in calculating
16846 * math/s_ctanf.c: Likewise.
16847 * math/s_ctanl.c: Likewise.
16848 * math/s_ctanh.c: Likewise.
16849 * math/s_ctanhf.c: Likewise.
16850 * math/s_ctanhl.c: Likewise.
16851 * math/libm-test.inc (ctan_test): Add more tests.
16852 (ctanh_test): Likewise.
16853 * sysdeps/i386/fpu/libm-test-ulps: Update.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16856 2012-04-09 Andreas Jaeger <aj@suse.de>
16859 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16860 is an optional BSD extension.
16863 * manual/stdio.texi (Opening Streams): Document additional fopen
16866 2012-04-09 Roland McGrath <roland@hack.frob.com>
16868 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16869 %eax without telling the compiler.
16871 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16874 * manual/install.texi: Use sourceware.org.
16876 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16880 (__ieee754_pow): Generate overflow and underflow using huge*huge
16881 and tiny*tiny rather than just returning constant infinity or zero
16882 for large exponents.
16883 * math/libm-test.inc (pow_test): Require overflow exceptions for
16884 applicable cases of large exponents.
16887 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16888 (__ieee754_pow): Use iterative multiplication algorithm only for
16889 integer exponents with absolute value below 1024. Check for odd
16890 integer exponents when using algorithm for real exponents.
16891 * math/libm-test.inc (pow_test): Add more tests.
16892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16894 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16897 * math/libm-test.inc (exp_test): Do not allow overflow exception
16900 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16903 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16904 instead of __kernel_standard_f.
16906 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16908 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16909 * sysdeps/x86_64/memset_chk.S: Likewise.
16911 2012-04-08 Andreas Jaeger <aj@suse.de>
16914 * manual/startup.texi (Environment Access): Describe return value
16915 for putenv and setenv.
16918 * manual/filesys.texi (Directory Entries): Add description for
16922 * manual/filesys.texi (Directory Entries): Clarify that it's file
16923 system not operating system in the description of DT_UNKNOWN.
16926 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16928 2012-04-08 Stephen Compall <s11@member.fsf.org>
16931 * manual/llio.texi (Opening and Closing Files): Add cross
16932 reference to explain mode argument.
16934 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16936 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16937 * sysdeps/x86_64/memset_chk.S: Likewise.
16939 2012-04-07 David S. Miller <davem@davemloft.net>
16941 * elf/elf.h (R_SPARC_WDISP10): Define.
16942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16945 R_SPARC_SIZE64 and R_SPARC_H34.
16947 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16949 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16950 conditions and remove no longer applicable assertion.
16952 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16954 * bits/byteswap.h: Include <features.h>.
16955 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16956 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16958 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16960 * bits/byteswap.h (__bswap_16): Removed.
16961 Include <bits/byteswap-16.h> to get __bswap_16.
16962 * sysdeps/i386/bits/byteswap.h: Likewise.
16963 * sysdeps/s390/bits/byteswap.h: Likewise.
16964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16965 * bits/byteswap-16.h: New file.
16966 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16967 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16968 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16969 * string/Makefile (headers): Add bits/byteswap-16.h.
16971 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16974 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16976 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16977 * nss/tst-nss-static.c: New.
16979 2012-04-06 Robert Millan <rmh@gnu.org>
16982 * manual/llio.texi (File Position Primitive): lseek
16983 refers to WHENCE when it really means OFFSET.
16985 2012-04-06 Andreas Jaeger <aj@suse.de>
16987 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16988 strncmp declarations.
16990 * abilist/libc.abilist: Add __poll and __ppoll.
16992 2012-04-05 David S. Miller <davem@davemloft.net>
16994 * scripts/check-local-headers.sh: Accept a host triplet in the
16995 path matched by the exclude regexp.
16997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16999 * sysdeps/powerpc/powerpc32/dl-machine.h
17000 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17001 * sysdeps/s390/s390-32/dl-machine.h
17002 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17003 * sysdeps/sparc/sparc32/dl-machine.h
17004 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17005 * sysdeps/sparc/sparc64/dl-machine.h
17006 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17008 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17010 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17011 undefined symbol errors.
17013 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17016 2012-04-05 Michael Matz <matz@suse.de>
17019 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17021 2012-04-05 Andreas Jaeger <aj@suse.de>
17024 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17027 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17029 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17030 which ROUND is no valid rounding mode.
17032 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17034 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17036 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17038 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17040 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17041 an exception using FPU order intentionally.
17043 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17045 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17046 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17047 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17048 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17050 2012-04-05 Simon Josefsson <simon@josefsson.org>
17053 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17054 EINVAL when BUFLEN is too smal.
17056 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17059 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17060 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17062 2012-04-03 Andreas Jaeger <aj@suse.de>
17065 * manual/setjmp.texi (System V contexts): Fix sentence.
17068 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17069 New macro for this case.
17070 [!__GNUC__] (__bswap_64): New inline function for this case.
17071 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17072 * bits/byteswap.h: Likewise.
17073 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17074 ull, guard with __GLIBC_HAVE_LONG_LONG.
17076 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17077 __GLIBC_HAVE_LONG_LONG.
17079 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17080 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17082 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17085 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17086 inptr and inend, rather than using last_ch.
17088 2012-04-02 David S. Miller <davem@davemloft.net>
17090 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17091 * stdio-common/printf-parse.h (read_int): Change return type to
17092 'int', return -1 on INT_MAX overflow.
17093 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17094 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17095 overflows INT_MAX. Check for overflow of in-format-string precision
17096 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17097 SIZE_MAX not INT_MAX for integer overflow test.
17098 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17099 skip the construct in the format string but do not record anything.
17100 * stdio-common/bug22.c: Adjust to test both width/prevision
17101 INT_MAX overflow as well as total length INT_MAX overflow. Check
17102 explicitly for proper errno values.
17104 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17106 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17108 * string/test-strcmp.c [! WIDE]: Likewise.
17109 * time/tst-mktime2.c: Likewise for INT_MAX.
17110 * string/test-string.h: #include <sys/param.h> for MIN.
17112 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17113 * sysdeps/i386/init-first.c (init): Likewise.
17114 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17115 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17116 * sysdeps/sh/init-first.c (init): Likewise.
17118 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17120 * po/ru.po: Update from translation team.
17121 * po/vi.po: Likewise.
17123 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17125 * resolv/nss_dns/dns-host.c: Merge copyright years.
17127 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17130 Optimize memcpy with prefetch if
17131 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17132 src, dst pointers have unequal 16 byte alignments.
17134 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17137 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17138 from a CNAME entry and return the minimum ttl for the query.
17139 (gaih_getanswer_slice): Likewise.
17141 2012-03-30 Jeff Law <law@redhat.com>
17143 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17145 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17146 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17148 * resolv/nss_dns/dns-host.c: Update copyright year.
17150 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17152 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17153 requests to save a system call. Fix check that all bytes are sent.
17155 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17156 comments for sendmmsg.
17158 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17161 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17162 with only 1 character between 0x0041 and 0x01b0.
17163 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17164 * wcsmbs/tst-mbsnrtowcs.c: New file.
17166 2012-03-29 David S. Miller <davem@davemloft.net>
17168 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17169 small copies by hand.
17171 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17174 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17175 _nss_compat_initgroups_dyn): Fall back to malloc/free
17176 for large group memberships.
17178 2012-03-28 David S. Miller <davem@davemloft.net>
17180 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17181 that branches into memcpy.
17182 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17185 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17188 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17189 implementation too.
17190 * sysdeps/sparc/mempcpy.S: New file.
17192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17193 the IFUNC routine in the libc case.
17194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17197 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17198 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17199 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17200 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17201 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17202 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17203 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17205 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17206 loop to 256 bytes instead of 64 bytes and fix test signedness.
17208 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17209 * sysdeps/sparc/sparc32/Makefile: rather than here...
17210 * sysdeps/sparc/sparc64/Makefile: and here.
17212 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17214 * malloc/mallocbug.c: Avoid warnings about unused variables.
17216 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17219 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17220 in the right place. Discard and retry query if response is
17221 larger than input buffer size.
17223 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17228 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17229 x for large integer exponent.
17230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17232 sign of result as needed afterwards.
17233 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17234 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17235 result for underflowing pow the same as for overflow.
17236 (__kernel_standard_l): Handle powl overflow and underflow here
17237 rather than calling __kernel_standard.
17238 * math/libm-test.inc (pow_test): Add more tests.
17253 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17254 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17255 (__kernel_standard_l): New function.
17256 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17258 * math/w_acosl.c (__acosl): Likewise.
17259 * math/w_asinl.c (__asinl): Likewise.
17260 * math/w_atan2l.c (__atan2l): Likewise.
17261 * math/w_atanhl.c (__atanhl): Likewise.
17262 * math/w_coshl.c (__coshl): Likewise.
17263 * math/w_exp10l.c (__exp10l): Likewise.
17264 * math/w_exp2l.c (__exp2l): Likewise.
17265 * math/w_fmodl.c (__fmodl): Likewise.
17266 * math/w_hypotl.c (__hypotl): Likewise.
17267 * math/w_j0l.c (__j0l, __y0l): Likewise.
17268 * math/w_j1l.c (__j1l, __y1l): Likewise.
17269 * math/w_jnl.c (__jnl, __ynl): Likewise.
17270 * math/w_lgammal.c (__lgammal): Likewise.
17271 * math/w_log10l.c (__log10l): Likewise.
17272 * math/w_log2l.c (__log2l): Likewise.
17273 * math/w_logl.c (__logl): Likewise.
17274 * math/w_powl.c (__powl): Likewise.
17275 * math/w_remainderl.c (__remainderl): Likewise.
17276 * math/w_scalbl.c (sysv_scalbl): Likewise.
17277 * math/w_sinhl.c (__sinhl): Likewise.
17278 * math/w_sqrtl.c (__sqrtl): Likewise.
17279 * math/w_tgammal.c (__tgammal): Likewise.
17280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17281 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17282 * math/libm-test.inc (acos_test): Add more tests.
17283 (acosh_test): Likewise.
17284 (asin_test): Likewise.
17285 (atanh_test): Likewise.
17286 (exp_test): Likewise.
17287 (exp10_test): Likewise.
17288 (exp2_test): Likewise.
17289 (expm1_test): Likewise.
17290 (lgamma_test): Likewise.
17291 (log_test): Likewise.
17292 (log10_test): Likewise.
17293 (log1p_test): Likewise.
17294 (log2_test): Likewise.
17295 (pow_test): Do not allow some spurious overflow exceptions.
17296 (sqrt_test): Add more tests.
17297 (tgamma_test): Likewise.
17298 (y0_test): Likewise.
17299 (y1_test): Likewise.
17300 (yn_test): Likewise.
17302 2012-03-27 Anton Blanchard <anton@samba.org>
17304 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17310 2012-03-27 David S. Miller <davem@davemloft.net>
17312 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17314 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17315 have-as-vis3 check.
17317 2012-03-27 Andreas Jaeger <aj@suse.de>
17319 * sysdeps/x86_64/elf/configure.in: Moved to ...
17320 * sysdeps/x86_64/configure.in: ... here.
17321 * sysdeps/x86_64/elf/start.S: Moved to ...
17322 * sysdeps/x86_64/start.S: ... here.
17323 * sysdeps/x86_64/elf/configure: Delete.
17325 * sysdeps/x86_64/configure.in: Merge contents from
17326 sysdeps/i386/configure.in (without i686 check).
17328 * sysdeps/i386/elf/Versions: Merge into ...
17329 * sysdeps/i386/Versions: ... this.
17330 * sysdeps/i386/elf/Versions: Delete file.
17331 * sysdeps/i386/elf/start.S: Moved to ...
17332 * sysdeps/i386/start.S: ...here.
17333 * sysdeps/i386/elf/configure.in: Merge into...
17334 * sysdeps/i386/configure.in: ...here.
17335 * sysdeps/i386/elf/configure.in: Delete file.
17336 * sysdeps/i386/elf/configure: Delete file.
17338 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17339 * debug/backtracesyms.c: ... here.
17340 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17341 * debug/backtracesymsfd.c: ... here.
17342 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17343 * sysdeps/generic/ifunc-sel.h: ... here.
17345 * sysdeps/unix/i386/start.c: Delete file.
17346 * sysdeps/unix/sparc/start.c: Delete file.
17347 * sysdeps/unix/start.c: Delete file.
17349 * sysdeps/sh/elf/configure.in: Moved to ...
17350 * sysdeps/sh/configure.in: ... here.
17351 * sysdeps/sh/elf/start.S: Moved to ...
17352 * sysdeps/sh/start.S: ... here.
17353 * sysdeps/sh/elf/configure: Delete file.
17355 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17356 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17357 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17358 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17359 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17360 * sysdeps/powerpc/powerpc64/start.S: here.
17361 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17362 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17363 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17364 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17365 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17367 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17368 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17369 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17370 * sysdeps/powerpc/powerpc32/start.S: ... here.
17371 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17372 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17373 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17375 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17376 * sysdeps/powerpc/ifunc-sel.h: ... here.
17377 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17378 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17380 * sysdeps/sparc/elf/configure.in: Moved to ...
17381 * sysdeps/sparc/configure.in: ... here.
17382 * sysdeps/sparc/elf/configure: Delete file.
17383 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17384 * sysdeps/sparc/sparc32/start.S: ... here.
17385 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17386 * sysdeps/sparc/sparc64/start.S: ... here.
17387 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17388 * sysdeps/sparc/sparc32/Makefile: ... this.
17389 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17390 * sysdeps/sparc/sparc64/Makefile: ... this.
17392 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17393 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17394 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17395 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17396 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17397 * sysdeps/s390/s390-32/setjmp.S: ... here.
17398 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17399 * sysdeps/s390/s390-32/configure.in: ... here.
17400 * sysdeps/s390/s390-32/elf/configure: Delete file.
17401 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17402 * sysdeps/s390/s390-32/start.S: ... here.
17404 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17405 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17406 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17407 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17408 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17409 * sysdeps/s390/s390-64/setjmp.S: ... here.
17410 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17411 * sysdeps/s390/s390-64/configure.in: ... here
17412 * sysdeps/s390/s390-64/elf/configure: Delete file.
17413 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17414 * sysdeps/s390/s390-64/start.S: ... here.
17415 * sysdeps/s390/s390-64/elf/configure: Delete.
17417 * configure.in: Remove support for elf directories in sysdeps.
17419 * configure: Regenerated.
17420 * sysdeps/i386/configure: Regenerated.
17421 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17422 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17423 * sysdeps/s390/s390-32/configure: Regenerated.
17424 * sysdeps/s390/s390-64/configure: Regenerated.
17425 * sysdeps/sh/configure: Regenerated.
17426 * sysdeps/sparc/configure: Regenerated.
17427 * sysdeps/x86_64/configure: Regenerated.
17429 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17434 denormal result into account.
17436 2012-03-25 Roland McGrath <roland@hack.frob.com>
17438 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17439 Reported by Allan McRae <allan@archlinux.org>.
17441 2012-03-23 Jeff Law <law@redhat.com>
17443 * nss/getnssent.c (__nss_getent): Fix typo.
17445 2012-03-23 David S. Miller <davem@davemloft.net>
17447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17449 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17451 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17452 to pad to uint64_t for each field.
17453 (dl_tls_index): Replace unsigned long with uint64_t.
17455 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17456 Paul Pluzhnikov <ppluzhnikov@google.com>
17459 * grp/Makefile (otherlibs): Don't set it.
17460 * inet/Makefile (otherlibs): Likewise.
17461 * login/Makefile (otherlibs): Likewise.
17462 * nscd/Makefile (otherlibs): Likewise.
17463 * posix/Makefile (otherlibs): Likewise.
17464 * pwd/Makefile (otherlibs): Likewise.
17465 * rt/Makefile (otherlibs): Likewise.
17466 * sunrpc/Makefile (otherlibs): Likewise.
17467 * nss/Makefile (otherlibs): Likewise.
17468 Add libnss_files to routines and static-only-routines.
17469 ($(objpfx)getent): Remove rule.
17470 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17471 static-only-routines.
17473 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17476 * math/s_cexp.c: Include <float.h>.
17477 (__cexp): Handle exp result overflowing not necessarily
17478 overflowing both real and imaginary parts of result.
17479 * math/s_cexpf.c: Likewise.
17480 * math/s_cexpl.c: Likewise.
17481 * math/libm-test.inc (cexp_test): Add more tests.
17482 * sysdeps/i386/fpu/libm-test-ulps: Update.
17483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17485 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17487 * include/link.h (ELFW): New macro.
17488 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17489 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17491 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17493 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17496 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17498 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17500 (struct La_x32_retval): Likewise.
17502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17504 * sysdeps/x86_64/preconfigure.in: New file.
17505 * sysdeps/x86_64/preconfigure: New generated file.
17507 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17510 * math/e_exp2l.c: Include <float.h>.
17511 (__ieee754_exp2l): Handle overflow and underflow cases
17512 separately. Only pass fractional part of argument to
17514 * math/libm-test.inc (exp2_test): Add more tests.
17516 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17517 negating x to take absolute value.
17518 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17520 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17523 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17524 computing low part if x was negated.
17525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17527 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17529 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17530 la_x32_gnu_pltexit.
17531 (pltexit): Cast int_retval to ptrdiff_t.
17532 * elf/tst-auditmod3b.c: Likewise.
17533 * elf/tst-auditmod4b.c: Likewise.
17534 * elf/tst-auditmod5b.c: Likewise.
17535 * elf/tst-auditmod6b.c: Likewise.
17536 * elf/tst-auditmod6c.c: Likewise.
17537 * elf/tst-auditmod7b.c: Likewise.
17539 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17540 and x32_gnu_pltexit.
17542 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17543 __ELF_NATIVE_CLASS.
17544 (La_x32_regs): New macro.
17545 (La_x32_retval): Likewise.
17546 (la_x32_gnu_pltenter): New function prototype.
17547 (la_x32_gnu_pltexit): Likewise.
17549 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17551 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17556 * configure.in (libc_cv_cc_nofma): Check for option to disable
17557 generation of FMA instructions.
17558 * configure: Regenerate.
17559 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17560 * sysdeps/ieee754/dbl-64/Makefile: New file.
17561 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17562 Remove brandred-fma4.
17563 (CFLAGS-brandred-fma4.c): Remove.
17564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17567 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17572 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17573 LLONG_MAX != LONG_MAX.
17574 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17575 (_fitoa_word): Likewise.
17576 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17577 LLONG_MAX != LONG_MAX.
17578 * stdio-common/_itowa.h: Include <_itoa.h>.
17579 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17580 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17581 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17582 only if not defined.
17583 (_ITOA_WORD_TYPE): Likewise.
17584 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17585 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17587 2012-03-21 David S. Miller <davem@davemloft.net>
17589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17591 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17593 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17594 of x86_64 when setting libc_cv_slibdir, libdir and
17596 * sysdeps/unix/sysv/linux/configure: Regenerated.
17598 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17600 * manual/lang.texi (Old Varargs): Remove section.
17601 (How Variadic): Update menu.
17602 (va_start): Do not mention varargs.h.
17604 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17605 Joseph Myers <joseph@codesourcery.com>
17607 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17609 * configure: Regenerated.
17611 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17613 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17614 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17617 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17620 * Makefile (files-for-dist): Remove NOTES.
17621 (NOTES): Remove rule.
17622 * README: Don't refer to NOTES.
17623 * manual/creature.texi: Don't include macros.texi.
17624 * manual/intro.texi (creature.texi): Remove comment referring to
17627 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17628 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17629 * configure: Regenerated.
17630 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17631 LIBC_TRY_CC_OPTION.
17632 (libc_cv_as_i686): Likewise.
17633 (libc_cv_cc_avx): Likewise.
17634 (libc_cv_cc_sse2avx): Likewise.
17635 (libc_cv_cc_fma4): Likewise.
17636 (libc_cv_cc_novzeroupper): Likewise.
17637 * sysdeps/i386/configure: Regenerated.
17640 * sysdeps/i386/fpu/s_cexp.S: Remove.
17641 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17642 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17643 * math/libm-test.inc (cexp_test): Add more tests.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17647 2012-03-21 Allan McRae <allan@archlinux.org>
17649 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17651 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17654 * math/w_exp2.c: Do not include <float.h>.
17655 (o_threshold, u_threshold): Remove.
17656 (__exp2): Calculate result before checking finiteness and calling
17658 * math/w_exp2f.c: Likewise.
17659 * math/w_exp2l.c: Likewise.
17660 * math/libm-test.inc (exp2_test): Require overflow exception for
17664 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17665 range of signed 64-bit integers before using fistpll. Remove
17666 checks for whether integers fit in mantissa bits.
17667 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17668 the range of signed 32-bit integers before using fistpl. Remove
17669 checks for whether integers fit in mantissa bits.
17670 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17671 (__ieee754_powl): Test for y outside the range of signed 64-bit
17672 integers before using fistpll. Reduce 64-bit values to 63-bit
17674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17675 divide-by-zero is raised for zero to large negative powers.
17676 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17677 (__ieee754_powl): Test for y outside the range of signed 64-bit
17678 integers before using fistpll. Reduce 64-bit values to 63-bit
17680 * math/libm-test.inc (pow_test): Add more tests.
17682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17684 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17685 <stdio-common/_itoa.h>.
17686 * debug/segfault.c: Likewise.
17687 * elf/dl-cache.c: Likewise.
17688 * elf/dl-minimal.c: Likewise.
17689 * elf/dl-misc.c: Likewise.
17690 * elf/dl-sysdep.c: Likewise.
17691 * elf/dl-version.c: Likewise.
17692 * elf/rtld.c: Likewise.
17693 * hurd/hurdsock.c: Likewise.
17694 * hurd/lookup-retry.c: Likewise.
17695 * malloc/malloc.c: Likewise.
17696 * malloc/mtrace.c: Likewise.
17697 * nscd/nscd_getgr_r.c: Likewise.
17698 * nscd/nscd_getpw_r.c: Likewise.
17699 * nscd/nscd_getserv_r.c: Likewise.
17700 * posix/getopt_init.c: Likewise.
17701 * posix/wordexp.c: Likewise.
17702 * stdio-common/_itoa.c: Likewise.
17703 * stdio-common/printf_fphex.c: Likewise.
17704 * stdio-common/vfprintf.c: Likewise.
17705 * string/_strerror.c: Likewise.
17706 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17707 * sysdeps/i386/i686/hp-timing.h: Likewise.
17708 * sysdeps/mach/_strerror.c: Likewise.
17709 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17710 * sysdeps/mach/hurd/sethostid.c: Likewise.
17711 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17712 * sysdeps/mach/xpg-strerror.c: Likewise.
17713 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17715 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17716 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17717 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17718 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17720 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17721 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17722 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17723 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17724 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17725 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17726 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17727 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17728 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17729 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17730 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17731 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17732 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17733 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17735 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17737 * stdio-common/_itoa.h: Moved to ...
17738 * sysdeps/generic/_itoa.h: Here.
17740 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17742 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17743 instead of "_itoa.h" and "_itowa.h".
17744 * stdio-common/vfprintf.: Likewise.
17746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17748 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17750 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17751 (__signbit): Likwise.
17752 (llrintf): Likwise.
17755 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17757 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17760 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17762 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17763 OVERFLOW_EXCEPTION_OK.
17764 * math/libm-test.inc ("Philosophy"): Update comment about
17766 (OVERFLOW_EXCEPTION): Define.
17767 (OVERFLOW_EXCEPTION_OK): Likewise.
17768 (INVALID_EXCEPTION_OK): Renumber.
17769 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17770 (IGNORE_ZERO_INF_SIGN): Likewise.
17771 (test_exceptions): Handle FE_OVERFLOW.
17772 (exp10_test): Expect overflow exceptions.
17773 (exp2_test): Likewise.
17774 (expm1_test): Likewise.
17775 (nextafter_test): Likewise.
17776 (pow_test): Likewise.
17777 (scalbn_test): Likewise.
17778 (scalbln_test): Likewise.
17780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17782 * sysdeps/x86_64/bits/atomic.h
17783 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17785 (atomic_exchange_acq): Likewise.
17786 (__arch_exchange_and_add_body): Likewise.
17787 (__arch_add_body): Likewise.
17788 (atomic_add_negative): Likewise.
17789 (atomic_add_zero): Likewise.
17791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17793 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17794 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17798 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17799 Check __x86_64__ instead of __WORDSIZE.
17801 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17803 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17805 2012-03-19 David S. Miller <davem@davemloft.net>
17807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17809 * sysdeps/sparc/fpu/fenv_private.h: New file.
17810 * sysdeps/sparc/fpu/math_private.h: Use it.
17811 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17813 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17814 (libc_feholdexcept_setroundl): Remove.
17815 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17817 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17818 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17820 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17823 int64_t instead of long int.
17824 (INSERT_WORDS64): Likwise.
17826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17828 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17829 _Unwind_GetCFA return to _Unwind_Ptr first.
17831 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17834 * math/s_clog.c: Include <float.h>.
17835 (__clog): Scale large or subnormal inputs.
17836 * math/s_clogf.c: Likewise.
17837 * math/s_clogl.c: Likewise.
17838 * math/s_clog10.c: Include <float.h>.
17839 (M_LOG10_2): Define.
17840 (__clog10): Scale large or subnormal inputs.
17841 * math/s_clog10f.c: Likewise.
17842 * math/s_clog10l.c: Likewise.
17843 * math/libm-test.inc (clog_test): Add more tests.
17844 (clog10_test): Likewise.
17845 * sysdeps/i386/fpu/libm-test-ulps: Update.
17846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17851 * math/libm-test.inc (atan2_test): Add another test.
17853 * Makerules (common-objdir-compile): Remove.
17854 * sysdeps/unix/Makefile (config-generated): Do not add
17855 $(unix-generated) to variable.
17856 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17857 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17859 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17861 [generic bits/local_lim.h] (before-compile): Do not append to
17863 [generic bits/local_lim.h] (common-generated): Likewise.
17864 [generic sys/param.h] (before-compile): Do not append to variable.
17865 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17866 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17868 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17870 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17871 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17872 [generic sys/param.h] ($(addprefix
17873 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17874 [generic sys/param.h] (common-generated): Do not append to
17876 [generic sys/param.h] (sysdep_headers): Likewise.
17877 [generic bits/errno.h] (before-compile): Do not append to
17879 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17881 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17882 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17883 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17884 [generic bits/errno.h] (common-generated): Do not append to
17886 [generic bits/ioctls.h] (before-compile): Do not append to
17888 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17890 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17891 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17892 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17894 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17895 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17896 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17897 [generic bits/ioctls.h] (common-generated): Do not append to
17899 [generic sys/syscall.h] (syscall.h): Remove variable.
17900 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17902 [generic sys/syscall.h] (before-compile): Do not append to
17904 [generic sys/syscall.h] (common-generated): Likewise.
17905 * sysdeps/unix/errnos-tmpl.c: Remove file.
17906 * sysdeps/unix/errnos.awk: Likewise.
17907 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17908 * sysdeps/unix/ioctls.awk: Likewise.
17909 * sysdeps/unix/mk-local_lim.c: Likewise.
17910 * sysdeps/unix/snarf-ioctls: Likewise.
17912 2012-03-19 Richard Henderson <rth@twiddle.net>
17914 * sysdeps/i386/fpu/fenv_private.h: New file.
17915 * sysdeps/i386/fpu/math_private.h: Use it.
17916 (math_opt_barrier, math_force_eval): Remove.
17917 (libc_feholdexcept_setround_53bit): Remove.
17918 (libc_feupdateenv_53bit): Remove.
17919 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17920 (math_opt_barrier, math_force_eval): Remove.
17921 (libc_feholdexcept): Remove.
17922 (libc_feholdexcept_setround): Remove.
17923 (libc_fetestexcept, libc_fesetenv): Remove.
17924 (libc_feupdateenv_test): Remove.
17925 (libc_feupdateenv, libc_feholdsetround): Remove.
17926 (libc_feresetround): Remove.
17928 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17929 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17931 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17932 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17933 (libc_feupdateenv_testl): New.
17934 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17935 (libc_feupdateenv_testf): New.
17936 (libc_feupdateenv): Use libc_feupdateenv_test.
17937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17940 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17941 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17942 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17943 (libc_feresetround_noex): New.
17944 (libc_feresetround_noexf): New.
17945 (libc_feresetround_noexl): New.
17946 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17947 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17948 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17949 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17954 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17955 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17956 SET_RESTORE_ROUND_NOEX.
17957 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17958 SET_RESTORE_ROUND_NOEXF.
17959 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17960 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17961 (libc_feholdsetroundf): New.
17962 (libc_feresetround, libc_feresetroundf): New.
17964 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17965 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17966 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17968 * sysdeps/generic/math_private.h: Include <fenv.h>.
17969 (default_libc_feholdexcept): New.
17970 (default_libc_feholdexcept_setround): New.
17971 (default_libc_fesetenv, default_libc_feupdateenv): New.
17972 (libc_feholdexcept): Only define if undefined.
17973 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17974 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17975 (libc_feholdexcept_setroundl): Likewise.
17976 (libc_feholdexcept_setround_53bit): Likewise.
17977 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17978 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17979 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17980 (libc_feupdateenv_53bit): Likewise.
17981 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17982 (libc_feholdexcept): Convert from macro to inline function.
17983 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17984 (libc_fesetenv, libc_feupdateenv): Likewise.
17986 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17987 not previously defined.
17988 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17989 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17990 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17991 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17992 * sysdeps/ieee754/flt-32/math_private.h: New file.
17993 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17994 math_private.h below SET_FLOAT_WORD.
17995 (__isnan, __isinf_ns, __finite): Remove.
17996 (__isnanf, __isinf_nsf, __finitef): Remove.
17998 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18002 2012-03-17 David S. Miller <davem@davemloft.net>
18005 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18008 2012-03-16 David S. Miller <davem@davemloft.net>
18010 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18014 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18016 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18017 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18018 sysdep_routines when subdir is sysvipc.
18019 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18020 __getshmlba helper.
18022 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18026 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18032 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18033 (__lround): Renamed to ...
18034 (__llround): This. Replace long int with long long int.
18035 Define lround functions as aliases of llround functions.
18036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18040 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18041 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18042 adresses to uintptr_t. Replace "long int" and "unsigned long
18043 int" with "greg_t" on va_arg.
18045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18047 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18048 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18050 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18051 Move e_machine check before EI_CLASS check. Handle x32
18052 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18053 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18054 SKIP_EM_IA_64 and include
18055 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18057 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18058 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18059 (add_system_dir): New macro.
18061 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18062 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18064 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18075 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18077 * math/w_j0f.c (j0f): Likewise.
18079 * math/w_j0l.c (__j0l): Likewise.
18081 * math/w_j1.c (j1): Likewise.
18083 * math/w_j1f.c (j1f): Likewise.
18085 * math/w_j1l.c (__j1l): Likewise.
18087 * math/w_jn.c (jn): Likewise.
18089 * math/w_jnf.c (jnf): Likewise.
18091 * math/w_jnl.c (__jnl): Likewise.
18093 * math/libm-test.inc (j0_test): Add more tests.
18094 (j1_test): Likewise.
18095 (jn_test): Likewise. Add trailing semicolon to existing test.
18096 (y0_test): Likewise.
18097 (y1_test): Likewise.
18098 * sysdeps/i386/fpu/libm-test-ulps: Update.
18099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18104 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18105 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18106 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18107 (__tanl): Set errno for infinite argument.
18108 * sysdeps/i386/fpu/mptan.c: Remove.
18109 * sysdeps/i386/fpu/s_tan.S: Likewise.
18110 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18111 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18112 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18113 * math/libm-test.inc (tan_test): Add more tests and enable more
18114 tests for double and long double.
18115 * sysdeps/i386/fpu/libm-test-ulps: Update.
18116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18118 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18120 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18121 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18123 2012-03-16 Roland McGrath <roland@hack.frob.com>
18125 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18126 * configure.in: Use it for both main tree and add-ons.
18127 * configure: Regenerated.
18129 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18131 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18133 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18139 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18140 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18145 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18147 != 0 for prec == 2.
18148 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18149 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18150 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18151 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18152 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18153 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18154 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18155 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18156 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18157 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18158 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18159 * math/libm-test.inc (cos_test): Add more tests and enable more
18160 tests for long double.
18161 (sin_test): Likewise.
18162 (sincos_test): Likewise.
18163 * sysdeps/i386/fpu/libm-test-ulps: Update.
18164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18166 2012-03-16 David S. Miller <davem@davemloft.net>
18168 * sysdeps/sparc/fpu/math_private.h: New file.
18170 2012-03-15 David S. Miller <davem@davemloft.net>
18172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18186 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18187 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18189 * sysdeps/sparc/sparc-ifunc.h: New file.
18190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18217 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18235 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18237 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18241 2012-03-15 Andreas Jaeger <aj@suse.de>
18244 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18245 ieee754/flt-32 implementation for sin, cos and sincos.
18246 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18247 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18248 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18249 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18250 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18251 ieee754/flt-32 implementation for tan.
18253 * math/libm-test.inc (cos_test): Enable some large input tests for
18255 (sin_test): Likewise.
18256 (sincos_test): Likewise.
18257 (tan_test): Add tests for large input.
18259 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 2012-03-15 Andreas Jaeger <aj@suse.de>
18264 * math/libm-test.inc (cos_test): Add more test cases.
18265 (sin_test): Likewise.
18266 (sincos_test): Likewise.
18268 2012-03-15 Andreas Jaeger <aj@suse.de>
18271 * math/libm-test.inc (cos_test): Add a test case for large input
18273 (sin_test): Likewise.
18274 (sincos_test): Likewise.
18276 2012-03-15 Andreas Jaeger <aj@suse.de>,
18277 Joseph Myers <joseph@codesourcery.com>
18280 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18281 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18282 * sysdeps/i386/fpu/branred.c: Likewise.
18283 * sysdeps/i386/fpu/dosincos.c: Likewise.
18284 * sysdeps/i386/fpu/mpa.c: Likewise.
18285 * sysdeps/i386/fpu/s_cos.S: Likewise.
18286 * sysdeps/i386/fpu/s_sin.S: Likewise.
18287 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18288 * sysdeps/i386/fpu/sincos32.c: Likewise.
18290 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18292 (libc_feupdateenv_53bit): Define.
18293 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18295 (libc_feupdateenv_53bit): Define.
18297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18298 53 bit (without extend i386 double precision).
18300 * math/libm-test.inc (sincos_test): Add tests for large input.
18304 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18306 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18310 2012-03-15 David S. Miller <davem@davemloft.net>
18312 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18313 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18314 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18315 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18340 fmin/fmax sysdep routines.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18343 2012-03-14 David S. Miller <davem@davemloft.net>
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18417 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18422 * sysdeps/sparc/configure.in: New file.
18423 * sysdeps/sparc/configure: Generate.
18424 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18425 * configure: Regenerate.
18426 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18427 * config.make.in (have-as-vis3): New.
18428 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18429 available use -Av9d instead of -Av9a.
18430 * sysdeps/sparc/sparc64/Makefile: Likewise.
18431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18446 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18447 fzeros/fnegs to load 0x80000000 into a float register instead of
18449 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18451 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18455 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18456 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18457 ($(inst_includedir)/bits/syscall.h): Remove rule.
18458 ($(objpfx)bits/syscall.d): Include instead of
18459 $(objpfx)syscall-list.d.
18460 (generated): Change syscall-list.h and syscall-list.d to
18461 bits/syscall.h and bits/syscall.d.
18463 2012-03-14 Roland McGrath <roland@hack.frob.com>
18466 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18468 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18471 * math/s_csqrt.c: Include <float.h>.
18472 (__csqrt): Scale large or subnormal inputs.
18473 * math/s_csqrtf.c: Likewise.
18474 * math/s_csqrtl.c: Likewise.
18475 * math/libm-test.inc (csqrt_test): Add more tests.
18476 * sysdeps/i386/fpu/libm-test-ulps: Update.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18480 * math/libm-test.inc (hypot_test): Add more tests.
18482 2012-03-13 David S. Miller <davem@davemloft.net>
18485 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18486 double-precision for the calculation instead of scaling.
18488 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18490 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18491 manipulate bits before adding and subtracting TWO52[sx].
18492 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18493 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18495 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18497 2012-03-13 David S. Miller <davem@davemloft.net>
18499 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18500 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18502 rtld-global-offsets.h
18503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18505 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18508 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18510 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18511 'err' in the ifdef scope in which it is actually used.
18513 * nss/nss_db/db-init.c: Include string.h
18515 2012-03-12 David S. Miller <davem@davemloft.net>
18517 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18518 masking out of the most significant byte of random value used.
18519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18520 Fix coding style in previous change.
18522 * sysdeps/unix/sysv/linux/kernel-features.h
18523 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18524 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18526 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18529 2012-03-11 David S. Miller <davem@davemloft.net>
18531 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18532 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18534 for 'resultvar' otherwise things get truncated on 64-bit.
18536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18537 Fix masking out of the most significant byte of random value used.
18539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18541 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18545 2012-03-09 David S. Miller <davem@davemloft.net>
18547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18548 variables with appropriate CPP guards.
18549 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18550 frame pointer, not the stack pointer. Correct layout comments. Fix test
18551 on resulting framesize and the management of the outregs buffer for pltexit.
18552 Preserve floating point return values across _dl_call_pltexit call.
18553 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18554 framesize and the management of the outregs buffer for pltexit.
18555 Preserve floating point return values across _dl_call_pltexit
18557 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18558 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18559 (print_exit): Fix format string for return register value.
18561 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18563 * sunrpc/Makefile (others): Add rpcgen.
18564 ($(objpfx)rpcgen): Remove special build rule and dependency on
18566 * sunrpc/rpcgen.c: New file.
18568 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18571 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18572 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18573 * sysdeps/i386/crti.S: Likewise.
18574 * sysdeps/i386/crtn.S: Likewise.
18575 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18576 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18577 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18578 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18579 * sysdeps/sh/crti.S: Likewise.
18580 * sysdeps/sh/crtn.S: Likewise.
18581 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18584 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18586 * locale/programs/locfile-kw.gperf: Likewise.
18587 * locale/programs/charmap-kw.h: Regenerated.
18588 * locale/programs/locfile-kw.h: Likewise.
18591 * intl/plural.y: Replace FSF snail mail address with URL.
18592 * intl/plural.c: Regenerated.
18594 2012-03-09 Richard Henderson <rth@twiddle.net>
18596 * include/math_private.h: Remove file.
18597 * math/math_private.h: Move file ...
18598 * sysdeps/generic/math_private.h: ... here.
18600 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18601 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18602 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18604 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18605 and <math_private.h>.
18606 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18607 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18608 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18609 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18610 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18611 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18614 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18615 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18620 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18622 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18624 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18694 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18701 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18706 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18707 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18708 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18709 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18716 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18717 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18724 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18733 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18734 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18739 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18749 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18755 * sysdeps/ieee754/k_standard.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18893 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18916 * sysdeps/ieee754/s_lib_version.c: Likewise.
18917 * sysdeps/ieee754/s_matherr.c: Likewise.
18918 * sysdeps/ieee754/s_signgam.c: Likewise.
18919 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18920 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18921 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18922 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18923 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18924 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18925 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18926 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18927 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18928 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18929 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18930 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18933 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18936 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18937 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18941 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18943 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18944 * sunrpc/rpc_main.c: Likewise.
18945 * sunrpc/rpc_svcout.c: Likewise.
18947 2012-03-09 David S. Miller <davem@davemloft.net>
18949 * include/math_private.h: New file.
18951 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18953 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18954 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18955 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18956 from <bits/socket_type.h>.
18957 (enum __socket_type): Don't define here.
18958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18960 bits/socket_type.h.
18963 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18964 checking __USE_GNU.
18966 * Makerules ($(inst_includedir)/%.h): New rule.
18967 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18968 (install-others): Remove variable setting.
18969 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18971 2012-03-08 Richard Henderson <rth@twiddle.net>
18973 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18974 from macro to inline function; merge with the
18975 !__LIBC_INTERNAL_MATH_INLINES version.
18976 (__ieee754_sqrtf): Likewise.
18978 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18979 to inline function.
18980 (__rintf, __floor, __floorf): Likewise.
18982 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18983 macro to inline function.
18984 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18986 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18987 not <math/math_private.h>.
18989 2012-03-08 David S. Miller <davem@davemloft.net>
18991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18993 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18995 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18997 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18999 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19000 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19002 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19004 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19005 be defined individually, they must be defined as a block. Define
19006 S for printing a string instead of hidint the different by using a
19007 macro for adding the 'l'.
19008 * stdio-common/tst-fphex-wide.c: Adjust.
19010 2012-03-07 Marek Polacek <polacek@redhat.com>
19012 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19014 2012-03-08 Marek Polacek <polacek@redhat.com>
19017 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19018 * stdio-common/tst-fphex.c: Define a few macros to make the
19019 test reusable. Use them.
19020 * stdio-common/tst-fphex-wide.c: New file.
19022 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19025 * manual/macros.texi (gnusystems): New macro.
19026 (nongnusystems): Likewise.
19027 (gnulinuxhurdsystems): Likewise.
19028 (gnuhurdsystems): Likewise..
19029 (gnulinuxsystems): Likewise.
19030 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19031 variants of the GNU system, not "GNU system".
19032 * manual/conf.texi: Likewise.
19033 * manual/errno.texi: Likewise. Update example of errno macro
19035 * manual/filesys.texi: Likewise.
19036 (getumask): Document as specific to GNU/Hurd.
19037 * manual/install.texi: Likewise. Reword some references to
19039 * manual/intro.texi: Likewise.
19040 * manual/io.texi: Likewise.
19041 (File Name Portability): Detail which constraints are inapplicable
19042 to all GNU systems and which are only inapplicable to GNU/Hurd.
19043 * manual/job.texi: Likewise.
19044 * manual/llio.texi: Likewise.
19045 (O_NOCTTY): Document as present on GNU/Linux.
19046 * manual/maint.texi: Likewise.
19047 * manual/memory.texi: Likewise.
19048 * manual/pattern.texi: Likewise.
19049 * manual/pipe.texi: Likewise.
19050 * manual/process.texi: Likewise.
19051 * manual/resource.texi: Likewise.
19052 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19054 * manual/setjmp.texi: Likewise.
19055 * manual/signal.texi: Likewise.
19056 * manual/startup.texi: Likewise.
19057 * manual/stdio.texi: Likewise.
19058 * manual/terminal.texi: Likewise.
19059 (ONLCR): Document as POSIX.
19060 (OXTABS): Document availability on GNU/Linux as XTABS.
19061 (ONOEOT): Document availability separately from other bits.
19062 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19063 * manual/time.texi: Likewise.
19064 * manual/users.texi: Likewise.
19065 * INSTALL: Regenerated.
19066 * sysdeps/gnu/errlist.c: Regenerated.
19068 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19069 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19070 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19072 * configure: Regenerated.
19074 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19076 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19077 default includes instead of AC_HEADER_CHECK.
19078 * sysdeps/i386/configure: Regenerated.
19081 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19082 * math/s_cacoshf.c (__cacoshf): Likewise.
19083 * math/s_cacoshl.c (__cacoshl): Likewise.
19084 * math/s_casinh.c (__casinh): Set signs of result from argument.
19085 * math/s_casinhf.c (__casinhf): Likewise.
19086 * math/s_casinhl.c (__casinhl): Likewise.
19087 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19088 (casinh_test): Add more tests.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19092 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19094 * po/zh_TW.po: Update from translation team.
19096 * login/Makefile (distribute): Remove variable.
19097 * catgets/Makefile: Likewise.
19098 * mach/Makefile: Likewise.
19099 * malloc/Makefile: Likewise.
19100 * misc/Makefile: Likewise.
19101 * iconv/Makefile: Likewise.
19102 * nscd/Makefile: Likewise.
19103 * hurd/Makefile: Likewise.
19104 * manual/Makefile: Likewise.
19105 * locale/Makefile: Likewise.
19106 * intl/Makefile: Likewise.
19107 * conform/Makefile: Likewise.
19108 * nss/Makefile: Likewise.
19109 * time/Makefile: Likewise.
19110 * soft-fp/Makefile: Likewise.
19111 * dirent/Makefile: Likewise.
19112 * gmon/Makefile: Likewise.
19113 * po/Makefile: Likewise.
19114 * rt/Makefile: Likewise.
19115 * socket/Makefile: Likewise.
19116 * math/Makefile: Likewise.
19117 * signal/Makefile: Likewise.
19118 * debug/Makefile: Likewise.
19119 * elf/Makefile: Likewise.
19120 * timezone/Makefile: Likewise.
19121 * stdlib/Makefile: Likewise.
19122 * iconvdata/Makefile: Likewise.
19123 * sunrpc/Makefile: Likewise.
19124 * io/Makefile: Likewise.
19125 * argp/Makefile: Likewise.
19126 * inet/Makefile: Likewise.
19127 * hesiod/Makefile: Likewise.
19128 * grp/Makefile: Likewise.
19129 * csu/Makefile: Likewise.
19130 * wctype/Makefile: Likewise.
19131 * crypt/Makefile: Likewise.
19132 * libio/Makefile: Likewise.
19133 * string/Makefile: Likewise.
19134 * nis/Makefile: Likewise.
19135 * resolv/Makefile: Likewise.
19136 * stdio-common/Makefile: Likewise.
19137 * wcsmbs/Makefile: Likewise.
19138 * dlfcn/Makefile: Likewise.
19139 * posix/Makefile: Likewise.
19142 * timezone/Makefile: Don't install timezone files, just the programs
19145 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19147 * nss/databases.def: Add missing gshadow entry.
19149 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19151 2012-03-06 Marek Polacek <polacek@redhat.com>
19154 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19155 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19156 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19157 * stdio-common/tst-long-dbl-fphex.c: New file.
19159 2012-03-06 David S. Miller <davem@davemloft.net>
19161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19162 (set_obp_int): New function.
19163 (get_obp_int): New function.
19164 (__get_clockfreq_via_dev_openprom): Likewise.
19165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19166 Avoid unused variable warnings on 'val' and use builtin_expect.
19167 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19169 (INLINE_CLONE_SYSCALL): Likewise.
19171 2012-03-05 David S. Miller <davem@davemloft.net>
19173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19175 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19179 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19180 only for |x| >= 40.
19181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19183 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19186 Replace gettimeofday with __vdso_gettimeofday.
19188 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19189 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19190 __vdso_clock_gettime and __vdso_getcpu.
19192 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19193 time with __vdso_time.
19195 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19197 * manual/lang.texi (size_t): Note types to which size_t may be
19198 equivalent with the GNU C Library, but do not describe when
19199 differences between them are significant.
19201 2012-03-05 Andreas Jaeger <aj@suse.de>
19203 * sysdeps/i386/fpu/libm-test-ulps: Update.
19205 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19208 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19209 (__ieee754_pow): Save and restore rounding mode and use
19210 round-to-nearest for main computations.
19211 * math/libm-test.inc (pow_test_tonearest): New function.
19212 (pow_test_towardzero): Likewise.
19213 (pow_test_downward): Likewise.
19214 (pow_test_upward): Likewise.
19215 (main): Call the new functions.
19216 * sysdeps/i386/fpu/libm-test-ulps: Update.
19217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19220 * math/libm-test.inc (cosh_test_tonearest): New function.
19221 (cosh_test_towardzero): Likewise.
19222 (cosh_test_downward): Likewise.
19223 (cosh_test_upward): Likewise.
19224 (sinh_test_tonearest): Likewise.
19225 (sinh_test_towardzero): Likewise.
19226 (sinh_test_downward): Likewise.
19227 (sinh_test_upward): Likewise.
19228 (main): Call the new functions.
19229 * sysdeps/i386/fpu/libm-test-ulps: Update.
19230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19232 2012-03-05 Tom de Vries <tom@codesourcery.com>
19234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19235 default stack guard is set in last bytes.
19236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19238 2012-03-05 Kees Cook <keescook@chromium.org>
19240 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19243 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19244 possibly allocate from heap instead of stack.
19245 * stdio-common/bug-vfprintf-nargs.c: New file.
19246 * stdio-common/Makefile (tests): Add nargs overflow test.
19248 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19252 2012-03-03 Marek Polacek <polacek@redhat.com>
19254 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19255 * math/math_private.h: Likewise.
19256 * stdlib/tst-strtod.c: Likewise.
19257 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19258 * sysdeps/x86_64/bits/atomic.h: Likewise.
19260 2012-03-02 David S. Miller <davem@davemloft.net>
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19268 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19271 2012-03-02 Roland McGrath <roland@hack.frob.com>
19274 * manual/examples/README: New file, says the example source files
19275 can be used under GPL>=2.
19276 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19277 line containing just "*/".
19278 * manual/examples/add.c: Add copyright header (GPL>=2).
19279 * manual/examples/argp-ex1.c: Likewise.
19280 * manual/examples/argp-ex2.c: Likewise.
19281 * manual/examples/argp-ex3.c: Likewise.
19282 * manual/examples/argp-ex4.c: Likewise.
19283 * manual/examples/atexit.c: Likewise.
19284 * manual/examples/db.c: Likewise.
19285 * manual/examples/dir.c: Likewise.
19286 * manual/examples/dir2.c: Likewise.
19287 * manual/examples/execinfo.c: Likewise.
19288 * manual/examples/filecli.c: Likewise.
19289 * manual/examples/filesrv.c: Likewise.
19290 * manual/examples/fmtmsgexpl.c: Likewise.
19291 * manual/examples/genpass.c: Likewise.
19292 * manual/examples/inetcli.c: Likewise.
19293 * manual/examples/inetsrv.c: Likewise.
19294 * manual/examples/isockad.c: Likewise.
19295 * manual/examples/longopt.c: Likewise.
19296 * manual/examples/memopen.c: Likewise.
19297 * manual/examples/memstrm.c: Likewise.
19298 * manual/examples/mkfsock.c: Likewise.
19299 * manual/examples/mkisock.c: Likewise.
19300 * manual/examples/mygetpass.c: Likewise.
19301 * manual/examples/pipe.c: Likewise.
19302 * manual/examples/popen.c: Likewise.
19303 * manual/examples/rprintf.c: Likewise.
19304 * manual/examples/search.c: Likewise.
19305 * manual/examples/select.c: Likewise.
19306 * manual/examples/setjmp.c: Likewise.
19307 * manual/examples/sigh1.c: Likewise.
19308 * manual/examples/sigusr.c: Likewise.
19309 * manual/examples/stpcpy.c: Likewise.
19310 * manual/examples/strdupa.c: Likewise.
19311 * manual/examples/strftim.c: Likewise.
19312 * manual/examples/strncat.c: Likewise.
19313 * manual/examples/subopt.c: Likewise.
19314 * manual/examples/swapcontext.c: Likewise.
19315 * manual/examples/termios.c: Likewise.
19316 * manual/examples/testopt.c: Likewise.
19317 * manual/examples/testpass.c: Likewise.
19318 * manual/examples/timeval_subtract.c: Likewise.
19321 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19323 * manual/timeval_subtract.c.texi: ... here, new file.
19325 2012-03-02 David S. Miller <davem@davemloft.net>
19327 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19329 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19332 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19333 (__sin): Save and restore rounding mode and use round-to-nearest
19334 for all computations.
19335 (__cos): Save and restore rounding mode and use round-to-nearest
19336 for all computations.
19337 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19339 (tan): Save and restore rounding mode and use round-to-nearest for
19341 * math/libm-test.inc (cos_test_tonearest): New function.
19342 (cos_test_towardzero): Likewise.
19343 (cos_test_downward): Likewise.
19344 (cos_test_upward): Likewise.
19345 (sin_test_tonearest): Likewise.
19346 (sin_test_towardzero): Likewise.
19347 (sin_test_downward): Likewise.
19348 (sin_test_upward): Likewise.
19349 (tan_test_tonearest): Likewise.
19350 (tan_test_towardzero): Likewise.
19351 (tan_test_downward): Likewise.
19352 (tan_test_upward): Likewise.
19353 (main): Call the new functions.
19354 * sysdeps/i386/fpu/libm-test-ulps: Update.
19355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19358 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19359 small n, then large n, before computing and testing k+n.
19360 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19365 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19366 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19368 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19373 * math/libm-test.inc (scalbn_test): Add more tests.
19374 (scalbln_test): Likewise.
19376 * manual/filesys.texi (mode_t): Describe constraints on size and
19377 signedness, not exact equivalence to a particular type.
19379 (ino64_t): Likewise.
19381 (nlink_t): Likewise.
19382 (blkcnt_t): Likewise.
19383 (blkcnt64_t): Likewise.
19384 * manual/llio.texi (off_t): Likewise.
19387 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19388 (__ieee754_exp): Save and restore rounding mode and use
19389 round-to-nearest for all computations.
19390 * math/libm-test.inc (exp_test_tonearest): New function.
19391 (exp_test_towardzero): Likewise.
19392 (exp_test_downward): Likewise.
19393 (exp_test_upward): Likewise.
19394 (main): Call the new functions.
19395 * sysdeps/i386/fpu/libm-test-ulps: Update.
19396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19398 2012-03-01 Chris Demetriou <cgd@google.com>
19400 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19401 have predictable order.
19403 2012-03-01 David S. Miller <davem@davemloft.net>
19405 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19407 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19408 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19409 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19410 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19412 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19413 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19414 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19416 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19417 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19418 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19419 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19420 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19425 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19428 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19429 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19430 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19431 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19432 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19435 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19436 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19437 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19438 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19444 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19445 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19446 * sysdeps/sparc/elf/configure: Regenerated.
19448 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19450 * configure.in (AS, LD): Require binutils 2.20 or later.
19451 * configure: Regenerated.
19452 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19453 as required minimum version.
19454 * INSTALL: Regenerated.
19458 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19459 before squaring exponent.
19460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19461 bottom long double and 27 bits of top long double before squaring
19463 * math/libm-test.inc (erfc_test): Add more tests.
19464 * sysdeps/i386/fpu/libm-test-ulps: Update.
19465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468 2012-03-01 Kai Tietz <ktietz@redhat.com>
19470 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19471 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19472 containing bit-fields.
19473 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19474 * soft-fp/single.h (_FP_UNION_S): Likewise.
19475 * soft-fp/double.h (_FP_UNION_D): Likewise.
19477 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19480 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19481 not include ../strcmp.S.
19482 [USE_AS_STRNCASECMP_L]: Likewise.
19483 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19484 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19485 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19486 (__strncasecmp_l_ia32): Define as alias to
19487 __strncasecmp_l_nonascii.
19490 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19491 * sysdeps/i386/fpu/libm-test-ulps: Update.
19492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19494 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19497 2012-02-29 Jeff Law <law@redhat.com>
19499 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19500 out of bounds read.
19502 2012-02-29 Marek Polacek <polacek@redhat.com>
19505 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19506 * elf/Makefile: Add rules to run tst-unused-dep.out.
19508 2012-02-28 David S. Miller <davem@davemloft.net>
19510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19514 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19515 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19517 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19519 * math/libm-test.inc (llround_test): Move one test from
19520 lround_test. Use TEST_f_L in moved test.
19521 (lround_test): Move misplaced test to llround_test. Add testcase
19524 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19526 * sysdeps/x86_64/fpu/e_expf.S: New file.
19527 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19529 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19532 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19533 of remain_len that may cause incomplete multi-byte character and
19535 * posix/bug-regex33.c: New file.
19536 * posix/Makefile (tests): Add bug-regex33.
19538 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19540 * manual/macros.texi: New file.
19541 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19542 * manual/libc.texinfo: Include macros.texi.
19543 * manual/creatute.texi: Likewise.
19544 * manual/install.texi: Likewise.
19545 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19546 @glibcadj{} in references to the GNU C Library.
19547 * manual/charset.texi: Likewise.
19548 * manual/conf.texi: Likewise.
19549 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19550 when not using those macros.
19551 * manual/creature.texi: Likewise.
19552 * manual/crypt.texi: Likewise.
19553 * manual/errno.texi: Likewise.
19554 * manual/filesys.texi: Likewise.
19555 * manual/header.texi: Likewise.
19556 * manual/install.texi: Likewise.
19557 * manual/intro.texi: Likewise.
19558 * manual/io.texi: Likewise.
19559 * manual/job.texi: Likewise.
19560 * manual/lang.texi: Likewise.
19561 * manual/libc.texiinfo: Likewise.
19562 * manual/llio.texi: Likewise.
19563 * manual/locale.texi: Likewise.
19564 * manual/maint.texi: Likewise.
19565 * manual/math.texi: Likewise.
19566 * manual/memory.texi: Likewise.
19567 * manual/message.texi: Likewise.
19568 * manual/nss.texi: Likewise.
19569 * manual/pattern.texi: Likewise.
19570 * manual/process.texi: Likewise.
19571 * manual/resource.texi: Likewise.
19572 * manual/search.texi: Likewise.
19573 * manual/setjmp.texi: Likewise.
19574 * manual/signal.texi: Likewise.
19575 * manual/socket.texi: Likewise.
19576 * manual/startup.texi: Likewise.
19577 * manual/stdio.texi: Likewise.
19578 * manual/string.texi: Likewise.
19579 * manual/sysinfo.texi: Likewise.
19580 * manual/syslog.texi: Likewise.
19581 * manual/terminal.texi: Likewise.
19582 * manual/time.texi: Likewise.
19583 * manual/users.texi: Likewise.
19584 * INSTALL: Regenerated.
19585 * NOTES: Regenerated.
19586 * sysdeps/gnu/errlist.c: Regenerated.
19588 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19590 * include/dirent.h: Include <dirstream.h> before
19593 2012-02-28 David S. Miller <davem@davemloft.net>
19595 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19596 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19597 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19598 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19600 2012-02-27 David S. Miller <davem@davemloft.net>
19602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19604 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19605 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19608 frame pointer instead of stack pointer relative arg slot.
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19613 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19616 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19618 2012-02-27 David S. Miller <davem@davemloft.net>
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19626 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19629 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19631 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19632 later. Allow versions 5-9.
19633 * configure: Regenerated.
19634 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19635 required minimum version and 4.6 as recommended version. Do not
19636 mention bugs in GCC 2.7 and 2.8.
19637 * INSTALL: Regenerated.
19639 2012-02-27 David S. Miller <davem@davemloft.net>
19641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19647 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19648 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19651 manipulate bits before adding and subtracting TWO112[sx].
19652 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19654 2012-02-27 Roland McGrath <roland@hack.frob.com>
19657 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19658 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19659 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19660 being in POSIX, because they are in 1003.1-2008.
19662 * rt/tst-aio.c: Include <fcntl.h>.
19663 * rt/tst-aio7.c: Likewise.
19664 * rt/tst-aio64.c: Likewise.
19666 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19668 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19670 * manual/install.texi (--with-headers): Describe headers as
19671 interface headers, not private headers.
19672 (Specific advice for GNU/Linux systems): Describe use of headers
19673 from "make headers_install", not private headers from older
19675 * INSTALL: Regenerated.
19676 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19678 * sysdeps/unix/sysv/linux/configure: Regenerated.
19680 * manual/llio.texi (fclean): Remove documentation.
19682 * manual/Makefile (libc-texi-generated): New variable. Include
19684 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19685 $(libc-texi-generated), not duplicated list of files.
19686 (version.texi, stamp-version): New rules.
19687 (realclean): Remove $(libc-texi-generated), not individual files
19688 from that list. Do not remove dir-add.texinfo.
19689 * manual/libc.texinfo: Comment out uses of edition numbers and
19690 references to printed manual. Remove last-updated dates.
19691 (EDITION): Comment out.
19693 (VERSION, UPDATED): Remove.
19694 (version.texi): Include.
19696 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19698 * sysdeps/posix/spawni.c: Include <signal.h>.
19699 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19700 * sysdeps/pthread/aio_fsync.c: Likewise.
19702 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19704 * conform/Makefile (tests): Run only when not cross-compiling and
19705 when fast-check is not defined.
19707 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19708 * conform/data/limits.h-data: Fixes for POSIX2008.
19709 * conform/run-conformtest.sh: Run all tests.
19710 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19712 * include/bits/dlfcn.h: Likewise.
19713 * include/langinfo.h: Likewise.
19714 * include/monetary.h: Likewise.
19715 * include/sys/poll.h: Likewise.
19717 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19719 * posix/spawn.h: Define __need_sigset_t.
19720 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19721 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19722 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19723 to get sigevent_t only.
19724 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19725 only for __USE_GNU.
19726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19727 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19728 process_vm_writev only for __USE_GNU.
19729 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19731 * conform/Makefile: For now ignore errors from run-conformtest.
19732 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19733 POSIX to avoid namespace pollution. Don't prepend headers.
19734 * conform/data/aio.h-data: Fixes for POSIX testing.
19735 * conform/data/fcntl.h-data: Likewise.
19736 * conform/data/glob.h-data: Likewise.
19737 * conform/data/grp.h-data: Likewise.
19738 * conform/data/pthread.h-data: Likewise.
19739 * conform/data/pwd.h-data: Likewise.
19740 * conform/data/signal.h-data: Likewise.
19741 * conform/data/spawn.h-data: Likewise.
19742 * conform/data/stdio.h-data: Likewise.
19743 * conform/data/stdlib.h-data: Likewise.
19744 * conform/data/stropts.h-data: Likewise.
19745 * conform/data/sys/mman.h-data: Likewise.
19746 * conform/data/sys/stat.h-data: Likewise.
19747 * conform/data/sys/types.h-data: Likewise.
19748 * conform/data/sys/wait.h-data: Likewise.
19749 * conform/data/time.h-data: Likewise.
19750 * conform/data/unistd.h-data: Likewise.
19751 * conform/data/utime.h-data: Likewise.
19753 * io/sys/stat.h: fchmod was always in POSIX.
19754 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19755 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19756 * rt/aio.h: Define __need_timespec before including <time.h>.
19757 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19758 struct. Add forward declaration of pthread_attr_t and use it in
19760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19762 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19763 always remove CLK_TCK definition.
19765 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19767 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19769 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19771 * conform/run-conformtest.sh: New file.
19772 * conform/Makefile: Run run-conformtest for tests.
19773 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19776 * conform/data/uchar.h-data: New file.
19777 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19778 * conform/data/arpa/inet.h-data: Likewise.
19779 * conform/data/assert.h-data: Likewise.
19780 * conform/data/complex.h-data: Likewise.
19781 * conform/data/cpio.h-data: Likewise.
19782 * conform/data/ctype.h-data: Likewise.
19783 * conform/data/dirent.h-data: Likewise.
19784 * conform/data/dlfcn.h-data: Likewise.
19785 * conform/data/errno.h-data: Likewise.
19786 * conform/data/fcntl.h-data: Likewise.
19787 * conform/data/float.h-data: Likewise.
19788 * conform/data/fmtmsg.h-data: Likewise.
19789 * conform/data/fnmatch.h-data: Likewise.
19790 * conform/data/ftw.h-data: Likewise.
19791 * conform/data/glob.h-data: Likewise.
19792 * conform/data/grp.h-data: Likewise.
19793 * conform/data/iconv.h-data: Likewise.
19794 * conform/data/inttypes.h-data: Likewise.
19795 * conform/data/langinfo.h-data: Likewise.
19796 * conform/data/libgen.h-data: Likewise.
19797 * conform/data/limits.h-data: Likewise.
19798 * conform/data/locale.h-data: Likewise.
19799 * conform/data/math.h-data: Likewise.
19800 * conform/data/monetary.h-data: Likewise.
19801 * conform/data/mqueue.h-data: Likewise.
19802 * conform/data/ndbm.h-data: Likewise.
19803 * conform/data/net/if.h-data: Likewise.
19804 * conform/data/netdb.h-data: Likewise.
19805 * conform/data/netinet/in.h-data: Likewise.
19806 * conform/data/nl_types.h-data: Likewise.
19807 * conform/data/poll.h-data: Likewise.
19808 * conform/data/pthread.h-data: Likewise.
19809 * conform/data/pwd.h-data: Likewise.
19810 * conform/data/regex.h-data: Likewise.
19811 * conform/data/sched.h-data: Likewise.
19812 * conform/data/search.h-data: Likewise.
19813 * conform/data/semaphore.h-data: Likewise.
19814 * conform/data/setjmp.h-data: Likewise.
19815 * conform/data/signal.h-data: Likewise.
19816 * conform/data/spawn.h-data: Likewise.
19817 * conform/data/stdarg.h-data: Likewise.
19818 * conform/data/stdio.h-data: Likewise.
19819 * conform/data/stdlib.h-data: Likewise.
19820 * conform/data/string.h-data: Likewise.
19821 * conform/data/strings.h-data: Likewise.
19822 * conform/data/stropts.h-data: Likewise.
19823 * conform/data/sys/ipc.h-data: Likewise.
19824 * conform/data/sys/mman.h-data: Likewise.
19825 * conform/data/sys/msg.h-data: Likewise.
19826 * conform/data/sys/resource.h-data: Likewise.
19827 * conform/data/sys/select.h-data: Likewise.
19828 * conform/data/sys/sem.h-data: Likewise.
19829 * conform/data/sys/shm.h-data: Likewise.
19830 * conform/data/sys/socket.h-data: Likewise.
19831 * conform/data/sys/stat.h-data: Likewise.
19832 * conform/data/sys/statvfs.h-data: Likewise.
19833 * conform/data/sys/time.h-data: Likewise.
19834 * conform/data/sys/timeb.h-data: Likewise.
19835 * conform/data/sys/times.h-data: Likewise.
19836 * conform/data/sys/types.h-data: Likewise.
19837 * conform/data/sys/uio.h-data: Likewise.
19838 * conform/data/sys/un.h-data: Likewise.
19839 * conform/data/sys/utsname.h-data: Likewise.
19840 * conform/data/sys/wait.h-data: Likewise.
19841 * conform/data/syslog.h-data: Likewise.
19842 * conform/data/tar.h-data: Likewise.
19843 * conform/data/termios.h-data: Likewise.
19844 * conform/data/utime.h-data: Likewise.
19845 * conform/data/utmpx.h-data: Likewise.
19846 * conform/data/varargs.h-data: Likewise.
19847 * conform/data/wchar.h-data: Likewise.
19848 * conform/data/wctype.h-data: Likewise.
19849 * conform/data/wordexp.h-data: Likewise.
19851 * include/stropts.h: New file.
19852 * include/uchar.h: New file.
19853 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19854 * include/assert.h: Likewise.
19855 * include/ctype.h: Likewise.
19856 * include/dirent.h: Likewise.
19857 * include/dlfcn.h: Likewise.
19858 * include/fcntl.h: Likewise.
19859 * include/fnmatch.h: Likewise.
19860 * include/glob.h: Likewise.
19861 * include/grp.h: Likewise.
19862 * include/libio.h: Likewise.
19863 * include/locale.h: Likewise.
19864 * include/math.h: Likewise.
19865 * include/net/if.h: Likewise.
19866 * include/netdb.h: Likewise.
19867 * include/netinet/in.h: Likewise.
19868 * include/pthread.h: Likewise.
19869 * include/pwd.h: Likewise.
19870 * include/regex.h: Likewise.
19871 * include/sched.h: Likewise.
19872 * include/search.h: Likewise.
19873 * include/setjmp.h: Likewise.
19874 * include/signal.h: Likewise.
19875 * include/stdio.h: Likewise.
19876 * include/stdlib.h: Likewise.
19877 * include/string.h: Likewise.
19878 * include/sys/cdefs.h: Likewise.
19879 * include/sys/mman.h: Likewise.
19880 * include/sys/msg.h: Likewise.
19881 * include/sys/resource.h: Likewise.
19882 * include/sys/select.h: Likewise.
19883 * include/sys/socket.h: Likewise.
19884 * include/sys/stat.h: Likewise.
19885 * include/sys/statvfs.h: Likewise.
19886 * include/sys/time.h: Likewise.
19887 * include/sys/times.h: Likewise.
19888 * include/sys/uio.h: Likewise.
19889 * include/sys/utsname.h: Likewise.
19890 * include/sys/wait.h: Likewise.
19891 * include/termios.h: Likewise.
19892 * include/time.h: Likewise.
19893 * include/ulimit.h: Likewise.
19894 * include/unistd.h: Likewise.
19895 * include/utime.h: Likewise.
19896 * include/wchar.h: Likewise.
19897 * include/wctype.h: Likewise.
19898 * include/wordexp.h: Likewise.
19900 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19902 * time/time.h: TIME_UTC must be a macro.
19903 Make timespec_get available for ISO C11 only as well.
19905 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19907 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19908 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19910 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19912 * configure.in: Use -o not -a in test for unsupported multi-arch.
19914 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19916 * manual/texinfo.tex: Update to version 2012-01-19.16.
19918 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19920 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19922 2012-02-24 Roland McGrath <roland@hack.frob.com>
19925 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19926 * manual/fdl-1.3.texi: New file.
19927 * manual/fdl-1.1.texi: File removed.
19930 * manual/libc.texinfo (FDL_VERSION): New @set.
19931 Use it for mention of FDL in cover text.
19932 (Documentation License): Use it in @include file name.
19934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19935 Roland McGrath <roland@hack.frob.com>
19938 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19939 not LONG_LONG_MAX and LONG_LONG_MIN.
19940 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19941 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19943 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19949 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19950 manipulate bits before adding and subtracting TWO23[sx].
19951 * math/libm-test.inc (nearbyint_test): Add more tests.
19953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19956 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19957 bits before adding and subtracting TWO23[sx].
19958 * math/libm-test.inc (rint_test): Add more tests.
19959 (rint_test_tonearest): Likewise.
19960 (rint_test_towardzero): Likewise.
19961 (rint_test_downward): Likewise.
19962 (rint_test_upward: Likewise.
19964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19967 * include/stdc-predef.h: New file. Extracted from features.h.
19968 * include/features.h: Include stdc-predef.h.
19969 * Makefile (headers): Add stdc-predef.h.
19970 * CONFORMANCE (Compiler limitations): Update.
19972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19974 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19976 2012-02-21 David S. Miller <davem@davemloft.net>
19978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19981 2012-02-20 David S. Miller <davem@davemloft.net>
19983 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19984 using a normal save/restore sequence, rather than allocating a
19985 dummy stack frame just to store a frame pointer and restore.
19986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19988 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19990 * manual/install.texi: Fix stray word in line-wrapped comment.
19992 2012-02-20 David S. Miller <davem@davemloft.net>
19994 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19995 both binutils and gcc support GOTDATA.
19997 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19998 "rd %pc" in the PIC register setup sequences.
20000 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20001 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20002 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20003 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20004 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20009 (SYSCALL_ERROR_HANDLER): Likewise.
20010 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20013 (SYSCALL_ERROR_HANDLER): Likewise.
20015 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20016 (HAVE_GCC_GOTDATA): New.
20017 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20018 relocation support in both binutils and gcc.
20019 * sysdeps/sparc/elf/configure: Regenerate.
20021 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20022 * sysdeps/sparc/sparc32/elf/configure: Delete.
20023 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20024 * sysdeps/sparc/sparc64/elf/configure: Delete.
20025 * sysdeps/sparc/elf/configure.in: New file.
20026 * sysdeps/sparc/elf/configure: Generate.
20028 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20029 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20030 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20031 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20032 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20036 * manual/install.texi: Do not mention specific glibc version
20038 * manual/libc.texinfo (VERSION, UPDATED): Update.
20039 (@copying): Use @copyright{} and range of years.
20041 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20044 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20045 [crti.S not in sysdirs] (generated): Do not append.
20046 [crti.S not in sysdirs] (omit-deps): Likewise.
20047 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20048 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20049 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20050 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20051 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20053 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20054 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20055 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20056 * csu/defs.awk: Remove file.
20057 * sysdeps/generic/initfini.c: Likewise.
20058 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20060 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20063 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20065 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20066 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20069 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20070 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20072 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20073 (__EPOLL_PACKED): Define to empty if not defined by
20075 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20079 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20081 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20082 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20084 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20086 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20090 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20092 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20099 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20101 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20104 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20106 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20107 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20109 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20111 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20114 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20116 * math/w_acos.c: Use non-signaling floating-point comparisons.
20117 * math/w_acosf.c: Likewise.
20118 * math/w_acosh.c: Likewise.
20119 * math/w_acoshf.c: Likewise.
20120 * math/w_acoshl.c: Likewise.
20121 * math/w_acosl.c: Likewise.
20122 * math/w_asin.c: Likewise.
20123 * math/w_asinf.c: Likewise.
20124 * math/w_asinl.c: Likewise.
20125 * math/w_atanh.c: Likewise.
20126 * math/w_atanhf.c: Likewise.
20127 * math/w_atanhl.c: Likewise.
20128 * math/w_exp2.c: Likewise.
20129 * math/w_exp2f.c: Likewise.
20130 * math/w_exp2l.c: Likewise.
20131 * math/w_j0.c: Likewise.
20132 * math/w_j0f.c: Likewise.
20133 * math/w_j0l.c: Likewise.
20134 * math/w_j1.c: Likewise.
20135 * math/w_j1f.c: Likewise.
20136 * math/w_j1l.c: Likewise.
20137 * math/w_jn.c: Likewise.
20138 * math/w_jnf.c: Likewise.
20139 * math/w_log.c: Likewise.
20140 * math/w_log10.c: Likewise.
20141 * math/w_log10f.c: Likewise.
20142 * math/w_log10l.c: Likewise.
20143 * math/w_log2.c: Likewise.
20144 * math/w_log2f.c: Likewise.
20145 * math/w_log2l.c: Likewise.
20146 * math/w_logf.c: Likewise.
20147 * math/w_logl.c: Likewise.
20148 * math/w_sqrt.c: Likewise.
20149 * math/w_sqrtf.c: Likewise.
20150 * math/w_sqrtl.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20154 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20155 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20157 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20160 * manual/string.texi (strnlen): Use correct parameter name in
20161 equivalent expression.
20163 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20166 * manual/users.texi (seteuid): Consistently use neweuid for
20169 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20172 * manual/nss.texi (Services in the NSS configuration): Correct
20173 list of services in example configuration file.
20175 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20178 * manual/arith.texi: Remove statements about negative zero
20179 behaving identically to zero.
20181 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20184 * manual/install.texi: Do not document upgrading from libc5.
20186 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20189 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20191 2012-02-18 David S. Miller <davem@davemloft.net>
20193 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20194 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20195 %o7 across the call.
20196 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20199 SETUP_PIC_REG_LEAF.
20200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20201 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20202 * sysdeps/sparc/crtn.S: Likewise.
20204 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20206 * aout/Makefile: Remove.
20208 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20211 * manual/examples/argp-ex1.c (main): Format definition in GNU
20213 * manual/examples/argp-ex2.c (main): Likewise.
20214 * manual/examples/argp-ex3.c (main): Likewise.
20215 * manual/examples/argp-ex4.c (main): Likewise.
20216 * manual/examples/longopt.c (main): Use new-style prototype
20218 * manual/examples/strncat.c (main): Specify return type and use
20219 (void) for arguments.
20220 * manual/examples/subopt.c (main): Use char **argv argument.
20222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20225 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20228 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20231 * manual/string.texi (strchr): Change when strchrnul is
20234 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20237 * manual/locale.texi (setlocale): Document LOCPATH.
20239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20242 * manual/process.texi (execle): Move @dots{} before last argument.
20244 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20247 * manual/charset.texi (Generic Charset Conversion): Fix typo
20248 (LC_TYPE -> LC_CTYPE).
20250 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20253 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20254 (scalbnf): Likewise.
20255 (scalbnl): Likewise.
20256 (scalbln): Likewise.
20257 (scalblnf): Likewise.
20258 (scalblnl): Likewise.
20259 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20260 (vwarnx): Likewise.
20263 * manual/filesys.texi (telldir): Use braces around return type.
20264 * manual/llio.texi (mmap): Add space after comma.
20265 (mmap64): Likewise.
20266 * manual/math.texi (jn): Use @var{} on parameter names.
20272 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20274 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20276 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20277 (sched_get_priority_max): Likewise.
20278 * manual/signal.texi (sigvec): Add space after comma.
20279 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20281 (if_indextoname): Likewise.
20282 (if_freenameindex): Likewise.
20283 (sendto): Use ',' instead of '.' in prototype.
20284 * manual/startup.texi (syscall): Use @dots{} instead of literal
20286 * manual/stdio.texi (__fpending): Separate initial words of
20287 paragraph from @deftypefun line.
20288 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20290 (vsyslog): Use @var{} on parameter names.
20291 * manual/terminal.texi (stty): Use @var{} on parameter names.
20292 * manual/users.texi (getutmp): Use @var{} on parameter names.
20293 (getutmpx): Likewise.
20295 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20298 * manual/stdio.texi (fopen): Fix typos in description of
20301 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20304 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20305 get clock_id definition.
20307 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20310 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20311 (madvise): Cast every argument to void on its own.
20313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20316 * manual/startup.texi (Exit Status): Fix typo.
20318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20321 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20322 * manual/examples/argp-ex2.c: Likewise.
20323 * manual/examples/argp-ex3.c: Likewise.
20325 2012-02-16 Richard Henderson <rth@redhat.com>
20327 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20328 * sysdeps/s390/s390-32/initfini.c: Remove.
20329 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20330 * sysdeps/s390/s390-64/initfini.c: Remove.
20332 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20334 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20335 compiler output for sysdeps/generic/initfini.c.
20336 * sysdeps/sh/elf/initfini.c: Remove file.
20338 2012-02-16 David S. Miller <davem@davemloft.net>
20341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20343 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20344 * sysdeps/sparc/crti.S: New file.
20345 * sysdeps/sparc/crtn.S: New file.
20346 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20347 * sysdeps/sparc/sparc64/Makefile: Likewise.
20349 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20352 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20354 2012-02-15 Roland McGrath <roland@hack.frob.com>
20357 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20359 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20360 (write, read, close): Likewise.
20361 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20363 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20365 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20366 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20367 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20368 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20370 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20374 2012-02-14 Marek Polacek <polacek@redhat.com>
20376 * sysdeps/x86_64/crti.S: New file.
20377 * sysdeps/x86_64/crtn.S: New file.
20378 * sysdeps/x86_64/elf/initfini.c: Remove file.
20380 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20382 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20383 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20384 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20385 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20387 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20391 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20393 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20394 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20395 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20396 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20398 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20402 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20404 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20405 __feraiseexcept instead of feraiseexcept.
20407 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20408 nanosleep invocations.
20409 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20410 strings, and add error checking for a nanosleep invocations.
20412 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20414 Replace FSF snail mail address with URLs, as per GNU coding standards.
20415 Most of the snail mail addresses were wrong anyway, and omitting
20416 them makes the source code easier to maintain. Almost all of the
20417 changes are to license notices and to locale LC_IDENTIFICATION
20418 addresses, except for this one:
20419 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20420 not its snail mail address.
20422 2012-02-09 Richard Henderson <rth@twiddle.net>
20424 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20425 of kernel-features.h.
20427 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20429 2012-02-08 Marek Polacek <polacek@redhat.com>
20431 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20432 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20433 * sysdeps/gnu/_G_config.h: Likewise.
20434 * sysdeps/generic/_G_config.h: Likewise.
20436 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20438 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20442 * sysdeps/powerpc/powerpc32/crti.S: New file.
20443 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20444 * sysdeps/powerpc/powerpc64/crti.S: New file.
20445 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20447 * Makeconfig (have-initfini): Don't set.
20448 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20449 * configure.in (nopic_initfini): Don't substitute.
20450 * config.h.in (HAVE_INITFINI): Don't #undef.
20451 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20452 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20454 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20456 Support crti.S and crtn.S provided directly by architectures.
20457 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20458 [crti.S in sysdirs] (omit-deps): Likewise.
20459 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20460 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20461 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20462 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20463 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20464 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20465 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20466 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20467 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20468 compiler output for sysdeps/generic/initfini.c.
20469 * sysdeps/i386/elf/Makefile: Remove file.
20470 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20472 2012-02-07 Marek Polacek <polacek@redhat.com>
20474 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20475 * sysdeps/gnu/_G_config.h: Likewise.
20476 * sysdeps/mach/hurd/_G_config.h: Likewise.
20478 2012-02-07 Marek Polacek <polacek@redhat.com>
20480 * math/Makefile (tests): Add tst-CMPLX2.
20481 * math/tst-CMPLX2.c: New file.
20483 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20487 * math/libm-test.inc (jn_test): Add missing L suffix.
20489 2012-02-06 Marek Polacek <polacek@redhat.com>
20491 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20492 * sysdeps/i386/fpu/e_powf.S: Likewise.
20493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20494 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20496 * sysdeps/i386/fpu/e_pow.S: Likewise.
20497 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20498 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20499 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20500 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20501 * sysdeps/i386/fpu/e_log2.S: Likewise.
20502 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20503 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20504 * sysdeps/i386/fpu/e_powl.S: Likewise.
20505 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20508 * sysdeps/i386/fpu/e_logl.S: Likewise.
20509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20510 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20511 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20512 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20513 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20515 * sysdeps/i386/fpu/e_log.S: Likewise.
20516 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20518 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20519 * sysdeps/i386/fpu/e_logf.S: Likewise.
20520 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20521 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20522 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20523 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20525 * sysdeps/i386/fpu/e_log10.S: Likewise.
20526 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20528 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20529 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20530 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20531 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20532 * sysdeps/i386/asm-syntax.h: Likewise.
20533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20536 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20537 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20538 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20539 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20540 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20541 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20542 * sysdeps/powerpc/sysdep.h: Likewise.
20543 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20544 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20546 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20549 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20551 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20553 * sysdeps/i386/sysdep.h: Include <features.h>.
20554 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20557 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20559 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20561 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20566 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20567 (SETUP_PIC_REG): Use GET_PC_THUNK.
20568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20573 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20574 for non-PIC compilation.
20575 (SETUP_PIC_REG): Add .p2align directive.
20576 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20577 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20578 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20579 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20582 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20584 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20585 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20587 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20588 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20589 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20590 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20591 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20592 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20593 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20594 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20595 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20598 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20599 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20603 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20604 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20605 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20606 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20608 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20609 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20610 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20611 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20612 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20613 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20614 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20615 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20616 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20618 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20620 * math/tst-CMPLX.c: Include <stdio.h>.
20622 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20624 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20627 * sysdeps/sparc/bits/mathdef.h: Likewise.
20629 2012-01-31 Marek Polacek <polacek@redhat.com>
20631 * libio/libio.h: Don't define _PARAMS.
20632 * locale/programs/config.h: Don't define PARAMS.
20633 * stdlib/strtol_l.c: Likewise.
20634 (__strtol_l): Remove PARAMS from the prototype.
20636 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20638 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20639 names. Just use the correct names. Remove unnecessary wrapper
20641 * malloc/arena.c: Likewise.
20642 * malloc/hooks.c: Likewise.
20644 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20645 ARENA_TEST says not to. Simplify test for creation of a new arena.
20646 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20648 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20650 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20652 (update_get_addr): New function.
20653 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20654 GET_ADDR_MODULE parameter.
20656 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20658 * crypt/cert.c: Remove __STDC__ conditionals.
20659 * crypt/crypt-entry.c: Likewise.
20660 * crypt/crypt_util.c: Likewise.
20661 * libio/filedoalloc.c: Likewise.
20662 * libio/fileops.c: Likewise.
20663 * libio/genops.c: Likewise.
20664 * libio/iofclose.c: Likewise.
20665 * libio/iofdopen.c: Likewise.
20666 * libio/iofopen.c: Likewise.
20667 * libio/iofopen64.c: Likewise.
20668 * libio/iogetdelim.c: Likewise.
20669 * libio/iopopen.c: Likewise.
20670 * libio/obprintf.c: Likewise.
20671 * libio/oldfileops.c: Likewise.
20672 * libio/oldiofclose.c: Likewise.
20673 * libio/oldiofdopen.c: Likewise.
20674 * libio/oldiofopen.c: Likewise.
20675 * libio/oldiopopen.c: Likewise.
20676 * libio/wfiledoalloc.c: Likewise.
20677 * libio/wgenops.c: Likewise.
20678 * locale/programs/xmalloc.c: Likewise.
20679 * misc/syslog.c: Likewise.
20680 * stdio-common/xbug.c: Likewise.
20681 * string/memchr.c: Likewise.
20682 * string/memcmp.c: Likewise.
20683 * string/memrchr.c: Likewise.
20684 * string/rawmemchr.c: Likewise.
20685 * sysdeps/posix/getcwd.c: Likewise.
20686 * time/strftime_l.c: Likewise.
20688 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20690 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20691 * config.make.in (config-cflags-sse2avx): Define.
20692 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20695 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20697 * scripts/config.guess: Update from upstream config git repository.
20698 * scripts/config.sub: Likewise.
20700 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20702 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20704 (R_TILEPRO_*, R_TILEGX_*): New macros.
20706 * scripts/firstversions.awk: Fix bug in version range handling.
20708 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20710 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20712 * include/sys/epoll.h: New file.
20713 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20716 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20718 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20719 Avoid unnecessary __WORDSIZE == 64 test.
20720 (fmaxf): Use VEX format if possible.
20725 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20726 * math/math_private.h: Remove libc_fegetround* and
20728 * sysdeps/i386/configure.in: Check for -msse2avx.
20729 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20730 also if SSE2AVX is defined.
20731 Remove libc_fegetround* and libc_fesetround*.
20732 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20733 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20737 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20742 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20744 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20750 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20753 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20755 * Makeconfig (libm): Define.
20756 * elf/Makefile: Add rules to build and run tst-relsort1.
20757 * elf/tst-relsort1.c: New file.
20758 * elf/tst-relsort1mod1.c: New file.
20759 * elf/tst-relsort1mod2.c: New file.
20761 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20763 * math/s_ldexp.c: Remove __STDC__ conditionals.
20764 * math/s_ldexpf.c: Likewise.
20765 * math/s_ldexpl.c: Likewise.
20766 * math/s_nextafter.c: Likewise.
20767 * math/s_nexttowardf.c: Likewise.
20768 * math/s_significand.c: Likewise.
20769 * math/s_significandf.c: Likewise.
20770 * math/s_significandl.c: Likewise.
20771 * math/w_jnl.c: Likewise.
20772 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20773 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20774 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20775 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20776 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20781 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20782 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20787 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20789 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20793 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20794 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20796 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20797 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20799 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20800 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20801 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20802 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20803 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20807 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20808 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20809 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20810 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20811 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20812 * sysdeps/ieee754/k_standard.c: Likewise.
20813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20832 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20838 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20862 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20863 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20868 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20874 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20876 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20879 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20882 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20886 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20887 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20888 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20891 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20892 * sysdeps/ieee754/s_matherr.c: Likewise.
20893 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20894 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20898 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20900 * crypt/md5.h: Remove __STDC__ conditionals.
20901 * libio/libioP.h: Likewise.
20902 * locale/programs/config.h: Likewise.
20903 * sysdeps/generic/sysdep.h: Likewise.
20904 * sysdeps/i386/asm-syntax.h: Likewise.
20905 * sysdeps/s390/asm-syntax.h: Likewise.
20906 * sysdeps/unix/sysdep.h: Likewise.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20910 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20912 * libio/libio.h: Remove __STDC__ conditionals.
20913 * malloc/obstack.h: Likewise.
20914 * math/complex.h: Likewise.
20915 * math/math.h: Likewise.
20916 * sysdeps/generic/_G_config.h: Likewise.
20917 * sysdeps/gnu/_G_config.h: Likewise.
20918 * sysdeps/mach/hurd/_G_config.h: Likewise.
20919 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20920 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20921 * sysdeps/sparc/bits/mathdef.h: Likewise.
20923 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20926 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20927 Clean up HAS_* macros.
20928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20929 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20939 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20941 * elf/tst-unique3.cc (gets): Remove declaration.
20942 * elf/tst-unique3lib.cc (gets): Likewise.
20943 * elf/tst-unique3lib2.cc (gets): Likewise.
20944 * elf/tst-unique4.cc (gets): Likewise.
20946 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20948 * include/stdio.h: Add C++ protection. Add gets declarations and
20950 * debug/tst-chk1.c: Don't declare gets here.
20951 * stdio-common/tst-gets.c: Likewise.
20953 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20955 * posix/glob: Remove directory.
20957 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20959 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20961 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20963 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20964 of the non-standard EPFNOSUPPORT.
20966 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20968 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20969 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20970 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20972 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20974 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20976 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20978 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20980 * nscd/grpcache.c (cache_addgr): Likewise.
20981 * nscd/hstcache.c (cache_addhst): Likewise.
20982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20983 * nscd/pwdcache.c (cache_addpw): Likewise.
20984 * nscd/servicescache.c (cache_addserv): Likewise.
20986 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20988 * malloc/malloc.c: Various cleanups.
20989 * malloc/hooks.c: Likewise.
20991 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20992 * stdlib/bug-fmtmsg1.c: New file.
20994 * stdlib/fmtmsg.c (init): Add missing unlock.
20995 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20997 2012-01-12 Marek Polacek <polacek@redhat.com>
20999 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21002 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21004 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21005 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21006 macro to ensure uniqueness of label name.
21007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21010 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21019 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21023 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21024 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21027 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21030 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21034 * math/bits/math-finite.h: Add ldexp support.
21036 2012-01-10 Marek Polacek <polacek@redhat.com>
21038 * locale/programs/localedef.h (show_archive_content): Add noreturn
21041 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21045 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21047 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21049 * io/Makefile (headers): Add bits/poll2.h.
21051 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21054 typo #include statement.
21056 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21058 * include/sys/cdefs.h: Define __attribute_alloc_size.
21059 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21060 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21061 * elf/pldd.c: Likewise.
21062 * iconv/iconv_charmap.c: Likewise.
21063 * iconv/iconvconfig.c: Likewise.
21064 * iconv/strtab.c: Likewise.
21065 * locale/programs/locale.c: Likewise.
21066 * locale/programs/localedef.h: Likewise.
21067 * locale/programs/simple-hash.c: Likewise.
21068 * nscd/nscd.h: Likewise.
21069 * nss/makedb.c: Likewise.
21070 * sysdeps/generic/ldconfig.h: Likewise.
21071 * locale/programs/localedef.c: Remove xmalloc prototype.
21072 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21074 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21079 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21081 * math/Makefile (tests): Add tst-CMPLX.
21082 * math/tst-CMPLX.c: New file.
21084 * math/complex.h (CMPLXL): Fix typo.
21086 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21087 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21089 * debug/tst-chk1.c: Add poll and ppoll tests.
21090 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21091 * include/sys/poll.h: Add hidden proto for ppoll.
21092 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21093 * sysdeps/mach/hurd/ppoll.c: Likewise.
21094 * io/ppoll.c: Likewise.
21095 * debug/poll_chk.c: New file.
21096 * debug/ppoll_chk.c: New file.
21097 * include/bits/poll2.h: New file.
21098 * io/bits/poll2.h: New file.
21101 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21103 * configure.in: static is always set to yes. Remove.
21104 * config.make.in: Don't set build-static.
21105 * Makeconfig: Remove use of build-static.
21106 * dlfcn/Makefile: Likewise.
21107 * elf/Makefile: Likewise.
21108 * math/Makefile: Likewise.
21109 * misc/Makefile: Likewise.
21110 * nptl/Makefile: Likewise.
21111 * sysdeps/mach/hurd/Makefile: Likewise.
21113 * configure.in: PWD_P is not used anymore.
21114 * config.make.in: Remove PWD_P entry.
21116 * configure.in: Remove last remnants of RANLIB.
21117 No need to check for signed size_t anymore.
21118 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21120 Remove __builtin_expect test because we require at least gcc 3.4.
21121 * aclocal.m4: Likewise.
21123 * wcsmbs/mbrtoc16.c: Implement using towc function.
21124 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21125 * wcsmbs/wcsmbsload.c: Likewise.
21126 * iconv/gconv_simple.c: Likewise.
21127 * iconv/gconv_int.h: Likewise.
21128 * iconv/gconv_builtin.h: Likewise.
21129 * iconv/iconv_prog.c: Remove CHAR16 handling.
21131 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21133 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21135 * configure.in: Remove --with-elf and --enable-bounded options.
21136 Dont set base_machine for ia64. More non-ELF conditions removed.
21137 Remove testing and setting of leading underscore information.
21138 * config.make.in (build-bounded): Set to no.
21139 * config.h.in: Remove NO_UNDERSCORES entry.
21140 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21142 * csu/start.c: Remove !NO_UNDERSCORE code.
21143 * locale/localeinfo.h: Likewise.
21144 * sysdeps/generic/machine-gmon.h: Likewise.
21145 * sysdeps/generic/sysdep.h: Likewise.
21146 * sysdeps/i386/sysdep.h: Likewise.
21147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21148 * sysdeps/mach/sysdep.h: Likewise.
21149 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21151 * sysdeps/sh/sysdep.h: Likewise.
21152 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21153 * sysdeps/unix/i386/sysdep.S: Likewise.
21154 * sysdeps/unix/sparc/start.c: Likewise.
21155 * sysdeps/unix/sparc/sysdep.S: Likewise.
21156 * sysdeps/unix/sparc/sysdep.h: Likewise.
21157 * sysdeps/unix/start.c: Likewise.
21158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21159 * sysdeps/x86_64/sysdep.h: Likewise.
21161 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21164 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21166 * argp/argp-fmtstream.h: Use const instead __const.
21167 * argp/argp.h: Likewise.
21168 * assert/assert.h: Likewise.
21169 * bits/fenv.h: Likewise.
21170 * bits/sched.h: Likewise.
21171 * bits/sigset.h: Likewise.
21172 * bits/sigthread.h: Likewise.
21173 * catgets/nl_types.h: Likewise.
21174 * conform/data/pthread.h-data: Likewise.
21175 * crypt/crypt-private.h: Likewise.
21176 * crypt/crypt.h: Likewise.
21177 * crypt/crypt_util.c: Likewise.
21178 * ctype/ctype.h: Likewise.
21179 * debug/execinfo.h: Likewise.
21180 * debug/mbsnrtowcs_chk.c: Likewise.
21181 * debug/mbsrtowcs_chk.c: Likewise.
21182 * debug/wcsnrtombs_chk.c: Likewise.
21183 * debug/wcsrtombs_chk.c: Likewise.
21184 * debug/wcstombs_chk.c: Likewise.
21185 * dirent/dirent.h: Likewise.
21186 * dlfcn/dlfcn.h: Likewise.
21187 * elf/neededtest4.c: Likewise.
21188 * grp/grp.h: Likewise.
21189 * gshadow/gshadow.h: Likewise.
21190 * iconv/gconv.h: Likewise.
21191 * iconv/gconv_int.h: Likewise.
21192 * iconv/gconv_simple.c: Likewise.
21193 * iconv/iconv.h: Likewise.
21194 * iconv/loop.c: Likewise.
21195 * iconv/skeleton.c: Likewise.
21196 * include/aio.h: Likewise.
21197 * include/aliases.h: Likewise.
21198 * include/argz.h: Likewise.
21199 * include/arpa/inet.h: Likewise.
21200 * include/assert.h: Likewise.
21201 * include/dirent.h: Likewise.
21202 * include/dlfcn.h: Likewise.
21203 * include/execinfo.h: Likewise.
21204 * include/fcntl.h: Likewise.
21205 * include/fenv.h: Likewise.
21206 * include/glob.h: Likewise.
21207 * include/grp.h: Likewise.
21208 * include/libintl.h: Likewise.
21209 * include/mntent.h: Likewise.
21210 * include/netdb.h: Likewise.
21211 * include/pwd.h: Likewise.
21212 * include/rpc/netdb.h: Likewise.
21213 * include/sched.h: Likewise.
21214 * include/search.h: Likewise.
21215 * include/shadow.h: Likewise.
21216 * include/signal.h: Likewise.
21217 * include/stdio.h: Likewise.
21218 * include/stdlib.h: Likewise.
21219 * include/string.h: Likewise.
21220 * include/sys/socket.h: Likewise.
21221 * include/sys/stat.h: Likewise.
21222 * include/sys/statfs.h: Likewise.
21223 * include/sys/statvfs.h: Likewise.
21224 * include/sys/syslog.h: Likewise.
21225 * include/sys/time.h: Likewise.
21226 * include/sys/uio.h: Likewise.
21227 * include/time.h: Likewise.
21228 * include/unistd.h: Likewise.
21229 * include/utmp.h: Likewise.
21230 * include/wchar.h: Likewise.
21231 * include/wctype.h: Likewise.
21232 * inet/aliases.h: Likewise.
21233 * inet/arpa/inet.h: Likewise.
21234 * inet/netinet/ether.h: Likewise.
21235 * inet/netinet/in.h: Likewise.
21236 * intl/libintl.h: Likewise.
21237 * io/bits/fcntl2.h: Likewise.
21238 * io/fcntl.h: Likewise.
21239 * io/ftw.h: Likewise.
21240 * io/sys/poll.h: Likewise.
21241 * io/sys/stat.h: Likewise.
21242 * io/sys/statfs.h: Likewise.
21243 * io/sys/statvfs.h: Likewise.
21244 * io/utime.h: Likewise.
21245 * libio/bits/stdio.h: Likewise.
21246 * libio/bits/stdio2.h: Likewise.
21247 * libio/libio.h: Likewise.
21248 * libio/libioP.h: Likewise.
21249 * libio/stdio.h: Likewise.
21250 * locale/lc-ctype.c: Likewise.
21251 * locale/locale.h: Likewise.
21252 * login/utmp.h: Likewise.
21253 * malloc/arena.c: Likewise.
21254 * malloc/malloc.c: Likewise.
21255 * malloc/malloc.h: Likewise.
21256 * malloc/mcheck.c: Likewise.
21257 * malloc/mtrace.c: Likewise.
21258 * math/bits/mathcalls.h: Likewise.
21259 * math/fenv.h: Likewise.
21260 * math/math_private.h: Likewise.
21261 * misc/bits/error.h: Likewise.
21262 * misc/bits/syslog.h: Likewise.
21263 * misc/err.h: Likewise.
21264 * misc/error.h: Likewise.
21265 * misc/fstab.h: Likewise.
21266 * misc/mntent.h: Likewise.
21267 * misc/regexp.h: Likewise.
21268 * misc/search.h: Likewise.
21269 * misc/sgtty.h: Likewise.
21270 * misc/sys/mman.h: Likewise.
21271 * misc/sys/syslog.h: Likewise.
21272 * misc/sys/uio.h: Likewise.
21273 * misc/sys/xattr.h: Likewise.
21274 * misc/ttyent.h: Likewise.
21275 * nis/rpcsvc/ypclnt.h: Likewise.
21276 * nss/nss.h: Likewise.
21277 * posix/bits/unistd.h: Likewise.
21278 * posix/fnmatch.h: Likewise.
21279 * posix/glob.h: Likewise.
21280 * posix/sched.h: Likewise.
21281 * posix/spawn.h: Likewise.
21282 * posix/sys/wait.h: Likewise.
21283 * posix/unistd.h: Likewise.
21284 * posix/wordexp.h: Likewise.
21285 * pwd/pwd.h: Likewise.
21286 * resolv/netdb.h: Likewise.
21287 * resource/sys/resource.h: Likewise.
21288 * rt/aio.h: Likewise.
21289 * rt/bits/mqueue2.h: Likewise.
21290 * rt/mqueue.h: Likewise.
21291 * shadow/shadow.h: Likewise.
21292 * signal/signal.h: Likewise.
21293 * socket/send.c: Likewise.
21294 * socket/sendto.c: Likewise.
21295 * socket/sys/socket.h: Likewise.
21296 * stdio-common/printf.h: Likewise.
21297 * stdlib/bits/stdlib.h: Likewise.
21298 * stdlib/fmtmsg.h: Likewise.
21299 * stdlib/monetary.h: Likewise.
21300 * stdlib/stdlib.h: Likewise.
21301 * stdlib/ucontext.h: Likewise.
21302 * streams/stropts.h: Likewise.
21303 * string/argz.h: Likewise.
21304 * string/bits/string2.h: Likewise.
21305 * string/string.h: Likewise.
21306 * string/strings.h: Likewise.
21307 * sunrpc/rpc/auth.h: Likewise.
21308 * sunrpc/rpc/auth_des.h: Likewise.
21309 * sunrpc/rpc/clnt.h: Likewise.
21310 * sunrpc/rpc/netdb.h: Likewise.
21311 * sunrpc/rpc/pmap_clnt.h: Likewise.
21312 * sunrpc/rpc/xdr.h: Likewise.
21313 * sysdeps/generic/inttypes.h: Likewise.
21314 * sysdeps/generic/net/if.h: Likewise.
21315 * sysdeps/generic/sys/swap.h: Likewise.
21316 * sysdeps/gnu/net/if.h: Likewise.
21317 * sysdeps/gnu/utmpx.h: Likewise.
21318 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21319 * sysdeps/i386/i486/bits/string.h: Likewise.
21320 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21321 * sysdeps/s390/bits/string.h: Likewise.
21322 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21323 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21324 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21325 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21326 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21327 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21328 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21329 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21330 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21331 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21332 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21333 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21334 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21335 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21336 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21337 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21338 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21341 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21344 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21345 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21348 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21350 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21352 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21353 * sysvipc/sys/ipc.h: Likewise.
21354 * sysvipc/sys/msg.h: Likewise.
21355 * sysvipc/sys/sem.h: Likewise.
21356 * sysvipc/sys/shm.h: Likewise.
21357 * termios/termios.h: Likewise.
21358 * time/sys/time.h: Likewise.
21359 * time/time.h: Likewise.
21360 * wcsmbs/bits/wchar2.h: Likewise.
21361 * wcsmbs/uchar.h: Likewise.
21362 * wcsmbs/wchar.h: Likewise.
21363 * wctype/wctype.h: Likewise.
21366 * Makeconfig: Remove all but ELF support including AIX support.
21367 * Makerules: Likewise.
21368 * config.h.in: Likewise.
21369 * config.make.in: Likewise.
21370 * configure: Likewise.
21371 * configure.in: Likewise.
21372 * csu/Makefile: Likewise.
21373 * csu/version.c: Likewise.
21374 * debug/Makefile: Likewise.
21375 * dlfcn/Makefile: Likewise.
21376 * elf/Makefile: Likewise.
21377 * extra-lib.mk: Likewise.
21378 * iconv/Makefile: Likewise.
21379 * include/libc-symbols.h: Likewise.
21380 * include/shlib-compat.h: Likewise.
21381 * resolv/Makefile: Likewise.
21382 * resolv/res_libc.c: Likewise.
21383 * rt/Makefile: Likewise.
21384 * sysdeps/i386/asm-syntax.h: Likewise.
21385 * sysdeps/i386/sysdep.h: Likewise.
21386 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21387 * sysdeps/mach/sysdep.h: Likewise.
21388 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21389 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21390 * sysdeps/s390/asm-syntax.h: Likewise.
21391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21393 * sysdeps/sh/sysdep.h: Likewise.
21394 * sysdeps/unix/sparc/sysdep.h: Likewise.
21395 * sysdeps/wordsize-32/divdi3.c: Likewise.
21396 * sysdeps/x86_64/sysdep.h: Likewise.
21398 * argp/Versions: Remove _argp_unlock_xxx.
21401 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21402 * abilist/libBrokenLocale.abilist: Likewise.
21403 * abilist/libanl.abilist: Likewise.
21404 * abilist/libc.abilist: Likewise.
21405 * abilist/libcrypt.abilist: Likewise.
21406 * abilist/libdl.abilist: Likewise.
21407 * abilist/libm.abilist: Likewise.
21408 * abilist/libnsl.abilist: Likewise.
21409 * abilist/libpthread.abilist: Likewise.
21410 * abilist/libresolv.abilist: Likewise.
21411 * abilist/librt.abilist: Likewise.
21412 * abilist/libthread_db.abilist: Likewise.
21413 * abilist/libutil.abilist: Likewise.
21414 * abilist/libnss_db.abilist: New file.
21416 * scripts/abilist.awk: Add support for indirect functions.
21418 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21420 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21422 * shlib-versions: Remove entries for ports architectures.
21424 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21426 * elf/stackguard-macros.h: Remove support for IA-64.
21427 * elf/tst-auditmod1.c: Likewise.
21428 * sysdeps/generic/ldsodefs.h: Likewise.
21430 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21431 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21435 * configure.in: Remove --enable-omitfp support.
21437 * config.make.in: Likewise.
21438 * Makeconfig: Likewise.
21439 * manual/install.texi: Likewise.
21441 In case anyone cares, the IA-64 architecture could move to ports.
21442 * sysdeps/ia64/*: Removed.
21443 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21444 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21447 * configure.in: Remove entries for unsupported architectures.
21450 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21451 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21453 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21454 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21455 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21456 fall back to using wcrtomb.
21457 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21458 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21460 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21461 * wcsmbs/tst-c16c32-1.c: New file.
21463 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21466 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21468 * elf/tst-unique3.cc: Add explicit declaration of gets.
21469 * elf/tst-unique3lib.cc: Likewise.
21470 * elf/tst-unique3lib2.cc: Likewise.
21471 * elf/tst-unique4.cc: Likewise.
21473 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21475 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21478 * assert/assert.h (static_assert): Don't define for C++.
21479 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21480 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21482 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21484 * iconv/loop.c (single loop): Fix assertion in storing of
21487 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21489 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21491 * posix/getconf.c: Update copyright year.
21492 * nss/getent.c: Likewise.
21493 * nss/makedb.c: Likewise.
21494 * iconv/iconvconfig.c: Likewise.
21495 * iconv/iconv_prog.c: Likewise.
21496 * elf/ldconfig.c: Likewise.
21497 * elf/pldd.c: Likewise.
21498 * elf/sotruss.ksh: Likewise.
21499 * catgets/gencat.c: Likewise.
21500 * csu/version.c: Likewise.
21501 * elf/ldd.bash.in: Likewise.
21502 * elf/sprof.c (print_version): Likewise.
21503 * locale/programs/locale.c: Likewise.
21504 * locale/programs/localedef.c: Likewise.
21505 * login/programs/pt_chown.c: Likewise.
21506 * nscd/nscd.c (print_version): Likewise.
21507 * debug/xtrace.sh: Likewise.
21508 * malloc/memusage.sh: Likewise.
21509 * malloc/mtrace.pl: Likewise.
21510 * debug/catchsegv.sh: Likewise.
21512 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21514 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21517 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21520 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21521 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21523 * iconv/gconv_int.h: Likewise.
21524 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21525 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21526 from libc for GLIBC_2.16.
21527 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21528 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21529 * wcsmbs/uchar.h: Really define mbstate_t.
21530 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21531 * wcsmbs/c16rtomb.c: New file.
21532 * wcsmbs/mbrtoc16.c: New file.
21533 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21534 for C/POSIX locale.
21535 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21536 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21538 * wcsmbs/wchar.h: Add missing __restrict.
21540 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21543 * time/Makefile (routines): Add timespec_get.
21544 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21545 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21546 timespec for ISO C11.
21547 * time/timespec_get.c: New file.
21548 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21549 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21552 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21553 * stdlib/stdlib.h: Declare aligned_alloc.
21554 * Versions.def: Add GLIBC_2.16 for libc.
21555 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21558 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21561 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21565 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21568 * assert/assert.h (static_assert): Define.
21570 * version.h: Update for 2.16 development version.
21573 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21576 * version.h (RELEASE): Bump for 2.15 release.
21577 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21579 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21580 Patch by Marek Polacek <mpolacek@redhat.com>.
21582 * bits/byteswap.h: Protect long long constants with __extension__.
21583 * sysdeps/i386/bits/byteswap.h: Likewise.
21584 * sysdeps/ia64/bits/byteswap.h: Likewise.
21585 * sysdeps/s390/bits/byteswap.h: Likewise.
21586 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21588 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21592 destination buffer.
21593 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21595 2011-12-23 Marek Polacek <polacek@redhat.com>
21597 * elf/dl-addr.c (determine_info): Add inline keyword.
21598 * elf/tst-auditmod4b.c (check_avx): Likewise.
21599 * elf/tst-auditmod6b.c (check_avx): Likewise.
21600 * elf/tst-auditmod6c.c (check_avx): Likewise.
21601 * elf/tst-auditmod7b.c (check_avx): Likewise.
21603 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21605 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21608 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21611 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21612 processing for last bytes.
21614 2011-08-06 Bruno Haible <bruno@clisp.org>
21617 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21618 U+0385, not to U+1FEE.
21621 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21622 entry for U+00A5 U+0301.
21624 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21627 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21628 buffer for the output is too small.
21630 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21634 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21635 SSE flags if possible.
21637 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21641 processing for last bytes.
21643 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21646 (syscall-list-default-options, syscall-list-default-condition)
21647 (syscall-list-includes): Define.
21648 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21649 list of ABIs and options and #if conditions for each ABI. Do not
21650 handle common syscalls between ABIs specially.
21651 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21653 (syscall-list-variants, syscall-list-32bit-options)
21654 (syscall-list-32bit-condition, syscall-list-64bit-options)
21655 (syscall-list-64bit-condition): Define.
21656 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21657 (syscall-list-variants, syscall-list-32bit-options)
21658 (syscall-list-32bit-condition, syscall-list-64bit-options)
21659 (syscall-list-64bit-condition): Define.
21660 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21662 (syscall-list-variants, syscall-list-32bit-options)
21663 (syscall-list-32bit-condition, syscall-list-64bit-options)
21664 (syscall-list-64bit-condition): Define.
21665 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21667 (syscall-list-variants, syscall-list-32bit-options)
21668 (syscall-list-32bit-condition, syscall-list-64bit-options)
21669 (syscall-list-64bit-condition): Define.
21671 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21673 * locale/iso-639.def: Add brx entry.
21676 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21677 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21679 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21680 __feraiseexcept_renamed.
21682 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21685 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21686 EPOLLET with unsigned values.
21687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21690 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21691 to large cancellation.
21692 * math/s_cacoshf.c: Likewise.
21693 * math/s_cacoshl.c: Likewise.
21695 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21699 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21700 * math/s_cacoshf.c: Likewise.
21701 * math/s_cacoshl.c: Likewise.
21703 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21706 * iconv/gconv.h: Define __GCONV_SWAP.
21707 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21708 * iconvdata/utf-16.c: Likewise.
21709 * iconvdata/utf-32.c: Likewise.
21711 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21715 numerator after shifting it by one limb.
21717 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21720 under [__USE_EXTERN_INLINES].
21722 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21725 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21727 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21729 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21730 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21732 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21733 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21734 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21735 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21736 for strncasecmp/strncasecmp_l compilation.
21737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21738 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21740 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21743 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21746 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21749 * time/tzfile.c (__tzfile_read): Check values from file header.
21751 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21753 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21754 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21755 * powerpc/powerpc32/dl-start.S: Likewise.
21756 * powerpc/powerpc32/elf/start.S: Likewise.
21757 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21758 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21759 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21760 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21761 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21762 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21763 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21764 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21765 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21766 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21767 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21768 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21769 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21770 * powerpc/powerpc32/memset.S: Likewise.
21771 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21772 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21773 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21774 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21775 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21776 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21777 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21778 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21779 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21780 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21781 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21782 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21783 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21785 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21787 * math/libm-test.inc: Added more nearbyint tests.
21788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21793 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21795 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21798 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21800 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21801 Add wcscpy-ssse3 wcscpy-c.
21802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21803 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21804 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21805 * sysdeps/x86_64/wcschr.S: New file.
21806 * sysdeps/x86_64/wcsrchr.S: New file.
21807 * string/test-strcmp.c: Remove checking of wcscmp function for
21809 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21810 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21811 wcsrchr-sse2 wcsrchr-c.
21812 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21813 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21814 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21815 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21816 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21817 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21818 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21819 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21821 * wcsmbc/wcschr.c (WCSCHR): New macro.
21823 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21825 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21826 * wcsmbs/test-wcsrchr.c: New file.
21827 * string/test-strrchr.c: Add wcsrchr support.
21829 * wcsmbs/test-wcscpy.c: New file.
21830 * string/test-strcpy.c: Add wcscpy support.
21833 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21838 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21841 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21843 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21845 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21846 Minor optimizations.
21848 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21849 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21850 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21852 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21854 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21855 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21856 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21857 for gcc to avoid warnings.
21858 * inet/Makefile (tests): Add tst-checks.
21859 * inet/tst-checks.c: New file.
21861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21864 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21867 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21868 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21870 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21872 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21874 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21877 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21879 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21881 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21882 conditional on GCC version.
21883 (__arch_compare_and_exchange_val_8_acq)
21884 (__arch_compare_and_exchange_val_16_acq)
21885 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21886 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21887 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21889 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21891 * sysdeps/sh/backtrace.c: New file.
21893 2011-12-02 Andreas Schwab <schwab@redhat.com>
21895 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21898 2011-12-01 Andreas Schwab <schwab@redhat.com>
21900 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21901 falling back to utime.
21903 2011-11-30 Andreas Schwab <schwab@redhat.com>
21905 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21906 expectations for float.
21908 2011-11-29 Andreas Schwab <schwab@redhat.com>
21910 * locale/weight.h (findidx): Add parameter len.
21911 * locale/weightwc.h (findidx): Likewise.
21912 * posix/fnmatch_loop.c (FCT): Adjust caller.
21913 * posix/regcomp.c (build_equiv_class): Likewise.
21914 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21915 * posix/regexec.c (check_node_accept_bytes): Likewise.
21916 * string/strcoll_l.c (STRCOLL): Likewise.
21917 * string/strxfrm_l.c (STRXFRM): Likewise.
21919 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21921 * Makefile.in: Remove CVSOPT handling.
21922 * configure.in: Remove use of AC_REVISION.
21923 * iconvdata/Makefile (distribute): No need to filter out CVS.
21924 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21927 2011-11-16 Andreas Schwab <schwab@redhat.com>
21929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21930 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21931 [USE_AS_STRNCASECMP_L]: Likewise.
21932 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21933 NO_TLS_DIRECT_SEG_REFS.
21934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21935 Fix argument offsets for non-PIC.
21936 [USE_AS_STRNCASECMP_L]: Likewise.
21937 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21938 NO_TLS_DIRECT_SEG_REFS.
21940 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21942 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21944 * locale/loadlocale.c (_nl_load_locale): Likewise.
21946 2011-11-15 Andreas Schwab <schwab@redhat.com>
21948 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21949 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21951 (SYSCALL_GETTIME): Set errno on error.
21953 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21954 count references to noai6ai_cached.
21956 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21958 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21960 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21961 FD_CLOEXEC for /proc/self/maps.
21963 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21964 FD_CLOEXEC for /proc/meminfo.
21966 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21969 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21970 FD_CLOEXEC for given file.
21972 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21974 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21975 FD_CLOEXEC for /etc/hosts.
21976 (_gethtent): Likewise.
21978 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21980 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21981 cancellation and set FD_CLOEXEC for /etc/netgroup.
21983 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21984 reading /etc/publickey.
21986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21987 allow cancellation when reading /etc/group.
21989 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21991 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21993 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21994 when using data file.
21996 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21998 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21999 (write_nis_obj): Use "c" and "e" in fopen.
22001 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22003 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22005 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22007 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22009 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22012 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22014 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22016 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22018 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22019 file parsing and set FD_CLOEXEC.
22021 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22023 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22025 2011-11-14 Andreas Schwab <schwab@redhat.com>
22027 * malloc/arena.c (arena_get2): Don't call reused_arena when
22028 _int_new_arena failed.
22030 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22032 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22033 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22034 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22035 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22038 to compile strcasecmp and strncasecmp.
22039 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22040 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22044 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22046 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22047 locale-defines.sym to gen-as-const-headers.
22048 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22049 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22051 to compile strcasecmp and strncasecmp.
22052 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22053 strcasecmp_l and strncasecmp_l.
22054 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22055 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22056 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22057 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22058 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22059 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22060 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22061 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22062 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22063 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22064 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22066 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22068 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22069 result of SYSDEP_GETTIME_CPU to retval.
22070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22071 parameter list to macro. Remove trailing semicolon. Adjust users.
22073 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22076 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22078 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22080 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22081 from unused variable.
22083 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22085 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22088 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22091 * sunrpc/rpc_prot.c (rejected): Fix case value.
22093 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22094 unsigned long long int to avoid warnings in shift.
22096 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22098 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22102 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22103 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22105 * nis/nis_table.c (nis_list): Use variable of correct type for
22106 result of __follow_path call.
22108 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22110 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22111 of math functions ceil, trunc, floor, round, and sqrt, when
22112 avaliable on the platform.
22113 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22115 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22116 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22117 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22119 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22121 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22122 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22124 2011-11-11 Roland McGrath <roland@hack.frob.com>
22126 * include/unistd.h: Fix __readlink return type.
22127 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22129 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22131 * stdlib/ucontext.h: Undo last change for makecontext.
22133 2011-11-11 Andreas Schwab <schwab@redhat.com>
22135 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22137 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22138 * setjmp/setjmp.h: Mark functions as non-leaf.
22139 * setjmp/bits/setjmp2.h: Likewise.
22140 * stdlib/ucontext.h: Likewise.
22142 2011-11-10 Andreas Schwab <schwab@redhat.com>
22144 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22145 (reused_arena): Don't check arena limit.
22146 (arena_get2): Atomically check arena limit.
22148 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22150 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22151 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22156 2011-11-07 Andreas Schwab <schwab@redhat.com>
22158 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22159 handler when locking.
22161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22162 Fix size of allocated buffer.
22164 2011-11-04 Andreas Schwab <schwab@redhat.com>
22167 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22168 declarations for long double functions.
22169 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22171 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22173 2011-11-03 Andreas Schwab <schwab@redhat.com>
22175 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22178 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22181 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22183 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22185 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22187 * include/alloca.h (stackinfo_alloca_round): Define.
22188 (extend_alloca): Use it.
22189 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22190 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22193 * scripts/check-local-headers.sh: Ignore libaudit.h.
22195 * nscd/Makefile (extra-objs): Make recursively expanded.
22197 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22199 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22202 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22203 * posix/tst-rfc3484-2.c: Likewise.
22204 * posix/tst-rfc3484-3.c: Likewise.
22206 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22208 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22210 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22211 process_vm_writev from libc using GLIBC_2.15 version.
22213 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22215 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22217 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22220 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22223 * nss/getent.c (initgroups_keys): Show error message in case no group
22226 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22227 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22228 __bump_nl_timestamp.
22229 * nscd/connections (nscd_init): When host database is served open
22230 netlink socket and request notification about configuration changes.
22231 (main_loop_poll): Track netlink file descriptor and bump timestamp
22232 in case data becomes available.
22233 (main_loop_epoll): Likewise.
22234 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22235 (database_pers_head): Add extra_data fileds.
22236 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22237 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22238 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22241 in6ai data, call __free_in6ai.
22242 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22243 Add -DHAVE_NETLINK.
22244 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22245 interface information. Reuse previous data if netlink timestamp
22247 (__bump_nl_timestamp): New function.
22248 (__free_in6ai): New function.
22250 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22253 close_not_cancel_no_status here.
22254 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22256 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22259 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22262 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22263 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22264 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22266 2011-07-03 Andreas Jaeger <aj@suse.de>
22269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22270 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22271 * math/libm-test.inc (sin_test): Add test case.
22273 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22276 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22277 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22279 * elf/chroot_canon.c (chroot_canon): Cleanups.
22281 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22284 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22285 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22287 * string/test-strchr.c: Make usable for strchrnul testing.
22288 * string/test-strchrnul.c: New file.
22289 * string/Makefile (strop-tests): Add strchrnul.
22291 * po/it.po: Update from translation team.
22292 * po/es.po: Likewise.
22294 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22297 the three constants needed as parameters. Drop the others.
22298 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22299 __m128i_strloadu_tolower.
22300 Create and initialize variable zero and use it in all the places
22301 where _mm_setzero_si128 was used.
22303 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22304 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22305 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22309 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22310 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22311 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22312 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22313 __mpranred, __mptan.
22314 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22315 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22316 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22317 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22318 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22319 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22322 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22324 2011-10-28 Andreas Schwab <schwab@redhat.com>
22326 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22327 redefine if SHARED.
22328 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22331 wide char related routines to wcsmbs subdir.
22333 2011-10-27 Andreas Schwab <schwab@redhat.com>
22336 * misc/sys/cdefs.h (__THROWNL): Define.
22337 * posix/unistd.h: Use __THREADNL instead of __THREAD
22338 for memory synchronization functions.
22340 2011-10-26 Roland McGrath <roland@hack.frob.com>
22343 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22345 * manual/stdio.texi (Obstack Streams): Node removed.
22347 2011-10-26 Andreas Schwab <schwab@redhat.com>
22349 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22351 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22353 * math/math_private.h (math_force_eval): Allow non-addressable
22355 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22360 file is not needed.
22362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22369 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22375 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22376 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22377 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22378 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22379 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22380 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22381 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22382 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22384 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22385 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22386 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22388 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22389 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22391 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22392 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22395 place. Use VEX encoding when compiling for AVX.
22397 2011-10-25 Andreas Schwab <schwab@redhat.com>
22399 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22400 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22402 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22404 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22406 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22407 useless if() expression.
22408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22420 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22421 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22422 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22424 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22428 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22430 2011-10-25 Andreas Schwab <schwab@redhat.com>
22432 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22434 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22438 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22439 .text section. Avoid duplicate constants.
22440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22450 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22452 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22455 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22457 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22464 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22465 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22466 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22467 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22469 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22471 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22472 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22473 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22474 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22475 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22476 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22478 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22479 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22480 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22482 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22483 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22484 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22486 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22488 * sysdeps/x86_64/dla.h: Move to ...
22489 * sysdeps/x86_64/fpu/dla.h: ...here.
22490 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22491 situations. Use __builtin_fma only for gcc 4.6 and up.
22493 * config.make.in: Add have-mfma4 entry.
22494 * configure.in: Substitute libc_cv_cc_fma4.
22495 * math/Makefile (dbl-only-routines): Add sincostab.
22496 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22497 Use __sincostab not sincos.
22498 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22505 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22506 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22507 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22508 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22510 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22511 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22513 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22514 define aliases when function name is a macro.
22515 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22516 sysdeps/ieee754/dbl-64/sincos.tbl.
22517 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22518 fma4-enabled routines.
22519 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22520 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22521 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22526 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22527 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22540 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22542 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22543 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22544 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22548 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22550 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22561 2011-10-24 Andreas Schwab <schwab@redhat.com>
22563 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22565 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22569 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22573 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22574 Remove unused variable magic_bits.
22575 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22577 * string/strnlen.c: Define and use STRNLEN macro.
22578 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22579 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22581 * wcsmbs/wcslen.c: Define and use WCSLEN.
22582 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22583 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22584 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22585 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22586 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22587 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22590 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22593 strnlen-sse2-no-bsf.
22594 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22596 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22597 Add strnlen support.
22598 (USE_AS_STRNLEN): New macro.
22599 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22600 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22601 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22602 * sysdeps/x86_64/wcslen.S: New file.
22604 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22607 XMM-moves are used for copying on small sizes.
22609 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22611 * wcsmbs/Makefile (strop-tests): Add wcschr.
22612 * wcsmbs/test-wcschr.c: New file.
22613 * string/test-strchr.c: Update.
22614 Add wcschr support.
22617 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22619 * wcsmbs/Makefile (strop-tests): Add wcslen.
22620 * wcsmbs/test-wcslen.c: New file.
22621 * string/test-strlen.c: Update.
22622 Add wcslen support.
22625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22627 * po/it.po: Update from translation team.
22629 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22631 * sysdeps/x86_64/wcscmp.S: Update.
22632 Fix wrong comparison semantics.
22633 wcscmp shall use signed comparison not unsigned.
22634 Don't use substraction to avoid overflow bug.
22635 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22636 * wcsmbc/wcscmp.c: Likewise.
22637 * string/test-strcmp.c: Likewise.
22638 Add new tests to check cases with negative values.
22640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22642 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22643 * sysdeps/x86_64/dla.h: ...here. New file.
22644 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22654 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22657 __ynl_finite aliases.
22659 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22663 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22665 [DLA_FMA] (EMULV): Use DLA_FMA.
22666 [DLA_FMA] (MUL12): Use EMULV.
22667 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22668 that are not needed.
22669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22677 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22679 * math/s_nan.c: Undef __nan.
22680 * math/s_nanf.c: Undef __nanf.
22681 * math/s_nanl.c: Undef __nanl.
22682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22685 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22687 * math/s_catan.c: Add branch predictions.
22688 * math/s_catanf.c: Likewise.
22689 * math/s_catanh.c: Likewise.
22690 * math/s_catanhf.c: Likewise.
22691 * math/s_catanhl.c: Likewise.
22692 * math/s_catanl.c: Likewise.
22693 * math/s_cexp.c: Likewise.
22694 * math/s_cexpf.c: Likewise.
22695 * math/s_cexpl.c: Likewise.
22696 * math/s_clog.c: Likewise.
22697 * math/s_clog10.c: Likewise.
22698 * math/s_clog10f.c: Likewise.
22699 * math/s_clog10l.c: Likewise.
22700 * math/s_clogf.c: Likewise.
22701 * math/s_clogl.c: Likewise.
22702 * math/s_csqrt.c: Likewise.
22703 * math/s_csqrtf.c: Likewise.
22704 * math/s_csqrtl.c: Likewise.
22705 * math/s_ctanf.c: Likewise.
22706 * math/s_ctanh.c: Likewise.
22707 * math/s_ctanhf.c: Likewise.
22708 * math/s_ctanhl.c: Likewise.
22709 * math/s_ctanl.c: Likewise.
22711 * math/math_private.h: Define __nan, __nanf, __nanl.
22712 * math/s_cacosh.c: Include <math_private.h>.
22713 * math/s_cacoshl.c: Likewise.
22714 * math/s_casinh.c: Likewise.
22715 * math/s_casinhf.c: Likewise.
22716 * math/s_casinhl.c: Likewise.
22717 * math/s_ccos.c: Rely entire on ccosh.
22718 * math/s_ccosf.c: Rely entire on ccoshf.
22719 * math/s_ccosl.c: Rely entirely on ccoshl.
22720 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22721 Remove tests for FE_INVALID.
22722 * math/s_ccoshf.c: Likewise.
22723 * math/s_ccoshl.c: Likewise.
22724 * math/s_csin.c: Likewise.
22725 * math/s_csinf.c: Likewise.
22726 * math/s_csinh.c Likewise.
22727 * math/s_csinhf.c: Likewise.
22728 * math/s_csinhl.c: Likewise.
22729 * math/s_csinl.c: Likewise.
22730 * math/s_ctan.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22732 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22733 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22735 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22738 compilation problems.
22740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22743 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22745 * sysdeps/i386/configure.in: Test for -mfma4 option.
22746 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22747 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22748 COMMON_CPUID_INDEX_80000001.
22749 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22750 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22751 use it if FMA3 is not supported.
22752 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22754 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22755 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22757 2011-10-20 Andreas Schwab <schwab@redhat.com>
22760 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22761 it would create a cycle with a link time dependency.
22763 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22765 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22767 * string/Makefile (strop-tests): Add rawmemchr.
22768 * string/test-rawmemchr.c: New file.
22770 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22772 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22773 when compiling str{,n}casecmp and when AVX is available. Hook up
22774 new optimized code in initializers.
22776 2011-10-19 Andreas Schwab <schwab@redhat.com>
22778 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22779 __feraiseexcept instead of feraiseexcept.
22781 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22783 * math/math_private.h: Define defaults for libc_fetestexcept and
22785 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22786 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22787 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22789 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22791 libc_fetestexcept and libc_feupdateenv.
22793 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22794 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22795 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22796 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22797 libc_feholdexcept_setround.
22799 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22800 Add s_nearbyint-c and s_nearbyintf-c.
22801 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22802 nearbyintf inlines.
22803 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22804 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22806 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22808 * math/math_private.h: Define defaults for libc_fegetround,
22809 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22810 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22811 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22813 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22814 standard functions.
22815 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22816 Remove comments and hacks for old compiler versions.
22817 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22818 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22819 libc_feholdexceptl.
22821 2011-10-18 Andreas Schwab <schwab@redhat.com>
22823 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22824 (__feraiseexcept_renamed): Add __NTH.
22825 (feraiseexcept): Add __NTH. Rename local variables to fix
22826 namespace violations.
22828 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22830 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22834 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22835 recently added interfaces.
22836 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22838 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22839 about macro parameter expansion.
22841 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22842 __NO_MATH_INLINES is defined. Cleanups.
22844 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22845 and __floorf is target has SSE4.1.
22846 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22847 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22848 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22851 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22853 (floorf): Likewise.
22855 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22857 2011-10-17 Andreas Schwab <schwab@redhat.com>
22859 * misc/sys/cdefs.h: Fix last change.
22861 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22864 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22866 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22868 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22873 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22874 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22875 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22876 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22877 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22878 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22879 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22880 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22881 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22882 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22883 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22884 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22887 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22888 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22891 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22892 ceil, ceilf, floor, floorf.
22894 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22895 Perform IRELATIVE relocations last.
22897 * elf/do-rel.h: Add another parameter nrelative, replacing the
22898 local variable with the same name. Change name of the function
22899 to end in Rel or Rela (uppercase).
22900 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22901 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22902 elf_dynamic_do_##reloc function.
22904 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22906 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22907 is sufficient, at least on modern CPUs.
22909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22911 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22912 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22914 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22916 * math/bits/math-finite.h: Add entries for exp.
22917 * math/e_expl.c: Add __*_finite alias.
22918 * sysdeps/i386/fpu/e_exp.S: Likewise.
22919 * sysdeps/i386/fpu/e_expf.S: Likewise.
22920 * sysdeps/i386/fpu/e_expl.c: Likewise.
22921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22922 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22923 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22925 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22926 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22927 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22929 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22930 is sufficient, at least on modern CPUs.
22932 * ctype/ctype-info.c (__ctype_init): Define.
22933 * include/ctype.h (__ctype_init): Declare.
22934 (__ctype_b_loc): The variable is always initialized.
22935 (__ctype_toupper_loc): Likewise.
22936 (__ctype_tolower_loc): Likewise.
22937 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22938 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22940 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22942 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22944 * configure.in: Also look in $cxxmachine/include for C++ system
22947 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22949 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22950 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22951 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22952 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22954 (USE_AS_WMEMCMP): New macro.
22956 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22957 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22958 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22959 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22961 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22962 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22963 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22964 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22965 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22966 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22967 (USE_AS_WMEMCMP): New macro.
22968 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22969 * sysdeps/string/test-memcmp.c: Update.
22970 Fix simple_wmemcmp.
22972 * wcsmbs/wmemcmp.c: Update.
22973 (WMEMCMP): New macro.
22976 2011-10-12 Andreas Jaeger <aj@suse.de>
22979 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22981 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22983 * libio/iofwide.c (do_length): Avoid warning.
22985 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22987 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22989 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22991 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22992 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22993 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22994 * sysdeps/i386/i686/fpu/e_log.S: New file.
22995 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22996 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22998 * ctype/ctype.h: Add support for inlined isXXX functions when
22999 compiling C++ code.
23001 2011-10-14 Andreas Schwab <schwab@redhat.com>
23003 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23005 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23007 2011-10-13 Roland McGrath <roland@hack.frob.com>
23010 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23012 2011-10-13 Andreas Schwab <schwab@redhat.com>
23014 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23015 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23018 * sysdeps/x86_64/memrchr.S: Check for zero size.
23020 * string/stratcliff.c: Add memrchr tests.
23022 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23025 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23026 rawmemchr-sse2 rawmemchr-sse2-bsf.
23027 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23028 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23029 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23030 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23031 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23032 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23033 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23034 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23035 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23036 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23037 * string/memrchr.c (MEMRCHR): New macro.
23039 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23041 Add integration with gcc's -ffinite-math-only and optimize wrapper
23043 * Versions.def: Define GLIBC_2.15 version for libm.
23044 * math/Makefile (headers): Add bits/math-finite.h.
23045 * math/bits/math-finite.h: New file.
23046 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23047 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23048 * math/e_acoshl.c: Add __*_finite alias.
23049 * math/e_acosl.c: Likewise.
23050 * math/e_asinl.c: Likewise.
23051 * math/e_atan2l.c: Likewise.
23052 * math/e_atanhl.c: Likewise.
23053 * math/e_coshl.c: Likewise.
23054 * math/e_exp10.c: Likewise.
23055 * math/e_exp10f.c: Likewise.
23056 * math/e_exp10l.c: Likewise.
23057 * math/e_exp2l.c: Likewise.
23058 * math/e_fmodl.c: Likewise.
23059 * math/e_gammal_r.c: Likewise.
23060 * math/e_hypotl.c: Likewise.
23061 * math/e_j0l.c: Likewise.
23062 * math/e_j1l.c: Likewise.
23063 * math/e_jnl.c: Likewise.
23064 * math/e_lgammal_r.c: Likewise.
23065 * math/e_log10l.c: Likewise.
23066 * math/e_log2l.c: Likewise.
23067 * math/e_logl.c: Likewise.
23068 * math/e_powl.c: Likewise.
23069 * math/e_sinhl.c: Likewise.
23070 * math/e_sqrtl.c: Likewise.
23071 * math/e_scalb.c: Completely rewritten and optimized.
23072 * math/e_scalbf.c: Likewise.
23073 * math/e_scalbl.c: Likewise.
23074 * math/w_acos.c: Likewise.
23075 * math/w_acosf.c: Likewise.
23076 * math/w_acosl.c: Likewise.
23077 * math/w_acosh.c: Likewise.
23078 * math/w_acoshf.c: Likewise.
23079 * math/w_acoshl.c: Likewise.
23080 * math/w_asin.c: Likewise.
23081 * math/w_asinf.c: Likewise.
23082 * math/w_asinl.c: Likewise.
23083 * math/w_atan2.c: Likewise.
23084 * math/w_atan2f.c: Likewise.
23085 * math/w_atan2l.c: Likewise.
23086 * math/w_atanh.c: Likewise.
23087 * math/w_atanhf.c: Likewise.
23088 * math/w_atanhl.c: Likewise.
23089 * math/w_exp10.c: Likewise.
23090 * math/w_exp10f.c: Likewise.
23091 * math/w_exp10l.c: Likewise.
23092 * math/w_fmod.c: Likewise.
23093 * math/w_fmodf.c: Likewise.
23094 * math/w_fmodl.c: Likewise.
23095 * math/w_j0.c: Likewise.
23096 * math/w_j0f.c: Likewise.
23097 * math/w_j0l.c: Likewise.
23098 * math/w_j1.c: Likewise.
23099 * math/w_j1f.c: Likewise.
23100 * math/w_j1l.c: Likewise.
23101 * math/w_jn.c: Likewise.
23102 * math/w_jnf.c: Likewise.
23103 * math/w_log.c: Likewise.
23104 * math/w_logf.c: Likewise.
23105 * math/w_logl.c: Likewise.
23106 * math/w_log10.c: Likewise.
23107 * math/w_log10f.c: Likewise.
23108 * math/w_log10l.c: Likewise.
23109 * math/w_log2.c: Likewise.
23110 * math/w_log2f.c: Likewise.
23111 * math/w_log2l.c: Likewise.
23112 * math/w_pow.c: Likewise.
23113 * math/w_powf.c: Likewise.
23114 * math/w_powl.c: Likewise.
23115 * math/w_remainder.c: Likewise.
23116 * math/w_remainderf.c: Likewise.
23117 * math/w_remainderl.c: Likewise.
23118 * math/w_scalb.c: Likewise.
23119 * math/w_scalbf.c: Likewise.
23120 * math/w_scalbl.c: Likewise.
23121 * math/w_sqrt.c: Likewise.
23122 * math/w_sqrtf.c: Likewise.
23123 * math/w_sqrtl.c: Likewise.
23124 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23125 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23127 * math/math_private.h: Declare __kernel_standard_f.
23128 * math/w_cosh.c: Remove cruft and optimize a bit.
23129 * math/w_coshf.c: Likewise.
23130 * math/w_coshl.c: Likewise.
23131 * math/w_exp2.c: Likewise.
23132 * math/w_exp2f.c: Likewise.
23133 * math/w_exp2l.c: Likewise.
23134 * math/w_hypot.c: Likewise.
23135 * math/w_hypotf.c: Likewise.
23136 * math/w_hypotl.c: Likewise.
23137 * math/w_lgamma.c: Likewise.
23138 * math/w_lgamma_r.c: Likewise.
23139 * math/w_lgammaf.c: Likewise.
23140 * math/w_lgammaf_r.c: Likewise.
23141 * math/w_lgammal.c: Likewise.
23142 * math/w_lgammal_r.c: Likewise.
23143 * math/w_sinh.c: Likewise.
23144 * math/w_sinhf.c: Likewise.
23145 * math/w_sinhl.c: Likewise.
23146 * math/w_tgamma.c: Likewise.
23147 * math/w_tgammaf.c: Likewise.
23148 * math/w_tgammal.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23151 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23152 Minor optimizations. Pretty printing. Remove cruft.
23153 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23154 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23157 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23158 * sysdeps/i386/fpu/e_asin.S: Likewise.
23159 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23160 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23161 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23162 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23164 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23165 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23166 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23167 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23168 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23169 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23170 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23171 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23172 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23173 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23174 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23175 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23176 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23177 * sysdeps/i386/fpu/e_log.S: Likewise.
23178 * sysdeps/i386/fpu/e_log10.S: Likewise.
23179 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23180 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23181 * sysdeps/i386/fpu/e_log2.S: Likewise.
23182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23183 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23184 * sysdeps/i386/fpu/e_logf.S: Likewise.
23185 * sysdeps/i386/fpu/e_logl.S: Likewise.
23186 * sysdeps/i386/fpu/e_pow.S: Likewise.
23187 * sysdeps/i386/fpu/e_powf.S: Likewise.
23188 * sysdeps/i386/fpu/e_powl.S: Likewise.
23189 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23190 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23191 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23195 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23196 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23197 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23219 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23222 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23223 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23224 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23225 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23226 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23236 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23238 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23239 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23240 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23243 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23244 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23245 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23246 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23253 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23279 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23280 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23281 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23282 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23283 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23284 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23285 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23286 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23288 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23291 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23293 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23294 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23295 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23296 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23297 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23298 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23299 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23300 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23301 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23302 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23304 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23305 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23306 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23307 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23308 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23309 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23310 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23311 (__isnanf): Likewise.
23312 (__isinf_ns): Likewise.
23313 (__isinf_nsf): Likewise.
23314 (__finite): Likewise.
23315 (__finitef): Likewise.
23316 (__ieee754_sqrt): Define as macro.
23317 (__ieee754_sqrtf): Define as macro.
23318 (__ieee754_sqrtl): Define as macro.
23319 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23321 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23322 __FINITE_MATH_ONLY__ consistent.
23323 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23325 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23327 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23330 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23332 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23334 * po/ja.po: Update from translation team.
23336 2011-10-08 Roland McGrath <roland@hack.frob.com>
23338 * locale/programs/locarchive.c (prepare_address_space): New function.
23339 (create_archive, enlarge_archive, open_archive): Use it.
23341 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23342 inside [SHARED], where it is used.
23344 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23346 * nss/getent.c (netgroup_keys): Remove unused variable.
23347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23349 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23351 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23355 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23356 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23357 * math/Makefile (libm-calls): Add s_isinf_ns.
23358 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23359 * math/multc3.c: Likewise.
23360 * math/s_casin.c: Likewise.
23361 * math/s_casinf.c: Likewise.
23362 * math/s_casinl.c: Likewise.
23363 * math/s_ccos.c: Likewise.
23364 * math/s_ccosf.c: Likewise.
23365 * math/s_ccosl.c: Likewise.
23366 * math/s_ctan.c: Likewise.
23367 * math/s_ctanf.c: Likewise.
23368 * math/s_ctanh.c: Likewise.
23369 * math/s_ctanhf.c: Likewise.
23370 * math/s_ctanhl.c: Likewise.
23371 * math/s_ctanl.c: Likewise.
23372 * math/w_fmod.c: Likewise.
23373 * math/w_fmodf.c: Likewise.
23374 * math/w_fmodl.c: Likewise.
23375 * math/w_remainder.c: Likewise.
23376 * math/w_remainderf.c: Likewise.
23377 * math/w_remainderl.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23379 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23382 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23383 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23384 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23385 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23387 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23389 * stdio-common/printf_fphex.c: Likewise.
23390 * stdio-common/printf_size.c: Likewise.
23392 * math/e_exp10.c: Include math_private.h using <...> not "...".
23393 * math/e_exp10f.c: Likewise.
23394 * math/e_exp10l.c: Likewise.
23395 * math/e_exp2l.c: Likewise.
23396 * math/e_j0l.c: Likewise.
23397 * math/e_j1l.c: Likewise.
23398 * math/e_jnl.c: Likewise.
23399 * math/e_lgammal_r.c: Likewise.
23400 * math/e_rem_pio2l.c: Likewise.
23401 * math/e_scalb.c: Likewise.
23402 * math/e_scalbf.c: Likewise.
23403 * math/e_scalbl.c: Likewise.
23404 * math/k_cosl.c: Likewise.
23405 * math/k_sinl.c: Likewise.
23406 * math/k_tanl.c: Likewise.
23407 * math/s_cacoshf.c: Likewise.
23408 * math/s_catan.c: Likewise.
23409 * math/s_catanf.c: Likewise.
23410 * math/s_catanh.c: Likewise.
23411 * math/s_catanhf.c: Likewise.
23412 * math/s_catanhl.c: Likewise.
23413 * math/s_catanl.c: Likewise.
23414 * math/s_ccosh.c: Likewise.
23415 * math/s_ccoshf.c: Likewise.
23416 * math/s_ccoshl.c: Likewise.
23417 * math/s_cexp.c: Likewise.
23418 * math/s_cexpf.c: Likewise.
23419 * math/s_cexpl.c: Likewise.
23420 * math/s_clog.c: Likewise.
23421 * math/s_clog10.c: Likewise.
23422 * math/s_clog10f.c: Likewise.
23423 * math/s_clog10l.c: Likewise.
23424 * math/s_clogf.c: Likewise.
23425 * math/s_clogl.c: Likewise.
23426 * math/s_csin.c: Likewise.
23427 * math/s_csinf.c: Likewise.
23428 * math/s_csinh.c: Likewise.
23429 * math/s_csinhf.c: Likewise.
23430 * math/s_csinhl.c: Likewise.
23431 * math/s_csinl.c: Likewise.
23432 * math/s_csqrt.c: Likewise.
23433 * math/s_csqrtf.c: Likewise.
23434 * math/s_csqrtl.c: Likewise.
23435 * math/s_ctan.c: Likewise.
23436 * math/s_ctanf.c: Likewise.
23437 * math/s_ctanh.c: Likewise.
23438 * math/s_ctanhf.c: Likewise.
23439 * math/s_ctanhl.c: Likewise.
23440 * math/s_ctanl.c: Likewise.
23441 * math/s_ldexp.c: Likewise.
23442 * math/s_ldexpf.c: Likewise.
23443 * math/s_ldexpl.c: Likewise.
23444 * math/s_significand.c: Likewise.
23445 * math/s_significandf.c: Likewise.
23446 * math/s_significandl.c: Likewise.
23447 * math/w_acos.c: Likewise.
23448 * math/w_acosf.c: Likewise.
23449 * math/w_acosh.c: Likewise.
23450 * math/w_acoshf.c: Likewise.
23451 * math/w_acoshl.c: Likewise.
23452 * math/w_acosl.c: Likewise.
23453 * math/w_asin.c: Likewise.
23454 * math/w_asinf.c: Likewise.
23455 * math/w_asinl.c: Likewise.
23456 * math/w_atan2.c: Likewise.
23457 * math/w_atan2f.c: Likewise.
23458 * math/w_atan2l.c: Likewise.
23459 * math/w_atanh.c: Likewise.
23460 * math/w_atanhf.c: Likewise.
23461 * math/w_atanhl.c: Likewise.
23462 * math/w_cosh.c: Likewise.
23463 * math/w_coshf.c: Likewise.
23464 * math/w_coshl.c: Likewise.
23465 * math/w_dremf.c: Likewise.
23466 * math/w_exp10.c: Likewise.
23467 * math/w_exp10f.c: Likewise.
23468 * math/w_exp10l.c: Likewise.
23469 * math/w_exp2.c: Likewise.
23470 * math/w_exp2f.c: Likewise.
23471 * math/w_fmod.c: Likewise.
23472 * math/w_fmodf.c: Likewise.
23473 * math/w_fmodl.c: Likewise.
23474 * math/w_hypot.c: Likewise.
23475 * math/w_hypotf.c: Likewise.
23476 * math/w_hypotl.c: Likewise.
23477 * math/w_j0.c: Likewise.
23478 * math/w_j0f.c: Likewise.
23479 * math/w_j0l.c: Likewise.
23480 * math/w_j1.c: Likewise.
23481 * math/w_j1f.c: Likewise.
23482 * math/w_j1l.c: Likewise.
23483 * math/w_jn.c: Likewise.
23484 * math/w_jnf.c: Likewise.
23485 * math/w_jnl.c: Likewise.
23486 * math/w_lgamma.c: Likewise.
23487 * math/w_lgamma_r.c: Likewise.
23488 * math/w_lgammaf.c: Likewise.
23489 * math/w_lgammaf_r.c: Likewise.
23490 * math/w_lgammal.c: Likewise.
23491 * math/w_lgammal_r.c: Likewise.
23492 * math/w_log.c: Likewise.
23493 * math/w_log10.c: Likewise.
23494 * math/w_log10f.c: Likewise.
23495 * math/w_log10l.c: Likewise.
23496 * math/w_log2.c: Likewise.
23497 * math/w_log2f.c: Likewise.
23498 * math/w_log2l.c: Likewise.
23499 * math/w_logf.c: Likewise.
23500 * math/w_logl.c: Likewise.
23501 * math/w_pow.c: Likewise.
23502 * math/w_powf.c: Likewise.
23503 * math/w_powl.c: Likewise.
23504 * math/w_remainder.c: Likewise.
23505 * math/w_remainderf.c: Likewise.
23506 * math/w_remainderl.c: Likewise.
23507 * math/w_scalb.c: Likewise.
23508 * math/w_scalbf.c: Likewise.
23509 * math/w_scalbl.c: Likewise.
23510 * math/w_sinh.c: Likewise.
23511 * math/w_sinhf.c: Likewise.
23512 * math/w_sinhl.c: Likewise.
23513 * math/w_sqrt.c: Likewise.
23514 * math/w_sqrtf.c: Likewise.
23515 * math/w_sqrtl.c: Likewise.
23516 * math/w_tgamma.c: Likewise.
23517 * math/w_tgammaf.c: Likewise.
23518 * math/w_tgammal.c: Likewise.
23520 * po/ja.po: Update from translation team.
23522 2011-09-29 Andreas Jaeger <aj@suse.de>
23525 * sunrpc/netname.c (netname2host): Fix logic.
23529 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23531 * math/w_remainder.c (__remainder): Likewise.
23532 * math/w_remainderf.c (__remainderf): Likewise.
23533 * math/libm-test.inc (remainder_test): Add test cases.
23535 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23537 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23542 * string/test-memcmp.c: Avoid unncessary #defines.
23543 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23545 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23547 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23548 Use new sse2 version for core i3 - i7 as it's faster
23549 than sse42 version.
23550 (bit_Prefer_PMINUB_for_stringop): New.
23551 * sysdeps/x86_64/rawmemchr.S: Update.
23552 Replace with faster SSE2 version.
23553 * sysdeps/x86_64/memrchr.S: New file.
23554 * sysdeps/x86_64/memchr.S: Update.
23555 Replace with faster SSE2 version.
23557 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23559 * elf/dl-load.c (lose): Add cast to avoid warning.
23561 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23563 * po/ca.po: Update from translation team.
23565 * inet/getnetgrent_r.c: Hook up nscd.
23566 * nscd/Makefile (routines): Add nscd_netgroup.
23567 (nscd-modules): Add netgroupcache.
23568 (CFLAGS-netgroupcache.c): Define.
23569 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23570 (cache_search): Add const to second parameter.
23571 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23573 (dbs): Add netgrdb entry.
23574 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23575 (verify_persistent_db): Handle netgrdb.
23576 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23577 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23579 (netgroup_response_header): Define.
23580 (innetgroup_response_header): Define.
23581 (datahead): Add netgroup_response_header and innetgroup_response_header
23583 * nscd/nscd.conf: Add entries for netgroup cache.
23584 * nscd/nscd.h (dbtype): Add netgrdb.
23585 (_PATH_NSCD_NETGROUP_DB): Define.
23586 (netgroup_iov_disabled): Declare.
23587 (xmalloc, xcalloc, xrealloc): Move declarations here.
23588 (cache_search): Adjust prototype.
23589 Add netgroup-related prototypes.
23590 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23591 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23592 (__nscd_innetgr): Declare.
23593 * nscd/selinux.c (perms): Use access_vector_t as element type and
23594 add netgroup-related initializers.
23595 * nscd/netgroupcache.c: New file.
23596 * nscd/nscd_netgroup.c: New file.
23597 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23598 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23599 For four parameters use innetgr.
23600 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23601 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23602 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23603 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23605 * nscd/connections.c (register_traced_file): Don't register file
23606 for disabled databases.
23608 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23610 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23612 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23613 from tree and freeing node.
23615 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23617 * nss/nsswitch.c (__nss_database_lookup): Handle
23618 nss_parse_service_list out of memory case.
23620 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23622 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23623 out of memory case.
23625 2011-10-04 Andreas Schwab <schwab@redhat.com>
23627 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23628 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23630 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23631 elf_machine_rela, elf_machine_lazy_rel.
23632 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23633 (ELF_DYNAMIC_DO_REL): Likewise.
23634 (ELF_DYNAMIC_DO_RELA): Likewise.
23635 (ELF_DYNAMIC_RELOCATE): Likewise.
23636 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23637 to ELF_DYNAMIC_DO_REL.
23638 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23639 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23640 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23643 skip_ifunc, don't call ifunc function if non-zero.
23644 (elf_machine_rela): Likewise.
23645 (elf_machine_lazy_rel): Likewise.
23646 (elf_machine_lazy_rela): Likewise.
23647 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23648 (elf_machine_lazy_rel): Likewise.
23649 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23651 (elf_machine_lazy_rel): Likewise.
23652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23654 (elf_machine_lazy_rel): Likewise.
23655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23656 (elf_machine_lazy_rel): Likewise.
23657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23658 (elf_machine_lazy_rel): Likewise.
23659 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23660 (elf_machine_lazy_rel): Likewise.
23661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23662 (elf_machine_lazy_rel): Likewise.
23663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23664 (elf_machine_lazy_rel): Likewise.
23665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23666 (elf_machine_lazy_rel): Likewise.
23668 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23670 * nss/nss_files/files-init.c (_nss_files_init): Use static
23671 initialization for all the *_traced_file variables.
23673 2011-09-28 Andreas Schwab <schwab@redhat.com>
23675 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23677 2011-09-27 Roland McGrath <roland@hack.frob.com>
23680 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23682 2011-09-27 Andreas Schwab <schwab@redhat.com>
23684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23685 Reread the line before reparsing it.
23687 2011-09-26 Andreas Schwab <schwab@redhat.com>
23689 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23691 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23692 Maxim Kuvyrkov <maxim@codesourcery.com>
23693 Joseph Myers <joseph@codesourcery.com>
23695 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23696 if needed for __stack_chk_guard.
23698 2011-09-19 Roland McGrath <roland@hack.frob.com>
23700 * sysdeps/posix/spawni.c (script_execute): Always define it.
23701 It will be optimized away if unused.
23702 (maybe_script_execute): New function.
23703 (__spawni): Call it.
23705 * Makerules: Don't include tls.make.
23706 (config-tls): Always set to thread.
23707 * tls.make.c: File removed.
23709 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23711 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23712 * config.make.in (CPPFLAGS-config): New substituted variable.
23714 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23719 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23720 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23722 2011-09-15 Roland McGrath <roland@hack.frob.com>
23724 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23725 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23727 (CALL_FAIL): Likewise.
23728 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23729 (CALL_FAIL): Macro removed.
23730 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23732 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23734 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23735 for __FINITE_MATH_ONLY__ == 1.
23737 2011-09-15 Andreas Schwab <schwab@redhat.com>
23739 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23740 __ieee754_sqrt instead of sqrt.
23741 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23742 __ieee754_sqrtf instead of sqrtf.
23743 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23744 __floorf instead of floorf.
23745 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23746 __floorf, __truncf instead of floorf, truncf.
23748 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23750 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23752 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23753 __extern_always_inline.
23754 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23757 2011-09-14 Andreas Schwab <schwab@redhat.com>
23759 * elf/rtld.c (dl_main): Also relocate in dependency order when
23760 doing symbol dependency testing.
23762 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23765 Always define `refsym'.
23767 2011-09-13 Andreas Schwab <schwab@redhat.com>
23769 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23770 (__FD_ELT): Renamed from __FDELT.
23771 * misc/bits/select2.h (__FD_ELT): Likewise.
23772 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23773 __FD_MASK instead of __FDELT, __FDMASK.
23774 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23776 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23779 * elf/Makefile (gen-ldd): Fix pattern.
23781 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23782 (init_tls): Likewise.
23784 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23788 2011-09-12 Andreas Schwab <schwab@redhat.com>
23790 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23791 `struct cmsghdr *' instead of `void *'.
23792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23795 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23797 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23799 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23800 ldd_rewrite_script.
23802 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23804 * configure.in: Remove --with-tls option.
23805 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23806 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23807 out in case it is missing.
23808 * sysdeps/ia64/elf/configure.in: Likewise.
23809 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23810 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23811 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23812 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23813 * sysdeps/sh/elf/configure.in: Likewise.
23814 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23815 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23816 * sysdeps/x86_64/elf/configure.in: Likewise.
23817 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23818 * sysdeps/mach/hurd/tls.h: Likewise.
23821 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23824 * configure.in: Fix use of AC_INIT.
23826 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23828 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23830 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23832 * malloc/hooks.c: Likewise.
23835 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23836 variables statically.
23837 (narenas): Initialize.
23838 (list_lock): Initialize.
23839 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23840 initializtion of main_arena and list_lock. Small cleanups.
23841 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23842 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23843 Add initializers to main_arena and mp_.
23844 (malloc_state): Remove pagesize member. Change all users to use
23847 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23848 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23849 is always initialized.
23851 * malloc/malloc.c: Removed unused configurations and dead code.
23852 * malloc/arena.c: Likewise.
23853 * malloc/hooks.c: Likewise.
23854 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23856 * include/tls.h: Removed. USE___THREAD must always be defined.
23857 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23858 * elf/dl-libc.c: Likewise.
23859 * elf/dl-tsd.c: Likewise.
23860 * include/errno.h: Likewise.
23861 * include/netdb.h: Likewise.
23862 * include/resolv.h: Likewise.
23863 * inet/herrno-loc.c: Likewise.
23864 * inet/herrno.c: Likewise.
23865 * malloc/arena.c: Likewise.
23866 * malloc/hooks.c: Likewise.
23867 * malloc/malloc.c: Likewise.
23868 * resolv/res-state.c: Likewise.
23869 * resolv/res_libc.c: Likewise.
23870 * sysdeps/i386/dl-machine.h: Likewise.
23871 * sysdeps/ia64/dl-machine.h: Likewise.
23872 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23873 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23874 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23875 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23876 * sysdeps/sh/dl-machine.h: Likewise.
23877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23879 * sysdeps/unix/i386/sysdep.S: Likewise.
23880 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23881 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23886 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23890 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23891 * sysdeps/x86_64/dl-machine.h: Likewise.
23892 * tls.make.c: Likewise.
23894 * configure.in: Remove --with-__thread option. Make tests for
23895 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23896 tls_model attribute fail if no support is available. Remove
23898 * Makeconfig: Adjust for dropped configure option. All features are
23900 * Makerules: Likewise.
23901 * Versions.def: Likewise.
23902 * argp/argp-fmtstream.c: Likewise.
23903 * argp/argp-fmtstream.h: Likewise.
23904 * argp/argp-help.c: Likewise.
23905 * assert/assert.c: Likewise.
23906 * config.h.in: Likewise.
23907 * config.make.in: Likewise.
23908 * configure: Likewise.
23909 * configure.in: Likewise.
23910 * csu/Versions: Likewise.
23911 * csu/init.c: Likewise.
23912 * elf/tst-audit2.c: Likewise.
23913 * elf/tst-tls10.c: Likewise.
23914 * elf/tst-tls10.h: Likewise.
23915 * elf/tst-tls11.c: Likewise.
23916 * elf/tst-tls12.c: Likewise.
23917 * elf/tst-tls14.c: Likewise.
23918 * elf/tst-tlsmod11.c: Likewise.
23919 * elf/tst-tlsmod12.c: Likewise.
23920 * elf/tst-tlsmod13.c: Likewise.
23921 * elf/tst-tlsmod13a.c: Likewise.
23922 * elf/tst-tlsmod14a.c: Likewise.
23923 * elf/tst-tlsmod15b.c: Likewise.
23924 * elf/tst-tlsmod16a.c: Likewise.
23925 * elf/tst-tlsmod16b.c: Likewise.
23926 * elf/tst-tlsmod7.c: Likewise.
23927 * elf/tst-tlsmod8.c: Likewise.
23928 * elf/tst-tlsmod9.c: Likewise.
23929 * gmon/gmon.c: Likewise.
23930 * grp/fgetgrent_r.c: Likewise.
23931 * grp/putgrent.c: Likewise.
23932 * hurd/fopenport.c: Likewise.
23933 * include/libc-symbols.h: Likewise.
23934 * include/tls.h: Likewise.
23935 * intl/gettextP.h: Likewise.
23936 * intl/loadinfo.h: Likewise.
23937 * locale/global-locale.c: Likewise.
23938 * locale/localeinfo.h: Likewise.
23939 * mach/devstream.c: Likewise.
23940 * malloc/arena.c: Likewise.
23941 * malloc/set-freeres.c: Likewise.
23942 * misc/err.c: Likewise.
23943 * misc/getttyent.c: Likewise.
23944 * misc/mntent_r.c: Likewise.
23945 * posix/getopt.c: Likewise.
23946 * posix/wordexp.c: Likewise.
23947 * pwd/fgetpwent_r.c: Likewise.
23948 * resolv/Versions: Likewise.
23949 * resolv/res_hconf.c: Likewise.
23950 * shadow/fgetspent_r.c: Likewise.
23951 * shadow/putspent.c: Likewise.
23952 * stdio-common/printf_fphex.c: Likewise.
23953 * stdio-common/tmpfile.c: Likewise.
23954 * stdlib/abort.c: Likewise.
23955 * stdlib/fmtmsg.c: Likewise.
23956 * sunrpc/auth_unix.c: Likewise.
23957 * sunrpc/clnt_perr.c: Likewise.
23958 * sunrpc/clnt_tcp.c: Likewise.
23959 * sunrpc/clnt_udp.c: Likewise.
23960 * sunrpc/clnt_unix.c: Likewise.
23961 * sunrpc/openchild.c: Likewise.
23962 * sunrpc/svc_simple.c: Likewise.
23963 * sunrpc/svc_tcp.c: Likewise.
23964 * sunrpc/svc_udp.c: Likewise.
23965 * sunrpc/svc_unix.c: Likewise.
23966 * sunrpc/xdr.c: Likewise.
23967 * sunrpc/xdr_array.c: Likewise.
23968 * sunrpc/xdr_rec.c: Likewise.
23969 * sunrpc/xdr_ref.c: Likewise.
23970 * sunrpc/xdr_stdio.c: Likewise.
23972 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23974 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23976 2011-07-03 Andreas Jaeger <aj@suse.de>
23978 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23979 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23980 regenerate with gen-libm-tests.pl.
23982 2010-05-12 Petr Baudis <pasky@suse.cz>
23985 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23986 around j0() zero points by switching to j1().
23987 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23992 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23994 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23996 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23999 Patch in part by Pavel Roskin <proski@gnu.org>.
24002 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24004 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24005 Free memory block if necessary.
24008 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24009 be NULL. Don't lock in this case.
24011 2011-09-09 Roland McGrath <roland@hack.frob.com>
24013 * elf/elf.h (ELFOSABI_GNU): New macro.
24014 (ELFOSABI_LINUX): Define to that.
24016 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24018 * string/strncat.c (strncat): Undef the symbol in case it has been
24019 defined in bits/string.h.
24021 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24023 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24025 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24028 2011-08-17 Andreas Jaeger <aj@suse.de>
24030 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24032 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24033 Ian Lance Taylor <iant@google.com>
24035 * math/libm-test.inc (lround_test): New testcase.
24036 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24038 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24040 * Makefile: Remove support for automatic cvs check-ins.
24041 * Makerules: Likewise.
24042 * config.make.in: Likewise.
24043 * configure.in: Likewise.
24044 * intl/Makefile: Likewise.
24045 * locale/Makefile: Likewise.
24046 * po/Makefile: Likewise.
24047 * posix/Makefile: Likewise.
24048 * sysdeps/gnu/Makefile: Likewise.
24049 * sysdeps/mach/hurd/Makefile: Likewise.
24050 * sysdeps/sparc/sparc32/Makefile: Likewise.
24053 * posix/Makefile (bug-regex32-ENV): Define.
24054 Patch by John Stanley <jpsinthemix@verizon.net>.
24056 * misc/Makefile (headers): Add bits/select2.h.
24057 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24058 * misc/bits/select2.h: New file.
24059 * include/bits/select2.h: New file.
24060 * debug/Makefile (routines): Add fdelt_chk.
24061 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24062 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24064 * debug/fdelt_chk.c: New file.
24066 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24067 * wcsmbs/test-wmemcmp.c: Likewise.
24068 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24069 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24071 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24073 * string/Makefile (strop-tests): Add memcmp.
24074 * string/test-wmemcmp.c: New file.
24075 * string/test-memcmp.c: Add wmemcmp support.
24077 2011-09-08 Roland McGrath <roland@hack.frob.com>
24080 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24083 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24084 garbage value in a __mach_port_mod_refs call in the cases of the
24085 task-self and thread-self ports.
24087 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24089 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24091 2011-09-08 Andreas Schwab <schwab@redhat.com>
24093 * elf/dl-load.c (lose): Check for non-null L.
24095 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24097 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24099 * elf/dl-libc.c (dlerror_run): Pass back error code from
24103 * elf/dl-load.c (lose): Free l_origin if it is valid.
24105 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24107 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24108 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24109 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24110 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24111 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24112 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24114 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24116 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24117 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24118 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24119 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24120 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24121 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24122 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24123 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24124 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24125 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24127 2011-08-15 Alan Modra <amodra@gmail.com>
24130 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24131 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24132 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24133 ppc_mcount to static-only-routines.
24134 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24136 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24137 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24139 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24141 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24142 for finite and infinity parameters.
24144 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24147 and add nop instructions for throughput optimization.
24148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24150 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24153 aligned copy for power7 with vector-scalar instructions.
24154 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24156 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24161 2011-09-07 Andreas Schwab <schwab@redhat.com>
24164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24167 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24170 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24171 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24175 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24178 Forgot to demangle the pointer.
24180 * sysdeps/i386/sysdep.h: Define atom_text_section.
24181 * sysdeps/x86_64/sysdep.h: Likewise.
24182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24183 section with atom_text_section.
24184 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24186 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24188 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24191 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24192 already be defined. Change to take two parameters and don't assign
24193 result to variable. Adjust all users.
24194 Define INTERNAL_GETTIME if not already defined.
24195 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24198 HAVE_CLOCK_GETTIME_VSYSCALL.
24199 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24202 gettimeofday vsyscall, just use time.
24204 2011-09-06 Andreas Schwab <schwab@redhat.com>
24206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24209 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24211 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24215 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24217 syscall if possible.
24219 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24221 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24222 e_ident. Don't pass to find_mapsXX.
24223 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24225 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24228 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24229 * sysdeps/x86_64/multiarch/strchr.S: Update.
24230 Check bit_slow_BSF bit.
24231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24232 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24235 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24238 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24240 (tryshell): Define.
24241 (__spawni): Change last parameter to be flag. Test
24242 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24243 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24244 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24245 * posix/spawni.c: Likewise.
24246 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24247 * posix/spawnp.c: Likewise. Change normal version to use
24248 SPAWN_XFLAGS_USE_PATH.
24249 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24250 SPAWN_XFLAGS_TRY_SHELL.
24253 * posix/glob.h: Remove gcc 1.x support.
24256 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24258 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24261 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24263 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24264 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24265 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24266 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24267 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24268 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24270 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24272 * sysdeps/x86_64/wcscmp.S: New file.
24274 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24275 wcscmp-c wcscmp-sse2
24276 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24277 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24279 * wcsmbs/wcscmp.c: Allow renaming.
24281 2011-09-05 David S. Miller <davem@davemloft.net>
24283 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24284 stack slot, rather than the struct return pointer slot.
24285 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24286 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24288 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24290 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24292 * po/ja.po: Update from translation team.
24295 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24296 kernel in 64-bit binaries.
24298 2011-09-01 David S. Miller <davem@davemloft.net>
24300 * elf/elf.h (HWCAP_SPARC_*): Move to..
24301 * sysdeps/sparc/sysdep.h: this new file and add new values.
24302 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24303 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24304 _DL_HWCAP_COUNT to 24.
24305 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24307 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24308 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24309 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24311 instead of magic constants.
24312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24314 2011-08-31 David S. Miller <davem@davemloft.net>
24316 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24318 Reimplement to do errno handling inline.
24319 (SYSCALL_ERROR_HANDLER): New macro.
24320 (__SYSCALL_STRING): Do not do errno handling in asm.
24321 (__CLONE_SYSCALL_STRING): Delete.
24322 (__INTERNAL_SYSCALL_STRING): Delete.
24323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24324 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24325 (PSEUDO): Reimplement to do errno handling inline.
24326 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24327 (SYSCALL_ERROR_HANDLER): New macro.
24328 (__SYSCALL_STRING): Do not do errno handling in asm.
24329 (__CLONE_SYSCALL_STRING): Delete.
24330 (__INTERNAL_SYSCALL_STRING): Delete.
24331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24332 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24334 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24335 (inline_syscall*): Add 'err' argument.
24336 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24337 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24338 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24339 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24341 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24342 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24344 2011-08-30 Andreas Schwab <schwab@redhat.com>
24346 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24348 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24350 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24353 2011-08-24 David S. Miller <davem@davemloft.net>
24355 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24357 2011-08-24 Andreas Schwab <schwab@redhat.com>
24359 * elf/Makefile: Add rules to build and run unload8 test.
24360 * elf/unload8.c: New file.
24361 * elf/unload8mod1.c: New file.
24362 * elf/unload8mod1x.c: New file.
24363 * elf/unload8mod2.c: New file.
24364 * elf/unload8mod3.c: New file.
24366 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24369 2011-08-23 David S. Miller <davem@davemloft.net>
24371 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24372 subtract stack bias.
24373 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24374 %sp not %fp in calculations.
24375 (_JMPBUF_UNWINDS_ADJ): Likewise.
24377 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24378 (aio_suspend): Call it to force an exception region around the
24379 AIO_MISC_WAIT() invocation.
24381 2011-08-23 Andreas Schwab <schwab@redhat.com>
24383 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24386 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24388 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24390 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24391 and <dl-machine.h>.
24392 (Elf64_FuncDesc): Remove.
24394 2011-08-22 David S. Miller <davem@davemloft.net>
24396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24397 sigaltstack check, add missing cfi directives.
24398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24399 missing cfi directives, and sigaltstack handling.
24401 2011-08-16 Andreas Schwab <schwab@redhat.com>
24404 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24405 object is seen twice.
24406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24408 * elf/Makefile (distribute): Add tst-initorder2.c.
24409 (tests): Add tst-initorder2.
24410 (modules-names): Add tst-initorder2a tst-initorder2b
24411 tst-initorder2c tst-initorder2d. Add rules to build them.
24412 ($(objpfx)tst-initorder2.out): New rule.
24413 * elf/tst-initorder2.c: New file.
24414 * elf/tst-initorder2.exp: New file.
24416 2011-08-22 Andreas Schwab <schwab@redhat.com>
24418 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24420 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24421 dependencies back to end of function.
24423 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24424 $(elfobjdir)/ld.so.
24426 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24429 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24431 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24432 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24433 of __vdso_gettimeofday.
24434 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24435 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24437 (_libc_vdso_platform_setup): Remove initialization of
24438 __vdso_gettimeofday and __vdso_time.
24440 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24442 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24443 and fgetc_unlocked.
24444 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24447 * elf/dl-open.c (add_to_global): Report additions to the global scope
24448 for LD_DEBUG=scopes.
24449 (dl_open_worker): Also print scope of newly loaded dependencies.
24450 (_dl_show_scope): Indicate if there is no scope.
24453 * stdio-common/Makefile (tests): Add bug24.
24454 * stdio-common/bug24.c: New file.
24456 2011-08-19 Andreas Jaeger <aj@suse.de>
24459 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24460 non-existant file when using close-on-exec mode.
24462 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24465 the very first instruction.
24467 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24468 the CFI state in the end.
24469 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24470 inclusion of dl-trampoline.h.
24471 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24473 2011-08-19 Andreas Schwab <schwab@redhat.com>
24475 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24476 expectations for long double.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24479 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24481 2011-08-14 David S. Miller <davem@davemloft.net>
24483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24484 artificual limit depends upon the system page size.
24486 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24488 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24489 * resolv/Makefile: Define CFLAGS-libresolv.
24491 2011-08-17 Andreas Schwab <schwab@redhat.com>
24493 * nss/makedb.c (compute_tables): Make variables used in nested
24496 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24498 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24499 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24500 if buffer was too small.
24502 * elf/pldd.c (main): Attach to all threads in the process.
24503 Rewrite /proc handling to use *at functions.
24505 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24507 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24508 specifies first scope to show.
24509 (dl_open_worker): Update callers. Move printing scope of new
24510 object to before the relocation.
24511 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24512 * sysdeps/generic/ldsodefs.h: Update declaration.
24514 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24515 string for the scope number.
24517 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24519 * nscd/servicescache.c (cache_addserv): Make sure written is always
24522 2011-08-14 Roland McGrath <roland@hack.frob.com>
24524 * sysdeps/i386/i486/bits/atomic.h
24525 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24526 statement expression, so as to suppress "set but not used" warning.
24527 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24529 * string/strncat.c (STRNCAT): Use prototype definition.
24531 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24532 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24534 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24535 (localedef-modules): Add localedef.
24536 (locale-modules): Add locale.
24538 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24539 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24540 to avoid a warning.
24542 2011-08-14 David S. Miller <davem@davemloft.net>
24544 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24545 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24547 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24549 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24550 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24551 * elf/rtld.c (dl_main): Set l_name of vDSO.
24552 Call _dl_show_scope when DL_DEBUG_SCOPES.
24553 (process_dl_debug): Recognize scopes flag and also set it for all.
24554 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24555 Declare _dl_show_scope.
24557 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24558 (do_dlopen): Pass caller_dlopen to dl_open.
24559 (__libc_dlopen_mode): Initialize caller_dlopen.
24561 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24562 of libc. Make tolower call locale-independent. Optimize a bit by
24563 using isdigit instead of isalnum.
24564 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24566 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24568 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24569 was a dependency or dynamically loaded.
24571 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24573 * intl/l10nflist.c: Allow architecture-specific pop function.
24574 * sysdeps/x86_64/l10nflist.c: New file.
24576 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24579 2011-08-10 Andreas Schwab <schwab@redhat.com>
24581 * include/dirent.h: Add libc_hidden_proto for scandirat and
24582 scandirat64. Don't declare __scandirat64.
24583 * dirent/scandirat.c: Add libc_hidden_def.
24584 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24585 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24587 2011-08-10 David S. Miller <davem@davemloft.net>
24589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24595 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24597 * Versions.def [libc]: Add GLIBC_2.15.
24598 * dirent/Makefile (routines): Add scandirat and scandirat64.
24599 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24601 * dirent/dirent.h: Declare scandirat and scandirat64.
24602 * dirent/scandirat.c: New file.
24603 * dirent/scandirat64.c: New file.
24604 * sysdeps/wordsize-64/scandirat.c: New file.
24605 * sysdeps/wordsize-64/scandirat64.c: New file.
24606 * dirent/opendir.c: Define opendirat.
24607 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24609 * dirent/scandir64.c: Adjust for scandir.c change.
24610 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24611 __scandirat64, and __scandir_cancel_handler.
24612 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24613 additional parameter and use openat instead of open (outside of ld.so).
24614 Add new __opendir as wrapper around __opendirat.
24615 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24616 here without requiring old scandirat implementation.
24618 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24620 * dirent/scandir.c (cancel_handler): Renamed to
24621 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24622 defined. Adjust users.
24623 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24624 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24626 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24628 * string/test-string.h (IMPL): Use __STRING to expand name and then
24631 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24634 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24636 * string/Makefile: Update.
24637 (strop-tests): Append strncat.
24638 * string/test-wcscmp.c: New file.
24639 New comprehensive test for wcscmp.
24640 * string/test-strcmp.c: Update.
24641 (WIDE): New define.
24643 2011-07-22 Andreas Schwab <schwab@redhat.com>
24645 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24648 2011-07-26 Andreas Schwab <schwab@redhat.com>
24650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24651 encoding to ACE if AI_IDN.
24653 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24656 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24658 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24661 Fix overflow bug in strncat.
24662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24664 * string/test-strncat.c: Update.
24665 Add new tests for checking overflow bugs.
24667 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24670 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24671 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24672 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24674 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24675 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24676 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24677 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24680 (USE_AS_STRCAT): Define.
24681 Add strcat and strncat support.
24682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24684 2011-07-25 Andreas Schwab <schwab@redhat.com>
24686 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24687 __n bigger than INT_MAX+1.
24688 (__strncmp_g): Likewise.
24690 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24692 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24693 * libio/stido.h: Likewise.
24695 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24700 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24707 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24712 (_dl_x86_64_save_sse): Likewise.
24714 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24718 (_dl_x86_64_save_sse): Likewise.
24720 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24722 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24724 2011-07-21 Andreas Schwab <schwab@redhat.com>
24726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24728 (_dl_x86_64_save_sse): Use correct AVX check.
24730 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24733 bug in strncpy/strncat.
24734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24736 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24738 * string/tester.c (test_strcat): Add tests for different alignments
24739 of source and destination.
24740 (test_strncat): Likewise.
24742 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24745 * posix/glob.c (glob): Check passed in values before using them in
24746 expressions to avoid some overflows.
24747 (glob_in_dir): Likewise.
24750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24751 check for AVX enablement so that we don't crash with old kernels and
24753 * elf/tst-audit4.c: Add same checks here.
24754 * elf/tst-audit6.c: Likewise.
24756 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24758 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24760 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24762 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24764 * po/cs.po: Update from translation team.
24765 * po/bg.po: Likewise.
24767 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24769 * misc/sys/cdefs.h: Add support for const attribute.
24770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24771 to gnu_dev_{major,minor,makedev} functions.
24773 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24775 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24777 2011-07-20 Andreas Schwab <schwab@redhat.com>
24779 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24782 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24785 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24786 register in order to avoid conflicts with the soft frame pointer
24787 being held in r11 when necessary.
24788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24789 (INTERNAL_VSYSCALL_NCS): Likewise.
24791 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24793 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24794 * elf/dl-fini.c (_dl_fini): Adjust caller.
24795 * elf/dl-close.c (_dl_close_worker): Likewise.
24796 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24798 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24800 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24801 "aux_cache->nlibs < 0".
24803 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24804 in the reload-count case.
24806 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24809 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24810 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24811 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24812 * sysdeps/x86_64/multiarch/strcat.S: New file.
24813 * sysdeps/x86_64/multiarch/strncat.S: New file.
24814 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24815 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24816 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24817 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24819 (USE_AS_STRCAT): Define.
24820 Add strcat and strncat support.
24821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24823 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24824 * string/strncat.c: Update.
24825 (USE_AS_STRNCAT): Define.
24826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24827 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24829 * sysdeps/x86_64/multiarch/init-arch.h
24830 (bit_Prefer_PMINUB_for_stringop): New.
24831 (index_Prefer_PMINUB_for_stringop): Likewise.
24832 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24833 bit_Prefer_PMINUB_for_stringop.
24835 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24837 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24839 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24840 of casting of buffer.
24841 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24842 buffer32 and buffer64.
24843 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24844 writes instead of casting of buffer.
24845 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24847 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24850 2011-07-19 Andreas Schwab <schwab@redhat.com>
24852 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24854 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24856 * nscd/nscd.c (termination_handler): Don't do anything for a database
24857 if it has not yet been initialized.
24859 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24861 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24863 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24865 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24867 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24869 * po/nl.po: Update from translation team.
24870 * po/sv.po: Likewise.
24872 2011-07-16 Roland McGrath <roland@hack.frob.com>
24874 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24875 now disallowed by GCC.
24877 * configure.in (use-default-link): Default to yes if a test -shared
24878 link meets our qualifications.
24879 * configure: Regenerated.
24881 * config.make.in (output-format): New variable.
24882 * configure.in: Check for ld --print-output-format support.
24883 * configure: Regenerated.
24884 * Makerules ($(common-objpfx)format.lds)
24885 [$(output-format) != unknown]: Just use $(output-format),
24886 instead of the linker-script munging.
24888 2011-07-14 Roland McGrath <roland@hack.frob.com>
24890 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24891 of $(common-objpfx)shlib.lds.
24892 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24894 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24895 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24897 * configure.in (-z relro check): Adjust test code to add a large
24898 writable data section after it.
24899 * configure: Regenerated.
24901 2011-07-11 Roland McGrath <roland@hack.frob.com>
24903 * configure.in (-z relro check): Fix test code to make the variable
24905 * configure: Regenerated.
24907 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24909 * nscd/nscd.h (struct traced_file): Define.
24910 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24911 elements. Add traced_files.
24912 (inotify_fd): Declare.
24913 (register_traced_file): Declare.
24914 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24915 (inotify_fd): Export.
24916 (resolv_conf_descr): Remove.
24917 (nscd_init): Move inotify descriptor creation to main.
24918 Don't register files for notification here.
24919 (register_traced_file): New function.
24920 (invalidate_cache): Don't use reset_res to determine whether to call
24921 res_init, go through the list of registered files.
24922 (main_loop_poll): The inotify descriptors are now stored in the
24923 structures for the traced files.
24924 (main_loop_epoll): Likewise
24925 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24926 to __nss_disable_nscd.
24927 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24928 for a database anymore. Check the records for all the registered
24930 * nss/Makefile (libnss_files-routines): Add files-init.
24931 (libnss_db-routines): Add db-init.
24932 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24933 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24934 * nss/nss_db/db-init.c: New file.
24935 * nss/nss_files/files-init.c: New file.
24936 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24937 __nss_lookup_function.
24938 (__nss_lookup_function): Call nss_load_library.
24939 (nss_load_all_libraries): New function.
24940 (__nss_disable_nscd): Take parameter with callback function for files
24941 to register. Set is_nscd. Load all the DSOs for the NSS modules
24942 used for the cached services.
24943 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24945 options for features to all the files in nscd.
24947 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24949 2011-07-10 Roland McGrath <roland@hack.frob.com>
24951 * csu/elf-init.c (__libc_csu_init): Comment typo.
24953 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24955 * po/pl.po: Update from translation team.
24956 * po/ja.po: Likewise.
24957 * po/ru.po: Likewise.
24958 * po/ko.po: Likewise.
24959 * po/fr.po: Likewise.
24961 2011-07-09 Roland McGrath <roland@hack.frob.com>
24963 * configure.in (.ctors/.dtors header and trailer check):
24964 Use an empirical test on a built program.
24965 * configure: Regenerated.
24967 * configure.in (-z relro check): Use an empirical test on a built DSO.
24968 Detect, but do not require, on ia64.
24969 * configure: Regenerated.
24971 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24972 Update tests that use readelf to use $READELF instead.
24973 * configure: Regenerated.
24975 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24977 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24978 if the result is not used.
24980 2011-07-05 Andreas Jaeger <aj@suse.de>
24983 * stdlib/tst-strtod.c: Add testcase.
24985 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24987 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24988 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24989 The latter has a higher limit. Take additional parameter to pass to
24991 (__pathconf): Pass file to __statfs_link_max.
24992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24994 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24998 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24999 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25001 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25002 (__statfs_filesize_max): Likewise.
25003 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25005 2011-07-05 Andreas Jaeger <aj@suse.de>
25007 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25009 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25011 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25013 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25016 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25018 * Makefile (strop-tests): Add strncat.
25019 * string/test-strncat.c: New file.
25021 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25023 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25025 2011-06-21 Andreas Jaeger <aj@suse.de>
25027 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25028 Copy rule from iconvdata/Makefile.
25030 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25033 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25034 but no long options are defined, just return 'W'.
25036 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25039 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25041 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25043 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25045 (innetgr): Likewise.
25047 2011-07-05 Roland McGrath <roland@hack.frob.com>
25049 * config.make.in (install_root): Default to $(DESTDIR).
25051 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25055 2011-07-02 Roland McGrath <roland@hack.frob.com>
25057 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25059 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25060 containing directory rather than embedding absolute directory names.
25062 * scripts/check-local-headers.sh: Rewritten using awk.
25063 Match by word, not by line. Print error messages for matches.
25064 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25066 * Makerules [shlib-lds-flags empty]:
25067 ($(common-objpfx)libc_pic.opts): New target.
25068 ($(common-objpfx)libc_pic.os.clean): New target.
25069 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25071 * config.make.in (OBJCOPY): New variable.
25072 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25073 * configure: Regenerated.
25075 * config.make.in (use-default-link): New variable.
25076 * configure.in (use_default_link): Grok --with-default-link to set it.
25077 * configure: Regenerated.
25078 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25079 (shlib-lds, shlib-lds-flags): Define to empty.
25081 * Makerules (shlib-lds): New variable.
25082 (shlib-lds-flags): New variable.
25083 (build-shlib, build-moduile, build-module-asneeded): Use it.
25084 ($(common-objpfx)libc.so): Use $(shlib-lds).
25085 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25086 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25088 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25089 DT_FLAGS/DT_FLAGS_1 with zero flags.
25091 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25092 linker script munging.
25094 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25096 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25098 * crypt/sha512.c (sha512_process_block): Perform total addition using
25099 128-bit if possible.
25100 (__sha512_finish_ctx): Likewise.
25101 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25103 * crypt/sha256.c (SWAP64): Define.
25104 (sha256_process_block): Perform total addition using 64-bit if
25106 (__sha256_finish_ctx): Likewise.
25108 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25110 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25112 * nscd/hstcache.c (cache_addhst): Likewise.
25113 * nscd/grpcache.c (cache_addgr): Likewise.
25114 * nscd/aicache.c (addhstaiX): Likewise
25115 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25117 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25119 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25121 * nscd/hstcache.c (cache_addhst): Likewise.
25122 * nscd/grpcache.c (cache_addgr): Likewise.
25123 * nscd/aicache.c (addhstaiX): Likewise
25125 2011-07-01 Andreas Schwab <schwab@redhat.com>
25127 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25128 domain only when needed.
25130 2011-06-30 Andreas Schwab <schwab@redhat.com>
25132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25133 is always restored.
25135 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25137 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25138 are re-adding the entry.
25139 * nscd/servicescache.c (cache_addserv): Likewise.
25141 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25143 * sysdeps/generic/dl-irel.h: fix protection against multiple
25145 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25147 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25150 * malloc/memusage.sh: Fix quoting in message.
25151 * debug/xtrace.sh: Likewise.
25153 * configure.in: Remove support for --experimental-malloc option, make
25155 * config.make.in: Likewise.
25156 * malloc/Makefile: Likewise.
25158 2011-06-27 Andreas Schwab <schwab@redhat.com>
25160 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25161 two-byte characters.
25163 2011-06-27 Roland McGrath <roland@hack.frob.com>
25165 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25166 AC_CACHE_CHECK invocation.
25167 * configure: Regenerated.
25169 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25171 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25174 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25175 bit from old_res_options.
25177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25179 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25180 value type for setfct.
25182 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25185 __gettimeofday instead of gettimeofday.
25187 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25189 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25191 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25198 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25201 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25202 strcpy-sse2-unaligned strncpy-sse2-unaligned
25203 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25204 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25205 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25206 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25207 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25210 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25211 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25212 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25213 (STRCPY): Support SSE2 and SSSE3 versions.
25215 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25219 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25220 kernels which artificially limit size of requests.
25222 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25225 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25226 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25227 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25228 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25229 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25230 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25231 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25234 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25235 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25236 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25237 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25238 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25240 Enable unaligned load optimization for Intel Core i3, i5 and i7
25242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25244 (index_Fast_Unaligned_Load): Define.
25245 (HAS_FAST_UNALIGNED_LOAD): Define.
25247 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25249 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25251 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25255 until it is clear that the information is realy needed.
25256 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25258 2011-06-22 Andreas Schwab <schwab@redhat.com>
25260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25262 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25265 /sys/devices/system/cpu/online if it is usable.
25267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25268 reading the information from the /proc filesystem to once a second.
25270 2011-06-21 Andreas Jaeger <aj@suse.de>
25272 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25273 NULL after inclusion of kernel headers.
25275 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25277 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25278 calls to internal_setent.
25281 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25282 addresses using gethostbyname4_r ignore IPv4 addresses.
25284 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25285 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25287 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25289 2011-06-20 David S. Miller <davem@davemloft.net>
25291 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25293 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25295 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25296 (elf_irel): Use it.
25297 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25298 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25299 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25300 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25301 * sysdeps/x86_64/dl-irel.h: Likewise.
25303 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25304 * elf/dl-sym.c: Likewise.
25306 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25308 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25309 need to dereference resplen2.
25311 2011-06-14 Andreas Schwab <schwab@redhat.com>
25313 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25315 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25317 * Makeconfig: Define vardbdir and inst_vardbdir.
25318 * nss/Makefile: Add rules to install db-Makefile.
25320 * nss/nss_db/db-XXX.c: Cleanup.
25322 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25323 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25325 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25326 * nss/makedb.c: Implement -g option to specify that value strings
25327 are generated and should not be added to table iterated over for
25329 * nss/nss_db/db-initgroups.c: New file.
25331 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25334 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25335 (internal_getgrouplist): Adjust to name change.
25336 Update use_initgroups_entry if this is not the first call.
25337 * nss/databases.def: Add initgroups entry.
25339 * nss/makedb.c (compute_tables): Check result of multiple hash table
25340 sizes to minimize maximum chain length.
25342 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25344 * Versions.def: Add entry for libnss_db.
25345 * shlib-versions: Likewise.
25346 * nss/Makefile: Add rules to build libnss_db.
25347 * nss/Versions: Add libnss_db information. Organize libnss_files
25349 * nss/db-Makefile: Add gshadow support. Change rules for the new
25350 makedb progra. Some minor improvements to generate smaller files.
25351 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25353 * nss/makedb.c: ...here.
25354 Improve database format to be smaller and require less memory at
25356 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25358 * nss/nss_db/db-netgrp.c: Likewise.
25359 * nss/nss_db/db-open.c: Likewise.
25360 * nss/nss_files/flies-XXX.x: Adjust comments.
25361 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25362 * nss/nss_files/files-grp.c: Likewise.
25363 * nss/nss_files/files-hosts.c: Likewise.
25364 * nss/nss_files/files-network.c: Likewise.
25365 * nss/nss_files/files-proto.c: Likewise.
25366 * nss/nss_files/files-pwd.c: Likewise.
25367 * nss/nss_files/files-rpc.c: Likewise.
25368 * nss/nss_files/files-service.c: Likewise.
25369 * nss/nss_files/files-sgrp.c: Likewise.
25370 * nss/nss_files/files-spwd.c: Likewise.
25371 * nss/nss_db/db-alias.c: Removed.
25372 * nss/nss_db/dummy-db.h: Removed.
25374 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25376 * nss/makedb.c: Rewritten to not use database library.
25377 * nss/Makefile: Update to build new makedb program.
25379 2011-06-14 Andreas Jaeger <aj@suse.de>
25381 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25382 memset declaration.
25384 2011-06-10 Andreas Schwab <schwab@redhat.com>
25386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25389 2011-06-10 Roland McGrath <roland@hack.frob.com>
25391 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25392 * elf/Makefile ($(objpfx)ld.so): Likewise.
25394 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25395 Don't list ld.so twice in dependencies.
25397 * posix/bug-regex31.c: Include <stdlib.h>.
25399 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25401 * nis/nss_compat/compat-spwd.c
25402 (getspent_next_nss_netgr): Remove unused variable.
25403 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25405 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25406 nonmembers" output to use the right array.
25408 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25410 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25412 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25413 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25414 * catgets/gencat.c (read_input_file): Likewise.
25415 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25417 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25418 variable definition inside #if's controlling its use.
25420 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25422 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25424 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25426 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25429 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25431 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25432 * configure: Regenerated.
25434 * Makerules: Revert last change.
25435 * elf/Makefile: Likewise.
25437 2011-06-09 Roland McGrath <roland@hack.frob.com>
25439 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25440 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25441 (reloc-link): Likewise.
25443 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25445 * elf/Makefile: Add rules to build pldd.
25446 * elf/pldd.c: New file.
25447 * elf/pldd-xx.c: New file.
25449 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25451 * version.h: Update for 2.15 development version.
25453 2011-06-07 David S. Miller <davem@davemloft.net>
25455 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25458 elf_machine_lazy_rel): Likewise.
25459 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25461 elf_machine_lazy_rel): Likewise.
25462 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25463 dl_hwcap via passed in argument.
25464 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25467 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25469 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25471 2011-06-06 Roland McGrath <roland@hack.frob.com>
25474 * manual/fdl-1.1.texi: New file, verbatim from:
25475 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25476 * manual/lgpl-2.1.texi: New file, verbatim from:
25477 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25478 * manual/Makefile (licenses): New variable, list those new file names.
25480 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25482 * manual/fdl.texi: File removed.
25483 * manual/lesser.texi: File removed.
25484 * manual/libc.texinfo (Copying, Documentation License):
25485 Use new @include file names, put @appendix directive before @include.
25487 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25490 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25491 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25492 (mq_open): Add __NTH.
25494 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25497 Assume Intel Core i3/i5/i7 processor if AVX is available.
25499 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25504 2011-05-31 Andreas Schwab <schwab@redhat.com>
25506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25507 memory. Use alloca_account. Fix memory leak when retrying.
25509 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25511 * version.h (RELEASE): Bump for 2.14 release.
25512 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25514 * config.make.in (RANLIB): Remove entry.
25516 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25518 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25519 (libc.pot): Work around missing support for .ksh extension in xgettext.
25522 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25523 if both request failed.
25524 (send_dg): In case of server errors clear resplen or *resplen2.
25527 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25528 when there are multiple maps.
25529 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25530 (_dl_fini): Remove test here.
25532 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25534 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25537 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25538 bit from old_res_options.
25539 (gaih_inet): Likewise.
25542 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25545 * resolv/res_init.c (res_setoptions): Make the code more compact.
25548 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25552 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25554 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25557 * malloc/malloc.h: Declare malloc hook variables as volatile.
25559 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25563 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25564 raise in the comment.
25565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25566 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25567 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25569 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25572 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25573 grow the buffers more if it already has to be sufficient.
25574 (build_wcs_upper_buffer): Likewise.
25575 * posix/regexec.c (check_matching): Likewise.
25576 (clean_state_log_if_needed): Likewise.
25577 (extend_buffers): Don't enlarge buffers beyond size of the input
25579 Patches mostly by Emil Wojak <emil@wojak.eu>.
25580 * posix/bug-regex32.c: New file.
25581 * posix/Makefile (tests): Add bug-regex32.
25583 * locale/findlocale.c (_nl_find_locale): Return right away if
25584 _nl_explode_name failed.
25585 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25587 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25589 * debug/xtrace.sh: Unify messages.
25590 * malloc/memusage.sh: Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25594 time symbol from vDSO. Substitute with vsyscall if not available.
25595 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25598 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25599 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25600 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25601 Add sendmmsg and internal_sendmmsg.
25602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25606 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25607 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25608 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25610 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25613 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25614 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25620 * iconvdata/Makefile (tests): Add bug-iconv9.
25621 * iconvdata/bug-iconv9.c: New file.
25623 2011-05-27 Andreas Schwab <schwab@redhat.com>
25626 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25628 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25630 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25631 (struct user_regs_struct): Change intcs field back to cs.
25633 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25635 * po/ja.po: Update from translation team.
25637 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25640 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25643 2011-05-20 Andreas Schwab <schwab@redhat.com>
25645 * stdlib/longlong.h: Update from GCC.
25647 2011-05-23 Andreas Schwab <schwab@redhat.com>
25649 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25651 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25652 Add parameter name.
25653 (__sysconf): Pass it down.
25655 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25658 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25660 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25661 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25662 add in in __libc_use_alloca calls. Adjust callers.
25663 (glob): Use malloc in some situations.
25665 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25666 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25669 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25671 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25672 and CLOCK_BOOTTIME_ALARM.
25675 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25678 * string/_strerror.c (__strerror_r): Print negative errors as signed
25682 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25683 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25684 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25686 * configure.in: Fix typo in redirection and correct removal of test
25687 files in two cases.
25690 * locale/setlocale.c (new_composite_name): Fix test to check for
25691 identical name of all categories.
25694 * libio/filedoalloc.c (local_isatty): New function.
25695 (_IO_file_doallocate): Use local_isatty.
25696 * stdio-common/perror.c (perror): In case a new stream is used
25697 forward the stream error.
25698 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25701 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25706 * include/alloca.h (extend_alloca_account): Define.
25709 * posix/regex.h: Fix comments with documentation of user-accessible
25710 fields after compilation and describe correct free'ing of pattern
25711 after re_compile_pattern.
25712 Patch by Reuben Thomas <rrt@sc3d.org>.
25714 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25716 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25717 and -mno-altivec to prevent the compiler from using Altivec and/or
25718 VSX instructions when the corresponding registers are not available.
25720 2011-05-19 Andreas Schwab <schwab@redhat.com>
25722 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25724 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25726 * libio/freopen.c (freopen): Use __dup2, not dup2.
25727 * libio/freopen64.c (freopen64): Likewise.
25729 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25732 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25733 * math/Makefile (tests): Add test-powl.
25734 (CFLAGS-test-powl.c): Define.
25735 * math/test-powl.c: New file.
25737 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25739 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25741 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25744 * iconvdata/gb18030.c: Update to GB18020-2005.
25746 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25748 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25749 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25750 Patch by Aharon Robbins <arnold@skeeve.com>.
25753 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25757 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25758 through underflows.
25761 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25762 point to strings before performing equality test for error_one_per_line
25766 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25770 (struct user_fpregs_struct): Avoid __uint*_t types.
25773 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25774 symbol info. Use it instead of calling _dl_addr locally.
25775 (lock_and_info): New function.
25776 (tr_freehook): Call lock_and_info and pass symbol info as additional
25777 parameter to tr_where.
25778 (tr_mallochook): Likewise.
25779 (tr_reallochook): Likewise.
25780 (tr_memalignhook): Likewise.
25782 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25783 used and couldn't be at all thread-safe.
25785 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25787 * libio/freopen.c (freopen): Don't close old file descriptor
25788 before the new one is opened. Instead dup the new file descriptor
25789 to the old one after the new stream is created.
25790 * libio/freopen64.c (freopen64): Likewise.
25791 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25792 * libio/fileops.c (_IO_new_file_close_it): Handle new
25793 _IO_FLAGS2_NOCLOSE flag.
25794 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25795 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25796 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25797 _IO_FLAGS2_NOCLOSE flag.
25798 * include/unistd.h: Add hidden_proto for dup3.
25799 Define __have_dup3.
25800 * io/dup3.c: Define hidden symbol.
25801 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25804 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25805 when an incomplete long option is used.
25806 * posix/tst-getopt_long1.c: New file.
25807 * posix/Makefile (tests): Add tst-getopt_long1.
25810 * scripts/config.guess: Update from autoconf-2.68.
25811 * scripts/config.sub: Likewise.
25814 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25816 (has_cpuclock): ...this. New function.
25817 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25818 macro here based on has_cpuclock code.
25821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25822 First byte (not low byte) is now always NUL.
25823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25826 Use non-cancelable interfaces.
25829 * locale/iso-639.def: Add entry for Sorani.
25832 * include/stdlib.h: Move include protection to the right place.
25833 Define abort_msg_s. Declare __abort_msg with it.
25834 * stdlib/abort.c (__abort_msg): Adjust type.
25835 * assert/assert.c (__assert_fail_base): New function. Majority
25836 of code from __assert_fail. Allocate memory for __abort_msg with
25838 (__assert_fail): Now call __assert_fail_base.
25839 * assert/assert-perr.c: Remove bulk of implementation. Use
25840 __assert_fail_base.
25841 * include/assert.hL Declare __assert_fail_base.
25842 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25844 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25846 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25850 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25851 until all modules are registered in the DTV.
25852 * elf/Makefile: Add rules to build and run tst-tls19.
25853 * elf/tst-tls19.c: New file.
25854 * elf/tst-tls19mod1.c: New file.
25855 * elf/tst-tls19mod2.c: New file.
25856 * elf/tst-tls19mod3.c: New file.
25857 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25860 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25864 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25865 two-byte sequence errors.
25866 * iconvdata/Makefile (tests): Add bug-iconv8.
25867 * iconvdata/bug-iconv8.c: New file.
25870 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25873 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25876 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25877 (dummy_getcfa): New function.
25878 (init): Get _Unwind_GetCFA address, use dummy if not found.
25879 (backtrace_helper): In recursion check, also check whether CFA changes.
25880 (__backtrace): Completely initialize arg.
25882 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25883 storing incomplete byte sequence in state object. Avoid testing for
25884 guaranteed too small input if we know there is enough data available.
25886 2011-05-11 Andreas Schwab <schwab@redhat.com>
25888 * Makeconfig (+link-pie): Indent.
25889 * Rules (binaries-pie): Define if $(have-fpie) and
25891 (binaries-shared): Also filter out $(binaries-pie).
25892 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25893 * nscd/Makefile (others-pie): Add nscd.
25894 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25895 ($(objpfx)nscd): Remove command override.
25896 * login/Makefile (others-pie): Add pt_chown.
25897 ($(objpfx)pt_chown): Remove command override.
25898 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25899 remove command overrides.
25901 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25903 * libio/tst_putwc.c: Fix error messages.
25906 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25907 currently writing and seek to current position when not.
25908 * libio/Makefile (tests): Add bug-fclose1.
25909 * libio/bug-fclose1.c: New file.
25911 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25914 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25915 don't set DF_1_NODELETE here.
25916 (do_lookup_x): When entering new entry test for copy relocation
25917 and if necessary set DF_1_NODELETE flag.
25918 * elf/tst-unique4.cc: New file.
25919 * elf/tst-unique4.h: New file.
25920 * elf/tst-unique4lib.cc: New file.
25921 * elf/Makefile: Add rules to build and run tst-unique4.
25922 Patch by Piotr Bury <pbury@goahead.com>.
25924 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25927 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25930 * misc/mntent_r.c (addmntent): Flush the stream after the output
25933 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25934 (is_trusted_path_normalize): Skip initial colon. Append slash
25935 to empty buffer. Duplicate is_trusted_path code but allow
25936 constructed patch to be prefix.
25937 (is_dst): Allow $ORIGIN followed by /.
25938 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25939 Correct testing of result of is_trusted_path_normalize
25940 (decompose_rpath): Fix warning.
25942 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25945 * grp/initgroups.c (internal_getgrouplist): When we found the service
25946 list through the initgroups entry in nsswitch.conf do not always
25947 continue on a successful lookup. Don't always use the
25948 __nss_group_database value if it is set.
25949 * nss/nsswitch.conf (initgroups): Change action for successful db
25950 lookup to continue for compatibility.
25952 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25955 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25957 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25959 * iconvdata/tst-tables.sh: Likewise.
25960 * iconvdata/cp770.c: New file.
25961 * iconvdata/cp771.c: New file.
25962 * iconvdata/cp772.c: New file.
25963 * iconvdata/cp773.c: New file.
25964 * iconvdata/cp774.c: New file.
25965 * iconvdata/testdata/CP770: New file.
25966 * iconvdata/testdata/CP770..UTF8: New file.
25967 * iconvdata/testdata/CP771: New file.
25968 * iconvdata/testdata/CP771..UTF8: New file.
25969 * iconvdata/testdata/CP772: New file.
25970 * iconvdata/testdata/CP772..UTF8: New file.
25971 * iconvdata/testdata/CP773: New file.
25972 * iconvdata/testdata/CP773..UTF8: New file.
25973 * iconvdata/testdata/CP774: New file.
25974 * iconvdata/testdata/CP774..UTF8: New file.
25976 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25978 * iconvdata/gen-8bit-gap.sh: Likewise.
25979 * iconvdata/gen-8bit.sh: Likewise.
25981 * locale/iso-639.def: Add ary entry.
25984 * locale/C-translit.h.in: Add U20A1 transliteration.
25987 * locale/iso-639.def: Add wae entry.
25988 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25991 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25995 * locale/C-translit.h.in: Add entry for U20B9.
25996 Patch by pravin.d.s@gmail.com.
25998 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26001 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26002 ENAMETOOLONG use generic getcwd.
26003 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26004 in rtld. Use *stat64.
26005 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26006 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26007 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26008 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26009 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26010 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26011 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26012 __fstatat64 macros.
26013 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26014 * dirent/rewinddir.c: Add libc_hidden_def.
26015 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26016 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26018 * include/dirent.h (__alloc_dir): Add flags parameter.
26019 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26020 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26022 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26023 from fdopendir if O_CLOEXEC is already set.
26025 2011-03-15 Alan Modra <amodra@gmail.com>
26027 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26028 l_tls_firstbyte_offset non-zero. Save padding offset in
26029 l_tls_firstbyte_offset for later use.
26030 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26031 freeing static tls block.
26033 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26035 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26036 where #ifdef was intended. The intent is to prevent ARG_MAX from
26037 being defined by the kernel headers.
26039 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26042 * resolv/resolv.h: Define RES_NOTLDQUERY.
26043 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26044 no-tld-query and set RES_NOTLDQUERY.
26045 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26046 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26047 modern BIND to search name as TLD unless forbidden.
26049 2011-05-07 Petr Baudis <pasky@suse.cz>
26050 Ulrich Drepper <drepper@gmail.com>
26053 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26054 (is_trusted_path): ...to here.
26055 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26056 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26057 using is_trusted_path_normalize() in setuid scripts.
26059 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26061 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26062 __BEGIN/__END_DECLS.
26064 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26067 NSS_STATUS_NOTFOUND if no record was found.
26069 2011-05-05 Andreas Schwab <schwab@redhat.com>
26071 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26072 (headers-not-in-tirpc): Remove rpc/netdb.h
26073 * resolv/netdb.h: Revert last change.
26075 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26077 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26078 circular dependency between libgcc.a and libc.a.
26080 2011-05-05 Andreas Schwab <schwab@redhat.com>
26082 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26083 * nis/Makefile: Don't install rpcsvc/*.
26084 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26085 instead of <rpc/types.h>.
26086 (MAXHOSTNAMELEN): Define.
26088 2011-05-03 Andreas Schwab <schwab@redhat.com>
26090 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26092 2011-04-28 Maciej Babinski <mbabinski@google.com>
26095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26096 gethostbyname4_r when IPv6 results are possible.
26098 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26101 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26102 _PC_PIPE_BUF handling.
26104 2011-04-30 Bruno Haible <bruno@clisp.org>
26107 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26108 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26110 * inet/getnameinfo.c (getnameinfo): Likewise.
26112 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26114 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26115 to groups setting in database lookup.
26116 * nss/nsswitch.conf: Add initgroups entry.
26118 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26121 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26123 Patch by Eric Blake <eblake@redhat.com>.
26125 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26127 * sunrpc/Makefile (need-export-routines): Add svc_run.
26128 (routines): Remove svc_run.
26129 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26130 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26131 * sunrpc/svc_run.c (svc_run): Likewise.
26132 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26134 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26137 problem in reallocation in last patch.
26139 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26141 * sunrpc/Makefile: Move inclusion of Rules.
26143 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26145 * nss/nss_files/files-initgroups.c: New file.
26146 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26147 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26148 _nss_files_initgroups_dyn.
26150 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26152 * elf/elf.h (R_ARM_IRELATIVE): Define.
26154 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26156 * po/ru.po: Update from translation team.
26158 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26160 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26163 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26166 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26167 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26172 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26176 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26180 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26183 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26185 * stdlib/bug-getcontext.c: New file.
26186 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26188 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26190 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26191 instructions into .machine "z9-109".
26192 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26193 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26195 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26197 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26198 between environment variables and auxiliary vector.
26200 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26202 * Makefile: Add rules to build linkobj/libc.so.
26203 * include/libc-symbols.h: Define libc_hidden_nolink.
26204 * include/rpc/auth.h: Mark functions which are to be hidden.
26205 * include/rpc/auth_des.h: Likewise.
26206 * include/rpc/auth_unix.h: Likewise.
26207 * include/rpc/clnt.h: Likewise.
26208 * include/rpc/des_crypt.h: Likewise.
26209 * include/rpc/key_prot.h: Likewise.
26210 * include/rpc/pmap_clnt.h: Likewise.
26211 * include/rpc/pmap_prot.h: Likewise.
26212 * include/rpc/pmap_rmt.h: Likewise.
26213 * include/rpc/rpc_msg.h: Likewise.
26214 * include/rpc/svc.h: Likewise.
26215 * include/rpc/svc_auth.h: Likewise.
26216 * include/rpc/xdr.h: Likewise.
26217 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26218 * nss/Makefile: Likewise.
26219 * sunrpc/Makefile: Don't install headers. Build library with normal
26220 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26221 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26222 for the compat linking library. Remove use of INTDEF/INTUSE.
26223 * sunrpc/auth_none.c: Likewise.
26224 * sunrpc/auth_unix.c: Likewise.
26225 * sunrpc/authdes_prot.c: Likewise.
26226 * sunrpc/authuxprot.c: Likewise.
26227 * sunrpc/clnt_gen.c: Likewise.
26228 * sunrpc/clnt_perr.c: Likewise.
26229 * sunrpc/clnt_raw.c: Likewise.
26230 * sunrpc/clnt_simp.c: Likewise.
26231 * sunrpc/clnt_tcp.c: Likewise.
26232 * sunrpc/clnt_udp.c: Likewise.
26233 * sunrpc/clnt_unix.c: Likewise.
26234 * sunrpc/des_crypt.c: Likewise.
26235 * sunrpc/des_soft.c: Likewise.
26236 * sunrpc/get_myaddr.c: Likewise.
26237 * sunrpc/key_call.c: Likewise.
26238 * sunrpc/key_prot.c: Likewise.
26239 * sunrpc/netname.c: Likewise.
26240 * sunrpc/pm_getmaps.c: Likewise.
26241 * sunrpc/pm_getport.c: Likewise.
26242 * sunrpc/pmap_clnt.c: Likewise.
26243 * sunrpc/pmap_prot.c: Likewise.
26244 * sunrpc/pmap_prot2.c: Likewise.
26245 * sunrpc/pmap_rmt.c: Likewise.
26246 * sunrpc/publickey.c: Likewise.
26247 * sunrpc/rpc_cmsg.c: Likewise.
26248 * sunrpc/rpc_common.c: Likewise.
26249 * sunrpc/rpc_dtable.c: Likewise.
26250 * sunrpc/rpc_prot.c: Likewise.
26251 * sunrpc/rpc_thread.c: Likewise.
26252 * sunrpc/rtime.c: Likewise.
26253 * sunrpc/svc.c: Likewise.
26254 * sunrpc/svc_auth.c: Likewise.
26255 * sunrpc/svc_authux.c: Likewise.
26256 * sunrpc/svc_raw.c: Likewise.
26257 * sunrpc/svc_run.c: Likewise.
26258 * sunrpc/svc_simple.c: Likewise.
26259 * sunrpc/svc_tcp.c: Likewise.
26260 * sunrpc/svc_udp.c: Likewise.
26261 * sunrpc/svc_unix.c: Likewise.
26262 * sunrpc/svcauth_des.c: Likewise.
26263 * sunrpc/xcrypt.c: Likewise.
26264 * sunrpc/xdr.c: Likewise.
26265 * sunrpc/xdr_array.c: Likewise.
26266 * sunrpc/xdr_float.c: Likewise.
26267 * sunrpc/xdr_intXX_t.c: Likewise.
26268 * sunrpc/xdr_mem.c: Likewise.
26269 * sunrpc/xdr_rec.c: Likewise.
26270 * sunrpc/xdr_ref.c: Likewise.
26271 * sunrpc/xdr_sizeof.c: Likewise.
26272 * sunrpc/xdr_stdio.c: Likewise.
26274 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26277 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26278 * sysdeps/ia64/dl-tls.h: Likewise.
26279 * sysdeps/powerpc/dl-tls.h: Likewise.
26280 * sysdeps/s390/dl-tls.h: Likewise.
26281 * sysdeps/sh/dl-tls.h: Likewise.
26282 * sysdeps/sparc/dl-tls.h: Likewise.
26283 * sysdeps/x86_64/dl-tls.h: Likewise.
26284 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26286 2011-03-14 Andreas Schwab <schwab@redhat.com>
26288 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26289 rpath element also skip the following colon.
26290 (expand_dynamic_string_token): Add is_path parameter and pass
26291 down to DL_DST_REQUIRED and _dl_dst_substitute.
26292 (decompose_rpath): Call expand_dynamic_string_token with
26293 non-zero is_path. Ignore empty rpaths.
26294 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26297 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26302 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26305 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26306 Patch by Filipe David Manana <fdmanana@apache.org>.
26308 2011-04-07 Andreas Schwab <schwab@redhat.com>
26310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26311 Maintain aligned stack.
26312 (CHECK_RSP): Remove unused macro.
26314 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26316 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26319 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26321 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26323 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26325 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26328 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26329 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26330 * sysdeps/x86_64/memmove.c: New file.
26331 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26332 (memcpy): Renamed to ...
26333 (__new_memcpy): This.
26334 (memcpy): Provide GLIBC_2_14 memcpy.
26335 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26336 (memcpy): Provide GLIBC_2_2_5 memcpy.
26338 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26341 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26343 2011-03-30 Andreas Schwab <schwab@redhat.com>
26345 * misc/syncfs.c: New file.
26346 * misc/Makefile (routines): Add syncfs.
26347 * posix/unistd.h: Declare syncfs.
26348 * sysdeps/unix/syscalls.list: Add syncfs.
26350 2011-04-01 Andreas Schwab <schwab@redhat.com>
26352 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26359 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26365 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26372 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26373 sync_file_range.c with -fexceptions.
26374 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26375 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26376 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26377 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26378 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26381 sync_file_range as cancellation point
26382 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26383 now a wrapper around __call_sync_file_range with cancellation handling.
26384 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26386 function name to __call_sync_file_range.
26387 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26388 Add call_sync_file_range.
26390 2011-04-01 Andreas Schwab <schwab@redhat.com>
26392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26395 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26397 * iconv/iconv.h: Fix typo in comment.
26398 * io/fcntl.h: Likewise.
26399 * libio/stdio.h: Likewise.
26400 * posix/spawn.h: Likewise.
26401 * posix/unistd.h: Likewise.
26402 * stdlib/stdlib.h: Likewise.
26403 * time/time.h: Likewise.
26404 * wcsmbs/wchar.h: Likewise.
26406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26407 open_by_handle): Add.
26408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26409 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26410 Augment a few comments.
26411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26416 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26419 * io/fcntl.h (AT_EMPTY_PATH): Define.
26421 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26423 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26424 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26425 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26427 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26428 * Versions.def: Add GLIBC_2.14.
26429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26432 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26438 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26441 * string/test-strncmp.c (do_page_test): New function.
26442 (check2): Likewise.
26443 (test_main): Call check2.
26444 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26446 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26450 Handle cache information in CPU leaf 4.
26451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26453 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26456 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26457 character representation.
26458 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26460 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26462 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26463 END(__isnan) to END(__isnanf) to match function entry point/label
26464 EALIGN(__isnanf,...).
26466 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26468 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26470 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26473 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26474 copy from the symbol referenced in the relocation to initialize the
26476 Patch by Piotr Bury <pbury@goahead.com>.
26477 * elf/Makefile: Add rules to build and tst-unique3.
26478 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26479 * elf/tst-unique3.cc: New file.
26480 * elf/tst-unique3.h: New file.
26481 * elf/tst-unique3lib.cc: New file.
26482 * elf/tst-unique3lib2.cc: New file.
26484 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26486 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26488 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26489 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26492 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26494 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26495 to-be-loaded object along a path to loader is ld.so.
26497 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26498 Ulrich Drepper <drepper@gmail.com>
26500 * sysdeps/x86_64/memset.S: After aligning destination, code
26501 branches to different locations depending on the value of
26502 misalignment, when multiarch is enabled. Fix this.
26504 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26506 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26507 Set _x86_64_preferred_memory_instruction for AMD processsors.
26508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26509 Set bit_Prefer_SSE_for_memop for AMD processors.
26511 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26513 * libio/fmemopen.c (fmemopen): Optimize a bit.
26515 2011-03-03 Andreas Schwab <schwab@redhat.com>
26517 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26519 2011-03-03 Roland McGrath <roland@redhat.com>
26521 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26523 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26525 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26526 __bzero_ultra1 instead of __memset_ultra1.
26528 2011-02-23 Andreas Schwab <schwab@redhat.com>
26529 Ulrich Drepper <drepper@gmail.com>
26532 * include/link.h (struct link_map): Add l_orig_initfini.
26533 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26534 returning unsuccessfully.
26535 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26536 close of a file loaded at startup, restore the original l_initfini
26538 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26539 list, store the pointer.
26540 * elf/Makefile ($(objpfx)noload-mem): New rule.
26541 (noload-ENV): Define.
26542 (tests): Add $(objpfx)noload-mem.
26543 * elf/noload.c: Include <memcheck.h>.
26544 (main): Call mtrace. Close all opened handles.
26546 2011-02-17 Andreas Schwab <schwab@redhat.com>
26549 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26550 dependencies are missing.
26552 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26554 Fix __if_freereq crash: Unlike the generic version which uses free,
26556 * sysdeps/mach/hurd/ifreq.h: New file.
26558 2011-01-27 Petr Baudis <pasky@suse.cz>
26559 Ulrich Drepper <drepper@gmail.com>
26562 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26563 to extend_alloca().
26564 * stdio-common/bug23.c: New file.
26565 * stdio-common/Makefile (tests): Add bug23.
26567 2010-09-28 Andreas Schwab <schwab@redhat.com>
26568 Ulrich Drepper <drepper@gmail.com>
26571 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26572 before performing relro protection. At old place add assertion
26573 to make sure nothing changed.
26575 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26576 Glauber de Oliveira Costa <glommer@gmail.com>
26578 * elf/elf.h: Add new ARM TLS relocs.
26580 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26583 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26585 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26587 * sysdeps/wordsize-64/tst-writev.c: New file.
26589 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26591 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26592 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26593 insns in _dl_start to prevent a TOC reference before relocs are
26596 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26599 * Makeconfig: Remove RANLIB definition.
26600 * Makerules: Don't use RANLIB.
26601 * aclocal.m4: Remove ranlib test.
26602 * configure.in: No need to check for ranlib.
26603 * elf/rtld-Rules: Don't use RANLIB.
26605 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26607 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26609 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26610 inclusion protection macro.
26612 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26613 SIGRTMIN and SIGRTMAX and print information in that case only when
26614 SIGRTMIN is defined.
26616 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26618 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26619 arginfo fn returning -1.
26621 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26622 and thousands string is zero terminated.
26624 2011-02-03 Andreas Schwab <schwab@redhat.com>
26626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26627 sysdeps/unix/sysv/linux/bits/socket.h.
26629 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26631 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26632 (__CPU_COUNT): Remove old macros.
26633 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26634 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26635 (__CPU_ALLOC, __CPU_FREE): Add macros.
26636 (__sched_cpualloc, __sched_cpufree): Add declarations.
26638 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26640 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26641 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26642 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26643 (readdhstai): Return value of addhstaiX call.
26644 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26645 (addgrbyX): Return value returned by cache_addgr.
26646 (readdgrbyname): Return value returned by addgrbyX.
26647 (readdgrbygid): Likewise.
26648 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26649 (addpwbyX): Return value returned by cache_addpw.
26650 (readdpwbyname): Return value returned by addhstbyX.
26651 (readdpwbyuid): Likewise.
26652 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26653 (addservbyX): Return value returned by cache_addserv.
26654 (readdservbyname): Return value returned by addservbyX:
26655 (readdservbyport): Likewise.
26656 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26657 (addhstbyX): Return value returned by cache_addhst.
26658 (readdhstbyname): Return value returned by addhstbyX.
26659 (readdhstbyaddr): Likewise.
26660 (readdhstbynamev6): Likewise.
26661 (readdhstbyaddrv6): Likewise.
26662 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26663 (readdinitgroups): Return value returned by addinitgroupsX.
26664 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26665 (prune_cache): Keep track of timeout value of re-added entries.
26666 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26667 * nscd/nscd.h: Adjust prototypes of readd* functions.
26669 2011-02-04 Roland McGrath <roland@redhat.com>
26671 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26672 (nis_stats): Likewise.
26673 * nis/nis_modify.c (nis_modify): Likewise.
26674 * nis/nis_remove.c (nis_remove): Likewise.
26675 * nis/nis_add.c (nis_add): Likewise.
26677 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26679 * posix/fnmatch_loop.c: Add some consts.
26681 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26683 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26686 * config.make.in (config-cflags-novzeroupper): Define.
26687 * configure.in: Substitute libc_cv_cc_novzeroupper.
26688 * elf/Makefile (AVX-CFLAGS): Define.
26689 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26690 (CFLAGS-tst-auditmod4a.c): Likewise.
26691 (CFLAGS-tst-auditmod4b.c): Likewise.
26692 (CFLAGS-tst-auditmod6b.c): Likewise.
26693 (CFLAGS-tst-auditmod6c.c): Likewise.
26694 (CFLAGS-tst-auditmod7b.c): Likewise.
26695 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26697 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26699 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26700 function to the callback.
26701 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26703 2011-02-02 Andreas Schwab <schwab@redhat.com>
26705 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26708 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26711 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26713 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26715 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26718 * elf/Makefile: Add rules to build and run new test.
26719 * elf/tst-initorder.c: New file.
26720 * elf/tst-initorder.exp: New file.
26721 * elf/tst-initordera1.c: New file.
26722 * elf/tst-initordera2.c: New file.
26723 * elf/tst-initordera3.c: New file.
26724 * elf/tst-initordera4.c: New file.
26725 * elf/tst-initorderb1.c: New file.
26726 * elf/tst-initorderb2.c: New file.
26727 * elf/tst-order-a1.c: New file.
26728 * elf/tst-order-a2.c: New file.
26729 * elf/tst-order-a3.c: New file.
26730 * elf/tst-order-a4.c: New file.
26731 * elf/tst-order-b1.c: New file.
26732 * elf/tst-order-b2.c: New file.
26733 * elf/tst-order-main.c: New file.
26734 New test case by George Gensure <werkt0@gmail.com>.
26736 2010-10-01 Andreas Schwab <schwab@redhat.com>
26738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26739 decoding ACE if AI_CANONIDN.
26741 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26743 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26745 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26747 * version.h (RELEASE): Bump for 2.13 release.
26748 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26750 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26754 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26761 * posix/getconf.c: Update copyright year.
26762 * catgets/gencat.c: Likewise.
26763 * csu/version.c: Likewise.
26764 * debug/catchsegv.sh: Likewise.
26765 * debug/xtrace.sh: Likewise.
26766 * elf/ldconfig.c: Likewise.
26767 * elf/ldd.bash.in: Likewise.
26768 * elf/sprof.c (print_version): Likewise.
26769 * iconv/iconv_prog.c: Likewise.
26770 * iconv/iconvconfig.c: Likewise.
26771 * locale/programs/locale.c: Likewise.
26772 * locale/programs/localedef.c: Likewise.
26773 * malloc/memusage.sh: Likewise.
26774 * malloc/mtrace.pl: Likewise.
26775 * nscd/nscd.c (print_version): Likewise.
26776 * nss/getent.c: Likewise.
26778 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26779 PF_CAIF, and PF_ALG.
26780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26782 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26784 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26785 (modules-names): Use them.
26786 (ifunc-test-modules, ifunc-pie-tests): Define.
26787 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26788 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26789 (test-extras): Likewise.
26790 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26791 $(compile-command.c).
26792 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26793 (all-built-dso): Define.
26794 (check-textrel.out, check-execstack.out): Depend on it.
26796 * configure.in: Don't override --enable-multi-arch.
26798 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26801 * nscd/hstcache.c (tryagain): Define.
26802 (cache_addhst): Return tryagain not notfound for temporary errors.
26803 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26806 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26810 to make the syscall.
26811 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26814 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26815 and fall back to matching as normal character if the string ends before
26816 the matching ']' is found. This is what POSIX requires.
26817 * posix/testfnm.c: Adjust test result.
26818 * posix/globtest.sh: Adjust test result. Add new test.
26819 * posix/tst-fnmatch.input: Likewise.
26820 * posix/tst-fnmatch2.c: Add new test.
26822 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26824 * elf/Makefile (check-execstack): Revert last change. Depend on
26826 (check-execstack.h): New target.
26827 (generated): Add check-execstack.h.
26828 * elf/check-execstack.c: Include "check-execstack.h".
26829 (main): Revert last change.
26830 (handle_file): Return zero if GNU_STACK is absent and
26831 DEFAULT_STACK_PERMS doesn't include PF_X.
26833 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26835 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26836 in child fails because the descriptor is already closed.
26837 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26838 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26842 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26846 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26847 temporary buffer used to handle multi lookups locally.
26848 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26850 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26852 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26855 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26857 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26858 alignment for SSE2.
26860 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26863 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26864 characters. When rounding increased number of integer digits recompute
26866 * stdio-common/tst-grouping.c: New file.
26867 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26869 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26871 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26872 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26874 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26876 * bits/select.h: Likewise.
26878 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26880 * po/ja.po: Update from translation team.
26882 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26885 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26886 implementation just like for lxstat, fxstatat, et al.
26888 2010-12-27 Jim Meyering <meyering@redhat.com>
26891 * posix/regexec.c (build_trtable): Return failure indication upon
26892 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26894 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26897 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26898 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26899 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26900 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26903 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26906 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26907 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26909 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26911 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26912 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26913 script has SORT_BY_INIT_PRIORITY.
26914 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26915 NO_CTORS_DTORS_SECTIONS is defined.
26916 * elf/soinit.c: Likewise.
26917 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26918 NO_CTORS_DTORS_SECTIONS is defined.
26919 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26920 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26921 * sysdeps/sh/init-first.c: Likewise.
26922 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26924 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26926 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26927 always use the slow path.
26929 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26931 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26932 similar rule which adds the sysdep directories to the header search in
26933 order to pick up the correct platform stackinfo.h.
26934 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26935 perform test if it is, otherwise return successfully without testing.
26936 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26937 DEFAULT_STACK_PERMS define in stackinfo.h.
26938 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26939 defined in stackinfo.h.
26940 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26941 DEFAULT_STACK_PERMS defined in stackinfo.h.
26942 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26943 * sysdeps/ia64/stackinfo.h: Likewise.
26944 * sysdeps/s390/stackinfo.h: Likewise.
26945 * sysdeps/sh/stackinfo.h: Likewise.
26946 * sysdeps/sparc/stackinfo.h: Likewise.
26947 * sysdeps/x86_64/stackinfo.h: Likewise.
26948 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26949 PF_X for powerpc64. Retain PF_X for powerpc32.
26951 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26953 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26955 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26956 GETDENTS_64BIT_ALIGNED.
26958 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26960 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26962 2010-12-10 Andreas Schwab <schwab@redhat.com>
26964 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26967 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26968 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26970 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26971 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26973 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26976 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26979 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26981 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26983 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26985 * po/it.po: Update from translation team.
26987 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26992 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26994 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26996 2010-11-24 Andreas Schwab <schwab@redhat.com>
26998 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27000 (gaih_getanswer_slice): Likewise.
27002 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27006 2010-05-31 Petr Baudis <pasky@suse.cz>
27009 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27010 silently even in the chroot mode.
27012 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27014 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27015 last patch a bit. Pretty printing
27017 2010-05-31 Petr Baudis <pasky@suse.cz>
27020 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27021 initialization of skip_initgroups_dyn.
27023 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27028 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27030 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27032 2010-11-11 Andreas Schwab <schwab@redhat.com>
27034 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27035 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27036 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27037 ($(objpfx)tst-fnmatch-mem): New rule.
27038 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27039 * posix/tst-fnmatch.c (main): Call mtrace.
27041 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27044 Support Intel processor model 6 and model 0x2c.
27046 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27051 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27054 * string/test-strncasecmp.c (check_result): New function.
27055 (do_one_test): Use it.
27056 (check1): New function.
27057 (test_main): Use it.
27058 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27059 Support strcasecmp and strncasecmp.
27061 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27064 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27067 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27069 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27073 * sysdeps/x86_64/multiarch/bzero.S: New file.
27074 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27075 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27076 * sysdeps/x86_64/multiarch/memset.S: New file.
27077 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27079 Set bit_Prefer_SSE_for_memop for Intel processors.
27080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27082 (index_Prefer_SSE_for_memop): Define.
27083 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27085 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27090 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27093 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27094 (__x86_64_raw_data_cache_size_half): Likewise.
27095 (__x86_64_raw_shared_cache_size): Likewise.
27096 (__x86_64_raw_shared_cache_size_half): Likewise.
27098 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27099 (__x86_64_raw_data_cache_size_half): Likewise.
27100 (__x86_64_raw_shared_cache_size): Likewise.
27101 (__x86_64_raw_shared_cache_size_half): Likewise.
27102 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27103 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27104 and __x86_64_raw_shared_cache_size_half. Round
27105 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27106 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27107 to multiple of 256 bytes.
27109 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27113 of inacessible symlinks. Verify result of symlink before returning it.
27114 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27115 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27117 2010-10-28 Erich Ritz <erichritz@gmail.com>
27119 * math/math.h (isinf): Fix typo in comment.
27121 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27123 * po/da.po: Update from translation team.
27125 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27127 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27128 is added to the list.
27130 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27131 Ulrich Drepper <drepper@gmail.com>
27133 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27134 the global list here. Move code to...
27135 (_dl_add_to_namespace_list): ...here. New function.
27136 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27137 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27138 * elf/dl-load.c (lose): Don't remove the element from the list.
27139 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27140 (_dl_map_object): Likewise.
27142 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27145 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27146 into all bytes of SSE register.
27147 Patch by Richard Li <richardpku@gmail.com>.
27149 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27152 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27155 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27157 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27158 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27160 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27165 2010-10-22 Andreas Schwab <schwab@redhat.com>
27167 * include/dlfcn.h (__RTLD_SECURE): Define.
27168 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27169 mode & __RTLD_SECURE instead.
27170 (open_path): Rename preloaded parameter to secure.
27171 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27172 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27173 * elf/dl-deps.c (openaux): Likewise.
27174 * elf/rtld.c (struct map_args): Remove is_preloaded.
27175 (map_doit): Don't use it.
27176 (dl_main): Likewise.
27177 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27178 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27180 2010-09-09 Andreas Schwab <schwab@redhat.com>
27182 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27183 (sysd-rules-targets): Remove duplicates.
27184 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27185 rtld-%.$o dependency.
27187 2010-10-18 Andreas Schwab <schwab@redhat.com>
27189 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27190 _dl_map_object do it.
27192 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27194 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27195 fast fma builtins, define the macros in the C99 standard.
27196 (FP_FAST_FMAF): Likewise.
27197 (FP_FAST_FMAL): Likewise.
27198 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27200 * bits/mathdef.h: Update copyright year.
27201 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27203 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27205 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27206 builtins, define the macros in the C99 standard.
27207 (FP_FAST_FMAF): Likewise.
27208 (FP_FAST_FMAL): Likewise.
27209 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27211 (FP_FAST_FMAF): Likewise.
27213 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27216 * math/libm-test.inc (fma_test): Some new testcases.
27217 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27219 y and infinite z. Do multiplication by C already in long double.
27220 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27222 y and infinite z. Do bitwise or of inexact bit into u.d.
27223 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27224 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27225 * sysdeps/i386/fpu/s_fma.S: Removed.
27226 * sysdeps/i386/fpu/s_fmal.S: Removed.
27228 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27231 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27233 computation is not scheduled after fetestexcept. Fix value
27234 of minimum denormal long double.
27236 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27239 * math/libm-test.inc (fma_test): Add some more tests.
27240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27243 2010-10-15 Andreas Schwab <schwab@redhat.com>
27245 * scripts/data/localplt-s390-linux-gnu.data: New file.
27246 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27248 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27251 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27252 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27254 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27256 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27258 if one of x and y is very large and the other is subnormal.
27259 * sysdeps/s390/fpu/s_fmaf.c: New file.
27260 * sysdeps/s390/fpu/s_fma.c: New file.
27261 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27262 * sysdeps/powerpc/fpu/s_fma.S: New file.
27263 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27264 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27265 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27267 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27270 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27273 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27274 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27275 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27276 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27277 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27280 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27283 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27284 * posix/bug-regex31.input: Add test case.
27286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27288 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27289 * posix/bug-regex31.input: New file.
27292 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27293 (parse_sub_exp): Fix last change, use postorder.
27295 * posix/bug-regex31.c: New file.
27296 * posix/Makefile: Add rules to build and run bug-regex31.
27298 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27301 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27304 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27305 to have entries in sys_siglist.
27308 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27311 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27314 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27315 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27316 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27317 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27318 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27319 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27320 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27321 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27322 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27323 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27324 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27325 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27326 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27327 * math/ftestexcept.c (fetestexcept): Likewise.
27328 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27329 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27330 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27331 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27332 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27333 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27336 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27339 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27342 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27344 * string/bug-strstr1.c: New file.
27345 * string/Makefile: Add rules to build and run bug-strstr1.
27347 2010-10-05 Eric Blake <eblake@redhat.com>
27350 * string/str-two-way.h (two_way_long_needle): Always clear memory
27351 when skipping input due to the shift table.
27353 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27356 * malloc/mcheck.c: Handle large requests.
27359 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27360 for strncmp and strncasecmp.
27361 * string/stratcliff.c: Add tests for strcmp and strncmp.
27362 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27364 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27366 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27369 2010-09-30 Andreas Jaeger <aj@suse.de>
27371 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27372 (CGROUP_SUPER_MAGIC): Define.
27373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27374 Handle btrfs and cgroup file systems.
27375 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27378 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27380 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27381 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27383 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27386 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27387 trying to locate the ELF header.
27389 2010-09-27 Andreas Schwab <schwab@redhat.com>
27392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27393 Mask out sign-bit copies when constructing f_fsid.
27395 2010-09-24 Petr Baudis <pasky@suse.cz>
27397 * debug/stack_chk_fail_local.c: Add missing licence exception.
27398 * debug/warning-nop.c: Likewise.
27400 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27403 implementing getdents64 using getdents syscall, set d_type if
27404 __ASSUME_GETDENTS32_D_TYPE.
27406 2010-09-16 Andreas Schwab <schwab@redhat.com>
27408 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27409 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27411 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27414 * posix/unistd.h: Undo change of feature selection for ftruncate from
27417 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27419 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27422 2010-09-20 Andreas Schwab <schwab@redhat.com>
27424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27426 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27428 2010-09-14 Andreas Schwab <schwab@redhat.com>
27430 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27431 variables after CHECK_SP call.
27432 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27434 2010-09-13 Andreas Schwab <schwab@redhat.com>
27435 Ulrich Drepper <drepper@redhat.com>
27437 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27438 re-relocationg ld.so.
27439 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27440 _dl_init_paths call.
27441 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27444 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27446 * resolv/res_init.c (__res_vinit): Count the default server we added.
27448 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27449 Ulrich Drepper <drepper@redhat.com>
27452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27453 (____longjmp_chk): Use %ebx for saving value across system call.
27456 2010-09-06 Andreas Schwab <schwab@redhat.com>
27458 * manual/Makefile: Don't mix pattern rules with normal rules.
27460 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27462 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27464 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27465 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27466 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27467 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27471 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27474 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27475 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27477 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27479 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27480 * sysdeps/x86_64/addmul_1.S: Likewise.
27481 * sysdeps/x86_64/lshift.S: Likewise.
27482 * sysdeps/x86_64/mul_1.S: Likewise.
27483 * sysdeps/x86_64/rshift.S: Likewise.
27484 * sysdeps/x86_64/sub_n.S: Likewise.
27485 * sysdeps/x86_64/submul_1.S: Likewise.
27487 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27489 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27490 Define __sched_param instead of SCHED_* and sched_param when
27491 <bits/sched.h> is included with __need_schedparam defined.
27492 * bits/sched.h [__need_schedparam]
27493 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27494 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27495 (__defined_schedparam): Define to 1.
27496 (__sched_param): New structure, identical to sched_param.
27497 (__need_schedparam): Undefine.
27499 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27502 (epoll_create1): Declare.
27504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27506 2010-08-31 Andreas Schwab <schwab@redhat.com>
27509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27510 shifting retval into place.
27512 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27514 * nis/rpcsvc/nis.h: Update copyright notice.
27515 * nis/rpcsvc/nis.x: Likewise.
27516 * nis/rpcsvc/nis_callback.h: Likewise.
27517 * nis/rpcsvc/nis_callback.x: Likewise.
27518 * nis/rpcsvc/nis_object.x: Likewise.
27519 * nis/rpcsvc/nis_tags.h: Likewise.
27520 * nis/rpcsvc/yp.h: Likewise.
27521 * nis/rpcsvc/yp.x: Likewise.
27522 * nis/rpcsvc/ypupd.h: Likewise.
27523 * nis/yp_xdr.c: Likewise.
27524 * nis/ypupdate_xdr.c: Likewise.
27526 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27527 mainly the body of pmap_getport. Add parameters to specify timeouts.
27528 (pmap_getport): Use __libc_rpc_getport.
27529 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27530 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27531 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27533 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27538 2010-08-27 Roland McGrath <roland@redhat.com>
27540 * sysdeps/i386/i686/multiarch/Makefile
27541 (CFLAGS-varshift.c): New variable.
27543 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27545 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27546 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27550 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27552 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27554 * sysdeps/x86_64/strlen.S: Unroll the loop.
27555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27556 strlen-sse2 strlen-sse2-bsf.
27557 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27558 __strlen_no_bsf if bit_Slow_BSF is set.
27559 (__strlen_sse42): Removed.
27560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27561 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27563 2010-08-25 Roland McGrath <roland@redhat.com>
27565 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27566 * sysdeps/x86_64/multiarch/varshift.c: New file.
27567 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27568 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27569 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27570 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27572 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27575 strlen-sse2 strlen-sse2-bsf.
27576 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27577 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27578 (__strlen_sse2): Removed.
27579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27582 bit_Slow_BSF for Atom.
27583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27584 (index_Slow_BSF): Define.
27585 (HAS_SLOW_BSF): Define.
27587 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27590 * resolv/res_init.c (__res_vinit): When no server address at all
27591 is given default to loopback.
27593 2010-08-24 Roland McGrath <roland@redhat.com>
27595 * configure.in: Remove config-name.h generation.
27596 * configure: Regenerated.
27597 * config-name.in: File removed.
27598 * scripts/config-uname.sh: New file.
27599 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27600 ($(objdir)config-name.h): New target.
27602 * sunrpc/rpc_parse.h: Avoid nested comment.
27604 2010-08-24 Richard Henderson <rth@redhat.com>
27605 Ulrich Drepper <drepper@redhat.com>
27606 H.J. Lu <hongjiu.lu@intel.com>
27608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27610 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27611 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27612 _mm_alignr_epi8 with _mm_loadu_si128.
27613 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27614 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27615 (__m128i_shift_right): Removed.
27616 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27617 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27618 * sysdeps/x86_64/multiarch/varshift.h: New file.
27619 * sysdeps/x86_64/multiarch/varshift.S: New file.
27621 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27623 * configure.in: Move assembler checks to before sysdep dir checking.
27625 2010-08-20 Petr Baudis <pasky@suse.cz>
27627 * LICENSES: Sync the sunrpc license.
27629 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27631 * sunrpc/auth_des.c: Update copyright notice once again.
27632 * sunrpc/auth_none.c: Likewise.
27633 * sunrpc/auth_unix.c: Likewise.
27634 * sunrpc/authdes_prot.c: Likewise.
27635 * sunrpc/authuxprot.c: Likewise.
27636 * sunrpc/bindrsvprt.c: Likewise.
27637 * sunrpc/clnt_gen.c: Likewise.
27638 * sunrpc/clnt_perr.c: Likewise.
27639 * sunrpc/clnt_raw.c: Likewise.
27640 * sunrpc/clnt_simp.c: Likewise.
27641 * sunrpc/clnt_tcp.c: Likewise.
27642 * sunrpc/clnt_udp.c: Likewise.
27643 * sunrpc/clnt_unix.c: Likewise.
27644 * sunrpc/des_crypt.c: Likewise.
27645 * sunrpc/des_soft.c: Likewise.
27646 * sunrpc/get_myaddr.c: Likewise.
27647 * sunrpc/getrpcport.c: Likewise.
27648 * sunrpc/key_call.c: Likewise.
27649 * sunrpc/key_prot.c: Likewise.
27650 * sunrpc/openchild.c: Likewise.
27651 * sunrpc/pm_getmaps.c: Likewise.
27652 * sunrpc/pm_getport.c: Likewise.
27653 * sunrpc/pmap_clnt.c: Likewise.
27654 * sunrpc/pmap_prot.c: Likewise.
27655 * sunrpc/pmap_prot2.c: Likewise.
27656 * sunrpc/pmap_rmt.c: Likewise.
27657 * sunrpc/rpc/auth.h: Likewise.
27658 * sunrpc/rpc/auth_unix.h: Likewise.
27659 * sunrpc/rpc/clnt.h: Likewise.
27660 * sunrpc/rpc/des_crypt.h: Likewise.
27661 * sunrpc/rpc/key_prot.h: Likewise.
27662 * sunrpc/rpc/netdb.h: Likewise.
27663 * sunrpc/rpc/pmap_clnt.h: Likewise.
27664 * sunrpc/rpc/pmap_prot.h: Likewise.
27665 * sunrpc/rpc/pmap_rmt.h: Likewise.
27666 * sunrpc/rpc/rpc.h: Likewise.
27667 * sunrpc/rpc/rpc_des.h: Likewise.
27668 * sunrpc/rpc/rpc_msg.h: Likewise.
27669 * sunrpc/rpc/svc.h: Likewise.
27670 * sunrpc/rpc/svc_auth.h: Likewise.
27671 * sunrpc/rpc/types.h: Likewise.
27672 * sunrpc/rpc/xdr.h: Likewise.
27673 * sunrpc/rpc_clntout.c: Likewise.
27674 * sunrpc/rpc_cmsg.c: Likewise.
27675 * sunrpc/rpc_common.c: Likewise.
27676 * sunrpc/rpc_cout.c: Likewise.
27677 * sunrpc/rpc_dtable.c: Likewise.
27678 * sunrpc/rpc_hout.c: Likewise.
27679 * sunrpc/rpc_main.c: Likewise.
27680 * sunrpc/rpc_parse.c: Likewise.
27681 * sunrpc/rpc_parse.h: Likewise.
27682 * sunrpc/rpc_prot.c: Likewise.
27683 * sunrpc/rpc_sample.c: Likewise.
27684 * sunrpc/rpc_scan.c: Likewise.
27685 * sunrpc/rpc_scan.h: Likewise.
27686 * sunrpc/rpc_svcout.c: Likewise.
27687 * sunrpc/rpc_tblout.c: Likewise.
27688 * sunrpc/rpc_util.c: Likewise.
27689 * sunrpc/rpc_util.h: Likewise.
27690 * sunrpc/rpcinfo.c: Likewise.
27691 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27692 * sunrpc/rpcsvc/key_prot.x: Likewise.
27693 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27694 * sunrpc/rpcsvc/mount.x: Likewise.
27695 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27696 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27697 * sunrpc/rpcsvc/rex.x: Likewise.
27698 * sunrpc/rpcsvc/rstat.x: Likewise.
27699 * sunrpc/rpcsvc/rusers.x: Likewise.
27700 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27701 * sunrpc/rpcsvc/spray.x: Likewise.
27702 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27703 * sunrpc/rtime.c: Likewise.
27704 * sunrpc/svc.c: Likewise.
27705 * sunrpc/svc_auth.c: Likewise.
27706 * sunrpc/svc_authux.c: Likewise.
27707 * sunrpc/svc_raw.c: Likewise.
27708 * sunrpc/svc_run.c: Likewise.
27709 * sunrpc/svc_simple.c: Likewise.
27710 * sunrpc/svc_tcp.c: Likewise.
27711 * sunrpc/svc_udp.c: Likewise.
27712 * sunrpc/svc_unix.c: Likewise.
27713 * sunrpc/svcauth_des.c: Likewise.
27714 * sunrpc/xcrypt.c: Likewise.
27715 * sunrpc/xdr.c: Likewise.
27716 * sunrpc/xdr_array.c: Likewise.
27717 * sunrpc/xdr_float.c: Likewise.
27718 * sunrpc/xdr_mem.c: Likewise.
27719 * sunrpc/xdr_rec.c: Likewise.
27720 * sunrpc/xdr_ref.c: Likewise.
27721 * sunrpc/xdr_sizeof.c: Likewise.
27722 * sunrpc/xdr_stdio.c: Likewise.
27724 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27727 2010-08-19 Andreas Schwab <schwab@redhat.com>
27729 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27731 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27733 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27736 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27738 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27739 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27740 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27743 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27745 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27746 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27748 2010-07-26 Anton Blanchard <anton@samba.org>
27750 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27751 * malloc/arena.c (heap_trim): Likewise.
27753 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27755 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27758 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27760 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27762 * sysdeps/i386/elf/Makefile: New file.
27764 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27766 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27767 from fanotify_init.
27768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27771 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27773 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27775 * sysdeps/multiarch/strcmp.S: Likewise.
27777 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27780 strncase_l-nonascii.
27781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27782 Add strncase_l-ssse3.
27783 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27784 * sysdeps/x86_64/strcmp.S: Likewise.
27785 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27786 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27787 * sysdeps/x86_64/strncase.S: New file.
27788 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27789 * sysdeps/x86_64/strncase_l.S: New file.
27790 * string/Makefile (strop-tests): Add strncasecmp.
27791 * string/test-strncasecmp.c: New file.
27793 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27796 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27797 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27799 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27801 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27803 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27805 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27806 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27809 2010-05-01 Alan Modra <amodra@gmail.com>
27811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27812 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27813 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27814 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27815 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27816 tidying. Don't tail-call __sigjmp_save for static lib.
27817 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27819 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27820 (CALL_MCOUNT): Add eh info, and nop after bl.
27821 (TAIL_CALL_SYSCALL_ERROR): New macro.
27822 (PSEUDO_RET): Use it.
27823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27824 Correct save location of integer regs and cr.
27825 (_dl_profile_resolve): Correct cr save location. Delete nops
27826 after bl when SHARED. Reduce cfi size a little by better
27827 placement of cfi directives.
27828 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27829 make a stack frame. Instead use parm save area as a temp.
27830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27831 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27833 Don't make a stack frame for parent, use parm save area.
27834 Increase child stack frame to 112 bytes. Don't save unused reg,
27835 and adjust reg usage. Set up cfi on error recovery and
27836 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27838 (__makecontext): Add dummy nop after jump to exit.
27839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27840 Use correct parm save area and cr save, reduce stack frame.
27841 Correct cfi for possible PSEUDO_RET frame setup.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27843 Branch to local label emitted by PSEUDO_RET rather than
27846 2010-08-12 Andreas Schwab <schwab@redhat.com>
27849 * locale/programs/locale.c (print_assignment): New function.
27850 (show_locale_vars): Use it.
27852 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27854 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27856 (struct statfs64): Likewise.
27857 (_STATFS_F_FLAGS): Define.
27858 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27859 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27860 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27861 (ST_VALID): Define locally.
27862 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27863 __statvfs_getflags, use the provided value.
27864 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27865 __ASSUME_STATFS_F_FLAGS.
27867 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27869 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27870 Add sys/fanotify.h.
27871 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27872 fanotify_mask for GLIBC_2.13.
27873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27874 fanotify_init and fanotify_mark.
27875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27876 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27878 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27880 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27881 prlimit64 for GLIBC_2.13.
27882 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27888 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27892 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27895 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27896 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27898 * nss/Makefile: Add rules to build and run tst-nss-test1.
27899 * shlib-versions: Add entry for libnss_test1.
27900 * nss/nss_test1.c: New file.
27901 * nss/tst-nss-test1.c: New file.
27903 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27904 (__nss_configure_lookup): Set appropriate entry in
27905 __nss_configure_lookup to true.
27906 * nss/nsswitch.h: Define enum with indeces of databases in
27907 databases and __nss_database_custom arrays. Declare
27908 __nss_database_custom.
27909 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27910 to avoid using nscd when custom rules are installed.
27911 * nss/getXXbyYY_r.c: Likewise.
27912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27914 * nss/nss_files/files-parse.c: Whitespace fixes.
27916 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27919 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27920 * posix/fnmatch_loop.c: Likewise.
27922 2010-07-17 Andi Kleen <ak@linux.intel.com>
27924 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27925 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27926 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27927 * Versions.def [GLIBC_2.13]: Add.
27929 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27932 Also fail if tpwd after pwuid call is NULL.
27934 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27936 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27937 when converting to ms.
27939 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27941 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27942 EOPNOTSUPP errors with ENOTTY.
27943 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27944 EOPNOTSUPP errors with ENOTTY.
27946 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27948 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27949 Add strcasecmp_l-ssse3.
27950 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27952 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27953 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27954 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27956 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27958 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27960 * string/Makefile (strop-tests): Add strcasecmp.
27961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27962 strcasecmp_l-nonascii.
27963 (gen-as-const-headers): Add locale-defines.sym.
27964 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27965 * sysdeps/x86_64/strcasecmp.S: New file.
27966 * sysdeps/x86_64/strcasecmp_l.S: New file.
27967 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27968 * sysdeps/x86_64/locale-defines.sym: New file.
27969 * string/test-strcasecmp.c: New file.
27971 * string/test-strcasestr.c: Test both ends of the range of characters.
27972 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27974 2010-07-29 Roland McGrath <roland@redhat.com>
27977 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27979 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27981 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27984 2010-07-27 Andreas Schwab <schwab@redhat.com>
27986 * manual/memory.texi (Malloc Tunable Parameters): Document
27989 2010-07-26 Roland McGrath <roland@redhat.com>
27992 * configure.in (-fgnu89-inline check): Set and substitute
27993 gnu89_inline, not libc_cv_gnu89_inline.
27994 * configure: Regenerated.
27995 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27997 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27999 * string/test-strnlen.c: New file.
28000 * string/Makefile (strop-tests): Add strnlen.
28001 * string/tester.c (test_strnlen): Add a few more test cases.
28002 * string/tst-strlen.c: Better error reporting.
28004 * sysdeps/x86_64/strnlen.S: New file.
28006 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28008 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28009 lower-latency instructions.
28011 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28013 * string/test-strcasestr.c: New file.
28014 * string/test-strstr.c: New file.
28015 * string/Makefile (strop-tests): Add strstr and strcasestr.
28016 * string/str-two-way.h: Don't undefine MAX.
28017 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28019 2010-07-21 Andreas Schwab <schwab@redhat.com>
28021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28022 strcasestr-nonascii.
28023 (CFLAGS-strcasestr-nonascii.c): Define.
28024 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28026 Remove unused attribute.
28028 2010-07-20 Roland McGrath <roland@redhat.com>
28030 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28031 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28032 ld.so.cache was broken. With it, there is no way to disable dsocaps
28033 like LD_HWCAP_MASK can disable hwcaps.
28035 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28037 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28039 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28041 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28042 call in strcasestr.
28043 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28044 __strcasestr_sse42_nonascii.
28045 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28046 strcasestr-nonascii.c.
28047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28049 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28056 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28061 2010-07-06 Andreas Schwab <schwab@redhat.com>
28064 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28067 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28070 _PC_PIPE_BUF using F_GETPIPE_SZ.
28072 2010-07-05 Roland McGrath <roland@redhat.com>
28074 * manual/arith.texi (Rounding Functions): Fix rint description
28075 implicit in round description.
28077 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28079 * elf/Makefile: Fix linking for a few tests to make recent linker
28082 2010-06-30 Andreas Schwab <schwab@redhat.com>
28084 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28085 $(common-objpfx)libc_nonshared.a.
28087 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28089 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28090 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28091 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28092 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28093 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28094 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28095 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28096 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28111 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28112 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28113 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28114 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28115 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28116 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28117 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28118 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28119 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28120 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28121 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28122 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28138 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28140 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28141 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28142 * string/memmove.c (memmove): Renamed to ...
28143 (MEMMOVE): ...this. Default to memmove.
28144 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28145 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28148 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28149 mempcpy-ssse3-back memmove-ssse3-back.
28150 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28153 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28154 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28155 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28156 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28157 * sysdeps/x86_64/multiarch/memmove.c: New file.
28158 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28159 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28160 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28161 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28162 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28165 (index_Fast_Copy_Backward): Define.
28166 (HAS_ARCH_FEATURE): Define.
28167 (HAS_FAST_REP_STRING): Define.
28168 (HAS_FAST_COPY_BACKWARD): Define.
28170 2010-06-21 Andreas Schwab <schwab@redhat.com>
28172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28173 Restore proper fallback handling.
28175 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28178 * posix/group_member.c (__group_member): Correct checking loop.
28180 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28181 OOM in getpwuid_r correctly. Return error number when the caller
28182 should return, otherwise -1.
28183 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28184 call returning > 0 value.
28185 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28187 2010-06-07 Andreas Schwab <schwab@redhat.com>
28189 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28190 libc_nonshared.a from targets in modules-names.
28192 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28194 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28197 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28200 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28204 2010-06-02 Andreas Schwab <schwab@redhat.com>
28206 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28208 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28219 2010-06-14 Roland McGrath <roland@redhat.com>
28221 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28223 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28225 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28226 __REDIRECT followed by __THROW.
28227 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28228 * posix/getopt.h (getopt): Likewise.
28230 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28232 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28233 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28234 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28236 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28237 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28239 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28241 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28243 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28247 Properly check family and model.
28249 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28251 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28253 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28255 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28257 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28259 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28262 2010-05-19 Andreas Schwab <schwab@redhat.com>
28264 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28267 2010-05-21 Andreas Schwab <schwab@redhat.com>
28269 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28270 and internal_recvmmsg.
28271 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28272 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28274 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28276 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28277 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28278 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28280 2010-05-20 Andreas Schwab <schwab@redhat.com>
28282 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28284 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28286 POWER7 optimizations.
28287 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28288 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28290 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28292 * version.h: Update for 2.13 development version.
28294 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28297 exceptions. Return 0.
28299 2010-05-07 Roland McGrath <roland@redhat.com>
28301 * elf/ldconfig.c (main): Add a const.
28303 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28305 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28306 (args_options): Add no-idn option.
28307 (ahosts_keys_int): Add idn_flags to ai_flags.
28308 (parse_option): Handle 'i' option to clear idn_flags.
28310 * malloc/malloc.c (_int_free): Possible race in the most recently
28311 added check. Only act on the data if no current modification
28314 See ChangeLog.17 for earlier changes.